pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/p5-Math-BigInt Update to 1.999801



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c45814944774
branches:  trunk
changeset: 355291:c45814944774
user:      wen <wen%pkgsrc.org@localhost>
date:      Mon Nov 28 12:29:48 2016 +0000

description:
Update to 1.999801

Upstream changes:
2016-11-23 v1.999801 pjacklam

 * Fix, hopefully once and for all, the longstanding problem of handling undef
   as an operand to mathematical methods. The only method that accepts undef as
   an operand is blog(), where the second operand might be undef, as in
   $x->blog() or $x->blog($b), where $b is undef. The undef signifies that
   Euler's number should be used as the base. With this fix, we should be able
   to get Math::BigInt::Lite working again.

 * Add least common multiple method _lcm() to Math::BigInt::Lib, and add
   corresponding test file t/author-lib-arithmetic-binary-_lcm.t and test data
   file t/author-lib-arithmetic-binary-_lcm.dat.

 * Remove internal function __lcm() which has become redundant now that _lcm()
   is in the library.

 * Make it possible to use bgcd() and blcm() as class methods, since other
   methods can be used as class methods. This applies to both Math::BigInt and
   Math::BigFloat.

 * Fix blcm() with negative input. The LCM should always be non-negative. This
   applies to both Math::BigInt and Math::BigFloat.

 * Add tests for bgcd() and blcm() in t/bigintpm.t and t/bigfltpm.t.

 * Fix tests for blcm() assuming that LCM(0,0) should be a NaN. LCM(0,0) is 0
   by convention.

 * Prefer Class->config('option') over Class->config()->{option}. However, this
   does not seem to be working for all options. It seems that this won't work
   properly until we move the global variables into the OO interface.

 * Explicitly specify the library in all test files that are shared between
   Math-BigInt and the library distributions (FaatCalc, GMP, Pari, ...) with,
   e.g., "use Math::BigInt only => 'Calc';". This way, it will fail immediately
   if the specified library can't be loaded rather than using the fallback
   library.

diffstat:

 math/p5-Math-BigInt/Makefile |   4 ++--
 math/p5-Math-BigInt/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r c6f12ac7b3db -r c45814944774 math/p5-Math-BigInt/Makefile
--- a/math/p5-Math-BigInt/Makefile      Mon Nov 28 12:26:17 2016 +0000
+++ b/math/p5-Math-BigInt/Makefile      Mon Nov 28 12:29:48 2016 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2016/11/17 15:28:50 wen Exp $
+# $NetBSD: Makefile,v 1.3 2016/11/28 12:29:48 wen Exp $
 
-DISTNAME=              Math-BigInt-1.999800
+DISTNAME=              Math-BigInt-1.999801
 PKGNAME=               p5-${DISTNAME}
 CATEGORIES=            math perl5
 MASTER_SITES=          ${MASTER_SITE_PERL_CPAN:=Math/}
diff -r c6f12ac7b3db -r c45814944774 math/p5-Math-BigInt/distinfo
--- a/math/p5-Math-BigInt/distinfo      Mon Nov 28 12:26:17 2016 +0000
+++ b/math/p5-Math-BigInt/distinfo      Mon Nov 28 12:29:48 2016 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2016/11/17 15:28:50 wen Exp $
+$NetBSD: distinfo,v 1.3 2016/11/28 12:29:48 wen Exp $
 
-SHA1 (Math-BigInt-1.999800.tar.gz) = 8fa21a04357493075a4de5a87e58ce8d2b7c22f6
-RMD160 (Math-BigInt-1.999800.tar.gz) = bdca245a1aa636ce72da5d0ff4c784ea0f28d939
-SHA512 (Math-BigInt-1.999800.tar.gz) = fa86e85b8cf9cef0fcd69bb692e75e690480b6a8778759f524614e70d42d515422079e36f28dc3a3cdbb654591b9a8eb93160a42f93df87cd837b94b191a97ef
-Size (Math-BigInt-1.999800.tar.gz) = 2727031 bytes
+SHA1 (Math-BigInt-1.999801.tar.gz) = d21dea941862b745e3c2c270d1a7d283ea123faa
+RMD160 (Math-BigInt-1.999801.tar.gz) = 21a517a5cd986a36ea8349a5daa9cb40d6ffd8ef
+SHA512 (Math-BigInt-1.999801.tar.gz) = fd0dd80a8b495ecbfc61ca089793d66b9e9c9edde6dccbd25a18725bd8ee097a0c8e58f66d340e4a9e9ccce84f9d1f70f755eb65c2f4ecc8ba7cba83692a0cc1
+Size (Math-BigInt-1.999801.tar.gz) = 2761631 bytes



Home | Main Index | Thread Index | Old Index