all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Ken Brown <kbrown@cornell.edu>
Cc: 12381@debbugs.gnu.org
Subject: bug#12381: Assume C89 or later for math functions.
Date: Sat, 08 Sep 2012 12:05:32 -0700	[thread overview]
Message-ID: <504B96FC.806@cs.ucla.edu> (raw)
In-Reply-To: <504B7E40.9090408@cornell.edu>

On 09/08/2012 10:20 AM, Ken Brown wrote:
> Is there a C program I could run that would answer your question?

Sure, run this:

#include <math.h>
int main (void)
{
  return pow (0, 0) != 1;
}

If the matherr problem is present, the program will
print something on stderr, coming from the library.
If not, the program will exit silently.  On Ubuntu
it exits with status 0, which is what POSIX requires,
though pow's exact return value doesn't really matter
here -- the point is that pow should not write to stderr.





  reply	other threads:[~2012-09-08 19:05 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 [this message]
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

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=504B96FC.806@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=12381@debbugs.gnu.org \
    --cc=kbrown@cornell.edu \
    /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.