summaryrefslogtreecommitdiff
path: root/tests/tpow.c
diff options
context:
space:
mode:
authorthevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4>2009-03-24 15:10:52 +0000
committerthevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4>2009-03-24 15:10:52 +0000
commit49406a145c30997c8c82d33696e2b3b1de930e0f (patch)
treecdbfe4f7bb654909abc38efbfa9c338cd8e6686e /tests/tpow.c
parent11c3dc9d27bba40efffb25fb369d63df5de54402 (diff)
downloadmpfr-49406a145c30997c8c82d33696e2b3b1de930e0f.tar.gz
Move mpfr_random2 to tests directory, remove it from API.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6136 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tpow.c')
-rw-r--r--tests/tpow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tpow.c b/tests/tpow.c
index 4011e72ca..2591d1a4a 100644
--- a/tests/tpow.c
+++ b/tests/tpow.c
@@ -62,12 +62,12 @@ test_pow (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mp_rnd_t rnd_mode)
#define TEST_FUNCTION mpfr_pow_ui
#define INTEGER_TYPE unsigned long
-#define RAND_FUNCTION(x) mpfr_random2(x, MPFR_LIMB_SIZE (x), 1)
+#define RAND_FUNCTION(x) mpfr_random2(x, MPFR_LIMB_SIZE (x), 1, RANDS)
#include "tgeneric_ui.c"
#define TEST_FUNCTION mpfr_pow_si
#define INTEGER_TYPE long
-#define RAND_FUNCTION(x) mpfr_random2(x, MPFR_LIMB_SIZE (x), 1)
+#define RAND_FUNCTION(x) mpfr_random2(x, MPFR_LIMB_SIZE (x), 1, RANDS)
#define test_generic_ui test_generic_si
#include "tgeneric_ui.c"