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.
__int64 BitLShift( __int64 num, __int64 shift)
num
shift
Return a decimal number shifted left by the specified number of bits.
EX1
BitLShift(100, 2) = ; // returns 400 BitLShift(10, 4) = ; // returns 160
EX21
i=hex(F1101010101); j=hex(F2010101011); Dec2hex(bitLShift(i,3),12)$=;// 788808080808
BitRShift