On 2009-10-29 18:22 PM, Lisandro Dalcin wrote:
> Sorry for the late reply..
>
> On Wed, Oct 28, 2009 at 4:13 AM, Stefan Behnel<[email protected]>  wrote:
>> Hi,
>>
>> most of the 'complex' tests currently fail in Py3.1 because
>> complex.__repr__() became more correct. It now prints (-0-2j) for -(2j).
>
> Are you sure this is "more correct" ? What's the point of printing a
> "0" for the real part? I really do not know what's going on there...

+0 and -0 are different in IEEE floating point representation. It is 
information 
that should be preserved particularly since signed zeros are more important 
with 
complex numbers than reals because of branch cuts.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to