[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50947] angle of -0-0i should be 0
From: |
Ceral Paquet |
Subject: |
[Octave-bug-tracker] [bug #50947] angle of -0-0i should be 0 |
Date: |
Thu, 4 May 2017 13:50:31 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0 |
Follow-up Comment #4, bug #50947 (project octave):
Response using myfunc mex:
MATLAB
>> myfunc (-0)
-0
>> myfunc (-0+0i)
0
>> myfunc (-0-0i)
-0
>> myfunc (complex (-0, 0))
(-0, 0)
>> myfunc (complex (-0, -0))
(-0, -0)
>> neg_zero = -0;
>> myfunc (neg_zero)
-0
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50947>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #50947] angle of -0-0i should be 0, Ceral Paquet, 2017/05/04
- [Octave-bug-tracker] [bug #50947] angle of -0-0i should be 0, John W. Eaton, 2017/05/04
- [Octave-bug-tracker] [bug #50947] angle of -0-0i should be 0 for Matlab compatibility, Rik, 2017/05/04
- [Octave-bug-tracker] [bug #50947] angle of -0-0i should be 0, John W. Eaton, 2017/05/04
- [Octave-bug-tracker] [bug #50947] angle of -0-0i should be 0,
Ceral Paquet <=
- [Octave-bug-tracker] [bug #50947] angle of -0-0i should be 0, Ceral Paquet, 2017/05/04
- [Octave-bug-tracker] [bug #50947] angle of -0-0i should be 0, John W. Eaton, 2017/05/04
- [Octave-bug-tracker] [bug #50947] angle of -0-0i should be 0, Ceral Paquet, 2017/05/04
- [Octave-bug-tracker] [bug #50947] angle of -0-0i should be 0, Ceral Paquet, 2017/05/04
- [Octave-bug-tracker] [bug #50947] angle of -0-0i should be 0, Ceral Paquet, 2017/05/04
- [Octave-bug-tracker] [bug #50947] angle of -0-0i should be 0, John W. Eaton, 2017/05/04
- [Octave-bug-tracker] [bug #50947] angle of -0-0i should be 0, Ceral Paquet, 2017/05/07