bitrol(X;Y)

Returns the given 32-bit integer rotated left by a specified number of bits.

Syntax

bitrol(X;Y)

Input

Argument Type Description
X integer A scalar value or the name of a column

X must be a 32-bit integer (between -2147483646 and +2147483646).

Y integer A scalar value or the name of a column

Y should be an integer between 0 and 32.

Return Value

Returns an integer value corresponding to X rotated left by Y bits.
Note: X is treated as if it were unsigned.

If X and/or Y is N/A, they are handled according to their internal representation like any other number.