summaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/dbl-64/mpexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ieee754/dbl-64/mpexp.c')
-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 aca6bf6457..811fb465a1 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++)
{