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.

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

Result Value

The result is determined from the following:

X * 2.0I

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

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

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

Examples

SCALE (4.0, 3) = 4.0 * (23) = 32.0. See Real Data Model.

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

IBM Copyright 2003