about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-05-25 11:07:07 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-05-25 11:07:07 +0000
commitb65504975c97e1ec7aadaa75dcefb42e7e70fa1f (patch)
treed50f67531259ec2ffa0180541613808b60d1c7d9 /sysdeps
parentb0bc23a1777005ddcd54ec434f0deec88d3468fc (diff)
downloadglibc-b65504975c97e1ec7aadaa75dcefb42e7e70fa1f.tar.gz
glibc-b65504975c97e1ec7aadaa75dcefb42e7e70fa1f.tar.xz
glibc-b65504975c97e1ec7aadaa75dcefb42e7e70fa1f.zip
Fix acosf underflow (bug 14153).
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/ieee754/flt-32/e_acosf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/ieee754/flt-32/e_acosf.c b/sysdeps/ieee754/flt-32/e_acosf.c
index c0f1d4ea74..6f792f6604 100644
--- a/sysdeps/ieee754/flt-32/e_acosf.c
+++ b/sysdeps/ieee754/flt-32/e_acosf.c
@@ -46,7 +46,7 @@ __ieee754_acosf(float x)
 	    return (x-x)/(x-x);		/* acos(|x|>1) is NaN */
 	}
 	if(ix<0x3f000000) {	/* |x| < 0.5 */
-	    if(ix<=0x23000000) return pio2_hi+pio2_lo;/*if|x|<2**-57*/
+	    if(ix<=0x32800000) return pio2_hi+pio2_lo;/*if|x|<=2**-26*/
 	    z = x*x;
 	    p = z*(pS0+z*(pS1+z*(pS2+z*(pS3+z*(pS4+z*pS5)))));
 	    q = one+z*(qS1+z*(qS2+z*(qS3+z*qS4)));