-1 % 2 is going to return -1, not 1, where -2 % 2 will give a result of 0.
↧
-1 % 2 is going to return -1, not 1, where -2 % 2 will give a result of 0.