This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Test for errno setting in more pole error cases
- From: Andreas Jaeger <aj at suse dot com>
- To: libc-alpha at sourceware dot org
- Date: Thu, 16 May 2013 22:14:14 +0200
- Subject: Re: Test for errno setting in more pole error cases
- References: <Pine dot LNX dot 4 dot 64 dot 1305161923001 dot 1874 at digraph dot polyomino dot org dot uk>
On 05/16/2013 09:24 PM, Joseph S. Myers wrote:
On pole errors (exact infinity as result for finite inputs), (real)
libm functions should raise the divide-by-zero exception and set errno
to ERANGE. This patch makes libm-test.inc test more systematically
for the errno setting, except for the cases where there are known bugs
filed about it being missing. Tested x86_64 and x86.
Thanks, this is ok,
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