ALGOL 68/prelude: Difference between revisions

m
Add prelude/is_prime.a68
(Easiest way to ask what something is around here is to create a dead wikilink...)
m (Add prelude/is_prime.a68)
Line 1:
The following summarises the useful and various [[ALGOL 68]] [[prelude]] templates.
These are used in several ALGOL 68 code samples.
 
Note: These are not part of the classic [http://web.comlab.ox.ac.uk/people/Jeremy.Gibbons/wg21/ UNESCO IFIP Working Group 2.1]'s standard prelude, rather they were specifically created for [[Main_Page|Rosetta Code]]'s ALGOL 68 code examples.
=== pow_modprelude/is_prime.a68 ===
Used in:
[[Primality_by_Trial_Division#ALGOL 68|Primality_by_Trial_Division]] and
[[Trial_factoring_of_a_Mersenne_number#ALGOL 68|Trial_factoring_of_a_Mersenne_number]].
 
{{Template:prelude/pow_mod.a68}}
 
=== prelude/pow_mod.a68 ===
Used in:
[[Miller-Rabin test#ALGOL 68|Miller-Rabin test]],
Line 11 ⟶ 18:
{{Template:prelude/pow_mod.a68}}
 
=== prelude/sort.a68 ===
Used in:
[[Multiplicative order#ALGOL 68|Multiplicative order]] and