BlitzMax seems to always round down when converting a float to an integer:
Notify Int(1.9)
This has far-reaching consequences that create a lot of hard-to-find problems. For example, when doing a power-of-two test on textures, my fixed width was 511.99987, which got rounded to 511.
Why has this method of float conversion been chosen?
Notify Int(1.9)
This has far-reaching consequences that create a lot of hard-to-find problems. For example, when doing a power-of-two test on textures, my fixed width was 511.99987, which got rounded to 511.
Why has this method of float conversion been chosen?