GMP issue with mpz_nextprime()

2020-01-13 Thread simondev1
Dear gmp developer, Found non-prime with method mpz_nextprime: GMP Version 4.31(probably) Compiled into a 64bit windows DLL p = 2028576353201; mpz_nextprime(p, p); // this will find 2028576353203 which is not prime. I assume the number of repetitions for the probablyprime test inside

Re: assertion failure in snprntffuns.c:79 for i686-w64-mingw32

2020-01-13 Thread Vincent Lefevre
On 2020-01-11 16:33:30 +0100, Marco Bodrato wrote: > Ciao, > > Il Ven, 10 Gennaio 2020 5:04 pm, Vincent Lefevre ha scritto: > > On 2020-01-10 16:27:31 +0100, Marco Bodrato wrote: > >> Can you please try with the development version? > > > I get the following error: > > > gmp_vsnprintf return