aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-01-18 11:14:34 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-01-18 11:14:34 +0530
commitd3b9ea614822b66f88ba6815a2d2c6cf63922cd7 (patch)
tree0826f91dac364bc2612a99a1ae1ad290c6eb9d57 /sysdeps
parent1dbaee3c12d6a1310b45a390edc2d06df61493fa (diff)
downloadglibc-d3b9ea614822b66f88ba6815a2d2c6cf63922cd7.zip
glibc-d3b9ea614822b66f88ba6815a2d2c6cf63922cd7.tar.gz
glibc-d3b9ea614822b66f88ba6815a2d2c6cf63922cd7.tar.bz2
Remove unnecessary multiplication with RADIXI
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/ieee754/dbl-64/mpexp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/ieee754/dbl-64/mpexp.c b/sysdeps/ieee754/dbl-64/mpexp.c
index aca6bf6..811fb46 100644
--- a/sysdeps/ieee754/dbl-64/mpexp.c
+++ b/sysdeps/ieee754/dbl-64/mpexp.c
@@ -103,14 +103,14 @@ __mpexp (mp_no *x, mp_no *y, int p)
a *= RADIXI;
for (; i > EX; i--)
a *= RADIX;
- b = X[1] * RADIXI;
+ b = X[1];
m2 = 24 * EX;
- for (; b < HALF; m2--)
+ for (; b < HALFRAD; m2--)
{
a *= TWO;
b *= TWO;
}
- if (b == HALF)
+ if (b == HALFRAD)
{
for (i = 2; i <= p; i++)
{