summaryrefslogtreecommitdiff
path: root/gnulib/doc/posix-functions/isnan.texi
blob: 7d23a3a3afc73dbad01708011c052a84ba401823 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@node isnan
@section @code{isnan}
@findex isnan

POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/isnan.html}

Gnulib module: isnan

Portability problems fixed by Gnulib:
@itemize
@item
This macro is missing on some platforms:
MSVC 9.
@item
@code{isnan} was introduced with C99 and is thus commonly not present
on pre-C99 systems.
@item
@code{isnan} is not a macro on some platforms:
IRIX 6.5, OSF/1 5.1 with gcc, Solaris 11 2010-11.
@item
On IRIX 6.5 with @code{cc}, @code{isnan} does not recognize some NaNs.
@item
On NetBSD/i386 and glibc/ia64, @code{isnan} does not recognize some
forms of NaNs, such as pseudo-NaNs, pseudo-Infinities, and
unnormalized numbers.
@item
On i686 and @var{x}86-64, @code{__builtin_isnanl} (and thus
@code{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.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@end itemize