From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8182 invoked by alias); 2 Apr 2014 03:18:46 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 8159 invoked by uid 55); 2 Apr 2014 03:18:41 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug math/16739] IBM long double nextafterl wrong on power of two value Date: Wed, 02 Apr 2014 03:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: amodra at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-04/txt/msg00012.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=16739 --- Comment #1 from 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 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.