Fix clog overflow/underflow (bug 13629)

Andreas Jaeger aj@suse.com
Mon Mar 19 19:16:00 GMT 2012


On 03/19/2012 07:12 PM, Joseph S. Myers wrote:
 > [...]
> 2012-03-19  Joseph Myers<joseph@codesourcery.com>
>
> 	[BZ #13629]
> 	* math/s_clog.c: Include<float.h>.
> 	(__clog): Scale large or subnormal inputs.
> 	* math/s_clogf.c: Likewise.
> 	* math/s_clogl.c: Likewise.
> 	* math/s_clog10.c: Include<float.h>.
> 	(M_LOG10_2): Define.
> 	(__clog10): Scale large or subnormal inputs.
> 	* math/s_clog10f.c: Likewise.
> 	* math/s_clog10l.c: Likewise.
> 	* math/libm-test.inc (clog_test): Add more tests.
> 	(clog10_test): Likewise.
> 	* sysdeps/i386/fpu/libm-test-ulps: Update.
> 	* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.

This looks good, 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



More information about the Libc-alpha mailing list