This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/16706] New: [powerpc] optimized nearbyintl implementation for powerpc64 return wrong results
- From: "azanella at linux dot vnet.ibm.com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 14 Mar 2014 13:09:41 +0000
- Subject: [Bug libc/16706] New: [powerpc] optimized nearbyintl implementation for powerpc64 return wrong results
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16706
Bug ID: 16706
Summary: [powerpc] optimized nearbyintl implementation for
powerpc64 return wrong results
Product: glibc
Version: 2.19
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: azanella at linux dot vnet.ibm.com
CC: drepper.fsp at gmail dot com
Similar to BZ#16414 and BZ#16701, the optimized nearbyintl implementation shows
some wrong results depending on the input. Also Checking on implementation
comments and history, I am very confident the assembly implementation was based
on a version before commit 5c68d401698a58cf7da150d9cce769fa6679ba5f that fixes
BZ#2423 (Errors in long double (ldbl-128ibm) rounding functions in glibc-2.4),
since the implementation indeed does not handle some inputs correctly.
Some input that result in wrong values are:
34503599627370498.515625
1192568192774434123539907640624.484375
-34503599627370498.515625
-1192568192774434123539907640624.484375
A straightforward fix is just remove the wrong optimized implementation.
--
You are receiving this mail because:
You are on the CC list for the bug.