Changes for version 0.15

  • Lots of internal changes to Ei, li, Zeta, and R functions:
    • Native Zeta and R have slightly more accurate results.
    • For bignums, use Math::MPFR if possible. MUCH faster. Also allows extended precision while still being fast.
    • Better accuracy for standard bignums.
    • All four functions do:
      • XS if native input.
      • MPFR to whatever accuracy is desired, if Math::MPFR installed.
      • BigFloat versions if no MPFR and BigFloat input.
      • standard version if no MPFR and not a BigFloat.
  • Add tests for primorial, jordan_totient, and divisor_sum.
  • Revamp of the random_prime internals. Also fixes some issues with random n-bit and maurer primes.
  • The random prime and primorial functions now will return a Math::BigInt object if the result is greater than the native size. This includes loading up the Math::BigInt library if necessary.

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