| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/win-thread-safe-dll@9683 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
when some macro should imply a MS-Windows platform.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/win-thread-safe-dll@9682 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
of the problem.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/win-thread-safe-dll@9681 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
| |
https://gforge.inria.fr/tracker/download.php/136/619/19537/4980/changes.zip
The MPFR build fails on my Linux machine with
CFLAGS=-Werror=missing-prototypes
because MPFR_WIN_THREAD_SAFE_DLL gets defined (this CFLAGS just allowed
me to detect the problem with MPFR_WIN_THREAD_SAFE_DLL, which could have
otherwise remained unnoticed).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/win-thread-safe-dll@9680 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9652 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
the flags could be modified, which made the new mpfr_get_{si,ui} tests
fail (tests/tset_si.c r9649).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9650 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
x86 processors with a 64-bit ABI (amd64, a.k.a. x86_64), thus
suggest to move mparam.h files to more meaningful locations.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9648 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
20150722-1 due to -Werror=array-bounds, but the code looks OK).
Simplified test on: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67077
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9638 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
(https://gmplib.org/list-archives/gmp-devel/2015-July/004074.html)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9637 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9636 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
documentation and tests.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9629 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
macro, defined in addition to the function.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9618 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
rounding to nearest when the exact result is -2^(emin-2), i.e. the
middle of 0 and the minimum negative number in absolute value.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9616 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9615 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9613 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9600 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
[tests/tmul_2exp.c] In the overflow test, check mpfr_mul_2ui and
mpfr_mul_2si too (mpfr_mul_2ui was OK).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9597 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
[tests/tmul_2exp.c] In the overflow test, check mpfr_div_2si too.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9596 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
[tests/tmul_2exp.c] Completed the overflow test.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9595 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
does not contain 0.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9592 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9591 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9569 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
corresponding to the testcase from r9566. Double rounding is
not handled yet (failure triggered by r9567).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9568 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9565 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
incorrectly replaced MPFR_EXP by MPFR_SET_EXP. So, restored the
previous code (re-adding the assertion check), keeping my comment
from r9540 to explain why we don't use MPFR_SET_EXP.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9545 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
was not restored in some cases (some large results).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9543 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in r6461 with the use of mpfr_sincos_fast.
Details:
For mpfr_sin, the exponent range was not restored, and restoring it
before calling mpfr_sincos_fast as this was done for mpfr_cos did
not work; indeed the source of this function shows that it needs an
extended exponent range. So, changed both mpfr_cos and mpfr_sin to
call mpfr_sincos_fast in the extended exponent range and restore the
exponent range at the end, like in usual code.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9542 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
Note: This could happen only in very specific exponent ranges,
in particular, which do not include the number 1.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9540 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
* Support reduced exponent range for the generic case.
* Added logging.
[tests/tzeta_ui.c] Added tests in reduced exponent range.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9523 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9521 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
[tests/tzeta_ui.c] Added testcase.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9518 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9514 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
overflow or underflow (extreme cases).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9508 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
in the extreme case cd != 0, and safer in general.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9507 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9505 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9489 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9485 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
corner cases, an intermediate overflow would not be propagated. No
testcases added for this particular problem since huge precision
numbers would be involved.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9484 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
| |
https://sympa.inria.fr/sympa/arc/mpfr/2015-05/msg00001.html
* mpfr-gmp.{c,h}: made mpfr_allocate_func, mpfr_reallocate_func and
mpfr_free_func thread-local; updated MPFR_GET_MEMFUNC to execute
mp_get_memory_functions only when these pointers have not been set
to the actual function pointers yet.
* mpfr-impl.h: #include "mpfr-thread.h" earlier (before mpfr-gmp.h,
where MPFR_THREAD_ATTR is now used).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9466 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
by __gmp_allocate_func and __gmp_free_func in mpfr_tmp_allocate
and mpfr_tmp_free respectively, fixing the crash in talloc.
See: https://sympa.inria.fr/sympa/arc/mpfr/2015-05/msg00001.html
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9461 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9451 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
temporary allocations (default: 16384).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9449 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9381 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/new-sum@9369 280ebfd0-de03-0410-8827-d642c229c3f4
|
|\
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/new-sum@9365 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| | |
the initial value was a power of two.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9328 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9327 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
exponent since it can be outside the current exponent range before
it is checked with mpfr_check_range. Also added a static assertion
(always satisfied in practice) to make sure that exponent related
computations cannot yield an integer overflow.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/new-sum@9362 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/new-sum@9356 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| |
| |
| | |
* improved variable nbits to decrease the number of operations;
* added some comments;
* fixed the shift count bug triggered by the bug20150327 test.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/new-sum@9349 280ebfd0-de03-0410-8827-d642c229c3f4
|