Description: | Returns the exponent part of the argument when represented as a model number. | ||
Class: | Elemental function; Generic | ||
Arguments: | X must be of type real. | ||
Results: | The result is of type default integer. If X is
not equal to zero, the result value is the exponent part of X. The
exponent must be within default integer range; otherwise, the result
is undefined.
If X is zero, the exponent of X is zero. For more information on the exponent part (e) in the real model, see Section D.2. |
Examples
EXPONENT (2.0) has the value 2.
If 4.1 is a REAL(4) value, EXPONENT (4.1) has the value 3.