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

Skip Montanaro skip at pobox.com
Thu Oct 3 11:22:33 EDT 2002


    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?

-- 
Skip Montanaro - skip at pobox.com
"Airplanes don't fly until the paperwork equals the weight of the
aircraft. Same with i18N." - from the "Perl, Unicode and i18N FAQ"




More information about the Python-list mailing list