The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.65 - 2017-05-03

  • API Changes
    • Config options irand and primeinc are deprecated. They will carp if set.
  • FUNCTIONALITY AND PERFORMANCE
    • Add Math::BigInt::Lite to list of known bigint objects.
    • sum_primes fix for certain ranges with results near 2^64.
    • is_prime, next_prime, prev_prime do a lock-free check for a find-in-cache optimization. This is a big help on on some platforms with many threads.
    • C versions of LogarithmicIntegral and inverse_li rewritten. inverse_li honors the documentation promise within FP representation. Thanks to Kim Walisch for motivation and discussion.
    • Slightly faster XS nth_prime_approx.
    • PP nth_prime_approx uses inverse_li past 1e12, which should run at a reasonable speed now.
    • Adjusted crossover points for segment vs. LMO interval prime_count.
    • Slightly tighter prime_count_lower, nth_prime_upper, and Ramanujan bounds.

Modules

Utilities related to prime numbers, including fast sieves and factoring
Pure Perl ChaCha20 CSPRNG
Elliptic curve operations for affine points
Elliptic curve operations for projective points
Get a good random seed
Pure Perl ISAAC CSPRNG
An auto-free object for Math::Prime::Util
Pure Perl version of Math::Prime::Util
PP front end for Math::Prime::Util
Primality proofs and certificates
A tied array for primes
An object iterator for primes
Generate random primes
Perl Big Float versions of Riemann Zeta and R functions
Number theory utilities