| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
(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
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10149 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10143 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10142 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10139 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
"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
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10129 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
|
|
|
|
|
| |
(*__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
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10117 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10107 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
(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
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10104 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10103 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10096 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10039 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10009 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9987 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
(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
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@9782 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
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
|