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 skip.montanaro
Recipients Retro, skip.montanaro
Date 2010-10-14.13:55:51
SpamBayes Score 0.006976887
Marked as misclassified No
Message-id <1287064553.43.0.496031073981.issue10101@psf.upfronthosting.co.za>
In-reply-to
Content
No, just a result of the finite machine representation of
floats:

>>> repr(1.255)
'1.2549999999999999'

so the machine representation of 1.255 is actually less
than that value and round() is doing the right thing.
History
Date User Action Args
2010-10-14 13:55:53skip.montanarosetrecipients: + skip.montanaro, Retro
2010-10-14 13:55:53skip.montanarosetmessageid: <1287064553.43.0.496031073981.issue10101@psf.upfronthosting.co.za>
2010-10-14 13:55:51skip.montanarolinkissue10101 messages
2010-10-14 13:55:51skip.montanarocreate