Changes for version 0.09
- Pure Perl code. Passes all tests, but 1 to 120x slower. Test suite as a whole is 38x slower.
- Modifications to threading test:
- some machines were failing because they use non-TS rand. Fix by making our own rand.
- Win32 was failing because of unique threading issues. It barfs if you free memory on a different thread than allocated it.
- is_prime could return 1 in some cases. Fixed.
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
Examples
- examples/README
- examples/bench-factor-extra.pl
- examples/bench-factor-semiprime.pl
- examples/bench-factor.pl
- examples/bench-is-prime.pl
- examples/bench-miller-rabin.pl
- examples/bench-nthprime.pl
- examples/bench-pcapprox.pl
- examples/bench-primecount.pl
- examples/bench-random-prime.pl
- examples/sophie_germain.pl
- examples/test-factor-mpxs.pl
- examples/test-factor-yafu.pl
- examples/test-holf.pl
- examples/test-nextprime-yafu.pl
- examples/test-nthapprox.pl
- examples/test-pcapprox.pl
- examples/test-primes-yafu.pl
- examples/twin_primes.pl