poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / isnan.texi
blob6dfd9d776af8feb9d6b6d6afd329fdae8d7314c4
1 @node isnan
2 @section @code{isnan}
3 @findex isnan
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/isnan.html}
7 Gnulib module: isnan
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This macro is missing on some platforms:
13 MSVC 9.
14 @item
15 @code{isnan} was introduced with C99 and is thus commonly not present
16 on pre-C99 systems.
17 @item
18 @code{isnan} is not a macro on some platforms:
19 IRIX 6.5, Solaris 11.4.
20 @item
21 This macro does not work on some platforms:
22 MSVC 14.
23 @item
24 On IRIX 6.5 with @code{cc}, @code{isnan} does not recognize some NaNs.
25 @end itemize
27 Portability problems not fixed by Gnulib:
28 @itemize
29 @item
30 This macro returns an unspecified result when given noncanonical values
31 such as unnormalized numbers, pseudo-denormals, pseudo-NaNs,
32 pseudo-Infinities, and pseudo-zeroes.
33 @end itemize