octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 3.2.0 release candidate 6


From: Marco Atzeri
Subject: Re: 3.2.0 release candidate 6
Date: Thu, 4 Jun 2009 14:23:51 +0000 (GMT)

--- Mer 3/6/09, Benjamin Lindner <address@hidden> ha scritto:

> Da: Benjamin Lindner <address@hidden>
> Oggetto: Re: 3.2.0 release candidate 6
> A: "Jaroslav Hajek" <address@hidden>
> Cc: "octave maintainers list" <address@hidden>
> Data: Mercoledì 3 giugno 2009, 19:44
> On 03.06.2009 08:31, Jaroslav Hajek
> wrote:
> > hi all,
> > 
> > Octave 3.2.0 RC6 tarballs available at:
> > 
> > the changes since RC5 (listed below) are really minor
> (two test fixes,
> > one example fix and a MSVC-specific issue).
> > If you have already tested RC5, there's no need to
> redo using RC6, IMHO.
> > It seems to me that almost all known bugs are now
> fixed (except those
> > classified as platform specific or those we don't know
> how to fix).
> > Unless anyone reports a problem with RC5 or RC6, RC6
> will become the
> > 3.2.0 release, probably on Friday, or during the
> weekend.
> > 
> 
> Building on mingw32 using tdm-gcc-4.3.0-2 fails with the
> error
> 
> ! I can't find file
> `/home/hajek/devel/octave/release-3-2-x/examples/@polynomial/polynomial.m'.
> 
> while building documentation.
> removing the file conf.texi from the source tree solves the
> problem and the build runs cleanly.
> 
> make check:
> 
> Summary:
> 
>   PASS   5709
>   FAIL      9
> 
> with the 9 fails in src/data.cc
> 
> src\data.cc  PASS  500/509  FAIL 9
> 
> 
> The log output is
> 
> >>>>> processing
> d:\files\admin\octaveforge_svn\trunk\octave-forge\admin\Windows\mingw32\octave\octave-3.2.0\src\data.cc
>   ***** assert(log2(complex(0,Inf)), Inf + log2(i));
> !!!!! test failed
> assert (log2 (complex (0, Inf)),Inf + log2 (i)) expected
> Inf + 2.266i
> but got
> NaN + 2.266i
> NaNs don't match  ***** test
>  [f, e] = log2 ([0,-1; 2,-4; Inf,-Inf]);
>  assert (f, [0,-0.5; 0.5,-0.5; Inf,-Inf]);
>  assert (e, [0,1;2,3;0,0])
> !!!!! 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, [0,1; 2,3; 0,0]);
> !!!!! 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  ***** assert (sort ([NaN, 1i, -1, 2,
> Inf], "descend"), [NaN, Inf, 2, -1, 1i])
> !!!!! test failed
> assert (sort ([NaN, 1i, -1, 2, Inf], "descend"),[NaN, Inf,
> 2, -1, 1i]) expected
>    NaN
> +   0i   Inf
> +   0i     2
> +   0i    -1
> +   0i     0
> +   1i
> but got
>    NaN +   0i 
>    2 +   0i    -1
> +   0i     0
> +   1i   Inf
> +   0i
> Infs don't matchshared variables {
>   m2 =
> 
>      1   2
>      3   4
> 
>   flo = 0
>   fhi = Inf
> }
>   ***** assert (sort ([NaN, 1i, -1, 2, Inf], 2,
> "descend"), [NaN, Inf, 2, -1, 1i])
> !!!!! test failed
> assert (sort ([NaN, 1i, -1, 2, Inf], 2, "descend"),[NaN,
> Inf, 2, -1, 1i]) expected
>    NaN
> +   0i   Inf
> +   0i     2
> +   0i    -1
> +   0i     0
> +   1i
> but got
>    NaN +   0i 
>    2 +   0i    -1
> +   0i     0
> +   1i   Inf
> +   0i
> Infs don't matchshared variables {
>   m2 =
> 
>      1   2
>      3   4
> 
>   flo = 0
>   fhi = Inf
> }
>   ***** 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 (v,[1, 1i, 1i, -1, Inf, NaN]) expected
>  Columns 1 through 5:
> 
>      1 +   0i 
>    0 +   1i 
>    0 +   1i    -1
> +   0i   Inf
> +   0i
> 
>  Column 6:
> 
>    NaN +   0i
> but got
>  Columns 1 through 5:
> 
>      0 +   1i 
>   -1 +   0i   Inf
> +   0i     1
> +   0i     0
> +   1i
> 
>  Column 6:
> 
>    NaN +   0i
> Infs don't matchshared variables {
>   m2 =
> 
>      1   2
>      3   4
> 
>   flo = 0
>   fhi = Inf
> }
>   ***** assert (sort (single([NaN, 1i, -1, 2, Inf]),
> "descend"), single([NaN, Inf, 2, -1, 1i]))
> !!!!! test failed
> assert (sort (single ([NaN, 1i, -1, 2, Inf]),
> "descend"),single ([NaN, Inf, 2, -1, 1i])) expected
>    NaN
> +   0i   Inf
> +   0i     2
> +   0i    -1
> +   0i     0
> +   1i
> but got
>    NaN +   0i 
>    2 +   0i    -1
> +   0i     0
> +   1i   Inf
> +   0i
> Infs don't matchshared variables {
>   m2 =
> 
>      1   2
>      3   4
> 
>   flo = 0
>   fhi = Inf
> }
>   ***** assert (sort (single([NaN, 1i, -1, 2, Inf]),
> 2, "descend"), single([NaN, Inf, 2, -1, 1i]))
> !!!!! test failed
> assert (sort (single ([NaN, 1i, -1, 2, Inf]), 2,
> "descend"),single ([NaN, Inf, 2, -1, 1i])) expected
>    NaN
> +   0i   Inf
> +   0i     2
> +   0i    -1
> +   0i     0
> +   1i
> but got
>    NaN +   0i 
>    2 +   0i    -1
> +   0i     0
> +   1i   Inf
> +   0i
> Infs don't matchshared variables {
>   m2 =
> 
>      1   2
>      3   4
> 
>   flo = 0
>   fhi = Inf
> }
>   ***** test
>  [v, i] = sort (single([NaN, 1i, -1, Inf, 1, 1i]));
>  assert (v, single([1, 1i, 1i, -1, Inf, NaN]))
>  assert (i, [5, 2, 6, 3, 4, 1])
> !!!!! test failed
> assert (v,single ([1, 1i, 1i, -1, Inf, NaN])) expected
>  Columns 1 through 5:
> 
>      1 +   0i 
>    0 +   1i 
>    0 +   1i    -1
> +   0i   Inf
> +   0i
> 
>  Column 6:
> 
>    NaN +   0i
> but got
>  Columns 1 through 5:
> 
>      0 +   1i 
>   -1 +   0i   Inf
> +   0i     1
> +   0i     0
> +   1i
> 
>  Column 6:
> 
>    NaN +   0i
> Infs don't matchshared variables {
>   m2 =
> 
>      1   2
>      3   4
> 
>   flo = 0
>   fhi = Inf
> }
> 
> 
> 
> The 6 sorting fails I guess are similar to the ones seen on
> cygwin (but there are 7 fails reported?)
> The first 3 look like a math-lib bug in mingw32. I guess we
> have to live with them.
> 
> benjamin
> 

the failing tests on cygwin are:

  ***** assert(log2(complex(0,Inf)), Inf + log2(i));
!!!!! test failed
assert (log2 (complex (0, Inf)),Inf + log2 (i)) expected
Inf + 2.266i
but got
NaN + 2.266i
NaNs don't match  ***** assert (sort ([NaN, 1i, -1, 2, Inf], "descend"), [NaN, 
Inf, 2, -1,
 1i])
!!!!! test failed
assert (sort ([NaN, 1i, -1, 2, Inf], "descend"),[NaN, Inf, 2, -1, 1i]) expected
   NaN +   0i   Inf +   0i     2 +   0i    -1 +   0i     0 +   1i
but got
   NaN +   0i     2 +   0i    -1 +   0i     0 +   1i   Inf +   0i
Infs don't matchshared variables {
  m2 =

     1   2
     3   4

  flo = 0
  fhi = Inf
}
  ***** assert (sort ([NaN, 1i, -1, 2, Inf], 2, "descend"), [NaN, Inf, 2, -1, 
1i])
!!!!! test failed
assert (sort ([NaN, 1i, -1, 2, Inf], 2, "descend"),[NaN, Inf, 2, -1, 1i]) 
expected
   NaN +   0i   Inf +   0i     2 +   0i    -1 +   0i     0 +   1i
but got
   NaN +   0i     2 +   0i    -1 +   0i     0 +   1i   Inf +   0i
Infs don't matchshared variables {
  m2 =

     1   2
     3   4

  flo = 0
  fhi = Inf
}
  ***** 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 (v,[1, 1i, 1i, -1, Inf, NaN]) expected
     1 +   0i     0 +   1i     0 +   1i    -1 +   0i   Inf +   0i   NaN +   0i
but got
     0 +   1i    -1 +   0i   Inf +   0i     1 +   0i     0 +   1i   NaN +   0i
Infs don't matchshared variables {
  m2 =

     1   2
     3   4

  flo = 0
  fhi = Inf
}
  ***** assert (sort (single([NaN, 1i, -1, 2, Inf]), "descend"), single([NaN, 
Inf, 2, -1, 
1i]))
!!!!! test failed
assert (sort (single ([NaN, 1i, -1, 2, Inf]), "descend"),single ([NaN, Inf, 2, 
-1, 1i])) e
xpected
   NaN +   0i   Inf +   0i     2 +   0i    -1 +   0i     0 +   1i
but got
   NaN +   0i     2 +   0i    -1 +   0i     0 +   1i   Inf +   0i
Infs don't matchshared variables {
  m2 =

     1   2
     3   4

  flo = 0
  fhi = Inf
}
  ***** assert (sort (single([NaN, 1i, -1, 2, Inf]), 2, "descend"), 
single([NaN, Inf, 2, -
1, 1i]))
!!!!! test failed
assert (sort (single ([NaN, 1i, -1, 2, Inf]), 2, "descend"),single ([NaN, Inf, 
2, -1, 1i])
) expected
   NaN +   0i   Inf +   0i     2 +   0i    -1 +   0i     0 +   1i
but got
   NaN +   0i     2 +   0i    -1 +   0i     0 +   1i   Inf +   0i
Infs don't matchshared variables {
  m2 =

     1   2
     3   4

  flo = 0
  fhi = Inf
}
  ***** test
 [v, i] = sort (single([NaN, 1i, -1, Inf, 1, 1i]));
 assert (v, single([1, 1i, 1i, -1, Inf, NaN]))
 assert (i, [5, 2, 6, 3, 4, 1])
!!!!! test failed
assert (v,single ([1, 1i, 1i, -1, Inf, NaN])) expected
     1 +   0i     0 +   1i     0 +   1i    -1 +   0i   Inf +   0i   NaN +   0i
but got
     0 +   1i    -1 +   0i   Inf +   0i     1 +   0i     0 +   1i   NaN +   0i
Infs don't matchshared variables {
  m2 =

     1   2
     3   4

  flo = 0
  fhi = Inf
}


All are related to the lack of a complete set of C99 
complex functions in newlib (cygwin substitute of glibc).

Regards
Marco





      



reply via email to

[Prev in Thread] Current Thread [Next in Thread]