huge
- Date:
02-07-2023
NAME
HUGE - Returns the largest number in the integer or real numeric model
SYNOPSIS
HUGE ([X=]x)
STANDARDS
Fortran
DESCRIPTION
The HUGE intrinsic function returns the largest number in the model representing numbers of the same type and kind type parameter as the argument x. It accepts the following argument:
- x
Must be of type integer or real. It may be scalar or array valued.
HUGE is an inquiry function. The name of this intrinsic cannot be passed as an argument.
RETURN VALUES
The result is a scalar value of the same type and kind type parameter as x.
If x is of type integer, the result has this value:
rq-1
If x is of type real, the result has this value:
(1-b-p) * be sub max
where r, q, b, p, and emax are as defined in the real number model, which represents numbers of the same type and kind type parameter as x. For more information on the real number model, see the models(3i) man page.
SEE ALSO
models(3i)