This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/18049] [i386] atanhl spurious underflows
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 15 May 2015 22:09:05 +0000
- Subject: [Bug math/18049] [i386] atanhl spurious underflows
- Auto-submitted: auto-generated
- References: <bug-18049-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18049
--- 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 8020a808870dc6199e584562b3b64f52054359e8 (commit)
from 5a608ccc2d676aa124f6b55a7b20d071e408ca31 (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=8020a808870dc6199e584562b3b64f52054359e8
commit 8020a808870dc6199e584562b3b64f52054359e8
Author: Joseph Myers <joseph@codesourcery.com>
Date: Fri May 15 22:07:57 2015 +0000
Fix atanhl missing underflows (bug 16352).
Similar to various other bugs in this area, some atanh implementations
do not raise the underflow exception for subnormal arguments, when the
result is tiny and inexact. This patch forces the exception in a
similar way to previous fixes. (No change in this regard is needed
for the i386 implementation; special handling to force underflows in
these cases will only be needed there when the spurious underflows,
bug 18049, get fixed.)
Tested for x86_64, x86, powerpc and mips64.
[BZ #16352]
* sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
(__ieee754_atanh): Force underflow exception for results with
small absolute value.
* sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
(__ieee754_atanhf): Force underflow exception for results with
small absolute value.
* sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
(__ieee754_atanh): Force underflow exception for results with
small absolute value.
* sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
(__ieee754_atanhf): Force underflow exception for results with
small absolute value.
* sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
(__ieee754_atanhl): Force underflow exception for results with
small absolute value.
* sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
(__ieee754_atanhl): Force underflow exception for results with
small absolute value.
* sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
(__ieee754_atanhl): Force underflow exception for results with
small absolute value.
* math/auto-libm-test-in: Do not allow missing underflow
exceptions from atanh.
* math/auto-libm-test-out: Regenerated.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 26 ++++
NEWS | 17 ++-
math/auto-libm-test-in | 13 +-
math/auto-libm-test-out | 236 ++++++++++++++++----------------
sysdeps/i386/fpu/e_atanh.S | 20 +++-
sysdeps/i386/fpu/e_atanhf.S | 20 +++-
sysdeps/ieee754/dbl-64/e_atanh.c | 6 +
sysdeps/ieee754/flt-32/e_atanhf.c | 6 +
sysdeps/ieee754/ldbl-128/e_atanhl.c | 11 ++-
sysdeps/ieee754/ldbl-128ibm/e_atanhl.c | 11 ++-
sysdeps/ieee754/ldbl-96/e_atanhl.c | 6 +
11 files changed, 235 insertions(+), 137 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.