This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/19078] [ldbl-128ibm] expl overflow incorrect in non-default rounding modes
- 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 17:38:43 +0000
- Subject: [Bug math/19078] [ldbl-128ibm] expl overflow incorrect in non-default rounding modes
- Auto-submitted: auto-generated
- References: <bug-19078-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19078
--- 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 6c9678ebd42358f931100130a368fafe375a0ba2 (commit)
from b3364d05892be0170e8f67689736bb9b7597bc94 (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=6c9678ebd42358f931100130a368fafe375a0ba2
commit 6c9678ebd42358f931100130a368fafe375a0ba2
Author: Joseph Myers <joseph@codesourcery.com>
Date: Tue Oct 6 17:37:49 2015 +0000
Fix ldbl-128ibm expl overflow in non-default rounding modes (bug 19078).
The ldbl-128ibm expl wrapper checks the argument to determine when to
call __kernel_standard_l, thereby overriding overflowing results from
__ieee754_expl that could otherwise (given appropriately patched
libgcc) be correct for the rounding mode. This patch changes it to
check the result of __ieee754_expl instead, as other versions of this
wrapper do.
Tested for powerpc.
[BZ #19078]
* sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
(u_thres): Likewise.
(__expl): Determine whether to call __kernel_standard_l based on
value of result, not argument.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
NEWS | 2 +-
sysdeps/ieee754/ldbl-128ibm/w_expl.c | 7 ++-----
3 files changed, 9 insertions(+), 6 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.