Against PEP 240

D-Man dsh8290 at rit.edu
Thu May 31 15:25:59 CEST 2001


On Thu, May 31, 2001 at 06:07:21AM -0700, Aahz Maruch wrote:
| In article <7KeR6.23047$qs3.10072021 at news2.rdc2.tx.home.com>,
| Rainer Deyke <root at rainerdeyke.com> wrote:
| >"Aahz Maruch" <aahz at panix.com> wrote in message
| >news:9f3sa5$45p$1 at panix6.panix.com...
| >>
| >> C'mon, Alex, you know better than that: longs are unbounded precision,
| >> not infinite precision.
| >
| >All integer types (and rationals) have perfect (i.e. "infinite") precision.
| 
| Oh?  Try representing 1234243673573262345 with a 32-bit integer.

It still has infinite precision, though it will be quite inaccurate.
The distinction between precision and accuracy is taught in high
school, locally.  I agree, however, that it is still a rather subtle
point and easy to overlook :-).

-D





More information about the Python-list mailing list