summaryrefslogtreecommitdiff
path: root/tests/tzeta.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2017-09-14 15:28:21 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2017-09-14 15:28:21 +0000
commit637828131d10c07859b8715e6acd7ec5aa939e56 (patch)
tree467151881401bdbde18b2254040f489a8d7b86ad /tests/tzeta.c
parent57572d9ed5f15ea3355e721b6b60535ad19ddb8a (diff)
downloadmpfr-637828131d10c07859b8715e6acd7ec5aa939e56.tar.gz
[tests] Got rid of the use of mpfr_print_binary, in general with
mpfr_dump. Replaced some "mpfr_out_str (stdout, 2, ...)" by mpfr_dump for consistency or as improvements. Some other corrections in the related error messages. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11750 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tzeta.c')
-rw-r--r--tests/tzeta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tzeta.c b/tests/tzeta.c
index d670c0a3b..d17a07b7f 100644
--- a/tests/tzeta.c
+++ b/tests/tzeta.c
@@ -168,7 +168,7 @@ test2 (void)
if (mpfr_cmp_str (y, val[i+1] , 2, MPFR_RNDZ))
{
printf("Wrong result for zeta(%s=", val[i]);
- mpfr_print_binary (x);
+ mpfr_out_str (stdout, 2, 0, x, MPFR_RNDN);
printf (").\nGot : ");
mpfr_dump (y);
printf("Expected: ");