From: "Eli Zaretskii" <eliz@elta.co.il>
Cc: emacs-devel@gnu.org
Subject: Re: (elisp)Numbers
Date: Sat, 25 Oct 2003 00:04:44 +0200 [thread overview]
Message-ID: <8361-Sat25Oct2003000443+0200-eliz@elta.co.il> (raw)
In-Reply-To: <9787-Fri24Oct2003153817+0200-eliz@elta.co.il>
> Date: Fri, 24 Oct 2003 15:38:18 +0200
> From: "Eli Zaretskii" <eliz@elta.co.il>
>
> > anyway, it does not signal the exception.
> > can someone try to debug this?
>
> I'll try if no one else does.
As far as I could see, the problem happens because the definition of
the IN_FLOAT macro on GNU/Linux relies on sqrt to set errno, but the
expansion of the sqrt macro fails to do so. I stepped with GDB thru
the code generated for the line in Fsqrt that says
IN_FLOAT (d = sqrt (d), "sqrt", arg);
and the value of errno stays zero after the code computes the square
root.
So this sounds like a glibc bug, perhaps combined with a GCC bug: the
expansion of the sqrt macro doesn't set errno for abnormal arguments.
(I'm guessing that similar things happen for many other functions
from floatfns.c.)
next prev parent reply other threads:[~2003-10-24 22:04 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-21 2:29 (elisp)Numbers Luc Teirlinck
2003-10-21 5:38 ` (elisp)Numbers Eli Zaretskii
2003-10-22 9:26 ` (elisp)Numbers Richard Stallman
2003-10-22 15:51 ` (elisp)Numbers Eli Zaretskii
2003-10-22 9:25 ` (elisp)Numbers Richard Stallman
2003-10-22 11:36 ` (elisp)Numbers Andreas Schwab
2003-10-22 15:42 ` (elisp)Numbers Eli Zaretskii
2003-10-23 18:38 ` (elisp)Numbers Richard Stallman
2003-10-24 8:43 ` (elisp)Numbers Andreas Schwab
2003-10-24 13:50 ` (elisp)Numbers Eli Zaretskii
2003-10-24 22:15 ` (elisp)Numbers Eli Zaretskii
2003-10-25 22:26 ` (elisp)Numbers Richard Stallman
2003-10-26 6:04 ` (elisp)Numbers Eli Zaretskii
2003-10-27 7:02 ` (elisp)Numbers Richard Stallman
2003-10-27 19:56 ` (elisp)Numbers Eli Zaretskii
2003-10-27 21:46 ` (elisp)Numbers Andreas Schwab
2003-10-28 5:48 ` (elisp)Numbers Eli Zaretskii
2003-10-28 6:40 ` (elisp)Numbers Lars Brinkhoff
2003-10-28 20:03 ` (elisp)Numbers Eli Zaretskii
2003-10-28 20:40 ` (elisp)Numbers Richard Stallman
2003-10-24 13:38 ` (elisp)Numbers Eli Zaretskii
2003-10-24 22:04 ` Eli Zaretskii [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-10-04 15:36 (elisp)Numbers Luc Teirlinck
2003-10-07 19:57 ` (elisp)Numbers Eli Zaretskii
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8361-Sat25Oct2003000443+0200-eliz@elta.co.il \
--to=eliz@elta.co.il \
--cc=emacs-devel@gnu.org \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).