Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
alexlarsson
· 8y ago · 0 comments
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.
Comments
[–]
edflsafoiewq
8y ago
For this reason, x % 0 should be x.
[–]
abakker
8y ago
It'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