diff options
Diffstat (limited to 'src/tanh.c')
-rw-r--r-- | src/tanh.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tanh.c b/src/tanh.c index 9bf93b787..7ad452f93 100644 --- a/src/tanh.c +++ b/src/tanh.c @@ -31,8 +31,10 @@ mpfr_tanh (mpfr_ptr y, mpfr_srcptr xt , mpfr_rnd_t rnd_mode) int inexact; MPFR_SAVE_EXPO_DECL (expo); - MPFR_LOG_FUNC (("x[%#R]=%R rnd=%d", xt, xt, rnd_mode), - ("y[%#R]=%R inexact=%d", y, y, inexact)); + MPFR_LOG_FUNC + (("x[%Pu]=%.*Rg rnd=%d", mpfr_get_prec (xt), mpfr_log_prec, xt, rnd_mode), + ("y[%Pu]=%.*Rg inexact=%d", + mpfr_get_prec (y), mpfr_log_prec, y, inexact)); /* Special value checking */ if (MPFR_UNLIKELY (MPFR_IS_SINGULAR (xt))) |