From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <79dadca8553f5ce7662d55a139f03e3c.axp-list@archive.invalid> X-Archive-Original-Message-ID: <3.0.3.32.19971210114510.00a3d500@lucifer.its.latrobe.edu.au> Date: 10 Dec 1997 12:09:56 +0200 From: Harvey J. Stein Subject: Re: Ieee on linux/alpha Richard Henderson writes: > > hjstein@blaster:~/software/xlispstat-3-50$ gcc test-zero.c -o test-zero > > > > Could it be a RedHat 4.2 problem, or a problem with one of the patches > > that's been circulating? > > Well it isn't going to work at all without -mieee. There've > been several ieee bugs fixed in the kernel too, but we can't > tell if you've got one of those yet. Still doesn't work: hjstein@blaster:~/software/xlispstat-3-50$ cat test-zero.c main() { double num = 1; double denom = 0; ieee_set_fp_control(0); return( (int) num/denom); } hjstein@blaster:~/software/xlispstat-3-50$ gcc -mieee test-zero.c -o test-zero hjstein@blaster:~/software/xlispstat-3-50$ ./test-zero Floating point exception (core dumped) My kernel is stock 2.0.30 + alpha-patches-2.0.30-0.2a.gz + alpha-patches-0.2-glibc2.diff (the latter from ftp://genie.ucd.ie/pub/alpha/kernel/alpha-patchset.tar.gz). Ok, so now what? -- Harvey J. Stein Berger Financial Research hjstein@bfr.co.il -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com