Talk:ALGOL 68-primes: Difference between revisions
Content added Content deleted
m (Tigerofdarkness moved page Category talk:ALGOL 68-primes to Talk:ALGOL 68-primes: Wrong Category) |
(lang -> syntaxhighlight) |
||
Line 3: | Line 3: | ||
Note the is probably prime PROC is based on code from [https://www.rosettacode.org/wiki/Miller%E2%80%93Rabin_primality_test The Miller–Rabin primality test task] and the [https://www.rosettacode.org/wiki/ALGOL_68/prelude prelude]. |
Note the is probably prime PROC is based on code from [https://www.rosettacode.org/wiki/Miller%E2%80%93Rabin_primality_test The Miller–Rabin primality test task] and the [https://www.rosettacode.org/wiki/ALGOL_68/prelude prelude]. |
||
< |
<syntaxhighlight lang=algol68># primes.incl.a68: prime related operators, procedure etc. # |
||
# returns a sieve of primes up to n # |
# returns a sieve of primes up to n # |
||
Line 134: | Line 134: | ||
# END primes.incl.a68 #</ |
# END primes.incl.a68 #</syntaxhighlight> |