Jump to content

Miller–Rabin primality test: Difference between revisions

m
(→‎{{header|Ada}}: -- revised solution using a (generic) package, to be used elsewhere in Rosetta Code)
Line 29:
For Number types >= 2**64 you may have to use an external library -- see below.
 
First, a package Miller_Rabin is specified. The same package is used else elsewhere in Rosetta Code, such as for the [[Carmichael 3 strong pseudoprimes [[http://rosettacode.org/wiki/Carmichael_3_strong_pseudoprimes,_or_Miller_Rabin%27s_nemesis]].
 
<lang Ada>generic
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.