[issue23229] add inf, nan, infj, nanj to cmath module

Guido van Rossum report at bugs.python.org
Tue Jan 13 17:46:12 CET 2015


Guido van Rossum added the comment:

> Note: following the precedent of cmath.e and cmath.pi, cmath.nan and
cmath.inf should have type *float*.  Let's not get into the business of
deciding *which* complex infinities and nans to represent.

Agreed.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23229>
_______________________________________


More information about the Python-bugs-list mailing list