-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overhaul of the prime-tests #541
base: develop
Are you sure you want to change the base?
Conversation
czurnieden
commented
Mar 7, 2023
- Removal of the Fermat test mp_prime_fermat
- Replacement of the Strong Lucas-Selfridge test with the Extra Strong Lucas test with Robert Baillie's parameters P = 3 and Q = 1
- Additional tests to check the implementations of the Miller-Rabin and Extra Strong Lucas tests
e3b6178
to
ee15ef7
Compare
It took a bit but I found it: this has been promised in a comment in #498. But what are two years between friends? |
9765d5b
to
6fbbc0e
Compare
My implementation of the extra strong Lucas test has been successfully checked against all Miller-Rabin pseudoprimes to the base 2 up to |
e34d96f
to
d2b62d4
Compare
There are many preprocessor branches now in |
The generated SPRP tables including their factoring (used to compute some of the limits here) is in the new repository SPRPs. |
32db1a7
to
6e81627
Compare
There are no changes of the API directly but the Frobenius-Underwood test is an addition to the Extra-Strong-Lucas test now, instead of an alternative. If that is not seen as a problem we could merge it now instead of later (version 2). Oh, and I found a bit of an unrelated mess in the documentation and fixed it here instead of a separate PR. Drop me a note if you[1] want a separate PR. [1] "You"? Who is "you"? Y'all, of course! ;-) |
0426149
to
7a9df19
Compare
- Removal of the Fermat test mp_prime_fermat - Replacement of the Strong Lucas-Selfridge test with the Extra Strong Lucas test with Robert Baillie's parameters P = 3 and Q = 1 - Finer grained early-outs - All determistic tests < 2^64 empirically verified - Additional tests to check the implementations of the Miller-Rabin and Extra Strong Lucas tests - Addition of tests of the LTM_USE_ONLY_MR to the CI - Documentation update
7a9df19
to
681dc56
Compare