summaryrefslogtreecommitdiff
path: root/tests/tset.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2009-03-27 10:23:32 +0000
committerzimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2009-03-27 10:23:32 +0000
commit5c9187b52336154d3cb5195f45b99c80e5097d24 (patch)
tree8a190343aae977bc4ef3dacf964f96e38f1212ac /tests/tset.c
parentd8d8a0e6caf163cbffa9d1f2beb4c6c7d2e2bdb9 (diff)
downloadmpc-5c9187b52336154d3cb5195f45b99c80e5097d24.tar.gz
[configure.ac] minimal GMP version is now 4.1.3 instead of 4.2
[mem.c] new wrapper file for mp_get_memory_functions (not in GMP 4.1.3) [get_str.c,inp_str.c] moved mp_get_memory_functions to mem.c [tests/tset.c,tests/random.c] added wrappers for gmp_random functions (not in GMP 4.1.3) git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@509 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tset.c')
-rw-r--r--tests/tset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tset.c b/tests/tset.c
index 3718e84..519744a 100644
--- a/tests/tset.c
+++ b/tests/tset.c
@@ -1,6 +1,6 @@
/* tset.c -- Test file for mpc_set_x and mpc_set_x_x functions.
-Copyright (C) 2009 Philippe Th\'eveny
+Copyright (C) 2009 Philippe Th\'eveny, Paul Zimmermann
This file is part of the MPC Library.
@@ -279,7 +279,7 @@ check_set_str (mp_exp_t exp_max)
mpc_set_prec (got, prec);
mpc_set_prec (expected, prec);
- base = 2 + (unsigned int) gmp_urandomm_ui (rands, 35);
+ base = 2 + (unsigned int) urandomm_ui (35);
mpfr_set_nan (MPC_RE (expected));
mpfr_set_inf (MPC_IM (expected), prec % 2 - 1);