HP Fortran Programmer's Reference (September 2007)

Intrinsic procedures
Intrinsic procedure specifications
Chapter 11 555
Argument
A must be of type integer, real, double precision, or complex.
Result
INTEGER(2) type.
HUGE(X)
Description
Returns the largest number in the model representing numbers of the same type and kind
type parameter as the argument.
Class
Inquiry function.
Argument
X must be of type integer or real. It may be scalar or array valued.
Result type,
type parameters,
and shape
Scalar of the same type and kind type parameter as X.
Result value
The result has the value
r
q
- 1 if X is of type integer and
(1 -
b
-p
)
b
**
e
max
if X is of type real, where
r
,
q
,
b
,
p
, and
e
max
are as defined in “The Real Number System
Model” on page 509.
IACHAR(C)
Description
Returns the position of a character in the ASCII collating sequence.