BitRShift-func
Shift a given decimal number num right by the specified number of bits shift. It is proceeded as follows: firstly convert num into its binary representation, remove shift digits from the rightmost digit of the binary, and then convert it back to the decimal number. For example, BitRShift (4,2) converts 4 into "100" (its binary value), removes the last 2 digits so it become 1 in binary, and then convert 1 (binary value) to 1 in decimal.
__int64 BitRShift( __int64 num, __int64 shift)
num
shift
Returns a number shifted right by the specified number of bits.
EX1
BitRShift(100, 2) = ; // returns 25
EX2
i=hex(F1101010101); j=hex(F2010101011); Dec2hex(bitRShift(i,3),12)$=;// 01E220202020
BitLShift