Make tst-strtod-round use ROUNDING_TESTS

Andreas Jaeger aj@suse.com
Fri Jun 14 06:21:00 GMT 2013


On 06/14/2013 03:17 AM, Joseph S. Myers wrote:
> This patch makes tst-strtod-round use ROUNDING_TESTS from math-tests.h
> to handle cases where rounding modes are not fully supported for all
> floating-point types.  (In fact this issue only affects the cases of
> overflowing results, or results that underflow either to zero or the
> smallest subnormal of the right sign depending on the rounding mode,
> because those cases use floating-point arithmetic to get the
> rounding-mode-dependent result from strtod whereas other cases do the
> rounding in software.)  Tested on ARM.

ok, thanks,

Andreas
-- 
  Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
   SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
    GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
     GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126



More information about the Libc-alpha mailing list