summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/tversion.c18
1 files changed, 12 insertions, 6 deletions
diff --git a/tests/tversion.c b/tests/tversion.c
index 344cabb9b..902aed6f8 100644
--- a/tests/tversion.c
+++ b/tests/tversion.c
@@ -268,12 +268,18 @@ main (void)
err = 1;
}
- printf ("[tversion] TLS = %s, float128 = %s, decimal = %s,"
- " GMP internals = %s\n",
- mpfr_buildopt_tls_p () ? "yes" : "no",
- mpfr_buildopt_float128_p () ? "yes" : "no",
- mpfr_buildopt_decimal_p () ? "yes" : "no",
- mpfr_buildopt_gmpinternals_p () ? "yes" : "no");
+ (printf) ("[tversion] TLS = %s, float128 = %s, decimal = %s,"
+ " GMP internals = %s\n",
+ mpfr_buildopt_tls_p () ? "yes" : "no",
+ mpfr_buildopt_float128_p () ? "yes" : "no",
+ mpfr_buildopt_decimal_p () ? "yes ("
+#ifdef DPD_FORMAT
+ "DPD"
+#else
+ "BID"
+#endif
+ ")" : "no",
+ mpfr_buildopt_gmpinternals_p () ? "yes" : "no");
(puts) ("[tversion] Shared cache = "
#if defined(MPFR_WANT_SHARED_CACHE)