Message112670
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. |
|
Date |
User |
Action |
Args |
2010-08-03 20:37:34 | ygale | set | recipients:
+ ygale, docs@python |
2010-08-03 20:37:34 | ygale | set | messageid: <1280867854.52.0.518299717843.issue9498@psf.upfronthosting.co.za> |
2010-08-03 20:37:32 | ygale | link | issue9498 messages |
2010-08-03 20:37:32 | ygale | create | |
|