Jump to content

Miller–Rabin primality test: Difference between revisions

Line 4,224:
This version monkey patches class Integer to make it simpler to use.
It is deterministic for all integers < 3_317_044_064_679_887_385_961_981.
Increase 'primeprimes' array members for more "confidence" past this value.
 
<lang ruby>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.