[PowerPC64] Correct IBM long double nextafterl

Joseph S. Myers joseph@codesourcery.com
Tue Mar 25 12:13:00 GMT 2014


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



More information about the Libc-alpha mailing list