summaryrefslogtreecommitdiff
path: root/src/mul_2ui.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/mul_2ui.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/mul_2ui.c')
-rw-r--r--src/mul_2ui.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mul_2ui.c b/src/mul_2ui.c
index 5d5f8e6f2..48de652fb 100644
--- a/src/mul_2ui.c
+++ b/src/mul_2ui.c
@@ -27,8 +27,11 @@ mpfr_mul_2ui (mpfr_ptr y, mpfr_srcptr x, unsigned long int n, mpfr_rnd_t rnd_mod
{
int inexact;
- MPFR_LOG_FUNC (("x[%#R]=%R n=%lu rnd=%d", x, x, n, rnd_mode),
- ("y[%#R]=%R inexact=%d", y, y, inexact));
+ MPFR_LOG_FUNC
+ (("x[%Pu]=%.*Rg n=%lu rnd=%d",
+ mpfr_get_prec (x), mpfr_log_prec, x, n, rnd_mode),
+ ("y[%Pu]=%.*Rg inexact=%d",
+ mpfr_get_prec (y), mpfr_log_prec, y, inexact));
inexact = MPFR_UNLIKELY(y != x) ? mpfr_set (y, x, rnd_mode) : 0;