[issue9416] complex formatting incorrectly omits a negative zero real part

Mark Dickinson report at bugs.python.org
Thu Jul 29 20:28:01 CEST 2010


Mark Dickinson <dickinsm at gmail.com> added the comment:

Well, that's a separate issue, so should have its own feature request.  The main difficulty is that Python has no notion of a 'pure imaginary' type: one would have to implement such a type to get this behaviour.

C99 defines the _Imaginary types for exactly this reason.  Unfortunately, that part of the specification is optional, and almost no-one has implemented it.  (Sun might be an exception.)

----------

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


More information about the Python-bugs-list mailing list