>>18
How it behaves with negative numbers. When both divisor and dividend are positive, they behave identically.
When the dividend is negative and the divisor is positive, the remainder will usually be negative (though the problem is really ill-defined), but the result of the modulo operation will
always be positive.
When the divisor is negative, the modulo operator either is undefined or has a negative result, depending on how strict you want to be. The sign of the remainder will generally depend on the sign of the dividend (though again, it's ill-defined).