[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (elisp)Numbers
From: |
Richard Stallman |
Subject: |
Re: (elisp)Numbers |
Date: |
Wed, 22 Oct 2003 05:25:37 -0400 |
2. In (elisp)Math Functions, it is said that asin, acos, log, log10
and sqrt all return NaN values for out-of-range arguments, but, on
my machine, only `sqrt' does. The others throw an error, see the
IELM run below.
I get the same results. I figured out why. I'm using an x86. Facos
calls acos, but in Fsqrt the call to sqrt gets open-coded using the
fsqrt instruction. fsqrt doesn't set errno as it is expected to.
Perhaps that is a GCC bug.
I have GCC 2.95.4, which is rather old. Can anyone else try this
with the latest GCC, so we can see if the bug still exists?
- (elisp)Numbers, Luc Teirlinck, 2003/10/04
- (elisp)Numbers, Luc Teirlinck, 2003/10/20
- Re: (elisp)Numbers,
Richard Stallman <=
- Re: (elisp)Numbers, Andreas Schwab, 2003/10/22
- Re: (elisp)Numbers, Eli Zaretskii, 2003/10/22
- Re: (elisp)Numbers, Richard Stallman, 2003/10/23
- Re: (elisp)Numbers, Andreas Schwab, 2003/10/24
- Re: (elisp)Numbers, Eli Zaretskii, 2003/10/24
- Re: (elisp)Numbers, Eli Zaretskii, 2003/10/24
- Re: (elisp)Numbers, Richard Stallman, 2003/10/25
- Re: (elisp)Numbers, Eli Zaretskii, 2003/10/26
- Re: (elisp)Numbers, Richard Stallman, 2003/10/27
- Re: (elisp)Numbers, Eli Zaretskii, 2003/10/27