Shifting any number x to the left by y bits is the same as multiplying x by 2 to the power of y. What? How? Why?
Bitwise Operation
A collection of 1 post
A collection of 1 post
Shifting any number x to the left by y bits is the same as multiplying x by 2 to the power of y. What? How? Why?