PEP 238 (revised)
Manoj Plakal
plakal-nospam at nospam-cs.wisc.edu
Thu Jul 26 22:42:04 EDT 2001
Ken Seehof <kens at sightreader.com> wrote on Thursday 26 July 2001 20:08:
> I like quotient too just because the word hasn't been used yet. Yes,
> this truncates towards zero, but I don't really think of it in those
> terms.
> That's an algebraic way of looking at things. I think of this "quotient"
> concept as a companion to "modulus". It's a nice clean concept that
> maintains closure for integers, rather than a truncation of something.
> The term "floor division" to distinguish from "true division" seems
> somehow less pure, since the concept is dragged in from the world of
> real numbers.
>
> Hmm, does this mean we rename divmod to quomod? :-)
How about quasimodo :) Is Quasi-Modulus defined in math?
Manoj
More information about the Python-list
mailing list