about summary refs log tree commit diff
path: root/sysdeps/ieee754/dbl-64/e_log.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-03-12 07:57:09 +0000
committerUlrich Drepper <drepper@redhat.com>2001-03-12 07:57:09 +0000
commit50944bca4bfeefc5de2ec205ad549eb669ed1008 (patch)
tree8b9a7141aef238c00893d27a39d3a34247374a82 /sysdeps/ieee754/dbl-64/e_log.c
parent445028e348508c6bcf7cc41ffab4af1b984a11d2 (diff)
downloadglibc-50944bca4bfeefc5de2ec205ad549eb669ed1008.tar.gz
glibc-50944bca4bfeefc5de2ec205ad549eb669ed1008.tar.xz
glibc-50944bca4bfeefc5de2ec205ad549eb669ed1008.zip
Fix warnings.
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;