Q: Feature Wish: "%" Extension

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Sun Nov 4 20:06:44 CET 2001

04 Nov 2001 10:05:40 -0800, Paul Rubin <phr-n2001d at nightsong.com> pisze:

> Knuth says to use floor_mod?  Where?

Concrete Mathematics, and AFAIR not only there.

> I can't help thinking there must be a reason for all the
> implementations using trunc_mod, but I don't know what it might be.

I don't understand the reason. Floor_mod was always the more natural
version for me.

 __("<  Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/

More information about the Python-list mailing list