Commit Graph

12 Commits

Author SHA1 Message Date
William Hart
1253f4cade Fixed a problem in mpz_nextprime (probably we want 5 and 7 to be prime :-)) 2014-03-31 14:30:33 +01:00
William Hart
0d8b59ca28 Fix mpz_nextprime so it runs 25 rounds of miller-rabin in total (same as GMP). 2014-03-26 12:39:08 +00:00
William Hart
7aa8f6364e Further C code cleanups. 2014-02-16 17:23:27 +00:00
briangladman
48d48a58d3 change name of mpz_next_likely_prime to mpz_next_prime_candidate 2013-09-02 15:10:16 +01:00
gladman
64a4bcb95f 1. revert mpz_nexxt_likely_prime to previous API
2. add miller_rabin.c implementing a thread safe version of Miller-Rabin
2011-12-04 18:43:13 +00:00
gladman
a8fc936b11 change nextprime.c to use new gmpz_next_likely_prime API
(we could remove mpz_nextprime or define it as an alias)
2011-11-23 15:13:56 +00:00
jasonmoxham
6a8ac2c03e change name of mpz_next_probable_prime to mpz_next_likely_prime 2009-09-07 19:56:58 +00:00
jasonmoxham
a6fde04b58 Obsoleted mpz_probab_prime_p 2009-08-17 11:53:22 +00:00
jasonmoxham
d8fdd6ef28 replacement function mpz_next_probable_prime 2009-08-17 09:03:35 +00:00
jasonmoxham
e554550755 for file in $(find -name \*.c ) ; do sed -e "s/#include \"gmp\.h\"/#include \"mpir.h\"/g" $file > temp ; mv temp $file ; done
for file in $(find -name \*.h ) ; do sed -e "s/#include \"gmp\.h\"/#include \"mpir.h\"/g" $file > temp ; mv temp $file ; done
for file in $(find -name \*.cc) ; do sed -e "s/#include \"gmp\.h\"/#include \"mpir.h\"/g" $file > temp ; mv temp $file ; done
2009-02-12 10:24:24 +00:00
wbhart
c7caca6d56 Set native line endings for all .c, .h, as, .asm, .s, .in, .m4, .cc, am 2008-06-25 07:33:36 +00:00
wbhart
a197a2d3eb Basic GMP files with a new core2 directory and amd_64 directory with Martin's and Gaudry's patches.
Removed directories for no longer supported architectures.
2008-04-17 21:03:07 +00:00