summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorwen <wen>2017-05-13 00:52:04 +0000
committerwen <wen>2017-05-13 00:52:04 +0000
commitad6428f28978df993adfecc783f1d7fb8a4050c9 (patch)
tree235378b320133ef8952b83b53779e96c34d58c72 /math
parenta64a04437bdb22850e9fdda7381ad8f795934ddf (diff)
downloadpkgsrc-ad6428f28978df993adfecc783f1d7fb8a4050c9.tar.gz
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 (limited to 'math')
-rw-r--r--math/p5-Math-BigInt/Makefile4
-rw-r--r--math/p5-Math-BigInt/distinfo10
2 files changed, 7 insertions, 7 deletions
diff --git a/math/p5-Math-BigInt/Makefile b/math/p5-Math-BigInt/Makefile
index 836a809d61a..33a7f4c0e37 100644
--- a/math/p5-Math-BigInt/Makefile
+++ b/math/p5-Math-BigInt/Makefile
@@ -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 --git a/math/p5-Math-BigInt/distinfo b/math/p5-Math-BigInt/distinfo
index abe604402ba..5f011013297 100644
--- a/math/p5-Math-BigInt/distinfo
+++ b/math/p5-Math-BigInt/distinfo
@@ -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