summaryrefslogtreecommitdiff
path: root/tests/texpm1.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/texpm1.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/texpm1.c')
-rw-r--r--tests/texpm1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/texpm1.c b/tests/texpm1.c
index 76d30ee83..fd27a8c2f 100644
--- a/tests/texpm1.c
+++ b/tests/texpm1.c
@@ -159,7 +159,7 @@ main (int argc, char *argv[])
special ();
- test_generic (2, 100, 100);
+ test_generic (MPFR_PREC_MIN, 100, 100);
data_check ("data/expm1", mpfr_expm1, "mpfr_expm1");
bad_cases (mpfr_expm1, mpfr_log1p, "mpfr_expm1", 256, -256, 255,