Circular primes: Difference between revisions
m
→Embedded: Minor tidy
m (→Wren-cli: Minor tidy) |
m (→Embedded: Minor tidy) |
||
Line 3,208:
{{libheader|Wren-gmp}}
A massive speed-up, of course, when GMP is plugged in for the 'probably prime' calculations. 11 minutes 19 seconds including the stretch goal.
<syntaxhighlight lang="
import "./gmp" for Mpz
Line 3,301:
R(49081) : true
</pre>
=={{header|XPL0}}==
<syntaxhighlight lang="xpl0">func IsPrime(N); \Return 'true' if N > 2 is a prime number
|