diff options
Diffstat (limited to 'mpfr/sqrt.c')
-rw-r--r-- | mpfr/sqrt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mpfr/sqrt.c b/mpfr/sqrt.c index 1f6baf0f7..c368ad5ed 100644 --- a/mpfr/sqrt.c +++ b/mpfr/sqrt.c @@ -117,7 +117,7 @@ mpfr_sqrt (mpfr_ptr r, mpfr_srcptr u, mp_rnd_t rnd_mode) { up = TMP_ALLOC((usize + 1) * BYTES_PER_MP_LIMB); if (mpn_rshift(up + 1, MPFR_MANT(u), usize, 1)) - up[0] = GMP_LIMB_HIGHBIT; + up[0] = MPFR_LIMB_HIGHBIT; else up[0] = 0; usize++; @@ -263,7 +263,7 @@ mpfr_sqrt (mpfr_ptr r, mpfr_srcptr u, mp_rnd_t rnd_mode) { /* Is a shift necessary here? Isn't the result 1.0000...? */ mpn_rshift (rp, rp, rrsize, 1); - rp[rrsize-1] |= GMP_LIMB_HIGHBIT; + rp[rrsize-1] |= MPFR_LIMB_HIGHBIT; MPFR_EXP(r)++; } |