------- Comment #2 from grxnprzn at gmx dot net 2008-11-05 17:02 ------- (In reply to comment #1) > NOTE > Note that these functions are obsolete. C99 defines macros isfinite(), > isinf() and isnan() (for all types) replacing them. Further note that > the C99 isinf() has weaker guarantees on the return value. > > > *** This bug has been marked as a duplicate of 31175 *** >
Ok, I can use isinf() on the systems that support it and use isinfl() on the others. But, IMHO, "obsolete" does not mean "may be broken by the compiler". GCC4.0 calls the system's isinfl(), which works, while GCC 4.3 provides an inlined version of isinfl() which returns wrong results. That's a bug, isn't it? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38023