From c36411789faeb8766df0ebbc126847ae7ef323d3 Mon Sep 17 00:00:00 2001 From: zimmerma Date: Mon, 23 Feb 2004 16:47:46 +0000 Subject: use GMP_RND_MAX instead of hard-coded constant git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2795 280ebfd0-de03-0410-8827-d642c229c3f4 --- tests/tabs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/tabs.c') diff --git a/tests/tabs.c b/tests/tabs.c index 3e3fcbca6..ba65061b3 100644 --- a/tests/tabs.c +++ b/tests/tabs.c @@ -52,7 +52,7 @@ check_inexact (void) for (q=2; q<2*p; q++) { mpfr_set_prec (y, q); - for (rnd=0; rnd<4; rnd++) + for (rnd = 0; rnd < GMP_RND_MAX; rnd++) { inexact = mpfr_abs (y, x, rnd); cmp = mpfr_cmp (y, absx); -- cgit v1.2.1