This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Test for errno setting in more domain error cases
- From: Andreas Jaeger <aj at suse dot com>
- To: libc-alpha at sourceware dot org
- Date: Wed, 15 May 2013 09:16:12 +0200
- Subject: Re: Test for errno setting in more domain error cases
- References: <Pine dot LNX dot 4 dot 64 dot 1305142150580 dot 22687 at digraph dot polyomino dot org dot uk>
On 05/14/2013 11:51 PM, Joseph S. Myers wrote:
On domain error, libm functions (real, not complex) should raise the
INVALID exception and set errno to EDOM. This patch makes
libm-test.inc more systematically test for the errno setting to EDOM
along with the exception setting, except for the cases where there are
known bugs filed about the errno setting being missing. 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