NAME ^

examples/benchmarks/primes.pl - Calculate prime numbers < 10000

SYNOPSIS ^

    % time perl examples/benchmarks/primes.pl

DESCRIPTION ^

Calculates all the prime numbers up to 50000 and prints out the number of primes and the last one found.

SEE ALSO ^

examples/benchmarks/primes.c, examples/benchmarks/primes.pasm, examples/benchmarks/primes2_p.pasm, examples/benchmarks/primes2.c, examples/benchmarks/primes2.pir, examples/benchmarks/primes2.py.


parrot