3 ms·
I don't think that is quite true. Yes, for normal intergers 17 and 4, you can say the above. But mod can also be used as an operation on (and into) the equivale
by alexlarsson 8y ago
I don't think that is quite true. Yes, for normal intergers 17 and 4, you can say the above. But mod can also be used as an operation on (and into) the equivalence classes of Z mod 4.
- edflsafoiewq 8y agoFor this reason, x % 0 should be x.
- abakker 8y agoIt's funny, I posted this same thing on the 1/0 = 1 thread the other day. It seemed to me that the logic was linked. https://news.ycombinator.com/item?id=17737175 https://news.ycombinator.com/item?id=17737175
- deleted 8y ago[deleted]