Miller–Rabin primality test: Difference between revisions

Content added Content deleted
m (→‎{{header|REXX}}: added/changed comments, optimized the SUSPENDERS subroutine.)
m (→‎{{header|REXX}}: reinstated original output introduction text.)
Line 2,308: Line 2,308:
end /*j*/ /*this comment not left blank. */
end /*j*/ /*this comment not left blank. */
return /*whew! All done with the primes*/</lang>
return /*whew! All done with the primes*/</lang>
{{out|Output when using the input of: <tt>10000 10</tt>}}
'''output''' when using the input of: &nbsp; <tt> 10000 10 </tt>
<pre style="height:30ex">
<pre style="height:30ex">
There are 1229 primes ≤ 10000
There are 1229 primes ≤ 10000