summaryrefslogtreecommitdiff
path: root/tests/ttan.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ttan.c')
-rw-r--r--tests/ttan.c6
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;
}