nan
, nanf
—representation of “Not a Number”Synopsis
#include <math.h> double nan(const char *unused); float nanf(const char *unused);
Description
nan
and nanf
return an IEEE NaN (Not a Number) in
double- and single-precision arithmetic respectively. The
argument is currently disregarded.