[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#55268: Still a bug in pdl.



reassign 55268 pdl
thanks

The GNU C Library does not install a <nan.h> on any architecture, the
closest is <bits/nan.h>, which is for use only by other glibc headers.
The correct way to get the `NAN' constant is by including <math.h>,
according to the GNU C Library manual.
<<
 - Macro: float NAN
     An expression representing a value which is "not a number".  This
     macro is a GNU extension, available only on machines that support
     the "not a number" value--that is to say, on all machines that
     support IEEE floating point.

     You can use `#ifdef NAN' to test whether the machine supports NaN.
     (Of course, you must arrange for GNU extensions to be visible,
     such as by defining `_GNU_SOURCE', and then you must include
     `math.h'.)
>>
-- 
Joel Klecker (aka Espy)       <URL:mailto:espy@debian.org>
Debian Package Maintainer for the GNU C Library.


Reply to: