This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/15419] New: PowerPC: spurious overflow for hypotf
- From: "azanella at linux dot vnet.ibm.com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 30 Apr 2013 14:25:28 +0000
- Subject: [Bug math/15419] New: PowerPC: spurious overflow for hypotf
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15419
Bug #: 15419
Summary: PowerPC: spurious overflow for hypotf
Product: glibc
Version: 2.18
Status: NEW
Severity: normal
Priority: P2
Component: math
AssignedTo: unassigned@sourceware.org
ReportedBy: azanella@linux.vnet.ibm.com
Classification: Unclassified
The hypotf implementation for PowerPC (sysdeps/powerpc/fpu/e_hypotf.c)
generates
spurious overflow exception for subnormal arguments. This is due it checks
if arg1/arg2 > 2^30 (arg1 > arg2) by using a FP division.
Since the double version of ieee sqrt function will be used to compute final
value, there is not need to argument reduction in such case. A possible fix
would be just to clean up the test and call ieee sqrt directly.
I will send a patch to libc-alpha with a fix.
--
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.