Next: , Previous: modf, Up: Math


1.42 nan, nanf—representation of “Not a Number”

Synopsis

     #include <math.h>
     double nan(const char *);
     float nanf(const char *);
     

Description
nan and nanf return an IEEE NaN (Not a Number) in double- and single-precision arithmetic respectively. The argument is currently disregarded.