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] |
| Other format: | [Raw text] | |
I am trying to run the GSL test-suite with GSL_IEEE_MODE set.
The system is GNU/Linux 2.6.4-52-smp, gcc-3.3.3, gsl-1.5.90
(cvs-HEAD). Compile-flags used are
,----[CFLAGS]
| -g -mcpu=i686 -pipe -O2 -Wall -mfpmath=sse -mieee-fp
`----
When I run the test-suite with GSL_IEEE_MODE being undefined all tests
pass. However, when I try to set GSL_IEEE_MODE it has to include
`mask-all', otherwise some tests fail.
Specifically sys/test.c fails at line 332 when using the following
mode:
,----[GSL_IEEE_MODE]
| double-precision,round-to-nearest,mask-underflow,mask-denormalized
`----
,----[gdb output]
| Program received signal SIGFPE, Arithmetic exception.
| 0x4003c306 in __ieee754_exp () from /lib/tls/libm.so.6
| (gdb) bt
| #0 0x4003c306 in __ieee754_exp () from /lib/tls/libm.so.6
| #1 0x4003fda0 in exp () from /lib/tls/libm.so.6
| #2 0x08049bab in main () at ../../sys/test.c:332
`----
,----[test.c:332]
| inf = exp (1.0e10);
`----
Is this expected? Any hints are appreciated.
Greetings,
Jochen
--
Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de
Liberté, Égalité, Fraternité GnuPG key: CC1B0B4D
(Part 3 you find in my messages before fall 2003.)
Attachment:
pgp00000.pgp
Description: PGP signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |