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/modf.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/modf.c')
-rw-r--r-- | src/modf.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/modf.c b/src/modf.c index d74c0b697..21968db8b 100644 --- a/src/modf.c +++ b/src/modf.c @@ -33,8 +33,12 @@ mpfr_modf (mpfr_ptr iop, mpfr_ptr fop, mpfr_srcptr op, mpfr_rnd_t rnd_mode) mpfr_prec_t opq; int inexi, inexf; - MPFR_LOG_FUNC (("op[%#R]=%R rnd=%d", op, op, rnd_mode), - ("iop[%#R]=%R fop[%#R]=%R", iop, iop, fop, fop)); + MPFR_LOG_FUNC + (("op[%Pu]=%.*Rg rnd=%d", + mpfr_get_prec (op), mpfr_log_prec, op, rnd_mode), + ("iop[%Pu]=%.*Rg fop[%Pu]=%.*Rg", + mpfr_get_prec (iop), mpfr_log_prec, iop, + mpfr_get_prec (fop), mpfr_log_prec, fop)); MPFR_ASSERTN (iop != fop); |