| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: perl-Math-BigInt | Distribution: openSUSE Tumbleweed |
| Version: 2.005003 | Vendor: openSUSE |
| Release: 1.2 | Build date: Mon Apr 14 07:37:15 2025 |
| Group: Unspecified | Build host: reproducible |
| Size: 1113280 | Source RPM: perl-Math-BigInt-2.005003-1.2.src.rpm |
| Packager: http://bugs.opensuse.org | |
| Url: https://metacpan.org/release/Math-BigInt | |
| Summary: Arbitrary size integer math package | |
Math::BigInt provides support for arbitrary precision integers. Overloading is also provided for Perl operators.
Artistic-1.0 OR GPL-1.0-or-later
* Mon Apr 14 2025 Tina Müller <timueller+perl@suse.de>
- updated to 2.005003
see /usr/share/doc/packages/perl-Math-BigInt/CHANGES
2.005003 2025-04-13
* Add new methods to_fp80() and from_fp80() for encoding and decoding values in
the x86 extended-precision 80 bit format.
2.005002 2025-03-28
* Fix the handling of read-only objects in bblsft() and bbrsft() in
Math::BigFloat and Math::BigRat.
2.005001 2025-03-25
New:
* Add new method bperm() to Math::BigInt, Math::BigFloat, and Math::BigRat.
* Add the following methods to Math::BigRat and Math::BigFloat:
bilog2(), bilog10(), bclog2(), bclog10(), bfib(), blucas(),
from_bytes(), from_base(), to_bytes(), to_ieee754()
* Add method bmuladd(), bgcd(), and blcm() to Math::BigRat.
* Add method bpi() to Math::BigRat. It returns a rational approximation of PI
accurate to the specified accuracy or precision, or the default accuracy if
no accuracy is specified.
* Add methods bdstr(), bnstr(), and bestr() to Math::BigRat.
* Add support for rounding in Math::BigFloat methods bdstr(), bestr(), bnstr(),
and bestr().
* Add method from_ieee754() to Math::BigInt and Math::BigRat, including
documentation. In Math::BigInt, from_ieee754() is similar to the other
from_xxx() methods in that way that it returns a NaN if the input is a finite
non-integer.
* Add new backend library method _scmp() for doing signed comparison.
Changes/Improvements:
* Method new() now always returns a new object, as would be expected.
* Make bgcd() in Math::BigRat and Math::BigFloat support non-integer arguments.
Now, bgcd(0.8, 1.2) in Math::BigFloat returns 0.4, and bgcd(4/5, 6/5) in
Math::BigRat returns 2/5.
* Make blcm(0, 0) work the same way in Math::BigInt, Math::BigRat, and
Math::BigFloat. Now blcm(0, 0) is always 0.
* Correct the documentation for is_inf(), bceil() and bfloor()
* Methods bdiv() and bmod() are now aliases to bfdiv() and bfmod(),
respectively. (This doesn't change the behaviour of bdiv() and bmod().)
* Math::BigFloat methods bfmod() and btmod() are faster than before.
* Improve documentation for bnok().
* Improve upgrading and downgrading, e.g., use $class->upgrade() rather than
just $upgrade, since the former works better for sublasses.
Fixes:
* Add missing calls to modify().
* All boolean methods now return 1 or 0. Some would return 1 or "".
* Harmonise methods in different classes so they behave similarly, at least to
the extent possible.
* Fix bug in Math::BigInt->bfib() causing sign to be incorrect for some of the
output values when bfib() was called in list context with a negative input.
* Correct miscellaneous typos and errors in the documentation.
2.004001 2025-02-12
* Improve upgrading and downgrading.
- Upgrading and downgrading is more consistent.
- Upgrading and downgrading now keeps the reference, so in the following
example, $x changes from being a Math::BigInt with a value of 2 to a
Math::BigFloat with the value 1.4142...
perl -Mbignum -le '$x = 2; $x -> bsqrt(); print $x'
* Fix bug in Math::BigFloat->bdiv(): in list context, bdiv() would do floored
division, except when the denominator was 1. Now, bdiv() always does floored
division.
* Fri Jan 24 2025 Tina Müller <timueller+perl@suse.de>
- updated to 2.003004
see /usr/share/doc/packages/perl-Math-BigInt/CHANGES
2.003004 2025-01-23
* Fix CPAN RT #150252 regarding bdiv() not modifying the invocand object when
upgrading/downgrading is enabled.
* Add hyperoperator method bhyperop(). This method implements succession,
addition, multiplication, exponentiation, tetration, pentation ...).
* Sun Jun 23 2024 Tina Müller <tina.mueller@suse.com>
- updated to 2.3.3 (2.003003)
see /usr/share/doc/packages/perl-Math-BigInt/CHANGES
2.003003 2024-05-27
* Fix CPAN RT #153736 regarding bnok() with large input values.
* Fri Mar 08 2024 Tina Müller <tina.mueller@suse.com>
- Fix disabling of __perllib_provides
* Sun Jan 07 2024 Tina Müller <timueller+perl@suse.de>
- updated to 2.003002
see /usr/share/doc/packages/perl-Math-BigInt/CHANGES
2.003002 2024-01-05
* Improved interaction between Math::BigInt and the backend libraries.
* Much faster versions of _ilog2() and _clog2() implemented in the
Math::BigInt::Calc backend library. This should speed up bilog2() and
bclog2() in Math::BigInt when "Calc" is used as the backend liberary.
* Wed Dec 27 2023 Tina Müller <timueller+perl@suse.de>
- updated to 2.003001
see /usr/share/doc/packages/perl-Math-BigInt/CHANGES
2.003001 2023-12-26
* Add configuration methods trap_inf() and trap_nan(). Previously it was only
possible to modify these properties by using the config() method.
* Fix CPAN RT #150796 so that config() no longer modifies the input when it is
a hash ref.
* Fix CPAN RT #150797 so that both accuracy and precision can be set
simultaneously with config().
* Add the following methods to Math::BigInt
- bilog2() base 2 logarithm rounded downwards, i.e., int(log2(x))
- bilog10() base 10 logarithm rounded downwards, i.e., int(log10(x))
- bclog2() base 2 logarithm rounded upwards, i.e., ceil(log2(x))
- bclog10() base 10 logarithm rounded upwards, i.e., ceil(log10(x))
* Add the following backend library methods to Math::BigInt::Lib. These
methods do the core computations for the corresponding methods in
Math::BigInt (see above).
- _ilog2() base 2 logarithm rounded downwards
- _ilog10() base 10 logarithm rounded downwards
- _clog2() base 2 logarithm rounded upwards
- _clog10() base 10 logarithm rounded upwards
2.002001 2023-12-09
* Fix CPAN RT #150523
2.002000 2023-12-02
* Fix bug in Math::BigFloat method bsin(). It can now handle any argument to
any precision. Also improve downgrading. This fixes CPAN RT #150590 and the
bsin() part of CPAN RT #107604.
* Fix bug in Math::BigFloat method bexp(). Specifying precision (rather than
accuracy) used to give a NaN. Also improve downgrading.
* Improve upgrading in Math::BigInt methods bsin() and bcos(). They now
upgrade only when necessary.
2.001001 2023-11-21
* Fix CPAN RT #150469
2.001000 2023-11-13
* Fix rounding bug in bsqrt() in Math::BigInt. Also make bsqrt() upgrade only
when necessary.
* Simplify and speed up bsqrt() (for computing the square root) in
Math::BigFloat. The computation time now mainly depends on the desired
accuracy, not the number of digits in the significand.
* Add support for using "div_scale" as import parameter, like this
use Math::BigFloat div_scale => 80;
* Add better argument checking when the "div_scale" value is set by the
user.
2.000000 2023-10-29
* Merge the Math-BigRat distribution into the Math-BigInt distribution. This
merge eliminates the problems that users have experienced when incompatible
versions of the two distributions have been installed. This fixes CPAN RT
[#143228].
* Add method from_dec() to Math::BigRat to make Math::BigRat more consistent
with Math::BigInt and Math::BigFloat.
* To be consistent with Math::BigInt and Math::BigFloat, make it possible to
use "require" with Math::BigRat, e.g.,
require Math::BigRat;
$x = Math::BigRat -> bone();
* Fix cases where "require" doesn't work for Math::BigInt and Math::BigFloat,
and add tests to verify that "require" works for Math::BigInt, Math::BigRat,
and Math::BigFloat.
* Add methods bblsft() and bbrsft() to Math::BigRat to make Math::BigRat
consistent with Math::BigInt and Math::BigFloat. These methods do bitwise
left and right shift, respectively.
* Fix bug in to_oct() and to_bin() in Math::BigFloat. They called to_hex()
when upgrading, but should have called to_oct() and to_bin(), respectively.
* Add to_hex(), to_oct(), to_bin() to Math::BigRat.
* Add new method binv() to Math::BigInt, Math::BigFloat, and Math::BigRat.
* Improve as_float() and as_rat().
* POD updates.
* Thu Sep 28 2023 Tina Müller <timueller+perl@suse.de>
- updated to 1.999842
see /usr/share/doc/packages/perl-Math-BigInt/CHANGES
1.999842 2023-09-27
* Fix a bug causing Math::BigInt and Math::BigFloat to be caught in an endless
recursion. The bug was introduced when trying to fix
https://github.com/pjacklam/p5-Math-BigInt/issues/8
* Allow div_scale to be 0. It is not documented what div_scale <= 0 means, but
there are modules that set div_scale to 0 (e.g., Astro::Units) and fail
their tests if this is not supported.
1.999841 2023-09-21
* Remove development files that were accidentally included in the
distribution.
1.999840 2023-09-18
* Add methods bblsft() and bbrsft(), which do bitwise left and right shift,
respectively. The binary operators for bitwise left and right shift, "<<"
and ">>", now call the methods bblsft() and bbrsft(), respectively.
While this behaviour is consistent with how "<<" and ">>" work on floating
point numbers in core Perl, it changes how "<<" and ">>" worked on
Math::BigFloat objects. This is a corner case, but any code currently using
"<<" and ">>" on Math::BigFloat objects might need to be modified as follows
$x >>= $y should be changed to $x -> brsft($y)
$x <<= $y should be changed to $x -> blsft($y)
$x >> $y should be changed to $x -> copy() -> brsft($y)
$x << $y should be changed to $x -> copy() -> blsft($y)
* Improve blsft() and brsft(). They now support negative shift values, an
arbitrarily large base, and have better handling of cases involving NaN.
* Sat Jul 15 2023 Tina Müller <timueller+perl@suse.de>
- updated to 1.999839
see /usr/share/doc/packages/perl-Math-BigInt/CHANGES
1.999839 2023-07-14
* Update documentation. Remove/update obsolete URLs.
* Fix CPAN RT #148953 regarding loss of precision when using "log" in
"bignum". The issue was related to broken upgrading and downgrading in
Math::BigFloat.
* Sat Apr 01 2023 Tina Müller <timueller+perl@suse.de>
- updated to 1.999838
see /usr/share/doc/packages/perl-Math-BigInt/CHANGES
1.999838 2023-03-30
* Fix CPAN RT #146411 regarding infinite recursion in bitwise operations. This
happened when arguments were upgraded and downgraded and upgraded again ad
infinitum. Add tests to verify the fix.
* Sun Jul 03 2022 Tina Müller <timueller+perl@suse.de>
- updated to 1.999837
see /usr/share/doc/packages/perl-Math-BigInt/CHANGES
1.999837 2022-07-02
* Improve the interoperability between objects of different classes for the
methods that are still used as functions.
* Sat Jun 25 2022 Tina Müller <timueller+perl@suse.de>
- updated to 1.999836
see /usr/share/doc/packages/perl-Math-BigInt/CHANGES
1.999836 2022-06-24
* Improve compatibility with older versions of the Math-BigRat distribution.
Math-BigInt version 1.999835 works with Math-BigRat version 0.2623 and newer.
Math-BigInt version 1.999836 works with Math-BigRat version 0.2618 and newer.
* Re-enable upgrading in Math::BigFloat->bdiv().
* Fix an error in the enabling/disabling of upgrading/downgrading.
* Fix typos and other formatting errors.
* Wed May 25 2022 Tina Müller <timueller+perl@suse.de>
- updated to 1.999835
see /usr/share/doc/packages/perl-Math-BigInt/CHANGES
1.999835 2022-05-24
* Fix bug related to upgrading in Math::BigInt->brsft(). This bug
only showed up in Perl versions 5.16 and older.
1.999834 2022-05-23
* Further improvements to upgrading and downgrading.
1.999833 2022-05-23
* Fix Math::BigFloat->bpi(). The previous attempt at correcting it
wasn't sufficient. Added test to verify the fix.
* Correct the formatting in the CHANGES file.
1.999832 2022-05-21
* Improve as_int(), as_float(), and as_rat() so that they return a
Math::BigInt, Math::BigFloat, and Math::BigRat, respectivly,
regardless of upgrading and downgrading.
* Improve stringification method bsstr() so that it handles upgrading
and downgrading better.
* Fix Math::BigFloat->bpi(), which unfortunately didn't handle
downgrading.
* Avoid unnecessary downgrading/upgrading.
* Add missed cases where downgrading/upgrading should be performed.
* Avoid unnecessary stringification.
* Tue May 17 2022 Tina Müller <timueller+perl@suse.de>
- updated to 1.999831
see /usr/share/doc/packages/perl-Math-BigInt/CHANGES
1.999831 2022-05-16
* Further improvements to upgrading, downgrading, and rounding.
* New stringification method bfstr() for representing numbers as fractions.
E.g., Math::BigFloat -> new("1.25") -> bfstr() returns "5/4".
* Miscellaneous bug fixes.
* Fixed errors and typos in the documentation.
* Wed Apr 13 2022 Tina Müller <timueller+perl@suse.de>
- updated to 1.999830
see /usr/share/doc/packages/perl-Math-BigInt/CHANGES
1.999830 2022-04-11
* Improve upgrading and downgrading. This work is not complete. Some methods
still don't downgrade when they should.
* Sat Jan 01 2022 Tina Müller <timueller+perl@suse.de>
- updated to 1.999829
see /usr/share/doc/packages/perl-Math-BigInt/CHANGES
1.999829 2021-12-29
* 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.
1.999828 2021-12-17
* Add new methods numerator(), denominator(), and fparts().
* Fix bug in to_ieee754(). Avoid that the significand overflows.
* Improve bpow(). Avoid unnecessary upgrading.
* Fix typos and improve wording.
/usr/lib/perl5/vendor_perl/5.42.0/Math /usr/lib/perl5/vendor_perl/5.42.0/Math/BigFloat.pm /usr/lib/perl5/vendor_perl/5.42.0/Math/BigInt /usr/lib/perl5/vendor_perl/5.42.0/Math/BigInt.pm /usr/lib/perl5/vendor_perl/5.42.0/Math/BigInt/Calc.pm /usr/lib/perl5/vendor_perl/5.42.0/Math/BigInt/Lib.pm /usr/lib/perl5/vendor_perl/5.42.0/Math/BigRat.pm /usr/share/doc/packages/perl-Math-BigInt /usr/share/doc/packages/perl-Math-BigInt/BUGS /usr/share/doc/packages/perl-Math-BigInt/CHANGES /usr/share/doc/packages/perl-Math-BigInt/CREDITS /usr/share/doc/packages/perl-Math-BigInt/GOALS /usr/share/doc/packages/perl-Math-BigInt/HISTORY /usr/share/doc/packages/perl-Math-BigInt/NEW /usr/share/doc/packages/perl-Math-BigInt/README /usr/share/doc/packages/perl-Math-BigInt/README.md /usr/share/doc/packages/perl-Math-BigInt/TODO /usr/share/doc/packages/perl-Math-BigInt/examples /usr/share/doc/packages/perl-Math-BigInt/examples/1000.txt /usr/share/doc/packages/perl-Math-BigInt/examples/bigprimes.pl /usr/share/doc/packages/perl-Math-BigInt/examples/prime.pl /usr/share/licenses/perl-Math-BigInt /usr/share/licenses/perl-Math-BigInt/LICENSE /usr/share/man/man3/Math::BigFloat.3pmc.gz /usr/share/man/man3/Math::BigInt.3pmc.gz /usr/share/man/man3/Math::BigInt::Calc.3pmc.gz /usr/share/man/man3/Math::BigInt::Lib.3pmc.gz /usr/share/man/man3/Math::BigRat.3pmc.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Thu Oct 23 22:37:43 2025