summaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/dbl-64/mpsqrt.c
diff options
context:
space:
mode:
authorMarek Polacek <mpolacek@redhat.com>2011-11-11 13:27:59 -0500
committerUlrich Drepper <drepper@gmail.com>2011-11-11 13:27:59 -0500
commitaaddc98c25727f896fc8ed36c5562dc46865dbe6 (patch)
treec9a54763509ae1ee07739ab5ef79125bea9985a6 /sysdeps/ieee754/dbl-64/mpsqrt.c
parent57769839788e2c62b68d9dfbf4b35052321278ba (diff)
downloadglibc-aaddc98c25727f896fc8ed36c5562dc46865dbe6.tar.gz
Remove unused variables
Diffstat (limited to 'sysdeps/ieee754/dbl-64/mpsqrt.c')
-rw-r--r--sysdeps/ieee754/dbl-64/mpsqrt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/ieee754/dbl-64/mpsqrt.c b/sysdeps/ieee754/dbl-64/mpsqrt.c
index d1a80f9091..f007cab5d2 100644
--- a/sysdeps/ieee754/dbl-64/mpsqrt.c
+++ b/sysdeps/ieee754/dbl-64/mpsqrt.c
@@ -51,7 +51,7 @@ static double fastiroot(double);
void
SECTION
__mpsqrt(mp_no *x, mp_no *y, int p) {
- int i,m,ex,ey;
+ int i,m,ey;
double dx,dy;
mp_no
mphalf = {0,{0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,
@@ -66,7 +66,7 @@ __mpsqrt(mp_no *x, mp_no *y, int p) {
mphalf.e =0; mphalf.d[0] =ONE; mphalf.d[1] =HALFRAD;
mp3halfs.e=1; mp3halfs.d[0]=ONE; mp3halfs.d[1]=ONE; mp3halfs.d[2]=HALFRAD;
- ex=EX; ey=EX/2; __cpy(x,&mpxn,p); mpxn.e -= (ey+ey);
+ ey=EX/2; __cpy(x,&mpxn,p); mpxn.e -= (ey+ey);
__mp_dbl(&mpxn,&dx,p); dy=fastiroot(dx); __dbl_mp(dy,&mpu,p);
__mul(&mpxn,&mphalf,&mpz,p);