summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* [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
* changed according to suggestion from Eli Zaretskiizimmerma2016-02-261-3/+3
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10129 280ebfd0-de03-0410-8827-d642c229c3f4
* [INSTALL] Various updates for use with Windows applications.vlefevre2016-02-251-113/+24
| | | | | | (merged changesets r9750-9751,9756-9757,9762-9767 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10120 280ebfd0-de03-0410-8827-d642c229c3f4
* In the tests, use tests_allocate and tests_free instead ofvlefevre2016-02-247-25/+27
| | | | | | | | | | | (*__gmp_allocate_func) / malloc and (*__gmp_free_func) / free. Note: This follows the discussion at https://sympa.inria.fr/sympa/arc/mpfr/2015-12/msg00055.html and should solve these problems under MS Windows (mingw32). (merged changesets r9891,10118 from the trunk, resolving conflicts to keep only the needed changes) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10119 280ebfd0-de03-0410-8827-d642c229c3f4
* Updated version to 3.1.4-rc2.vlefevre2016-02-245-5/+5
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10117 280ebfd0-de03-0410-8827-d642c229c3f4
* [configure.ac] Try to link with GMP even when a DLL, since it seemsvlefevre2016-02-241-14/+0
| | | | | | | | | | | | to work now: https://sympa.inria.fr/sympa/arc/mpfr/2013-05/msg00010.html https://sympa.inria.fr/sympa/arc/mpfr/2015-12/msg00037.html Thus gmp_printf features (from the printf C function) are now tested, avoiding failures in the tests with thread-safe shared Windows builds using MinGW. (merged changeset r8524 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10116 280ebfd0-de03-0410-8827-d642c229c3f4
* ChangeLog update with "TZ=UTC svn log -rHEAD:0 -v" (in UTF-8 locales).vlefevre2016-02-241-0/+14
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10107 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/mpfr.texi] Fixed a warning with "make info".vlefevre2016-02-241-1/+1
| | | | | | (merged changeset r10105 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10106 280ebfd0-de03-0410-8827-d642c229c3f4
* ChangeLog update with "TZ=UTC svn log -rHEAD:0 -v" (in UTF-8 locales).vlefevre2016-02-241-0/+24
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10104 280ebfd0-de03-0410-8827-d642c229c3f4
* [NEWS] Update for GNU MPFR 3.1.4.vlefevre2016-02-241-0/+4
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10103 280ebfd0-de03-0410-8827-d642c229c3f4
* Added tools/ck-news Perl script to check the NEWS file.vlefevre2016-02-242-1/+52
| | | | | | | | | In Makefile.am: * run this script in dist-hook for "make dist"; * added this script to EXTRA_DIST as it is used in dist-hook. (merged changeset r10101 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10102 280ebfd0-de03-0410-8827-d642c229c3f4
* ChangeLog update with "TZ=UTC svn log -rHEAD:0 -v" (in UTF-8 locales).vlefevre2016-02-231-0/+1309
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10096 280ebfd0-de03-0410-8827-d642c229c3f4
* Updated version to 3.1.4-rc1 and updated libmpfr_la_LDFLAGS invlefevre2016-02-236-6/+6
| | | | | | src/Makefile.am for the next release. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10095 280ebfd0-de03-0410-8827-d642c229c3f4
* [tools/update-version] Correction for new perl versions.vlefevre2016-02-231-1/+1
| | | | | | (merged changeset r10093 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10094 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/{cmp_d.c,cmp_ld.c}] Bug fixes: mpfr_cmp_d (resp. mpfr_cmp_ld) wasvlefevre2016-02-234-10/+70
| | | | | | | | | | | | setting the NaN flag when the double (resp. long double) was a NaN and could return an incorrect result (assertion failure in debug mode) in reduced exponent range. [tests/{tcmp_d.c,tcmp_ld.c}] Added a test in reduced exponent range. Full test of the flags for NaN. (merged changesets r10087-10089 from the trunk, with replacement of new features of the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10090 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/sum.c] Fixed bugs in mpfr_sum, which could return wrong resultsvlefevre2016-02-223-15/+64
| | | | | | | | | | | | | | | | | | when not all the numbers have the same precision. A side effect is that this can make mpfr_sum much slower and/or take much more memory in some of such cases with the same program; this is normal and cannot easily be avoided with the current algorithm. Note: The full rewrite currently in the trunk has not been merged because this would not be a simple patch (and it is still incomplete when a number is reused as the output). [src/mpfr-impl.h] Updated the prototype of mpfr_sum_sort. Note: Since this function is used only internally and by the tests, this does not break the ABI. However the old and new tsum tests are source & binary incompatible. [tests/tsum.c] Updated the use of mpfr_sum_sort. Added a testcase. (merged changesets r8697,8699,8701,8851 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10083 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/agm.c] Fixed bug in mpfr_agm in case the two FP inputs havevlefevre2016-02-222-4/+41
| | | | | | | | | the same value but the result cannot be exactly represented in the target precision: the ternary value was wrongly set to 0. [tests/tagm.c] Added testcase. (merged changesets r10060,10077 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10078 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/rem1.c] Fixed bug in the mpfr_rem1 internal function (used byvlefevre2016-02-193-27/+118
| | | | | | | | mpfr_remainder, mpfr_remquo and mpfr_fmod): MPFR can take much memory or crash when using inputs with a huge difference in magnitude. [tests/{tfmod.c,tremquo.c}] Testcases. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10075 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/gamma.c] Bug fix in case the argument is an integer fitting in anvlefevre2016-02-192-0/+17
| | | | | | | | unsigned long: flags may be set while they shouldn't, and the result may be incorrect in a very reduced exponent range. (merged changesets r10043-10045 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10071 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/root.c] Fixed root(x,k) for large very values of k: MPFR couldvlefevre2016-02-152-97/+326
| | | | | | | | | | | | | | crash or take much memory, and the function could return incorrect values. This is done by changing the algorithm for k > 100. This patch is rather safe as applications that only use small values of k (≤ 100) won't see any change, and for applications that may use large values of k, this change may be needed. [tests/troot.c] Added tests. (merged changesets r9921-9928,9930-9931,9965-9970,9973-9974,10036,10038 from the trunk, with mpfr_flags_t replaced by unsigned int; for r9965, the merged was done only on the src directory) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10040 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mpfr-impl.h] Merged r9970 to simplify a future patch generation.vlefevre2016-02-151-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10039 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/{fits_intmax.c,fits_s.h,fits_u.h}] Fixed mpfr_fits_* functions: thevlefevre2016-02-154-228/+221
| | | | | | | | | | | flags could be modified, and an assertion failure could be triggered in debug mode (additional assertion checking) for non-integer numbers just above the positive limit. [tests/tfits.c] Many new tests. (merged changesets r9650,9653-9655,10030-10034 from the trunk, with mpfr_flags_t replaced by unsigned int) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10035 280ebfd0-de03-0410-8827-d642c229c3f4
* Fixed bug in mpfr_can_round_raw, which affected mpfr_can_round: thevlefevre2016-02-124-57/+177
| | | | | | | | | | | result could be true instead of false in case of a change of binade (exponent decrease) on the approximation interval. At the same time, make sure that the number is normalized, and ditto for mpfr_round_p; otherwise the semantic is not clear. Thus mpfr_div, which could call mpfr_round_p with an unnormalized number, had to be fixed. (merged changesets r9881,9883-9890,9896-9904,9932,10027 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10029 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/exp3.c] Merged r9883 to simplify a future patch generationvlefevre2016-02-121-1/+1
| | | | | | | (fix of comment formatting, which shouldn't have been with the other r9883 changes). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10026 280ebfd0-de03-0410-8827-d642c229c3f4
* Fixed bug in si operations (mpfr_add_si, mpfr_sub_si, mpfr_si_sub,vlefevre2016-02-124-9/+12
| | | | | | | | mpfr_mul_si, mpfr_div_si, mpfr_si_div) when the integer is LONG_MIN, visible when using an UB sanitizer. (merged changesets r9998-9999,10003,10005 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10023 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/eint.c] Typo in a comment.vlefevre2016-02-091-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10009 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tgeneric_ui.c] Added tests of the extreme integer values,vlefevre2016-02-091-1/+10
| | | | | | | | so that tsi_op fails with a runtime error in si_op.c when using an UB sanitizer (bug fixed in r9999 in the trunk). (merged changeset r10001 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10002 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/mpfr.texi] Updated the month.vlefevre2016-02-081-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9987 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/mpfr.texi] Mention the Caramba project-team.vlefevre2016-02-041-1/+1
| | | | | | (merged changeset r9942 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9944 280ebfd0-de03-0410-8827-d642c229c3f4
* Replacedvlefevre2016-02-04419-420/+420
| | | | | | | | Contributed by the AriC and Caramel projects by Contributed by the AriC and Caramba projects git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9943 280ebfd0-de03-0410-8827-d642c229c3f4
* [configure.ac] Improved consistency in messages.vlefevre2016-01-291-2/+2
| | | | | | (merged changeset r9893 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9894 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tsqrt.c] Improved testcase for the mpfr_sqrt bug fixed in r9860,vlefevre2016-01-211-4/+9
| | | | | | | | with detailed comment: the precision of the result has to be a multiple of the number of bits per word and rounding has to be to nearest. (merged changeset r9861 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9862 280ebfd0-de03-0410-8827-d642c229c3f4
* Fixed bug in mpfr_sqrt reported by Fredrik Johansson, occurring whenvlefevre2016-01-212-1/+28
| | | | | | | the result has to be rounded up to a power of 2. (merged changesets r9857-9859 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9860 280ebfd0-de03-0410-8827-d642c229c3f4
* Fixed bug for zeta(s) with s near an even negative integer.vlefevre2016-01-203-10/+47
| | | | | | (merged changesets r9852-9854 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9855 280ebfd0-de03-0410-8827-d642c229c3f4
* [tests/tgeneric.c] Improved the generic tests in order to trigger thevlefevre2016-01-201-1/+6
| | | | | | | | | | | | | mpfr_jn bug found by Fredrik Johansson (r9845) and potential similar bugs: For half cases, the precision of the inputs was modified to be smaller than the base precision (for the result). Here, this rule is changed so that if the base precision is small (< 16), then the precision of the inputs is chosen to be significantly *larger* than the base precision in general. Note: With this improvement, both tj0 and tj1 fail in r9844. (merged changeset r9848 from the trunk; conflict resolved) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9849 280ebfd0-de03-0410-8827-d642c229c3f4
* Fixed bug found by Fredrik Johansson in the mpfr_jn family of functions.vlefevre2016-01-203-5/+17
| | | | | | (merged changesets r9841-9842,9844 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9845 280ebfd0-de03-0410-8827-d642c229c3f4
* [doc/mpfr.texi] Updated the month.vlefevre2016-01-011-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9782 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2016 withvlefevre2016-01-01445-446/+446
| | | | | | | | | perl -pi -e 's/ (\d{4}-)?(2015)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh (the m4 and tools/mbench directories were not modified). Removed 2015 from the example in the doc/README.dev file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9781 280ebfd0-de03-0410-8827-d642c229c3f4