This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Last IRIX "make check" problem.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]