mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Programming (https://www.mersenneforum.org/forumdisplay.php?f=29)
-   -   GMP PRP programs (https://www.mersenneforum.org/showthread.php?t=27660)

paulunderwood 2022-03-18 05:16

GMP PRP programs
 
7 Attachment(s)
This is the first in a series of three GMP based PRP programs; It does A times Fermat PRP tests followed by B times Lucas PRP tests. The second program will do the same but with "Jacobi strength" ; The third will do strong tests.

Note parts of the codes can be replaced with mpz_powm(res, base, something, align);

paulunderwood 2022-04-29 14:18

2 Attachment(s)
Here is a program that does Miller-Rabin (Fermat) and the same sort of thing in Lucas terms. :geek:


All times are UTC. The time now is 16:31.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.