[Python-Dev] PEP239 (Rational Numbers) Reference Implementation and new issues

Chad Netzer cnetzer at mail.arc.nasa.gov
Thu Oct 3 15:17:56 EDT 2002


On Thursday 03 October 2002 08:22, Skip Montanaro wrote:
>     Paul> I don't think you can do it that way without kludges to
> deal with Paul> rational(NaN), rational(Inf), etc.
>
> Dunno about NaN, but wouldn't rational(Inf) be 1/0?

And what about rational 0/0?  Is that 1, or NaN (or Inf :-) )?

-- 

Chad Netzer
cnetzer at mail.arc.nasa.gov




More information about the Python-list mailing list