This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix cexp (NaN + i0) (bug 15532)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]