This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/13705] Bogus FPE on underflow for exp(double)
- From: "rjrw at waitrose dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Mon, 20 Feb 2012 22:32:43 +0000
- Subject: [Bug math/13705] Bogus FPE on underflow for exp(double)
- Auto-submitted: auto-generated
- References: <bug-13705-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13705
rjrw at waitrose dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rjrw at waitrose dot com
--- Comment #3 from rjrw at waitrose dot com 2012-02-20 22:32:43 UTC ---
At lines 35 and 40 of w_exp.c, libm uses the floating point variant
"kernel_standard_f" rather than the double variant "kernel_standard".
The implementation of kernel_standard_f in k_standard.c just maps double to
float (for arguments and return value). If kernel_standard_f is changed to
kernel_standard in both places, the test program runs through without problems.
--
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.