[Python-Dev] PEP239 (Rational Numbers) Reference Implementation and new issues
tim.one at comcast.net
Thu Oct 3 21:36:49 CEST 2002
> Dunno about NaN, but wouldn't rational(Inf) be 1/0?
+-Inf <-> +-1/0
+-0 <-> +-0/1
NaN <-> 0/0
work nicely in practice, provided you want to bother at all <wink>.
More information about the Python-list