[BRL.Math] SuperStrict and single-precision
BlitzMax Forums/BlitzMax Module Tweaks/[BRL.Math] SuperStrict and single-precision
| ||
This is just a quick hack to add single-precision operations to the math module. It adds a float equivalent for all math functions: Print Sqr(90.0) ' double-precision Print Sqrf(90.0) ' single-precision using floats I tried to change the original version as less as possible and added the single-precision functions in C in the way BRL did. math.bmx math.c SuperStrict is just a little gimmick here. Enjoy |