This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Fix cexp (NaN + i0) (bug 15532)
- From: Andreas Jaeger <aj at suse dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 23 Aug 2013 20:02:55 +0200
- Subject: Re: Fix cexp (NaN + i0) (bug 15532)
- References: <Pine dot LNX dot 4 dot 64 dot 1308231628400 dot 22185 at digraph dot polyomino dot org dot uk>
On 08/23/2013 06:30 PM, Joseph S. Myers wrote:
> This patch fixes bug 15532 (a bug extracted from reported LSB test
> failures), cexp (NaN + i0) wrongly returning NaN + iNaN when C99 and
> C11 Annex G specify returning NaN + i0. Tested x86_64 and x86.
>
> 2013-08-23 Joseph Myers <joseph@codesourcery.com>
>
> [BZ #15532]
> * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
> * math/s_cexpf.c (__cexpf): Likewise.
> * math/s_cexpl.c (__cexpl): Likewise.
> * math/libm-test.inc (cexp_test_data): Correct expected return
> value for NaN + i0. Add another tes
thanks, 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