kern/94583: [libm] std::isnan()/std::isinf() are not identical to isnan() and isinf()

Tom Russo tvrusso at sandia.gov
Sun Jun 22 18:26:23 UTC 2008


On Sat, Jun 21, 2008 at 02:05:59PM -0600, David Schultz <das at FreeBSD.ORG> wrote:
> This bug appears to be fixed in -CURRENT at least. Can you confirm
> that it's no longer a problem?

I just built the example code in the bug report on the most up-to-date
system I have (on which uname -a reports: "FreeBSD bogodyn.org
6.3-STABLE FreeBSD 6.3-STABLE #0: Fri Feb 8 21:03:49 MST 2008 ")

The bug persists and the test program goes into an infinite loop upon reaching
the line "std::cout << "isinf() = " << std::isinf(finite) << std::endl;"

I do not track CURRENT (I need stability), and only update 6-STABLE
when necessary (coz I really need stability).  If it's fixed by some update
to 6-STABLE after 8 Feb 2008 then I can update, but since there's a workaround
I'm not likely to do so just to check.

-- 
Thomas Russo      *  tvrusso at sandia.gov          *  Tel: (505) 844-8644
Dept 1437, Electrical & Microsystems Modeling    *  FAX: (505) 284-5451
Mail Stop 0316, Sandia National Laboratories     * PAGE: (505) 540-2860
Albuquerque, NM 87185-0316                       * CELL: (505) 469-0161

Give a man a program and you frustrate him for a day.  Teach him to program
and you frustrate him for life.  --- Anonymous

             EXCEPTIONAL SERVICE IN THE NATIONAL INTEREST
  Sandia is a multiprogram laboratory operated for the United States
 Department of Energy by Sandia Corporation, a Lockheed Martin Company.




More information about the freebsd-bugs mailing list