summaryrefslogtreecommitdiff
path: root/mpz
diff options
context:
space:
mode:
authorMarco Bodrato <bodrato@mail.dm.unipi.it>2018-02-08 12:53:59 +0100
committerMarco Bodrato <bodrato@mail.dm.unipi.it>2018-02-08 12:53:59 +0100
commit50bf88ac58fabb0788cd774eeffb87f03a1a8de9 (patch)
tree9ab55feb8f330890c9b7d00ed25a6f7536e24a2f /mpz
parente3c4b722f51f0a1df8bbca0477e72b8b3a6489b2 (diff)
downloadgmp-50bf88ac58fabb0788cd774eeffb87f03a1a8de9.tar.gz
mpz/bin_uiui.c: Details on unused code...
Diffstat (limited to 'mpz')
-rw-r--r--mpz/bin_uiui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpz/bin_uiui.c b/mpz/bin_uiui.c
index 1d533c33d..2e8eff6eb 100644
--- a/mpz/bin_uiui.c
+++ b/mpz/bin_uiui.c
@@ -151,7 +151,7 @@ mul8 (mp_limb_t m)
static mp_limb_t
mul9 (mp_limb_t m)
{
- return (m + 8) * (mul8 (m) >> 1) ;
+ return (m + 8) * mul8 (m) ;
}
static mp_limb_t
@@ -171,7 +171,7 @@ static const mulfunc_t mulfunc[] = {mul1,mul2,mul3,mul4,mul5,mul6,mul7,mul8 /* ,
#define M (numberof(mulfunc))
/* Number of factors-of-2 removed by the corresponding mulN function. */
-static const unsigned char tcnttab[] = {0, 1, 1, 2, 2, 4, 4, 6 /*,7 ,8*/};
+static const unsigned char tcnttab[] = {0, 1, 1, 2, 2, 4, 4, 6 /*,6,8*/};
#if 1
/* This variant is inaccurate but share the code with other functions. */