SYNOPSIS
#include <math.h>
float nanf(const char * s)
double nan(const char *s)
long double nanl(const char *s)
DESCRIPTION
The NAN macro expands to a quiet NaN (Not A Number). Similarly, each of
the
CONFORMANCE
The NAN macro and the
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
Calling these functions with a non-empty string isn't portable. Another operating system may translate the string into a different NaN encoding, and furthermore, the meaning of a given NaN encoding varies across machine architectures. If you understood the innards of a particular platform well enough to know what string to use, then you would have no need for these functions anyway, so don't use them. Use the NAN macro instead.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
PTC MKS Toolkit 10.5 Documentation Build 40.