Against PEP 240
Paul Prescod
paulp at ActiveState.com
Wed May 30 11:31:59 EDT 2001
Mikael Olofsson wrote:
>
> On 29-May-2001 Paul Prescod wrote:
> > As far as I know. A float is an inexact (and high performance) rational
> > and a rational is a complex number without an imaginary part.
>
> No, a real is a complex number without an imaginary part. There are
> real numbers that are not rational (called irrational). Pi is an
> example, e is another, and sqrt(2) is a third. Actually, most reals
> are irrational.
We're talking about Python. I don't think it will accurately represent
irrational numbers in my lifetime! In context of proposed Python
implementations, I believe my hierarchy is complete and correct.
--
Take a recipe. Leave a recipe.
Python Cookbook! http://www.ActiveState.com/pythoncookbook
More information about the Python-list
mailing list