summaryrefslogtreecommitdiff
path: root/tests/tadd1sp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tadd1sp.c')
-rw-r--r--tests/tadd1sp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tadd1sp.c b/tests/tadd1sp.c
index 5ca46250c..e85c61f92 100644
--- a/tests/tadd1sp.c
+++ b/tests/tadd1sp.c
@@ -114,8 +114,8 @@ void check_random(mp_prec_t p)
for (i = 0 ; i < 500 ; i++)
{
- mpfr_random(b);
- mpfr_random(c);
+ mpfr_urandomb (b, RANDS);
+ mpfr_urandomb (c, RANDS);
if (MPFR_IS_PURE_FP(b) && MPFR_IS_PURE_FP(c))
{
if (MPFR_GET_EXP(b) < MPFR_GET_EXP(c))