diff options
author | wen <wen@pkgsrc.org> | 2016-11-28 12:29:48 +0000 |
---|---|---|
committer | wen <wen@pkgsrc.org> | 2016-11-28 12:29:48 +0000 |
commit | 430a08273ff65ba7a49f65b422008c2fc419e558 (patch) | |
tree | 54c95dfe782b592b11026300842352909d11dcbf | |
parent | 5725809b339bf8969ef039cdcc67e5c5d6396f6f (diff) | |
download | pkgsrc-430a08273ff65ba7a49f65b422008c2fc419e558.tar.gz |
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.
-rw-r--r-- | math/p5-Math-BigInt/Makefile | 4 | ||||
-rw-r--r-- | math/p5-Math-BigInt/distinfo | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/math/p5-Math-BigInt/Makefile b/math/p5-Math-BigInt/Makefile index 30b0dd04a17..d56a88cf59b 100644 --- a/math/p5-Math-BigInt/Makefile +++ b/math/p5-Math-BigInt/Makefile @@ -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 --git a/math/p5-Math-BigInt/distinfo b/math/p5-Math-BigInt/distinfo index 222816411ab..69e577e13a2 100644 --- a/math/p5-Math-BigInt/distinfo +++ b/math/p5-Math-BigInt/distinfo @@ -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 |