9.3.51 EXPONENT (X)

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 type is 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


EXPONENT (2.0) has the value 2.

If 4.1 is a REAL(4) value, EXPONENT (4.1) has the value 3.

Previous Page Next Page Table of Contents