summaryrefslogtreecommitdiff
path: root/div-short.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2010-01-08 19:13:48 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2010-01-08 19:13:48 +0000
commit1f7f06d17a7f5bacaa40d8cea4237ffe094ef433 (patch)
tree97fdc324d0ae9640c439df546f625d8a15ad50fe /div-short.c
parent8f36df5d6bf5f20f4c4e60e9ac22e9d4d4a6508e (diff)
downloadmpfr-1f7f06d17a7f5bacaa40d8cea4237ffe094ef433.tar.gz
BITS_PER_MP_LIMB -> GMP_LIMB_BITS
got rid of BYTES_PER_MP_LIMB in configure.in (no longer defined by GMP) Note[VL] (mpfr-impl.h): a mpn_sqr_n() macro is defined to use mpn_mul if it is not already defined (in gmp-impl.h from GMP 4.x). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6644 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'div-short.c')
-rw-r--r--div-short.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/div-short.c b/div-short.c
index 2a4c0abcc..46391386a 100644
--- a/div-short.c
+++ b/div-short.c
@@ -167,7 +167,7 @@ check (int argc, const char *argv[])
mp_limb_t max_error;
count_leading_zeros (max_error, n);
- max_error = 2*(BITS_PER_MP_LIMB-max_error);
+ max_error = 2*(GMP_LIMB_BITS-max_error);
printf ("For N=%lu estimated max_error=%lu ulps\n",
(unsigned long) n, (unsigned long) max_error);
n0p = malloc (2 * n * sizeof (mp_limb_t));