diff options
author | Kevin Ryde <user42@zip.com.au> | 2004-03-10 22:53:42 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2004-03-10 22:53:42 +0100 |
commit | c3107449df767c6d6f8e3a244652ea68c5049918 (patch) | |
tree | acc954e51a55ef2146d8ca0419cbf190d78fa02a /mpz/tdiv_ui.c | |
parent | 8cc2bd9e11d9c9e2bd79553a8e8a1bc9cfa2a166 (diff) | |
download | gmp-c3107449df767c6d6f8e3a244652ea68c5049918.tar.gz |
* mpz/aors_ui.h, mpz/cdiv_q_ui.c, mpz/cdiv_qr_ui.c, mpz/cdiv_r_ui.c,
mpz/cdiv_ui.c, mpz/ui_sub.c, mpz/fdiv_q_ui.c, mpz/fdiv_qr_ui.c,
mpz/fdiv_r_ui.c, mpz/fdiv_ui.c, mpz/gcd_ui.c, mpz/iset_ui.c,
mpz/lcm_ui.c, mpz/set_ui.c, mpz/tdiv_q_ui.c, mpz/tdiv_qr_ui.c,
mpz/tdiv_r_ui.c, mpz/tdiv_ui.c, mpf/div_ui.c, mpf/mul_ui.c
[longlong+nails]: Amend #if to avoid warnings about shift amount.
Diffstat (limited to 'mpz/tdiv_ui.c')
-rw-r--r-- | mpz/tdiv_ui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mpz/tdiv_ui.c b/mpz/tdiv_ui.c index ec4390120..7a3c9f8fd 100644 --- a/mpz/tdiv_ui.c +++ b/mpz/tdiv_ui.c @@ -1,6 +1,6 @@ /* mpz_tdiv_ui(dividend, divisor_limb) -- Return DIVDEND mod DIVISOR_LIMB. -Copyright 1991, 1993, 1994, 1996, 1997, 1998, 2001, 2002 Free Software +Copyright 1991, 1993, 1994, 1996, 1997, 1998, 2001, 2002, 2004 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -43,7 +43,7 @@ mpz_tdiv_ui (mpz_srcptr dividend, unsigned long int divisor) nn = ABS(ns); np = PTR(dividend); -#if GMP_NAIL_BITS != 0 +#if BITS_PER_ULONG > GMP_NUMB_BITS /* avoid warnings about shift amount */ if (divisor > GMP_NUMB_MAX) { mp_limb_t dp[2], rp[2]; |