XL Fortran for AIX 8.1

Language Reference


SCALE(X,I)

Returns the scaled value: X * 2.0I

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

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----------------------------+


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