C examples for math.h:HUGE_VALL
Macro
<cmath> <ctgmath> <math.h>
Huge long double value
Macro constant that expands to a positive expression of type long 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()// ww w. j av a 2 s .c o m { printf("%f",HUGE_VALL); return 0; }