Re:How does your programming language handle “minus zero” (-...
by adwn on Friday March 05, 2021 @10:33AM
(#26357943)
It appears you have a very niche definition of "game", one which excludes basically all 3D games.
[ Parent
| on HN ]
Re:How does your programming language handle “minus zero” (-...
by linkdd on Friday March 05, 2021 @10:35AM
(#26357967)
Yes, that's exactly why I wrote:
> some game engines
and
> simple games
A 3D game is not a simple game.
Re:How does your programming language handle “minus zero” (-...
by adwn on Friday March 05, 2021 @10:43AM
(#26358063)
Ugh, do you really have to be this nitpicky? Fine, you wrote:
> the approximation is generally good enough for a game
No, it's not generally good enough for a game – only for some games, and not good enough for any game with 3D graphics.
Re:How does your programming language handle “minus zero” (-...
by yvt on Saturday March 06, 2021 @12:28AM
(#26365454)
Technically, 32-bit fixed-point numbers have 8-bit more precision compared to 32-bit floating-point numbers, but the real problem is it's quite cumbersome to fully utilize the precision offered by fixed-point numbers as you'd have to keep in mind their numerical range all the time.