diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-02-14 11:39:14 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-02-14 11:39:14 +0530 |
commit | f414520d3c9d661411db5d59a21daf9790cab3f4 (patch) | |
tree | d60ac46315211d9232d3892d50e24d713d5c2480 /sysdeps/ieee754/dbl-64/mpsqrt.c | |
parent | d6752ccd696c71d23cd3df8fb9cc60b61c32e65a (diff) | |
download | glibc-f414520d3c9d661411db5d59a21daf9790cab3f4.tar.gz |
Use __sqr instead of __mul wherever possible
Diffstat (limited to 'sysdeps/ieee754/dbl-64/mpsqrt.c')
-rw-r--r-- | sysdeps/ieee754/dbl-64/mpsqrt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/ieee754/dbl-64/mpsqrt.c b/sysdeps/ieee754/dbl-64/mpsqrt.c index 65df9fd067..941a4e9cd2 100644 --- a/sysdeps/ieee754/dbl-64/mpsqrt.c +++ b/sysdeps/ieee754/dbl-64/mpsqrt.c @@ -63,7 +63,7 @@ __mpsqrt(mp_no *x, mp_no *y, int p) { m=__mpsqrt_mp[p]; for (i=0; i<m; i++) { - __mul(&mpu,&mpu,&mpt1,p); + __sqr(&mpu,&mpt1,p); __mul(&mpt1,&mpz,&mpt2,p); __sub(&mp3halfs,&mpt2,&mpt1,p); __mul(&mpu,&mpt1,&mpt2,p); |