diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2008-08-07 16:30:13 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2008-08-07 16:30:13 +0000 |
commit | 7f5781fc2b82818929b622c12c0839beb662505e (patch) | |
tree | e1fe61423ad365ea8824467205f5e7d1cfdf08bc /pow_si.c | |
parent | e086a14154298a1f1d87e162cff3c487a37793c3 (diff) | |
download | mpfr-7f5781fc2b82818929b622c12c0839beb662505e.tar.gz |
pow_si.c: fixed Ziv's iteration (code from r3305) by using MPFR_ZIV_NEXT
(problem detected by icc, because variable "loop" was never used).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5490 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'pow_si.c')
-rw-r--r-- | pow_si.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -180,7 +180,7 @@ mpfr_pow_si (mpfr_ptr y, mpfr_srcptr x, long int n, mp_rnd_t rnd) break; /* actualisation of the precision */ - Nt += BITS_PER_MP_LIMB; + MPFR_ZIV_NEXT (loop, Nt); mpfr_set_prec (t, Nt); } MPFR_ZIV_FREE (loop); |