diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2007-08-10 01:38:25 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2007-08-10 01:38:25 +0000 |
commit | 09fb9dea8bbaacb626ec9f66a10dfbfe0b0395f6 (patch) | |
tree | e033e3675a95dac85381a900bfce9557468dbd7b /tests/tasinh.c | |
parent | 504d7f95f8ce89e2b8d133f4f577e2100871dfcf (diff) | |
download | mpfr-09fb9dea8bbaacb626ec9f66a10dfbfe0b0395f6.tar.gz |
tasinh.c: fixed test.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4741 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tasinh.c')
-rw-r--r-- | tests/tasinh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tasinh.c b/tests/tasinh.c index b271816d3..d87c2d17a 100644 --- a/tests/tasinh.c +++ b/tests/tasinh.c @@ -130,7 +130,7 @@ special (void) mpfr_set_prec (y, 2); mpfr_set_str (x, "1.8000000000009@-6", 16, GMP_RNDN); mpfr_asinh (y, x, GMP_RNDZ); - mpfr_init2 (z, 2); + mpfr_set_prec (z, 2); mpfr_set_str (z, "1.0@-6", 16, GMP_RNDN); if (!mpfr_equal_p (y, z)) { |