This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/15268] Default SET_RESTORE_ROUND implementation hold exceptions


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]