News for hackers. Stuff that matters.
Re:Javascript null surprise by newt0311 on Friday February 22, 2008 @08:39PM (#121762)
True. I checked the python reference again and it re-adjusts the modulo to have the same sign as the 2nd operand.

>>> 1 % -3 -2 >>> -1 % -3 -1

There are no comments on this comment yet.