2 ms·
You can also use a library for it: https://github.com/PetteriAimonen/libfixmath https://github.com/PetteriAimonen/libfixmath I saw this getting forked for a c
by gatane 2y ago
You can also use a library for it:
https://github.com/PetteriAimonen/libfixmath https://github.com/PetteriAimonen/libfixmath
I saw this getting forked for a custom SDK for the PS1 (which doesnt have a FPU).
- turtledragonfly 2y agoThat's a good library (I use it myself), but just to be clear for anyone reading: that's a standalone fixed-point implementation, not a compiler-provided one like the article discusses (via -ffixed-point).