The most efficient method to calculate 2 multiplied by 8?

2 << 3 (multiplied by 2 bits to the left by 3 third power, divided by 2 bits to the right by 3 3rd power).

Guess you like

Origin www.cnblogs.com/kristse/p/bitcalculate.html