pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/p5-Math-Prime-Util p5-Math-Prime-Util: update to ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6c4ead254eb9
branches: trunk
changeset: 372329:6c4ead254eb9
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Dec 03 08:41:29 2017 +0000
description:
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.
diffstat:
math/p5-Math-Prime-Util/Makefile | 4 ++--
math/p5-Math-Prime-Util/distinfo | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (27 lines):
diff -r fd0799aea40b -r 6c4ead254eb9 math/p5-Math-Prime-Util/Makefile
--- a/math/p5-Math-Prime-Util/Makefile Sun Dec 03 08:38:18 2017 +0000
+++ b/math/p5-Math-Prime-Util/Makefile Sun Dec 03 08:41:29 2017 +0000
@@ -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 -r fd0799aea40b -r 6c4ead254eb9 math/p5-Math-Prime-Util/distinfo
--- a/math/p5-Math-Prime-Util/distinfo Sun Dec 03 08:38:18 2017 +0000
+++ b/math/p5-Math-Prime-Util/distinfo Sun Dec 03 08:41:29 2017 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index