This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/18612] ldbl-128 j1l 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, 29 Jun 2015 17:52:41 +0000
- Subject: [Bug math/18612] ldbl-128 j1l spurious underflows
- Auto-submitted: auto-generated
- References: <bug-18612-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18612
--- 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 4aa10d01b654b7395c6e856b8e1e0959cfc80739 (commit)
from 63dbe5f32238858c7b953b867ed0588c7808dd4f (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=4aa10d01b654b7395c6e856b8e1e0959cfc80739
commit 4aa10d01b654b7395c6e856b8e1e0959cfc80739
Author: Joseph Myers <joseph@codesourcery.com>
Date: Mon Jun 29 17:51:32 2015 +0000
Fix ldbl-128 j1l spurious underflows (bug 18612).
The ldbl-128 implementation of j1l produces spurious underflow
exceptions for some small arguments, as a result of squaring the
argument. This patch fixes it just to use a linear approximation for
sufficiently small arguments, and then to force an underflow exception
only in the cases where it is required.
Tested for mips64.
[BZ #18612]
* sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
arguments, just return 0.5 times the argument, with underflow
forced as needed.
* math/auto-libm-test-in: Add more tests of j1.
* math/auto-libm-test-out: Regenerated.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 ++
NEWS | 2 +-
math/auto-libm-test-in | 3 +
math/auto-libm-test-out | 175 ++++++++++++++++++++++++++++++++++++++
sysdeps/ieee754/ldbl-128/e_j1l.c | 10 ++
5 files changed, 196 insertions(+), 1 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.