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/add_ui.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/add_ui.c')
-rw-r--r-- | src/add_ui.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/add_ui.c b/src/add_ui.c index 8e80a12a2..156173a05 100644 --- a/src/add_ui.c +++ b/src/add_ui.c @@ -26,6 +26,11 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., int mpfr_add_ui (mpfr_ptr y, mpfr_srcptr x, unsigned long int u, mpfr_rnd_t rnd_mode) { + MPFR_LOG_FUNC + (("x[%Pu]=%.*Rg u=%d rnd=%d", + mpfr_get_prec(x), mpfr_log_prec, x, u, rnd_mode), + ("y[%Pu]=%.*Rg", mpfr_get_prec (y), mpfr_get_prec, y)); + if (MPFR_LIKELY(u != 0) ) /* if u=0, do nothing */ { mpfr_t uu; |