From 2bed9ef1b8d478fb86dfd522383b901cdac852ec Mon Sep 17 00:00:00 2001 From: thevenyp Date: Thu, 17 Mar 2011 06:30:11 +0000 Subject: 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 --- src/atanh.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/atanh.c') diff --git a/src/atanh.c b/src/atanh.c index 113676d2c..00d33dae4 100644 --- a/src/atanh.c +++ b/src/atanh.c @@ -36,8 +36,10 @@ mpfr_atanh (mpfr_ptr y, mpfr_srcptr xt , mpfr_rnd_t rnd_mode) MPFR_ZIV_DECL (loop); MPFR_SAVE_EXPO_DECL (expo); - MPFR_LOG_FUNC (("x[%#R]=%R rnd=%d", xt, xt, rnd_mode), - ("y[%#R]=%R inexact=%d", y, y, inexact)); + MPFR_LOG_FUNC + (("x[%Pu]=%.*Rg rnd=%d", mpfr_get_prec (xt), mpfr_log_prec, xt, rnd_mode), + ("y[%Pu]=%.*Rg inexact=%d", + mpfr_get_prec (y), mpfr_log_prec, y, inexact)); /* Special cases */ if (MPFR_UNLIKELY (MPFR_IS_SINGULAR (xt))) -- cgit v1.2.1