forked from pool/perl-Math-BigInt
		
	- 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/package/show/devel:languages:perl/perl-Math-BigInt?expand=0&rev=104
			
			
This commit is contained in:
		
							
								
								
									
										23
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
## Default LFS
 | 
			
		||||
*.7z filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.bsp filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.gem filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.gz filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.jar filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.lz filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.lzma filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.oxt filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.pdf filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.png filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.rpm filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.tbz filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.tgz filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.ttf filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.txz filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.whl filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.xz filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.zip filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.zst filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
.osc
 | 
			
		||||
							
								
								
									
										3
									
								
								Math-BigInt-2.003003.tar.gz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								Math-BigInt-2.003003.tar.gz
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
version https://git-lfs.github.com/spec/v1
 | 
			
		||||
oid sha256:f24804a58265b7b3d00dc3f71dc575aebcf9e0230a291028b65e7a2c41abcb1c
 | 
			
		||||
size 2978556
 | 
			
		||||
							
								
								
									
										3
									
								
								Math-BigInt-2.003004.tar.gz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								Math-BigInt-2.003004.tar.gz
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
version https://git-lfs.github.com/spec/v1
 | 
			
		||||
oid sha256:71f37d114d9403755fed1ad1433a190efd89f339e2531da701d500e6d8244611
 | 
			
		||||
size 3048517
 | 
			
		||||
							
								
								
									
										3
									
								
								Math-BigInt-2.005003.tar.gz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								Math-BigInt-2.005003.tar.gz
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
version https://git-lfs.github.com/spec/v1
 | 
			
		||||
oid sha256:c4adc1202349f7fcd14d01e6949fee0ec969049d45c9ca59aa29ec58a65966db
 | 
			
		||||
size 3108623
 | 
			
		||||
							
								
								
									
										27
									
								
								cpanspec.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								cpanspec.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,27 @@
 | 
			
		||||
---
 | 
			
		||||
#description_paragraphs: 3
 | 
			
		||||
#no_testing: broken upstream
 | 
			
		||||
#sources:
 | 
			
		||||
#  - source1
 | 
			
		||||
#  - source2
 | 
			
		||||
#patches:
 | 
			
		||||
#  foo.patch: -p1
 | 
			
		||||
#  bar.patch:
 | 
			
		||||
preamble: |-
 | 
			
		||||
 Recommends:     perl(bignum) >= 0.22
 | 
			
		||||
 Recommends:     perl(Math::BigInt::FastCalc) >= 0.25
 | 
			
		||||
 Recommends:     perl(Math::BigInt::GMP) >= 1.35
 | 
			
		||||
 Recommends:     perl(Math::BigInt::Pari) >= 1.15
 | 
			
		||||
 Recommends:     perl(Math::BigRat) >= 0.2602
 | 
			
		||||
#post_prep: |-
 | 
			
		||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s,  *,,g'`
 | 
			
		||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL 
 | 
			
		||||
#post_install: |-
 | 
			
		||||
# sed on %{name}.files
 | 
			
		||||
#license: SUSE-NonFree
 | 
			
		||||
#skip_noarch: 1
 | 
			
		||||
#custom_build: |-
 | 
			
		||||
#./Build build flags=%{?_smp_mflags} --myflag
 | 
			
		||||
#custom_test: |-
 | 
			
		||||
#startserver && make test
 | 
			
		||||
#ignore_requires: Bizarre::Module
 | 
			
		||||
							
								
								
									
										1283
									
								
								perl-Math-BigInt.changes
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1283
									
								
								perl-Math-BigInt.changes
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										69
									
								
								perl-Math-BigInt.spec
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										69
									
								
								perl-Math-BigInt.spec
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,69 @@
 | 
			
		||||
#
 | 
			
		||||
# spec file for package perl-Math-BigInt
 | 
			
		||||
#
 | 
			
		||||
# 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
 | 
			
		||||
# upon. The license for this file, and modifications and additions to the
 | 
			
		||||
# file, is the same license as for the pristine package itself (unless the
 | 
			
		||||
# license for the pristine package is not an Open Source License, in which
 | 
			
		||||
# case the license is the MIT License). An "Open Source License" is a
 | 
			
		||||
# license that conforms to the Open Source Definition (Version 1.9)
 | 
			
		||||
# published by the Open Source Initiative.
 | 
			
		||||
 | 
			
		||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
%define cpan_name Math-BigInt
 | 
			
		||||
Name:           perl-Math-BigInt
 | 
			
		||||
Version:        2.005003
 | 
			
		||||
Release:        0
 | 
			
		||||
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}-%{version}.tar.gz
 | 
			
		||||
Source1:        cpanspec.yml
 | 
			
		||||
BuildArch:      noarch
 | 
			
		||||
BuildRequires:  perl
 | 
			
		||||
BuildRequires:  perl-macros
 | 
			
		||||
BuildRequires:  perl(Carp) >= 1.22
 | 
			
		||||
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.58
 | 
			
		||||
BuildRequires:  perl(Math::Complex) >= 1.36
 | 
			
		||||
BuildRequires:  perl(Test::More) >= 0.94
 | 
			
		||||
Requires:       perl(Carp) >= 1.22
 | 
			
		||||
Requires:       perl(Math::Complex) >= 1.36
 | 
			
		||||
%{perl_requires}
 | 
			
		||||
# MANUAL BEGIN
 | 
			
		||||
Recommends:     perl(bignum) >= 0.22
 | 
			
		||||
Recommends:     perl(Math::BigInt::FastCalc) >= 0.25
 | 
			
		||||
Recommends:     perl(Math::BigInt::GMP) >= 1.35
 | 
			
		||||
Recommends:     perl(Math::BigInt::Pari) >= 1.15
 | 
			
		||||
Recommends:     perl(Math::BigRat) >= 0.2602
 | 
			
		||||
# MANUAL END
 | 
			
		||||
 | 
			
		||||
%description
 | 
			
		||||
Math::BigInt provides support for arbitrary precision integers. Overloading
 | 
			
		||||
is also provided for Perl operators.
 | 
			
		||||
 | 
			
		||||
%prep
 | 
			
		||||
%autosetup  -n %{cpan_name}-%{version} -p1
 | 
			
		||||
 | 
			
		||||
%build
 | 
			
		||||
perl Makefile.PL INSTALLDIRS=vendor
 | 
			
		||||
%make_build
 | 
			
		||||
 | 
			
		||||
%check
 | 
			
		||||
make test
 | 
			
		||||
 | 
			
		||||
%install
 | 
			
		||||
%perl_make_install
 | 
			
		||||
%perl_process_packlist
 | 
			
		||||
%perl_gen_filelist
 | 
			
		||||
 | 
			
		||||
%files -f %{name}.files
 | 
			
		||||
%doc BUGS CHANGES CREDITS examples GOALS HISTORY NEW README README.md TODO
 | 
			
		||||
%license LICENSE
 | 
			
		||||
 | 
			
		||||
%changelog
 | 
			
		||||
		Reference in New Issue
	
	Block a user