Inquiry Intrinsic Function (Generic): Returns the largest number in the model representing the same type and kind parameters as the argument.
Syntax
result = HUGE (x)
x
(Input) Must be of type integer or real; it can be scalar or array valued.
Results
The result is a scalar of the same type and kind parameters as x. If x is of type integer, the result has the value rq - 1. If x is of type real, the result has the value (1 - b-p)bemax.
Integer parameters r and q are defined in Model for Integer Data; real parameters b, p, and emax are defined in Model for Real Data.
See Also
TINY, Data Representation Models
Example
If X is of type REAL(4), HUGE (X) has the value (1 - 2-24) x 2128.