diff options
author | wen <wen> | 2013-08-25 01:28:38 +0000 |
---|---|---|
committer | wen <wen> | 2013-08-25 01:28:38 +0000 |
commit | 01a61823a05dc40cdb32a7b4ffe6c94a62007928 (patch) | |
tree | 2b156de4a20e6159ac60bfad43a9446aaad0d29b /math | |
parent | b12b64f6447734f00964d9e1b1d337f5db46a85b (diff) | |
download | pkgsrc-01a61823a05dc40cdb32a7b4ffe6c94a62007928.tar.gz |
Update to 0.31
Upstream changes:
0.31 2013-08-07
- Change proof certificate documentation to reflect the new text format.
- Some platforms were using __int128 when it wasn't supported. Only
x86_64 and Power64 use it now.
- Small speedup for ranged totient internals.
- Patch MPU::GMP 0.13 giving us not quite what we expected from a small
certificate. Fixed in MPU::GMP 0.14, worked around here regardless.
0.30 2013-08-06
[API Changes]
- Primality proofs now use the new "MPU Certificate" format, which is
text rather than a nested Perl data structure. This is much better
for external interaction, especially with non-Perl tools. It is
not quite as convenient for all-Perl manipulation.
[Functions Added]
- is_frobenius_underwood_pseudoprime
- is_almost_extra_strong_lucas_pseudoprime
- lucas_sequence
- pplus1_factor
[Enhancements]
- Documentation and PP is_prime changed to use extra strong Lucas test
from the strong test. This matches what the newest MPU::GMP does.
This has no effect at all for numbers < 2^64. No counter-example is
known for the standard, strong, extra strong, or almost extra strong
(increment 1 or 2) tests. The extra strong test is faster than the
strong test and produces fewer pseudoprimes. It retains the residue
class properties of the strong Lucas test (where the SPSP-2
pseudoprimes favor residue class 1 and the Lucas pseudoprimes favor
residue class -1), hence should retain the BPSW test strength.
- XS code for all 4 Lucas tests.
- Clean up is_prob_prime, also ~10% faster for n >= 885594169.
- Small mulmod speedup for non-gcc/x86_64 platforms, and for any platform
with gcc 4.4 or newer.
[Bug Fixes]
- Fixed a rare refcount / bignum / callback issue in next_prime.
Diffstat (limited to 'math')
-rw-r--r-- | math/p5-Math-Prime-Util/Makefile | 4 | ||||
-rw-r--r-- | math/p5-Math-Prime-Util/distinfo | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/math/p5-Math-Prime-Util/Makefile b/math/p5-Math-Prime-Util/Makefile index 08525c2a7ea..6543af3bc09 100644 --- a/math/p5-Math-Prime-Util/Makefile +++ b/math/p5-Math-Prime-Util/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.5 2013/07/14 06:11:50 wen Exp $ +# $NetBSD: Makefile,v 1.6 2013/08/25 01:28:38 wen Exp $ -DISTNAME= Math-Prime-Util-0.29 +DISTNAME= Math-Prime-Util-0.31 PKGNAME= p5-${DISTNAME} CATEGORIES= math perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/} diff --git a/math/p5-Math-Prime-Util/distinfo b/math/p5-Math-Prime-Util/distinfo index ddac6ae431e..4b09409ee45 100644 --- a/math/p5-Math-Prime-Util/distinfo +++ b/math/p5-Math-Prime-Util/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.4 2013/07/14 06:11:50 wen Exp $ +$NetBSD: distinfo,v 1.5 2013/08/25 01:28:38 wen Exp $ -SHA1 (Math-Prime-Util-0.29.tar.gz) = 8e75797a22174c0371f2a6fe885ad1d55b161830 -RMD160 (Math-Prime-Util-0.29.tar.gz) = 6feb9e812cf436d9757d630e9dc377112ebdbf84 -Size (Math-Prime-Util-0.29.tar.gz) = 256271 bytes +SHA1 (Math-Prime-Util-0.31.tar.gz) = 50eee181305f5713b624c4c2e7c3aac530b7bd99 +RMD160 (Math-Prime-Util-0.31.tar.gz) = 3e2319959bec56b052a5006c919fe2cee1da9dd8 +Size (Math-Prime-Util-0.31.tar.gz) = 272237 bytes |