BitLShift-func
Shift a given decimal number num left by the specified number of bits shift. It is proceeded as follows: firstly convert num into its binary representation, add 0 to the end of the binary, and then convert it back to the decimal number.
int BitLShift(int num, int shift)
num
shift
Return a decimal number shifted left by the specified number of bits.
BitLShift(100, 2) = ; // returns 400 BitLShift(10, 4) = ; // returns 160
BitRShift