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.999811



details:   https://anonhg.NetBSD.org/pkgsrc/rev/34e9228ad981
branches:  trunk
changeset: 362378:34e9228ad981
user:      wen <wen%pkgsrc.org@localhost>
date:      Sat May 13 00:52:04 2017 +0000

description:
Update to 1.999811

Upstream changes: 2017-03-15 v1.999811 pjacklam

 * Fix an old in the Math::BigFloat methods as_hex(), as_oct(), and as_bin()
   methods resulting in loss of accuracy. This bug was introduced in bug in
   Math-BigInt-1.76. Due to a naive copy and paste by me, and lack of tests,
   this bug was also present in the newer to_hex(), to_oct(), and to_bin()
   methods. This shows the bug, as it did not print "0xffff...":

       print Math::BigFloat -> from_hex("f" x 30) -> as_hex();

 * Fix incorrect formatting in the output from the Math::BigFloat methods
   to_hex(), to_oct(), and to_bin() when the output was zero. A prefix was
   added when it shouldn't have been.

 * Add tests to bigintpm.inc and bigfltpm.inc for better testing of as_hex(),
   as_oct(), and as_bin() as well as to_hex(), to_oct(), and to_bin().

 * "Synchronize" tests and code formatting in bigintpm.inc and bigfltpm.inc.

2017-03-01 v1.999810 pjacklam

 * CPAN RT #120240 revealed that the problems with undefined values is still
   present. After a close examination, I believe the only way to get this
   really working is to to make blog() call objectify() differently depending
   on whether the base for the logarithm is undefined or not. That way we can
   avoid objectify() converting the undefined value to a zero. Ideally, we
   should warn about undefined values when used in any other context, but we'll
   handle that in a later release. See also the related changelog entry for
   v1.999801.

 * Fix the way the argument count is computed in objectify(). When an argument
   count of 0 is given, it means that we should objectify all input arguments.
   However, it turned out that the actual argument count was computed
   incorrectly.

 * Fix CPAN RT #120242 rearding c3 method resolution.

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 bc17da1f1066 -r 34e9228ad981 math/p5-Math-BigInt/Makefile
--- a/math/p5-Math-BigInt/Makefile      Fri May 12 22:36:11 2017 +0000
+++ b/math/p5-Math-BigInt/Makefile      Sat May 13 00:52:04 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2017/02/11 11:06:22 mef Exp $
+# $NetBSD: Makefile,v 1.6 2017/05/13 00:52:04 wen Exp $
 
-DISTNAME=              Math-BigInt-1.999809
+DISTNAME=              Math-BigInt-1.999811
 PKGNAME=               p5-${DISTNAME}
 CATEGORIES=            math perl5
 MASTER_SITES=          ${MASTER_SITE_PERL_CPAN:=Math/}
diff -r bc17da1f1066 -r 34e9228ad981 math/p5-Math-BigInt/distinfo
--- a/math/p5-Math-BigInt/distinfo      Fri May 12 22:36:11 2017 +0000
+++ b/math/p5-Math-BigInt/distinfo      Sat May 13 00:52:04 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2017/02/11 11:06:22 mef Exp $
+$NetBSD: distinfo,v 1.6 2017/05/13 00:52:04 wen Exp $
 
-SHA1 (Math-BigInt-1.999809.tar.gz) = df9277af4f242eea2af29912e9b95ae9c0ad4e0c
-RMD160 (Math-BigInt-1.999809.tar.gz) = 03ce498e7356c09dc85465627b8c107676bc2f5a
-SHA512 (Math-BigInt-1.999809.tar.gz) = 55044359c0f194db8c168f472d77ba3d619850e66753460eceb56ce4c2cbf6c6740ad9af474e50c8ad3091bd059b32e2c21eee68f7760e73353b60b291a7cac8
-Size (Math-BigInt-1.999809.tar.gz) = 2895493 bytes
+SHA1 (Math-BigInt-1.999811.tar.gz) = 42fd2271c1cb29c36ee3662429c649ac5a159d46
+RMD160 (Math-BigInt-1.999811.tar.gz) = 076305b93f279e70c51161dd672900163cbc848a
+SHA512 (Math-BigInt-1.999811.tar.gz) = 2b9e524911c04cc0396702deae9f87091d075ce815ec3687f2071eb94f33f01f4a47ec28f57711083cfc3ce77f419c348dfce2866a567f054ab77ee4fc7f494f
+Size (Math-BigInt-1.999811.tar.gz) = 2896145 bytes



Home | Main Index | Thread Index | Old Index