about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-03-14 12:27:52 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-03-14 12:54:47 -0500
commit98fb27a373f37554232e0060eef1a5bb00a07eb0 (patch)
treee01d7b58d4340fe3f8bfd1b3acb3abe9d926ab5a /ChangeLog
parent374f7f61214967bb4e2257695aeeeecc2a77f369 (diff)
downloadglibc-98fb27a373f37554232e0060eef1a5bb00a07eb0.tar.gz
glibc-98fb27a373f37554232e0060eef1a5bb00a07eb0.tar.xz
glibc-98fb27a373f37554232e0060eef1a5bb00a07eb0.zip
PowerPC: remove wrong nearbyintl implementation for PPC64
The nearbyintl assembly implementation
(sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S)
returns wrong results for some inputs where first double is a exact
integer and the precision is determined by second long double.

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).

By just removing the implementation and make the build select
sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c instead fixes the failing
math.

Fixes BZ#16706.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5db859e476..f43bbf400e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
 
+	[BZ #16706]
+	* sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
+	implementation.
+	* math/libm-test.inc (nearbyint_test_data): Add more tests.
+
+2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
+
 	[BZ #16701]
 	* sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
 	implementation.