SHIFTL

Elemental Intrinsic Function (Specific): Logically shifts an integer left by a specified number of bits. This function cannot be passed as an actual argument.

Syntax

result = SHIFTL (ivalue,ishift)

ivalue

(Input) Must be of type integer. This is the value to be shifted.

ishift

(Input) Must be of type integer. The value must be positive. This value is the number of positions to shift.

Results

The result type and kind is the same as ivalue. The result is the value of ivalue shifted left by ishift bit positions. Bits shifted off the left end are lost; zeros are shifted in from the opposite end.

SHIFTL (i, j) is the same as ISHFT (i, j).

See Also


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.