Re:How does your programming language handle “minus zero” (-...
by ajuc on Friday March 05, 2021 @11:14AM
(#26358459)
Did you use macros/operator overloading for all that bit shifting or just hardcoded it everywhere?
We made a simple 3d demo for uni using fixed math (and we were clueless then and weren't using macros because sometimes you could refactor some operations out that way and we wanted all the speed). There were lots of bugs caused by this.
Can't imagine how painful writing a whole game this way would be.
We made a simple 3d demo for uni using fixed math (and we were clueless then and weren't using macros because sometimes you could refactor some operations out that way and we wanted all the speed). There were lots of bugs caused by this.
Can't imagine how painful writing a whole game this way would be.