Re: [mpir-devel] Problems with mpz_nextprime

2009-12-01 Thread Bill Hart
It is the code Jason wrote: mpz_nextprime -> mpz_next_likely_prime ->mpz_likely_prime (by JM). At one point I switched over to the other implementation, but Jason raised the trial factoring bound and the problems seemed to go away. So it is currently using his code. But on win32 it is problematic

Re: [mpir-devel] Re: TCC compiler on Windows

2009-12-01 Thread Bill Hart
I just got the FLINT 1 test suite working on Windows with TCC and built it against the mpir.dll I wrote. It runs flawlessly (apart from the mpz_nextprime issue which I reported separately). So that suggests that MPIR is working well. (BTW, the whole of FLINT 1 takes 4s to build using TCC, includin

Re: [mpir-devel] Problems with mpz_nextprime

2009-12-01 Thread Jeff Gilchrist
On Tue, Dec 1, 2009 at 12:07 PM, Bill Hart wrote: > mpz_nextprime seems to report lots of composites as primes on 32 bit > machines, including some even numbers! Is this the same issue as we > had on 64 bit machines? Is that the old built-in function or the new one Jason developed? Jeff. -- Yo

[mpir-devel] Problems with mpz_nextprime

2009-12-01 Thread Bill Hart
mpz_nextprime seems to report lots of composites as primes on 32 bit machines, including some even numbers! Is this the same issue as we had on 64 bit machines? Bill. -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send ema