C Standard Library

C <math.h> - NAN



The NAN macros expands to an expression of type float that represents a NaN if the implementation supports quiet NaNs (otherwise, it is not defined). If the implementation does not support quiet NaNs, this macro constant is not defined.

Definition in the <math.h> header file is:

#define NAN /* implementation defined */

❮ C <math.h> Library