The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.24

  • Fix compilation with old pre-C99 strict compilers (decl after statement).
  • euler_phi on a range wasn't working right with some ranges.
  • More XS prime count improvements to speed and space. Add some tables to the sieve count so it runs a bit faster. Transition from sieve later.
  • PP prime count for 10^9 and larger is ~2x faster and uses much less memory. Similar impact for nth_prime 10^8 or larger.
  • Let factor.pl accept expressions just like primes.pl.

Modules

Utilities related to prime numbers, including fast sieves and factoring
An auto-free object for Math::Prime::Util
Pure Perl version of Math::Prime::Util
A tied array for primes
Perl Big Float versions of Riemann Zeta and R functions