Post #1514345
2026-04-05 11:55 UTC
The root cause, was floating numbers being inprecise ( 1 % 1/3, should be 0, but it was ~5e-17), which in turn caused the huge number.
Replies (2)
-
@Tijflalol@mas.to 2026-04-05 13:18
@reckter mandatory xkcd: https://xkcd.com/3228
-
@Tijflalol@mas.to 2026-04-05 14:18
@reckter this is why you can't compare floating point numbers directly