summaryrefslogtreecommitdiff
path: root/tests/tdiv_ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tdiv_ui.c')
-rw-r--r--tests/tdiv_ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tdiv_ui.c b/tests/tdiv_ui.c
index ad0bfae2d..23cfc78de 100644
--- a/tests/tdiv_ui.c
+++ b/tests/tdiv_ui.c
@@ -132,7 +132,7 @@ check_inexact (void)
{
mpfr_set_prec (x, px);
mpfr_random (x);
- do { u = LONG_RAND (); } while (u == 0);
+ do { u = randlimb (); } while (u == 0);
for (py=2; py<300; py++)
{
mpfr_set_prec (y, py);