2009-05-28 04:45:15 +02:00
|
|
|
#
|
2012-01-29 21:37:45 +01:00
|
|
|
# spec file for package mpc
|
2009-05-28 04:45:15 +02:00
|
|
|
#
|
2022-12-14 10:30:58 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2009-05-28 04:45:15 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-08-02 10:37:09 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2009-05-28 04:45:15 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: mpc
|
2022-12-19 15:11:32 +01:00
|
|
|
Version: 1.3.1
|
- Update to version 1.0.
- License change: LGPLv3+ for code, GFDLv1.3+ (with no invariant sections)
for documentation
- Functions renamed:
mpc_mul_2exp to mpc_mul_2ui, mpc_div_2exp to mpc_div_2ui
- New functions: mpc_log10, mpc_mul_2si, mpc_div_2si
- Speed-ups:
- mpc_fma
- Bug fixes:
- mpc_div and mpc_norm now return a value indicating the effective
rounding direction, as the other functions
- mpc_mul, mpc_sqr and mpc_norm now return correct results even if there
are over- or underflows during the computation
- mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
infinite part and equals output variable is corrected
- mpc_fr_sub: Wrong return value for imaginary part is corrected
- Skips version 0.9:
- 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
or long double _Complex
- mpc_sin_cos, computing simultaneously the sine and cosine
- Speed-ups:
- mpc_pow_si through binary exponentiation
- mpc_pow_z when the exponent fits in a long
- mpc_tan through the use of mpc_sin_cos
- Bug fixes:
- trigonometric functions: infinite loop due to overflow for large
arguments
- mpc_exp: close to infinite loop for argument close to 0
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpc?expand=0&rev=24
2012-07-23 10:54:51 +02:00
|
|
|
Release: 0
|
2022-12-14 10:30:58 +01:00
|
|
|
Summary: multiple-precision complex shared library
|
2019-08-02 10:37:09 +02:00
|
|
|
License: LGPL-3.0-or-later
|
- Update to version 1.0.
- License change: LGPLv3+ for code, GFDLv1.3+ (with no invariant sections)
for documentation
- Functions renamed:
mpc_mul_2exp to mpc_mul_2ui, mpc_div_2exp to mpc_div_2ui
- New functions: mpc_log10, mpc_mul_2si, mpc_div_2si
- Speed-ups:
- mpc_fma
- Bug fixes:
- mpc_div and mpc_norm now return a value indicating the effective
rounding direction, as the other functions
- mpc_mul, mpc_sqr and mpc_norm now return correct results even if there
are over- or underflows during the computation
- mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
infinite part and equals output variable is corrected
- mpc_fr_sub: Wrong return value for imaginary part is corrected
- Skips version 0.9:
- 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
or long double _Complex
- mpc_sin_cos, computing simultaneously the sine and cosine
- Speed-ups:
- mpc_pow_si through binary exponentiation
- mpc_pow_z when the exponent fits in a long
- mpc_tan through the use of mpc_sin_cos
- Bug fixes:
- trigonometric functions: infinite loop due to overflow for large
arguments
- mpc_exp: close to infinite loop for argument close to 0
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpc?expand=0&rev=24
2012-07-23 10:54:51 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2020-08-24 10:25:06 +02:00
|
|
|
URL: http://www.multiprecision.org/mpc/
|
2018-01-17 09:09:20 +01:00
|
|
|
Source0: https://ftp.gnu.org/gnu/mpc/mpc-%{version}.tar.gz
|
|
|
|
Source1: https://ftp.gnu.org/gnu/mpc/mpc-%{version}.tar.gz.sig
|
2015-11-18 09:47:19 +01:00
|
|
|
Source2: %{name}.keyring
|
|
|
|
Source3: baselibs.conf
|
2020-10-30 10:38:01 +01:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(gmp) >= 5.0.0
|
|
|
|
BuildRequires: pkgconfig(mpfr) >= 4.1.0
|
2009-05-28 04:45:15 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
MPC is a C library for the arithmetic of complex numbers with
|
|
|
|
arbitrarily high precision and correct rounding of the result. It is
|
|
|
|
built upon and follows the same principles as MPFR.
|
|
|
|
|
- Update to version 1.0.
- License change: LGPLv3+ for code, GFDLv1.3+ (with no invariant sections)
for documentation
- Functions renamed:
mpc_mul_2exp to mpc_mul_2ui, mpc_div_2exp to mpc_div_2ui
- New functions: mpc_log10, mpc_mul_2si, mpc_div_2si
- Speed-ups:
- mpc_fma
- Bug fixes:
- mpc_div and mpc_norm now return a value indicating the effective
rounding direction, as the other functions
- mpc_mul, mpc_sqr and mpc_norm now return correct results even if there
are over- or underflows during the computation
- mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
infinite part and equals output variable is corrected
- mpc_fr_sub: Wrong return value for imaginary part is corrected
- Skips version 0.9:
- 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
or long double _Complex
- mpc_sin_cos, computing simultaneously the sine and cosine
- Speed-ups:
- mpc_pow_si through binary exponentiation
- mpc_pow_z when the exponent fits in a long
- mpc_tan through the use of mpc_sin_cos
- Bug fixes:
- trigonometric functions: infinite loop due to overflow for large
arguments
- mpc_exp: close to infinite loop for argument close to 0
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpc?expand=0&rev=24
2012-07-23 10:54:51 +02:00
|
|
|
%package -n libmpc3
|
2009-05-28 04:45:15 +02:00
|
|
|
Summary: MPC multiple-precision complex shared library
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
- Update to version 1.0.
- License change: LGPLv3+ for code, GFDLv1.3+ (with no invariant sections)
for documentation
- Functions renamed:
mpc_mul_2exp to mpc_mul_2ui, mpc_div_2exp to mpc_div_2ui
- New functions: mpc_log10, mpc_mul_2si, mpc_div_2si
- Speed-ups:
- mpc_fma
- Bug fixes:
- mpc_div and mpc_norm now return a value indicating the effective
rounding direction, as the other functions
- mpc_mul, mpc_sqr and mpc_norm now return correct results even if there
are over- or underflows during the computation
- mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
infinite part and equals output variable is corrected
- mpc_fr_sub: Wrong return value for imaginary part is corrected
- Skips version 0.9:
- 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
or long double _Complex
- mpc_sin_cos, computing simultaneously the sine and cosine
- Speed-ups:
- mpc_pow_si through binary exponentiation
- mpc_pow_z when the exponent fits in a long
- mpc_tan through the use of mpc_sin_cos
- Bug fixes:
- trigonometric functions: infinite loop due to overflow for large
arguments
- mpc_exp: close to infinite loop for argument close to 0
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpc?expand=0&rev=24
2012-07-23 10:54:51 +02:00
|
|
|
%description -n libmpc3
|
2009-05-28 04:45:15 +02:00
|
|
|
MPC is a C library for the arithmetic of complex numbers with
|
|
|
|
arbitrarily high precision and correct rounding of the result. It is
|
|
|
|
built upon and follows the same principles as MPFR.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: MPC multiple-precision complex library development files
|
|
|
|
Group: Development/Libraries/C and C++
|
2012-07-23 15:05:33 +02:00
|
|
|
Requires: libmpc3 = %{version}
|
2020-10-30 10:38:01 +01:00
|
|
|
Requires: pkgconfig(gmp) >= 5.0.0
|
|
|
|
Requires: pkgconfig(mpfr) >= 4.1.0
|
|
|
|
Requires(post): %{install_info_prereq}
|
2022-12-14 10:30:58 +01:00
|
|
|
Requires(preun):%{install_info_prereq}
|
2009-05-28 04:45:15 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
MPC multiple-precision complex library development files.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2019-08-02 10:37:09 +02:00
|
|
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
2009-07-13 21:53:15 +02:00
|
|
|
%configure
|
2020-10-30 10:38:01 +01:00
|
|
|
%make_build
|
2009-05-28 04:45:15 +02:00
|
|
|
|
|
|
|
%check
|
2020-10-30 10:38:01 +01:00
|
|
|
%make_build check
|
2009-05-28 04:45:15 +02:00
|
|
|
|
|
|
|
%install
|
2020-10-30 10:38:01 +01:00
|
|
|
%make_install
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2009-05-28 04:45:15 +02:00
|
|
|
|
- Update to version 1.0.
- License change: LGPLv3+ for code, GFDLv1.3+ (with no invariant sections)
for documentation
- Functions renamed:
mpc_mul_2exp to mpc_mul_2ui, mpc_div_2exp to mpc_div_2ui
- New functions: mpc_log10, mpc_mul_2si, mpc_div_2si
- Speed-ups:
- mpc_fma
- Bug fixes:
- mpc_div and mpc_norm now return a value indicating the effective
rounding direction, as the other functions
- mpc_mul, mpc_sqr and mpc_norm now return correct results even if there
are over- or underflows during the computation
- mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
infinite part and equals output variable is corrected
- mpc_fr_sub: Wrong return value for imaginary part is corrected
- Skips version 0.9:
- 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
or long double _Complex
- mpc_sin_cos, computing simultaneously the sine and cosine
- Speed-ups:
- mpc_pow_si through binary exponentiation
- mpc_pow_z when the exponent fits in a long
- mpc_tan through the use of mpc_sin_cos
- Bug fixes:
- trigonometric functions: infinite loop due to overflow for large
arguments
- mpc_exp: close to infinite loop for argument close to 0
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpc?expand=0&rev=24
2012-07-23 10:54:51 +02:00
|
|
|
%post -n libmpc3 -p /sbin/ldconfig
|
2022-12-14 10:30:58 +01:00
|
|
|
|
2009-05-28 04:45:15 +02:00
|
|
|
%post devel
|
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
|
- Update to version 1.0.
- License change: LGPLv3+ for code, GFDLv1.3+ (with no invariant sections)
for documentation
- Functions renamed:
mpc_mul_2exp to mpc_mul_2ui, mpc_div_2exp to mpc_div_2ui
- New functions: mpc_log10, mpc_mul_2si, mpc_div_2si
- Speed-ups:
- mpc_fma
- Bug fixes:
- mpc_div and mpc_norm now return a value indicating the effective
rounding direction, as the other functions
- mpc_mul, mpc_sqr and mpc_norm now return correct results even if there
are over- or underflows during the computation
- mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
infinite part and equals output variable is corrected
- mpc_fr_sub: Wrong return value for imaginary part is corrected
- Skips version 0.9:
- 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
or long double _Complex
- mpc_sin_cos, computing simultaneously the sine and cosine
- Speed-ups:
- mpc_pow_si through binary exponentiation
- mpc_pow_z when the exponent fits in a long
- mpc_tan through the use of mpc_sin_cos
- Bug fixes:
- trigonometric functions: infinite loop due to overflow for large
arguments
- mpc_exp: close to infinite loop for argument close to 0
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpc?expand=0&rev=24
2012-07-23 10:54:51 +02:00
|
|
|
%postun -n libmpc3 -p /sbin/ldconfig
|
2022-12-14 10:30:58 +01:00
|
|
|
|
2015-11-18 09:47:19 +01:00
|
|
|
%preun devel
|
2009-05-28 04:45:15 +02:00
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
|
- Update to version 1.0.
- License change: LGPLv3+ for code, GFDLv1.3+ (with no invariant sections)
for documentation
- Functions renamed:
mpc_mul_2exp to mpc_mul_2ui, mpc_div_2exp to mpc_div_2ui
- New functions: mpc_log10, mpc_mul_2si, mpc_div_2si
- Speed-ups:
- mpc_fma
- Bug fixes:
- mpc_div and mpc_norm now return a value indicating the effective
rounding direction, as the other functions
- mpc_mul, mpc_sqr and mpc_norm now return correct results even if there
are over- or underflows during the computation
- mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
infinite part and equals output variable is corrected
- mpc_fr_sub: Wrong return value for imaginary part is corrected
- Skips version 0.9:
- 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
or long double _Complex
- mpc_sin_cos, computing simultaneously the sine and cosine
- Speed-ups:
- mpc_pow_si through binary exponentiation
- mpc_pow_z when the exponent fits in a long
- mpc_tan through the use of mpc_sin_cos
- Bug fixes:
- trigonometric functions: infinite loop due to overflow for large
arguments
- mpc_exp: close to infinite loop for argument close to 0
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpc?expand=0&rev=24
2012-07-23 10:54:51 +02:00
|
|
|
%files -n libmpc3
|
2009-05-28 04:45:15 +02:00
|
|
|
%defattr(-,root,root)
|
2020-10-30 10:38:01 +01:00
|
|
|
%license COPYING.LESSER
|
- Update to version 1.0.
- License change: LGPLv3+ for code, GFDLv1.3+ (with no invariant sections)
for documentation
- Functions renamed:
mpc_mul_2exp to mpc_mul_2ui, mpc_div_2exp to mpc_div_2ui
- New functions: mpc_log10, mpc_mul_2si, mpc_div_2si
- Speed-ups:
- mpc_fma
- Bug fixes:
- mpc_div and mpc_norm now return a value indicating the effective
rounding direction, as the other functions
- mpc_mul, mpc_sqr and mpc_norm now return correct results even if there
are over- or underflows during the computation
- mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
infinite part and equals output variable is corrected
- mpc_fr_sub: Wrong return value for imaginary part is corrected
- Skips version 0.9:
- 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
or long double _Complex
- mpc_sin_cos, computing simultaneously the sine and cosine
- Speed-ups:
- mpc_pow_si through binary exponentiation
- mpc_pow_z when the exponent fits in a long
- mpc_tan through the use of mpc_sin_cos
- Bug fixes:
- trigonometric functions: infinite loop due to overflow for large
arguments
- mpc_exp: close to infinite loop for argument close to 0
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpc?expand=0&rev=24
2012-07-23 10:54:51 +02:00
|
|
|
%{_libdir}/libmpc.so.3*
|
2009-05-28 04:45:15 +02:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2020-10-30 10:38:01 +01:00
|
|
|
%license COPYING.LESSER
|
|
|
|
%doc AUTHORS NEWS
|
|
|
|
%{_infodir}/mpc.info%{?ext_info}
|
2009-07-13 21:53:15 +02:00
|
|
|
%{_libdir}/libmpc.a
|
2009-05-28 04:45:15 +02:00
|
|
|
%{_libdir}/libmpc.so
|
2015-11-18 09:47:19 +01:00
|
|
|
%{_includedir}/mpc.h
|
2009-05-28 04:45:15 +02:00
|
|
|
|
|
|
|
%changelog
|