nan
, nanf
—representation of “Not a Number”#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.