diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2001-11-30 13:37:37 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2001-11-30 13:37:37 +0000 |
commit | 538b931a3b879b73798dcbe4fd9a979a95174cd4 (patch) | |
tree | 713fa59db50eadb7a0886a390baaebda16331f8a /tests/ttan.c | |
parent | 2a906d4c9bbb339a55823e51fa92e2e78fdbb917 (diff) | |
download | mpfr-538b931a3b879b73798dcbe4fd9a979a95174cd4.tar.gz |
start tests with precision 2 instead of 1
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1606 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/ttan.c')
-rw-r--r-- | tests/ttan.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ttan.c b/tests/ttan.c index b667505c0..3bb2d3189 100644 --- a/tests/ttan.c +++ b/tests/ttan.c @@ -59,17 +59,17 @@ main(int argc, char *argv[]) check53(-1.0/0.0, 0.0/0.0, GMP_RNDN); mpfr_init (x); - mpfr_set_prec (x, 1); + mpfr_set_prec (x, 2); mpfr_set_d (x, 0.5, GMP_RNDN); mpfr_tan (x, x, GMP_RNDD); - if (mpfr_get_d(x) != 0.50) + if (mpfr_get_d(x) != 0.5) { fprintf (stderr, "mpfr_tan(0.5, GMP_RNDD) failed\n"); exit (1); } mpfr_clear (x); - test_generic (1, 100, 100); + test_generic (2, 100, 100); return 0; } |