This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/18020] [ldbl-128ibm] asinhl inaccurate
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 25 Feb 2015 11:14:47 +0000
- Subject: [Bug math/18020] [ldbl-128ibm] asinhl inaccurate
- Auto-submitted: auto-generated
- References: <bug-18020-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18020
--- 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 137cef7d433407bd2ded8bcc5bea70e5858df47a (commit)
from cb43bb0d68f001fc3d6e054d712ab8794b5fd1de (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=137cef7d433407bd2ded8bcc5bea70e5858df47a
commit 137cef7d433407bd2ded8bcc5bea70e5858df47a
Author: Joseph Myers <joseph@codesourcery.com>
Date: Wed Feb 25 11:13:41 2015 +0000
Fix ldbl-128ibm asinhl inaccuracy (bug 18020).
The ldbl-128ibm implementation of asinhl uses cut-offs of 0x1p28 and
0x1p-29 to determine when to use simpler formulas that avoid possible
overflow / underflow. Both those cut-offs are inappropriate for this
format, resulting in large errors. This patch changes the code to use
more appropriate cut-offs of 0x1p56 and 0x1p-56, adding tests around
the cut-offs for various floating-point formats.
Tested for powerpc. Also tested for x86_64 and x86 and updated ulps.
[BZ #18020]
* sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
* math/auto-libm-test-in: Add more tests of asinh.
* math/auto-libm-test-out: Regenerated.
* sysdeps/i386/fpu/libm-test-ulps: Update.
* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 10 +
NEWS | 2 +-
math/auto-libm-test-in | 61 ++
math/auto-libm-test-out | 1685 ++++++++++++++++++++++++++++++++
sysdeps/i386/fpu/libm-test-ulps | 8 +-
sysdeps/ieee754/ldbl-128ibm/s_asinhl.c | 8 +-
sysdeps/x86_64/fpu/libm-test-ulps | 27 +-
7 files changed, 1779 insertions(+), 22 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.