Toppling the numeric tower

Bengt Richter bokr at
Fri Jul 27 11:11:52 CEST 2001

On Thu, 26 Jul 2001 21:21:55 GMT, Guido van Rossum <guido at> wrote:

>"Tim Hochberg" <tim.hochberg at> writes:
>> For discussion purposes, I'm going to assume that some forms of PEP 237, 238
>> and 239 are eventually adopted. In that case, integers and longs will be
>> unified. The integers can then be completely emebedded into rationals. This
>> leaves us with just one level of precision/range for exact numbers (infinite
>> more or less) and one level of precision/range for inexact numbers (C
>> double). This allows the numeric tower to be knocked down and stirred around
>> to form a box:
>>    Real      Complex
>>       |               |
>> rRational cRational -- Rational (Exact)
>> rFloat          cFloat -- Float      (Inexact)
>I just don't see much use for complex rational...  So then we're back
>to my original tower (with rational).
For a different slant on diagramming all this, please see my post
"Number Tree (was: Re proposed language change ...(was: ...))"

More information about the Python-list mailing list