summaryrefslogtreecommitdiff
path: root/tests/tabs.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2004-02-23 16:47:46 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2004-02-23 16:47:46 +0000
commitc36411789faeb8766df0ebbc126847ae7ef323d3 (patch)
tree6ba7d098e3b9ab08b03760c40b2f675c6f671efe /tests/tabs.c
parent4f0fd1300292f0f142dc108490bff1c370499ee3 (diff)
downloadmpfr-c36411789faeb8766df0ebbc126847ae7ef323d3.tar.gz
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
Diffstat (limited to 'tests/tabs.c')
-rw-r--r--tests/tabs.c2
1 files changed, 1 insertions, 1 deletions
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);