SCALE(X,I)

Purpose

Returns the scaled value: X * 2.0I

Class

Elemental function

Argument type and attributes

X
must be of type real.
I
must be of type integer.

Result type and attributes

Same as X.

Result value

The result is determined from the following:

X * 2.0I

SCALE (X, I) = X * (2.0I)

Examples

SCALE (4.0, 3) = 4.0 * (23) = 32.0. See Real data model.