Next: nearbyint, nearbyintf—round to integer, Previous: modf, modff—split fractional and integer parts, Up: Mathematical Functions (math.h) [Contents][Index]
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.