Math::Prime::Util version 0.11
A set of utilities related to prime numbers. These include multiple sieving
methods, is_prime, prime_count, nth_prime, approximations and bounds for
the prime_count and nth prime, next_prime and prev_prime, moebius and totient
functions, integer factoring, and more.
The default sieving and factoring are intended to be the fastest on CPAN,
There are two main types of scripts here: benchmarks and correctness tests.
The test-* scripts are generally trying to test one part of the module
against another part of the module, an external module, or an external program.
These usually consist of a combination of fixed tests and a long sequence of
testing with random numbers, trying to find things the standard testing might
Revision history for Perl extension Math::Prime::Util.
0.11 23 July 2012
- Turn of threading tests on Cygwin, as threads on some Cygwin platforms
give random panics (my Win7 64-bit works fine, XP 32-bit does not).
- Use pow instead of exp2 -- some systems don't have exp2.
- Fix compile issues on MSC, thanks to Sisyphus.
- some bigint/bignum changes (next_prime and math func