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: Test signs of NaNs in libm-test.inc where appropriate


On 11/14/2013 11:51 AM, Joseph S. Myers wrote:
> libm-test.inc does not check the signs of NaN results.  This is
> correct for most functions, where the sign of a NaN result is
> unspecified, but for fabs and copysign the sign of the result is
> specified even when it's a NaN.  This patch (relative to a tree with
> <https://sourceware.org/ml/libc-alpha/2013-11/msg00393.html>,
> <https://sourceware.org/ml/libc-alpha/2013-11/msg00408.html> and
> <https://sourceware.org/ml/libc-alpha/2013-11/msg00409.html> applied)
> adds a TEST_NAN_SIGN flag tests can use to check the signs of NaN
> results, uses it for fabs and copysign tests as applicable, and adds
> more tests of NaN inputs for those functions and signbit.
> 
> Tested x86_64 and x86.

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


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