c835853f067f79a03db9765d241ab80f176e5450
[gnulib.git] / doc / posix-functions / isnan.texi
1 @node isnan
2 @section @code{isnan}
3 @findex isnan
4
5 POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/isnan.html}
6
7 Gnulib module: isnan
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 @code{isnan} was introduced with C99 and is thus commonly not present
13 on pre-C99 systems.
14 @item
15 On IRIX 6.5 with @code{cc}, @code{isnan} does not recognize some NaNs.
16 @item
17 On NetBSD/i386 and glibc/ia64, @code{isnan} does not recognize some
18 forms of NaNs, such as pseudo-NaNs, pseudo-Infinities, and
19 unnormalized numbers.
20 @item
21 On i686 and @var{x}86-64, @code{__builtin_isnanl} (and thus
22 @code{isnan} implementations based on it) in GCC 4.0 and later does
23 not recognize pseudo-denormals as NaNs, and similarly for
24 pseudo-zeroes, unnormalized numbers, and pseudo-denormals on ia64.
25 @end itemize
26
27 Portability problems not fixed by Gnulib:
28 @itemize
29 @end itemize