public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
* Test failures on HP-UX 10.20
  2001-12-19 13:20 Test failures on HP-UX 10.20 gsl-discuss
@ 2001-11-16 16:42 ` gsl-discuss
  2001-12-19 13:20 ` Brian Gough
  1 sibling, 0 replies; 4+ messages in thread
From: gsl-discuss @ 2001-11-16 16:42 UTC (permalink / raw)
  To: gsl-discuss

Against 1.0 compiled with:
  CC=cc (HP-UX commercial C compiler)
  CFLAGS="+O2 -Ae -z +ESlit +Onofltacc +DAportable +Oentrysched \
  +Odataprefetch"

...
PASS: gsl_isinf(0) (0 observed vs 0 expected)
PASS: gsl_isinf(1) (0 observed vs 0 expected)
FAIL: gsl_isinf(inf) (0 observed vs 1 expected)
FAIL: gsl_isinf(-inf) (0 observed vs -1 expected)
PASS: gsl_isinf(nan) (0 observed vs 0 expected)
PASS: gsl_isnan(0) (0 observed vs 0 expected)
PASS: gsl_isnan(1) (0 observed vs 0 expected)
PASS: gsl_isnan(inf) (0 observed vs 0 expected)
FAIL: gsl_isnan(nan) (0 observed vs 1 expected)
PASS: gsl_finite(0) (1 observed vs 1 expected)
PASS: gsl_finite(1) (1 observed vs 1 expected)
FAIL: gsl_finite(inf) (1 observed vs 0 expected)
FAIL: gsl_finite(nan) (1 observed vs 0 expected)
PASS: gsl_fdiv(2,3) (0.666667 observed vs 0.666667 expected)
FAIL: test

-- 
albert chin (china@thewrittenword.com)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Test failures on HP-UX 10.20
  2001-12-19 13:20 ` Brian Gough
@ 2001-11-16 23:43   ` Brian Gough
  0 siblings, 0 replies; 4+ messages in thread
From: Brian Gough @ 2001-11-16 23:43 UTC (permalink / raw)
  To: gsl-discuss

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Test failures on HP-UX 10.20
@ 2001-12-19 13:20 gsl-discuss
  2001-11-16 16:42 ` gsl-discuss
  2001-12-19 13:20 ` Brian Gough
  0 siblings, 2 replies; 4+ messages in thread
From: gsl-discuss @ 2001-12-19 13:20 UTC (permalink / raw)
  To: gsl-discuss

Against 1.0 compiled with:
  CC=cc (HP-UX commercial C compiler)
  CFLAGS="+O2 -Ae -z +ESlit +Onofltacc +DAportable +Oentrysched \
  +Odataprefetch"

...
PASS: gsl_isinf(0) (0 observed vs 0 expected)
PASS: gsl_isinf(1) (0 observed vs 0 expected)
FAIL: gsl_isinf(inf) (0 observed vs 1 expected)
FAIL: gsl_isinf(-inf) (0 observed vs -1 expected)
PASS: gsl_isinf(nan) (0 observed vs 0 expected)
PASS: gsl_isnan(0) (0 observed vs 0 expected)
PASS: gsl_isnan(1) (0 observed vs 0 expected)
PASS: gsl_isnan(inf) (0 observed vs 0 expected)
FAIL: gsl_isnan(nan) (0 observed vs 1 expected)
PASS: gsl_finite(0) (1 observed vs 1 expected)
PASS: gsl_finite(1) (1 observed vs 1 expected)
FAIL: gsl_finite(inf) (1 observed vs 0 expected)
FAIL: gsl_finite(nan) (1 observed vs 0 expected)
PASS: gsl_fdiv(2,3) (0.666667 observed vs 0.666667 expected)
FAIL: test

-- 
albert chin (china@thewrittenword.com)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Test failures on HP-UX 10.20
  2001-12-19 13:20 Test failures on HP-UX 10.20 gsl-discuss
  2001-11-16 16:42 ` gsl-discuss
@ 2001-12-19 13:20 ` Brian Gough
  2001-11-16 23:43   ` Brian Gough
  1 sibling, 1 reply; 4+ messages in thread
From: Brian Gough @ 2001-12-19 13:20 UTC (permalink / raw)
  To: gsl-discuss

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-12-19 13:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-19 13:20 Test failures on HP-UX 10.20 gsl-discuss
2001-11-16 16:42 ` gsl-discuss
2001-12-19 13:20 ` Brian Gough
2001-11-16 23:43   ` Brian Gough

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).