Elemental Intrinsic Function (Generic): Returns the value of the exponent part (of the model for the argument) set to a specified value.
Syntax
result = SET_EXPONENT (x, i)
x
(Input) Must be of type real.
i
(Input) 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 Model for Real Data. If x has the value zero, the result is zero.
See Also
EXPONENT, Data Representation Models
Example
If 3.0 is a REAL(4) value, SET_EXPONENT (3.0, 1) has the value 1.5.