diff options
author | thevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4> | 2011-03-17 06:30:11 +0000 |
---|---|---|
committer | thevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4> | 2011-03-17 06:30:11 +0000 |
commit | 2bed9ef1b8d478fb86dfd522383b901cdac852ec (patch) | |
tree | de6b918413225754dea3b3b6dae6c2a50658cb4e /src/rec_sqrt.c | |
parent | d6fa82d504df0d9bd81bc3e4aa465e2781b9b98c (diff) | |
download | mpfr-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/rec_sqrt.c')
-rw-r--r-- | src/rec_sqrt.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rec_sqrt.c b/src/rec_sqrt.c index 1450cc52d..48e2f4dad 100644 --- a/src/rec_sqrt.c +++ b/src/rec_sqrt.c @@ -424,8 +424,9 @@ mpfr_rec_sqrt (mpfr_ptr r, mpfr_srcptr u, mpfr_rnd_t rnd_mode) mpfr_limb_ptr x; MPFR_TMP_DECL(marker); - MPFR_LOG_FUNC (("x[%#R]=%R rnd=%d", u, u, rnd_mode), - ("y[%#R]=%R inexact=%d", r, r, inex)); + MPFR_LOG_FUNC + (("x[%Pu]=%.*Rg rnd=%d", mpfr_get_prec (u), mpfr_log_prec, u, rnd_mode), + ("y[%Pu]=%.*Rg inexact=%d", mpfr_get_prec (r), mpfr_log_prec, r, inex)); /* special values */ if (MPFR_UNLIKELY(MPFR_IS_SINGULAR(u))) |