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 -5∕3 = -1. Hence, -5 % 3 = -5 - (-5∕3) * 3 = -5 + 3 = -2.