Dana added sum_primes and print_primes in the Math::Prime::Util v.0.51 release.
The OP post was updated with results taken from v0.51 for the primeutil.pl example.
Thank you Dana for Math::Prime::Util.
Kind regards, Mario
In reply to Re: The sieve of Xuedong Luo (Algorithm3) for generating prime numbers
by marioroy
in thread The sieve of Xuedong Luo (Algorithm3) for generating prime numbers
by marioroy
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |