maxexponent(3I)

MAXEXPONENT - Returns the maximum exponent in the numeric model

As shipped in IRIX 6.5.5. Last changed in IRIX 6.5.5.

NAME
     MAXEXPONENT - Returns the maximum exponent in the numeric model

SYNOPSIS
     MAXEXPONENT ([X=]x)

IMPLEMENTATION
     UNICOS, UNICOS/mk, IRIX systems

     CF90, MIPSpro 7 Fortran 90

STANDARDS
     Fortran

DESCRIPTION
     The MAXEXPONENT intrinsic function returns the maximum exponent in the
     real number model.  For more information on the real number model, see
     the MODELS(3I) man page.  It accepts the following argument:

     x         Must be of type real.  It may be scalar or array valued.

     MAXEXPONENT is an inquiry function.  The name of this intrinsic cannot
     be passed as an argument.

RETURN VALUES
     The result is a default integer scalar.  The result has the value
     e   ,
      max
     as defined in the model, which represents numbers of the same type and
     kind type parameter as x.

EXAMPLES
     On UNICOS systems, excluding CRAY T90 systems that support IEEE
     floating-point arithmetic, MAXEXPONENT(X) has the value 8189 for real
     X.

     On IRIX systems, MAXEXPONENT(X) returns the following values:

     * 128 for real X

     * 128 for real (KIND=4) X

     * 1024 for real (KIND=8) X

     On UNICOS/mk systems, MAXEXPONENT(X) returns the following values:

     * 1024 for real X

     * 128 for real (KIND=4) X

     * 1024 for real (KIND=8) X

     On CRAY T90 systems that support IEEE floating-point arithmetic,
     MAXEXPONENT(X) returns the following values:

     * 1024 for real X

     * 128 for real (KIND=4) X

     * 1024 for real (KIND=8) X

     * 16384 for real (KIND=16) X

SEE ALSO
     MODELS(3I)

     Intrinsic Procedures Reference Manual for the printed version of this
     man page.