CalmoSoft primes: Difference between revisions
Algol 68 stretch - corrected comment
(→{{header|ALGOL 68}}: Stretch) |
(Algol 68 stretch - corrected comment) |
||
Line 80:
<br>Note, Algol 68G under Windows is fully interpreted, this took around 20 seconds on the Windows 11 system. Transpiled to VB.NET with an experimental/WIP/toy transpiler, it runs in around 2 seconds.
<syntaxhighlight lang="algol68">
BEGIN # find the longest sequence of primes <
# called Calmosoft primes #
# returns TRUE if n is prime, FALSE otherwise - uses trial division #
|