math. h — Floating-point math functions nan() , nanf() , and nanl() functions are supported under IEEE only. For the C99 math functions, it is required to define the feature test macro _ISO_C99_SOURCE or requires a compiler that is designed to support C99 to expose the functionality.