all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 12381@debbugs.gnu.org
Subject: bug#12381: Assume C89 or later for math functions.
Date: Sat, 08 Sep 2012 12:01:25 -0700	[thread overview]
Message-ID: <504B9605.1080509@cs.ucla.edu> (raw)
In-Reply-To: <83d31wmrqo.fsf@gnu.org>

On 09/08/2012 08:58 AM, Eli Zaretskii wrote:>

> couldn't this be a useful debugging option

Yes, it might be useful to have a feature to enable IEEE traps,
on platforms that support IEEE traps.  But that would be a new
Emacs feature, and a different and independent patch.

> I can cause FP exception to trigger SIGFPE at run time with a
> single function call.  I'm sure glibc has a similar facility as well.

Sure, glibc and many other systems have such facilities.
But they're optional, and Emacs currently does not use them.
If Emacs enabled them, that would be the new feature mentioned above.

> what about Cygwin?

Cygwin is like glibc.  matherr exists to support ancient
applications, but it's present only for SVID compatibility, and
it's normally disabled so Emacs doesn't use it.  I just now
checked the source.






      parent reply	other threads:[~2012-09-08 19:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-07 20:22 bug#12381: Assume C89 or later for math functions Paul Eggert
2012-09-08  7:07 ` Eli Zaretskii
2012-09-08 15:31   ` Paul Eggert
2012-09-08 15:58     ` Eli Zaretskii
2012-09-08 17:20       ` Ken Brown
2012-09-08 19:05         ` Paul Eggert
2012-09-08 19:46           ` Ken Brown
2012-09-09 17:10             ` Paul Eggert
2012-09-11  2:30           ` Paul Eggert
2012-09-08 19:01       ` Paul Eggert [this message]

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=504B9605.1080509@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=12381@debbugs.gnu.org \
    --cc=eliz@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.