Declaring variables mid-function changes results

BlitzMax Forums/BlitzMax Programming/Declaring variables mid-function changes results

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.

I think this could be caused by the usage of Registers to store locals on release mode, as rounding works in a different way.

That was my first thought.

But storing registers to memory causes them to lose precision. This code gives better values with debug on. That's the opposite of what I expected.