a: bitwise shift to the left ~
b: multiplying your binary number by 2,4,8,16
What:
"So a bitwise shift to the left is like multiplying your binary number by 2,4,8,16 etc depending on how many bits you shifted it to the left. A bitwise shift to the right is a like a floor division by 2,4,8,16 etc depending on the number of bits you shifted you number to the right"
Useful?
Writer: Fred M'ule
LCC:
Where:
Date: Dec 6 2014 3:20 PM
# 6624 Critique Analogy