summaryrefslogtreecommitdiff
path: root/tests/tsub_ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tsub_ui.c')
-rw-r--r--tests/tsub_ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tsub_ui.c b/tests/tsub_ui.c
index 9ddb0ae45..ef69df326 100644
--- a/tests/tsub_ui.c
+++ b/tests/tsub_ui.c
@@ -63,7 +63,7 @@ check_two_sum (mp_prec_t p)
x = randlimb ();
}
while (x < 1);
- mpfr_random (y);
+ mpfr_urandomb (y, RANDS);
rnd = GMP_RNDN;
inexact = mpfr_sub_ui (u, y, x, rnd);
mpfr_add_ui (v, u, x, rnd);