bitshift

Type: External

Group: general

Syntax

bitshift(number1, number2);

Description

Shifts the bit pattern of number1 by number2 bits.

Examples

bitshift(5, 2) = 1
bitshift(5, -2) = 20

See Also

bitand, bitor, bitxor