aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/dbl-64/e_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ieee754/dbl-64/e_log.c')
-rw-r--r--sysdeps/ieee754/dbl-64/e_log.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/ieee754/dbl-64/e_log.c b/sysdeps/ieee754/dbl-64/e_log.c
index e55d74e561..814ac13720 100644
--- a/sysdeps/ieee754/dbl-64/e_log.c
+++ b/sysdeps/ieee754/dbl-64/e_log.c
@@ -47,7 +47,10 @@ void __mplog(mp_no *, mp_no *, int);
double __ieee754_log(double x) {
#define M 4
static const int pr[M]={8,10,18,32};
- int i,j,k,n,ux,dx,p;
+ int i,j,n,ux,dx,p;
+#if 0
+ int k;
+#endif
double dbl_n,u,p0,q,r0,w,nln2a,luai,lubi,lvaj,lvbj,
sij,ssij,ttij,A,B,B0,y,y1,y2,polI,polII,sa,sb,
t1,t2,t3,t4,t5,t6,t7,t8,t,ra,rb,ww,
@@ -190,7 +193,7 @@ double __ieee754_log(double x) {
__mplog(&mpx,&mpy,p);
dbl_mp(e[i].d,&mperr,p);
add(&mpy,&mperr,&mpy1,p); sub(&mpy,&mperr,&mpy2,p);
- mp_dbl(&mpy1,&y1,p); mp_dbl(&mpy2,&y2,p);
+ __mp_dbl(&mpy1,&y1,p); __mp_dbl(&mpy2,&y2,p);
if (y1==y2) return y1;
}
return y1;