summaryrefslogtreecommitdiff
path: root/tests/tmul.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tmul.c')
-rw-r--r--tests/tmul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tmul.c b/tests/tmul.c
index c05e9472a..6841552ee 100644
--- a/tests/tmul.c
+++ b/tests/tmul.c
@@ -209,7 +209,7 @@ check_exact (void)
{
mpfr_random (a);
mpfr_random (b);
- rnd = LONG_RAND() % 4;
+ rnd = randlimb () % 4;
inexact = mpfr_mul (c, a, b, rnd);
if (mpfr_mul (d, a, b, rnd)) /* should be always exact */
{