1 # Copyright (C) 2005-2009, Parrot Foundation.
6 examples/shootout/harmonic.pir - Partial sum of Harmonic series
10 % ./parrot examples/shootout/harmonic.pir -R jit 10000000
14 Seemed to be deprecated, no longer found on shootout site (Karl),
15 so could not find an expected output file.
17 Translated from C code by Greg Buchholz into PIR
18 by Peter Baylies <pbaylies@gmail.com>.
21 The Great Computer Language Shootout
22 http://shootout.alioth.debian.org/
35 if argc <= 1 goto NREDO
44 $P0 = new 'FixedFloatArray'
47 $S0 = sprintf "%.9f\n", $P0
56 # vim: expandtab shiftwidth=4 ft=pir: