diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2000-08-16 09:05:15 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2000-08-16 09:05:15 +0000 |
commit | a5dc53c8d3acf9f0a7ec38895df3d6676845b162 (patch) | |
tree | 8c1545e2cae10aaa5afac38683f352ed6aadbebc /exp2.c | |
parent | f322bdb378f55d02a41a5d73f3a467d201f74741 (diff) | |
download | mpfr-a5dc53c8d3acf9f0a7ec38895df3d6676845b162.tar.gz |
replaced mp_bits_per_limb by BITS_PER_MP_LIMB (constant)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@701 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'exp2.c')
-rw-r--r-- | exp2.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -217,7 +217,7 @@ int mpfr_exp2_aux2(mpfr_t s, mpfr_t r, mpfr_t t, int q) m = (int) sqrt(2.0 * (double) l); TMP_MARK(marker); R = (mpfr_t*) TMP_ALLOC((m+1)*sizeof(mpfr_t)); /* R[i] stands for r^i */ - sizer = (PREC(r)+mp_bits_per_limb-1)/mp_bits_per_limb; + sizer = (PREC(r)+BITS_PER_MP_LIMB-1)/BITS_PER_MP_LIMB; for (i=0;i<=m;i++) MY_INIT(R[i], PREC(r), sizer); mpfr_mul(R[2], r, r, GMP_RNDU); for (i=3;i<=m;i++) mpfr_mul(R[i], R[i-1], r, GMP_RNDU); |