summaryrefslogtreecommitdiff
path: root/doc/posix-functions/isnan.texi
blob: f9ed11a6b5895a1dec63680b632c5fa3eb0631a6 (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
@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 2011-11.
@item
On IRIX 6.5 with @code{cc}, @code{isnan} does not recognize some NaNs.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
This macro returns an unspecified result when given noncanonical values
such as unnormalized numbers, pseudo-denormals, pseudo-NaNs,
pseudo-Infinities, and pseudo-zeroes.
@end itemize