C examples for math.h:HUGE_VAL
Macro
<cmath> <ctgmath> <math.h>
Macro constant that expands to a positive expression of type double.
A function returns this value when the result is too large in magnitude to be representable with its return type.
#include <stdio.h> #include <math.h> int main()// w ww .j a va2 s . com { printf("%f",HUGE_VAL); return 0; }