bit_shift

Returns an integer value that is calculated by shifting the binary bits of the input value.

Parameter 1 - an integer value whose bits are to be shifted.

Parameter 2 - an integer value specifying how far to shift the bits of the first parameter. Positive values shift it to the left and negative values shift it to the right.

Returns: the integer formed by shifting the bits of the first parameter as specified by the second parameter.