Message ID | alpine.DEB.2.10.1505142351290.20495@digraph.polyomino.org.uk |
---|---|
State | New |
Headers | show |
diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in index 7e5c7bb..1deb99a 100644 --- a/math/auto-libm-test-in +++ b/math/auto-libm-test-in @@ -239,6 +239,7 @@ atan 0x1p-5 atan 2.5 atan 10 atan 1e6 +atan 0x1p31 atan 0x1p-100 atan 0x1p-600 atan 0x1p-10000 diff --git a/sysdeps/ieee754/flt-32/s_atanf.c b/sysdeps/ieee754/flt-32/s_atanf.c index 1593918..be2addb 100644 --- a/sysdeps/ieee754/flt-32/s_atanf.c +++ b/sysdeps/ieee754/flt-32/s_atanf.c @@ -60,7 +60,7 @@ float __atanf(float x) GET_FLOAT_WORD(hx,x); ix = hx&0x7fffffff; - if(ix>=0x50800000) { /* if |x| >= 2^34 */ + if(ix>=0x4c000000) { /* if |x| >= 2^25 */ if(ix>0x7f800000) return x+x; /* NaN */ if(hx>0) return atanhi[3]+atanlo[3];