[issue23229] add inf and nan to cmath module

Mark Dickinson report at bugs.python.org
Tue Jan 13 10:38:14 CET 2015


Mark Dickinson added the comment:

Guido also says:

"""
Also complex(0, math.nan) a value that is printed as "nanj" and complex("nanj") parses and returns such a value, so the point could be made that there should be a constant named complex.nanj.
"""

... and the same comments would apply to "infj".

----------

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


More information about the Python-bugs-list mailing list