4 ms·
A use-case for -0. https://en.wikipedia.org/wiki/Negative_zero https://en.wikipedia.org/wiki/Negative_zero
by jamesrom 3y ago
A use-case for -0.
https://en.wikipedia.org/wiki/Negative_zero https://en.wikipedia.org/wiki/Negative_zero
- ajnin 3y agoThat would pose issues when iterating over a range that crosses the X/Y axis, you'd need special case for this. Or you might say that -0 +1 = 0 but I think that would probably break some fundamental properties of the ring of integers.