This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/15268] Default SET_RESTORE_ROUND implementation hold exceptions
- From: "azanella at linux dot vnet.ibm.com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 11 Mar 2013 20:04:10 +0000
- Subject: [Bug math/15268] Default SET_RESTORE_ROUND implementation hold exceptions
- Auto-submitted: auto-generated
- References: <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.