bit-shift(number)

koadrobot/bits/bit-shift(number)

Shift right the number value. (0 is right, 30 is left) 31 is sign bit. Side is Shift Left = True, Right =False.
bit-shift(number)
@/bit-shift(number)
Shift right the number value. (0 is right, 30 is left) 31 is sign bit. Side is Shift Left = True, Right =False.
SIDEboolean
Side of Shift. True = Left, False = Right.
INnumber
Input number. Interpreted as a signed 32-bit interger
Nnumber
(0 is right, 31 is left)
bit-shift(number)
IN
OUT
SIDE
N
OUTnumber
To use the node in your project you should have the koadrobot/bits library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.

Tabular tests

INNOUT