This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/16739] IBM long double nextafterl wrong on power of two value
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 02 Apr 2014 03:18:40 +0000
- Subject: [Bug math/16739] IBM long double nextafterl wrong on power of two value
- Auto-submitted: auto-generated
- References: <bug-16739-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16739
--- 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 b0abbc21034f0e5edc49023d8fda0616173faf17 (commit)
from af6b17973cbc07ac06cfb40eeab5cc2391fb489a (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=b0abbc21034f0e5edc49023d8fda0616173faf17
commit b0abbc21034f0e5edc49023d8fda0616173faf17
Author: Alan Modra <amodra@gmail.com>
Date: Wed Apr 2 13:46:19 2014 +1030
Correct IBM long double nextafterl.
Fix for values near a power of two, and some tidies.
[BZ #16739]
* sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
output when value is near a power of two. Use int64_t for lx and
remove casts. Use decimal rather than hex exponent constants.
Don't use long double multiplication when double will suffice.
* math/libm-test.inc (nextafter_test_data): Add tests.
* NEWS: Add 16739 and 16786 to bug list.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 10 ++++++
NEWS | 2 +-
math/libm-test.inc | 8 ++++
sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c | 49 +++++++++++++++++++---------
4 files changed, 52 insertions(+), 17 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.