8
0

Accepting request 1114118 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/1114118
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=47
This commit is contained in:
2023-09-29 19:14:05 +00:00
committed by Git OBS Bridge
4 changed files with 35 additions and 9 deletions
+31
View File
@@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Sep 28 03:07:38 UTC 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 03:08:21 UTC 2023 - Tina Müller <timueller+perl@suse.de>
+1 -6
View File
@@ -18,7 +18,7 @@
%define cpan_name Math-BigInt
Name: perl-Math-BigInt
Version: 1.999839
Version: 1.999842
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Arbitrary size integer math package
@@ -34,11 +34,6 @@ BuildRequires: perl(Math::Complex) >= 1.36
BuildRequires: perl(Test::More) >= 0.94
Requires: perl(Carp) >= 1.22
Requires: perl(Math::Complex) >= 1.36
Provides: perl(Math::BigFloat) = 1.999839
Provides: perl(Math::BigInt) = 1.999839
Provides: perl(Math::BigInt::Calc) = 1.999839
Provides: perl(Math::BigInt::Lib) = 1.999839
%define __perllib_provides /bin/true
%{perl_requires}
# MANUAL BEGIN
Recommends: perl(bignum) >= 0.22
-3
View File
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5062ba5c5efb17cbe7409ae8922cc46ff84fbaf1d741af9738723ba4bc6ebd61
size 2869639
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:54601c50c6993e7ee13d8c3ac3346cf15a4d8063149cdbbe86eb01e5610e4675
size 2874389