Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21842

Powers of 2

$
0
0
I believe that shifting a number left 1 bit is the same as multiplying that number by 2^1 and shifting a number left 4 bits is same as number * 2^4

So my question is how do you raise 2 to a given power?

Viewing all articles
Browse latest Browse all 21842

Trending Articles