summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [tests] Got rid of the use of mpfr_print_binary, in general withvlefevre2017-09-1429-206/+185
| | | | | | | | mpfr_dump. Replaced some "mpfr_out_str (stdout, 2, ...)" by mpfr_dump for consistency or as improvements. Some other corrections in the related error messages. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11750 280ebfd0-de03-0410-8827-d642c229c3f4
* added info about autoconf-archivezimmerma2017-09-141-1/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11749 280ebfd0-de03-0410-8827-d642c229c3f4
* Old, deprecated macros mpfr_add_one_ulp and mpfr_sub_one_ulp removed.vlefevre2017-09-143-4/+6
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11748 280ebfd0-de03-0410-8827-d642c229c3f4
* [tools/mpfrlint] Do the tests_start_mpfr / tests_end_mpfr check only ifvlefevre2017-09-131-4/+6
| | | | | | | the .c file has a main() function; this avoids an error on trootn_ui.c, which just does a #include. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11747 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/troot.c]vlefevre2017-09-131-10/+19
| | | | | | | | * Use mpfr_set_zero instead of mpfr_set_ui / mpfr_neg (like what was done for the infinity, using mpfr_set_inf). * For exact cases (NaN, ±Inf, ±0), check that the ternary value is 0. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11746 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/troot.c] For the root(±0,k) tests, before calling the function,vlefevre2017-09-131-3/+18
| | | | | | | we set the target y to NaN with the wrong sign, so that if the code of the function forgets to do something, this will be detected. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11745 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/troot.c] Also check root(+0,42) and root(-0,17) for completeness.vlefevre2017-09-131-1/+13
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11744 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/troot.c] Really check the sign of the result 0 (the old testvlefevre2017-09-131-4/+9
| | | | | | was always false, thus useless!). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11743 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/mpfr.texi] Updated the month.vlefevre2017-09-131-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11742 280ebfd0-de03-0410-8827-d642c229c3f4
* New mpfr_rootn_ui function; mpfr_root deprecated.vlefevre2017-09-138-79/+166
| | | | | | | | | | | | | | | * src/root.c: mpfr_rootn_ui is now the main code, and mpfr_root calls mpfr_rootn_ui. * src/mpfr.h: added mpfr_rootn_ui prototype; marked mpfr_root as deprecated. * Added tests/trootn_ui.c (includes troot.c). * tests/troot.c: made it usable (via #include) by the new trootn_ui.c test. * tests/Makefile.am: added trootn_ui; at the same time, corrected the order of the test programs (lexicographic, with exceptions). * NEWS, TODO, doc/mpfr.texi: update. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11741 280ebfd0-de03-0410-8827-d642c229c3f4
* Removed the text/x-csrc svn:mime-type property present on 2 files.vlefevre2017-09-130-0/+0
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11740 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests] Avoid duplicate code by defining the MAKE_STR() macro invlefevre2017-09-133-6/+3
| | | | | | mpfr-test.h only instead of tgeneric.c and tversion.c. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11739 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/README.dev] "To make a release": Updated the warning, as the issuevlefevre2017-09-081-2/+2
| | | | | | concerns the .ps file only (the .dvi file has no papersize info). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11734 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/README.dev] "To make a release": Added a warning to check thevlefevre2017-09-081-1/+3
| | | | | | | papersize of the generated dvi and ps files, which may be incorrect (bug in texinfo(?) reported as Debian bug 874632). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11733 280ebfd0-de03-0410-8827-d642c229c3f4
* Switched other gmplib.org URL's to https.vlefevre2017-09-083-3/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11729 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/mpfr.texi] Updated URL:vlefevre2017-09-081-1/+1
| | | | | | http://gmplib.org → https://gmplib.org/ git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11728 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/mpfr.texi] Updated URL:vlefevre2017-09-081-1/+1
| | | | | | ftp://ftp.gnu.org/gnu/mpfr/ → https://ftp.gnu.org/gnu/mpfr/ git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11727 280ebfd0-de03-0410-8827-d642c229c3f4
* [tools/announce-text] Switched to https for ftp.gnu.org.vlefevre2017-09-081-2/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11726 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/README.dev] "To make a release": update about the uploads.vlefevre2017-09-071-1/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11724 280ebfd0-de03-0410-8827-d642c229c3f4
* [NEWS] Completed item on thread-safe DLL (shared library) support.vlefevre2017-09-061-1/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11715 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mpfr-impl.h] Completed the fix in r11713.vlefevre2017-09-061-3/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11714 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mpfr-impl.h] Fixed thread-safe DLL support with ICC and MSVCvlefevre2017-09-061-3/+3
| | | | | | | | on MS Windows without the GMP build directory (r11712 contained inconsistent function names, yielding "unresolved external symbol" errors in tabort_defalloc1.obj), second try. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11713 280ebfd0-de03-0410-8827-d642c229c3f4
* [src] Attempt to fix thread-safe DLL support with ICC and MSVC onvlefevre2017-09-063-6/+24
| | | | | | | | | | | MS Windows without the GMP build directory. See: https://sympa.inria.fr/sympa/arc/mpfr/2017-09/msg00009.html https://sympa.inria.fr/sympa/arc/mpfr/2017-09/msg00014.html i.e. for the mpfr_allocate_func, mpfr_reallocate_func & mpfr_free_func external TLS variables, one does the same thing as what had been done for the other ones (__gmpfr_flags, __gmpfr_emin, __gmpfr_emax, etc.). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11712 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests] Added tget_q to svn:ignore property.vlefevre2017-09-060-0/+0
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11711 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tsprintf.c] With MPFR_CHECK_LIBC_PRINTF, disable the test ofvlefevre2017-09-051-2/+6
| | | | | | | the "'" flag with a non-glibc C library (SUS extension in printf). In particular, it is not supported by AIX 7.2. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11706 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mpfr-impl.h] In case decimal_point and/or thousands_sep arevlefevre2017-09-051-3/+16
| | | | | | | | non-single-byte characters (as found on FreeBSD 11 in fr_FR.UTF-8), revert to the default value. Added a FIXME to support multibyte decimal_point and thousands_sep. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11705 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tsprintf.c] Formatting.vlefevre2017-09-051-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11704 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/README.dev] Added a paragraph about temporary result files createdvlefevre2017-09-051-0/+6
| | | | | | by test programs. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11702 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/Makefile.am] Added tfpif_rw.dat to CLEANFILES.vlefevre2017-09-051-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11701 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests] Renamed mpfrtest.txt, mpfrtest.dat and mpfrtest2.dat tovlefevre2017-09-054-5/+5
| | | | | | tfpif_rw.dat, tfpif_r1.dat and tfpif_r2.dat respectively. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11700 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests]vlefevre2017-09-052-7/+3
| | | | | | | | | | | | * toutimpl.c: Changed the filename of the result file like what has been done in other test programs, to make sure that it will not be reused by mistake. Removed comments about tmpname (which does not exist). * Makefile.am: Added this filename to CLEANFILES (even though the file is removed by the test program, an error could occur before its actual removal). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11699 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests]vlefevre2017-09-054-3/+5
| | | | | | | | | | | | | | * tfprintf.c, tout_str.c, tprintf.c: Do not use the same filename for result files created in these test programs, as this breaks parallel tests (note that such files are used only if /dev/null does not work, so that Unix-like systems were not affected). This should fix the bug reported in https://sympa.inria.fr/sympa/arc/mpfr/2017-09/msg00000.html as said in https://sympa.inria.fr/sympa/arc/mpfr/2017-09/msg00005.html * Makefile.am: added a CLEANFILES line with these files. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11698 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/turandom.c] Added test_underflow().vlefevre2017-09-011-0/+35
| | | | | | (merged changesets r11691-11694 from the 3.1 branch) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11695 280ebfd0-de03-0410-8827-d642c229c3f4
* updatezimmerma2017-08-291-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11690 280ebfd0-de03-0410-8827-d642c229c3f4
* updated for mpfr-3.1.6-rc1zimmerma2017-08-291-37/+49
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11688 280ebfd0-de03-0410-8827-d642c229c3f4
* [tools/mpfrlint] Run tools/ck-version-info.vlefevre2017-08-281-0/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11679 280ebfd0-de03-0410-8827-d642c229c3f4
* [tools/mpfrlint] Updated a message due to the change in r11673.vlefevre2017-08-281-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11678 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/README.dev] "To make a release": The DLL version may need to bevlefevre2017-08-281-3/+4
| | | | | | updated too. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11677 280ebfd0-de03-0410-8827-d642c229c3f4
* [configure.ac] Added a comment about the DLL version.vlefevre2017-08-281-0/+4
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11676 280ebfd0-de03-0410-8827-d642c229c3f4
* [configure.ac] Updated DLL version to 6 (cur - age).vlefevre2017-08-281-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11675 280ebfd0-de03-0410-8827-d642c229c3f4
* [tools/{ck-copyright-notice,ck-inits-clears}] Ignore Emacs lock filesvlefevre2017-08-282-2/+2
| | | | | | (symbolic links) to avoid a failure when a file is being edited. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11674 280ebfd0-de03-0410-8827-d642c229c3f4
* [tools] Clean up.vlefevre2017-08-282-3/+1
| | | | | | | | | * Renamed check_inits_clears to ck-inits-clears (the other "check" scripts have a name starting with "ck-"). * mpfrlint: updated the invocation of this test, simplifying it to make it similar to the other ones (it was based on old code). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11673 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/turandom.c] Disabled the reprod_abi test with GMP < 4.2.0vlefevre2017-08-271-0/+2
| | | | | | since the hardcoded values would be different. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11669 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mpfr-impl.h] Replacedvlefevre2017-08-251-1/+13
| | | | | | | | | | (MPFR_LIKELY(expr)) || (ASSERT_FAIL(expr),0) by (MPFR_LIKELY(expr)) || (ASSERT_FAIL(expr),MPFR_ASSUME(expr),0) as a workaround to the fact that mpfr_assert_fail is not marked as "no return" (bug 21415). Thus, after this code, expr must be true. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11664 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/turandom.c] Check that the behavior does not depend on thevlefevre2017-08-251-0/+87
| | | | | | platform ABI or MPFR version. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11663 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/turandom.c] Corrected error messages after r11661.vlefevre2017-08-251-2/+2
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11662 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/turandom.c] Renamed "reprod" to "reprod_rnd_exp" (reproducibilityvlefevre2017-08-251-2/+3
| | | | | | | test with several rounding modes and exponent ranges), because a second reproducibility test will be added. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11661 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/turandom.c]vlefevre2017-08-251-51/+82
| | | | | | | | | | | * In underflow_tests, test the flags in all cases (not just when the returned result is 0), possibly by first computing the result in a large exponent range. * Since the flags are now well tested in underflow_tests, no longer test them in the second test of test_urandom for k = 0, which was the incorrect test that was failing (see r11659). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11660 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/turandom.c] Do some test several times in order to triggervlefevre2017-08-251-26/+29
| | | | | | | | | | a "mpfr_urandom() returns incorrect flags for emin = 1" failure when GMP_CHECK_RANDOMIZE is not set (default). Note: It is this test that is actually wrong (it corresponds to the old behavior, currently found in the 3.1 branch, and was not updated after the mpfr_urandom code was fixed). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11659 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/turandom.c] Code formatting. Added an assertion.vlefevre2017-08-251-3/+7
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11658 280ebfd0-de03-0410-8827-d642c229c3f4