summaryrefslogtreecommitdiff
path: root/math/atest-exp2.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2013-05-23 23:50:40 +0200
committerThomas Schwinge <thomas@codesourcery.com>2013-05-23 23:50:40 +0200
commit870f10621d72a084d8f9578c1fbcf15122638454 (patch)
tree8ca3d9ef9e087ed54ba698f8540552acb7bc761a /math/atest-exp2.c
parente17ab4d8f5cf59477b4730386b87a469641ef562 (diff)
parent1a4a8c4078754ea1c48eab942e59483ae4a9376b (diff)
Merge commit 'refs/top-bases/t/poll_errors_fixes' into t/poll_errors_fixes
Diffstat (limited to 'math/atest-exp2.c')
-rw-r--r--math/atest-exp2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/atest-exp2.c b/math/atest-exp2.c
index b05d43b407..20836ca0dc 100644
--- a/math/atest-exp2.c
+++ b/math/atest-exp2.c
@@ -102,7 +102,7 @@ exp_mpn (mp1 ex, mp1 x)
unsigned int n;
mp1 xp;
mp2 tmp;
- mp_limb_t chk, round;
+ mp_limb_t chk;
mp1 tol;
memset (xp, 0, sizeof (mp1));
@@ -120,7 +120,7 @@ exp_mpn (mp1 ex, mp1 x)
mpn_mul_n (tmp, xp, x, SZ);
assert(tmp[SZ * 2 - 1] == 0);
if (n > 0)
- round = mpn_divmod_1 (xp, tmp + FRAC / mpbpl, SZ, n);
+ mpn_divmod_1 (xp, tmp + FRAC / mpbpl, SZ, n);
chk = mpn_add_n (ex, ex, xp, SZ);
assert (chk == 0);
++n;