binary_shift_left()

Returns binary shift left operation on a pair of numbers.

Syntax

binary_shift_left(value,shift)

Parameters

Name Type Required Description
value int The value to shift left.
shift int The number of bits to shift left.

Returns

Returns binary shift left operation on a pair of numbers: value << (shift%64). If n is negative, a NULL value is returned.

Example

binary_shift_left(1,2)

Output

Result
4