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/hypot.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/hypot.c')
-rw-r--r-- | src/hypot.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/hypot.c b/src/hypot.c index ef292e7b6..8475e2754 100644 --- a/src/hypot.c +++ b/src/hypot.c @@ -41,6 +41,13 @@ mpfr_hypot (mpfr_ptr z, mpfr_srcptr x, mpfr_srcptr y, mpfr_rnd_t rnd_mode) MPFR_ZIV_DECL (loop); MPFR_BLOCK_DECL (flags); + MPFR_LOG_FUNC + (("x[%Pu]=%.*Rg y[%Pu]=%.*Rg rnd=%d", + mpfr_get_prec (x), mpfr_log_prec, x, + mpfr_get_prec (y), mpfr_log_prec, y, rnd_mode), + ("z[%Pu]=%.*Rg inexact=%d", + mpfr_get_prec (z), mpfr_log_prec, z, inexact)); + /* particular cases */ if (MPFR_ARE_SINGULAR (x, y)) { |