summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* GNU MPFR 4.1.0 tag.4.1.0vlefevre2020-07-100-0/+0
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/tags/4.1.0@14067 280ebfd0-de03-0410-8827-d642c229c3f4
* ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC0 svn log -rHEAD:0 -v".vlefevre2020-07-101-0/+36
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.1@14066 280ebfd0-de03-0410-8827-d642c229c3f4
* Updated version to 4.1.0.vlefevre2020-07-105-5/+5
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.1@14065 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/mpfr.texi] Updated the month.vlefevre2020-07-101-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.1@14064 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/jyn_asympt.c] Partly solved the slowness of jn(733333,733333).vlefevre2020-07-103-16/+60
| | | | | | | | | | [tests/tjn.c] Added tests of jn(73333,73333) and jn(733333,733333), enabled only with MPFR_CHECK_EXPENSIVE. [doc/README.dev] In the MPFR_CHECK_EXPENSIVE description, say that --enable-assert=full should not be used (too expensive, not needed). (merged changesets r14053-14062 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.1@14063 280ebfd0-de03-0410-8827-d642c229c3f4
* ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC0 svn log -rHEAD:0 -v".vlefevre2020-07-011-0/+183
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.1@14050 280ebfd0-de03-0410-8827-d642c229c3f4
* Updated version to 4.1.0-rc2.vlefevre2020-07-015-5/+5
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.1@14049 280ebfd0-de03-0410-8827-d642c229c3f4
* [NEWS] Added an item saying that TLS can safely be (re-)enabledvlefevre2020-07-011-0/+5
| | | | | | | on Sparc. (merged changeset r14047 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.1@14048 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/mpfr-test.h] Avoid a GCC bug on Sparc, at least when using TLS.vlefevre2020-06-291-0/+46
| | | | | | | | | | | The MPFR library itself is not affected, only a particular test. Normal code using the MPFR library should not be affected either, as the bug occurs when accessing __gmpfr_flags directly (and the public mpfr.h header file does not provide any macro that accesses an internal variable directly). So a workaround for the tests is the best solution. (merged changeset r14045 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.1@14046 280ebfd0-de03-0410-8827-d642c229c3f4
* Updated version to 4.1.0-dev (due to changes since 4.1.0-rc1).vlefevre2020-06-185-5/+5
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.1@14043 280ebfd0-de03-0410-8827-d642c229c3f4
* Merged r14021-14036 from the trunk:vlefevre2020-06-1811-127/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r14021: [tests] Skip tabort_defalloc1 and tabort_defalloc2 under Valgrind, as Valgrind complains due to the large allocation size. * mpfr-test.h, tests.c: added tests_run_within_valgrind() function to guess whether the test runs within Valgrind. * tabort_defalloc1.c, tabort_defalloc2.c: skip the test (exit code 77) if this function returns true. r14022-14023: [tests/tset_ld.c] In bug_20160907 (tests on subnormals, specific to x86 extended precision): * Replaced an assertion by a test with detailed output. * In case of incorrect result, detect whether Valgrind is used and one gets the result obtained with Valgrind due to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890215 https://bugs.kde.org/show_bug.cgi?id=421262 (long double behaves as double); in this case, output a message without an error since Valgrind is the only cause of the miscalculation. * Corrected a value in a test, which did not match the comment. r14024-14027: [src/digamma.c] * Replaced some MPFR_EXP / mpfr_get_exp by MPFR_GET_EXP to check that the MPFR number has an exponent (i.e. it is not a special value). * Added an integer overflow check on a precision. * Fixed a bug: an exponent was read while the value could be zero. r14028: [tests/tdigamma.c] Increase the number of tests. r14029,14031: [doc/mpfr.texi] Specify the range of b for mpfr_get_str_ndigits. r14030: [src/get_str.c] Since the mpfr_get_str_ndigits function is in the public API, use MPFR_ASSERTN instead of MPFR_ASSERTD on the condition on the argument b in order to get an assertion failure (by default) if this condition is not satisfied. r14032,14035-14036: [src/mpfr-longlong.h] Applied patch on https://gmplib.org/list-archives/gmp-bugs/2020-June/004807.html to fix add_ssaaaa and sub_ddmmss on arm / aarch64, in order to resolve https://sympa.inria.fr/sympa/arc/mpfr/2020-06/msg00017.html https://sympa.inria.fr/sympa/arc/mpfr/2020-06/msg00059.html r14034: [tests/tcmp_ui.c] Added a comment about a failing test with tcc if one adds tcc support for macros using __builtin_constant_p in mpfr.h by testing __TINYC__. Bug report against tcc: https://savannah.nongnu.org/bugs/?58606 git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.1@14042 280ebfd0-de03-0410-8827-d642c229c3f4
* [configure.ac] No longer add -Wc++-compat to CFLAGS when the compilervlefevre2020-06-131-1/+3
| | | | | | | | | is GCC not in C++ mode (reverting the change done in r13406) since this option is not available before GCC 4.1: https://sympa.inria.fr/sympa/arc/mpfr/2020-06/msg00008.html (merged changeset r14018 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.1@14019 280ebfd0-de03-0410-8827-d642c229c3f4
* Merged the latest changes from the trunk:vlefevre2020-06-132-2/+3
| | | | | | | | | | r14012: [tests/tfpif.c] Updated comment about the bug detected on AIX. r14015: [doc/mpfr.texi] ACM TOMS article: use the preferred DOI URL. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.1@14016 280ebfd0-de03-0410-8827-d642c229c3f4
* Merged the latest changes from the trunk:vlefevre2020-06-132-6/+15
| | | | | | | | | | | r14008,14010: [tools/announce-text] For release candidates, automatically adapt the flow of the text. r14009: [NEWS] Updated mpfr.org URLs (http → https). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.1@14011 280ebfd0-de03-0410-8827-d642c229c3f4
* Merged the latest changes from the trunk:vlefevre2020-06-123-2/+37
| | | | | | | | | | | | | | | | | | | | r14003: [tests/tfpif.c] Fixed a bug (in the test) detected on AIX[*], where an fclose failed due to a previous read failure. At the same time, check that a read failure no longer occurs. Note: the read failure made mpfr_fpif_import fail, but this is a test where it is expected to fail, i.e. we now check that it fails for a good reason. [*] gcc119.fsffrance.org on the GCC Compile farm. r14004: [tests/tests.c] Removed a useless "#include <errno.h>" (added in r5252, useless since r5253). r14005: [README] Added URL of the official GNU MPFR website and a note about the future migration, since InriaForge will shut down in December 2020. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.1@14006 280ebfd0-de03-0410-8827-d642c229c3f4
* ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC0 svn log -rHEAD:0 -v".vlefevre2020-06-121-0/+55
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.1@14002 280ebfd0-de03-0410-8827-d642c229c3f4
* Updated version to 4.1.0-rc1.vlefevre2020-06-125-5/+5
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.1@14001 280ebfd0-de03-0410-8827-d642c229c3f4
* [tools/update-version] Improved a message.vlefevre2020-06-121-1/+1
| | | | | | (merged changeset r13999 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.1@14000 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mpfr-longlong.h] Corrected a comment from GMP's longlong.h, whichvlefevre2020-06-121-1/+1
| | | | | | | makes codespell complain in particular. (merged changeset r13997 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.1@13998 280ebfd0-de03-0410-8827-d642c229c3f4
* [tools/mpfrlint] Improved the __GMP_DECLSPEC test:vlefevre2020-06-121-2/+4
| | | | | | | | * No longer exclude "src/mpfr.h". * Avoid false positives in "src/mpfr.h" and "src/mpfr-longlong.h". (merged changeset r13995 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.1@13996 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/mpfr.texi] Updated the month.vlefevre2020-06-121-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.1@13994 280ebfd0-de03-0410-8827-d642c229c3f4
* Created branch 4.1.vlefevre2020-06-120-0/+0
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.1@13991 280ebfd0-de03-0410-8827-d642c229c3f4
* ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC0 svn log -rHEAD:0 -v".vlefevre2020-06-121-0/+2044
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13990 280ebfd0-de03-0410-8827-d642c229c3f4
* Renamed mpfr_total_order to mpfr_total_order_p for consistency with thevlefevre2020-06-115-19/+19
| | | | | | other predicates (by convention, the function name should end with _p). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13989 280ebfd0-de03-0410-8827-d642c229c3f4
* [NEWS] New function mpfr_total_order. Detailed mpfr_get_str_ndigits.vlefevre2020-06-111-1/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13987 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/README.dev] Updated "To make a release".vlefevre2020-06-111-5/+7
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13986 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/README.dev] Updated "To make a release".vlefevre2020-06-111-12/+20
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13980 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/Makefile.am] Updated -version-info to 7:0:1 for MPFR 4.1.0.vlefevre2020-06-111-1/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13979 280ebfd0-de03-0410-8827-d642c229c3f4
* [NEWS] Additional details, in particular binary compatibility.vlefevre2020-06-111-1/+5
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13978 280ebfd0-de03-0410-8827-d642c229c3f4
* [NEWS] Some improvements.vlefevre2020-06-111-2/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13977 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/mini-gmp] one more test is skipped nowzimmerma2020-06-111-3/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13976 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/mini-gmp] add test results with reduced limb size (int)zimmerma2020-06-111-0/+13
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13975 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/README.dev] Updated "To make a release".vlefevre2020-06-111-0/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13974 280ebfd0-de03-0410-8827-d642c229c3f4
* [NEWS] Added release name for 4.1.0: "épinards à la crème".vlefevre2020-06-101-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13973 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/mini-gmp] English usage improvement.vlefevre2020-06-101-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13971 280ebfd0-de03-0410-8827-d642c229c3f4
* Fixed 2 issues with tests/tvalist.c:vlefevre2020-06-102-23/+10
| | | | | | | | | | | | | | | | | | | 1. When building with mini-gmp (--with-mini-gmp=DIR) without optimizations (-O0), the build of tvalist was failing because the formatted output functions are not supported (this issue wasn't noticed with optimizations due to dead code elimination). Fix: this test is disabled with mini-gmp (not needed anyway). 2. Dead code elimination with optimizations partly broke the goal of this test, i.e. checking that mpfr_vfprintf was available. This dead code was introduced in r7648 "Make sure that fct is used (avoid a warning)." (where fct = mpfr_vfprintf) but was actually not sufficient. Fix: call mpfr_vfprintf unconditionally, but on an empty string in order to avoid output to stdout. In addition to these changes in tests/tvalist.c, src/mpfr-impl.h could be simplified as a consequence. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13970 280ebfd0-de03-0410-8827-d642c229c3f4
* Removed '# undef HAVE_STDARG' before '# include "config.h"' when itvlefevre2020-06-104-4/+0
| | | | | | | | | was used, as it was not always undefined (e.g. in tests/tsprintf.c) and there are no reasons to undefine this macro specifically. Note: this code was introduced in r2665 (2004-02-06), perhaps for the MPFR build inside GMP, which has been dropped a long time ago. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13969 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tvalist.c] Updated a comment.vlefevre2020-06-101-2/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13968 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tvalist.c] Correction when config.h is used (code copied fromvlefevre2020-06-101-0/+5
| | | | | | src/inits.c). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13967 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/mini-gmp] reviewzimmerma2020-06-101-1/+9
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13966 280ebfd0-de03-0410-8827-d642c229c3f4
* [NEWS] Typo in option name.vlefevre2020-06-101-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13964 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mpfr-longlong.h]vlefevre2020-06-101-2/+12
| | | | | | | | | * Updated comment about this file and the changes against GMP 6.2.0. * Define __GMP_GNUC_PREREQ if it isn't defined (this is currently not needed since it is defined in gmp.h as used also there, but this is useful in case some future gmp.h version no longer defines it). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13963 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mpfr-longlong.h] Update: applied the diff of GMP's longlong.hvlefevre2020-06-101-121/+185
| | | | | | | between GMP 6.1.0 and GMP 6.2.0, after reverting changesets 13251, 11042, 11025, and 10727, as these changes are present in the diff. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13962 280ebfd0-de03-0410-8827-d642c229c3f4
* [configure.ac] With mini-gmp, also check the availability of srand48.vlefevre2020-06-101-3/+5
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13961 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mpfr-mini-gmp.c] For gmp_randseed_ui, which uses srand48, usevlefevre2020-06-101-1/+3
| | | | | | a portable version of the conversion from unsigned long to long. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13960 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/mini-gmp] Note also that the random functions are not thread-safe.vlefevre2020-06-101-1/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13959 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/mini-gmp] Major update.vlefevre2020-06-101-19/+18
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13958 280ebfd0-de03-0410-8827-d642c229c3f4
* [NEWS] Removed a FIXME (no problems found).vlefevre2020-06-101-1/+0
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13957 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tversion.c] Code style: replaced (mp_limb_t) -1 by MPFR_LIMB_MAX.vlefevre2020-06-091-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13955 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mul_ui.c] Bug fix: in the code where MPFR_LONG_WITHIN_LIMB isvlefevre2020-06-091-0/+1
| | | | | | not defined, update the flags (needed for the possible overflow). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13954 280ebfd0-de03-0410-8827-d642c229c3f4