This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PowerPC64] Correct IBM long double nextafterl
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Alan Modra <amodra at gmail dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Tue, 25 Mar 2014 12:13:08 +0000
- Subject: Re: [PowerPC64] Correct IBM long double nextafterl
- Authentication-results: sourceware.org; auth=none
- References: <20140325022618 dot GF18201 at bubble dot grove dot modra dot org>
On Tue, 25 Mar 2014, Alan Modra wrote:
> + TEST_ff_f (nextafter, 1.0L, -10.0L, 1.0L-0x1p-106L, NO_EXCEPTION),
> + TEST_ff_f (nextafter, 1.0L, 10.0L, 1.0L+0x1p-105L, NO_EXCEPTION),
> + TEST_ff_f (nextafter, 1.0L-0x1p-106L, 10.0L, 1.0L, NO_EXCEPTION),
> + TEST_ff_f (nextafter, -1.0L, -10.0L, -1.0L-0x1p-105L, NO_EXCEPTION),
> + TEST_ff_f (nextafter, -1.0L, 10.0L, -1.0L+0x1p-106L, NO_EXCEPTION),
> + TEST_ff_f (nextafter, -1.0L+0x1p-106L, -10.0L, -1.0L, NO_EXCEPTION),
You mean NO_INEXACT_EXCEPTION (NO_EXCEPTION makes no assertion about
whether or not "inexact" is present; "inexact" has a different default
from the other exceptions, following ISO C Annex F).
--
Joseph S. Myers
joseph@codesourcery.com