Simple question with modulus

So if -(7 % 6) gives a modulo of -1, why would (-7 % 6) give a modulo of 5?

Posted Apr 26, 2017, 6:13 PM UTC

13
Loading comments…