summaryrefslogtreecommitdiff
path: root/tests/tui_div.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2016-02-04 19:03:05 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2016-02-04 19:03:05 +0000
commit0ce3b12ed1e05dddf7e70aec854a755506ec02f5 (patch)
tree3d2edf4c81f41b0c517de40cae923dc07ce3a9fe /tests/tui_div.c
parent5a29bba931f60366ce37e15f1e3da3ca4fbeb5c0 (diff)
downloadmpfr-0ce3b12ed1e05dddf7e70aec854a755506ec02f5.tar.gz
MPFR_PREC_MIN is now 1, in accordance with the next revision of IEEE-754
fixed tests to start at MPFR_PREC_MIN instead of hard-coded value of 2 git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9952 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tui_div.c')
-rw-r--r--tests/tui_div.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tui_div.c b/tests/tui_div.c
index b7a55cdd8..d444237ff 100644
--- a/tests/tui_div.c
+++ b/tests/tui_div.c
@@ -55,7 +55,7 @@ check_inexact (void)
mpfr_init (y);
mpfr_init (z);
- for (px = 2; px < 300; px++)
+ for (px = MPFR_PREC_MIN; px < 300; px++)
{
mpfr_set_prec (x, px);
do
@@ -64,7 +64,7 @@ check_inexact (void)
}
while (mpfr_cmp_ui (x, 0) == 0);
u = randlimb ();
- for (py = 2; py < 300; py++)
+ for (py = MPFR_PREC_MIN; py < 300; py++)
{
mpfr_set_prec (y, py);
mpfr_set_prec (z, py + px);