summaryrefslogtreecommitdiff
path: root/tests/mpz
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2004-02-18 02:24:19 +0100
committertege <tege@gmplib.org>2004-02-18 02:24:19 +0100
commitf8872776d180c53c5333d3e4a27b6e1cce8d6eb1 (patch)
tree5b2eafdf1ff760880e2b39720c81cea04acef400 /tests/mpz
parent3055944b8078137287c5854e5ba6c5ecc11d102d (diff)
downloadgmp-f8872776d180c53c5333d3e4a27b6e1cce8d6eb1.tar.gz
Exclude special huge operands unless WANT_FFT.
Diffstat (limited to 'tests/mpz')
-rw-r--r--tests/mpz/t-mul.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/mpz/t-mul.c b/tests/mpz/t-mul.c
index 8e735de71..fd6f7ef0d 100644
--- a/tests/mpz/t-mul.c
+++ b/tests/mpz/t-mul.c
@@ -123,6 +123,7 @@ main (int argc, char **argv)
one (i, multiplicand, multiplier);
}
+#if WANT_FFT
/* Make sure to test the FFT multiply code. The loop above will generate
large numbers, up to 32767 bits, but that is typically not large enough
for the FFT thresholds. */
@@ -140,6 +141,7 @@ main (int argc, char **argv)
one (-1, multiplicand, multiplier);
}
+#endif
mpz_clear (bs);
mpz_clear (multiplier);