Commit Graph

  • 9b7f3fd5b6 Accepting request 1254755 from devel:libraries:c_c++ factory Ana Guerrero 2025-03-21 19:21:51 +00:00
  • a5f2e1d524 - 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. Richard Biener 2025-03-20 14:20:19 +00:00
  • 86a2004273 Accepting request 1105275 from devel:libraries:c_c++ slfo-main slfo-1.2 Ana Guerrero 2023-08-30 08:19:23 +00:00
  • 7d3b46efc1 Accepting request 1105275 from devel:libraries:c_c++ Ana Guerrero 2023-08-30 08:19:23 +00:00
  • 481794b6df - 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. Richard Biener 2023-08-22 11:48:11 +00:00
  • e9fc47675d - 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. Richard Biener 2023-08-22 11:48:11 +00:00
  • 716fc52cff Accepting request 1091232 from devel:libraries:c_c++ Dominique Leuenberger 2023-06-09 18:35:18 +00:00
  • 70f48ea129 Accepting request 1091232 from devel:libraries:c_c++ Dominique Leuenberger 2023-06-09 18:35:18 +00:00
  • 566591202d - 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. Richard Biener 2023-06-07 07:59:51 +00:00
  • 0b52f9cbec - 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. Richard Biener 2023-06-07 07:59:51 +00:00
  • c96d436e84 Accepting request 1080085 from devel:libraries:c_c++ Dominique Leuenberger 2023-04-21 12:15:31 +00:00
  • fd21c11094 Accepting request 1080085 from devel:libraries:c_c++ Dominique Leuenberger 2023-04-21 12:15:31 +00:00
  • ad0e704d8b - 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. Richard Biener 2023-04-18 08:22:48 +00:00
  • d72a9ae308 - 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. Richard Biener 2023-04-18 08:22:48 +00:00
  • bc177d9e84 Accepting request 1062392 from devel:libraries:c_c++ Dominique Leuenberger 2023-02-02 17:06:46 +00:00
  • fa4ecb8d06 Accepting request 1062392 from devel:libraries:c_c++ Dominique Leuenberger 2023-02-02 17:06:46 +00:00
  • abeb6a1f64 - Remove mpfr-4.1.1-patch01.patch which is included in the new release. Richard Biener 2023-02-01 07:37:04 +00:00
  • 5487f57679 - Remove mpfr-4.1.1-patch01.patch which is included in the new release. Richard Biener 2023-02-01 07:37:04 +00:00
  • 5cbd214a2a Accepting request 1062299 from home:Andreas_Schwab:glibc:rebuild Richard Biener 2023-02-01 07:35:32 +00:00
  • f95d00dff6 Accepting request 1062299 from home:Andreas_Schwab:glibc:rebuild Richard Biener 2023-02-01 07:35:32 +00:00
  • 1df245fcd6 - 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). Richard Biener 2023-01-09 08:23:20 +00:00
  • 66464706df - 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). Richard Biener 2023-01-09 08:23:20 +00:00
  • 15b711fe81 Accepting request 1037844 from devel:libraries:c_c++ Dominique Leuenberger 2022-11-27 11:52:43 +00:00
  • 5b73c3b390 Accepting request 1037844 from devel:libraries:c_c++ Dominique Leuenberger 2022-11-27 11:52:43 +00:00
  • d070d154cc - Add mpfr-4.1.1-patch01.patch to fix bug with code using the mpfr_custom_get_kind macro. Richard Biener 2022-11-24 09:10:36 +00:00
  • 38807df28c - Add mpfr-4.1.1-patch01.patch to fix bug with code using the mpfr_custom_get_kind macro. Richard Biener 2022-11-24 09:10:36 +00:00
  • 9d32184467 Accepting request 1037024 from devel:libraries:c_c++ Dominique Leuenberger 2022-11-22 15:09:09 +00:00
  • 9ce00379b8 Accepting request 1037024 from devel:libraries:c_c++ Dominique Leuenberger 2022-11-22 15:09:09 +00:00
  • 5d4d6e7626 Accepting request 1036805 from home:AndreasStieger:branches:devel:libraries:c_c++ Richard Biener 2022-11-21 07:20:10 +00:00
  • 6662e96f72 Accepting request 1036805 from home:AndreasStieger:branches:devel:libraries:c_c++ Richard Biener 2022-11-21 07:20:10 +00:00
  • 6e4cef8ff3 Accepting request 1036672 from devel:libraries:c_c++ Dominique Leuenberger 2022-11-20 18:46:46 +00:00
  • 2ce5ae3dc3 Accepting request 1036672 from devel:libraries:c_c++ Dominique Leuenberger 2022-11-20 18:46:46 +00:00
  • 91dc75fbc2 - 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 Richard Biener 2022-11-18 08:01:57 +00:00
  • d27e7418e1 - 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 Richard Biener 2022-11-18 08:01:57 +00:00
  • fde84a4c35 Accepting request 871455 from devel:libraries:c_c++ Dominique Leuenberger 2021-02-17 17:09:45 +00:00
  • 45fa6f61e4 Accepting request 871455 from devel:libraries:c_c++ Dominique Leuenberger 2021-02-17 17:09:45 +00:00
  • 15f3e5bb23 - Add cummulative patch mpfr-4.1.0-p7.diff fixing various bugs. Richard Biener 2021-02-12 14:19:05 +00:00
  • eded8bf416 - Add cummulative patch mpfr-4.1.0-p7.diff fixing various bugs. Richard Biener 2021-02-12 14:19:05 +00:00
  • a9a76bc87f - Add cummulative patch mpfr-4.1.0-p7.patch fixing various bugs. Richard Biener 2021-02-12 08:06:46 +00:00
  • 97431dea4f - Add cummulative patch mpfr-4.1.0-p7.patch fixing various bugs. Richard Biener 2021-02-12 08:06:46 +00:00
  • dbcf72342b Accepting request 820814 from devel:libraries:c_c++ Dominique Leuenberger 2020-08-02 10:27:20 +00:00
  • 10ee76dbdc Accepting request 820814 from devel:libraries:c_c++ Dominique Leuenberger 2020-08-02 10:27:20 +00:00
  • 4ec3e5dd09 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpfr?expand=0&rev=63 Richard Biener 2020-07-14 06:34:38 +00:00
  • b52dfb4f8b OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpfr?expand=0&rev=63 Richard Biener 2020-07-14 06:34:38 +00:00
  • 3bfb137a9f - 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 Richard Biener 2020-07-13 09:40:43 +00:00
  • d9ea0c693b - 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 Richard Biener 2020-07-13 09:40:43 +00:00
  • 7e528b6b53 Accepting request 790496 from devel:libraries:c_c++ Dominique Leuenberger 2020-04-05 18:49:00 +00:00
  • 4a7db2f30a Accepting request 790496 from devel:libraries:c_c++ Dominique Leuenberger 2020-04-05 18:49:00 +00:00
  • 287533c1c8 - Add cummulative patch mpfr-4.0.2-p6.patch fixing various bugs. Richard Biener 2020-04-01 07:37:50 +00:00
  • 0e7bf8de7a - Add cummulative patch mpfr-4.0.2-p6.patch fixing various bugs. Richard Biener 2020-04-01 07:37:50 +00:00
  • 6806214c0f Accepting request 715477 from devel:libraries:c_c++ Dominique Leuenberger 2019-07-21 09:28:42 +00:00
  • c43c749e3c Accepting request 715477 from devel:libraries:c_c++ Dominique Leuenberger 2019-07-21 09:28:42 +00:00
  • f829e63b51 Accepting request 715464 from home:marxin:branches:devel:libraries:c_c++ Richard Biener 2019-07-15 12:53:12 +00:00
  • 8f2e163ec0 Accepting request 715464 from home:marxin:branches:devel:libraries:c_c++ Richard Biener 2019-07-15 12:53:12 +00:00
  • 1094af1f98 Accepting request 670549 from devel:libraries:c_c++ Stephan Kulow 2019-02-08 11:07:55 +00:00
  • f5565fabab Accepting request 670549 from devel:libraries:c_c++ Stephan Kulow 2019-02-08 11:07:55 +00:00
  • a1fcc2b453 * Cummulative bugfix release, includes mpfr-4.0.1-cummulative-patch.patch. Richard Biener 2019-02-01 11:14:10 +00:00
  • 60186d3f38 * Cummulative bugfix release, includes mpfr-4.0.1-cummulative-patch.patch. Richard Biener 2019-02-01 11:14:10 +00:00
  • 2641247c79 - Update to mpfr 4.0.2 * Cummulative bugfix release. Richard Biener 2019-02-01 08:38:10 +00:00
  • 99a5f49832 - Update to mpfr 4.0.2 * Cummulative bugfix release. Richard Biener 2019-02-01 08:38:10 +00:00
  • 98e4d98895 Accepting request 610003 from devel:libraries:c_c++ Dominique Leuenberger 2018-05-22 14:57:57 +00:00
  • 8d755253b2 Accepting request 610003 from devel:libraries:c_c++ Dominique Leuenberger 2018-05-22 14:57:57 +00:00
  • c209961b17 Accepting request 610001 from home:1Antoine1:branches:devel:libraries:c_c++ Richard Biener 2018-05-17 07:02:05 +00:00
  • a7c1f70bf6 Accepting request 610001 from home:1Antoine1:branches:devel:libraries:c_c++ Richard Biener 2018-05-17 07:02:05 +00:00
  • 402c7c6824 Accepting request 603129 from devel:libraries:c_c++ Dominique Leuenberger 2018-05-07 12:52:02 +00:00
  • 18099e8218 Accepting request 603129 from devel:libraries:c_c++ Dominique Leuenberger 2018-05-07 12:52:02 +00:00
  • 29e86add7c - Add mpfr-4.0.1-cummulative-patch.patch. Fixes * A subtraction of two numbers of the same sign or addition of two numbers of different signs can be rounded incorrectly (and the ternary value can be incorrect) when one of the two inputs is reused as the output (destination) and all these MPFR numbers have exactly GMP_NUMB_BITS bits of precision (typically, 32 bits on 32-bit machines, 64 bits on 64-bit machines). * The mpfr_fma and mpfr_fms functions can behave incorrectly in case of internal overflow or underflow. * The result of the mpfr_sqr function can be rounded incorrectly in a rare case near underflow when the destination has exactly GMP_NUMB_BITS bits of precision (typically, 32 bits on 32-bit machines, 64 bits on 64-bit machines) and the input has at most GMP_NUMB_BITS bits of precision. * The behavior and documentation of the mpfr_get_str function are inconsistent concerning the minimum precision (this is related to the change of the minimum precision from 2 to 1 in MPFR 4.0.0). The get_str patch fixes this issue in the following way: the value 1 can now be provided for n (4th argument of mpfr_get_str); if n = 0, then the number of significant digits in the output string can now be 1, as already implied by the documentation (but the code was increasing it to 2). * The mpfr_cmp_q function can behave incorrectly when the rational (mpq_t) number has a null denominator. * The mpfr_inp_str and mpfr_out_str functions might behave incorrectly when the stream is a null pointer: the stream is replaced by stdin and stdout, respectively. This behavior is useless, not documented (thus incorrect in case a null pointer would have a special meaning), and not consistent with other input/output functions. Richard Biener 2018-05-02 09:02:53 +00:00
  • 9af66ecaec - Add mpfr-4.0.1-cummulative-patch.patch. Fixes * A subtraction of two numbers of the same sign or addition of two numbers of different signs can be rounded incorrectly (and the ternary value can be incorrect) when one of the two inputs is reused as the output (destination) and all these MPFR numbers have exactly GMP_NUMB_BITS bits of precision (typically, 32 bits on 32-bit machines, 64 bits on 64-bit machines). * The mpfr_fma and mpfr_fms functions can behave incorrectly in case of internal overflow or underflow. * The result of the mpfr_sqr function can be rounded incorrectly in a rare case near underflow when the destination has exactly GMP_NUMB_BITS bits of precision (typically, 32 bits on 32-bit machines, 64 bits on 64-bit machines) and the input has at most GMP_NUMB_BITS bits of precision. * The behavior and documentation of the mpfr_get_str function are inconsistent concerning the minimum precision (this is related to the change of the minimum precision from 2 to 1 in MPFR 4.0.0). The get_str patch fixes this issue in the following way: the value 1 can now be provided for n (4th argument of mpfr_get_str); if n = 0, then the number of significant digits in the output string can now be 1, as already implied by the documentation (but the code was increasing it to 2). * The mpfr_cmp_q function can behave incorrectly when the rational (mpq_t) number has a null denominator. * The mpfr_inp_str and mpfr_out_str functions might behave incorrectly when the stream is a null pointer: the stream is replaced by stdin and stdout, respectively. This behavior is useless, not documented (thus incorrect in case a null pointer would have a special meaning), and not consistent with other input/output functions. Richard Biener 2018-05-02 09:02:53 +00:00
  • a8b4d66a67 Accepting request 574113 from devel:libraries:c_c++ Dominique Leuenberger 2018-02-10 16:52:14 +00:00
  • c4e011e08b Accepting request 574113 from devel:libraries:c_c++ Dominique Leuenberger 2018-02-10 16:52:14 +00:00
  • 459183fddf Accepting request 573894 from home:AndreasStieger:branches:devel:libraries:c_c++ Dirk Mueller 2018-02-08 08:38:43 +00:00
  • 7bc4545abb Accepting request 573894 from home:AndreasStieger:branches:devel:libraries:c_c++ Dirk Mueller 2018-02-08 08:38:43 +00:00
  • 18969f6550 Accepting request 561121 from devel:libraries:c_c++ Dominique Leuenberger 2018-01-10 22:28:45 +00:00
  • 59e39fabdc Accepting request 561121 from devel:libraries:c_c++ Dominique Leuenberger 2018-01-10 22:28:45 +00:00
  • 0f7b204ad7 - Update to mpfr 4.0.0 * The "dinde aux marrons" release. * MPFR now depends on GMP 5.0+ instead of 4.1+. * API change: Applications that call GMP's mp_set_memory_functions function to change the allocators must first call the new function mpfr_mp_memory_cleanup in all threads where MPFR is potentially used; this new function is currently equivalent to mpfr_free_cache. The reason is that the way memory allocation is done by MPFR has changed (again), so that the current GMP allocators are used (since for some applications, the old allocators may become invalid). Note: Freeing the caches like this might have a performance impact on some particular applications; if this is an issue, this could be handled for a future MPFR version. * Mini-gmp support via the --enable-mini-gmp configure option (experimental). * The minimum precision MPFR_PREC_MIN is now 1, with rounding defined as in the errata of IEEE 754-2008 and in the following IEEE 754 revision (ties rounded away from zero). * Shared caches for multithreaded applications. New function mpfr_free_cache2. * Partial support of MPFR_RNDF (faithful rounding). * New functions: mpfr_fpif_export and mpfr_fpif_import to export and import numbers in a floating-point interchange format, independent both on the number of bits per word and on the endianness. * New function mpfr_fmodquo to return the low bits of the quotient corresponding to mpfr_fmod. * New functions mpfr_flags_clear, mpfr_flags_set, mpfr_flags_test, mpfr_flags_save and mpfr_flags_restore to operate on groups of flags. * New functions mpfr_set_float128 and mpfr_get_float128 to convert from/to the __float128 type (requires --enable-float128 and compiler support). Richard Biener 2018-01-02 12:43:08 +00:00
  • a8ab6c90e6 - Update to mpfr 4.0.0 * The "dinde aux marrons" release. * MPFR now depends on GMP 5.0+ instead of 4.1+. * API change: Applications that call GMP's mp_set_memory_functions function to change the allocators must first call the new function mpfr_mp_memory_cleanup in all threads where MPFR is potentially used; this new function is currently equivalent to mpfr_free_cache. The reason is that the way memory allocation is done by MPFR has changed (again), so that the current GMP allocators are used (since for some applications, the old allocators may become invalid). Note: Freeing the caches like this might have a performance impact on some particular applications; if this is an issue, this could be handled for a future MPFR version. * Mini-gmp support via the --enable-mini-gmp configure option (experimental). * The minimum precision MPFR_PREC_MIN is now 1, with rounding defined as in the errata of IEEE 754-2008 and in the following IEEE 754 revision (ties rounded away from zero). * Shared caches for multithreaded applications. New function mpfr_free_cache2. * Partial support of MPFR_RNDF (faithful rounding). * New functions: mpfr_fpif_export and mpfr_fpif_import to export and import numbers in a floating-point interchange format, independent both on the number of bits per word and on the endianness. * New function mpfr_fmodquo to return the low bits of the quotient corresponding to mpfr_fmod. * New functions mpfr_flags_clear, mpfr_flags_set, mpfr_flags_test, mpfr_flags_save and mpfr_flags_restore to operate on groups of flags. * New functions mpfr_set_float128 and mpfr_get_float128 to convert from/to the __float128 type (requires --enable-float128 and compiler support). Richard Biener 2018-01-02 12:43:08 +00:00
  • 1894fe4f61 Accepting request 523593 from devel:libraries:c_c++ Dominique Leuenberger 2017-09-20 15:04:52 +00:00
  • db48fce9f5 Accepting request 523593 from devel:libraries:c_c++ Dominique Leuenberger 2017-09-20 15:04:52 +00:00
  • 8c81ad16e0 - Update to mpfr 3.1.6 release * Includes mpfr-3.1.5-p9.patch Richard Biener 2017-09-12 08:11:00 +00:00
  • 075286a78e - Update to mpfr 3.1.6 release * Includes mpfr-3.1.5-p9.patch Richard Biener 2017-09-12 08:11:00 +00:00
  • e06c627441 Accepting request 512478 from devel:libraries:c_c++ Yuchen Lin 2017-08-08 09:56:22 +00:00
  • 58032806b1 Accepting request 512478 from devel:libraries:c_c++ Yuchen Lin 2017-08-08 09:56:22 +00:00
  • 2d2969333b - Add mpfr-3.1.5-p9.patch with cummulative patches to patchlevel p9, obsoletes mpfr-3.1.5-p8.patch. Richard Biener 2017-07-25 10:40:38 +00:00
  • 38a37ee5d9 - Add mpfr-3.1.5-p9.patch with cummulative patches to patchlevel p9, obsoletes mpfr-3.1.5-p8.patch. Richard Biener 2017-07-25 10:40:38 +00:00
  • 5b46ca60d6 Accepting request 501592 from devel:libraries:c_c++ Dominique Leuenberger 2017-06-12 13:11:24 +00:00
  • 64d7ebec1a Accepting request 501592 from devel:libraries:c_c++ Dominique Leuenberger 2017-06-12 13:11:24 +00:00
  • 8d9b00ed45 - Add mpfr-3.1.5-p8.patch with cummulative patches to patchlevel p8. Richard Biener 2017-06-07 08:19:23 +00:00
  • 99a73e8739 - Add mpfr-3.1.5-p8.patch with cummulative patches to patchlevel p8. Richard Biener 2017-06-07 08:19:23 +00:00
  • 132686f50b Accepting request 440205 from devel:libraries:c_c++ Dominique Leuenberger 2016-11-16 12:28:19 +00:00
  • 973b2549be Accepting request 440205 from devel:libraries:c_c++ Dominique Leuenberger 2016-11-16 12:28:19 +00:00
  • a4b44f3727 Accepting request 439927 from home:dimstar:Factory Richard Biener 2016-11-14 09:57:41 +00:00
  • dff667bc9e Accepting request 439927 from home:dimstar:Factory Richard Biener 2016-11-14 09:57:41 +00:00
  • c568659479 Accepting request 430694 from devel:libraries:c_c++ Dominique Leuenberger 2016-09-30 13:12:01 +00:00
  • f57177c011 Accepting request 430694 from devel:libraries:c_c++ Dominique Leuenberger 2016-09-30 13:12:01 +00:00
  • 15f9a9afc5 - Update to mpfr 3.1.5: Richard Biener 2016-09-28 07:34:57 +00:00
  • c9e130cc33 - Update to mpfr 3.1.5: Richard Biener 2016-09-28 07:34:57 +00:00
  • 16b48dd0cd - Update to mpfr 3.1.4: * C++11 compatibility. * Bug fixes (see <http://www.mpfr.org/mpfr-3.1.4/#fixed> and ChangeLog file). * More tests. Richard Biener 2016-09-27 12:53:03 +00:00
  • 89705a3bae - Update to mpfr 3.1.4: * C++11 compatibility. * Bug fixes (see <http://www.mpfr.org/mpfr-3.1.4/#fixed> and ChangeLog file). * More tests. Richard Biener 2016-09-27 12:53:03 +00:00
  • ddd35bd821 Accepting request 367311 from devel:libraries:c_c++ Dominique Leuenberger 2016-03-21 11:43:21 +00:00
  • 82c0cc836a Accepting request 367311 from devel:libraries:c_c++ Dominique Leuenberger 2016-03-21 11:43:21 +00:00