aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/dbl-64/mpatan.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-02-14 11:39:14 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-02-14 11:39:14 +0530
commitf414520d3c9d661411db5d59a21daf9790cab3f4 (patch)
treed60ac46315211d9232d3892d50e24d713d5c2480 /sysdeps/ieee754/dbl-64/mpatan.c
parentd6752ccd696c71d23cd3df8fb9cc60b61c32e65a (diff)
downloadglibc-f414520d3c9d661411db5d59a21daf9790cab3f4.zip
glibc-f414520d3c9d661411db5d59a21daf9790cab3f4.tar.gz
glibc-f414520d3c9d661411db5d59a21daf9790cab3f4.tar.bz2
Use __sqr instead of __mul wherever possible
Diffstat (limited to 'sysdeps/ieee754/dbl-64/mpatan.c')
-rw-r--r--sysdeps/ieee754/dbl-64/mpatan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/ieee754/dbl-64/mpatan.c b/sysdeps/ieee754/dbl-64/mpatan.c
index db58680..0f5a24a 100644
--- a/sysdeps/ieee754/dbl-64/mpatan.c
+++ b/sysdeps/ieee754/dbl-64/mpatan.c
@@ -66,7 +66,7 @@ __mpatan(mp_no *x, mp_no *y, int p) {
mptwoim1.d[0] = ONE;
/* Reduce x m times */
- __mul(x,x,&mpsm,p);
+ __sqr(x,&mpsm,p);
if (m==0) __cpy(x,&mps,p);
else {
for (i=0; i<m; i++) {