From: David Huggins-Daines <dhd@linuxcare.com>
To: parisc-linux@thepuffingroup.com
Subject: Re: [parisc-linux] floating point exception error
Date: 29 Sep 2000 14:28:40 -0400 [thread overview]
Message-ID: <87hf6znjc7.fsf@ottawa.linuxcare.com> (raw)
In-Reply-To: David Huggins-Daines's message of "28 Sep 2000 11:41:51 -0400"
David Huggins-Daines <dhd@linuxcare.com> writes:
> So it looks like we are either not managing to set up %fr0 properly on
> process startup or we are mangling it in the kernel or libc somewhere
> along the way. I'll investigate further today.
GAR! So the problem is obvious. Not only is GCC emitting the wrong
comparison condition (<> vs. !=), but log(-8.0) is returning a
signalling NaN on GNU/Linux, and a quiet one on HP/UX:
avalanche:~# ./fptest3
foo.l is 7fffffffffffffff
!!die_if_kernel: fptest3(154): Floating point exception 14
(etc...)
bash-2.03$ ./fptest3
foo.l = 7ff4000000000000
Time for the self-LART again I guess :)
--
dhd@linuxcare.com, http://www.linuxcare.com/
Linuxcare. Support for the revolution.
next prev parent reply other threads:[~2000-09-29 18:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-27 19:55 [parisc-linux] floating point exception error Matt Taggart
2000-09-27 20:41 ` David Huggins-Daines
2000-09-28 15:41 ` David Huggins-Daines
2000-09-29 18:28 ` David Huggins-Daines [this message]
2000-09-29 18:56 ` John David Anglin
2000-09-29 19:07 ` David Huggins-Daines
2000-09-29 19:41 ` David Huggins-Daines
2000-10-02 0:33 ` John David Anglin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87hf6znjc7.fsf@ottawa.linuxcare.com \
--to=dhd@linuxcare.com \
--cc=parisc-linux@thepuffingroup.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox