[PATCH] [BZ #17031][PowerPC64] Fix nearbyintl failure for few inputs
Joseph S. Myers
joseph@codesourcery.com
Tue Jun 10 12:05:00 GMT 2014
On Tue, 10 Jun 2014, Rajalakshmi Srinivasaraghavan wrote:
> This patch fixes few failures in nearbyintl() where the fraction part
> is close to 0.5.
>
> [BZ #17031]
> sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
> double, adjusted for any remainder from the high double.
Please include an appropriate testcase in libm-test.inc (for both
nearbyint and rint - both should use the same set of test inputs,
differing only in expected exceptions for inexact cases - and inside the
"# if LDBL_MANT_DIG > 100" conditional").
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list