pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/p5-Math-BigInt



Module Name:    pkgsrc
Committed By:   wen
Date:           Wed Jan 18 12:59:17 UTC 2017

Modified Files:
        pkgsrc/math/p5-Math-BigInt: Makefile distinfo

Log Message:
Update to 1.999808

Upstream changes:
2017-01-11 v1.999808 pjacklam

 * In Math::BigInt and Math::BigFloat, add methods bdfac() for double
   factorial. Add tests for this method.

 * In Math::BigInt and Math::BigFloat, add methods to_hex(), to_oct(), and
   to_bin() for hexadecimal, octal, and binary string output without prefix.
   Even for Math::BigFloat there is still only support for integer output. Add
   tests for these methods.

 * Add test for as_oct() corresponding to the old tests for as_hex() and
   as_bin().

 * In Math::BigInt::Lib, add method _dfac() for double factorial. Add
   corresponding tests.

 * In Math::BigInt::Lib, fix bug in overloaded "int".

 * In Math::BigInt::Lib, implement much faster versions of _from_hex(),
   _from_oct(), and _from_bin().

 * In Makefile.PL, improve the wording in the message displayed if some of
   the installed backend libraries are not a subclass of Math::BigInt::Lib (and
   hence will not provide

 * Fix minor bugs in some of the author library test files (t/author-lib*.t).

 * Allow leading and trailing whitespace in the input to from_hex(),
   from_oct(), and from_bin().  Add tests to verify. This is a regressions
   (CPAN RT #119805).

2016-12-23 v1.999807 pjacklam

 * Add a message to Makefile.PL recommending upgrade if old libraries are
   installed. This message is more or less equivalent to the one appearing in
   Math-BigInt up until v1.997.

 * Improve the documentation (POD) in Math::BigInt::Lib.

 * Speed up _sqrt() and _root() in Math::BigInt::Lib.

 * Remove checking for exception cases (cases that would return +Inf, -Inf, or
   NaN) in Math::BigInt::Lib. It has been documented for a long time that such
   checking should be done by the caller.

 * Add library methods _to_bin(), _to_oct(), _to_hex(), which are equivalent to
   the _as_bin(), _as_oct(), and _as_hex() methods respectively, except that
   the _to_*() methods don't use a prefix in the output. This removes the need
   for the frequent removal of the various prefixes. Now each _as_*() method
   calls the equivalent _to_*() method, adds a prefix, and returns the output.
   The _to_*() methods are faster than the equivalent _as_*() methods were.

 * Add author test files for the methods _to_bin(), _to_oct(), and _to_hex().

 * Add library method _to_bytes(). The method _as_bytes() would have been
   called _to_bytes() if I had thought of it earlier. The method _as_bytes() is
   now just an alias to _to_bytes(). The _to_bytes() method also fixes a bug
   that was present in the _as_bytes() method. (CPAN RT #119346).

 * Add author test files for the method _to_bytes().

 * Add more tests for library methods _inc() and _dec(). When trying to bring
   the Math::BigInt::BitVect library back to life I realized that the test
   suite didn't catch certain errors in _inc() and _dec().

 * Die if trying to use as_bytes() or from_bytes() with a backend library that
   doesn't support the corresponding library methods.

 * Correct minor errors in the output messages in the test files.

 * Improve/correct various comments in the source code.

 * More diagnostic output is displayed by the author test files if the
   AUTHOR_DEBUGGING environment variable is set.

2016-12-13 v1.999806 pjacklam

 * Add more logic to Makefile.PL regarding INSTALLDIRS (CPAN RT #119199
   and #119225).

 * In the TODO file, remove stuff that has been implemented.

2016-12-11 v1.999805 pjacklam

 * Fix Makefile.PL so that this module installs over the core version.

 * Add more tests for _nok() (binomial coefficient "n over k"). These new tests
   revealed some problems with some of the backend libraries when _nok() was
   given very large arguments.

 * Remove t/Math/BigFloat/#Subclass.pm#, which is an Emacs temporary file
   included by accident.

2016-12-07 v1.999804 pjacklam

 * Implement as_bytes(), as requested (CPAN RT 119096). Also implement the
   inverse conversion from_bytes(). This applies to Math::BigInt only. (Alas,
   these methods will be inherited from Math::BigInt into Math::BigFloat,
   Math::BigRat etc. where the methods won't work. Fixing this class
   relationship is an issue of its own.)

 * Implement _as_bytes() and _from_bytes() in Math::BigInt::Lib. Preferably,
   the various backend libraries will implement faster versions of their
   own. Add author test files for testing these methods thorougly.

 * Fix from_hex(), from_oct(), and from_bin().
   - When called as instance methods, the new value should be assigned to the
     invocand unless the invocand is read-only (a constant).
   - When called as instance methods, the assigned value was incorrect, if the
     invocand was inf or NaN.
   - Add tests to t/from_hex-mbf.t, t/from_oct-mbf.t, and t/from_bin-mbf.t
     to confirm the fix.
   - Add new test files t/from_hex-mbi.t, t/from_oct-mbi.t, and
     t/from_bin-mbi.t for better testing of these methods with Math::BigInt.

 * Correct typo in Math/BigInt/Lib.pm (otherise -> otherwise) (CPAN RT 118829).

 * Add POD coverage testing of Math::BigInt::Lib to t/03podcov.t.

2016-12-03 v1.999803 pjacklam

 * Remove BENCHMARK file. The information was obsolete.

 * Use ExtUtils::MakeMaker rather than Module::Install in Makefile.PL

 * Reorder CHANGES file (this file) so the newest entries appear at the top.

 * Fix error in test information text in various author test files.

 * Remove author information in LICENSE file.

 * Inform that the TODO file is not up to date.

2016-11-28 v1.999802 pjacklam

 * When bzero(), bone(), binf(), and bnan() are used as constructors, don't
   check whether the class allows the object to be modified. A constructor
   isn't modifying any existing object. This applies to both Math::BigInt and
   Math::BigFloat.

 * Improve bgcd() and blcm(). This applies to both Math::BigInt and
   Math::BigFloat.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 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.3 pkgsrc/math/p5-Math-BigInt/Makefile:1.4
--- pkgsrc/math/p5-Math-BigInt/Makefile:1.3     Mon Nov 28 12:29:48 2016
+++ pkgsrc/math/p5-Math-BigInt/Makefile Wed Jan 18 12:59:16 2017
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2016/11/28 12:29:48 wen Exp $
+# $NetBSD: Makefile,v 1.4 2017/01/18 12:59:16 wen Exp $
 
-DISTNAME=              Math-BigInt-1.999801
+DISTNAME=              Math-BigInt-1.999808
 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.3 pkgsrc/math/p5-Math-BigInt/distinfo:1.4
--- pkgsrc/math/p5-Math-BigInt/distinfo:1.3     Mon Nov 28 12:29:48 2016
+++ pkgsrc/math/p5-Math-BigInt/distinfo Wed Jan 18 12:59:16 2017
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2016/11/28 12:29:48 wen Exp $
+$NetBSD: distinfo,v 1.4 2017/01/18 12:59:16 wen Exp $
 
-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
+SHA1 (Math-BigInt-1.999808.tar.gz) = 0c9fae6a75aa8d3a97264a726ccf9f5a9443814c
+RMD160 (Math-BigInt-1.999808.tar.gz) = 8f971f41a1024d0378852f6342e21dc0d15c6e59
+SHA512 (Math-BigInt-1.999808.tar.gz) = bcf7728d69693d190b6fa66ffeeac02372cfd250718d88658ec7d9a9ded52d13a9715240b2cfe675742eb24e15526aa8f29f1f6c0c416b404dc766961147c066
+Size (Math-BigInt-1.999808.tar.gz) = 2883035 bytes



Home | Main Index | Thread Index | Old Index