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_qr_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_qr_ui.c')
-rw-r--r-- | mpz/tdiv_qr_ui.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mpz/tdiv_qr_ui.c b/mpz/tdiv_qr_ui.c index 12a9cbcad..763fe31fa 100644 --- a/mpz/tdiv_qr_ui.c +++ b/mpz/tdiv_qr_ui.c @@ -2,8 +2,8 @@ Set QUOT to DIVIDEND / SHORT_DIVISOR and REM to DIVIDEND mod SHORT_DIVISOR. -Copyright 1991, 1993, 1994, 1996, 1998, 2001, 2002 Free Software Foundation, -Inc. +Copyright 1991, 1993, 1994, 1996, 1998, 2001, 2002, 2004 Free Software +Foundation, Inc. This file is part of the GNU MP Library. @@ -48,7 +48,7 @@ mpz_tdiv_qr_ui (mpz_ptr quot, mpz_ptr rem, mpz_srcptr dividend, unsigned long in qp = PTR(quot); 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]; |