Accepting request 1043056 from devel:libraries:c_c++
- Add mpc-1.3.0-gmpdep.patch to avoid dependence on stdio.h when including mpc.h - Update to version 1.3.0. * New function: mpc_agm * New rounding modes "away from zero", indicated by the letter "A" and corresponding to MPFR_RNDA on the designated real or imaginary part. * New experimental ball arithmetic. * New experimental function: mpc_eta_fund * Bug fixes: - mpc_asin for asin(z) with small |Re(z)| and tiny |Im(z)| - mpc_pow_fr: sign of zero part of result when the base has up to sign the same real and imaginary part, and the exponent is an even positive integer - mpc_fma: the returned int value was incorrect in some cases (indicating whether the rounded real/imaginary parts were smaller/equal/greater than the exact values), but the computed complex value was correct. OBS-URL: https://build.opensuse.org/request/show/1043056 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpc?expand=0&rev=31
This commit is contained in:
commit
c3ef4f8f9d
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459
|
|
||||||
size 838731
|
|
@ -1,7 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iIwEABEIADQWIQStF6Ie+K7Y8cwC29n31cm/dlxh4wUCX5KefRYcYW5kcmVhcy5l
|
|
||||||
bmdlQGlucmlhLmZyAAoJEPfVyb92XGHjqAEA/RQXzaWvYWOI5LuQpMnNfg/vjwL2
|
|
||||||
tCCcHlQXRHyCqxzaAP47BhDZajH2AGG4yeMPYQEc1yPPcjS+1kgA/Z5c5gIjiA==
|
|
||||||
=Tns3
|
|
||||||
-----END PGP SIGNATURE-----
|
|
18
mpc-1.3.0-gmpdep.patch
Normal file
18
mpc-1.3.0-gmpdep.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
--- mpc-1.3.0/src/mpc.h.orig 2022-12-15 09:08:32.007095010 +0100
|
||||||
|
+++ mpc-1.3.0/src/mpc.h 2022-12-15 09:08:46.935285335 +0100
|
||||||
|
@@ -270,6 +270,7 @@
|
||||||
|
__MPC_DECLSPEC int mpc_inp_str (mpc_ptr, FILE *, size_t *, int, mpc_rnd_t);
|
||||||
|
__MPC_DECLSPEC size_t mpc_out_str (FILE *, int, size_t, mpc_srcptr, mpc_rnd_t);
|
||||||
|
__MPC_DECLSPEC void mpcb_out_str (FILE *f, mpcb_srcptr);
|
||||||
|
+__MPC_DECLSPEC void mpcr_out_str (FILE *f, mpcr_srcptr r);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
__MPC_DECLSPEC int mpcr_inf_p (mpcr_srcptr r);
|
||||||
|
@@ -284,7 +285,6 @@
|
||||||
|
int64_t exp);
|
||||||
|
__MPC_DECLSPEC void mpcr_max (mpcr_ptr r, mpcr_srcptr s, mpcr_srcptr t);
|
||||||
|
__MPC_DECLSPEC int64_t mpcr_get_exp (mpcr_srcptr r);
|
||||||
|
-__MPC_DECLSPEC void mpcr_out_str (FILE *f, mpcr_srcptr r);
|
||||||
|
__MPC_DECLSPEC void mpcr_mul (mpcr_ptr r, mpcr_srcptr s, mpcr_srcptr t);
|
||||||
|
__MPC_DECLSPEC void mpcr_mul_2ui (mpcr_ptr r, mpcr_srcptr s,
|
||||||
|
unsigned long int e);
|
3
mpc-1.3.0.tar.gz
Normal file
3
mpc-1.3.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0e3b12181d37207230f5a7a7ddcfc22abfc5fc9c05825e1a65401a489a432a2a
|
||||||
|
size 773441
|
7
mpc-1.3.0.tar.gz.sig
Normal file
7
mpc-1.3.0.tar.gz.sig
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iIwEABEIADQWIQStF6Ie+K7Y8cwC29n31cm/dlxh4wUCY5NESxYcYW5kcmVhcy5l
|
||||||
|
bmdlQGlucmlhLmZyAAoJEPfVyb92XGHjlmAA/igLVZ+PPjCbrEl+HPSVWFTUsoiL
|
||||||
|
SKT14TYZr3B4+QbfAQCJxlx3R74vhYp68a296WlPGdrzkftiTSvdmDNwBroAXA==
|
||||||
|
=xdoJ
|
||||||
|
-----END PGP SIGNATURE-----
|
25
mpc.changes
25
mpc.changes
@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 15 08:09:45 UTC 2022 - Richard Biener <rguenther@suse.com>
|
||||||
|
|
||||||
|
- Add mpc-1.3.0-gmpdep.patch to avoid dependence on stdio.h when
|
||||||
|
including mpc.h
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 14 09:25:18 UTC 2022 - Richard Biener <rguenther@suse.com>
|
||||||
|
|
||||||
|
- Update to version 1.3.0.
|
||||||
|
* New function: mpc_agm
|
||||||
|
* New rounding modes "away from zero", indicated by the letter "A"
|
||||||
|
and corresponding to MPFR_RNDA on the designated real or imaginary part.
|
||||||
|
* New experimental ball arithmetic.
|
||||||
|
* New experimental function: mpc_eta_fund
|
||||||
|
* Bug fixes:
|
||||||
|
- mpc_asin for asin(z) with small |Re(z)| and tiny |Im(z)|
|
||||||
|
- mpc_pow_fr: sign of zero part of result when the base has up to sign
|
||||||
|
the same real and imaginary part, and the exponent is an even
|
||||||
|
positive integer
|
||||||
|
- mpc_fma: the returned int value was incorrect in some cases
|
||||||
|
(indicating whether the rounded real/imaginary parts were
|
||||||
|
smaller/equal/greater than the exact values), but the computed
|
||||||
|
complex value was correct.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 29 18:30:03 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
|
Thu Oct 29 18:30:03 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
12
mpc.spec
12
mpc.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package mpc
|
# spec file for package mpc
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,9 +17,9 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: mpc
|
Name: mpc
|
||||||
Version: 1.2.1
|
Version: 1.3.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: MPC multiple-precision complex shared library
|
Summary: multiple-precision complex shared library
|
||||||
License: LGPL-3.0-or-later
|
License: LGPL-3.0-or-later
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
URL: http://www.multiprecision.org/mpc/
|
URL: http://www.multiprecision.org/mpc/
|
||||||
@ -27,6 +27,7 @@ Source0: https://ftp.gnu.org/gnu/mpc/mpc-%{version}.tar.gz
|
|||||||
Source1: https://ftp.gnu.org/gnu/mpc/mpc-%{version}.tar.gz.sig
|
Source1: https://ftp.gnu.org/gnu/mpc/mpc-%{version}.tar.gz.sig
|
||||||
Source2: %{name}.keyring
|
Source2: %{name}.keyring
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
|
Patch: mpc-1.3.0-gmpdep.patch
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(gmp) >= 5.0.0
|
BuildRequires: pkgconfig(gmp) >= 5.0.0
|
||||||
BuildRequires: pkgconfig(mpfr) >= 4.1.0
|
BuildRequires: pkgconfig(mpfr) >= 4.1.0
|
||||||
@ -52,13 +53,14 @@ Requires: libmpc3 = %{version}
|
|||||||
Requires: pkgconfig(gmp) >= 5.0.0
|
Requires: pkgconfig(gmp) >= 5.0.0
|
||||||
Requires: pkgconfig(mpfr) >= 4.1.0
|
Requires: pkgconfig(mpfr) >= 4.1.0
|
||||||
Requires(post): %{install_info_prereq}
|
Requires(post): %{install_info_prereq}
|
||||||
Requires(preun): %{install_info_prereq}
|
Requires(preun):%{install_info_prereq}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
MPC multiple-precision complex library development files.
|
MPC multiple-precision complex library development files.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||||
@ -73,10 +75,12 @@ MPC multiple-precision complex library development files.
|
|||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%post -n libmpc3 -p /sbin/ldconfig
|
%post -n libmpc3 -p /sbin/ldconfig
|
||||||
|
|
||||||
%post devel
|
%post devel
|
||||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||||
|
|
||||||
%postun -n libmpc3 -p /sbin/ldconfig
|
%postun -n libmpc3 -p /sbin/ldconfig
|
||||||
|
|
||||||
%preun devel
|
%preun devel
|
||||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user