public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/19078] New: [ldbl-128ibm] expl overflow incorrect in non-default rounding modes
@ 2015-10-06 17:25 jsm28 at gcc dot gnu.org
2015-10-06 17:38 ` [Bug math/19078] " cvs-commit at gcc dot gnu.org
2015-10-06 17:39 ` jsm28 at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-10-06 17:25 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=19078
Bug ID: 19078
Summary: [ldbl-128ibm] expl overflow incorrect in non-default
rounding modes
Product: glibc
Version: 2.22
Status: NEW
Severity: normal
Priority: P2
Component: math
Assignee: unassigned at sourceware dot org
Reporter: jsm28 at gcc dot gnu.org
Target Milestone: ---
Host: powerpc*-*-*
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. E.g.:
Failure: Test: exp_downward (0x2.c5c85cp+12)
Result:
is: inf inf
should be: 1.79769313486231580793728971405301e+308
0x1.fffffffffffff7ffffffffffff8p+1023
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug math/19078] [ldbl-128ibm] expl overflow incorrect in non-default rounding modes
2015-10-06 17:25 [Bug math/19078] New: [ldbl-128ibm] expl overflow incorrect in non-default rounding modes jsm28 at gcc dot gnu.org
@ 2015-10-06 17:38 ` cvs-commit at gcc dot gnu.org
2015-10-06 17:39 ` jsm28 at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-10-06 17:38 UTC (permalink / raw)
To: glibc-bugs
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug math/19078] [ldbl-128ibm] expl overflow incorrect in non-default rounding modes
2015-10-06 17:25 [Bug math/19078] New: [ldbl-128ibm] expl overflow incorrect in non-default rounding modes jsm28 at gcc dot gnu.org
2015-10-06 17:38 ` [Bug math/19078] " cvs-commit at gcc dot gnu.org
@ 2015-10-06 17:39 ` jsm28 at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-10-06 17:39 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=19078
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |2.23
--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.23.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-10-06 17:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-06 17:25 [Bug math/19078] New: [ldbl-128ibm] expl overflow incorrect in non-default rounding modes jsm28 at gcc dot gnu.org
2015-10-06 17:38 ` [Bug math/19078] " cvs-commit at gcc dot gnu.org
2015-10-06 17:39 ` jsm28 at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).