summaryrefslogtreecommitdiff
path: root/tests/tcan_round.c
diff options
context:
space:
mode:
authorpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2004-02-06 13:27:05 +0000
committerpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2004-02-06 13:27:05 +0000
commit19767e6f6f9089ef12f81e9f3b64f5c71ff71c84 (patch)
tree388f8324eb4f2595b607ac0b1afa7352ca4c9c5d /tests/tcan_round.c
parent6e0b309b6faf9353e1732c77a95099a5aa5d86c0 (diff)
downloadmpfr-19767e6f6f9089ef12f81e9f3b64f5c71ff71c84.tar.gz
+ Better support of non IEEE doubles.
+ You can compile MPFR without gmp internal files (ie gmp-impl.h, gmp-mparam.h, and config.h). You only need gmp.h and libgmp.a. But you can still compile with GMP internal files (configure detects them). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2665 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tcan_round.c')
-rw-r--r--tests/tcan_round.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tcan_round.c b/tests/tcan_round.c
index f9c2b4a40..e0b1d0119 100644
--- a/tests/tcan_round.c
+++ b/tests/tcan_round.c
@@ -63,8 +63,8 @@ main (void)
for (j = 30; j < 99; j++)
{
mp_rnd_t r1, r2;
- for (r1 = 0; r1 < 4; r1++)
- for (r2 = 0; r2 < 4; r2++)
+ for (r1 = 0; r1 < GMP_RND_MAX ; r1++)
+ for (r2 = 0; r2 < GMP_RND_MAX ; r2++)
mpfr_can_round (x, i, r1, r2, j); /* test for assertions */
}