summaryrefslogtreecommitdiff
path: root/src/sqrt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sqrt.c')
-rw-r--r--src/sqrt.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sqrt.c b/src/sqrt.c
index d958ef64c..57847d7eb 100644
--- a/src/sqrt.c
+++ b/src/sqrt.c
@@ -43,8 +43,10 @@ mpfr_sqrt (mpfr_ptr r, mpfr_srcptr u, mpfr_rnd_t rnd_mode)
mpfr_exp_t expr;
MPFR_TMP_DECL(marker);
- MPFR_LOG_FUNC (("x[%#R]=%R rnd=%d", u, u, rnd_mode),
- ("y[%#R]=%R inexact=%d", r, r, inexact));
+ MPFR_LOG_FUNC
+ (("x[%Pu]=%.*Rg rnd=%d", mpfr_get_prec (u), mpfr_log_prec, u, rnd_mode),
+ ("y[%Pu]=%.*Rg inexact=%d",
+ mpfr_get_prec (r), mpfr_log_prec, r, inexact));
if (MPFR_UNLIKELY(MPFR_IS_SINGULAR(u)))
{