@NohatCoder@mastodon.gamedev.place
Post #2959676
2026-05-11 11:45 UTC
Fun fact: A correctly implemented floating point modulo operation is exact. Even if the corresponding division would produce a result that is way out of integer range it is still relatively easy to compute the exact modulo. It notably does not require computing the corresponding division result to a similar precision, and is asymptotically faster than doing so.
Replies (0)
No replies.