Returns the largest positive value allowable for a floating-point variable.
HUGE(x)
x is an expression of type FLOAT BINARY or FLOAT DECIMAL.
HUGE returns a floating-point value that is the largest positive value x can have. It has the base, mode, and precision of x.
The HUGE built-in is not allowed during restricted expression evaluation.
This example shows the IEEE FLOAT BINARY values returned for the HUGE built-in.
dcl d float bin (52); dcl f float bin (23); d = huge(d); /* 1.7976931348623157E+308 */ f = huge(f); /* 3.402823466E+38 */