Intel® Fortran Compiler 18.0 Developer Guide and Reference

MINEXPONENT

Inquiry Intrinsic Function (Generic): Returns the minimum exponent in the model representing the same type and kind parameters as the argument.

result = MINEXPONENT (x)

x

(Input) must be of type real; it can be scalar or array valued.

Results

The result is a scalar of type default integer. The result has the value emin, as defined in Model for Real Data.

Example

If X is of type REAL(4), MINEXPONENT (X) has the value -125.

The following shows another example:

 REAL(8) r1  ! DOUBLE PRECISION REAL
 INTEGER i
 i = MINEXPONENT (r1) ! returns - 1021.

See Also