[clean-list] mod and rem operators

Claudio Potenza claudio.potenza@mclink.it
Sun, 17 Feb 2002 14:18:38 +0000


Third (and last) problem for today:

the operators "mod" and "rem" seems to be doing exactly the same thing
(incorrectly).

Example:
  -1 rem 7   ->   -1  (ok)
  -1 mod 7   ->   -1  (shouldn't this be 6?)



Claudio Potenza
claudio.potenza@mclink.it