This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Test for errno setting in more overflow error cases
- From: Andreas Jaeger <aj at suse dot com>
- To: libc-alpha at sourceware dot org
- Date: Thu, 16 May 2013 09:33:53 +0200
- Subject: Re: Test for errno setting in more overflow error cases
- References: <Pine dot LNX dot 4 dot 64 dot 1305152150250 dot 21321 at digraph dot polyomino dot org dot uk>
On 05/15/2013 11:51 PM, Joseph S. Myers wrote:
On overflow errors, libm functions (real, not complex) should raise
the OVERFLOW exception and set errno to ERANGE. This patch makes
libm-test.inc more systematically test for the errno setting to ERANGE
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