2 ms·
We (at ring.cx) had a "Y2K" bug on Jan 1. Some old boring code was replaced with more "readable" one and "underflowed" (technically, it did not expect negative
by Elv13 11y ago
We (at ring.cx) had a "Y2K" bug on Jan 1. Some old boring code was replaced with more "readable" one and "underflowed" (technically, it did not expect negative values).
Explosion:
https://gist.github.com/Elv13/73ae14074c85974ca952 https://gist.github.com/Elv13/73ae14074c85974ca952
Fixed:
https://gist.github.com/Elv13/5fc6bb2bba51aeb14f63 https://gist.github.com/Elv13/5fc6bb2bba51aeb14f63
(LGPLv2+, not designed to be "correct", but close enough so it isn't noticeable.)