2 # Copyright (C) 2005-2009, Parrot Foundation.
5 # ./parrot -R cgp takfp.pir N (N = 10 for shootout)
7 # changed default value to N=7 (shootout default before being deprecated)
8 # anyway N=10 froze my laptop. Karl Forner
15 unless argc == 2 goto argsok
26 f = Tak($N0, $N1, $N2)
27 $P0 = new 'FixedFloatArray'
30 $S0 = sprintf "%.1f\n", $P0
38 unless y >= x goto endif
48 .tailcall Tak($N0, $N1, $N2)
56 # vim: expandtab shiftwidth=4 ft=pir: