This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/16351] asin missing underflows
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 26 Feb 2015 17:22:47 +0000
- Subject: [Bug math/16351] asin missing underflows
- Auto-submitted: auto-generated
- References: <bug-16351-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16351
--- Comment #3 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 ec0ce0d3be4ae21add09139c705852ed8bb114c7 (commit)
from 380bd0fd2418f8988217de950f8b8ff18af0cb2b (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=ec0ce0d3be4ae21add09139c705852ed8bb114c7
commit ec0ce0d3be4ae21add09139c705852ed8bb114c7
Author: Joseph Myers <joseph@codesourcery.com>
Date: Thu Feb 26 17:18:54 2015 +0000
Fix asin missing underflows (bug 16351).
Similar to various other bugs in this area, some asin 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.
Tested for x86_64, x86, powerpc and mips64.
[BZ #16351]
* sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
(MO): New macro.
(__ieee754_asin): Force underflow exception for results with small
absolute value.
* sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
(MO): New macro.
(__ieee754_asinf): Force underflow exception for results with
small absolute value.
* sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
(__ieee754_asin): Force underflow exception for results with small
absolute value.
* sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
(__ieee754_asinf): Force underflow exception for results with
small absolute value.
* sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
(__ieee754_asinl): Force underflow exception for results with
small absolute value.
* sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
(__ieee754_asinl): Force underflow exception for results with
small absolute value.
* sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
(__ieee754_asinl): Force underflow exception for results with
small absolute value.
* sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
Include <math.h>.
* math/auto-libm-test-in: Do not mark underflow exceptions as
possibly missing for bug 16351.
* math/auto-libm-test-out: Regenerated.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 30 +++++
NEWS | 8 +-
math/auto-libm-test-in | 9 +-
math/auto-libm-test-out | 200 ++++++++++++++++----------------
sysdeps/i386/fpu/e_asin.S | 34 ++++++-
sysdeps/i386/fpu/e_asinf.S | 34 ++++++-
sysdeps/ieee754/dbl-64/e_asin.c | 12 ++-
sysdeps/ieee754/flt-32/e_asinf.c | 6 +
sysdeps/ieee754/ldbl-128/e_asinl.c | 6 +
sysdeps/ieee754/ldbl-128ibm/e_asinl.c | 6 +
sysdeps/ieee754/ldbl-96/e_asinl.c | 6 +
sysdeps/x86_64/fpu/multiarch/e_asin.c | 1 +
12 files changed, 240 insertions(+), 112 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.