8
0

Accepting request 906075 from devel:languages:perl:autoupdate

- updated to 1.999823
   see /usr/share/doc/packages/perl-Math-BigInt/CHANGES
  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.

OBS-URL: https://build.opensuse.org/request/show/906075
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-BigInt?expand=0&rev=74
This commit is contained in:
Stephan Kulow
2021-07-19 06:59:07 +00:00
committed by Git OBS Bridge
parent 3244e125b9
commit ec3aca933f
4 changed files with 62 additions and 17 deletions

View File

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

View File

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

View File

@@ -1,3 +1,48 @@
-------------------------------------------------------------------
Tue Jul 13 03:07:40 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 1.999823
see /usr/share/doc/packages/perl-Math-BigInt/CHANGES
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.
-------------------------------------------------------------------
Tue Oct 22 17:06:52 UTC 2019 - <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Math-BigInt
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,23 +16,24 @@
#
Name: perl-Math-BigInt
Version: 1.999818
Release: 0
%define cpan_name Math-BigInt
Name: perl-Math-BigInt
Version: 1.999823
Release: 0
Summary: Arbitrary size integer/float math package
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Math::Complex) >= 1.39
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(Math::Complex) >= 1.39
Requires: perl(Carp) >= 1.22
Requires: perl(Math::Complex) >= 1.36
%{perl_requires}
# MANUAL BEGIN
Recommends: perl(bignum) >= 0.22
@@ -47,12 +48,12 @@ Math::BigInt provides support for arbitrary precision integers. Overloading
is also provided for Perl operators.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -name "*.sh" -print0 | xargs -0 chmod 644
%autosetup -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%make_build
%check
make test
@@ -63,8 +64,7 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc BUGS CHANGES CREDITS examples GOALS HISTORY NEW README TODO
%doc BUGS CHANGES CREDITS examples GOALS HISTORY NEW README README.md TODO
%license LICENSE
%changelog