Fri 01 Nov 2013 01:03:34 PM UTC, comment #4:
I can confirm that this still fails for a 3.7.6 MXE build on WinXP
|
Sun 09 Jan 2011 09:35:34 PM UTC, comment #1:
After re-configured with '--enable-float-truncate' ??, the last error
#**************
[v, i] = sort ([NaN, 1i, -1, Inf, 1, 1i]);
assert (v, [1, 1i, 1i, -1, Inf, NaN])
assert (i, [5, 2, 6, 3, 4, 1])
!!!!! test failed
assert (i,[5, 2, 6, 3, 4, 1]) expected
5 2 6 3 4 1
but got
5 6 2 3 4 1
<snip>
#**************
was disappeared.
|
Mon 03 Jan 2011 08:33:56 AM UTC, original submission:
The errors on in the fntests on data.cc have been reported and discussed by Benjamin.
I could not find it from the ML archives.
In order not to forget this, I have reported here.
***** test
[f, e] = log2 ([0,-1; 2,-4; Inf,-Inf]);
assert (f, [0,-0.5; 0.5,-0.5; Inf,-Inf]);
assert (e(1:2,:), [0,1;2,3])
!!!!! test failed
assert (f,[0, -0.5; 0.5, -0.5; Inf, -Inf]) expected
0.00000 -0.50000
0.50000 -0.50000
Inf -Inf
but got
0.00000 -0.50000
0.50000 -0.50000
NaN NaN
NaNs don't match
***** test
[f, e] = log2 (complex (zeros (3, 2), [0,-1; 2,-4; Inf,-Inf]));
assert (f, complex (zeros (3, 2), [0,-0.5; 0.5,-0.5; Inf,-Inf]));
assert (e(1:2,:), [0,1; 2,3]);
!!!!! test failed
assert (f,complex (zeros (3, 2), [0, -0.5; 0.5, -0.5; Inf, -Inf])) expected
0.00000 + 0.00000i 0.00000 - 0.50000i
0.00000 + 0.50000i 0.00000 - 0.50000i
0.00000 + Infi 0.00000 - Infi
but got
0.00000 + 0.00000i 0.00000 - 0.50000i
0.00000 + 0.50000i 0.00000 - 0.50000i
NaN - NaNi NaN - NaNi
NaNs don't match
***** test
[v, i] = sort ([NaN, 1i, -1, Inf, 1, 1i]);
assert (v, [1, 1i, 1i, -1, Inf, NaN])
assert (i, [5, 2, 6, 3, 4, 1])
!!!!! test failed
assert (i,[5, 2, 6, 3, 4, 1]) expected
5 2 6 3 4 1
but got
5 6 2 3 4 1
values do not match
shared variables {
m2 =
1 2
3 4
flo = 0
fhi = Inf
}
|