This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients belopolsky
Date 2014-09-19.16:56:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1411145815.79.0.695099073811.issue22444@psf.upfronthosting.co.za>
In-reply-to
Content
PEP 3141 defines floor division as floor(x/y) and specifies that floor() should return int type.  Builtin float type has been made part of the PEP 3141 numerical tower, but floor division of two floats still results in a float.


See also:

  * #1656 - Make math.{floor,ceil}(float) return ints per PEP 3141
  * #1623 - Implement PEP-3141 for Decimal
  * https://mail.python.org/pipermail/python-ideas/2014-September/029392.html
History
Date User Action Args
2014-09-19 16:56:55belopolskysetrecipients: + belopolsky
2014-09-19 16:56:55belopolskysetmessageid: <1411145815.79.0.695099073811.issue22444@psf.upfronthosting.co.za>
2014-09-19 16:56:55belopolskylinkissue22444 messages
2014-09-19 16:56:55belopolskycreate