MAXEXPONENT(X)

Purpose

Returns the maximum exponent in the model representing numbers of the same type and kind type parameter as the argument.

Class

Inquiry function

Argument type and attributes

X
An INTENT(IN) REAL. It can be scalar or array valued.

Result type and attributes

Default integer scalar.

Result value

IBM extension begins See the following result:
   type             MAXEXPONENT
----------          -----------
  real(4)                128
  real(8)               1024
  real(16)              1024
IBM extension ends

Examples

IBM extension begins
MAXEXPONENT(X) = 128 for X of type real(4).

See Real data model.

IBM extension ends