This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/15497] New: PowerPC: hypotf invalid return for -INF
- From: "azanella at linux dot vnet.ibm.com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 20 May 2013 14:33:14 +0000
- Subject: [Bug math/15497] New: PowerPC: hypotf invalid return for -INF
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15497
Bug #: 15497
Summary: PowerPC: hypotf invalid return for -INF
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 following libm testcases fails on POWER6 or order machine:
Failure: Test: hypot (-inf, qNaN) == inf
Result:
is: qNaN
should be: inf inf
Failure: Test: hypot (qNaN, -inf) == inf
Result:
is: qNaN
should be: inf inf
This is due sysdeps/powerpc/fpu/e_hypotf.c does not handle correctly -INF input
and handle as NAN.
--
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.