huge(3I)

HUGE - Returns the largest number in the integer or real numeric model

As shipped in IRIX 6.5.30. Last changed in IRIX 6.5.19.

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.

     The result has the value rq-1 if x is of type integer and the value

     (1-b-p) multiplied by be sub max if x is of type real, where r, q, b,
     p, and

     e max (represented as "e sub max" in the previous equation) 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.

EXAMPLES
     HUGE(X) has values that approximate the following:

     * (1-2-24) multiplied by 2128 for real (KIND=4) X

     * (1-2-53) multiplied by 21024 for real (KIND=8) X

     * (1-2-107) multiplied by 21023 for real (KIND=16) X

SEE ALSO
     models(3I)