4 # Some simple code to print some factorials
6 # Based on fact.pasm originally be Leon Brocard <acme@astray.com> 2001-09-14.
8 # Copyright (C) 2001-2005, The Perl Foundation.
9 # This program is free software. It is subject to the same
10 # license as the Parrot interpreter.
43 sys::print("Algorithm F1 (The factorial function)\n");
44 sys::print(" Calculating fact($N) = ...\n");
48 sys::print(" ... = $f\n");