[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #37455] tests do not distinguish -0
From: |
Michael Godfrey |
Subject: |
[Octave-bug-tracker] [bug #37455] tests do not distinguish -0 |
Date: |
Sun, 30 Sep 2012 00:46:51 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0.1 |
Follow-up Comment #8, bug #37455 (project octave):
After some more study, it seems to me that implementing
signbit as in C++ is the best choice. copybit could
also be implemented at the same time, but seems much less
important. It appears that signbit could go in lo-mappers.cc
without much trouble.
An alternative would be to modify the current sign
so that sign(-0) returns -1 instead of 0. This would not
be incompatible with Matlab since it does not use -0, but
might be confusing.
Comments?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?37455>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #37455] tests do not distinguish -0, Michael Godfrey, 2012/09/28
- [Octave-bug-tracker] [bug #37455] tests do not distinguish -0, Jordi GutiƩrrez Hermoso, 2012/09/28
- [Octave-bug-tracker] [bug #37455] tests do not distinguish -0, Michael Godfrey, 2012/09/28
- [Octave-bug-tracker] [bug #37455] tests do not distinguish -0, Jordi GutiƩrrez Hermoso, 2012/09/28
- [Octave-bug-tracker] [bug #37455] tests do not distinguish -0, John W. Eaton, 2012/09/28
- [Octave-bug-tracker] [bug #37455] tests do not distinguish -0, Michael Godfrey, 2012/09/28
- [Octave-bug-tracker] [bug #37455] tests do not distinguish -0, Michael Godfrey, 2012/09/28
- [Octave-bug-tracker] [bug #37455] tests do not distinguish -0, Michael Godfrey, 2012/09/28
- [Octave-bug-tracker] [bug #37455] tests do not distinguish -0,
Michael Godfrey <=
- [Octave-bug-tracker] [bug #37455] tests do not distinguish -0, John W. Eaton, 2012/09/29
- [Octave-bug-tracker] [bug #37455] tests do not distinguish -0, Michael Godfrey, 2012/09/29
- [Octave-bug-tracker] [bug #37455] tests do not distinguish -0, Michael Godfrey, 2012/09/30