[PATCH 2/3] PowerPC: remove wrong nearbyintl implementation for, PowerPC64
Joseph S. Myers
joseph@codesourcery.com
Fri Mar 14 14:34:00 GMT 2014
On Fri, 14 Mar 2014, Adhemerval Zanella wrote:
> +#ifdef TEST_LDOUBLE
> + /* Check cases where first double is a exact integer higher than 2^52 and
> + the precision is determined by second long double for IBM long double. */
> + TEST_f_f (nearbyint, 34503599627370498.515625L, 34503599627370499.0L),
> + TEST_f_f (nearbyint, 1192568192774434123539907640624.484375L, 1192568192774434123539907640624.0L),
> + TEST_f_f (nearbyint, -34503599627370498.515625L, -34503599627370499.0L),
> + TEST_f_f (nearbyint, -1192568192774434123539907640624.484375L, -1192568192774434123539907640624.0L),
> +#endif
What are the precision requirements on long double for these inputs to be
representable? If any require more than 64-bit mantissa, they should be
conditional appropriately on LDBL_MANT_DIG (which may be 64, 106 or 113).
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list