openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
November 2020
- 2 participants
- 2810 discussions
Hello community,
here is the log from the commit of package po4a for openSUSE:Factory checked in at 2020-11-03 15:15:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/po4a (Old)
and /work/SRC/openSUSE:Factory/.po4a.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "po4a"
Tue Nov 3 15:15:31 2020 rev:21 rq:845035 version:0.61
Changes:
--------
--- /work/SRC/openSUSE:Factory/po4a/po4a.changes 2020-09-06 21:38:33.417722804 +0200
+++ /work/SRC/openSUSE:Factory/.po4a.new.3463/po4a.changes 2020-11-03 15:15:46.583994471 +0100
@@ -1,0 +2,7 @@
+Fri Oct 30 11:10:24 UTC 2020 - Dominique Leuenberger <dimstar(a)opensuse.org>
+
+- Add perl(Pod::Parser) BuildRequires: explicitly checked for by
+ the build system. Used to be part of perl, but is no longer so in
+ perl 5.32.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ po4a.spec ++++++
--- /var/tmp/diff_new_pack.gzGTtB/_old 2020-11-03 15:15:47.291995152 +0100
+++ /var/tmp/diff_new_pack.gzGTtB/_new 2020-11-03 15:15:47.295995156 +0100
@@ -36,6 +36,7 @@
BuildRequires: perl-YAML-Tiny
BuildRequires: perl-base
BuildRequires: perl-gettext >= 1.01
+BuildRequires: perl(Pod::Parser)
# for test suite
BuildRequires: docbook_4
1
0
Hello community,
here is the log from the commit of package perl-Pod-Spell for openSUSE:Factory checked in at 2020-11-03 15:15:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Pod-Spell (Old)
and /work/SRC/openSUSE:Factory/.perl-Pod-Spell.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Pod-Spell"
Tue Nov 3 15:15:29 2020 rev:19 rq:844620 version:1.20
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Pod-Spell/perl-Pod-Spell.changes 2016-05-11 16:37:55.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Pod-Spell.new.3463/perl-Pod-Spell.changes 2020-11-03 15:15:45.187993127 +0100
@@ -1,0 +2,5 @@
+Wed Oct 28 15:14:13 UTC 2020 - Dirk Stoecker <opensuse(a)dstoecker.de>
+
+- update specfile with cpanspec to fix build
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Pod-Spell.spec ++++++
--- /var/tmp/diff_new_pack.nDhWtL/_old 2020-11-03 15:15:46.087993993 +0100
+++ /var/tmp/diff_new_pack.nDhWtL/_new 2020-11-03 15:15:46.091993997 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Pod-Spell
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -20,11 +20,11 @@
Version: 1.20
Release: 0
%define cpan_name Pod-Spell
-Summary: Formatter for Spellchecking Pod
+Summary: Formatter for spellchecking Pod
License: Artistic-2.0
Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/Pod-Spell/
-Source0: http://www.cpan.org/authors/id/D/DO/DOLMEN/%{cpan_name}-%{version}.tar.gz
+URL: https://metacpan.org/release/%{cpan_name}
+Source0: https://cpan.metacpan.org/authors/id/D/DO/DOLMEN/%{cpan_name}-%{version}.ta…
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -36,6 +36,7 @@
BuildRequires: perl(Lingua::EN::Inflect)
BuildRequires: perl(Path::Tiny)
BuildRequires: perl(Pod::Escapes)
+BuildRequires: perl(Pod::Parser)
BuildRequires: perl(Test::Deep)
BuildRequires: perl(parent)
Requires: perl(Class::Tiny)
@@ -43,6 +44,7 @@
Requires: perl(Lingua::EN::Inflect)
Requires: perl(Path::Tiny)
Requires: perl(Pod::Escapes)
+Requires: perl(Pod::Parser)
Requires: perl(parent)
%{perl_requires}
@@ -71,11 +73,11 @@
%setup -q -n %{cpan_name}-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
%check
-%{__make} test
+make test
%install
%perl_make_install
@@ -84,6 +86,7 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes CONTRIBUTING LICENSE README
+%doc Changes CONTRIBUTING README
+%license LICENSE
%changelog
1
0
Hello community,
here is the log from the commit of package gcc10 for openSUSE:Factory checked in at 2020-11-03 15:15:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gcc10 (Old)
and /work/SRC/openSUSE:Factory/.gcc10.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gcc10"
Tue Nov 3 15:15:18 2020 rev:8 rq:844614 version:10.2.1+git872
Changes:
--------
--- /work/SRC/openSUSE:Factory/gcc10/cross-aarch64-gcc10.changes 2020-08-28 21:18:07.624230011 +0200
+++ /work/SRC/openSUSE:Factory/.gcc10.new.3463/cross-aarch64-gcc10.changes 2020-11-03 15:15:29.831978350 +0100
@@ -1,0 +2,11 @@
+Wed Oct 28 09:45:37 UTC 2020 - Richard Biener <rguenther(a)suse.com>
+
+- Update to gcc-10 branch head (a78cd759754c92cecbf235ac9b), git872.
+
+-------------------------------------------------------------------
+Tue Oct 27 03:25:06 UTC 2020 - Matthew Trescott <matthewtrescott(a)gmail.com>
+
+- Build complete set of multilibs for arm-none target [bsc#1106014]
+ * Fixes inadvertant mixture of ARM and Thumb instructions in linker output
+
+-------------------------------------------------------------------
cross-amdgcn-gcc10.changes: same change
cross-arm-gcc10.changes: same change
cross-arm-none-gcc10-bootstrap.changes: same change
cross-arm-none-gcc10.changes: same change
cross-avr-gcc10-bootstrap.changes: same change
cross-avr-gcc10.changes: same change
cross-epiphany-gcc10-bootstrap.changes: same change
cross-epiphany-gcc10.changes: same change
cross-hppa-gcc10.changes: same change
cross-i386-gcc10.changes: same change
cross-m68k-gcc10.changes: same change
cross-mips-gcc10.changes: same change
cross-nvptx-gcc10.changes: same change
cross-ppc64-gcc10.changes: same change
cross-ppc64le-gcc10.changes: same change
cross-riscv64-elf-gcc10-bootstrap.changes: same change
cross-riscv64-elf-gcc10.changes: same change
cross-riscv64-gcc10.changes: same change
cross-rx-gcc10-bootstrap.changes: same change
cross-rx-gcc10.changes: same change
cross-s390x-gcc10.changes: same change
cross-sparc-gcc10.changes: same change
cross-sparc64-gcc10.changes: same change
cross-x86_64-gcc10.changes: same change
gcc10-testresults.changes: same change
gcc10.changes: same change
Old:
----
gcc-10.2.1+git583.tar.xz
New:
----
gcc-10.2.1+git872.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cross-aarch64-gcc10.spec ++++++
--- /var/tmp/diff_new_pack.pgFQxA/_old 2020-11-03 15:15:43.747991742 +0100
+++ /var/tmp/diff_new_pack.pgFQxA/_new 2020-11-03 15:15:43.747991742 +0100
@@ -113,7 +113,7 @@
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 10.2.1+git583
+Version: 10.2.1+git872
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -519,6 +519,18 @@
--with-fpu=vfp \
--disable-sjlj-exceptions \
%endif
+%if "%{TARGET_ARCH}" == "arm-none"
+ --enable-multilib \
+ --with-multilib-list=aprofile,rmprofile \
+ --disable-decimal-float \
+ --disable-libffi \
+ --disable-libgomp \
+ --disable-libmudflap \
+ --disable-libquadmath \
+ --disable-shared \
+ --disable-threads \
+ --disable-tls \
+%endif
%if "%{TARGET_ARCH}" == "armv5tel"
--with-arch=armv5te \
--with-float=soft \
cross-amdgcn-gcc10.spec: same change
cross-arm-gcc10.spec: same change
cross-arm-none-gcc10-bootstrap.spec: same change
cross-arm-none-gcc10.spec: same change
cross-avr-gcc10-bootstrap.spec: same change
cross-avr-gcc10.spec: same change
cross-epiphany-gcc10-bootstrap.spec: same change
cross-epiphany-gcc10.spec: same change
cross-hppa-gcc10.spec: same change
cross-i386-gcc10.spec: same change
cross-m68k-gcc10.spec: same change
cross-mips-gcc10.spec: same change
cross-nvptx-gcc10.spec: same change
cross-ppc64-gcc10.spec: same change
cross-ppc64le-gcc10.spec: same change
cross-riscv64-elf-gcc10-bootstrap.spec: same change
cross-riscv64-elf-gcc10.spec: same change
cross-riscv64-gcc10.spec: same change
cross-rx-gcc10-bootstrap.spec: same change
cross-rx-gcc10.spec: same change
cross-s390x-gcc10.spec: same change
cross-sparc-gcc10.spec: same change
cross-sparc64-gcc10.spec: same change
cross-x86_64-gcc10.spec: same change
gcc10-testresults.spec: same change
gcc10.spec: same change
++++++ gcc-10.2.1+git583.tar.xz -> gcc-10.2.1+git872.tar.xz ++++++
/work/SRC/openSUSE:Factory/gcc10/gcc-10.2.1+git583.tar.xz /work/SRC/openSUSE:Factory/.gcc10.new.3463/gcc-10.2.1+git872.tar.xz differ: char 16, line 1
++++++ gcc.spec.in ++++++
--- /var/tmp/diff_new_pack.pgFQxA/_old 2020-11-03 15:15:44.815992769 +0100
+++ /var/tmp/diff_new_pack.pgFQxA/_new 2020-11-03 15:15:44.815992769 +0100
@@ -263,7 +263,7 @@
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 10.2.1+git583
+Version: 10.2.1+git872
Release: 1
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -1300,6 +1300,18 @@
--with-fpu=vfp \
--disable-sjlj-exceptions \
%endif
+%if "%{TARGET_ARCH}" == "arm-none"
+ --enable-multilib \
+ --with-multilib-list=aprofile,rmprofile \
+ --disable-decimal-float \
+ --disable-libffi \
+ --disable-libgomp \
+ --disable-libmudflap \
+ --disable-libquadmath \
+ --disable-shared \
+ --disable-threads \
+ --disable-tls \
+%endif
%if "%{TARGET_ARCH}" == "armv5tel"
--with-arch=armv5te \
--with-float=soft \
1
0
Hello community,
here is the log from the commit of package perl-Pod-Coverage for openSUSE:Factory checked in at 2020-11-03 15:15:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Pod-Coverage (Old)
and /work/SRC/openSUSE:Factory/.perl-Pod-Coverage.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Pod-Coverage"
Tue Nov 3 15:15:16 2020 rev:24 rq:844598 version:0.23
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Pod-Coverage/perl-Pod-Coverage.changes 2013-05-16 16:15:29.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Pod-Coverage.new.3463/perl-Pod-Coverage.changes 2020-11-03 15:15:27.027975651 +0100
@@ -1,0 +2,5 @@
+Wed Oct 28 13:44:33 UTC 2020 - Dirk Stoecker <opensuse(a)dstoecker.de>
+
+- fix build with perl 5.32 by regenerating spec with cpanspec
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Pod-Coverage.spec ++++++
--- /var/tmp/diff_new_pack.cJhItB/_old 2020-11-03 15:15:28.631977195 +0100
+++ /var/tmp/diff_new_pack.cJhItB/_new 2020-11-03 15:15:28.635977199 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Pod-Coverage
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -21,19 +21,20 @@
Release: 0
%define cpan_name Pod-Coverage
Summary: Checks if the documentation of a module is comprehensive
-License: GPL-1.0+ or Artistic-1.0
+License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/Pod-Coverage/
-Source: http://www.cpan.org/authors/id/R/RC/RCLAMP/%{cpan_name}-%{version}.tar.gz
+URL: https://metacpan.org/release/%{cpan_name}
+Source0: https://cpan.metacpan.org/authors/id/R/RC/RCLAMP/%{cpan_name}-%{version}.ta…
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Devel::Symdump) >= 2.01
-#BuildRequires: perl(GrandParent)
-#BuildRequires: perl(Parent)
-#BuildRequires: perl(Pod::Coverage)
+BuildRequires: perl(Pod::Find) >= 0.21
+BuildRequires: perl(Pod::Parser) >= 1.13
Requires: perl(Devel::Symdump) >= 2.01
+Requires: perl(Pod::Find) >= 0.21
+Requires: perl(Pod::Parser) >= 1.13
%{perl_requires}
%description
@@ -68,11 +69,11 @@
%setup -q -n %{cpan_name}-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
%check
-%{__make} test
+make test
%install
%perl_make_install
1
0
Hello community,
here is the log from the commit of package perl for openSUSE:Factory checked in at 2020-11-03 15:15:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl (Old)
and /work/SRC/openSUSE:Factory/.perl.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl"
Tue Nov 3 15:15:14 2020 rev:119 rq:844542 version:5.32.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl/perl.changes 2020-09-23 18:39:52.549292312 +0200
+++ /work/SRC/openSUSE:Factory/.perl.new.3463/perl.changes 2020-11-03 15:15:20.119969004 +0100
@@ -1,0 +2,14 @@
+Tue Oct 27 11:38:55 CET 2020 - mls(a)suse.de
+
+- update to perl-5.32.0
+ * new experimental infix "isa" operator
+ * support of unicode 13.0
+ * chained comparisons capability
+- updated patches:
+ * perl-HiRes.t-timeout.diff
+ * posix-sigaction.patch
+ * perl-fix2020.patch
+ * perl-reproducible2.patch
+ * perl_skip_flaky_tests_powerpc.patch
+
+-------------------------------------------------------------------
Old:
----
perl-5.30.3.tar.xz
New:
----
perl-5.32.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl.spec ++++++
--- /var/tmp/diff_new_pack.u5hTCB/_old 2020-11-03 15:15:22.503971298 +0100
+++ /var/tmp/diff_new_pack.u5hTCB/_new 2020-11-03 15:15:22.507971302 +0100
@@ -16,10 +16,10 @@
#
-%define pversion 5.30.3
-%global versionlist 5.30.1
+%define pversion 5.32.0
+%global versionlist %nil
Name: perl
-Version: 5.30.3
+Version: 5.32.0
Release: 0
Summary: The Perl interpreter
License: Artistic-1.0 OR GPL-2.0-or-later
@@ -58,58 +58,57 @@
Requires: perl-base = %{version}
Suggests: perl-doc = %{version}
Provides: perl-500
-Provides: perl-Filter-Simple = 0.95
+Provides: perl-Filter-Simple = 0.96
Provides: perl(:MODULE_COMPAT_%{pversion})
-Provides: perl(:MODULE_COMPAT_5.30.1)
-Obsoletes: perl-Filter-Simple <= 0.95
-Provides: perl-I18N-LangTags = 0.43
-Obsoletes: perl-I18N-LangTags <= 0.43
+Obsoletes: perl-Filter-Simple <= 0.96
+Provides: perl-I18N-LangTags = 0.44
+Obsoletes: perl-I18N-LangTags <= 0.44
Provides: perl-MIME-Base64 = 3.15
Obsoletes: perl-MIME-Base64 <= 3.15
-Provides: perl-Storable = 3.15
-Obsoletes: perl-Storable <= 3.15
-Provides: perl-Test-Simple = 1.302162
-Obsoletes: perl-Test-Simple <= 1.302162
+Provides: perl-Storable = 3.21
+Obsoletes: perl-Storable <= 3.21
+Provides: perl-Test-Simple = 1.302175
+Obsoletes: perl-Test-Simple <= 1.302175
Provides: perl-Text-Balanced = 2.03
Obsoletes: perl-Text-Balanced <= 2.03
-Provides: perl-Time-HiRes = 1.9760
-Obsoletes: perl-Time-HiRes <= 1.9760
+Provides: perl-Time-HiRes = 1.9764
+Obsoletes: perl-Time-HiRes <= 1.9764
Provides: perl-libnet = 3.11
Obsoletes: perl-libnet <= 3.11
-Provides: perl-Compress-Raw-Zlib = 2.084
-Obsoletes: perl-Compress-Raw-Zlib <= 2.084
-Provides: perl-Compress-Zlib = 2.084
-Obsoletes: perl-Compress-Zlib <= 2.084
-Provides: perl-IO-Compress-Base = 2.084
-Obsoletes: perl-IO-Compress-Base <= 2.084
-Provides: perl-IO-Compress-Zlib = 2.084
-Obsoletes: perl-IO-Compress-Zlib <= 2.084
+Provides: perl-Compress-Raw-Zlib = 2.093
+Obsoletes: perl-Compress-Raw-Zlib <= 2.093
+Provides: perl-Compress-Zlib = 2.093
+Obsoletes: perl-Compress-Zlib <= 2.093
+Provides: perl-IO-Compress-Base = 2.093
+Obsoletes: perl-IO-Compress-Base <= 2.093
+Provides: perl-IO-Compress-Zlib = 2.093
+Obsoletes: perl-IO-Compress-Zlib <= 2.093
Provides: perl-IO-Zlib = 1.10
Obsoletes: perl-IO-Zlib <= 1.10
-Provides: perl-Archive-Tar = 2.32
-Obsoletes: perl-Archive-Tar <= 2.32
+Provides: perl-Archive-Tar = 2.36
+Obsoletes: perl-Archive-Tar <= 2.36
Provides: perl-Locale-Maketext-Simple = 0.21
Obsoletes: perl-Locale-Maketext-Simple <= 0.21
Provides: perl-Pod-Escapes = 1.07
Obsoletes: perl-Pod-Escapes <= 1.07
-Provides: perl-Pod-Simple = 3.35
-Obsoletes: perl-Pod-Simple <= 3.35
+Provides: perl-Pod-Simple = 3.40
+Obsoletes: perl-Pod-Simple <= 3.40
Provides: perl-ExtUtils-ParseXS = 3.40
Obsoletes: perl-ExtUtils-ParseXS <= 3.40
Provides: perl-CPAN-Meta = 2.150010
Obsoletes: perl-CPAN-Meta <= 2.150010
Provides: perl-CPAN-Meta-YAML = 0.018
Obsoletes: perl-CPAN-Meta-YAML <= 0.018
-Provides: perl-ExtUtils-CBuilder = 0.280231
-Obsoletes: perl-ExtUtils-CBuilder <= 0.280231
+Provides: perl-ExtUtils-CBuilder = 0.280234
+Obsoletes: perl-ExtUtils-CBuilder <= 0.280234
Provides: perl-IO-Socket-IP = 0.39
Obsoletes: perl-IO-Socket-IP <= 0.39
Provides: perl-Parse-CPAN-Meta = 2.150010
Obsoletes: perl-Parse-CPAN-Meta <= 2.150010
Provides: perl-PathTools = 3.75
Obsoletes: perl-PathTools <= 3.75
-Provides: perl-autodie = 2.29
-Obsoletes: perl-autodie <= 2.29
+Provides: perl-autodie = 2.32
+Obsoletes: perl-autodie <= 2.32
Provides: perl-Test-Harness = 3.42
Obsoletes: perl-Test-Harness <= 3.42
Provides: perl-version = 0.9924
@@ -180,7 +179,7 @@
%patch9
%patch11
%patch12 -p1
-%patch14 -p1
+%patch14
%patch15
%patch17
%patch18
@@ -296,9 +295,7 @@
/usr/lib/perl5/%{pversion}/overloading.pm
/usr/lib/perl5/%{pversion}/parent.pm
/usr/lib/perl5/%{pversion}/strict.pm
-/usr/lib/perl5/%{pversion}/unicore/Heavy.pl
/usr/lib/perl5/%{pversion}/utf8.pm
-/usr/lib/perl5/%{pversion}/utf8_heavy.pl
/usr/lib/perl5/%{pversion}/vars.pm
/usr/lib/perl5/%{pversion}/version.pm
/usr/lib/perl5/%{pversion}/*-linux-thread-multi*/Data/
++++++ perl-5.30.3.tar.xz -> perl-5.32.0.tar.xz ++++++
/work/SRC/openSUSE:Factory/perl/perl-5.30.3.tar.xz /work/SRC/openSUSE:Factory/.perl.new.3463/perl-5.32.0.tar.xz differ: char 26, line 1
++++++ perl-HiRes.t-timeout.diff ++++++
--- /var/tmp/diff_new_pack.u5hTCB/_old 2020-11-03 15:15:22.651971440 +0100
+++ /var/tmp/diff_new_pack.u5hTCB/_new 2020-11-03 15:15:22.651971440 +0100
@@ -1,5 +1,5 @@
---- ./dist/Time-HiRes/t/alarm.t.orig 2017-04-19 13:37:05.000000000 +0000
-+++ ./dist/Time-HiRes/t/alarm.t 2017-08-30 12:15:18.729183834 +0000
+--- ./dist/Time-HiRes/t/alarm.t.orig 2020-06-14 23:01:25.000000000 +0000
++++ ./dist/Time-HiRes/t/alarm.t 2020-10-27 10:52:36.824741858 +0000
@@ -8,7 +8,7 @@ BEGIN { require_ok "Time::HiRes"; }
use Config;
@@ -7,10 +7,10 @@
-my $limit = 0.25; # 25% is acceptable slosh for testing timers
+my $limit = 0.60; # 25% is acceptable slosh for testing timers
- my $xdefine = '';
+ my $xdefine = '';
if (open(XDEFINE, "<", "xdefine")) {
---- ./dist/Time-HiRes/t/clock.t.orig 2017-04-19 13:37:05.000000000 +0000
-+++ ./dist/Time-HiRes/t/clock.t 2017-08-30 12:15:18.729183834 +0000
+--- ./dist/Time-HiRes/t/clock.t.orig 2020-06-14 23:01:25.000000000 +0000
++++ ./dist/Time-HiRes/t/clock.t 2020-10-27 10:52:36.824741858 +0000
@@ -29,7 +29,7 @@ printf("# have_clock = %d\n",
# completes fine with (say) 30% slosh, and fail otherwise. If you do that,
# consider changing over to test.pl at the same time.
@@ -20,8 +20,8 @@
SKIP: {
skip "no clock_gettime", 1
---- ./dist/Time-HiRes/t/itimer.t.orig 2017-04-19 13:37:05.000000000 +0000
-+++ ./dist/Time-HiRes/t/itimer.t 2017-08-30 12:15:18.729183834 +0000
+--- ./dist/Time-HiRes/t/itimer.t.orig 2020-06-14 23:01:25.000000000 +0000
++++ ./dist/Time-HiRes/t/itimer.t 2020-10-27 10:52:36.824741858 +0000
@@ -29,7 +29,7 @@ use Test::More tests => 2;
BEGIN { push @INC, '.' }
use t::Watchdog;
@@ -31,11 +31,11 @@
my $i = 3;
my $r = [Time::HiRes::gettimeofday()];
---- ./dist/Time-HiRes/t/usleep.t.orig 2017-04-19 13:37:05.000000000 +0000
-+++ ./dist/Time-HiRes/t/usleep.t 2017-08-30 12:15:18.730183834 +0000
+--- ./dist/Time-HiRes/t/usleep.t.orig 2020-06-14 23:01:25.000000000 +0000
++++ ./dist/Time-HiRes/t/usleep.t 2020-10-27 10:52:36.824741858 +0000
@@ -16,7 +16,7 @@ eval { Time::HiRes::usleep(-2) };
like $@, qr/::usleep\(-2\): negative time not invented yet/,
- "negative time error";
+ "negative time error";
-my $limit = 0.25; # 25% is acceptable slosh for testing timers
+my $limit = 0.60; # 25% is acceptable slosh for testing timers
++++++ perl-fix2020.patch ++++++
--- /var/tmp/diff_new_pack.u5hTCB/_old 2020-11-03 15:15:22.659971448 +0100
+++ /var/tmp/diff_new_pack.u5hTCB/_new 2020-11-03 15:15:22.663971452 +0100
@@ -72,14 +72,3 @@
: undef;
}
---- ./pod/perlport.pod.orig 2019-11-19 13:48:45.327065973 +0000
-+++ ./pod/perlport.pod 2019-11-19 13:48:49.983054613 +0000
-@@ -670,7 +670,7 @@ When calculating specific times, such as
- it may be appropriate to calculate an offset for the epoch.
-
- use Time::Local qw(timegm);
-- my $offset = timegm(0, 0, 0, 1, 0, 70);
-+ my $offset = timegm(0, 0, 0, 1, 0, 1970);
-
- The value for C<$offset> in Unix will be C<0>, but in Mac OS Classic
- will be some large number. C<$offset> can then be added to a Unix time
++++++ perl-reproducible2.patch ++++++
--- /var/tmp/diff_new_pack.u5hTCB/_old 2020-11-03 15:15:22.687971475 +0100
+++ /var/tmp/diff_new_pack.u5hTCB/_new 2020-11-03 15:15:22.687971475 +0100
@@ -1,26 +1,7 @@
-commit 3b3217087ecdc7a51bfeba5233e1a4612da9ea5b
-Author: Bernhard M. Wiedemann <bwiedemann(a)suse.de>
-Date: Thu Dec 27 11:24:43 2018 +0100
-
- Avoid recursion depth variations across builds
-
- See https://reproducible-builds.org/ for why this is good.
-
- Variations are likely coming from ASLR.
-
- On an openSUSE Linux system, this changed
- $Storable::recursion_limit
- from varying between 14265 and 14267 to a constant 14256
-
- There could be a chance for remaining variations.
-
- ---
- Better fixes welcome.
-
---- ./dist/Storable/stacksize.orig 2019-11-19 13:55:21.210100584 +0000
-+++ ./dist/Storable/stacksize 2019-11-19 13:56:37.537914451 +0000
+--- ./dist/Storable/stacksize.orig 2020-06-14 23:01:25.000000000 +0000
++++ ./dist/Storable/stacksize 2020-10-27 10:57:33.147900085 +0000
@@ -164,8 +164,8 @@ my $max_depth_hash = $n;
- # be fairly aggressive in trimming this, smoke testing showed several
+ # be fairly aggressive in trimming this, smoke testing showed
# several apparently random failures here, eg. working in one
# configuration, but not in a very similar configuration.
-$max_depth = int(0.6 * $max_depth);
++++++ perl_skip_flaky_tests_powerpc.patch ++++++
--- /var/tmp/diff_new_pack.u5hTCB/_old 2020-11-03 15:15:22.711971498 +0100
+++ /var/tmp/diff_new_pack.u5hTCB/_new 2020-11-03 15:15:22.711971498 +0100
@@ -7,17 +7,18 @@
Signed-off-by: Michel Normand <normand(a)linux.vnet.ibm.com>
---- ./cpan/Memoize/t/expmod_t.t.orig 2018-03-20 20:06:35.000000000 +0000
-+++ ./cpan/Memoize/t/expmod_t.t 2018-09-26 11:05:08.908018123 +0000
-@@ -1,5 +1,6 @@
- #!/usr/bin/perl
+--- ./cpan/Memoize/t/expmod_t.t.orig 2020-06-14 23:01:25.000000000 +0000
++++ ./cpan/Memoize/t/expmod_t.t 2020-10-27 15:29:28.166018437 +0000
+@@ -2,6 +2,7 @@
+
+ # test caching timeout
+use Test::More skip_all => "ppc workers are too busy";
use lib '..';
use Memoize;
- BEGIN {
---- ./dist/Time-HiRes/t/alarm.t.orig 2018-09-26 11:04:59.936040917 +0000
-+++ ./dist/Time-HiRes/t/alarm.t 2018-09-26 11:05:08.908018123 +0000
+
+--- ./dist/Time-HiRes/t/alarm.t.orig 2020-10-27 15:29:07.838063807 +0000
++++ ./dist/Time-HiRes/t/alarm.t 2020-10-27 15:29:28.166018437 +0000
@@ -1,6 +1,6 @@
use strict;
@@ -26,8 +27,8 @@
BEGIN { push @INC, '.' }
use t::Watchdog;
---- ./dist/Time-HiRes/t/clock.t.orig 2018-09-26 11:04:59.936040917 +0000
-+++ ./dist/Time-HiRes/t/clock.t 2018-09-26 11:05:08.908018123 +0000
+--- ./dist/Time-HiRes/t/clock.t.orig 2020-10-27 15:29:07.838063807 +0000
++++ ./dist/Time-HiRes/t/clock.t 2020-10-27 15:29:28.166018437 +0000
@@ -1,6 +1,6 @@
use strict;
@@ -36,8 +37,8 @@
BEGIN { push @INC, '.' }
use t::Watchdog;
---- ./dist/Time-HiRes/t/nanosleep.t.orig 2018-09-26 11:05:08.908018123 +0000
-+++ ./dist/Time-HiRes/t/nanosleep.t 2018-09-26 11:06:17.203844610 +0000
+--- ./dist/Time-HiRes/t/nanosleep.t.orig 2020-06-14 23:01:25.000000000 +0000
++++ ./dist/Time-HiRes/t/nanosleep.t 2020-10-27 15:29:28.166018437 +0000
@@ -8,7 +8,7 @@ BEGIN {
}
}
@@ -47,8 +48,8 @@
BEGIN { push @INC, '.' }
use t::Watchdog;
---- ./dist/Time-HiRes/t/usleep.t.orig 2018-09-26 11:04:59.936040917 +0000
-+++ ./dist/Time-HiRes/t/usleep.t 2018-09-26 11:05:08.908018123 +0000
+--- ./dist/Time-HiRes/t/usleep.t.orig 2020-10-27 15:29:07.838063807 +0000
++++ ./dist/Time-HiRes/t/usleep.t 2020-10-27 15:29:28.166018437 +0000
@@ -8,7 +8,7 @@ BEGIN {
}
}
@@ -58,8 +59,8 @@
BEGIN { push @INC, '.' }
use t::Watchdog;
---- ./t/op/alarm.t.orig 2018-05-21 10:44:04.000000000 +0000
-+++ ./t/op/alarm.t 2018-09-26 11:05:08.908018123 +0000
+--- ./t/op/alarm.t.orig 2020-06-14 23:01:25.000000000 +0000
++++ ./t/op/alarm.t 2020-10-27 15:29:28.170018428 +0000
@@ -11,6 +11,7 @@ use Config;
if ( !$Config{d_alarm} ) {
skip_all("alarm() not implemented on this platform");
@@ -68,8 +69,8 @@
plan tests => 5;
my $Perl = which_perl();
---- ./t/op/sigsystem.t.orig 2018-03-20 20:06:37.000000000 +0000
-+++ ./t/op/sigsystem.t 2018-09-26 11:05:08.908018123 +0000
+--- ./t/op/sigsystem.t.orig 2020-06-14 23:01:25.000000000 +0000
++++ ./t/op/sigsystem.t 2020-10-27 15:29:28.170018428 +0000
@@ -11,6 +11,7 @@ use strict;
use constant TRUE => ($^X, '-e', 'exit 0');
use Data::Dumper;
@@ -78,8 +79,8 @@
plan tests => 4;
SKIP: {
---- ./t/op/sselect.t.orig 2018-05-21 12:29:23.000000000 +0000
-+++ ./t/op/sselect.t 2018-09-26 11:05:08.908018123 +0000
+--- ./t/op/sselect.t.orig 2020-06-14 23:01:25.000000000 +0000
++++ ./t/op/sselect.t 2020-10-27 15:29:28.170018428 +0000
@@ -13,6 +13,8 @@ BEGIN {
skip_all("Win32 miniperl has no socket select")
if $^O eq "MSWin32" && is_miniperl();
@@ -89,8 +90,8 @@
plan (16);
my $blank = "";
---- ./t/op/stat.t.orig 2018-05-21 12:29:23.000000000 +0000
-+++ ./t/op/stat.t 2018-09-26 11:05:08.908018123 +0000
+--- ./t/op/stat.t.orig 2020-06-14 23:01:25.000000000 +0000
++++ ./t/op/stat.t 2020-10-27 15:29:28.170018428 +0000
@@ -9,6 +9,7 @@ BEGIN {
use strict;
use warnings;
++++++ posix-sigaction.patch ++++++
--- /var/tmp/diff_new_pack.u5hTCB/_old 2020-11-03 15:15:22.723971510 +0100
+++ /var/tmp/diff_new_pack.u5hTCB/_new 2020-11-03 15:15:22.723971510 +0100
@@ -1,8 +1,6 @@
-Index: perl-5.26.1/ext/POSIX/POSIX.xs
-===================================================================
---- perl-5.26.1.orig/ext/POSIX/POSIX.xs
-+++ perl-5.26.1/ext/POSIX/POSIX.xs
-@@ -3158,6 +3158,10 @@ sigaction(sig, optaction, oldaction = 0)
+--- ./ext/POSIX/POSIX.xs.orig 2020-06-14 23:01:25.000000000 +0000
++++ ./ext/POSIX/POSIX.xs 2020-10-27 10:53:50.744531872 +0000
+@@ -3110,6 +3110,10 @@ sigaction(sig, optaction, oldaction = 0)
/* Set up any desired flags. */
svp = hv_fetchs(action, "FLAGS", FALSE);
act.sa_flags = svp ? SvIV(*svp) : 0;
@@ -11,5 +9,5 @@
+ act.sa_flags |= SA_SIGINFO;
+#endif
- /* Don't worry about cleaning up *sigsvp if this fails,
- * because that means we tried to disposition a
+ /* Safe signals use "csighandler", which vectors through the
+ PL_sighandlerp pointer when it's safe to do so.
1
0
Hello community,
here is the log from the commit of package glibc for openSUSE:Factory checked in at 2020-11-03 15:15:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/glibc (Old)
and /work/SRC/openSUSE:Factory/.glibc.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "glibc"
Tue Nov 3 15:15:11 2020 rev:241 rq:844528 version:2.32
Changes:
--------
--- /work/SRC/openSUSE:Factory/glibc/glibc.changes 2020-10-06 17:09:50.437461480 +0200
+++ /work/SRC/openSUSE:Factory/.glibc.new.3463/glibc.changes 2020-11-03 15:15:14.531963626 +0100
@@ -1,0 +2,7 @@
+Mon Oct 26 07:07:38 UTC 2020 - Richard Biener <rguenther(a)suse.com>
+
+- Use --enable-cet on x86_64 to instrument glibc for indirect branch
+ tracking and shadow stack use. Enable indirect branch tracking
+ and shadow stack in the dynamic loader. [jsc#PM-2110] [bsc#1175154]
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ glibc.spec ++++++
--- /var/tmp/diff_new_pack.m1cWyh/_old 2020-11-03 15:15:18.383967333 +0100
+++ /var/tmp/diff_new_pack.m1cWyh/_new 2020-11-03 15:15:18.391967340 +0100
@@ -630,6 +630,11 @@
%ifarch ppc64p7
--with-cpu=power7 \
%endif
+%ifarch x86_64
+%if %suse_version > 1500
+ --enable-cet \
+%endif
+%endif
%if %{enable_stackguard_randomization}
--enable-stackguard-randomization \
%endif
1
0
Hello community,
here is the log from the commit of package timezone for openSUSE:Factory checked in at 2020-11-03 15:15:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/timezone (Old)
and /work/SRC/openSUSE:Factory/.timezone.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "timezone"
Tue Nov 3 15:15:10 2020 rev:130 rq:845019 version:2020d
Changes:
--------
--- /work/SRC/openSUSE:Factory/timezone/timezone-java.changes 2020-09-27 11:48:35.763967143 +0200
+++ /work/SRC/openSUSE:Factory/.timezone.new.3463/timezone-java.changes 2020-11-03 15:15:11.515960724 +0100
@@ -2 +2,41 @@
-Sat Sep 12 04:09:14 UTC 2020 - Marguerite Su <i(a)marguerite.su>
+Fri Oct 30 11:43:21 UTC 2020 - Marketa Calabkova <mcalabkova(a)suse.com>
+
+- Add fat.patch to generate "fat" timezone files (was default before 2020b).
+
+-------------------------------------------------------------------
+Fri Oct 23 09:24:02 UTC 2020 - Andreas Stieger <andreas.stieger(a)gmx.de>
+
+- Adjust timezone-java.spec.in to avoid build failures when running
+ pre_checkin.sh
+
+-------------------------------------------------------------------
+Thu Oct 22 07:08:35 UTC 2020 - Marketa Calabkova <mcalabkova(a)suse.com>
+
+- timezone update 2020d
+ * Palestine ends DST earlier than predicted, on 2020-10-24.
+
+-------------------------------------------------------------------
+Mon Oct 19 08:05:42 UTC 2020 - Marketa Calabkova <mcalabkova(a)suse.com>
+
+- timezone update 2020c
+ * Fiji starts DST later than usual, on 2020-12-20.
+
+-------------------------------------------------------------------
+Thu Oct 8 07:52:59 UTC 2020 - Marketa Calabkova <mcalabkova(a)suse.com>
+
+- timezone update 2020b (bsc#1177460)
+ * Revised predictions for Morocco's changes starting in 2023.
+ * Canada's Yukon changes to -07 on 2020-11-01, not 2020-03-08.
+ * Macquarie Island has stayed in sync with Tasmania since 2011.
+ * Casey, Antarctica is at +08 in winter and +11 in summer.
+ * zic no longer supports -y, nor the TYPE field of Rules.
+- Rebased timezone-2018f-bsc1112310.patch
+
+-------------------------------------------------------------------
+Thu Sep 24 15:02:08 UTC 2020 - Dominique Leuenberger <dimstar(a)opensuse.org>
+
+- Fixup tzdata-china.diff: zone.tab and zone1970.tab MUST be tab
+ delimited (boo#1176927).
+
+-------------------------------------------------------------------
+Sat Sep 12 04:08:38 UTC 2020 - Marguerite Su <i(a)marguerite.su>
--- /work/SRC/openSUSE:Factory/timezone/timezone.changes 2020-09-27 11:48:36.063967467 +0200
+++ /work/SRC/openSUSE:Factory/.timezone.new.3463/timezone.changes 2020-11-03 15:15:11.831961027 +0100
@@ -1,0 +2,34 @@
+Fri Oct 30 11:43:21 UTC 2020 - Marketa Calabkova <mcalabkova(a)suse.com>
+
+- Add fat.patch to generate "fat" timezone files (was default before 2020b).
+
+-------------------------------------------------------------------
+Fri Oct 23 09:24:02 UTC 2020 - Andreas Stieger <andreas.stieger(a)gmx.de>
+
+- Adjust timezone-java.spec.in to avoid build failures when running
+ pre_checkin.sh
+
+-------------------------------------------------------------------
+Thu Oct 22 07:08:35 UTC 2020 - Marketa Calabkova <mcalabkova(a)suse.com>
+
+- timezone update 2020d
+ * Palestine ends DST earlier than predicted, on 2020-10-24.
+
+-------------------------------------------------------------------
+Mon Oct 19 08:05:42 UTC 2020 - Marketa Calabkova <mcalabkova(a)suse.com>
+
+- timezone update 2020c
+ * Fiji starts DST later than usual, on 2020-12-20.
+
+-------------------------------------------------------------------
+Thu Oct 8 07:52:59 UTC 2020 - Marketa Calabkova <mcalabkova(a)suse.com>
+
+- timezone update 2020b (bsc#1177460)
+ * Revised predictions for Morocco's changes starting in 2023.
+ * Canada's Yukon changes to -07 on 2020-11-01, not 2020-03-08.
+ * Macquarie Island has stayed in sync with Tasmania since 2011.
+ * Casey, Antarctica is at +08 in winter and +11 in summer.
+ * zic no longer supports -y, nor the TYPE field of Rules.
+- Rebased timezone-2018f-bsc1112310.patch
+
+-------------------------------------------------------------------
Old:
----
tzcode2020a.tar.gz
tzcode2020a.tar.gz.asc
tzdata2020a.tar.gz
tzdata2020a.tar.gz.asc
New:
----
fat.patch
tzcode2020d.tar.gz
tzcode2020d.tar.gz.asc
tzdata2020d.tar.gz
tzdata2020d.tar.gz.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ timezone-java.spec ++++++
--- /var/tmp/diff_new_pack.JlDe91/_old 2020-11-03 15:15:13.647962775 +0100
+++ /var/tmp/diff_new_pack.JlDe91/_new 2020-11-03 15:15:13.651962779 +0100
@@ -25,7 +25,7 @@
# COMMON-BEGIN
License: BSD-3-Clause AND SUSE-Public-Domain
Group: System/Base
-Version: 2020a
+Version: 2020d
Release: 0
Source: https://www.iana.org/time-zones/repository/releases/tzdata%{version}.tar.gz
Source1: https://www.iana.org/time-zones/repository/releases/tzcode%{version}.tar.gz
@@ -40,11 +40,10 @@
# COMMON-END
URL: https://www.iana.org/time-zones
Requires(pre): filesystem, coreutils
-BuildArch: noarch
Provides: tzdata-java = %{version}-%{release}
Provides: tzdata-java8 = %{version}-%{release}
#!BuildIgnore: tzdata-java tzdata-java8
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildArch: noarch
%description
These are configuration files that describe available time zones - this
@@ -69,15 +68,15 @@
# Java 6/7 data
java -jar %{_javadir}/javazic.jar -V %{version} \
-d javazi \
- africa antarctica asia australasia europe northamerica pacificnew \
- southamerica backward etcetera systemv \
+ africa antarctica asia australasia europe northamerica \
+ southamerica backward etcetera \
%{_datadir}/javazic/tzdata_jdk/gmt \
%{_datadir}/javazic/tzdata_jdk/jdk11_backward
# Java 8/9 data
java -jar %{_javadir}/tzdb.jar \
-srcdir . -dstfile javazi/tzdb.dat \
- africa antarctica asia australasia europe northamerica pacificnew \
- southamerica backward etcetera systemv \
+ africa antarctica asia australasia europe northamerica \
+ southamerica backward etcetera \
%{_datadir}/tzdb/tzdata_jdk/gmt \
%{_datadir}/tzdb/tzdata_jdk/jdk11_backward
++++++ timezone.spec ++++++
--- /var/tmp/diff_new_pack.JlDe91/_old 2020-11-03 15:15:13.683962810 +0100
+++ /var/tmp/diff_new_pack.JlDe91/_new 2020-11-03 15:15:13.687962814 +0100
@@ -22,7 +22,7 @@
Group: System/Base
URL: http://www.iana.org/time-zones
# COMMON-BEGIN
-Version: 2020a
+Version: 2020d
Release: 0
Source: https://www.iana.org/time-zones/repository/releases/tzdata%{version}.tar.gz
Source1: https://www.iana.org/time-zones/repository/releases/tzcode%{version}.tar.gz
@@ -33,6 +33,7 @@
Patch0: tzdata-china.diff
Patch3: iso3166-uk.diff
Patch4: timezone-2018f-bsc1112310.patch
+Patch5: fat.patch
# COMMON-END
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -51,6 +52,7 @@
%patch0 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
sed -ri 's@/usr/local/etc/zoneinfo@%{_datadir}/zoneinfo@g' *.[1358]
# COMMON-PREP-END
@@ -66,7 +68,7 @@
make %{?_smp_mflags} TZDIR=%{_datadir}/zoneinfo CFLAGS="%{optflags} -DHAVE_GETTEXT=1 -DTZDEFAULT='\"/etc/localtime\"' -DTM_GMTOFF=tm_gmtoff -DTM_ZONE=tm_zone -Dlint" AWK=awk BUGEMAIL="opensuse-support(a)opensuse.org"
make %{?_smp_mflags} TZDIR=zoneinfo AWK=awk zones
# Generate posixrules
-./zic -y ./yearistype -d zoneinfo -p %{AREA}/%{ZONE}
+./zic -b fat -y ./yearistype -d zoneinfo -p %{AREA}/%{ZONE}
%install
mkdir -p %{buildroot}%{_prefix}/share/zoneinfo
++++++ fat.patch ++++++
Index: timezone-2020d/Makefile
===================================================================
--- timezone-2020d.orig/Makefile
+++ timezone-2020d/Makefile
@@ -386,7 +386,7 @@ ZIC= $(zic) $(ZFLAGS)
# To grow the files and work around older application bugs, append "-b fat";
# see ZIC_BLOAT_DEFAULT above.
# See the zic man page for more about -b and -r.
-ZFLAGS=
+ZFLAGS=-b fat
# How to use zic to install TZif files.
++++++ timezone-2018f-bsc1112310.patch ++++++
--- /var/tmp/diff_new_pack.JlDe91/_old 2020-11-03 15:15:13.747962872 +0100
+++ /var/tmp/diff_new_pack.JlDe91/_new 2020-11-03 15:15:13.747962872 +0100
@@ -18,13 +18,13 @@
The bug is actually in Java. Use an alternative format to fix build.
-Index: timezone-2018f/asia
+Index: timezone-2020b/asia
===================================================================
---- timezone-2018f.orig/asia 2018-10-18 15:18:13.461299301 +0200
-+++ timezone-2018f/asia 2018-10-18 15:23:20.330642692 +0200
-@@ -1657,7 +1657,7 @@ Zone Asia/Jerusalem 2:20:54 - LMT 1880
+--- timezone-2020b.orig/asia
++++ timezone-2020b/asia
+@@ -2021,7 +2021,7 @@ Zone Asia/Jerusalem 2:20:54 - LMT 1880
- # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
+ # Rule NAME FROM TO - IN ON AT SAVE LETTER/S
Rule Japan 1948 only - May Sat>=1 24:00 1:00 D
-Rule Japan 1948 1951 - Sep Sat>=8 25:00 0 S
+Rule Japan 1948 1951 - Sep Sun>=9 1:00 0 S
++++++ timezone-java.spec.in ++++++
--- /var/tmp/diff_new_pack.JlDe91/_old 2020-11-03 15:15:13.783962906 +0100
+++ /var/tmp/diff_new_pack.JlDe91/_new 2020-11-03 15:15:13.783962906 +0100
@@ -1,7 +1,7 @@
#
# spec file for package timezone-java
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -21,17 +21,16 @@
BuildRequires: javazic
BuildRequires: tzdb
Summary: Time Zone Descriptions
-License: BSD-3-Clause and SUSE-Public-Domain
+License: BSD-3-Clause AND SUSE-Public-Domain
Group: System/Base
# COMMON-BEGIN
# COMMON-END
-Url: https://www.iana.org/time-zones
+URL: https://www.iana.org/time-zones
Requires(pre): filesystem, coreutils
-BuildArch: noarch
Provides: tzdata-java = %{version}-%{release}
Provides: tzdata-java8 = %{version}-%{release}
#!BuildIgnore: tzdata-java tzdata-java8
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildArch: noarch
%description
These are configuration files that describe available time zones - this
@@ -50,15 +49,15 @@
# Java 6/7 data
java -jar %{_javadir}/javazic.jar -V %{version} \
-d javazi \
- africa antarctica asia australasia europe northamerica pacificnew \
- southamerica backward etcetera systemv \
+ africa antarctica asia australasia europe northamerica \
+ southamerica backward etcetera \
%{_datadir}/javazic/tzdata_jdk/gmt \
%{_datadir}/javazic/tzdata_jdk/jdk11_backward
# Java 8/9 data
java -jar %{_javadir}/tzdb.jar \
-srcdir . -dstfile javazi/tzdb.dat \
- africa antarctica asia australasia europe northamerica pacificnew \
- southamerica backward etcetera systemv \
+ africa antarctica asia australasia europe northamerica \
+ southamerica backward etcetera \
%{_datadir}/tzdb/tzdata_jdk/gmt \
%{_datadir}/tzdb/tzdata_jdk/jdk11_backward
++++++ tzcode2020a.tar.gz -> tzcode2020d.tar.gz ++++++
++++ 3273 lines of diff (skipped)
++++++ tzdata2020a.tar.gz -> tzdata2020d.tar.gz ++++++
++++ 2640 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package mpc for openSUSE:Factory checked in at 2020-11-03 15:15:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mpc (Old)
and /work/SRC/openSUSE:Factory/.mpc.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mpc"
Tue Nov 3 15:15:08 2020 rev:30 rq:844997 version:1.2.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/mpc/mpc.changes 2020-08-28 21:18:03.420227970 +0200
+++ /work/SRC/openSUSE:Factory/.mpc.new.3463/mpc.changes 2020-11-03 15:15:09.507958791 +0100
@@ -1,0 +2,17 @@
+Thu Oct 29 18:30:03 UTC 2020 - Andreas Stieger <andreas.stieger(a)gmx.de>
+
+- mpc 1.2.1:
+ * Fix an incompatibility problem with GMP 6.0 and before
+ * Fix an intermediate overflow in asin
+
+-------------------------------------------------------------------
+Mon Oct 26 08:44:47 UTC 2020 - Andreas Stieger <andreas.stieger(a)gmx.de>
+
+- express build dependencies explicitly to match the versions
+ required by configue, so that the OBS scheduler is aware of them
+- move texinfo requirements to -devel package where they are
+ are actually used
+- package license in every subpackage and mark as license
+- run spec-cleaner
+
+-------------------------------------------------------------------
Old:
----
mpc-1.2.0.tar.gz
mpc-1.2.0.tar.gz.sig
New:
----
mpc-1.2.1.tar.gz
mpc-1.2.1.tar.gz.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mpc.spec ++++++
--- /var/tmp/diff_new_pack.MrEb8O/_old 2020-11-03 15:15:10.579959823 +0100
+++ /var/tmp/diff_new_pack.MrEb8O/_new 2020-11-03 15:15:10.579959823 +0100
@@ -17,7 +17,7 @@
Name: mpc
-Version: 1.2.0
+Version: 1.2.1
Release: 0
Summary: MPC multiple-precision complex shared library
License: LGPL-3.0-or-later
@@ -27,11 +27,9 @@
Source1: https://ftp.gnu.org/gnu/mpc/mpc-%{version}.tar.gz.sig
Source2: %{name}.keyring
Source3: baselibs.conf
-BuildRequires: gmp-devel
-BuildRequires: mpfr-devel
-Requires(post): %{install_info_prereq}
-Requires(preun): %{install_info_prereq}
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(gmp) >= 5.0.0
+BuildRequires: pkgconfig(mpfr) >= 4.1.0
%description
MPC is a C library for the arithmetic of complex numbers with
@@ -51,9 +49,10 @@
Summary: MPC multiple-precision complex library development files
Group: Development/Libraries/C and C++
Requires: libmpc3 = %{version}
-Requires: mpfr-devel
-# FIXME: use proper Requires(pre/post/preun/...)
-PreReq: %{install_info_prereq}
+Requires: pkgconfig(gmp) >= 5.0.0
+Requires: pkgconfig(mpfr) >= 4.1.0
+Requires(post): %{install_info_prereq}
+Requires(preun): %{install_info_prereq}
%description devel
MPC multiple-precision complex library development files.
@@ -64,33 +63,33 @@
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
%configure
-make %{?_smp_mflags}
+%make_build
%check
-make check %{?_smp_mflags}
+%make_build check
%install
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
-rm %{buildroot}%{_libdir}/libmpc.la
+%make_install
+find %{buildroot} -type f -name "*.la" -delete -print
%post -n libmpc3 -p /sbin/ldconfig
-
%post devel
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%postun -n libmpc3 -p /sbin/ldconfig
-
%preun devel
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%files -n libmpc3
%defattr(-,root,root)
+%license COPYING.LESSER
%{_libdir}/libmpc.so.3*
%files devel
%defattr(-,root,root)
-%doc AUTHORS NEWS COPYING.LESSER
-%{_infodir}/mpc.info.gz
+%license COPYING.LESSER
+%doc AUTHORS NEWS
+%{_infodir}/mpc.info%{?ext_info}
%{_libdir}/libmpc.a
%{_libdir}/libmpc.so
%{_includedir}/mpc.h
++++++ mpc-1.2.0.tar.gz -> mpc-1.2.1.tar.gz ++++++
++++ 1737 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mpc-1.2.0/Makefile.vc new/mpc-1.2.1/Makefile.vc
--- old/mpc-1.2.0/Makefile.vc 2020-08-17 16:55:03.000000000 +0200
+++ new/mpc-1.2.1/Makefile.vc 2020-10-20 18:32:16.000000000 +0200
@@ -50,7 +50,7 @@
CC = cl.exe
CDEFAULTFLAGS=/O2 /GR- /MD /nologo /EHs
-VERSION=1.2.0
+VERSION=1.2.1
######################## do not edit below this line ##########################
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mpc-1.2.0/NEWS new/mpc-1.2.1/NEWS
--- old/mpc-1.2.0/NEWS 2020-07-23 14:44:44.000000000 +0200
+++ new/mpc-1.2.1/NEWS 2020-09-30 13:02:53.000000000 +0200
@@ -1,11 +1,16 @@
-Changes in version 1.2.0:
+Changes in version 1.2.1, released in October 2020:
+ - Bug fixes:
+ - Fix an incompatibility problem with GMP 6.0 and before.
+ - Fix an intermediate overflow in asin.
+
+Changes in version 1.2.0 ("Hyacinthus orientalis"), released in August 2020:
- Minimally required library version: MPFR 4.1.0
- New functions: mpc_sum, mpc_dot
- Several functions are more robust with a reduced exponent range
(for example corresponding to IEEE 754 binary formats)
- New tool mpcheck.
-Changes in version 1.1.0:
+Changes in version 1.1.0 ("Gladiolus palustris"), released in January 2018:
- Minimally required library versions: GMP 5.0.0 and MPFR 3.0.0
- Fixed issues with MPFR 4.0.0
- New functions: mpc_cmp_abs, mpc_rootofunity
@@ -19,25 +24,25 @@
- Fixed a bug in mpc_atan(0,y) with |y| near 1, see
http://lists.gforge.inria.fr/pipermail/mpc-discuss/2017-March/001404.html
-Changes in version 1.0.3:
+Changes in version 1.0.3, released in February 2015:
- Fixed mpc_pow, see
http://lists.gforge.inria.fr/pipermail/mpc-discuss/2014-October/001315.html
- #18257: Switched to libtool 2.4.5.
-Changes in version 1.0.2:
+Changes in version 1.0.2, released in January 2014:
- Fixed mpc_atan, mpc_atanh for (+-0, +-1), see
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57994#c7
- Fixed mpc_log10 for purely imaginary argument, see
http://lists.gforge.inria.fr/pipermail/mpc-discuss/2012-September/001208.ht…
-Changes in version 1.0.1:
+Changes in version 1.0.1, released in September 2012:
- Switched to automake 1.11.6, see
https://lists.gnu.org/archive/html/automake/2012-07/msg00023.html
- #14669: Fixed extraction of CC from gmp.h
- Fixed case of intermediate zero real or imaginary part in mpc_fma,
found by hydra with GMP_CHECK_RANDOMIZE=1346362345
-Changes in version 1.0:
+Changes in version 1.0 ("Fagus silvatica"), released in July 2012:
- First release as a GNU package
- License change: LGPLv3+ for code, GFDLv1.3+ (with no invariant sections)
for documentation
@@ -59,7 +64,7 @@
infinite part and equals output variable is corrected
- mpc_fr_sub: Wrong return value for imaginary part is corrected
-Changes in version 0.9:
+Changes in version 0.9 ("Epilobium montanum"), released in February 2011:
- New functions:
- mpc_set_dc, mpc_set_ldc, mpc_get_dc, mpc_get_ldc for converting
between mpc type variables and C variables of type double _Complex
@@ -81,24 +86,24 @@
#include "mpc-log.h" instead of #include "mpc.h"
- Minimally required library versions: gmp 4.3.2, mpfr 2.4.2
-Changes in version 0.8.2:
+Changes in version 0.8.2, released in May 2010:
- Speed-up of mpc_pow_ui through binary exponentiation
-Changes in version 0.8.1:
+Changes in version 0.8.1, released in December 2009:
- Bug fixes:
- mpc_acosh, mpc_asinh, mpc_atanh: swap of precisions between real and
imaginary parts
- mpc_atan: memory leak
- mpc_log: wrong ternary value in data file; masked by bug in mpfr-2.4.1
-Changes in version 0.8 ("Dianthus deltoides"):
+Changes in version 0.8 ("Dianthus deltoides"), released in November 2009:
- New functions:
- mpc_asin, mpc_acos, mpc_atan, mpc_asinh, mpc_acosh, mpc_atanh,
mpc_pow_d, mpc_pow_ld, mpc_pow_si, mpc_pow_ui, mpc_pow_z, mpc_pow_fr
- Bug fixes:
- mpc_ui_div: real divisor
-Changes in version 0.7 ("Campanula uniflora"):
+Changes in version 0.7 ("Campanula uniflora"), released in September 2009:
- New functions: mpc_pow, mpc_set_nan, mpc_swap
- Bug fixes:
- mpc_log: along branch cut
@@ -111,7 +116,7 @@
- Changed MPC_SET_X_Y macro
- Functions mpc_random and mpc_random2 removed
-Changes in version 0.6 ("Bellis perennis"):
+Changes in version 0.6 ("Bellis perennis"), released in April 2009:
- New functions: mpc_get_str, mpc_set_str, mpc_strtoc, mpc_set_uj,
mpc_set_sj, mpc_set_ld, mpc_set_ld_ld, mpc_set_si_si, mpc_set_uj_uj,
mpc_set_sj_sj, mpc_set_f, mpc_set_f_f, mpc_set_q, mpc_set_q_q, mpc_set_z,
@@ -130,14 +135,14 @@
- mpc_get_version and MPC_VERSION_STRING agree
- Compilation on i686-pc-cygwin and i686-pc-mingw32 fixed
-Changes in version 0.5.2:
+Changes in version 0.5.2, released in December 2008:
- New macros:
- version number: MPC_VERSION_NUM, MPC_VERSION
- Makefile.vc updated (thanks to Mickael Gastineau)
- Compilation on Debian-Gnu-Linux-PowerPC and MacOsX
fixed (thanks to Laurent Fousse and Mickael Gastineau)
-Changes in version 0.5.1:
+Changes in version 0.5.1, released in November 2008:
- New functions:
- mpc_set_fr_fr
- mpc_real, mpc_imag
@@ -162,7 +167,7 @@
- fix handling of special values: mpc_exp, mpc_log, mpc_mul, mpc_norm,
mpc_sqr, mpc_sqrt
-Changes in version 0.5 ("Aconitum neomontanum"):
+Changes in version 0.5 ("Aconitum neomontanum"), released in September 2008:
- Support for autotools
- New functions:
- logarithm
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mpc-1.2.0/README new/mpc-1.2.1/README
--- old/mpc-1.2.0/README 2020-07-23 14:44:44.000000000 +0200
+++ new/mpc-1.2.1/README 2020-08-21 14:28:40.000000000 +0200
@@ -24,8 +24,8 @@
1. In the directory of the GNU MPC archive, type
- tar xzf mpc-1.2.0.tar.gz
- cd mpc-1.2.0
+ tar xzf mpc-1.2.1.tar.gz
+ cd mpc-1.2.1
./configure
make
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mpc-1.2.0/config.h.in new/mpc-1.2.1/config.h.in
--- old/mpc-1.2.0/config.h.in 2020-08-17 17:00:14.000000000 +0200
+++ new/mpc-1.2.1/config.h.in 2020-10-20 18:26:31.000000000 +0200
@@ -39,9 +39,6 @@
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
-/* mpfr_fmma is not present */
-#undef HAVE_MPFR_FMMA
-
/* Define to 1 if you have the `setlocale' function. */
#undef HAVE_SETLOCALE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mpc-1.2.0/configure.ac new/mpc-1.2.1/configure.ac
--- old/mpc-1.2.0/configure.ac 2020-08-17 16:54:28.000000000 +0200
+++ new/mpc-1.2.1/configure.ac 2020-10-20 18:26:01.000000000 +0200
@@ -20,7 +20,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61)
-AC_INIT(mpc, 1.2.0, mpc-discuss(a)lists.gforge.inria.fr)
+AC_INIT(mpc, 1.2.1, mpc-discuss(a)lists.gforge.inria.fr)
AC_CONFIG_SRCDIR([src/mpc-impl.h])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_HEADER([config.h])
@@ -166,22 +166,6 @@
AC_MSG_ERROR([libmpfr not found or uses a different ABI (including static vs shared).])
])
-AC_MSG_CHECKING(for mpfr_fmma)
-LIBS="-lmpfr $LIBS"
-AC_LINK_IFELSE(
- [AC_LANG_PROGRAM(
- [[#include "mpfr.h"]],
- [[mpfr_t x; mpfr_fmma (x, x, x, x, x, 0);]]
- )],
- [
- AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_MPFR_FMMA, 1, [mpfr_fmma is present])
- ],
- [
- AC_MSG_RESULT(no)
- AC_DEFINE(HAVE_MPFR_FMMA, 0, [mpfr_fmma is not present])
- ])
-
# Check for a recent GMP
# We only guarantee that with a *functional* and recent enough GMP version,
# MPC will compile; we do not guarantee that GMP will compile.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mpc-1.2.0/doc/mpc.info new/mpc-1.2.1/doc/mpc.info
--- old/mpc-1.2.0/doc/mpc.info 2020-08-17 17:00:20.000000000 +0200
+++ new/mpc-1.2.1/doc/mpc.info 2020-10-20 18:28:00.000000000 +0200
@@ -1,7 +1,7 @@
This is mpc.info, produced by makeinfo version 6.7 from mpc.texi.
This manual is for GNU MPC, a library for multiple precision complex
-arithmetic, version 1.2.0 of August 2020.
+arithmetic, version 1.2.1 of October 2020.
Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
2011, 2012, 2013, 2016, 2018, 2020 INRIA
@@ -23,7 +23,7 @@
*******
This manual documents how to install and use the GNU Multiple Precision
-Complex Library, version 1.2.0
+Complex Library, version 1.2.1
* Menu:
@@ -94,9 +94,9 @@
Here are the steps needed to install the library on Unix systems:
- 1. 'tar xzf mpc-1.2.0.tar.gz'
+ 1. 'tar xzf mpc-1.2.1.tar.gz'
- 2. 'cd mpc-1.2.0'
+ 2. 'cd mpc-1.2.1'
3. './configure'
@@ -460,12 +460,12 @@
is done in case the current allocated space for the mantissa of X
is sufficient.
- -- Function: mpfr_prec_t mpc_get_prec (mpc_t X)
+ -- Function: mpfr_prec_t mpc_get_prec (const mpc_t X)
If the real and imaginary part of X have the same precision, it is
returned, otherwise, 0 is returned.
-- Function: void mpc_get_prec2 (mpfr_prec_t* PR, mpfr_prec_t* PI,
- mpc_t X)
+ const mpc_t X)
Returns the precision of the real part of X via PR and of its
imaginary part via PI.
@@ -485,7 +485,7 @@
not in the current API, you can define them using the 'MPC_SET_X_Y'
macro (*note Advanced Functions::).
- -- Function: int mpc_set (mpc_t ROP, mpc_t OP, mpc_rnd_t RND)
+ -- Function: int mpc_set (mpc_t ROP, const mpc_t OP, mpc_rnd_t RND)
Set the value of ROP from OP, rounded to the precision of ROP with
the given rounding mode RND.
@@ -500,10 +500,10 @@
RND)
-- Function: int mpc_set_ldc (mpc_t ROP, long double _Complex OP,
mpc_rnd_t RND)
- -- Function: int mpc_set_z (mpc_t ROP, mpz_t OP mpc_rnd_t RND)
- -- Function: int mpc_set_q (mpc_t ROP, mpq_t OP mpc_rnd_t RND)
- -- Function: int mpc_set_f (mpc_t ROP, mpf_t OP mpc_rnd_t RND)
- -- Function: int mpc_set_fr (mpc_t ROP, mpfr_t OP, mpc_rnd_t RND)
+ -- Function: int mpc_set_z (mpc_t ROP, const mpz_t OP mpc_rnd_t RND)
+ -- Function: int mpc_set_q (mpc_t ROP, const mpq_t OP mpc_rnd_t RND)
+ -- Function: int mpc_set_f (mpc_t ROP, const mpf_t OP mpc_rnd_t RND)
+ -- Function: int mpc_set_fr (mpc_t ROP, const mpfr_t OP, mpc_rnd_t RND)
Set the value of ROP from OP, rounded to the precision of ROP with
the given rounding mode RND. The argument OP is interpreted as
real, so the imaginary part of ROP is set to zero with a positive
@@ -527,14 +527,14 @@
mpc_rnd_t RND)
-- Function: int mpc_set_ld_ld (mpc_t ROP, long double OP1, long double
OP2, mpc_rnd_t RND)
- -- Function: int mpc_set_z_z (mpc_t ROP, mpz_t OP1, mpz_t OP2,
- mpc_rnd_t RND)
- -- Function: int mpc_set_q_q (mpc_t ROP, mpq_t OP1, mpq_t OP2,
- mpc_rnd_t RND)
- -- Function: int mpc_set_f_f (mpc_t ROP, mpf_t OP1, mpf_t OP2,
- mpc_rnd_t RND)
- -- Function: int mpc_set_fr_fr (mpc_t ROP, mpfr_t OP1, mpfr_t OP2,
- mpc_rnd_t RND)
+ -- Function: int mpc_set_z_z (mpc_t ROP, const mpz_t OP1, const mpz_t
+ OP2, mpc_rnd_t RND)
+ -- Function: int mpc_set_q_q (mpc_t ROP, const mpq_t OP1, const mpq_t
+ OP2, mpc_rnd_t RND)
+ -- Function: int mpc_set_f_f (mpc_t ROP, const mpf_t OP1, const mpf_t
+ OP2, mpc_rnd_t RND)
+ -- Function: int mpc_set_fr_fr (mpc_t ROP, const mpfr_t OP1, const
+ mpfr_t OP2, mpc_rnd_t RND)
Set the real part of ROP from OP1, and its imaginary part from OP2,
according to the rounding mode RND.
@@ -566,7 +566,7 @@
The following functions are available only if '<complex.h>' is included
_before_ 'mpc.h'.
- -- Function: double _Complex mpc_get_dc (mpc_t OP, mpc_rnd_t RND)
+ -- Function: double _Complex mpc_get_dc (const mpc_t OP, mpc_rnd_t RND)
-- Function: long double _Complex mpc_get_ldc (mpc_t OP, mpc_rnd_t RND)
Convert OP to a C complex number, using the rounding mode RND.
@@ -621,8 +621,8 @@
number in base BASE; otherwise it returns -1, and ROP is set to
NaN+i*NaN.
- -- Function: char * mpc_get_str (int B, size_t N, mpc_t OP, mpc_rnd_t
- RND)
+ -- Function: char * mpc_get_str (int B, size_t N, const mpc_t OP,
+ mpc_rnd_t RND)
Convert OP to a string containing its real and imaginary parts,
separated by a space and enclosed in a pair of parentheses. The
numbers are written in base B (which may vary from 2 to 36) and
@@ -683,7 +683,7 @@
problem.
-- Function: size_t mpc_out_str (FILE *STREAM, int BASE, size_t
- N_DIGITS, mpc_t OP, mpc_rnd_t RND)
+ N_DIGITS, const mpc_t OP, mpc_rnd_t RND)
Output OP on stdio stream STREAM in base BASE, rounded according to
RND, in the same format as for 'mpc_strtoc' If STREAM is the null
pointer, ROP is written to 'stdout'.
@@ -696,9 +696,9 @@
5.5 Comparison Functions
========================
- -- Function: int mpc_cmp (mpc_t OP1, mpc_t OP2)
- -- Function: int mpc_cmp_si_si (mpc_t OP1, long int OP2R, long int
- OP2I)
+ -- Function: int mpc_cmp (const mpc_t OP1, const mpc_t OP2)
+ -- Function: int mpc_cmp_si_si (const mpc_t OP1, long int OP2R, long
+ int OP2I)
-- Macro: int mpc_cmp_si (mpc_t OP1, long int OP2)
Compare OP1 and OP2, where in the case of 'mpc_cmp_si_si', OP2 is
@@ -713,7 +713,7 @@
The storage of the return value is such that equality can be simply
checked with 'mpc_cmp (op1, op2) == 0'.
- -- Function: int mpc_cmp_abs (mpc_t OP1, mpc_t OP2)
+ -- Function: int mpc_cmp_abs (const mpc_t OP1, const mpc_t OP2)
Compare the absolute values of OP1 and OP2. The return value is 0
if both are the same (including infinity), positive if the absolute
@@ -728,11 +728,11 @@
5.6 Projection and Decomposing Functions
========================================
- -- Function: int mpc_real (mpfr_t ROP, mpc_t OP, mpfr_rnd_t RND)
+ -- Function: int mpc_real (mpfr_t ROP, const mpc_t OP, mpfr_rnd_t RND)
Set ROP to the value of the real part of OP rounded in the
direction RND.
- -- Function: int mpc_imag (mpfr_t ROP, mpc_t OP, mpfr_rnd_t RND)
+ -- Function: int mpc_imag (mpfr_t ROP, const mpc_t OP, mpfr_rnd_t RND)
Set ROP to the value of the imaginary part of OP rounded in the
direction RND.
@@ -742,11 +742,11 @@
respectively. The 'mpfr' functions can be used on the result of
these macros (note that the 'mpfr_t' type is itself a pointer).
- -- Function: int mpc_arg (mpfr_t ROP, mpc_t OP, mpfr_rnd_t RND)
+ -- Function: int mpc_arg (mpfr_t ROP, const mpc_t OP, mpfr_rnd_t RND)
Set ROP to the argument of OP, with a branch cut along the negative
real axis.
- -- Function: int mpc_proj (mpc_t ROP, mpc_t OP, mpc_rnd_t RND)
+ -- Function: int mpc_proj (mpc_t ROP, const mpc_t OP, mpc_rnd_t RND)
Compute a projection of OP onto the Riemann sphere. Set ROP to OP
rounded in the direction RND, except when at least one part of OP
is infinite (even if the other part is a NaN) in which case the
@@ -764,105 +764,105 @@
should essentially be the same as with the GNU MPFR library, with only a
marginal overhead due to the GNU MPC layer.
- -- Function: int mpc_add (mpc_t ROP, mpc_t OP1, mpc_t OP2, mpc_rnd_t
- RND)
- -- Function: int mpc_add_ui (mpc_t ROP, mpc_t OP1, unsigned long int
- OP2, mpc_rnd_t RND)
- -- Function: int mpc_add_fr (mpc_t ROP, mpc_t OP1, mpfr_t OP2,
+ -- Function: int mpc_add (mpc_t ROP, const mpc_t OP1, const mpc_t OP2,
mpc_rnd_t RND)
+ -- Function: int mpc_add_ui (mpc_t ROP, const mpc_t OP1, unsigned long
+ int OP2, mpc_rnd_t RND)
+ -- Function: int mpc_add_fr (mpc_t ROP, const mpc_t OP1, const mpfr_t
+ OP2, mpc_rnd_t RND)
Set ROP to OP1 + OP2 rounded according to RND.
- -- Function: int mpc_sub (mpc_t ROP, mpc_t OP1, mpc_t OP2, mpc_rnd_t
- RND)
- -- Function: int mpc_sub_fr (mpc_t ROP, mpc_t OP1, mpfr_t OP2,
- mpc_rnd_t RND)
- -- Function: int mpc_fr_sub (mpc_t ROP, mpfr_t OP1, mpc_t OP2,
+ -- Function: int mpc_sub (mpc_t ROP, const mpc_t OP1, const mpc_t OP2,
mpc_rnd_t RND)
- -- Function: int mpc_sub_ui (mpc_t ROP, mpc_t OP1, unsigned long int
+ -- Function: int mpc_sub_fr (mpc_t ROP, const mpc_t OP1, const mpfr_t
+ OP2, mpc_rnd_t RND)
+ -- Function: int mpc_fr_sub (mpc_t ROP, const mpfr_t OP1, const mpc_t
+ OP2, mpc_rnd_t RND)
+ -- Function: int mpc_sub_ui (mpc_t ROP, const mpc_t OP1, unsigned long
+ int OP2, mpc_rnd_t RND)
+ -- Macro: int mpc_ui_sub (mpc_t ROP, unsigned long int OP1, const mpc_t
OP2, mpc_rnd_t RND)
- -- Macro: int mpc_ui_sub (mpc_t ROP, unsigned long int OP1, mpc_t OP2,
- mpc_rnd_t RND)
-- Function: int mpc_ui_ui_sub (mpc_t ROP, unsigned long int RE1,
unsigned long int IM1, mpc_t OP2, mpc_rnd_t RND)
Set ROP to OP1 - OP2 rounded according to RND. For
'mpc_ui_ui_sub', OP1 is RE1 + IM1.
- -- Function: int mpc_neg (mpc_t ROP, mpc_t OP, mpc_rnd_t RND)
+ -- Function: int mpc_neg (mpc_t ROP, const mpc_t OP, mpc_rnd_t RND)
Set ROP to -OP rounded according to RND. Just changes the sign if
ROP and OP are the same variable.
- -- Function: int mpc_sum (mpc_t ROP, mpc_ptr* OP, unsigned long N,
- mpc_rnd_t RND)
+ -- Function: int mpc_sum (mpc_t ROP, const mpc_ptr* OP, unsigned long
+ N, mpc_rnd_t RND)
Set ROP to the sum of the elements in the array OP of length N,
rounded according to RND.
- -- Function: int mpc_mul (mpc_t ROP, mpc_t OP1, mpc_t OP2, mpc_rnd_t
- RND)
- -- Function: int mpc_mul_ui (mpc_t ROP, mpc_t OP1, unsigned long int
- OP2, mpc_rnd_t RND)
- -- Function: int mpc_mul_si (mpc_t ROP, mpc_t OP1, long int OP2,
+ -- Function: int mpc_mul (mpc_t ROP, const mpc_t OP1, const mpc_t OP2,
mpc_rnd_t RND)
- -- Function: int mpc_mul_fr (mpc_t ROP, mpc_t OP1, mpfr_t OP2,
+ -- Function: int mpc_mul_ui (mpc_t ROP, const mpc_t OP1, unsigned long
+ int OP2, mpc_rnd_t RND)
+ -- Function: int mpc_mul_si (mpc_t ROP, const mpc_t OP1, long int OP2,
mpc_rnd_t RND)
+ -- Function: int mpc_mul_fr (mpc_t ROP, const mpc_t OP1, const mpfr_t
+ OP2, mpc_rnd_t RND)
Set ROP to OP1 times OP2 rounded according to RND. Note: for
'mpc_mul', in case OP1 and OP2 have the same value, use 'mpc_sqr'
for better efficiency.
- -- Function: int mpc_mul_i (mpc_t ROP, mpc_t OP, int SGN, mpc_rnd_t
- RND)
+ -- Function: int mpc_mul_i (mpc_t ROP, const mpc_t OP, int SGN,
+ mpc_rnd_t RND)
Set ROP to OP times the imaginary unit i if SGN is non-negative,
set ROP to OP times -i otherwise, in both cases rounded according
to RND.
- -- Function: int mpc_sqr (mpc_t ROP, mpc_t OP, mpc_rnd_t RND)
+ -- Function: int mpc_sqr (mpc_t ROP, const mpc_t OP, mpc_rnd_t RND)
Set ROP to the square of OP rounded according to RND.
- -- Function: int mpc_fma (mpc_t ROP, mpc_t OP1, mpc_t OP2, mpc_t OP3,
- mpc_rnd_t RND)
+ -- Function: int mpc_fma (mpc_t ROP, const mpc_t OP1, const mpc_t OP2,
+ const mpc_t OP3, mpc_rnd_t RND)
Set ROP to OP1*OP2+OP3, rounded according to RND, with only one
final rounding.
- -- Function: int mpc_dot (mpc_t ROP, mpc_ptr* OP1, mpc_ptr* OP2,
+ -- Function: int mpc_dot (mpc_t ROP, const mpc_ptr* OP1, mpc_ptr* OP2,
unsigned long N, mpc_rnd_t RND)
Set ROP to the dot product of the elements in the arrays OP1 and
OP2, both of length N, rounded according to RND.
- -- Function: int mpc_div (mpc_t ROP, mpc_t OP1, mpc_t OP2, mpc_rnd_t
- RND)
- -- Function: int mpc_div_ui (mpc_t ROP, mpc_t OP1, unsigned long int
- OP2, mpc_rnd_t RND)
- -- Function: int mpc_div_fr (mpc_t ROP, mpc_t OP1, mpfr_t OP2,
+ -- Function: int mpc_div (mpc_t ROP, const mpc_t OP1, const mpc_t OP2,
mpc_rnd_t RND)
- -- Function: int mpc_ui_div (mpc_t ROP, unsigned long int OP1, mpc_t
+ -- Function: int mpc_div_ui (mpc_t ROP, const mpc_t OP1, unsigned long
+ int OP2, mpc_rnd_t RND)
+ -- Function: int mpc_div_fr (mpc_t ROP, const mpc_t OP1, const mpfr_t
+ OP2, mpc_rnd_t RND)
+ -- Function: int mpc_ui_div (mpc_t ROP, unsigned long int OP1, const
+ mpc_t OP2, mpc_rnd_t RND)
+ -- Function: int mpc_fr_div (mpc_t ROP, const mpfr_t OP1, const mpc_t
OP2, mpc_rnd_t RND)
- -- Function: int mpc_fr_div (mpc_t ROP, mpfr_t OP1, mpc_t OP2,
- mpc_rnd_t RND)
Set ROP to OP1/OP2 rounded according to RND.
- -- Function: int mpc_conj (mpc_t ROP, mpc_t OP, mpc_rnd_t RND)
+ -- Function: int mpc_conj (mpc_t ROP, const mpc_t OP, mpc_rnd_t RND)
Set ROP to the conjugate of OP rounded according to RND. Just
changes the sign of the imaginary part if ROP and OP are the same
variable.
- -- Function: int mpc_abs (mpfr_t ROP, mpc_t OP, mpfr_rnd_t RND)
+ -- Function: int mpc_abs (mpfr_t ROP, const mpc_t OP, mpfr_rnd_t RND)
Set the floating-point number ROP to the absolute value of OP,
rounded in the direction RND.
- -- Function: int mpc_norm (mpfr_t ROP, mpc_t OP, mpfr_rnd_t RND)
+ -- Function: int mpc_norm (mpfr_t ROP, const mpc_t OP, mpfr_rnd_t RND)
Set the floating-point number ROP to the norm of OP (i.e., the
square of its absolute value), rounded in the direction RND.
- -- Function: int mpc_mul_2ui (mpc_t ROP, mpc_t OP1, unsigned long int
- OP2, mpc_rnd_t RND)
- -- Function: int mpc_mul_2si (mpc_t ROP, mpc_t OP1, long int OP2,
+ -- Function: int mpc_mul_2ui (mpc_t ROP, const mpc_t OP1, unsigned long
+ int OP2, mpc_rnd_t RND)
+ -- Function: int mpc_mul_2si (mpc_t ROP, const mpc_t OP1, long int OP2,
mpc_rnd_t RND)
Set ROP to OP1 times 2 raised to OP2 rounded according to RND.
Just modifies the exponents of the real and imaginary parts by OP2
when ROP and OP1 are identical.
- -- Function: int mpc_div_2ui (mpc_t ROP, mpc_t OP1, unsigned long int
- OP2, mpc_rnd_t RND)
- -- Function: int mpc_div_2si (mpc_t ROP, mpc_t OP1, long int OP2,
+ -- Function: int mpc_div_2ui (mpc_t ROP, const mpc_t OP1, unsigned long
+ int OP2, mpc_rnd_t RND)
+ -- Function: int mpc_div_2si (mpc_t ROP, const mpc_t OP1, long int OP2,
mpc_rnd_t RND)
Set ROP to OP1 divided by 2 raised to OP2 rounded according to RND.
Just modifies the exponents of the real and imaginary parts by OP2
@@ -874,25 +874,25 @@
5.8 Power Functions and Logarithm
=================================
- -- Function: int mpc_sqrt (mpc_t ROP, mpc_t OP, mpc_rnd_t RND)
+ -- Function: int mpc_sqrt (mpc_t ROP, const mpc_t OP, mpc_rnd_t RND)
Set ROP to the square root of OP rounded according to RND. The
returned value ROP has a non-negative real part, and if its real
part is zero, a non-negative imaginary part.
- -- Function: int mpc_pow (mpc_t ROP, mpc_t OP1, mpc_t OP2, mpc_rnd_t
- RND)
- -- Function: int mpc_pow_d (mpc_t ROP, mpc_t OP1, double OP2, mpc_rnd_t
- RND)
- -- Function: int mpc_pow_ld (mpc_t ROP, mpc_t OP1, long double OP2,
+ -- Function: int mpc_pow (mpc_t ROP, const mpc_t OP1, const mpc_t OP2,
mpc_rnd_t RND)
- -- Function: int mpc_pow_si (mpc_t ROP, mpc_t OP1, long OP2, mpc_rnd_t
- RND)
- -- Function: int mpc_pow_ui (mpc_t ROP, mpc_t OP1, unsigned long OP2,
+ -- Function: int mpc_pow_d (mpc_t ROP, const mpc_t OP1, double OP2,
mpc_rnd_t RND)
- -- Function: int mpc_pow_z (mpc_t ROP, mpc_t OP1, mpz_t OP2, mpc_rnd_t
- RND)
- -- Function: int mpc_pow_fr (mpc_t ROP, mpc_t OP1, mpfr_t OP2,
+ -- Function: int mpc_pow_ld (mpc_t ROP, const mpc_t OP1, long double
+ OP2, mpc_rnd_t RND)
+ -- Function: int mpc_pow_si (mpc_t ROP, const mpc_t OP1, long OP2,
mpc_rnd_t RND)
+ -- Function: int mpc_pow_ui (mpc_t ROP, const mpc_t OP1, unsigned long
+ OP2, mpc_rnd_t RND)
+ -- Function: int mpc_pow_z (mpc_t ROP, const mpc_t OP1, const mpz_t
+ OP2, mpc_rnd_t RND)
+ -- Function: int mpc_pow_fr (mpc_t ROP, const mpc_t OP1, const mpfr_t
+ OP2, mpc_rnd_t RND)
Set ROP to OP1 raised to the power OP2, rounded according to RND.
For 'mpc_pow_d', 'mpc_pow_ld', 'mpc_pow_si', 'mpc_pow_ui',
'mpc_pow_z' and 'mpc_pow_fr', the imaginary part of OP2 is
@@ -900,12 +900,12 @@
real part 1, and imaginary part 0, with sign being the opposite of
that of OP2.
- -- Function: int mpc_exp (mpc_t ROP, mpc_t OP, mpc_rnd_t RND)
+ -- Function: int mpc_exp (mpc_t ROP, const mpc_t OP, mpc_rnd_t RND)
Set ROP to the exponential of OP, rounded according to RND with the
precision of ROP.
- -- Function: int mpc_log (mpc_t ROP, mpc_t OP, mpc_rnd_t RND)
- -- Function: int mpc_log10 (mpc_t ROP, mpc_t OP, mpc_rnd_t RND)
+ -- Function: int mpc_log (mpc_t ROP, const mpc_t OP, mpc_rnd_t RND)
+ -- Function: int mpc_log10 (mpc_t ROP, const mpc_t OP, mpc_rnd_t RND)
Set ROP to the natural and base-10 logarithm of OP respectively,
rounded according to RND with the precision of ROP. The principal
branch is chosen, with the branch cut on the negative real axis, so
@@ -924,48 +924,36 @@
5.9 Trigonometric Functions
===========================
- -- Function: int mpc_sin (mpc_t ROP, mpc_t OP, mpc_rnd_t RND)
- Set ROP to the sine of OP, rounded according to RND with the
- precision of ROP.
+ -- Function: int mpc_sin (mpc_t ROP, const mpc_t OP, mpc_rnd_t RND)
+ -- Function: int mpc_cos (mpc_t ROP, const mpc_t OP, mpc_rnd_t RND)
+ -- Function: int mpc_tan (mpc_t ROP, const mpc_t OP, mpc_rnd_t RND)
+ Set ROP to the sine, cosine, tangent of OP, rounded according to
+ RND with the precision of ROP.
- -- Function: int mpc_cos (mpc_t ROP, mpc_t OP, mpc_rnd_t RND)
- Set ROP to the cosine of OP, rounded according to RND with the
- precision of ROP.
-
- -- Function: int mpc_sin_cos (mpc_t ROP_SIN, mpc_t ROP_COS, mpc_t OP,
- mpc_rnd_t RND_SIN, mpc_rnd_t RND_COS)
+ -- Function: int mpc_sin_cos (mpc_t ROP_SIN, mpc_t ROP_COS, const mpc_t
+ OP, mpc_rnd_t RND_SIN, mpc_rnd_t RND_COS)
Set ROP_SIN to the sine of OP, rounded according to RND_SIN with
the precision of ROP_SIN, and ROP_COS to the cosine of OP, rounded
according to RND_COS with the precision of ROP_COS.
- -- Function: int mpc_tan (mpc_t ROP, mpc_t OP, mpc_rnd_t RND)
- Set ROP to the tangent of OP, rounded according to RND with the
- precision of ROP.
-
- -- Function: int mpc_sinh (mpc_t ROP, mpc_t OP, mpc_rnd_t RND)
- Set ROP to the hyperbolic sine of OP, rounded according to RND with
- the precision of ROP.
-
- -- Function: int mpc_cosh (mpc_t ROP, mpc_t OP, mpc_rnd_t RND)
- Set ROP to the hyperbolic cosine of OP, rounded according to RND
- with the precision of ROP.
-
- -- Function: int mpc_tanh (mpc_t ROP, mpc_t OP, mpc_rnd_t RND)
- Set ROP to the hyperbolic tangent of OP, rounded according to RND
- with the precision of ROP.
-
- -- Function: int mpc_asin (mpc_t ROP, mpc_t OP, mpc_rnd_t RND)
- -- Function: int mpc_acos (mpc_t ROP, mpc_t OP, mpc_rnd_t RND)
- -- Function: int mpc_atan (mpc_t ROP, mpc_t OP, mpc_rnd_t RND)
+ -- Function: int mpc_sinh (mpc_t ROP, const mpc_t OP, mpc_rnd_t RND)
+ -- Function: int mpc_cosh (mpc_t ROP, const mpc_t OP, mpc_rnd_t RND)
+ -- Function: int mpc_tanh (mpc_t ROP, const mpc_t OP, mpc_rnd_t RND)
+ Set ROP to the hyperbolic sine, hyperbolic cosine, hyperbolic
+ tangent of OP, rounded according to RND with the precision of ROP.
+
+ -- Function: int mpc_asin (mpc_t ROP, const mpc_t OP, mpc_rnd_t RND)
+ -- Function: int mpc_acos (mpc_t ROP, const mpc_t OP, mpc_rnd_t RND)
+ -- Function: int mpc_atan (mpc_t ROP, const mpc_t OP, mpc_rnd_t RND)
Set ROP to the inverse sine, inverse cosine, inverse tangent of OP,
rounded according to RND with the precision of ROP.
- -- Function: int mpc_asinh (mpc_t ROP, mpc_t OP, mpc_rnd_t RND)
- -- Function: int mpc_acosh (mpc_t ROP, mpc_t OP, mpc_rnd_t RND)
- -- Function: int mpc_atanh (mpc_t ROP, mpc_t OP, mpc_rnd_t RND)
+ -- Function: int mpc_asinh (mpc_t ROP, const mpc_t OP, mpc_rnd_t RND)
+ -- Function: int mpc_acosh (mpc_t ROP, const mpc_t OP, mpc_rnd_t RND)
+ -- Function: int mpc_atanh (mpc_t ROP, const mpc_t OP, mpc_rnd_t RND)
Set ROP to the inverse hyperbolic sine, inverse hyperbolic cosine,
inverse hyperbolic tangent of OP, rounded according to RND with the
- precision of ROP. The branch cut of MPC_ACOSH is (-Inf, 1)
+ precision of ROP. The branch cut of 'mpc_acosh' is (-Inf, 1)
File: mpc.info, Node: Miscellaneous Complex Functions, Next: Advanced Functions, Prev: Trigonometric Functions, Up: Complex Functions
@@ -1030,7 +1018,7 @@
return-value.).
For instance, you can define mpc_set_ui_fr as follows:
- int mpc_set_ui_fr (mpc_t rop, long int re, double im, mpc_rnd_t rnd)
+ int mpc_set_ui_fr (mpc_t rop, unsigned long int re, mpfr_t im, mpc_rnd_t rnd)
MPC_SET_X_Y (ui, fr, rop, re, im, rnd);
@@ -1053,18 +1041,16 @@
References
**********
- * Torbjörn Granlund et al. 'gmp' - GNU multiprecision library.
- Version 4.2.4, <http://gmplib.org/>.
+ * Torbjörn Granlund et al. 'GMP' - GNU multiprecision library.
+ Version 6.2.0, <http://gmplib.org>.
* Guillaume Hanrot, Vincent Lefèvre, Patrick Pélissier, Paul
- Zimmermann et al. 'mpfr' - A library for multiple-precision
- floating-point computations with exact rounding. Version 2.4.1,
+ Zimmermann et al. 'MPFR' - A library for multiple-precision
+ floating-point computations with exact rounding. Version 4.1.0,
<http://www.mpfr.org>.
- * IEEE standard for binary floating-point arithmetic, Technical
- Report ANSI-IEEE Standard 754-1985, New York, 1985. Approved March
- 21, 1985: IEEE Standards Board; approved July 26, 1985: American
- National Standards Institute, 18 pages.
+ * IEEE Standard for Floating-Point Arithmetic, IEEE Computer Society,
+ IEEE Std 754-2019, Approved 13 June 2019, 84 pages.
* Donald E. Knuth, "The Art of Computer Programming", vol 2,
"Seminumerical Algorithms", 2nd edition, Addison-Wesley, 1981.
@@ -1124,22 +1110,22 @@
(line 9)
* mpc_abs: Basic Arithmetic. (line 91)
* mpc_acos: Trigonometric Functions.
- (line 37)
+ (line 25)
* mpc_acosh: Trigonometric Functions.
- (line 43)
+ (line 31)
* mpc_add: Basic Arithmetic. (line 11)
* mpc_add_fr: Basic Arithmetic. (line 15)
* mpc_add_ui: Basic Arithmetic. (line 13)
* mpc_arg: Projection & Decomposing.
(line 20)
* mpc_asin: Trigonometric Functions.
- (line 36)
+ (line 24)
* mpc_asinh: Trigonometric Functions.
- (line 42)
+ (line 30)
* mpc_atan: Trigonometric Functions.
- (line 38)
+ (line 26)
* mpc_atanh: Trigonometric Functions.
- (line 44)
+ (line 32)
* mpc_clear: Initializing Complex Numbers.
(line 21)
* mpc_cmp: Complex Comparison. (line 6)
@@ -1148,9 +1134,9 @@
* mpc_cmp_si_si: Complex Comparison. (line 7)
* mpc_conj: Basic Arithmetic. (line 86)
* mpc_cos: Trigonometric Functions.
- (line 10)
+ (line 7)
* mpc_cosh: Trigonometric Functions.
- (line 28)
+ (line 19)
* mpc_div: Basic Arithmetic. (line 74)
* mpc_div_2si: Basic Arithmetic. (line 109)
* mpc_div_2ui: Basic Arithmetic. (line 107)
@@ -1278,9 +1264,9 @@
* mpc_sin: Trigonometric Functions.
(line 6)
* mpc_sinh: Trigonometric Functions.
- (line 24)
+ (line 18)
* mpc_sin_cos: Trigonometric Functions.
- (line 14)
+ (line 12)
* mpc_sqr: Basic Arithmetic. (line 61)
* mpc_sqrt: Power Functions and Logarithm.
(line 6)
@@ -1294,9 +1280,9 @@
(line 82)
* mpc_t: GNU MPC Basics. (line 15)
* mpc_tan: Trigonometric Functions.
- (line 20)
+ (line 8)
* mpc_tanh: Trigonometric Functions.
- (line 32)
+ (line 20)
* mpc_ui_div: Basic Arithmetic. (line 80)
* mpc_ui_sub: Basic Arithmetic. (line 27)
* mpc_ui_ui_sub: Basic Arithmetic. (line 29)
@@ -1801,30 +1787,30 @@
Tag Table:
-Node: Top758
-Node: Copying1465
-Node: Introduction to GNU MPC2237
-Node: Installing GNU MPC2956
-Node: Reporting Bugs8041
-Node: GNU MPC Basics9385
-Ref: return-value13062
-Node: Complex Functions14513
-Node: Initializing Complex Numbers15673
-Node: Assigning Complex Numbers18060
-Node: Converting Complex Numbers22460
-Node: String and Stream Input and Output23085
-Node: Complex Comparison29641
-Node: Projection & Decomposing31154
-Node: Basic Arithmetic32531
-Node: Power Functions and Logarithm37531
-Node: Trigonometric Functions39880
-Node: Miscellaneous Complex Functions42101
-Node: Advanced Functions44277
-Node: Internals45350
-Node: References45801
-Node: Concept Index46704
-Node: Function Index49018
-Node: GNU Free Documentation License63166
+Node: Top759
+Node: Copying1466
+Node: Introduction to GNU MPC2238
+Node: Installing GNU MPC2957
+Node: Reporting Bugs8042
+Node: GNU MPC Basics9386
+Ref: return-value13063
+Node: Complex Functions14514
+Node: Initializing Complex Numbers15674
+Node: Assigning Complex Numbers18073
+Node: Converting Complex Numbers22551
+Node: String and Stream Input and Output23182
+Node: Complex Comparison29750
+Node: Projection & Decomposing31293
+Node: Basic Arithmetic32694
+Node: Power Functions and Logarithm37946
+Node: Trigonometric Functions40379
+Node: Miscellaneous Complex Functions42344
+Node: Advanced Functions44520
+Node: Internals45602
+Node: References46053
+Node: Concept Index46830
+Node: Function Index49144
+Node: GNU Free Documentation License63292
End Tag Table
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mpc-1.2.0/doc/mpc.texi new/mpc-1.2.1/doc/mpc.texi
--- old/mpc-1.2.0/doc/mpc.texi 2020-08-17 17:00:15.000000000 +0200
+++ new/mpc-1.2.1/doc/mpc.texi 2020-10-20 18:27:59.000000000 +0200
@@ -549,12 +549,12 @@
case the current allocated space for the mantissa of @var{x} is sufficient.
@end deftypefun
-@deftypefun mpfr_prec_t mpc_get_prec (mpc_t @var{x})
+@deftypefun mpfr_prec_t mpc_get_prec (const mpc_t @var{x})
If the real and imaginary part of @var{x} have the same precision, it is returned,
otherwise, 0 is returned.
@end deftypefun
-@deftypefun void mpc_get_prec2 (mpfr_prec_t* @var{pr}, mpfr_prec_t* @var{pi}, mpc_t @var{x})
+@deftypefun void mpc_get_prec2 (mpfr_prec_t* @var{pr}, mpfr_prec_t* @var{pi}, const mpc_t @var{x})
Returns the precision of the real part of @var{x} via @var{pr} and of its imaginary part
via @var{pi}.
@end deftypefun
@@ -576,7 +576,7 @@
If you need assignment functions that are not in the current API, you can
define them using the @code{MPC_SET_X_Y} macro (@pxref{Advanced Functions}).
-@deftypefun int mpc_set (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd})
+@deftypefun int mpc_set (mpc_t @var{rop}, const mpc_t @var{op}, mpc_rnd_t @var{rnd})
Set the value of @var{rop} from @var{op}, rounded to the precision of @var{rop}
with the given rounding mode @var{rnd}.
@end deftypefun
@@ -589,10 +589,10 @@
@deftypefunx int mpc_set_ld (mpc_t @var{rop}, long double @var{op}, mpc_rnd_t @var{rnd})
@deftypefunx int mpc_set_dc (mpc_t @var{rop}, double _Complex @var{op}, mpc_rnd_t @var{rnd})
@deftypefunx int mpc_set_ldc (mpc_t @var{rop}, long double _Complex @var{op}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_set_z (mpc_t @var{rop}, mpz_t @var{op} mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_set_q (mpc_t @var{rop}, mpq_t @var{op} mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_set_f (mpc_t @var{rop}, mpf_t @var{op} mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_set_fr (mpc_t @var{rop}, mpfr_t @var{op}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_set_z (mpc_t @var{rop}, const mpz_t @var{op} mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_set_q (mpc_t @var{rop}, const mpq_t @var{op} mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_set_f (mpc_t @var{rop}, const mpf_t @var{op} mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_set_fr (mpc_t @var{rop}, const mpfr_t @var{op}, mpc_rnd_t @var{rnd})
Set the value of @var{rop} from @var{op}, rounded to the precision of
@var{rop} with the given rounding mode @var{rnd}.
The argument @var{op} is interpreted as real, so the imaginary part of
@@ -611,10 +611,10 @@
@deftypefunx int mpc_set_sj_sj (mpc_t @var{rop}, intmax_t @var{op1}, intmax_t @var{op2}, mpc_rnd_t @var{rnd})
@deftypefunx int mpc_set_d_d (mpc_t @var{rop}, double @var{op1}, double @var{op2}, mpc_rnd_t @var{rnd})
@deftypefunx int mpc_set_ld_ld (mpc_t @var{rop}, long double @var{op1}, long double @var{op2}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_set_z_z (mpc_t @var{rop}, mpz_t @var{op1}, mpz_t @var{op2}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_set_q_q (mpc_t @var{rop}, mpq_t @var{op1}, mpq_t @var{op2}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_set_f_f (mpc_t @var{rop}, mpf_t @var{op1}, mpf_t @var{op2}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_set_fr_fr (mpc_t @var{rop}, mpfr_t @var{op1}, mpfr_t @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_set_z_z (mpc_t @var{rop}, const mpz_t @var{op1}, const mpz_t @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_set_q_q (mpc_t @var{rop}, const mpq_t @var{op1}, const mpq_t @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_set_f_f (mpc_t @var{rop}, const mpf_t @var{op1}, const mpf_t @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_set_fr_fr (mpc_t @var{rop}, const mpfr_t @var{op1}, const mpfr_t @var{op2}, mpc_rnd_t @var{rnd})
Set the real part of @var{rop} from @var{op1}, and its imaginary part from
@var{op2}, according to the rounding mode @var{rnd}.
@@ -647,7 +647,7 @@
The following functions are available only if @code{<complex.h>}
is included @emph{before} @file{mpc.h}.
-@deftypefun double _Complex mpc_get_dc (mpc_t @var{op}, mpc_rnd_t @var{rnd})
+@deftypefun double _Complex mpc_get_dc (const mpc_t @var{op}, mpc_rnd_t @var{rnd})
@deftypefunx {long double _Complex} mpc_get_ldc (mpc_t @var{op}, mpc_rnd_t @var{rnd})
Convert @var{op} to a C complex number, using the rounding mode @var{rnd}.
@end deftypefun
@@ -711,7 +711,7 @@
NaN+i*NaN.
@end deftypefun
-@deftypefun {char *} mpc_get_str (int @var{b}, size_t @var{n}, mpc_t @var{op}, mpc_rnd_t @var{rnd})
+@deftypefun {char *} mpc_get_str (int @var{b}, size_t @var{n}, const mpc_t @var{op}, mpc_rnd_t @var{rnd})
Convert @var{op} to a string containing its real and imaginary parts,
separated by a space and enclosed in a pair of parentheses.
The numbers are written in base @var{b} (which may vary from 2 to 36) and
@@ -776,7 +776,7 @@
to avoid this problem.
@end deftypefun
-@deftypefun size_t mpc_out_str (FILE *@var{stream}, int @var{base}, size_t @var{n_digits}, mpc_t @var{op}, mpc_rnd_t @var{rnd})
+@deftypefun size_t mpc_out_str (FILE *@var{stream}, int @var{base}, size_t @var{n_digits}, const mpc_t @var{op}, mpc_rnd_t @var{rnd})
Output @var{op} on stdio stream @var{stream} in
base @var{base}, rounded according to @var{rnd}, in the same format
as for @code{mpc_strtoc}
@@ -791,8 +791,8 @@
@cindex Complex comparisons functions
@cindex Comparison functions
-@deftypefn Function int mpc_cmp (mpc_t @var{op1}, mpc_t @var{op2})
-@deftypefnx Function int mpc_cmp_si_si (mpc_t @var{op1}, long int @var{op2r}, long int @var{op2i})
+@deftypefn Function int mpc_cmp (const mpc_t @var{op1}, const mpc_t @var{op2})
+@deftypefnx Function int mpc_cmp_si_si (const mpc_t @var{op1}, long int @var{op2r}, long int @var{op2i})
@deftypefnx Macro int mpc_cmp_si (mpc_t @var{op1}, long int @var{op2})
Compare @var{op1} and @var{op2}, where in the case of @code{mpc_cmp_si_si},
@@ -810,7 +810,7 @@
with @code{mpc_cmp (op1, op2) == 0}.
@end deftypefn
-@deftypefn Function int mpc_cmp_abs (mpc_t @var{op1}, mpc_t @var{op2})
+@deftypefn Function int mpc_cmp_abs (const mpc_t @var{op1}, const mpc_t @var{op2})
Compare the absolute values of @var{op1} and @var{op2}.
The return value is 0 if both are the same (including infinity),
@@ -826,12 +826,12 @@
@section Projection and Decomposing Functions
@cindex Projection and Decomposing Functions
-@deftypefn Function int mpc_real (mpfr_t @var{rop}, mpc_t @var{op}, mpfr_rnd_t @var{rnd})
+@deftypefn Function int mpc_real (mpfr_t @var{rop}, const mpc_t @var{op}, mpfr_rnd_t @var{rnd})
Set @var{rop} to the value of the real part of @var{op} rounded
in the direction @var{rnd}.
@end deftypefn
-@deftypefn Function int mpc_imag (mpfr_t @var{rop}, mpc_t @var{op}, mpfr_rnd_t @var{rnd})
+@deftypefn Function int mpc_imag (mpfr_t @var{rop}, const mpc_t @var{op}, mpfr_rnd_t @var{rnd})
Set @var{rop} to the value of the imaginary part of @var{op} rounded in the
direction @var{rnd}.
@end deftypefn
@@ -843,12 +843,12 @@
macros (note that the @code{mpfr_t} type is itself a pointer).
@end deftypefn
-@deftypefn Function int mpc_arg (mpfr_t @var{rop}, mpc_t @var{op}, mpfr_rnd_t @var{rnd})
+@deftypefn Function int mpc_arg (mpfr_t @var{rop}, const mpc_t @var{op}, mpfr_rnd_t @var{rnd})
Set @var{rop} to the argument of @var{op}, with a branch cut along the
negative real axis.
@end deftypefn
-@deftypefn Function int mpc_proj (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd})
+@deftypefn Function int mpc_proj (mpc_t @var{rop}, const mpc_t @var{op}, mpc_rnd_t @var{rnd})
Compute a projection of @var{op} onto the Riemann sphere. Set @var{rop} to
@var{op} rounded in the direction @var{rnd}, except when at least one part of
@var{op} is infinite (even if the other part is a NaN) in which case the real
@@ -867,96 +867,96 @@
essentially be the same as with the GNU MPFR library, with only a marginal
overhead due to the GNU MPC layer.
-@deftypefun int mpc_add (mpc_t @var{rop}, mpc_t @var{op1}, mpc_t @var{op2}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_add_ui (mpc_t @var{rop}, mpc_t @var{op1}, unsigned long int @var{op2}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_add_fr (mpc_t @var{rop}, mpc_t @var{op1}, mpfr_t @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefun int mpc_add (mpc_t @var{rop}, const mpc_t @var{op1}, const mpc_t @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_add_ui (mpc_t @var{rop}, const mpc_t @var{op1}, unsigned long int @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_add_fr (mpc_t @var{rop}, const mpc_t @var{op1}, const mpfr_t @var{op2}, mpc_rnd_t @var{rnd})
Set @var{rop} to @var{op1} @math{+} @var{op2} rounded according to @var{rnd}.
@end deftypefun
-@deftypefn Function int mpc_sub (mpc_t @var{rop}, mpc_t @var{op1}, mpc_t @var{op2}, mpc_rnd_t @var{rnd})
-@deftypefnx Function int mpc_sub_fr (mpc_t @var{rop}, mpc_t @var{op1}, mpfr_t @var{op2}, mpc_rnd_t @var{rnd})
-@deftypefnx Function int mpc_fr_sub (mpc_t @var{rop}, mpfr_t @var{op1}, mpc_t @var{op2}, mpc_rnd_t @var{rnd})
-@deftypefnx Function int mpc_sub_ui (mpc_t @var{rop}, mpc_t @var{op1}, unsigned long int @var{op2}, mpc_rnd_t @var{rnd})
-@deftypefnx Macro int mpc_ui_sub (mpc_t @var{rop}, unsigned long int @var{op1}, mpc_t @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefn Function int mpc_sub (mpc_t @var{rop}, const mpc_t @var{op1}, const mpc_t @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefnx Function int mpc_sub_fr (mpc_t @var{rop}, const mpc_t @var{op1}, const mpfr_t @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefnx Function int mpc_fr_sub (mpc_t @var{rop}, const mpfr_t @var{op1}, const mpc_t @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefnx Function int mpc_sub_ui (mpc_t @var{rop}, const mpc_t @var{op1}, unsigned long int @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefnx Macro int mpc_ui_sub (mpc_t @var{rop}, unsigned long int @var{op1}, const mpc_t @var{op2}, mpc_rnd_t @var{rnd})
@deftypefnx Function int mpc_ui_ui_sub (mpc_t @var{rop}, unsigned long int @var{re1}, unsigned long int @var{im1}, mpc_t @var{op2}, mpc_rnd_t @var{rnd})
Set @var{rop} to @var{op1} @minus{} @var{op2} rounded according to @var{rnd}.
For @code{mpc_ui_ui_sub}, @var{op1} is @var{re1} + @var{im1}.
@end deftypefn
-@deftypefun int mpc_neg (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd})
+@deftypefun int mpc_neg (mpc_t @var{rop}, const mpc_t @var{op}, mpc_rnd_t @var{rnd})
Set @var{rop} to @minus{}@var{op} rounded according to @var{rnd}.
Just changes the sign if @var{rop} and @var{op} are the same variable.
@end deftypefun
-@deftypefun int mpc_sum (mpc_t @var{rop}, mpc_ptr* @var{op}, unsigned long @var{n}, mpc_rnd_t @var{rnd})
+@deftypefun int mpc_sum (mpc_t @var{rop}, const mpc_ptr* @var{op}, unsigned long @var{n}, mpc_rnd_t @var{rnd})
Set @var{rop} to the sum of the elements in the array @var{op} of
length @var{n}, rounded according to @var{rnd}.
@end deftypefun
-@deftypefun int mpc_mul (mpc_t @var{rop}, mpc_t @var{op1}, mpc_t @var{op2}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_mul_ui (mpc_t @var{rop}, mpc_t @var{op1}, unsigned long int @var{op2}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_mul_si (mpc_t @var{rop}, mpc_t @var{op1}, long int @var{op2}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_mul_fr (mpc_t @var{rop}, mpc_t @var{op1}, mpfr_t @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefun int mpc_mul (mpc_t @var{rop}, const mpc_t @var{op1}, const mpc_t @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_mul_ui (mpc_t @var{rop}, const mpc_t @var{op1}, unsigned long int @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_mul_si (mpc_t @var{rop}, const mpc_t @var{op1}, long int @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_mul_fr (mpc_t @var{rop}, const mpc_t @var{op1}, const mpfr_t @var{op2}, mpc_rnd_t @var{rnd})
Set @var{rop} to @var{op1} times @var{op2} rounded according to @var{rnd}.
Note: for @code{mpc_mul}, in case @var{op1} and @var{op2} have the same value,
use @code{mpc_sqr} for better efficiency.
@end deftypefun
-@deftypefun int mpc_mul_i (mpc_t @var{rop}, mpc_t @var{op}, int @var{sgn}, mpc_rnd_t @var{rnd})
+@deftypefun int mpc_mul_i (mpc_t @var{rop}, const mpc_t @var{op}, int @var{sgn}, mpc_rnd_t @var{rnd})
Set @var{rop} to @var{op} times the imaginary unit i if @var{sgn} is
non-negative, set @var{rop} to @var{op} times -i otherwise,
in both cases rounded according to @var{rnd}.
@end deftypefun
-@deftypefun int mpc_sqr (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd})
+@deftypefun int mpc_sqr (mpc_t @var{rop}, const mpc_t @var{op}, mpc_rnd_t @var{rnd})
Set @var{rop} to the square of @var{op} rounded according to @var{rnd}.
@end deftypefun
-@deftypefun int mpc_fma (mpc_t @var{rop}, mpc_t @var{op1}, mpc_t @var{op2}, mpc_t @var{op3}, mpc_rnd_t @var{rnd})
+@deftypefun int mpc_fma (mpc_t @var{rop}, const mpc_t @var{op1}, const mpc_t @var{op2}, const mpc_t @var{op3}, mpc_rnd_t @var{rnd})
Set @var{rop} to @var{op1}*@var{op2}+@var{op3},
rounded according to @var{rnd}, with only one final rounding.
@end deftypefun
-@deftypefun int mpc_dot (mpc_t @var{rop}, mpc_ptr* @var{op1}, mpc_ptr* @var{op2}, unsigned long @var{n}, mpc_rnd_t @var{rnd})
+@deftypefun int mpc_dot (mpc_t @var{rop}, const mpc_ptr* @var{op1}, mpc_ptr* @var{op2}, unsigned long @var{n}, mpc_rnd_t @var{rnd})
Set @var{rop} to the dot product of the elements in the arrays @var{op1} and
@var{op2}, both of length @var{n}, rounded according to @var{rnd}.
@end deftypefun
-@deftypefun int mpc_div (mpc_t @var{rop}, mpc_t @var{op1}, mpc_t @var{op2}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_div_ui (mpc_t @var{rop}, mpc_t @var{op1}, unsigned long int @var{op2}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_div_fr (mpc_t @var{rop}, mpc_t @var{op1}, mpfr_t @var{op2}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_ui_div (mpc_t @var{rop}, unsigned long int @var{op1}, mpc_t @var{op2}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_fr_div (mpc_t @var{rop}, mpfr_t @var{op1}, mpc_t @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefun int mpc_div (mpc_t @var{rop}, const mpc_t @var{op1}, const mpc_t @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_div_ui (mpc_t @var{rop}, const mpc_t @var{op1}, unsigned long int @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_div_fr (mpc_t @var{rop}, const mpc_t @var{op1}, const mpfr_t @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_ui_div (mpc_t @var{rop}, unsigned long int @var{op1}, const mpc_t @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_fr_div (mpc_t @var{rop}, const mpfr_t @var{op1}, const mpc_t @var{op2}, mpc_rnd_t @var{rnd})
Set @var{rop} to @var{op1}/@var{op2} rounded according to @var{rnd}.
@end deftypefun
-@deftypefun int mpc_conj (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd})
+@deftypefun int mpc_conj (mpc_t @var{rop}, const mpc_t @var{op}, mpc_rnd_t @var{rnd})
Set @var{rop} to the conjugate of @var{op} rounded according to @var{rnd}.
Just changes the sign of the imaginary part
if @var{rop} and @var{op} are the same variable.
@end deftypefun
-@deftypefun int mpc_abs (mpfr_t @var{rop}, mpc_t @var{op}, mpfr_rnd_t @var{rnd})
+@deftypefun int mpc_abs (mpfr_t @var{rop}, const mpc_t @var{op}, mpfr_rnd_t @var{rnd})
Set the floating-point number @var{rop} to the absolute value of @var{op},
rounded in the direction @var{rnd}.
@end deftypefun
-@deftypefun int mpc_norm (mpfr_t @var{rop}, mpc_t @var{op}, mpfr_rnd_t @var{rnd})
+@deftypefun int mpc_norm (mpfr_t @var{rop}, const mpc_t @var{op}, mpfr_rnd_t @var{rnd})
Set the floating-point number @var{rop} to the norm of @var{op}
(i.e., the square of its absolute value),
rounded in the direction @var{rnd}.
@end deftypefun
-@deftypefun int mpc_mul_2ui (mpc_t @var{rop}, mpc_t @var{op1}, unsigned long int @var{op2}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_mul_2si (mpc_t @var{rop}, mpc_t @var{op1}, long int @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefun int mpc_mul_2ui (mpc_t @var{rop}, const mpc_t @var{op1}, unsigned long int @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_mul_2si (mpc_t @var{rop}, const mpc_t @var{op1}, long int @var{op2}, mpc_rnd_t @var{rnd})
Set @var{rop} to @var{op1} times 2 raised to @var{op2}
rounded according to @var{rnd}. Just modifies the exponents
of the real and imaginary parts by @var{op2}
when @var{rop} and @var{op1} are identical.
@end deftypefun
-@deftypefun int mpc_div_2ui (mpc_t @var{rop}, mpc_t @var{op1}, unsigned long int @var{op2}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_div_2si (mpc_t @var{rop}, mpc_t @var{op1}, long int @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefun int mpc_div_2ui (mpc_t @var{rop}, const mpc_t @var{op1}, unsigned long int @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_div_2si (mpc_t @var{rop}, const mpc_t @var{op1}, long int @var{op2}, mpc_rnd_t @var{rnd})
Set @var{rop} to @var{op1} divided by 2 raised to @var{op2}
rounded according to @var{rnd}. Just modifies the exponents
of the real and imaginary parts by @var{op2}
@@ -969,19 +969,19 @@
@cindex Power functions
@cindex Logarithm
-@deftypefun int mpc_sqrt (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd})
+@deftypefun int mpc_sqrt (mpc_t @var{rop}, const mpc_t @var{op}, mpc_rnd_t @var{rnd})
Set @var{rop} to the square root of @var{op} rounded according to @var{rnd}.
The returned value @var{rop} has a non-negative real part, and if its real
part is zero, a non-negative imaginary part.
@end deftypefun
-@deftypefun int mpc_pow (mpc_t @var{rop}, mpc_t @var{op1}, mpc_t @var{op2}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_pow_d (mpc_t @var{rop}, mpc_t @var{op1}, double @var{op2}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_pow_ld (mpc_t @var{rop}, mpc_t @var{op1}, long double @var{op2}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_pow_si (mpc_t @var{rop}, mpc_t @var{op1}, long @var{op2}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_pow_ui (mpc_t @var{rop}, mpc_t @var{op1}, unsigned long @var{op2}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_pow_z (mpc_t @var{rop}, mpc_t @var{op1}, mpz_t @var{op2}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_pow_fr (mpc_t @var{rop}, mpc_t @var{op1}, mpfr_t @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefun int mpc_pow (mpc_t @var{rop}, const mpc_t @var{op1}, const mpc_t @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_pow_d (mpc_t @var{rop}, const mpc_t @var{op1}, double @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_pow_ld (mpc_t @var{rop}, const mpc_t @var{op1}, long double @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_pow_si (mpc_t @var{rop}, const mpc_t @var{op1}, long @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_pow_ui (mpc_t @var{rop}, const mpc_t @var{op1}, unsigned long @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_pow_z (mpc_t @var{rop}, const mpc_t @var{op1}, const mpz_t @var{op2}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_pow_fr (mpc_t @var{rop}, const mpc_t @var{op1}, const mpfr_t @var{op2}, mpc_rnd_t @var{rnd})
Set @var{rop} to @var{op1} raised to the power @var{op2}, rounded according
to @var{rnd}.
For @code{mpc_pow_d}, @code{mpc_pow_ld}, @code{mpc_pow_si}, @code{mpc_pow_ui},
@@ -991,13 +991,13 @@
and imaginary part 0, with sign being the opposite of that of @var{op2}.
@end deftypefun
-@deftypefun int mpc_exp (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd})
+@deftypefun int mpc_exp (mpc_t @var{rop}, const mpc_t @var{op}, mpc_rnd_t @var{rnd})
Set @var{rop} to the exponential of @var{op},
rounded according to @var{rnd} with the precision of @var{rop}.
@end deftypefun
-@deftypefun int mpc_log (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_log10 (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd})
+@deftypefun int mpc_log (mpc_t @var{rop}, const mpc_t @var{op}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_log10 (mpc_t @var{rop}, const mpc_t @var{op}, mpc_rnd_t @var{rnd})
Set @var{rop} to the natural and base-10 logarithm of @var{op} respectively,
rounded according to @var{rnd} with the precision of @var{rop}.
The principal branch is chosen, with the branch cut on the negative real axis,
@@ -1029,57 +1029,41 @@
@section Trigonometric Functions
@cindex Trigonometric functions
-@deftypefun int mpc_sin (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd})
-Set @var{rop} to the sine of @var{op},
+@deftypefun int mpc_sin (mpc_t @var{rop}, const mpc_t @var{op}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_cos (mpc_t @var{rop}, const mpc_t @var{op}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_tan (mpc_t @var{rop}, const mpc_t @var{op}, mpc_rnd_t @var{rnd})
+Set @var{rop} to the sine, cosine, tangent of @var{op},
rounded according to @var{rnd} with the precision of @var{rop}.
@end deftypefun
-@deftypefun int mpc_cos (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd})
-Set @var{rop} to the cosine of @var{op},
-rounded according to @var{rnd} with the precision of @var{rop}.
-@end deftypefun
-
-@deftypefun int mpc_sin_cos (mpc_t @var{rop_sin}, mpc_t @var{rop_cos}, mpc_t @var{op}, mpc_rnd_t @var{rnd_sin}, mpc_rnd_t @var{rnd_cos})
+@deftypefun int mpc_sin_cos (mpc_t @var{rop_sin}, mpc_t @var{rop_cos}, const mpc_t @var{op}, mpc_rnd_t @var{rnd_sin}, mpc_rnd_t @var{rnd_cos})
Set @var{rop_sin} to the sine of @var{op},
rounded according to @var{rnd_sin} with the precision of @var{rop_sin},
and @var{rop_cos} to the cosine of @var{op},
rounded according to @var{rnd_cos} with the precision of @var{rop_cos}.
@end deftypefun
-@deftypefun int mpc_tan (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd})
-Set @var{rop} to the tangent of @var{op},
-rounded according to @var{rnd} with the precision of @var{rop}.
-@end deftypefun
-
-@deftypefun int mpc_sinh (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd})
-Set @var{rop} to the hyperbolic sine of @var{op},
-rounded according to @var{rnd} with the precision of @var{rop}.
-@end deftypefun
-
-@deftypefun int mpc_cosh (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd})
-Set @var{rop} to the hyperbolic cosine of @var{op},
-rounded according to @var{rnd} with the precision of @var{rop}.
-@end deftypefun
-
-@deftypefun int mpc_tanh (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd})
-Set @var{rop} to the hyperbolic tangent of @var{op},
+@deftypefun int mpc_sinh (mpc_t @var{rop}, const mpc_t @var{op}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_cosh (mpc_t @var{rop}, const mpc_t @var{op}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_tanh (mpc_t @var{rop}, const mpc_t @var{op}, mpc_rnd_t @var{rnd})
+Set @var{rop} to the hyperbolic sine, hyperbolic cosine, hyperbolic tangent of @var{op},
rounded according to @var{rnd} with the precision of @var{rop}.
@end deftypefun
-@deftypefun int mpc_asin (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_acos (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_atan (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd})
+@deftypefun int mpc_asin (mpc_t @var{rop}, const mpc_t @var{op}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_acos (mpc_t @var{rop}, const mpc_t @var{op}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_atan (mpc_t @var{rop}, const mpc_t @var{op}, mpc_rnd_t @var{rnd})
Set @var{rop} to the inverse sine, inverse cosine, inverse tangent of @var{op},
rounded according to @var{rnd} with the precision of @var{rop}.
@end deftypefun
-@deftypefun int mpc_asinh (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_acosh (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd})
-@deftypefunx int mpc_atanh (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd})
+@deftypefun int mpc_asinh (mpc_t @var{rop}, const mpc_t @var{op}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_acosh (mpc_t @var{rop}, const mpc_t @var{op}, mpc_rnd_t @var{rnd})
+@deftypefunx int mpc_atanh (mpc_t @var{rop}, const mpc_t @var{op}, mpc_rnd_t @var{rnd})
Set @var{rop} to the inverse hyperbolic sine, inverse hyperbolic cosine,
inverse hyperbolic tangent of @var{op},
rounded according to @var{rnd} with the precision of @var{rop}.
-The branch cut of @var{mpc_acosh} is
+The branch cut of @code{mpc_acosh} is
@iftex
@math{(-\infty, 1)}.
@end iftex
@@ -1157,7 +1141,7 @@
For instance, you can define mpc_set_ui_fr as follows:
@example
-int mpc_set_ui_fr (mpc_t rop, long int re, double im, mpc_rnd_t rnd)
+int mpc_set_ui_fr (mpc_t rop, unsigned long int re, mpfr_t im, mpc_rnd_t rnd)
MPC_SET_X_Y (ui, fr, rop, re, im, rnd);
@end example
@end defmac
@@ -1183,19 +1167,18 @@
@item
Torbj@"orn Granlund et al.
-@code{gmp} -- GNU multiprecision library.
-Version 4.2.4, @url{http://gmplib.org/}.
+@code{GMP} -- GNU multiprecision library.
+Version 6.2.0, @url{http://gmplib.org}.
@item
Guillaume Hanrot, Vincent Lef@`evre, Patrick P@'elissier, Paul Zimmermann et al.
-@code{mpfr} -- A library for multiple-precision floating-point computations with exact rounding.
-Version 2.4.1, @url{http://www.mpfr.org}.
+@code{MPFR} -- A library for multiple-precision floating-point computations with exact rounding.
+Version 4.1.0, @url{http://www.mpfr.org}.
@item
-IEEE standard for binary floating-point arithmetic, Technical Report
-ANSI-IEEE Standard 754-1985, New York, 1985.
-Approved March 21, 1985: IEEE Standards Board; approved July 26,
- 1985: American National Standards Institute, 18 pages.
+IEEE Standard for Floating-Point Arithmetic,
+IEEE Computer Society,
+IEEE Std 754-2019, Approved 13 June 2019, 84 pages.
@item
Donald E. Knuth, "The Art of Computer Programming", vol 2,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mpc-1.2.0/doc/stamp-vti new/mpc-1.2.1/doc/stamp-vti
--- old/mpc-1.2.0/doc/stamp-vti 2020-08-17 17:00:20.000000000 +0200
+++ new/mpc-1.2.1/doc/stamp-vti 2020-10-20 18:28:00.000000000 +0200
@@ -1,4 +1,4 @@
-@set UPDATED 17 August 2020
-@set UPDATED-MONTH August 2020
-@set EDITION 1.2.0
-@set VERSION 1.2.0
+@set UPDATED 20 October 2020
+@set UPDATED-MONTH October 2020
+@set EDITION 1.2.1
+@set VERSION 1.2.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mpc-1.2.0/doc/version.texi new/mpc-1.2.1/doc/version.texi
--- old/mpc-1.2.0/doc/version.texi 2020-08-17 17:00:20.000000000 +0200
+++ new/mpc-1.2.1/doc/version.texi 2020-10-20 18:26:01.000000000 +0200
@@ -1,4 +1,4 @@
-@set UPDATED 17 August 2020
-@set UPDATED-MONTH August 2020
-@set EDITION 1.2.0
-@set VERSION 1.2.0
+@set UPDATED 20 October 2020
+@set UPDATED-MONTH October 2020
+@set EDITION 1.2.1
+@set VERSION 1.2.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mpc-1.2.0/src/Makefile.am new/mpc-1.2.1/src/Makefile.am
--- old/mpc-1.2.0/src/Makefile.am 2020-07-23 14:44:44.000000000 +0200
+++ new/mpc-1.2.1/src/Makefile.am 2020-10-20 18:26:20.000000000 +0200
@@ -18,7 +18,7 @@
## along with this program. If not, see http://www.gnu.org/licenses/ .
lib_LTLIBRARIES = libmpc.la
-libmpc_la_LDFLAGS = $(MPC_LDFLAGS) -version-info 5:0:2
+libmpc_la_LDFLAGS = $(MPC_LDFLAGS) -version-info 5:1:2
libmpc_la_SOURCES = mpc-impl.h abs.c acos.c acosh.c add.c add_fr.c \
add_si.c add_ui.c arg.c asin.c asinh.c atan.c atanh.c clear.c \
cmp.c cmp_abs.c cmp_si_si.c conj.c cos.c cosh.c \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mpc-1.2.0/src/asin.c new/mpc-1.2.1/src/asin.c
--- old/mpc-1.2.0/src/asin.c 2020-07-27 11:34:32.000000000 +0200
+++ new/mpc-1.2.1/src/asin.c 2020-09-30 11:20:38.000000000 +0200
@@ -19,6 +19,7 @@
*/
#include <stdio.h>
+#include <limits.h> /* for ULONG_MAX */
#include "mpc-impl.h"
/* Special case op = 1 + i*y for tiny y (see algorithms.tex).
@@ -151,20 +152,22 @@
relative error */
ex = mpfr_get_exp (mpc_realref (s));
/* ulp(Re(s)) = 2^(ex+1-p) */
+ err = 0;
+ /* invariant: the error will be kx*2^err */
if (ex+1 > e) /* divide kx by 2^(ex+1-e) */
while (ex+1 > e)
{
kx = (kx + 1) / 2;
ex --;
}
- else /* multiply kx by 2^(e-(ex+1)) */
- kx <<= e - (ex+1);
- /* now the rounding error is bounded by kx*ulp(Re(s)), add the
+ else /* multiply the error by 2^(e-(ex+1)), thus add e-(ex+1) to err */
+ err += e - (ex+1);
+ /* now the rounding error is bounded by kx*2^err*ulp(Re(s)), add the
mathematical error which is bounded by ulp(Re(s)): the first neglected
term is less than 1/2*ulp(Re(s)), and each term decreases by at least
a factor 2, since |z^2| <= 1/2. */
kx ++;
- for (err = 0; kx > 2; err ++, kx = (kx + 1) / 2);
+ for (; kx > 2; err ++, kx = (kx + 1) / 2);
/* can we round Re(s) with error less than 2^(EXP(Re(s))-err) ? */
if (!mpfr_can_round (mpc_realref (s), p - err, MPFR_RNDN, MPFR_RNDZ,
mpfr_get_prec (mpc_realref (rop)) +
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mpc-1.2.0/src/atan.c new/mpc-1.2.1/src/atan.c
--- old/mpc-1.2.0/src/atan.c 2020-07-23 12:02:47.000000000 +0200
+++ new/mpc-1.2.1/src/atan.c 2020-10-12 18:07:15.000000000 +0200
@@ -143,7 +143,7 @@
mpfr_rnd_t rnd_im, rnd_away;
mpfr_t y, z;
mpfr_prec_t p, p_im;
- int ok;
+ int ok = 0;
rnd_im = MPC_RND_IM (rnd);
mpfr_init (y);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mpc-1.2.0/src/get_version.c new/mpc-1.2.1/src/get_version.c
--- old/mpc-1.2.0/src/get_version.c 2020-08-17 16:54:39.000000000 +0200
+++ new/mpc-1.2.1/src/get_version.c 2020-10-20 18:26:01.000000000 +0200
@@ -23,5 +23,5 @@
const char *
mpc_get_version (void)
{
- return "1.2.0";
+ return "1.2.1";
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mpc-1.2.0/src/mpc.h new/mpc-1.2.1/src/mpc.h
--- old/mpc-1.2.0/src/mpc.h 2020-08-17 16:54:50.000000000 +0200
+++ new/mpc-1.2.1/src/mpc.h 2020-10-20 18:26:01.000000000 +0200
@@ -27,8 +27,8 @@
/* Define MPC version number */
#define MPC_VERSION_MAJOR 1
#define MPC_VERSION_MINOR 2
-#define MPC_VERSION_PATCHLEVEL 0
-#define MPC_VERSION_STRING "1.2.0"
+#define MPC_VERSION_PATCHLEVEL 1
+#define MPC_VERSION_STRING "1.2.1"
/* Macros dealing with MPC VERSION */
#define MPC_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mpc-1.2.0/src/mul.c new/mpc-1.2.1/src/mul.c
--- old/mpc-1.2.0/src/mul.c 2018-11-22 14:57:30.000000000 +0100
+++ new/mpc-1.2.1/src/mul.c 2020-08-25 15:24:16.000000000 +0200
@@ -1,6 +1,6 @@
/* mpc_mul -- Multiply two complex numbers
-Copyright (C) 2002, 2004, 2005, 2008, 2009, 2010, 2011, 2012, 2016 INRIA
+Copyright (C) 2002, 2004, 2005, 2008, 2009, 2010, 2011, 2012, 2016, 2020 INRIA
This file is part of GNU MPC.
@@ -170,196 +170,6 @@
return MPC_INEX (inex_re, inex_im);
}
-#define MPFR_MANT(x) ((x)->_mpfr_d)
-#define MPFR_PREC(x) ((x)->_mpfr_prec)
-#define MPFR_EXP(x) ((x)->_mpfr_exp)
-#define MPFR_LIMB_SIZE(x) ((MPFR_PREC (x) - 1) / GMP_NUMB_BITS + 1)
-
-#if HAVE_MPFR_FMMA == 0
-static int
-mpc_fmma (mpfr_ptr z, mpfr_srcptr a, mpfr_srcptr b, mpfr_srcptr c,
- mpfr_srcptr d, int sign, mpfr_rnd_t rnd)
-{
- /* Computes z = ab+cd if sign >= 0, or z = ab-cd if sign < 0.
- Assumes that a, b, c, d are finite and non-zero; so any multiplication
- of two of them yielding an infinity is an overflow, and a
- multiplication yielding 0 is an underflow.
- Assumes further that z is distinct from a, b, c, d. */
-
- int inex;
- mpfr_t u, v;
- mp_size_t an, bn, cn, dn;
-
- /* u=a*b, v=sign*c*d exactly */
- an = MPFR_LIMB_SIZE(a);
- bn = MPFR_LIMB_SIZE(b);
- cn = MPFR_LIMB_SIZE(c);
- dn = MPFR_LIMB_SIZE(d);
- MPFR_MANT(u) = malloc ((an + bn) * sizeof (mp_limb_t));
- MPFR_MANT(v) = malloc ((cn + dn) * sizeof (mp_limb_t));
- if (an >= bn)
- mpn_mul (MPFR_MANT(u), MPFR_MANT(a), an, MPFR_MANT(b), bn);
- else
- mpn_mul (MPFR_MANT(u), MPFR_MANT(b), bn, MPFR_MANT(a), an);
- if ((MPFR_MANT(u)[an + bn - 1] >> (GMP_NUMB_BITS - 1)) == 0)
- {
- mpn_lshift (MPFR_MANT(u), MPFR_MANT(u), an + bn, 1);
- MPFR_EXP(u) = MPFR_EXP(a) + MPFR_EXP(b) - 1;
- }
- else
- MPFR_EXP(u) = MPFR_EXP(a) + MPFR_EXP(b);
- if (cn >= dn)
- mpn_mul (MPFR_MANT(v), MPFR_MANT(c), cn, MPFR_MANT(d), dn);
- else
- mpn_mul (MPFR_MANT(v), MPFR_MANT(d), dn, MPFR_MANT(c), cn);
- if ((MPFR_MANT(v)[cn + dn - 1] >> (GMP_NUMB_BITS - 1)) == 0)
- {
- mpn_lshift (MPFR_MANT(v), MPFR_MANT(v), cn + dn, 1);
- MPFR_EXP(v) = MPFR_EXP(c) + MPFR_EXP(d) - 1;
- }
- else
- MPFR_EXP(v) = MPFR_EXP(c) + MPFR_EXP(d);
- MPFR_PREC(u) = (an + bn) * GMP_NUMB_BITS;
- MPFR_PREC(v) = (cn + dn) * GMP_NUMB_BITS;
- MPFR_SIGN(u) = MPFR_SIGN(a) * MPFR_SIGN(b);
- if (sign > 0)
- MPFR_SIGN(v) = MPFR_SIGN(c) * MPFR_SIGN(d);
- else
- MPFR_SIGN(v) = -MPFR_SIGN(c) * MPFR_SIGN(d);
-
- mpfr_check_range (u, 0, MPFR_RNDN);
- mpfr_check_range (v, 0, MPFR_RNDN);
-
- /* tentatively compute z as u+v; here we need z to be distinct
- from a, b, c, d to not lose the latter */
- inex = mpfr_add (z, u, v, rnd);
-
- if (!mpfr_regular_p(z) || !mpfr_regular_p(u) || !mpfr_regular_p(v))
- {
- if (mpfr_inf_p (z)) {
- /* replace by "correctly rounded overflow" */
- mpfr_set_si (z, (mpfr_signbit (z) ? -1 : 1), MPFR_RNDN);
- inex = mpfr_mul_2ui (z, z, mpfr_get_emax (), rnd);
- }
- else if (mpfr_zero_p (u) && !mpfr_zero_p (v)) {
- /* exactly u underflowed, determine inexact flag */
- inex = (mpfr_signbit (u) ? 1 : -1);
- }
- else if (mpfr_zero_p (v) && !mpfr_zero_p (u)) {
- /* exactly v underflowed, determine inexact flag */
- inex = (mpfr_signbit (v) ? 1 : -1);
- }
- else if (mpfr_nan_p (z) || (mpfr_zero_p (u) && mpfr_zero_p (v))) {
- /* In the first case, u and v are infinities with opposite signs.
- In the second case, u and v are zeroes; their sum may be 0 or the
- least representable number, with a sign to be determined.
- Redo the computations with mpz_t exponents */
- mpfr_exp_t ea, eb, ec, ed;
- mpz_t eu, ev;
- /* cheat to work around the const qualifiers */
-
- /* Normalise the input by shifting and keep track of the shifts in
- the exponents of u and v */
- ea = mpfr_get_exp (a);
- eb = mpfr_get_exp (b);
- ec = mpfr_get_exp (c);
- ed = mpfr_get_exp (d);
-
- mpfr_set_exp ((mpfr_ptr) a, (mpfr_prec_t) 0);
- mpfr_set_exp ((mpfr_ptr) b, (mpfr_prec_t) 0);
- mpfr_set_exp ((mpfr_ptr) c, (mpfr_prec_t) 0);
- mpfr_set_exp ((mpfr_ptr) d, (mpfr_prec_t) 0);
-
- mpz_init (eu);
- mpz_init (ev);
- mpz_set_si (eu, (long int) ea);
- mpz_add_si (eu, eu, (long int) eb);
- mpz_set_si (ev, (long int) ec);
- mpz_add_si (ev, ev, (long int) ed);
-
- /* recompute u and v and move exponents to eu and ev */
- mpfr_mul (u, a, b, MPFR_RNDN);
- /* exponent of u is non-positive */
- mpz_sub_ui (eu, eu, (unsigned long int) (-mpfr_get_exp (u)));
- mpfr_set_exp (u, (mpfr_prec_t) 0);
- mpfr_mul (v, c, d, MPFR_RNDN);
- if (sign < 0)
- mpfr_neg (v, v, MPFR_RNDN);
- mpz_sub_ui (ev, ev, (unsigned long int) (-mpfr_get_exp (v)));
- mpfr_set_exp (v, (mpfr_prec_t) 0);
-
- if (mpfr_nan_p (z)) {
- mpfr_exp_t emax = mpfr_get_emax ();
- int overflow;
- /* We have a = ma * 2^ea with 1/2 <= |ma| < 1 and ea <= emax, and
- analogously for b. So eu <= 2*emax, and eu > emax since we have
- an overflow. The same holds for ev. Shift u and v by as much as
- possible so that one of them has exponent emax and the
- remaining exponents in eu and ev are the same. Then carry out
- the addition. Shifting u and v prevents an underflow. */
- if (mpz_cmp (eu, ev) >= 0) {
- mpfr_set_exp (u, emax);
- mpz_sub_ui (eu, eu, (long int) emax);
- mpz_sub (ev, ev, eu);
- mpfr_set_exp (v, (mpfr_exp_t) mpz_get_ui (ev));
- /* remaining common exponent is now in eu */
- }
- else {
- mpfr_set_exp (v, emax);
- mpz_sub_ui (ev, ev, (long int) emax);
- mpz_sub (eu, eu, ev);
- mpfr_set_exp (u, (mpfr_exp_t) mpz_get_ui (eu));
- mpz_set (eu, ev);
- /* remaining common exponent is now also in eu */
- }
- inex = mpfr_add (z, u, v, rnd);
- /* Result is finite since u and v have different signs. */
- overflow = mpfr_mul_2ui (z, z, mpz_get_ui (eu), rnd);
- if (overflow)
- inex = overflow;
- }
- else {
- int underflow;
- /* Addition of two zeroes with same sign. We have a = ma * 2^ea
- with 1/2 <= |ma| < 1 and ea >= emin and similarly for b.
- So 2*emin < 2*emin+1 <= eu < emin < 0, and analogously for v. */
- mpfr_exp_t emin = mpfr_get_emin ();
- if (mpz_cmp (eu, ev) <= 0) {
- mpfr_set_exp (u, emin);
- mpz_add_ui (eu, eu, (unsigned long int) (-emin));
- mpz_sub (ev, ev, eu);
- mpfr_set_exp (v, (mpfr_exp_t) mpz_get_si (ev));
- }
- else {
- mpfr_set_exp (v, emin);
- mpz_add_ui (ev, ev, (unsigned long int) (-emin));
- mpz_sub (eu, eu, ev);
- mpfr_set_exp (u, (mpfr_exp_t) mpz_get_si (eu));
- mpz_set (eu, ev);
- }
- inex = mpfr_add (z, u, v, rnd);
- mpz_neg (eu, eu);
- underflow = mpfr_div_2ui (z, z, mpz_get_ui (eu), rnd);
- if (underflow)
- inex = underflow;
- }
-
- mpz_clear (eu);
- mpz_clear (ev);
-
- mpfr_set_exp ((mpfr_ptr) a, ea);
- mpfr_set_exp ((mpfr_ptr) b, eb);
- mpfr_set_exp ((mpfr_ptr) c, ec);
- mpfr_set_exp ((mpfr_ptr) d, ed);
- /* works also when some of a, b, c, d are not all distinct */
- }
- }
-
- free (MPFR_MANT(u));
- free (MPFR_MANT(v));
- return inex;
-}
-#endif
int
mpc_mul_naive (mpc_ptr z, mpc_srcptr x, mpc_srcptr y, mpc_rnd_t rnd)
@@ -377,17 +187,10 @@
else
rop [0] = z [0];
-#if HAVE_MPFR_FMMA
inex_re = mpfr_fmms (mpc_realref (rop), mpc_realref (x), mpc_realref (y),
mpc_imagref (x), mpc_imagref (y), MPC_RND_RE (rnd));
inex_im = mpfr_fmma (mpc_imagref (rop), mpc_realref (x), mpc_imagref (y),
mpc_imagref (x), mpc_realref (y), MPC_RND_IM (rnd));
-#else
- inex_re = mpc_fmma (mpc_realref (rop), mpc_realref (x), mpc_realref (y),
- mpc_imagref (x), mpc_imagref (y), -1, MPC_RND_RE (rnd));
- inex_im = mpc_fmma (mpc_imagref (rop), mpc_realref (x), mpc_imagref (y),
- mpc_imagref (x), mpc_realref (y), +1, MPC_RND_IM (rnd));
-#endif
mpc_set (z, rop, MPC_RNDNN);
if (overlap)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mpc-1.2.0/src/pow.c new/mpc-1.2.1/src/pow.c
--- old/mpc-1.2.0/src/pow.c 2020-07-23 11:41:12.000000000 +0200
+++ new/mpc-1.2.1/src/pow.c 2020-10-12 18:07:15.000000000 +0200
@@ -696,7 +696,6 @@
if (mpfr_underflow_p () || mpfr_overflow_p ()) {
/* under- and overflow flags are set by mpc_exp */
mpc_set (z, u, MPC_RNDNN);
- ret = ret_exp;
inex_re = MPC_INEX_RE(ret_exp);
inex_im = MPC_INEX_IM(ret_exp);
if (mpfr_inf_p (mpc_realref (z)))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mpc-1.2.0/src/sqrt.c new/mpc-1.2.1/src/sqrt.c
--- old/mpc-1.2.0/src/sqrt.c 2020-07-23 12:01:49.000000000 +0200
+++ new/mpc-1.2.1/src/sqrt.c 2020-08-25 15:30:38.000000000 +0200
@@ -20,13 +20,6 @@
#include "mpc-impl.h"
-#if MPFR_VERSION_MAJOR < 3
-#define mpfr_min_prec(x) \
- ( ((prec + BITS_PER_MP_LIMB - 1) / BITS_PER_MP_LIMB) * BITS_PER_MP_LIMB \
- - mpn_scan1 (x->_mpfr_d, 0))
-#endif
-
-
int
mpc_sqrt (mpc_ptr a, mpc_srcptr b, mpc_rnd_t rnd)
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/mpc-1.2.0/tests/asin.dat new/mpc-1.2.1/tests/asin.dat
--- old/mpc-1.2.0/tests/asin.dat 2018-01-16 14:33:09.000000000 +0100
+++ new/mpc-1.2.1/tests/asin.dat 2020-09-29 10:39:01.000000000 +0200
@@ -131,3 +131,4 @@
- - 11 0xc9p-7 11 0xb5p-28 11 1 11 0x1p-41 N N
- + 53 0x3243f6a8885a3p-49 53 0x16a09e667f3bcdp-552 53 1 53 0x1p-999 N N
- + 2 1.5 2 0x1p-40 2 1 20 0xff802p-100 N N
+- - 24 -0x1p-148 24 -0xc.75cp-20 24 -0x1p-148 24 -0xc.75cp-20 N N
1
0
Hello community,
here is the log from the commit of package 00Meta for openSUSE:Leap:15.2:ARM:Images checked in at 2020-11-03 14:46:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:ARM:Images/00Meta (Old)
and /work/SRC/openSUSE:Leap:15.2:ARM:Images/.00Meta.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "00Meta"
Tue Nov 3 14:46:39 2020 rev:160 rq: version:unknown
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ version_snapshot ++++++
--- /var/tmp/diff_new_pack.i1B9Dd/_old 2020-11-03 14:46:40.866303127 +0100
+++ /var/tmp/diff_new_pack.i1B9Dd/_new 2020-11-03 14:46:40.866303127 +0100
@@ -1 +1 @@
-1.60
\ No newline at end of file
+1.71
\ No newline at end of file
1
0
Hello community,
here is the log from the commit of package linuxrc for openSUSE:Leap:15.2:Update checked in at 2020-11-03 06:24:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Update/linuxrc (Old)
and /work/SRC/openSUSE:Leap:15.2:Update/.linuxrc.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "linuxrc"
Tue Nov 3 06:24:40 2020 rev:2 rq:845122 version:unknown
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ _link ++++++
--- /var/tmp/diff_new_pack.1ile8u/_old 2020-11-03 06:24:41.631298588 +0100
+++ /var/tmp/diff_new_pack.1ile8u/_new 2020-11-03 06:24:41.635298593 +0100
@@ -1 +1 @@
-<link package='linuxrc.13874' cicount='copy' />
+<link package='linuxrc.14826' cicount='copy' />
1
0