Not sure where to post this, sorry if its the wrong place.
I am looking at some notes I made about the mod function:
-14 mod 72 = 58
Can someone explain how negatives work with the mod function? I know how to use it for positives, for example with 34 mod 5, 34/5 = 6.8, 6 X 5 = 30, and 34-34=4 so 34 mod 5 = 4... but I do not understand how 58 could be the answer for -14 mod 72.
Thanks,
GG
I am looking at some notes I made about the mod function:
-14 mod 72 = 58
Can someone explain how negatives work with the mod function? I know how to use it for positives, for example with 34 mod 5, 34/5 = 6.8, 6 X 5 = 30, and 34-34=4 so 34 mod 5 = 4... but I do not understand how 58 could be the answer for -14 mod 72.
Thanks,
GG