This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/18619] [ldbl-128] expm1l wrong sign of underflowing zero results
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 01 Jul 2015 22:29:01 +0000
- Subject: [Bug math/18619] [ldbl-128] expm1l wrong sign of underflowing zero results
- Auto-submitted: auto-generated
- References: <bug-18619-131 at http dot sourceware dot org/bugzilla/>
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.