diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-10-06 15:32:06 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-10-06 15:32:06 +0000 |
commit | 31d4459e42d239fb7d9d3f9532fcf580c6812fb3 (patch) | |
tree | 3cfe7e4329332a7a3f7d6e93fb0ad1bb675df82d /ChangeLog | |
parent | d79b56892651fcfc1ae0f44d3d29d0fa03538ec1 (diff) | |
download | glibc-31d4459e42d239fb7d9d3f9532fcf580c6812fb3.tar.gz glibc-31d4459e42d239fb7d9d3f9532fcf580c6812fb3.tar.xz glibc-31d4459e42d239fb7d9d3f9532fcf580c6812fb3.zip |
Fix ldbl-128ibm logl (1) sign of zero result (bug 19077).
The ldbl-128ibm implementation of logl produces a zero with the wrong sign for logl (1) in FE_DOWNWARD mode. This patch makes it explicitly return 0.0L in that case, as in e.g. the ldbl-128 implementation. Tested for powerpc. [BZ #19077] * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return 0.0L for argument 1.0L.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 17388a7927..ac4c1d4aba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2015-10-06 Joseph Myers <joseph@codesourcery.com> + [BZ #19077] + * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return + 0.0L for argument 1.0L. + [BZ #19076] * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by constant 0.0L when computing infinite result. |