| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: libmpfr6 | Distribution: openSUSE Tumbleweed |
| Version: 4.2.2 | Vendor: openSUSE |
| Release: 1.1 | Build date: Thu Mar 20 15:18:31 2025 |
| Group: Development/Libraries/C and C++ | Build host: reproducible |
| Size: 801553 | Source RPM: mpfr-4.2.2-1.1.src.rpm |
| Packager: http://bugs.opensuse.org | |
| Url: https://www.mpfr.org/ | |
| Summary: The GNU multiple-precision floating-point shared library | |
The MPFR library is a C library for multiple-precision floating-point computations with exact rounding (also called correct rounding). It is based on the GMP multiple-precision library.
LGPL-3.0-or-later
* Thu Mar 20 2025 Richard Biener <rguenther@suse.com>
- Update to mpfr 4.2.2
* In order to resolve a portability issue with the _Float128 fallback to
__float128 for binary128 support (e.g. with Clang and glibc 2.41), the
prototypes of the corresponding conversion functions had to be changed,
with _Float128 replaced by mpfr_float128, where mpfr_float128 is a
macro defined as _Float128 by default. This changes neither the ABI nor
the API (except that the end user of MPFR would need to define
mpfr_float128 as the actual type for the binary128 format if this is not
the standard _Float128 type).
* Other bug fixes (see the fixed bugs on the MPFR 4.2.1 page and/or the
ChangeLog file). In particular, the formatted output functions behaved
incorrectly with %c on the value 0; such a use is uncommon, but this bug
may have security implications.
* Improved MPFR manual.
* Detect the use of GMP's buggy vsnprintf replacement at configure time.
With it, the tests of "%a" will be disabled to avoid an assertion failure
in the MPFR testsuite. A warning will be displayed in the configure output
in such a case.
* Tue Aug 22 2023 Richard Biener <rguenther@suse.com>
- Update to mpfr 4.2.1
* Includes all fixes from mpfr-4.2.0-cummulative.patch which is
subsequently removed.
* Improved MPFR manual.
* Configure tests: replaced the test of the link with GMP, in order
to avoid the use of a function without a prototype (Autoconf issue), as
this is obsolescent in ISO C. The new test should be more robust.
* Wed Jun 07 2023 Richard Biener <rguenther@suse.com>
- Update mpfr-4.2.0-cummulative.patch, adds patches fixing the following bugs
* the mpfr_reldiff function, which computes |b-c|/b, is buggy on special
values, e.g. on the following (b,c) values: (+Inf,+Inf) gives ±0
instead of NaN (like NaN/Inf); (+0,+0) gives 1 instead of NaN (like 0/0);
(+0,1) gives 1 instead of Inf (like 1/0). Moreover, the sign of 0 for
(+Inf,+Inf) or (-Inf,-Inf) is not set, i.e. it is just the sign of the
destination before the call; as a consequence, results are not even
consistent.
* the reuse tests are incomplete: the sign of a result zero is not checked,
so that it can miss bugs (one of the mpfr_reldiff bugs mentioned above,
in particular).
* the general code for the power function (mpfr_pow_general internal
function) has two bugs in particular cases: the first one is an incorrect
computation of the error bound when there has been an intermediate
underflow or overflow (in such a case, the computation is performed
again with a rescaling, thus with an additional error term, but there is
a bug in the computation of this term), so that the result may be
rounded incorrectly (in particular, a spurious overflow is possible);
the second one occurs in a corner case (destination precision 1,
rounding to nearest, and where the rounded result assuming an unbounded
exponent range would be 2emin-2 and the exact result is larger than this
value), with the only consequence being a missing underflow exception
(the underflow flag is not set).
* the mpfr_compound_si function can take a huge amount of memory and time
in some cases (when the argument x is a large even integer and xn is
represented exactly in the target precision) and does not correctly
detect overflows and underflows
* MPFR can crash when a formatted output function is called with
%.2147483648Rg in the format string.
* Tue Apr 18 2023 Richard Biener <rguenther@suse.com>
- Add mpfr-4.2.0-cummulative.patch, cummulative patches for
mpfr 4.2.0:
* A test of the thousands separator in tsprintf.c is based on the
output from the GNU C Library up to 2.36, which is incorrect.
* The mpfr_ui_pow_ui function has infinite loop in case of overflow.
* The tfprintf and tprintf tests may fail in locales where decimal_point
has several bytes, such as ps_AF.
* In particular cases that are very hard to round, mpfr_rec_sqrt may yield
a stack overflow due to many small allocations in the stack, based on
alloca().
- Remove tests-tsprintf.patch that's included in the above set.
* Tue Jan 31 2023 Andreas Schwab <schwab@suse.de>
- tests-tsprintf.patch: Avoid testsuite failure with glibc >= 2.37
* Mon Jan 09 2023 Richard Biener <rguenther@suse.com>
- Update to mpfr 4.2.0
* New functions mpfr_cosu, mpfr_sinu, mpfr_tanu, mpfr_acosu, mpfr_asinu,
mpfr_atanu and mpfr_atan2u.
* New functions mpfr_cospi, mpfr_sinpi, mpfr_tanpi, mpfr_acospi, mpfr_asinpi,
mpfr_atanpi and mpfr_atan2pi.
* New functions mpfr_log2p1, mpfr_log10p1, mpfr_exp2m1, mpfr_exp10m1 and
mpfr_compound_si.
* New functions mpfr_fmod_ui, mpfr_powr, mpfr_pown, mpfr_pow_uj, mpfr_pow_sj
and mpfr_rootn_si (mpfr_pown is actually a macro defined as an alias for
mpfr_pow_sj).
* Bug fixes.
In particular, for the formatted output functions (mpfr_printf, etc.),
the case where the precision consists only of a period has been fixed
to be like ".0" as specified in the ISO C standard, and the manual has
been corrected and clarified.
The macros of the custom interface have also been fixed: they now behave
like functions (except a minor limitation for mpfr_custom_init_set).
- Remove mpfr-4.1.1-patch01.patch which is included in the new release.
* Thu Nov 24 2022 Richard Biener <rguenther@suse.com>
- Add mpfr-4.1.1-patch01.patch to fix bug with code using
the mpfr_custom_get_kind macro.
* Sat Nov 19 2022 Andreas Stieger <andreas.stieger@gmx.de>
- package license files correctly
* Fri Nov 18 2022 Richard Biener <rguenther@suse.com>
- Update to mpfr 4.1.1
* Bug fixes (see <https://www.mpfr.org/mpfr-4.1.0/#fixed> and/or the
ChangeLog file), in particular for macros implementing functions.
* Improved manual formatting.
* Accumulated bugfixes
- Remove mpfr-4.1.0-p7.diff, all patches are contained in the
new version.
- Update mpfr.keyring
* Fri Feb 12 2021 Richard Biener <rguenther@suse.com>
- Add cummulative patch mpfr-4.1.0-p7.diff fixing various bugs.
/usr/lib64/libmpfr.so.6 /usr/lib64/libmpfr.so.6.2.2 /usr/share/licenses/libmpfr6 /usr/share/licenses/libmpfr6/COPYING /usr/share/licenses/libmpfr6/COPYING.LESSER
Generated by rpm2html 1.8.1
Fabrice Bellet, Fri Oct 24 23:41:00 2025