8
0

Compare commits

7 Commits

Author SHA256 Message Date
82917a0f14 Add Gitea build results 2025-08-12 18:15:18 +02:00
5ecdb63362 Accepting request 1278588 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1278588
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=53
2025-05-20 15:04:28 +00:00
ce43fe8fec Accepting request 1276521 from devel:languages:perl:autoupdate
- 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.

OBS-URL: https://build.opensuse.org/request/show/1276521
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-BigInt?expand=0&rev=104
2025-05-20 10:06:47 +00:00
5cb3e8fe78 Accepting request 1241534 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1241534
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=52
2025-01-31 15:04:39 +00:00
fe93d79f76 Accepting request 1240650 from devel:languages:perl:autoupdate
- 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 ...).

OBS-URL: https://build.opensuse.org/request/show/1240650
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-BigInt?expand=0&rev=102
2025-01-30 22:23:57 +00:00
67695f5554 Accepting request 1183690 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1183690
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=51
2024-06-28 13:47:20 +00:00
d023295252 Accepting request 1182901 from devel:languages:perl:autoupdate
- 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.

OBS-URL: https://build.opensuse.org/request/show/1182901
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-BigInt?expand=0&rev=100
2024-06-27 18:11:09 +00:00
5 changed files with 107 additions and 14 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5ac1fd255cca29d7cf5cb9283e6bb8177cdb07c5bb97502a58084b1c6eace35c
size 2978287

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c4adc1202349f7fcd14d01e6949fee0ec969049d45c9ca59aa29ec58a65966db
size 3108623

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-Math-BigInt/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-Math-BigInt)

View File

@@ -1,3 +1,90 @@
-------------------------------------------------------------------
Mon Apr 14 05:37:15 UTC 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 05:31:49 UTC 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 16:30:36 UTC 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 8 22:42:25 UTC 2024 - Tina Müller <tina.mueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Math-BigInt
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,14 @@
%define cpan_name Math-BigInt
Name: perl-Math-BigInt
Version: 2.3.2
Version: 2.005003
Release: 0
%define cpan_version 2.003002
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Arbitrary size integer math package
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/%{cpan_name}-%{cpan_version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
@@ -35,12 +35,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) = %{version}
Provides: perl(Math::BigInt) = %{version}
Provides: perl(Math::BigInt::Calc) = %{version}
Provides: perl(Math::BigInt::Lib) = %{version}
Provides: perl(Math::BigRat) = %{version}
%undefine __perllib_provides
%{perl_requires}
# MANUAL BEGIN
Recommends: perl(bignum) >= 0.22
@@ -55,7 +49,7 @@ Math::BigInt provides support for arbitrary precision integers. Overloading
is also provided for Perl operators.
%prep
%autosetup -n %{cpan_name}-%{cpan_version}
%autosetup -n %{cpan_name}-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor