Performs a circular shift of the rightmost bits; that is, bits shifted off one end are inserted again at the other end.
Elemental function
Same as I.
The result has the value obtained by shifting the SIZE rightmost bits of I circularly by SHIFT positions. If SHIFT is positive, the shift is to the left; if SHIFT is negative, the shift is to the right; and, if SHIFT is zero, no shift is performed. No bits are lost. The unshifted bits are unaltered.
The bits are numbered 0 to BIT_SIZE(I)-1, from right to left.
ISHFTC (3, 2, 3) has the value 5. See Integer bit model.
Specific Name | Argument Type | Result Type | Pass As Arg? |
---|---|---|---|
ISHFTC 1 | any integer | same as argument | yes 2 |
Note:
|