public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "azanella at linux dot vnet.ibm.com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug math/15268] Default SET_RESTORE_ROUND implementation hold exceptions
Date: Mon, 11 Mar 2013 20:04:00 -0000	[thread overview]
Message-ID: <bug-15268-131-5wFaDbMCNG@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-15268-131@http.sourceware.org/bugzilla/>

http://sourceware.org/bugzilla/show_bug.cgi?id=15268

--- Comment #1 from Adhemerval Zanella Netto <azanella at linux dot vnet.ibm.com> 2013-03-11 20:04:10 UTC ---
Created attachment 6928
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6928
testcase for the bug

To build:

$ gcc exp_testcase.c -lm

Run to check the output:

$ ./a.out 
exp (-7.444400619213812433372368e+02) = 4.940656458412465441765688e-324

Check exception generation:

$ SETEXCEPT=1 ./a.out 
Floating point exception (core dumped)

On PPC the FP exception does not occur.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


  reply	other threads:[~2013-03-11 20:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-11 13:35 [Bug math/15268] New: " azanella at linux dot vnet.ibm.com
2013-03-11 20:04 ` azanella at linux dot vnet.ibm.com [this message]
2013-12-03  0:36 ` [Bug math/15268] exp (-7.4444006192138124e+02) missing underflow jsm28 at gcc dot gnu.org
2013-12-03 21:50 ` cvs-commit at gcc dot gnu.org
2013-12-03 21:51 ` jsm28 at gcc dot gnu.org
2014-06-13 10:10 ` fweimer at redhat dot com

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=bug-15268-131-5wFaDbMCNG@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sourceware.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.
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).