summaryrefslogtreecommitdiff
path: root/mpf/eq.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpf/eq.c')
-rw-r--r--mpf/eq.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mpf/eq.c b/mpf/eq.c
index 52dd366ef..e33f51351 100644
--- a/mpf/eq.c
+++ b/mpf/eq.c
@@ -83,13 +83,13 @@ mpf_eq (mpf_srcptr u, mpf_srcptr v, unsigned long int n_bits)
if (usize > vsize)
{
- if (vsize * BITS_PER_MP_LIMB < n_bits)
+ if (vsize * GMP_NUMB_BITS < n_bits)
return 0; /* surely too different */
size = vsize;
}
else if (vsize > usize)
{
- if (usize * BITS_PER_MP_LIMB < n_bits)
+ if (usize * GMP_NUMB_BITS < n_bits)
return 0; /* surely too different */
size = usize;
}
@@ -98,8 +98,8 @@ mpf_eq (mpf_srcptr u, mpf_srcptr v, unsigned long int n_bits)
size = usize;
}
- if (size > (n_bits + BITS_PER_MP_LIMB - 1) / BITS_PER_MP_LIMB)
- size = (n_bits + BITS_PER_MP_LIMB - 1) / BITS_PER_MP_LIMB;
+ if (size > (n_bits + GMP_NUMB_BITS - 1) / GMP_NUMB_BITS)
+ size = (n_bits + GMP_NUMB_BITS - 1) / GMP_NUMB_BITS;
up += usize - size;
vp += vsize - size;