<Syntax> 



ISHFT ( I, SHIFT )
I : Integer;
SHIFT : Integer, conformable with I, ABS(SHIFT)≤BIT_SIZE(I);
Result : Same type and kind as I.






<Semantics> 



The value of the result is obtained by shifting I to the left SHIFT times; if SHIFT is negative, the shift is to the right.
Bits shifted in are zero.
This is an elemental function; if any argument is an array the result is an array of the same shape, with the ISHFT operation being applied elementwise.
Note that this Fortran 90 intrinsic function function combines the functionality of the Fortran 2008 functions SHIFTL and SHIFTR.






<Related> 



IAND intrinsic function,
IBITS intrinsic function,
IEOR intrinsic function,
IOR intrinsic function,
ISHFTC intrinsic function,
NOT intrinsic function,
SHIFTA intrinsic function,
SHIFTL intrinsic function,
SHIFTR intrinsic function 

