XL Fortran for AIX 8.1

Language Reference


SET_EXPONENT(X,I)

Returns the number whose fractional part is the fractional part of the model representation of X, and whose exponent part is I.

X
must be of type real.

I
must be of type integer.

Class

Elemental function

Result Type and Attributes

Same as X.

+-------------------------------IBM Extension--------------------------------+

Result Value

+----------------------------End of IBM Extension----------------------------+

Examples

+-------------------------------IBM Extension--------------------------------+

SET_EXPONENT (10.5, 1) = 0.65625 * 2.01 = 1.3125

See Real Data Model.

+----------------------------End of IBM Extension----------------------------+


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]