summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* MPFR 3.1.5 tag.3.1.5vlefevre2016-09-270-0/+0
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/tags/3.1.5@10893 280ebfd0-de03-0410-8827-d642c229c3f4
* ChangeLog update with "TZ=UTC svn log -rHEAD:0 -v" (in UTF-8 locales).vlefevre2016-09-271-0/+42
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10892 280ebfd0-de03-0410-8827-d642c229c3f4
* Updated version to 3.1.5.vlefevre2016-09-275-5/+5
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10891 280ebfd0-de03-0410-8827-d642c229c3f4
* [examples/version.c] A bit more output.vlefevre2016-09-231-2/+4
| | | | | | (merged changeset r10888 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10889 280ebfd0-de03-0410-8827-d642c229c3f4
* [examples/version.c] Update from the trunk (with svn merge onvlefevre2016-09-231-11/+139
| | | | | | changesets r8034,8036,8128,10885-10886). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10887 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tdiv.c] Improved code readability, fixing a small bugvlefevre2016-09-141-2/+4
| | | | | | | | (found by David Binderman using cppcheck) at the same time. This bug could only affect the error message if the test failed. (merged changesets r10871-10872 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10873 280ebfd0-de03-0410-8827-d642c229c3f4
* ChangeLog update with "TZ=UTC svn log -rHEAD:0 -v" (in UTF-8 locales).vlefevre2016-09-131-0/+239
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10868 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/mpfr.texi] Updated the month.vlefevre2016-09-131-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10867 280ebfd0-de03-0410-8827-d642c229c3f4
* Updated version to 3.1.5-rc1 and updated libmpfr_la_LDFLAGS invlefevre2016-09-136-6/+6
| | | | | | src/Makefile.am for the next release. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10866 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/get_ld.c] Re-added a blank line that disappeared in a merge.vlefevre2016-09-121-0/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10857 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/get_ld.c] Removed a "see below", which refers to a comment thatvlefevre2016-09-121-1/+1
| | | | | | is in the trunk but not in this branch. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10856 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tset_ld.c] In bug_20160907, fixed the method to get the smallestvlefevre2016-09-121-11/+14
| | | | | | | subnormal (now, OK with gcc -mpc64 or under NetBSD 6-). (merged changesets r10835-10839 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10855 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tabs.c] Removed mpfr_test_init (not needed here).vlefevre2016-09-121-1/+0
| | | | | | (merged changeset r10822 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10854 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tset_ld.c] Move tests_start_mpfr and mpfr_test_init earlier.vlefevre2016-09-121-3/+3
| | | | | | (merged changesets r8688,10821 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10853 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tset_ld.c] Corrected a type (due to a printf with %ld) and fixedvlefevre2016-09-121-5/+7
| | | | | | | a loop in case an extended range is used. (merged changesets r10818-10819 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10852 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/get_ld.c] Fixed bug for little-endian x86 extended precision.vlefevre2016-09-082-2/+59
| | | | | | | [tests/tset_ld.c] Added test case. (merged changesets r10807-10809,10811-10812 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10815 280ebfd0-de03-0410-8827-d642c229c3f4
* [NEWS] Update for GNU MPFR 3.1.5.vlefevre2016-09-081-0/+5
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10814 280ebfd0-de03-0410-8827-d642c229c3f4
* Fixed various bugs in mpfr_can_round_raw, which affected mpfr_can_round:vlefevre2016-09-055-62/+393
| | | | | | | | | | | | | | there could still be false positives (i.e. mpfr_can_round could say that rounding was possible while correct rounding was not guaranteed), and also false negatives, some of which could yield infinite Ziv loops in user code in practice. Added tests triggering these bugs, in particular a comprehensive test against a naive implementation. (merged changesets r10679-10686,10717-10718,10743,10746-10748,10752,10754,10756 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10792 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tzeta.c] Updated test_generic invocation based on the trunkvlefevre2016-09-051-1/+4
| | | | | | | in order to reduce the test time (increased since r9849). (merged changesets r9955,10667,10672,10790 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10791 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tmul.c] Added underflow test from the trunk (merged changesetsvlefevre2016-08-221-0/+105
| | | | | | from r10601 to r10716 for tmul.c only). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10742 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tsi_op.c] Fixed a macro. There were no consequences exceptvlefevre2016-08-041-7/+9
| | | | | | | spurious null statements. (merged changeset r10724 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10728 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tset_{si,sj}.c] Fixed macros. There were no consequences exceptvlefevre2016-08-042-2/+2
| | | | | | | spurious null statements. (merged changeset r10721 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10722 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests] C++ compatibility: avoid errors with "g++ -std=c++11" or later.vlefevre2016-08-044-11/+11
| | | | | | | | | | Note that as of GCC 6, "the default mode for C++ is now -std=gnu++14 instead of -std=gnu++98" <https://gcc.gnu.org/gcc-6/changes.html>. So, this fixes the failures in the build of the MPFR tests with g++ from GCC 6 without particular options. (merged changeset r10719 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10720 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tsub.c] Added comments for check_max_almosteven.vlefevre2016-05-301-0/+23
| | | | | | (merged changeset r10386 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10387 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/sub1.c] Fixed bug in mpfr_sub1 (real subtraction b - c, |b| > |c|):vlefevre2016-05-292-5/+139
| | | | | | | | | | | | | In MPFR_RNDN (rounding to nearest), when |b| is the midpoint between the maximum number and 2^emax (the maximum number + 1 ulp) and c is small, the obtained result is an infinity (with overflow) instead of ± the maximum number (no overflow). The cause is that an overflow is generated too early (in the rounding code). [tests/tsub.c] Added test cases. (merged changeset r10383 from the trunk, with conflict resolved in src/sub1.c and mpfr_flags_t replaced by unsigned int) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10384 280ebfd0-de03-0410-8827-d642c229c3f4
* For mpfr_add_ui and mpfr_sub_ui, make sure that all the expected flagsvlefevre2016-05-224-0/+6
| | | | | | | | | are set (in practice, only NaN was affected). Added testcases from the trunk (merged r10298 and r10303). Note: the trunk was fixed with a partial rewrite for some optimization and to improve consistency, but here, the changes are kept minimal. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10304 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mpfr-impl.h] Removed the detection of possible inconsistenciesvlefevre2016-04-131-13/+0
| | | | | | | | | | | | | under Unix because the tests could yield spurious errors with Cygwin32 or other similar implementations. Moreover, such tests were used for debugging purpose or to detect potential problems in the environment, thus were not really useful for the end user. They were initially added in the win-thread-safe-dll branch (r9682, following a problem found in r9680). One alternative for checking by the MPFR developers would be to output the status of some internal macros in tversion. (merged changeset r10260 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10264 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mpfr-impl.h] Fixed and improved some sign-related macrosvlefevre2016-03-151-18/+22
| | | | | | | | | (some parentheses were missing). Note: the code in the 3.1 branch was not affected by these missing parentheses; however this could break later patches or ports of new functions using MPFR internals. (merged changeset r9295 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10234 280ebfd0-de03-0410-8827-d642c229c3f4
* Updated version to 3.1.5-dev.vlefevre2016-03-066-12/+12
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10204 280ebfd0-de03-0410-8827-d642c229c3f4
* ChangeLog update with "TZ=UTC svn log -rHEAD:0 -v" (in UTF-8 locales).vlefevre2016-03-061-0/+123
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10201 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/mpfr.texi] Updated the month.vlefevre2016-03-061-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10200 280ebfd0-de03-0410-8827-d642c229c3f4
* Updated version to 3.1.4.vlefevre2016-03-065-5/+5
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10199 280ebfd0-de03-0410-8827-d642c229c3f4
* [INSTALL] Some improvement about MinGW and __USE_MINGW_ANSI_STDIO.vlefevre2016-03-041-3/+6
| | | | | | (merged changeset r10196 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10197 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tversion.c] Improved output of compiler information.vlefevre2016-03-021-3/+24
| | | | | | (merge changesets r9695-9696,10170,10181-10182 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10184 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/get_flt.c] FIXME: The code assumes the IEEE-754 binary32 formatvlefevre2016-03-021-0/+3
| | | | | | | with subnormal support. (merged changeset r10175 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10176 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tget_flt.c] Do tests that may involve subnormals onlyvlefevre2016-03-021-0/+2
| | | | | | | if HAVE_DENORMS is defined. (merged changeset r10173 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10174 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tget_flt.c] Use DOUBLE_ISNAN() instead of f == f.vlefevre2016-03-011-1/+2
| | | | | | (merge changesets r10160,10163 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10167 280ebfd0-de03-0410-8827-d642c229c3f4
* [INSTALL] Updated "Notes on AIX/PowerPC".vlefevre2016-03-011-6/+4
| | | | | | (merged changeset r10161 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10166 280ebfd0-de03-0410-8827-d642c229c3f4
* reverted commit 10144 (wrongly applied to branch 3.1 instead of trunk)zimmerma2016-02-292-103/+11
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10149 280ebfd0-de03-0410-8827-d642c229c3f4
* [tools/mpfrlint] ASSERT and ASSERT_ALWAYS must not be used forvlefevre2016-02-291-0/+5
| | | | | | | assertion checking. (merge changesets r8123,8589,10147 from the trunk, only for mpfrlint) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10148 280ebfd0-de03-0410-8827-d642c229c3f4
* Replaced the remaining ASSERT_ALWAYS by MPFR_ASSERTN.vlefevre2016-02-293-15/+15
| | | | | | (merged changeset r10145 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10146 280ebfd0-de03-0410-8827-d642c229c3f4
* native detection of ieee_double_extract (work in progress),zimmerma2016-02-292-11/+103
| | | | | | | | this will allow to have decimal-float support without gmp-build (and also faster set_d/get_d) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10144 280ebfd0-de03-0410-8827-d642c229c3f4
* fixed assert macroszimmerma2016-02-291-18/+18
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10143 280ebfd0-de03-0410-8827-d642c229c3f4
* fixed typozimmerma2016-02-291-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10142 280ebfd0-de03-0410-8827-d642c229c3f4
* ChangeLog update with "TZ=UTC svn log -rHEAD:0 -v" (in UTF-8 locales).vlefevre2016-02-291-0/+122
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10139 280ebfd0-de03-0410-8827-d642c229c3f4
* [NEWS] Added "MinGW (MS Windows): Added support for thread-safe DLLvlefevre2016-02-291-0/+1
| | | | | | (shared library)." (fix in r10119,10130). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10138 280ebfd0-de03-0410-8827-d642c229c3f4
* [INSTALL] Removed an obsolete sentence about MinGW and shared buildsvlefevre2016-02-291-3/+0
| | | | | | with TLS (the failures in the test suite were avoided in r10119,10130). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10136 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tversion.c]vlefevre2016-02-291-0/+51
| | | | | | | | | | * Output support status of modifiers in gmp_printf (a bit like r10123 and r10124 in the trunk, except that macros PRINTF_T and PRINTF_L do not exist and their absence means here "yes"). * Output availability of intmax_t/uintmax_t based functions and *printf functions (merged changeset r10127 from the trunk). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10133 280ebfd0-de03-0410-8827-d642c229c3f4
* [acinclude.m4] Replaced a "main()" (from the merge of r8245) byvlefevre2016-02-261-1/+1
| | | | | | | | | "main (void)" (the other similar changes were done in r9418 for the 3.1 branch and r8728 in the trunk, which is why r8245 did not have this change). Useful to configure & build with -Werror (this needs a patched autoconf). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10131 280ebfd0-de03-0410-8827-d642c229c3f4
* Better threading support:vlefevre2016-02-2610-35/+174
| | | | | | | | | | * Support for _Thread_local (C11). * Support build as thread-safe DLL on Windows (mainly changes from Stephan Tolksdorf). (merged changesets r7954,8245,9684,9778 from the trunk, with mpfr_flags_t replaced by unsigned int) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10130 280ebfd0-de03-0410-8827-d642c229c3f4