This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Make libm-test.inc check for "inexact" exceptions for NaN argument
- From: Andreas Jaeger <aj at suse dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>, libc-alpha at sourceware dot org
- Date: Sat, 16 Nov 2013 06:56:41 -0500
- Subject: Re: Make libm-test.inc check for "inexact" exceptions for NaN argument
- Authentication-results: sourceware.org; auth=none
- References: <Pine dot LNX dot 4 dot 64 dot 1311131815010 dot 24404 at digraph dot polyomino dot org dot uk>
On 11/13/2013 01:15 PM, Joseph S. Myers wrote:
> ISO C11 F.10 says "Functions with a NaN argument return a NaN result
> and raise no floating-point exception, except where stated
> otherwise.". When I originally added tests for "inexact" exceptions,
> I deferred adding tests for this particular requirement (and for a few
> other cases as detailed at
> <https://sourceware.org/ml/libc-alpha/2013-05/msg00609.html>). This
> patch adds such tests. (I ignored <complex.h> functions since it's
> less clear that the requirement applies to those.)
>
> Tested x86_64 and x86. This showed up one bug, bug 16167, for which
> I've sent a separate patch; the combination of the two patches tests
> cleanly (so the patch for bug 16167 is intended to go in first).
Thanks! This is fine,
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