summaryrefslogtreecommitdiff
path: root/urandomb.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2000-10-26 11:59:59 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2000-10-26 11:59:59 +0000
commitda4b19c01ec0e27d42071d294e29fc56e1a1b16a (patch)
tree393496f9c6cc54d9bcde0fc0d77691fdcfdf255a /urandomb.c
parent33336e9a85f1ae242191e1b2286cded95f11362b (diff)
downloadmpfr-da4b19c01ec0e27d42071d294e29fc56e1a1b16a.tar.gz
protected all macros: xxx -> MPFR_xxx
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@786 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'urandomb.c')
-rw-r--r--urandomb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/urandomb.c b/urandomb.c
index de78d61cc..cd986c1ab 100644
--- a/urandomb.c
+++ b/urandomb.c
@@ -42,8 +42,8 @@ mpfr_urandomb (rop, rstate)
mp_exp_t exp;
unsigned long cnt, nbits;
- rp = MANT(rop);
- nbits = PREC(rop);
+ rp = MPFR_MANT(rop);
+ nbits = MPFR_PREC(rop);
nlimbs = (nbits + BITS_PER_MP_LIMB - 1) / BITS_PER_MP_LIMB;
_gmp_rand (rp, rstate, nbits);
@@ -71,5 +71,5 @@ mpfr_urandomb (rop, rstate)
/* cnt is the number of non significant bits in the low limb */
rp[0] &= ~((((mp_limb_t)1)<<cnt) - 1);
- EXP (rop) = exp;
+ MPFR_EXP (rop) = exp;
}