summaryrefslogtreecommitdiff
path: root/tests/tconst_euler.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/tconst_euler.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/tconst_euler.c')
-rw-r--r--tests/tconst_euler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tconst_euler.c b/tests/tconst_euler.c
index 7aa001ed2..c8354792b 100644
--- a/tests/tconst_euler.c
+++ b/tests/tconst_euler.c
@@ -65,7 +65,7 @@ main (int argc, char *argv[])
mpfr_set_prec (t, prec);
yprec = prec + 10;
- for (rnd=0; rnd<4; rnd++)
+ for (rnd = 0; rnd < GMP_RND_MAX; rnd++)
{
mpfr_set_prec (y, yprec);
mpfr_const_euler (y, rnd);