MAXEXPONENT(3I) Last changed: 1-6-98
NAME
MAXEXPONENT - Returns the maximum exponent in the numeric model
SYNOPSIS
MAXEXPONENT ([X=]x)
IMPLEMENTATION
UNICOS, UNICOS/mk, and IRIX systems
STANDARDS
Fortran 90
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
* 1023 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 ALSOMODELS(3I)
Intrinsic Procedures Reference Manual, publication SR-2138, for the
printed version of this man page.