view doc/posix-functions/isnan.texi @ 40246:c34f677e6117 default tip master

_Noreturn: GCC 4.7 does not support [[noreturn]] in C++11 mode * lib/_Noreturn.h, m4/gnulib-common.m4: Don't use [[noreturn]] before GCC 4.8.
author Akim Demaille <akim.demaille@gmail.com>
date Sun, 17 Mar 2019 19:27:20 +0100
parents 73d60b1f9c96
children
line wrap: on
line source

@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.4.
@item
This macro does not work on some platforms:
MSVC 14.
@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