Bit Shifting

Blitz3D Forums/Blitz3D Programming/Bit Shifting

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

AFAIK the shift commands are no longer that much faster than say 32 Bit division because the FPU is heavily optimized and embeded in the CPU these days. And of course a language like Blitz will not map the shift commands directly to the CPU OPS because it has to catch parameter Errors. In the end it's mostly the Error handling that eats the power, the command itself is rather insignificantly timeconsuming.