Go to the first, previous, next, last section, table of contents.
IShft(I, Shift)
IShft: INTEGER
function, the `KIND=' value of the type being that of argument I.
I: INTEGER
; scalar; INTENT(IN).
Shift: INTEGER
; scalar; INTENT(IN).
Intrinsic groups: mil
, f90
, vxt
.
Description:
All bits representing I are shifted Shift places. `Shift.GT.0' indicates a left shift, `Shift.EQ.0' indicates no shift and `Shift.LT.0' indicates a right shift. If the absolute value of the shift count is greater than `BIT_SIZE(I)', the result is undefined. Bits shifted out from the left end or the right end, as the case may be, are lost. Zeros are shifted in from the opposite end.
See section IShftC Intrinsic for the circular-shift equivalent.
Go to the first, previous, next, last section, table of contents.