diff options
Diffstat (limited to 'src/ai.c')
-rw-r--r-- | src/ai.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -68,7 +68,9 @@ mpfr_ai1 (mpfr_ptr y, mpfr_srcptr x, mpfr_rnd_t rnd) int test1, test2; /* Logging */ - MPFR_LOG_FUNC ( ("x[%#R]=%R rnd=%d", x, x, rnd), ("y[%#R]=%R", y, y) ); + MPFR_LOG_FUNC ( + ("x[%Pu]=%.*Rg rnd=%d", mpfr_get_prec (x), mpfr_log_prec, x, rnd), + ("y[%Pu]=%.*Rg", mpfr_get_prec (y), mpfr_log_prec, y) ); /* Special cases */ if (MPFR_UNLIKELY (MPFR_IS_SINGULAR (x))) @@ -333,7 +335,9 @@ mpfr_ai2 (mpfr_ptr y, mpfr_srcptr x, mpfr_rnd_t rnd) int test0, test1; /* Logging */ - MPFR_LOG_FUNC ( ("x[%#R]=%R rnd=%d", x, x, rnd), ("y[%#R]=%R", y, y) ); + MPFR_LOG_FUNC ( + ("x[%Pu]=%.*Rg rnd=%d", mpfr_get_prec (x), mpfr_log_prec, x, rnd), + ("y[%Pu]=%.*Rg", mpfr_get_prec (y), mpfr_log_prec, y)); /* Special cases */ if (MPFR_UNLIKELY (MPFR_IS_SINGULAR (x))) |