XL Fortran for AIX 8.1

Language Reference


ISHFT(I, SHIFT)

Performs a logical shift.

I
must be of type integer.

SHIFT
must be of type integer. The absolute value of SHIFT must be less than or equal to BIT_SIZE (I).

Class

Elemental function

Result Type and Attributes

Same as I.

Result Value

Examples

ISHFT (3, 1) has the result 6. See Integer Bit Model.


Specific Name Argument Type Result Type Pass As Arg?
ISHFT (1) any integer same as argument yes

Notes:

  1. IBM Extension.


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