SCALE(X,I)

Purpose

Returns the scaled value: X * 2.0I

Class

Elemental function

Argument type and attributes

X
An INTENT(IN) REAL
I
An INTENT(IN) INTEGER

Result type and attributes

Same as X.

Result value

IBM extension begins The result is determined from the following value:

X * 2.0I IBM extension ends

Examples

IBM extension begins SCALE (4.0, 3) = 4.0 * (23) = 32.0. See Real data model. IBM extension ends