On Mon, Dec 31, 2018 at 1:56 PM Christian Seberino <cseber...@gmail.com> wrote: > > Perhaps the "secret" is *not* do integer division with negative numbers?
I have no idea what you're replying to, but integer division with negative numbers IS well defined. Python will floor - it will always round down. ChrisA -- https://mail.python.org/mailman/listinfo/python-list