- Update to mpfr 4.1.0

* New function mpfr_get_str_ndigits about conversion to a string of digits.
  * New function mpfr_dot for the dot product (incomplete, experimental).
  * New functions mpfr_get_decimal128 and mpfr_set_decimal128 (available only
    when MPFR has been built with decimal float support).
  * New function mpfr_cmpabs_ui.
  * New function mpfr_total_order_p for the IEEE 754 totalOrder predicate.
  * The mpfr_out_str function now accepts bases from -2 to -36, in order to
    follow mpfr_get_str and GMP's mpf_out_str functions (these cases gave an
    assertion failure, as with other invalid bases).
  * Shared caches: cleanup; really detect lock failures (abort in this case).
  * The behavior of the formatted output functions (mpfr_printf, etc.) with
    an empty precision field has improved: trailing zeros are kept in a way
    similar to the formatted output functions from C.
  * Improved mpfr_add and mpfr_sub when all operands have a precision equal to
    twice the number of bits per word, e.g., 128 bits on a 64-bit platform.
  * Optimized the tuning parameters for various architectures.
  * Improved test coverage to 98.6% of code for x86_64.
  * Bug fixes.
  * MPFR manual: corrected/completed the mpfr_get_str description in order to
    follow the historical behavior and GMP's mpf_get_str function.
- Remove mpfr-4.0.2-p6.patch and floating-point-format-no-lto.patch

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpfr?expand=0&rev=62
This commit is contained in:
Richard Biener 2020-07-13 09:40:43 +00:00 committed by Git OBS Bridge
parent 287533c1c8
commit 3bfb137a9f
8 changed files with 32 additions and 1575 deletions

View File

@ -1,13 +0,0 @@
diff --git a/configure b/configure
index 6581c68..a82593c 100755
--- a/configure
+++ b/configure
@@ -16158,7 +16158,7 @@ foo_t foo = {
};
EOF
- mpfr_compile="$CC $CFLAGS $CPPFLAGS -c conftest.c >&5 2>&1"
+ mpfr_compile="$CC $CFLAGS $CPPFLAGS -c conftest.c -fno-lto >&5 2>&1"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$mpfr_compile\""; } >&5
(eval $mpfr_compile) 2>&5
ac_status=$?

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -1,6 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQQH89u+zBo5YFB4CU2YDBl2mMNznQUCXFNeRQAKCRCYDBl2mMNz
nZChAJ9pmLqxHt7JMLrx1p1bsX+AfzPSVwCeJktDkGbMsZh9fW5wjfvGri1zh4w=
=oULh
-----END PGP SIGNATURE-----

3
mpfr-4.1.0.tar.xz Normal file
View File

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

BIN
mpfr-4.1.0.tar.xz.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Mon Jul 13 07:05:45 UTC 2020 - Richard Biener <rguenther@suse.com>
- Update to mpfr 4.1.0
* New function mpfr_get_str_ndigits about conversion to a string of digits.
* New function mpfr_dot for the dot product (incomplete, experimental).
* New functions mpfr_get_decimal128 and mpfr_set_decimal128 (available only
when MPFR has been built with decimal float support).
* New function mpfr_cmpabs_ui.
* New function mpfr_total_order_p for the IEEE 754 totalOrder predicate.
* The mpfr_out_str function now accepts bases from -2 to -36, in order to
follow mpfr_get_str and GMP's mpf_out_str functions (these cases gave an
assertion failure, as with other invalid bases).
* Shared caches: cleanup; really detect lock failures (abort in this case).
* The behavior of the formatted output functions (mpfr_printf, etc.) with
an empty precision field has improved: trailing zeros are kept in a way
similar to the formatted output functions from C.
* Improved mpfr_add and mpfr_sub when all operands have a precision equal to
twice the number of bits per word, e.g., 128 bits on a 64-bit platform.
* Optimized the tuning parameters for various architectures.
* Improved test coverage to 98.6% of code for x86_64.
* Bug fixes.
* MPFR manual: corrected/completed the mpfr_get_str description in order to
follow the historical behavior and GMP's mpf_get_str function.
- Remove mpfr-4.0.2-p6.patch and floating-point-format-no-lto.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 1 07:27:49 UTC 2020 - Richard Biener <rguenther@suse.com> Wed Apr 1 07:27:49 UTC 2020 - Richard Biener <rguenther@suse.com>

View File

@ -17,18 +17,16 @@
Name: mpfr Name: mpfr
Version: 4.0.2 Version: 4.1.0
Release: 0 Release: 0
Summary: The GNU multiple-precision floating-point library Summary: The GNU multiple-precision floating-point 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.mpfr.org/ URL: http://www.mpfr.org/
Source0: http://www.mpfr.org/mpfr-%{version}/mpfr-%{version}.tar.bz2 Source0: http://www.mpfr.org/mpfr-%{version}/mpfr-%{version}.tar.xz
Source1: http://www.mpfr.org/mpfr-%{version}/mpfr-%{version}.tar.bz2.asc Source1: http://www.mpfr.org/mpfr-%{version}/mpfr-%{version}.tar.xz.sig
Source2: %{name}.keyring Source2: %{name}.keyring
Source3: baselibs.conf Source3: baselibs.conf
Patch0: floating-point-format-no-lto.patch
Patch1: mpfr-4.0.2-p6.patch
BuildRequires: gmp-devel BuildRequires: gmp-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
@ -69,8 +67,6 @@ based on the GMP multiple-precision library.
%prep %prep
%setup -q %setup -q
%patch0 -p1
%patch1 -p1
%build %build
%configure \ %configure \