diff options
Diffstat (limited to 'mpf/eq.c')
-rw-r--r-- | mpf/eq.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; |