public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/18619] New: [ldbl-128] expm1l wrong sign of underflowing zero results
@ 2015-07-01 21:57 jsm28 at gcc dot gnu.org
2015-07-01 22:29 ` [Bug math/18619] " cvs-commit at gcc dot gnu.org
2015-07-01 22:29 ` jsm28 at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-07-01 21:57 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=18619
Bug ID: 18619
Summary: [ldbl-128] expm1l wrong sign of underflowing zero
results
Product: glibc
Version: 2.21
Status: NEW
Severity: normal
Priority: P2
Component: math
Assignee: unassigned at sourceware dot org
Reporter: jsm28 at gcc dot gnu.org
Target Milestone: ---
Similar to bug 18569 for x86 / x86_64, in the ldbl-128 implementation of
expm1l, when expm1l's result should underflow to 0, it can be a zero of the
wrong sign.
Failure: Test: expm1_upward (-0x4p-16496)
Result:
is: 0.00000000000000000000e+00 0x0.00000000000000000000p+0
should be: -0.00000000000000000000e+00 -0x0.00000000000000000000p+0
difference: 0.00000000000000000000e+00 0x0.00000000000000000000p+0
ulp : 0.0000
max.ulp : 3.0000
--
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/18619] [ldbl-128] expm1l wrong sign of underflowing zero results
2015-07-01 21:57 [Bug math/18619] New: [ldbl-128] expm1l wrong sign of underflowing zero results jsm28 at gcc dot gnu.org
@ 2015-07-01 22:29 ` cvs-commit at gcc dot gnu.org
2015-07-01 22:29 ` jsm28 at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-07-01 22:29 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=18619
--- 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 a04bb3306a9f9f17e5c588c903a438f1182ecd1a (commit)
from ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54 (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=a04bb3306a9f9f17e5c588c903a438f1182ecd1a
commit a04bb3306a9f9f17e5c588c903a438f1182ecd1a
Author: Joseph Myers <joseph@codesourcery.com>
Date: Wed Jul 1 22:27:49 2015 +0000
Fix ldbl-128 expm1l (-min_subnorm) result sign (bug 18619).
In the ldbl-128 implementation of expm1l, when expm1l's result should
underflow to 0 (argument minus the least subnormal, in some rounding
modes), it can be a zero of the wrong sign. This patch fixes this in
the same way previously used for the x86 / x86_64 versions.
Tested for mips64.
[BZ #18619]
* sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
and return argument in case of subnormal argument.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
NEWS | 2 +-
sysdeps/ieee754/ldbl-128/s_expm1l.c | 15 ++++++++++++---
3 files changed, 19 insertions(+), 4 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/18619] [ldbl-128] expm1l wrong sign of underflowing zero results
2015-07-01 21:57 [Bug math/18619] New: [ldbl-128] expm1l wrong sign of underflowing zero results jsm28 at gcc dot gnu.org
2015-07-01 22:29 ` [Bug math/18619] " cvs-commit at gcc dot gnu.org
@ 2015-07-01 22:29 ` jsm28 at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-07-01 22:29 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=18619
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.22.
--
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-07-01 22:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-01 21:57 [Bug math/18619] New: [ldbl-128] expm1l wrong sign of underflowing zero results jsm28 at gcc dot gnu.org
2015-07-01 22:29 ` [Bug math/18619] " cvs-commit at gcc dot gnu.org
2015-07-01 22:29 ` 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).