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 ygale
Recipients docs@python, ygale
Date 2010-08-03.20:37:31
SpamBayes Score 1.7053026e-13
Marked as misclassified No
Message-id <1280867854.52.0.518299717843.issue9498@psf.upfronthosting.co.za>
In-reply-to
Content
Library docs section 5.4 "Numeric Types" states about floating point numbers that "all bets on their precision are off unless you happen to know the machine you are working with."

That has not been true since Python 2.6, when sys.float_info was added. There should be a reference to that here instead of that statement.

In addition, that paragraph mentions that both float and complex are "implemented using double in C". There is no longer any special reason to mention how those are implemented in C, any more than anything else in Python. Everything you need to know about the implementation is in sys.float_info. (Well, almost everything, see #9192.)

The attached patch is for the Python 3.2 branch.
History
Date User Action Args
2010-08-03 20:37:34ygalesetrecipients: + ygale, docs@python
2010-08-03 20:37:34ygalesetmessageid: <1280867854.52.0.518299717843.issue9498@psf.upfronthosting.co.za>
2010-08-03 20:37:32ygalelinkissue9498 messages
2010-08-03 20:37:32ygalecreate