diff options
-rw-r--r-- | src/mpfr-mini-gmp.c | 2 | ||||
-rw-r--r-- | src/mul_ui.c | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/mpfr-mini-gmp.c b/src/mpfr-mini-gmp.c index 7ae33d5a4..a01520574 100644 --- a/src/mpfr-mini-gmp.c +++ b/src/mpfr-mini-gmp.c @@ -224,6 +224,7 @@ mpn_tdiv_qr (mp_limb_t *qp, mp_limb_t *rp, mp_size_t qxn, } #endif +#if 0 /* this function is useful for debugging, thus please keep it here */ void mpz_dump (mpz_t z) { @@ -264,5 +265,6 @@ mpz_dump (mpz_t z) } printf ("\n"); } +#endif #endif /* MPFR_USE_MINI_GMP */ diff --git a/src/mul_ui.c b/src/mul_ui.c index bf9bf3977..f0184f029 100644 --- a/src/mul_ui.c +++ b/src/mul_ui.c @@ -27,10 +27,13 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., MPFR_HOT_FUNCTION_ATTR int mpfr_mul_ui (mpfr_ptr y, mpfr_srcptr x, unsigned long int u, mpfr_rnd_t rnd_mode) { + int inexact; +#ifdef MPFR_LONG_WITHIN_LIMB mp_limb_t *yp; mp_size_t xn; - int cnt, inexact; + int cnt; MPFR_TMP_DECL (marker); +#endif if (MPFR_UNLIKELY (MPFR_IS_SINGULAR (x))) { |