[Gmp-commit] /var/hg/gmp: Print GMP_CHECK_FFT.

mercurial at gmplib.org mercurial at gmplib.org
Tue Sep 22 13:13:43 UTC 2020


details:   /var/hg/gmp/rev/838698ee40e1
changeset: 18091:838698ee40e1
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Tue Sep 22 15:12:20 2020 +0200
description:
Print GMP_CHECK_FFT.

diffstat:

 tests/mpz/t-mul.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r e524e8c9a6fb -r 838698ee40e1 tests/mpz/t-mul.c
--- a/tests/mpz/t-mul.c	Tue Sep 22 11:30:02 2020 +0200
+++ b/tests/mpz/t-mul.c	Tue Sep 22 15:12:20 2020 +0200
@@ -77,7 +77,10 @@
   extra_fft = getenv ("GMP_CHECK_FFT");
   fft_max_2exp = 0;
   if (extra_fft != NULL)
-    fft_max_2exp = atoi (extra_fft);
+    {
+      fft_max_2exp = atoi (extra_fft);
+      printf ("GMP_CHECK_FFT=%d (include this in bug reports)\n", fft_max_2exp);
+    }
 
   if (fft_max_2exp <= 1)	/* compat with old use of GMP_CHECK_FFT */
     fft_max_2exp = 22;		/* default limit, good for any machine */



More information about the gmp-commit mailing list