Why would you ever need to shift bits?

BlitzMax Forums/BlitzMax Beginners Area/Why would you ever need to shift bits?

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

What's the reasoning behind it.

Does this cause arithmetic to be performed faster or what?
All I can see is that it multiplies numbers by 2 or divide by 2 at the binary level.

I don't understand why this is ever needed.

Can someone explain?