9.3.139 SET_EXPONENT (X, I)

Description:  Returns the value of the exponent part (of the model for the argument) set to a specified value. 
Class:  Elemental function; Generic 
Arguments:  X Must be of type real. 
  I Must be of type integer. 
Results:  The result type is the same as X. The result has the value X x bI-e. Parameters b and e are defined in Section D.2. If X has the value zero, the result is zero. 


If 3.0 is a REAL(4) value, SET_EXPONENT (3.0, 1) has the value 1.5.

Previous Page Next Page Table of Contents