Here is a website that will help you.. :)
http://www.miniwebtool.com/modulo-calculator/
why "-2 mod 4 = -2" ??????
think of a clock only put 0 up the top instead of 12.
That that is representative of mod 12
what is -3mod12 ?
well start at 0 and count backwards (counter clockwise) and you get to -3
OR where is this as a positve number? it is 9 (12-3=9)
so using the same type of logic, you have a circular face. 0 is at the top and 1,2,3 are round the outside.
That is representative of mod 4
-2 mod 4 = -2 or +2
I do not understand why you thought it should be 0 ??