This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/18823] csqrt spurious underflows
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 17 Aug 2015 23:04:03 +0000
- Subject: [Bug math/18823] csqrt spurious underflows
- Auto-submitted: auto-generated
- References: <bug-18823-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18823
--- 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 3fb4cfaf1f1e8d58312720c70d224e2050d469fc (commit)
from 1e15a853ed43e9f71cbec6d36e016d31b0d238a1 (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=3fb4cfaf1f1e8d58312720c70d224e2050d469fc
commit 3fb4cfaf1f1e8d58312720c70d224e2050d469fc
Author: Joseph Myers <joseph@codesourcery.com>
Date: Mon Aug 17 23:02:54 2015 +0000
Fix csqrt spurious underflows (bug 18823).
The csqrt functions scale up small arguments to avoid underflows when
calling hypot functions. However, even when hypot does not underflow,
a subsequent calculation of 0.5 * hypot can underflow. This patch
duly increases the threshold and scale factor to avoid such underflows
as well.
Tested for x86_64, x86 and mips64.
[BZ #18823]
* math/s_csqrt.c (__csqrt): Increase threshold and scale factor
for scaling up small arguments.
* math/s_csqrtf.c (__csqrtf): Likewise.
* math/s_csqrtl.c (__csqrtl): Likewise.
* math/auto-libm-test-in: Add more tests of csqrt.
* math/auto-libm-test-out: Regenerated.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 10 +
NEWS | 2 +-
math/auto-libm-test-in | 9 +
math/auto-libm-test-out | 1832 +++++++++++++++++++++++++++++++++++++++++++++++
math/s_csqrt.c | 6 +-
math/s_csqrtf.c | 6 +-
math/s_csqrtl.c | 6 +-
7 files changed, 1861 insertions(+), 10 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.