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
must be of type real. It may be scalar or array valued.

Result type and attributes

Default integer scalar.

Result value

The result is the following:

   type             MAXEXPONENT
----------          -----------
  real(4)                128
  real(8)               1024
  real(16)              1024

Examples

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

See Real data model.