summaryrefslogtreecommitdiff
path: root/tests/tui_div.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/tui_div.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/tui_div.c')
-rw-r--r--tests/tui_div.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tui_div.c b/tests/tui_div.c
index 56134776f..ed2777442 100644
--- a/tests/tui_div.c
+++ b/tests/tui_div.c
@@ -70,7 +70,7 @@ check_inexact (void)
{
mpfr_set_prec (y, py);
mpfr_set_prec (z, py + px);
- for (rnd=0; rnd<4; rnd++)
+ for (rnd = 0; rnd < GMP_RND_MAX; rnd++)
{
inexact = mpfr_ui_div (y, u, x, rnd);
if (mpfr_mul (z, y, x, rnd))