diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-06-29 01:05:21 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-06-29 01:05:21 +0200 |
commit | 9a9d89617d2bbe51b92eec34c3b67907661e3479 (patch) | |
tree | c5147e9a3205dd8f54f378e981a2d9e31396896b | |
parent | 84ca0b8684ed7397d5b117ff74024dfe67c1fc73 (diff) | |
download | gmp-9a9d89617d2bbe51b92eec34c3b67907661e3479.tar.gz |
* mpn/generic/mul_n.c, mpz/cfdiv_r_2exp.c: Use MPN_INCR_U.
-rw-r--r-- | mpz/cfdiv_r_2exp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mpz/cfdiv_r_2exp.c b/mpz/cfdiv_r_2exp.c index bf28eae10..094fe16fb 100644 --- a/mpz/cfdiv_r_2exp.c +++ b/mpz/cfdiv_r_2exp.c @@ -113,8 +113,8 @@ cfdiv_r_2exp (mpz_ptr w, mpz_srcptr u, unsigned long cnt, int dir) wp[i] = MP_LIMB_T_MAX; /* Twos complement. Since u!=0 in the relevant part, the twos - complement never gives 0 and a carry, so can use mpn_incr_u. */ - mpn_incr_u (wp, CNST_LIMB(1)); + complement never gives 0 and a carry, so can use MPN_INCR_U. */ + MPN_INCR_U (wp, limb_cnt+1, CNST_LIMB(1)); usize = -usize; } |