Returns the largest number in the model representing numbers of the same type and kind type parameter as the argument.
Class
Inquiry function
Result Type and Attributes
Scalar of the same type and kind type parameter as X.
Result Value
2DIGITS(X) - 1
(1.0 - 2.0-DIGITS(X)) *
(2.0MAXEXPONENT(X))
+-------------------------------IBM Extension--------------------------------+
Examples
HUGE (X) = (1D0 - 2D0**-53) * (2D0**1024) for X of type real(8).
HUGE (X) = (2**63) - 1 for X of type integer(8).
See Data Representation Models.
+----------------------------End of IBM Extension----------------------------+