This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] [BZ #17031][PowerPC64] Fix nearbyintl failure for few inputs


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]