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

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


details:   /var/hg/gmp-6.2/rev/09e101b6f2ff
changeset: 18080:09e101b6f2ff
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Tue Sep 22 15:12:57 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 f1b373b126e2 -r 09e101b6f2ff tests/mpz/t-mul.c
--- a/tests/mpz/t-mul.c	Tue Sep 22 11:27:39 2020 +0200
+++ b/tests/mpz/t-mul.c	Tue Sep 22 15:12:57 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