On Wed, Dec 14, 2011 at 10:47 PM, rusi <rustompm...@gmail.com> wrote: > `quot` is integer division truncated toward zero, while the result of > `div` is truncated toward negative infinity.
All these problems just because of negative numbers. They ought never to have been invented. At least nobody rounds toward positive infinity... oh wait, that's legal too. ChrisA -- http://mail.python.org/mailman/listinfo/python-list