This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/19077] [ldbl-128ibm] logl (1) incorrect sign of zero result
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 06 Oct 2015 15:32:59 +0000
- Subject: [Bug math/19077] [ldbl-128ibm] logl (1) incorrect sign of zero result
- Auto-submitted: auto-generated
- References: <bug-19077-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19077
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 31d4459e42d239fb7d9d3f9532fcf580c6812fb3 (commit)
from d79b56892651fcfc1ae0f44d3d29d0fa03538ec1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=31d4459e42d239fb7d9d3f9532fcf580c6812fb3
commit 31d4459e42d239fb7d9d3f9532fcf580c6812fb3
Author: Joseph Myers <joseph@codesourcery.com>
Date: Tue Oct 6 15:32:06 2015 +0000
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.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
NEWS | 2 +-
sysdeps/ieee754/ldbl-128ibm/e_logl.c | 2 ++
3 files changed, 7 insertions(+), 1 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.