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 mark.dickinson
Recipients gboutsioukis, mark.dickinson
Date 2009-04-18.12:27:23
SpamBayes Score 0.0011178599
Marked as misclassified No
Message-id <1240057645.41.0.0914364676248.issue1869@psf.upfronthosting.co.za>
In-reply-to
Content
I take that back.  The 2.7 round still has some problems.
Here's one example:

>>> x = 5e15 + 1  # exactly representable as an IEEE 754 double
>>> x
5000000000000001.0
>>> round(x)
5000000000000002.0

Another nit:

>>> round(-0.0, 0)  # should retain the sign of zero
0.0

Reopening.
History
Date User Action Args
2009-04-18 12:27:25mark.dickinsonsetrecipients: + mark.dickinson, gboutsioukis
2009-04-18 12:27:25mark.dickinsonsetmessageid: <1240057645.41.0.0914364676248.issue1869@psf.upfronthosting.co.za>
2009-04-18 12:27:24mark.dickinsonlinkissue1869 messages
2009-04-18 12:27:23mark.dickinsoncreate