Mathematical Constants : const « math.h « C Tutorial






HUGE_VALFA float version of HUGE_VAL
HUGE_VALLA long double version of HUGE_VAL
INFINITYA value representing infinity
NANNot a number


  1. #define NAN (0.0F/0.0F)
  2. #define HUGE_VALF (1.0F/0.0F)
  3. #define HUGE_VALL (1.0L/0.0L)
  4. #define INFINITY (1.0F/0.0F)
19.1.const
19.1.1.Mathematical Constants