summaryrefslogtreecommitdiff
path: root/tests/tsi_op.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2016-02-05 08:24:01 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2016-02-05 08:24:01 +0000
commit36d3124b2f7cced3d57011ce875360d224e46700 (patch)
tree63b6c638085bae102c97b80a3fd8559780bd16e2 /tests/tsi_op.c
parent6c2dd40880db133ad2db43d9d753b71dac940d80 (diff)
downloadmpfr-36d3124b2f7cced3d57011ce875360d224e46700.tar.gz
changed test_generic() calls to start from MPFR_PREC_MIN instead of 2;
this revealed a special-case code in mpfr_exp which didn't work for prec=1 git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9955 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tsi_op.c')
-rw-r--r--tests/tsi_op.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/tsi_op.c b/tests/tsi_op.c
index ed5cdc10a..02c4e8c0c 100644
--- a/tests/tsi_op.c
+++ b/tests/tsi_op.c
@@ -138,10 +138,10 @@ main (int argc, char *argv[])
check_invert ();
- test_generic_add_si (2, 200, 17);
- test_generic_sub_si (2, 200, 17);
- test_generic_mul_si (2, 200, 17);
- test_generic_div_si (2, 200, 17);
+ test_generic_add_si (MPFR_PREC_MIN, 200, 17);
+ test_generic_sub_si (MPFR_PREC_MIN, 200, 17);
+ test_generic_mul_si (MPFR_PREC_MIN, 200, 17);
+ test_generic_div_si (MPFR_PREC_MIN, 200, 17);
tests_end_mpfr ();
return 0;