So I thought that negative numbers, when mod'ed should be put into positive space... I cant get this to happen in objective-c
I expect this:
-1 % 3 = 2
 0 % 3 = 0
 1 % 3 = 1
 2 % 3 = 2
But get this
-1 % 3 = -1
 0 % 3 = 0
 1 % 3 = 1
 2 % 3 = 2
Why is this and is there a workaround?
 
     
     
     
     
     
     
     
     
     
     
     
    