diff options
Diffstat (limited to 'tests/tzeta.c')
-rw-r--r-- | tests/tzeta.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tzeta.c b/tests/tzeta.c index c32626224..dcba3d217 100644 --- a/tests/tzeta.c +++ b/tests/tzeta.c @@ -42,7 +42,7 @@ int main() mpfr_zeta(result,p,GMP_RNDN); #ifdef DEBUG printf("Valeur de zeta(2) avec prec=53 et arrondi au plus pres:\n"); - mpfr_print_raw(result);printf("\n"); + mpfr_print_binary(result);printf("\n"); t=mpfr_out_str(stdout,10,0,result,GMP_RNDN);printf("\n"); #endif if (mpfr_get_d(result) != 1.64493406684822640607e+00) { @@ -56,13 +56,13 @@ int main() mpfr_mul(p,p,p,GMP_RNDN); mpfr_set_ui(res_p,6,GMP_RNDN); mpfr_div(p,p,res_p,GMP_RNDN); - /*mpfr_print_raw(p);printf("\n"); + /*mpfr_print_binary(p);printf("\n"); t=mpfr_out_str(stdout,10,0,p,GMP_RNDN);printf("\n");*/ mpfr_can_round(p,63,GMP_RNDN,GMP_RNDN,53); mpfr_set(res_p,p,GMP_RNDN); #ifdef DEBUG printf("Valeur de pi^2/6 avec prec=53 et arrondi au plus pres:\n"); - mpfr_print_raw(res_p);printf("\n"); + mpfr_print_binary(res_p);printf("\n"); t=mpfr_out_str(stdout,10,0,res_p,GMP_RNDN);printf("\n"); #endif |