diff options
author | Kevin Ryde <user42@zip.com.au> | 2002-02-08 22:49:38 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2002-02-08 22:49:38 +0100 |
commit | 63acee91cd62262abc9fdf2bedbc467670d8ce88 (patch) | |
tree | f6585ae9b6aa404ee78c095308775fcfd56e5adb /mpz/init2.c | |
parent | cb859a0701946974ba6e353ca6d7255d0d2dee10 (diff) | |
download | gmp-63acee91cd62262abc9fdf2bedbc467670d8ce88.tar.gz |
* mpz/array_init.c, mpz/cfdiv_q_2exp.c, mpz/cfdiv_r_2exp.c,
mpz/cong_2exp.c, mpz/divis_2exp.c, mpz/hamdist.c, mpz/init2.c,
mpz/mul_2exp.c, mpz/realloc2.c, mpz/scan0.c, mpz/scan1.c,
mpz/setbit.c, mpz/tdiv_q_2exp.c, mpz/tdiv_r_2exp.c, mpz/tstbit.c,
mpz/urandomb.c: Use GMP_NUMB_BITS.
Diffstat (limited to 'mpz/init2.c')
-rw-r--r-- | mpz/init2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpz/init2.c b/mpz/init2.c index 6f5e6d007..29661b683 100644 --- a/mpz/init2.c +++ b/mpz/init2.c @@ -26,7 +26,7 @@ void mpz_init2 (mpz_ptr x, unsigned long bits) { mp_size_t limbs; - limbs = (bits + BITS_PER_MP_LIMB-1) / BITS_PER_MP_LIMB; + limbs = (bits + GMP_NUMB_BITS-1) / GMP_NUMB_BITS; limbs = MAX (limbs, 1); SIZ(x) = 0; ALLOC(x) = limbs; |