summaryrefslogtreecommitdiff
path: root/mpn
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2002-05-07 00:44:57 +0200
committertege <tege@gmplib.org>2002-05-07 00:44:57 +0200
commit22e0fa4ddb1eea76c13ce8a71100d44d1ad30ec6 (patch)
tree0742fc212f7667204819c0748fd7706112c087cc /mpn
parentd72ab290f81d0af3b9e9fe8112bbdcb60a50e0fa (diff)
downloadgmp-22e0fa4ddb1eea76c13ce8a71100d44d1ad30ec6.tar.gz
Rename MP_LIMB_T_HIGHBIT => GMP_LIMB_HIGHBIT
Diffstat (limited to 'mpn')
-rw-r--r--mpn/generic/divrem_1.c2
-rw-r--r--mpn/generic/mod_1.c2
-rw-r--r--mpn/generic/pow_1.c4
-rw-r--r--mpn/generic/pre_mod_1.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/mpn/generic/divrem_1.c b/mpn/generic/divrem_1.c
index 1b98fb041..13dd1e30f 100644
--- a/mpn/generic/divrem_1.c
+++ b/mpn/generic/divrem_1.c
@@ -100,7 +100,7 @@ mpn_divrem_1 (mp_ptr qp, mp_size_t qxn,
qp += (n - 1); /* Make qp point at most significant quotient limb */
- if ((d & MP_LIMB_T_HIGHBIT) != 0)
+ if ((d & GMP_LIMB_HIGHBIT) != 0)
{
if (un != 0)
{
diff --git a/mpn/generic/mod_1.c b/mpn/generic/mod_1.c
index 17596cdd1..8ba20467b 100644
--- a/mpn/generic/mod_1.c
+++ b/mpn/generic/mod_1.c
@@ -71,7 +71,7 @@ mpn_mod_1 (mp_srcptr up, mp_size_t un, mp_limb_t d)
d <<= GMP_NAIL_BITS;
- if ((d & MP_LIMB_T_HIGHBIT) != 0)
+ if ((d & GMP_LIMB_HIGHBIT) != 0)
{
/* High limb is initial remainder, possibly with one subtract of
d to get r<d. */
diff --git a/mpn/generic/pow_1.c b/mpn/generic/pow_1.c
index f9ae61a82..b9a6af950 100644
--- a/mpn/generic/pow_1.c
+++ b/mpn/generic/pow_1.c
@@ -62,7 +62,7 @@ mpn_pow_1 (mp_ptr rp, mp_srcptr bp, mp_size_t bn, mp_limb_t exp, mp_ptr tp)
for (i = GMP_LIMB_BITS - cnt - 1;;)
{
exp <<= 1;
- if ((exp & MP_LIMB_T_HIGHBIT) != 0)
+ if ((exp & GMP_LIMB_HIGHBIT) != 0)
{
rp[rn] = mpn_mul_1 (rp, rp, rn, bl);
rn += rp[rn] != 0;
@@ -87,7 +87,7 @@ mpn_pow_1 (mp_ptr rp, mp_srcptr bp, mp_size_t bn, mp_limb_t exp, mp_ptr tp)
for (i = GMP_LIMB_BITS - cnt - 1;;)
{
exp <<= 1;
- if ((exp & MP_LIMB_T_HIGHBIT) != 0)
+ if ((exp & GMP_LIMB_HIGHBIT) != 0)
{
rn = rn + bn - (mpn_mul (tp, rp, rn, bp, bn) == 0);
MP_PTR_SWAP (rp, tp);
diff --git a/mpn/generic/pre_mod_1.c b/mpn/generic/pre_mod_1.c
index 639cd1f4e..02ec16d0a 100644
--- a/mpn/generic/pre_mod_1.c
+++ b/mpn/generic/pre_mod_1.c
@@ -42,7 +42,7 @@ mpn_preinv_mod_1 (mp_srcptr dividend_ptr, mp_size_t dividend_size,
mp_limb_t dummy;
ASSERT (dividend_size >= 1);
- ASSERT (divisor_limb & MP_LIMB_T_HIGHBIT);
+ ASSERT (divisor_limb & GMP_LIMB_HIGHBIT);
r = dividend_ptr[dividend_size-1];
if (r >= divisor_limb)