[Pkg-octave-devel] Bug#532656: octave3.2_3.2.0-1(mips/unstable): FTBFS on mips. Segfault in regression test.
rafael at debian.org
Tue Jun 16 04:50:32 UTC 2009
* Rafael Laboissiere <rafael at debian.org> [2009-06-15 21:55]:
> * John W. Eaton <jwe at jweaton.org> [2009-06-15 13:25]:
> > On 15-Jun-2009, Rafael Laboissiere wrote:
> > | Anyway, it is funny to see how long this bug lived in the code and was
> > | just awakened by the crappy mips/mipsel architecture...
> > Also strange that it didn't show up until now, even on mips. Maybe a
> > compiler change?
> Anyway, these differences on floating point representation/manipulation
> among the architectures make me kinda nervous.
I am wondering whether we could add a regression test like the following
to data.cc (or wherever):
%! format short
%! for r = [0, Inf -Inf, NaN]
%! for i = [0, Inf -Inf, NaN]
%! complex (r, i)
Yes, the 'complex (r, i)' would lack the semicolon, just to exercise the
code in pr-output.cc.
More information about the Pkg-octave-devel