Guido van Rossum added the comment:

Note, the reason I proposed nanj (and infj) is that these are produced by
repr() of complex numbers. Having them in the cmath module provides a place
to document them which will then be searchable.

On Tue, Jan 13, 2015 at 8:46 AM, Guido van Rossum <rep...@bugs.python.org>
wrote:

>
> 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 <rep...@bugs.python.org>
> <http://bugs.python.org/issue23229>
> _______________________________________
>

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23229>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to