[Python-Dev] Floor division
skip at pobox.com
skip at pobox.com
Tue Jan 23 11:55:12 CET 2007
Tim> For example, floor division isn't mentioned at all in IBM's
Tim> proposed decimal standard, or in PEP 327, or in the Python Library
Tim> Reference section on `decimal`. It's an artifact of trying to
Tim> extend Python's integer mod definition to floats, and for reasons
Tim> explained in this thread (for the 27th time ;-)), that definition
Tim> doesn't make good sense for floats....
Tim> Do note that this discussion is only about Python 3....
Since Python 3 is about cleaning things up (at least in part) and Tim is
telling us this is going to clean things up in this area, I'm +1 on this.
Besides, I've found it's generally best to agree with Tim. ;-)
Skip
More information about the Python-Dev
mailing list