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 rhettinger
Recipients bubersson, rhettinger
Date 2008-10-20.20:35:32
SpamBayes Score 0.00035189587
Marked as misclassified No
Message-id <1224534933.58.0.671052241373.issue4155@psf.upfronthosting.co.za>
In-reply-to
Content
None of these calculations are going to work out exactly.  Look-up "what
every computer scientist needs to know about floating point" and see the
floating-point appendix in the Python tutorial.  In this case, the
difference is only one bit in the last place:

  >>> 0.70710678118654746.hex()
  '0x1.6a09e667f3bccp-1'
  >>> 0.70710678118654757.hex()
  '0x1.6a09e667f3bcdp-1'
History
Date User Action Args
2008-10-20 20:35:33rhettingersetrecipients: + rhettinger, bubersson
2008-10-20 20:35:33rhettingersetmessageid: <1224534933.58.0.671052241373.issue4155@psf.upfronthosting.co.za>
2008-10-20 20:35:32rhettingerlinkissue4155 messages
2008-10-20 20:35:32rhettingercreate