summaryrefslogtreecommitdiff
path: root/src/const_catalan.c
diff options
context:
space:
mode:
authorthevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4>2011-03-17 06:30:11 +0000
committerthevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4>2011-03-17 06:30:11 +0000
commit2bed9ef1b8d478fb86dfd522383b901cdac852ec (patch)
treede6b918413225754dea3b3b6dae6c2a50658cb4e /src/const_catalan.c
parentd6fa82d504df0d9bd81bc3e4aa465e2781b9b98c (diff)
downloadmpfr-2bed9ef1b8d478fb86dfd522383b901cdac852ec.tar.gz
Get rid of deprecated register_printf_function function in logging system.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7575 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/const_catalan.c')
-rw-r--r--src/const_catalan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/const_catalan.c b/src/const_catalan.c
index a85cbd904..2771879d7 100644
--- a/src/const_catalan.c
+++ b/src/const_catalan.c
@@ -91,7 +91,8 @@ mpfr_const_catalan_internal (mpfr_ptr g, mpfr_rnd_t rnd_mode)
MPFR_ZIV_DECL (loop);
MPFR_GROUP_DECL (group);
- MPFR_LOG_FUNC (("rnd_mode=%d", rnd_mode), ("g[%#R]=%R inex=%d", g, g, inex));
+ MPFR_LOG_FUNC (("rnd_mode=%d", rnd_mode),
+ ("g[%Pu]=%.*Rg inex=%d", mpfr_get_prec (g), mpfr_log_prec, g, inex));
/* Here are the WC (max prec = 100.000.000)
Once we have found a chain of 11, we only look for bigger chain.