Last IRIX "make check" problem.
Brian Gough
bjg@network-theory.co.uk
Wed Dec 19 13:20:00 GMT 2001
Lowell Johnson writes:
> FAIL: gsl_isinf(inf) (0 observed vs 1 expected)
> ...
>
> It appears that the following lines in sys/infnan.c
>
> int status = (x != x);
> double y = x - x;
>
> are not serving their intended purposes?
Thanks for the bug report. Are you using the irix compiler?
If so, is this the problem? (from the cc manpage),
IEEE_comparisons[=(OFF|ON)] Force all comparisons to yield
results conforming to the IEEE 754 standard for NaN and Inf operands.
If this option is OFF (the default case), certain optimizations will
produce non- IEEE results for comparisons involving NaN and Inf
values, e.g. 'x==x' will be treated as TRUE without executing a test.
More information about the Gsl-discuss
mailing list