diff options
-rw-r--r-- | src/root.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/root.c b/src/root.c index 07ed7f24d..a8bd7d04e 100644 --- a/src/root.c +++ b/src/root.c @@ -161,7 +161,7 @@ mpfr_rootn_ui (mpfr_ptr y, mpfr_srcptr x, unsigned long k, mpfr_rnd_t rnd_mode) sh = tmp - n; if (sh > 0) /* we have to flush to 0 the last sh bits from m */ { - inexact = inexact || ((mpfr_exp_t) mpz_scan1 (m, 0) < sh); + inexact = inexact || (mpz_scan1 (m, 0) < sh); mpz_fdiv_q_2exp (m, m, sh); e += k * sh; } |