This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/18595] ctan, ctanh missing underflows
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 15 Sep 2015 17:47:04 +0000
- Subject: [Bug math/18595] ctan, ctanh missing underflows
- Auto-submitted: auto-generated
- References: <bug-18595-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18595
--- 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 0b87419b690d1711697ed95808527400910ff997 (commit)
from 694aabefd2eb3a0e2c5624d7feb1d7310b2bdd8b (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=0b87419b690d1711697ed95808527400910ff997
commit 0b87419b690d1711697ed95808527400910ff997
Author: Joseph Myers <joseph@codesourcery.com>
Date: Tue Sep 15 17:46:08 2015 +0000
Fix ctan, ctanh missing underflows (bug 18595).
Similar to various other bugs in this area, ctan and ctanh can fail to
raise the underflow exception for some cases of results that are tiny
and inexact. This patch forces the exception in a similar way to
previous fixes.
Tested for x86_64 and x86.
[BZ #18595]
* math/s_ctan.c (__ctan): Force underflow exception for results
whose real or imaginary part has small absolute value.
* math/s_ctanf.c (__ctanf): Likewise.
* math/s_ctanh.c (__ctanh): Likewise.
* math/s_ctanhf.c (__ctanhf): Likewise.
* math/s_ctanhl.c (__ctanhl): Likewise.
* math/s_ctanl.c (__ctanl): Likewise.
* math/auto-libm-test-in: Do not allow missing underflow for ctan
and ctanh. Add more tests of ctan and ctanh.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 11 +
NEWS | 8 +-
math/auto-libm-test-in | 26 +-
math/auto-libm-test-out | 1032 ++++++++++++++++++++++++++++++++++++++---------
math/s_ctan.c | 10 +
math/s_ctanf.c | 10 +
math/s_ctanh.c | 10 +
math/s_ctanhf.c | 10 +
math/s_ctanhl.c | 10 +
math/s_ctanl.c | 10 +
10 files changed, 923 insertions(+), 214 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.