Test failures on HP-UX 10.20

Brian Gough bjg@network-theory.co.uk
Wed Dec 19 13:20:00 GMT 2001


gsl-discuss@lists.thewrittenword.com writes:
 > Against 1.0 compiled with:
 >   CC=cc (HP-UX commercial C compiler)
 >   CFLAGS="+O2 -Ae -z +ESlit +Onofltacc +DAportable +Oentrysched \
 >   +Odataprefetch"
 > ...
 > FAIL: gsl_isinf(inf) (0 observed vs 1 expected)
 > FAIL: gsl_isinf(-inf) (0 observed vs -1 expected)
 > FAIL: gsl_isnan(nan) (0 observed vs 1 expected)
 > FAIL: gsl_finite(inf) (1 observed vs 0 expected)
 > FAIL: gsl_finite(nan) (1 observed vs 0 expected)

Thanks for the bug report.  The compiler is probably optimising away
tests for nan like (x != x) in sys/infnan.c. I don't have access to
that platform to investigate it or try out any workarounds.  On IRIX
the option -OPT:IEEE_NaN_inf=ON was needed to ensure correct infinity
arithmetic for the same reasons.

Brian



More information about the Gsl-discuss mailing list