fix unused variable + 32bits test

This commit is contained in:
Pascal 2016-09-09 09:32:54 +02:00
parent 33112b1c89
commit 6b5059ee2c
2 changed files with 8 additions and 3 deletions

View file

@ -24,7 +24,7 @@ acb_dirichlet_conrey_primitive(acb_dirichlet_conrey_t y, const acb_dirichlet_gro
if (cond % 8 == 0)
{
ulong l2 = x->log[1];
f = n_remove(&l2, 2);
n_remove(&l2, 2);
y->log[l++] = l2;
}
}
@ -38,7 +38,7 @@ acb_dirichlet_conrey_primitive(acb_dirichlet_conrey_t y, const acb_dirichlet_gro
if (cond % p == 0)
{
lp = x->log[k];
f = n_remove(&lp, p);
n_remove(&lp, p);
y->log[l++] = lp;
}
}

View file

@ -11,6 +11,11 @@
#include "dlog.h"
#include <math.h>
#if FLINT_BITS == 64
#define LIM UWORD(1000000000000)
#else
#define LIM UWORD(1000000000)
#endif
int main()
{
@ -39,7 +44,7 @@ int main()
e = 1;
}
for (; pe < UWORD(1000000000000); pe *= p, e++)
for (; pe < LIM; pe *= p, e++)
{
ulong k, phi;
nmod_t mod;