This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: Last IRIX "make check" problem.
- To: Lowell Johnson <ldjohn at usgs dot gov>
- Subject: Re: Last IRIX "make check" problem.
- From: Brian Gough <bjg at network-theory dot co dot uk>
- Date: Tue, 4 Sep 2001 22:37:12 +0100 (BST)
- Cc: gsl-discuss at sources dot redhat dot com
- References: <01090411151400.08417@edclxw5>
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.