[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52627] Failing BIST tests on Mac OS X
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #52627] Failing BIST tests on Mac OS X |
Date: |
Fri, 8 Dec 2017 23:19:04 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Follow-up Comment #7, bug #52627 (project octave):
@Mike: Since you're quite familiar with the tests, do you know quickly why
this one in complex.tst is failing?
>>>>> processing complex.tst
***** test
x = [complex(-1,0), complex(-1,-0), i, -i, 1];
xs = sort (x);
xf = single (x);
xfs = sort (xf);
assert (issorted (xs));
assert (issorted (xfs));
assert (double (xfs), xs);
!!!!! test failed
ASSERT errors for: assert (double (xfs),xs)
Location | Observed | Expected | Reason
(1) -1-0i -0-1i Abs err 1.4142 exceeds tol 0 by 1
(2) -0-1i 1+0i Abs err 1.4142 exceeds tol 0 by 1
(3) 1+0i 0+1i Abs err 1.4142 exceeds tol 0 by 1
(4) 0+1i -1+0i Abs err 1.4142 exceeds tol 0 by 1
It's obvious that the results aren't sorted according to the special sequence
that Octave uses of magnitude followed by phase angle, but we ship our own
sort routine as far as I know.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52627>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #52627] Failing BIST tests on Mac OS X, Rik, 2017/12/08
- [Octave-bug-tracker] [bug #52627] Failing BIST tests on Mac OS X, Mike Miller, 2017/12/08
- [Octave-bug-tracker] [bug #52627] Failing BIST tests on Mac OS X, Rik, 2017/12/08
- [Octave-bug-tracker] [bug #52627] Failing BIST tests on Mac OS X, Dmitri A. Sergatskov, 2017/12/08
- [Octave-bug-tracker] [bug #52627] Failing BIST tests on Mac OS X, Mike Miller, 2017/12/08
- [Octave-bug-tracker] [bug #52627] Failing BIST tests on Mac OS X, Rik, 2017/12/08
- [Octave-bug-tracker] [bug #52627] Failing BIST tests on Mac OS X, Dmitri A. Sergatskov, 2017/12/08
- [Octave-bug-tracker] [bug #52627] Failing BIST tests on Mac OS X,
Rik <=
- [Octave-bug-tracker] [bug #52627] Failing BIST tests on Mac OS X, Rik, 2017/12/08
- [Octave-bug-tracker] [bug #52627] Failing BIST tests on Mac OS X, Dmitri A. Sergatskov, 2017/12/08
- [Octave-bug-tracker] [bug #52627] Failing BIST tests on Mac OS X, Rik, 2017/12/09
- [Octave-bug-tracker] [bug #52627] Failing BIST tests on Mac OS X, Mike Miller, 2017/12/10
- [Octave-bug-tracker] [bug #52627] Failing BIST tests on Mac OS X, Dmitri A. Sergatskov, 2017/12/10
- [Octave-bug-tracker] [bug #52627] Failing BIST tests on Mac OS X, Rik, 2017/12/11
- [Octave-bug-tracker] [bug #52627] Failing BIST tests on Mac OS X, Rik, 2017/12/14
- [Octave-bug-tracker] [bug #52627] Failing BIST tests on Mac OS X, Ben Abbott, 2017/12/20
- [Octave-bug-tracker] [bug #52627] Failing BIST tests on Mac OS X, Dmitri A. Sergatskov, 2017/12/20
- [Octave-bug-tracker] [bug #52627] Failing BIST tests on Mac OS X, Ben Abbott, 2017/12/20