Faster Floats

BlitzMax Forums/BlitzMax Programming/Faster Floats

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.

Interesting. I understand what you're saying except for spilling. What is that? Do you mean that getting the address of a local requires pushing it into memory and is then accessed as an integer from memory?

I do disagree though about needing to do a float move. If you create the float as a real Float variable, and write its bytes using varptr to a 4-byte space in memory, then to re-use it you just create a blank Float variable and read the bytes into its memory space. Why wouldnt you be able to just use the Float once you've read the bytes into its memory?