CalmoSoft primes: Difference between revisions
Algol 68 stretch - notes
(Algol 68 Stretch sample - fix performance issues and optimise a little) |
(Algol 68 stretch - notes) |
||
Line 81:
Uses Algol 68G's LONG LONG INT for the Millar Rabin test.
To run this with Algol 68G, you need <code>-heap 512M</code> on the command line.
<br>Note the souirce of the <code>is probably prime</code> routine used here is available from a page in Rosetta Code - see the following link.
{{libheader|ALGOL 68-primes}}
<syntaxhighlight lang="algol68">
|