summaryrefslogtreecommitdiff
path: root/tests/tmul_ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tmul_ui.c')
-rw-r--r--tests/tmul_ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tmul_ui.c b/tests/tmul_ui.c
index fd6e08e19..30111acce 100644
--- a/tests/tmul_ui.c
+++ b/tests/tmul_ui.c
@@ -40,7 +40,7 @@ check_inexact (mp_prec_t p)
mpfr_init (y);
mpfr_init2 (z, p + mp_bits_per_limb);
mpfr_random (x);
- u = LONG_RAND();
+ u = randlimb ();
if (mpfr_mul_ui (z, x, u, GMP_RNDN))
{
fprintf (stderr, "Error: result should be exact\n");