9.3.134 SCALE (X, I)

Description:  Returns the value of the exponent part (of the model for the argument) changed by 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. Parameter b is defined in Section D.2.  

Examples

If 3.0 is a REAL(4) value, SCALE (3.0, 2) has the value 12.0 and SCALE (3.0, 3) has the value 24.0.


Previous Page Next Page Table of Contents