1For those of you who are interested, the C standard defines a % b to be the number satisfying the equation (a∕b) *b + (a%b) = a. C also defines a∕b to be the result of rounding the real number a∕b towards zero, so -53 = -1. Hence, -5 % 3 = -5 - (-53) * 3 = -5 + 3 = -2 in C.