Miller–Rabin primality test: Difference between revisions

m
(Added Quackery.)
m (→‎{{header|Wren}}: Minor tidy)
 
(One intermediate revision by one other user not shown)
Line 5,709:
 
<code>eratosthenes</code> and <code>isprime</code> are defined at [[Sieve of Eratosthenes#Quackery]].
 
<code>**mod</code> is defined at [[Modular exponentiation#Quackery]].
 
<syntaxhighlight lang="Quackery"> [ nextword
Line 6,832 ⟶ 6,834:
 
I've therefore used this method to check the same numbers as in my Kotlin entry.
<syntaxhighlight lang="ecmascriptwren">import "./big" for BigInt
 
var iters = 10
9,476

edits