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:           Thu Sep 30 13:22:36 UTC 2021

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

Log Message:
Update to 1.999825

Upstream changes:
1.999825 2021-09-28

 * Make Math::BigInt accept integers regardless of whether they are written as
   decimal, binary, octal, or hexadecimal integers or decimal, binary, octal, or
   hexadecimal floating point number.

 * When numeric constants are overloaded (with the ":constant" option) in
   Math::BigInt, every numeric constant that represent an integer is converted
   to an object regardless of how it is written. All finite non-integers are
   converted to a NaN.

 * When numeric constants are overloaded (with the ":constant" option) in
   Math::BigFloat, every numeric constant is converted to an object regardless
   of how it is written.

 * Add method from_dec() (cf. from_bin(), from_oct(), and from_hex()). It is
   like new() except that it does not accept anything but a string representing a
   finite decimal number.

1.999824 2021-09-20

 * Don't allow mixing math libraries. Use the first backend math library that is
   successfully loaded, and ignore any further attempts at loading a different
   backend library. This is a solution to the re-occurring problem of using
   objects using different math libraries.

 * Add missing documentation.

 * Miscellaneous minor improvements.

1.999823 2021-07-12

 * Improve the handling of the backend libraries. Provide more useful warnings
   and error messages. Update the documentation.

1.999822 2021-07-09

 * Make the from_hex(), from_oct(), and from_bin() methods consistent with
   CORE::oct(), which does not require a leading "0" before the letter ("x",
   "o", or "b").

 * Make the from_oct() and new() methods accept octal numbers with prefix
   "0o", "0O", "o" (lowercase letter o), and "O" (capital letter O).

 * Make the from_bin() and new() methods accept binary numbers with
   prefix "0b", "0B", "b", and "B".

 * Make the from_hex() and new() methods accept hexadecimal numbers with
   prefix "0x", "0X", "x", and "X".

 * Update test files to match with the above.

1.999821 2021-07-06

 * Make new() and from_hex() accept the "0X" prefix, not just the "0x" prefix,
   but not accept just "X" or "x". Now, "0XFF" returns 255, not NaN.

 * Make new() and from_bin() accept the "0B" prefix, not just the "0b" prefix, but
   not accept just "B" or "b". Now, "0B1111" returns 255, not NaN.

 * Make new() and from_oct() accept the "0o" and "0O" prefixes, but not accept
   just "O" (capital letter O) or "o" (lowercase letter o). Now, "0o377" and
   "0O377" return 255, not NaN. Also intepret floating point numbers with a
   leading zero and a binary exponent as an octal number, so that "01.4p0"
   returns 1.5, not NaN. There is still no ambiguety, since decimal floating
   point numbers use "e" or "E" before the exponent, and binary and hexadecimal
   floating point numbers use a "0b"/"0B" or "0x"/"0x" prefix, respectively.

1.999820 2021-07-06

 * Fix bug and improve error messages in Math::BigInt::import().

1.999819 2021-07-02

 * Add method btfac() (triple factorial) and bmfac() (multi-factorial),
   including tests and documentation.

 * Add missing and correct erroneous documentation for bfac() (factorial)
   and bdfac() (double factorial). Also correct handling of special cases
   and add tests for these cases.

 * Fix error in bsin() and bcos() causing them to hang indefinitely if the
   invocand is +/-inf.

 * Make it possible for the end user to specify the base length used internally
   in Math::BigInt::Calc.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/math/p5-Math-BigInt/Makefile
cvs rdiff -u -r1.10 -r1.11 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.16 pkgsrc/math/p5-Math-BigInt/Makefile:1.17
--- pkgsrc/math/p5-Math-BigInt/Makefile:1.16    Mon May 24 19:52:57 2021
+++ pkgsrc/math/p5-Math-BigInt/Makefile Thu Sep 30 13:22:36 2021
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2021/05/24 19:52:57 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2021/09/30 13:22:36 wen Exp $
 
-DISTNAME=              Math-BigInt-1.999818
+DISTNAME=              Math-BigInt-1.999825
 PKGNAME=               p5-${DISTNAME}
-PKGREVISION=           1
 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.10 pkgsrc/math/p5-Math-BigInt/distinfo:1.11
--- pkgsrc/math/p5-Math-BigInt/distinfo:1.10    Mon Sep  7 11:47:43 2020
+++ pkgsrc/math/p5-Math-BigInt/distinfo Thu Sep 30 13:22:36 2021
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.10 2020/09/07 11:47:43 wiz Exp $
+$NetBSD: distinfo,v 1.11 2021/09/30 13:22:36 wen Exp $
 
-SHA1 (Math-BigInt-1.999818.tar.gz) = 05551c2f4986b358f565d5081699da929ae50394
-RMD160 (Math-BigInt-1.999818.tar.gz) = b3bee8ebf05c42c68d0cbd18e1f08355ce9bca11
-SHA512 (Math-BigInt-1.999818.tar.gz) = 75234eab0ec99a7412a25cf5c60543f1ea0aa35107e4fca49d80871e5d055c4820968a0ee4fe0ff48dd73b8ca122864b5d26964a932a9cc7b296a1356fac7966
-Size (Math-BigInt-1.999818.tar.gz) = 3047629 bytes
+SHA1 (Math-BigInt-1.999825.tar.gz) = d8c8de2bac7e4a6965b00634d966f4f5b3a20bb7
+RMD160 (Math-BigInt-1.999825.tar.gz) = 10a43fef12f02c79ab88de047e89b5a4e48bc782
+SHA512 (Math-BigInt-1.999825.tar.gz) = d87886c3583ad768ee15c13bcd139689edca10ef3ce4bc9a6730de509a712c83d15a506dab12bb3265fbbe11eab34c80e5b225848426b010ab9d5b49f117aa9a
+Size (Math-BigInt-1.999825.tar.gz) = 3069290 bytes



Home | Main Index | Thread Index | Old Index