./math/p5-Math-BigInt, Arbitrary size integer math perl package

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.999837nb1, Package name: p5-Math-BigInt-1.999837nb1, Maintainer: pkgsrc-users

Math::BigInt provides support for arbitrary precision integers.
Overloading is also provided for Perl operators.


Required to run:
[lang/perl5]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)

Filesize: 2802.711 KB

Version history: (Expand)


CVS history: (Expand)


   2023-07-06 11:43:03 by Thomas Klausner | Files touched by this commit (2483)
Log message:
*: recursive bump for perl 5.38
   2022-08-02 10:50:15 by Adrian Steinmann | Files touched by this commit (1) | Package updated
Log message:
math/p5-Math-BigInt: reset PKGREVISION after update
   2022-08-02 07:35:57 by Adrian Steinmann | Files touched by this commit (2) | Package updated
Log message:
PR category/123
math/p5-Math-BigInt: update to 1.999837 (from 1.999827)
 * Improve compatibility with older versions of the Math-BigRat distribution.
 * Re-enable upgrading in Math::BigFloat->bdiv().
 * Improvements to upgrading, downgrading, and rounding:
   . Fix bug related to upgrading in Math::BigInt->brsft() in Perl <= 5.16.
   . Fix Math::BigFloat->bpi().
   .  Improve as_int(), as_float(), and as_rat().
 * Improve methods div_scale() and round_mode() so they work better with
   subclasses. This fixes CPAN RT #125430.
 * Make div_scale() accept a Math::Big(Int|Float|Rat) object as input. This
   fixes CPAN RT #140599.
 * Add new methods numerator(), denominator(), and fparts().
 * Fix bug in to_ieee754(). Avoid that the significand overflows.
   2022-06-28 13:38:00 by Thomas Klausner | Files touched by this commit (3952)
Log message:
*: recursive bump for perl 5.36
   2021-11-12 05:27:17 by Wen Heping | Files touched by this commit (2)
Log message:
Update to 1.999827

Upstream changes:
1.999827 2021-10-03

 * Improve error message for missing library argument.

 * Skip tests that don't work on older Perls. Also skip tests that compare
   floating point numbers.

1.999826 2021-10-01

 * Improve documentation related to floating point literals.

 * Skip tests that fail due to Perl's broken handling of floating point literals
   before v5.32.0.
   2021-10-26 12:56:13 by Nia Alarie | Files touched by this commit (458)
Log message:
math: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:28:36 by Nia Alarie | Files touched by this commit (458)
Log message:
math: Remove SHA1 hashes for distfiles
   2021-09-30 15:22:36 by Wen Heping | Files touched by this commit (2)
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.