Problem is here are several definitions of the modulo operation. They all
agree on what happens when operands are positive, but disagree what
happens when one of the operands is negative.
I'm not a standards-jockey, but i'd be interested what the experts have
Despite what some might claim on here, it just appears to me that the
C Standard isn't really (that far) out of sync with the "regular math".