isnan
POSIX specification:
http://www.opengroup.org/onlinepubs/9699919799/functions/isnan.html
Gnulib module: isnan
Portability problems fixed by Gnulib:
isnan
was introduced with C99 and is thus commonly not present
on pre-C99 systems.
isnan
is not a macro on some platforms:
IRIX 6.5, OSF/1 5.1 with gcc, Solaris 11 2010-11.
cc
, isnan
does not recognize some NaNs.
isnan
does not recognize some
forms of NaNs, such as pseudo-NaNs, pseudo-Infinities, and
unnormalized numbers.
__builtin_isnanl
(and thus
isnan
implementations based on it) in GCC 4.0 and later does
not recognize pseudo-denormals as NaNs, and similarly for
pseudo-zeroes, unnormalized numbers, and pseudo-denormals on ia64.
Portability problems not fixed by Gnulib: