Author rhettinger
Recipients benjamin.peterson, mhmtyozcu001, rhettinger, vstinner
Date 2008-10-07.01:54:31
SpamBayes Score 2.92554e-06
Marked as misclassified No
Message-id <1223344472.75.0.390968967279.issue4061@psf.upfronthosting.co.za>
In-reply-to
Content
FWIW, what you're seeing is related to "representation error" not "poor
precision".  The numbers 2.3, 6.3, and 8.6 cannot be exactly represented
in binary floating point.  When you think about it, this is no more
surprising than knowing the fractions 1/3 and 2/3 cannot be exactly
represented in either decimal or binary floating point.
History
Date User Action Args
2008-10-07 01:54:32rhettingersetrecipients: + rhettinger, vstinner, benjamin.peterson, mhmtyozcu001
2008-10-07 01:54:32rhettingersetmessageid: <1223344472.75.0.390968967279.issue4061@psf.upfronthosting.co.za>
2008-10-07 01:54:32rhettingerlinkissue4061 messages
2008-10-07 01:54:31rhettingercreate