diff options
author | wiz <wiz@pkgsrc.org> | 2017-12-03 08:41:29 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2017-12-03 08:41:29 +0000 |
commit | d760518ed182538cf04c168f06797e0446636df5 (patch) | |
tree | 6223bf95dce140a3b34322ea9159bc58118883cb | |
parent | 165ec94bb4b87efe014b7ba1a9847564b5c4661b (diff) | |
download | pkgsrc-d760518ed182538cf04c168f06797e0446636df5.tar.gz |
p5-Math-Prime-Util: update to 0.70.
0.70 2017-12-02
[FIXES]
- prime_count(a,b) incorrect for a={3..7} and b < 66000000.
First appeared in v0.65 (May 2017).
Reported by Trizen. Fixed.
- Also impacted were nth_ramanujan_prime and _lower/_upper for
small input values.
[FUNCTIONALITY AND PERFORMANCE]
- Some utility functions used prime counts. Unlink for more isolation.
- prime_count_approx uses full precision for bigint or string input.
- LogarithmicIntegral and ExponentialIntegral will try to use
our GMP backend if possible.
- Work around old Math::BigInt::FastCalc (as_int() doesn't work right).
- prime_memfree also calls GMP's memfree function. This will clear the
cached constants (e.g. Pi, Euler).
- Calling srand or csrand will also result in the GMP backend CSPRNG
functions being called. This gives more consistent behavior.
[OTHER]
- Turned off threads testing unless release or extended testing is used.
A few smokers seem to have threads lib that die before we event start.
- Removed all Math::MPFR code and references. The latest GMP backend
has everything we need.
- The MPU_NO_XS and MPU_NO_GMP environment variables are documented.
-rw-r--r-- | math/p5-Math-Prime-Util/Makefile | 4 | ||||
-rw-r--r-- | math/p5-Math-Prime-Util/distinfo | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/math/p5-Math-Prime-Util/Makefile b/math/p5-Math-Prime-Util/Makefile index c681f723013..61e383e74c4 100644 --- a/math/p5-Math-Prime-Util/Makefile +++ b/math/p5-Math-Prime-Util/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.20 2017/11/13 15:22:31 wiz Exp $ +# $NetBSD: Makefile,v 1.21 2017/12/03 08:41:29 wiz Exp $ -DISTNAME= Math-Prime-Util-0.69 +DISTNAME= Math-Prime-Util-0.70 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 bfe05516b71..62026e4e445 100644 --- a/math/p5-Math-Prime-Util/distinfo +++ b/math/p5-Math-Prime-Util/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.16 2017/11/13 15:22:31 wiz Exp $ +$NetBSD: distinfo,v 1.17 2017/12/03 08:41:29 wiz Exp $ -SHA1 (Math-Prime-Util-0.69.tar.gz) = 61bcc8f871fd43154cc09a8a853d2516e877fb0f -RMD160 (Math-Prime-Util-0.69.tar.gz) = 3150689afb090de221699c502fb3d445d8398e33 -SHA512 (Math-Prime-Util-0.69.tar.gz) = 07780f28398b6e2cfbc1ccaa2cce2d3b32ea000ec9fc3909d9650c0c9dc6f24c0982de8ce52bc3dcfc525e10ad2d5a687a1833a6fab82008345fdba78fbfdfeb -Size (Math-Prime-Util-0.69.tar.gz) = 593915 bytes +SHA1 (Math-Prime-Util-0.70.tar.gz) = 1847d4a7ebe3c98df39b0d1beee47b8b4b6e65aa +RMD160 (Math-Prime-Util-0.70.tar.gz) = af70efa674e9481b7a277c1e2c0b1949ed29be37 +SHA512 (Math-Prime-Util-0.70.tar.gz) = c05964c8a3f76bb7881cbcafa0d31b76ac34ff3aa931e834ee151ae79f5f582b5681b31ad75f51d63d3129b9c11246a458b196635ca7c242dbd6dedaddb64298 +Size (Math-Prime-Util-0.70.tar.gz) = 593408 bytes |