aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-10-29 14:08:56 -0400
committerUlrich Drepper <drepper@gmail.com>2011-10-29 14:08:56 -0400
commitcb95113e30aead7b97cd806278c0ff055ba721b6 (patch)
treefde7e269b8ace65f635aade43c31b355c4dd52aa /sysdeps
parent09e18697732f90357db0b3241e563a4db8ebfb03 (diff)
downloadglibc-cb95113e30aead7b97cd806278c0ff055ba721b6.tar
glibc-cb95113e30aead7b97cd806278c0ff055ba721b6.tar.gz
glibc-cb95113e30aead7b97cd806278c0ff055ba721b6.tar.bz2
glibc-cb95113e30aead7b97cd806278c0ff055ba721b6.zip
Fix accuracy problem in generic sin
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/ieee754/dbl-64/s_sin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/ieee754/dbl-64/s_sin.c b/sysdeps/ieee754/dbl-64/s_sin.c
index 6f19f158f1..5183e55e8b 100644
--- a/sysdeps/ieee754/dbl-64/s_sin.c
+++ b/sysdeps/ieee754/dbl-64/s_sin.c
@@ -138,7 +138,7 @@ __sin(double x){
cor=(ssn+s*ccs-sn*c)+cs*s;
res=sn+cor;
cor=(sn-res)+cor;
- return (res==res+1.025*cor)? res : slow1(x);
+ return (res==res+1.096*cor)? res : slow1(x);
} /* else if (k < 0x3feb6000) */
/*----------------------- 0.855469 <|x|<2.426265 ----------------------*/