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

**To**:**pkgsrc-changes%NetBSD.org@localhost****Subject**:**CVS commit: pkgsrc/math/p5-Math-BigInt****From**:**"Wen Heping" <wen%netbsd.org@localhost>**- Date: Sat, 13 May 2017 00:52:04 +0000

Module Name: pkgsrc Committed By: wen Date: Sat May 13 00:52:04 UTC 2017 Modified Files: pkgsrc/math/p5-Math-BigInt: Makefile distinfo Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 pkgsrc/math/p5-Math-BigInt/Makefile \ pkgsrc/math/p5-Math-BigInt/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Modified files: Index: pkgsrc/math/p5-Math-BigInt/Makefile diff -u pkgsrc/math/p5-Math-BigInt/Makefile:1.5 pkgsrc/math/p5-Math-BigInt/Makefile:1.6 --- pkgsrc/math/p5-Math-BigInt/Makefile:1.5 Sat Feb 11 11:06:22 2017 +++ pkgsrc/math/p5-Math-BigInt/Makefile Sat May 13 00:52:04 2017 @@ -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/} Index: pkgsrc/math/p5-Math-BigInt/distinfo diff -u pkgsrc/math/p5-Math-BigInt/distinfo:1.5 pkgsrc/math/p5-Math-BigInt/distinfo:1.6 --- pkgsrc/math/p5-Math-BigInt/distinfo:1.5 Sat Feb 11 11:06:22 2017 +++ pkgsrc/math/p5-Math-BigInt/distinfo Sat May 13 00:52:04 2017 @@ -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

- Prev by Date:
**CVS commit: pkgsrc/doc** - Next by Date:
**CVS commit: pkgsrc/doc** - Previous by Thread:
**CVS commit: pkgsrc/doc** - Next by Thread:
**CVS commit: pkgsrc/doc** - Indexes: