Reduce memory usage of two fft tests, so ulimit doesn't have to be changed on

openbsd.
This commit is contained in:
William Hart 2015-06-11 00:19:08 +00:00
parent 99c2a90cfa
commit d9e4276c7d
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ main(void)
/* normalisation mod p = 2^wn + 1 where B divides nw and n is a power of 2 */
for (bits = GMP_LIMB_BITS; bits < 16*GMP_LIMB_BITS; bits += GMP_LIMB_BITS)
{
for (j = 1; j < 32; j++)
for (j = 1; j < 16; j++)
{
for (k = 1; k <= GMP_LIMB_BITS; k <<= 1)
{

View File

@ -66,7 +66,7 @@ main(void)
/* normalisation mod p = 2^wn + 1 where B divides nw and n is a power of 2 */
for (bits = GMP_LIMB_BITS; bits < 16*GMP_LIMB_BITS; bits += GMP_LIMB_BITS)
{
for (j = 1; j < 32; j++)
for (j = 1; j < 16; j++)
{
for (k = 1; k <= GMP_LIMB_BITS; k <<= 1)
{