about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-10-06 15:14:26 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-10-06 15:14:26 +0000
commitd79b56892651fcfc1ae0f44d3d29d0fa03538ec1 (patch)
treea104e632dd2f035727115b98861f3cb0191d8557 /ChangeLog
parent3670da6bfb1ffd17d9bdce2d31d79656be0991b5 (diff)
downloadglibc-d79b56892651fcfc1ae0f44d3d29d0fa03538ec1.tar.gz
glibc-d79b56892651fcfc1ae0f44d3d29d0fa03538ec1.tar.xz
glibc-d79b56892651fcfc1ae0f44d3d29d0fa03538ec1.zip
Fix ldbl-128ibm log1pl (-1) sign of infinity (bug 19076).
The ldbl-128ibm implementation of log1pl produces an infinity with the
wrong sign for log1pl (-1) in FE_DOWNWARD mode.  This patch fixes this
by changing a division (-1.0L / (x - x)) (incorrect in FE_DOWNWARD
mode) to (-1.0L / 0.0L) (correct in all rounding modes).

Tested for powerpc.

	[BZ #19076]
	* sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
	constant 0.0L when computing infinite result.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6cb9b73dc6..17388a7927 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-10-06  Joseph Myers  <joseph@codesourcery.com>
+
+	[BZ #19076]
+	* sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
+	constant 0.0L when computing infinite result.
+
 2015-10-06  Florian Weimer  <fweimer@redhat.com>
 
 	[BZ #10432]