summaryrefslogtreecommitdiff
path: root/tests/tgeneric.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2021-02-06 21:38:30 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2021-02-06 21:38:30 +0000
commita40ee535dd859565b9b73a174772edbe607cca89 (patch)
tree16d72dc8aabb3253e9320688313137706671a248 /tests/tgeneric.c
parent3b4f46e3a571714e9952c61b54f3308fd1ab70ce (diff)
downloadmpfr-a40ee535dd859565b9b73a174772edbe607cca89.tar.gz
[tests/tgeneric.c] Added debug info.
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14390 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tgeneric.c')
-rw-r--r--tests/tgeneric.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/tgeneric.c b/tests/tgeneric.c
index 423e44f8f..36acab275 100644
--- a/tests/tgeneric.c
+++ b/tests/tgeneric.c
@@ -235,6 +235,11 @@ test_generic (mpfr_prec_t p0, mpfr_prec_t p1, unsigned int nmax)
mpfr_set_prec (x2, IEEE_DBL_MANT_DIG);
#endif
+#ifdef MPFR_DEBUG_TGENERIC
+ printf ("prec = %u, n = %u, xprec = %u\n",
+ (unsigned int) prec, n, (unsigned int) xprec);
+#endif
+
/* Generate random arguments, even in the special cases
(this may not be needed, but this is simpler).
Note that if RAND_FUNCTION is defined, this specific