| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
[tests/tsub1sp.c] added non-regression test
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11974 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
understanding of the code and debugging)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11955 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
is the same as shown by gcc, thanks to an obvious optimization; this
is semantically better, which could help provers, and would allow
code instrumentation in the future, if need be).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11928 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Replaced the internal function mpfr_fprint_binary by a new
internal function mpfr_fdump, similar to mpfr_dump, but with
a FILE * argument.
* Got rid of mpfr_print_binary entirely (it became internal in
r2466 for MPFR 2.0.2, released in 2003).
Details:
* print_raw.c:
- moved the mpfr_fprint_binary code to dump.c;
- removed mpfr_print_binary.
* dump.c:
- mpfr_fprint_binary (from print_raw.c) is now defined as static;
- added function mpfr_fdump, using mpfr_fprint_binary;
- mpfr_dump: use mpfr_fdump instead of the old mpfr_print_binary.
* mpfr-impl.h:
- replaced mpfr_fprint_binary declaration by mpfr_fdump;
- removed mpfr_print_binary declaration.
* add1sp.c, mul.c, sub1sp.c: replaced mpfr_fprint_binary by mpfr_fdump
and removed the '\n', now output by mpfr_fdump.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11761 280ebfd0-de03-0410-8827-d642c229c3f4
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
related to mpfr_zeta that were skipped, resolving conflicts. Added RNDF
support to new code introduced by this merge:
* mpfr_mul_1n in src/mul.c (from r11281);
* mpfr_sqr_1n in src/sqr.c (from r11283);
* mpfr_div_1n in src/div.c (from r11284);
* mpfr_sqrt1n in src/sqrt.c (from r11293).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/faithful@11456 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11440 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| |
| |
| | |
[src/add1sp.c] use special code only when MPFR_GENERIC_ABI is not defined
[src/sub1sp.c] idem as above
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11281 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| |
| | |
[tests/tsub1sp.c] added new tests
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11279 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| |
| | |
[tests/tsub1sp.c] added non-regression test
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11272 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11233 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11229 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| | |
in r11227.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11228 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11227 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| |
| | |
one from r11213 was incorrect (bad interpretation of the generated code
for GCC, potentially on a different alternate source code for Clang).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11223 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11222 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11215 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11214 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| |
| | |
fully tested) to replace a test + correction by a 2-limb subtraction,
recognized by GCC and Clang.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11213 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| |
| |
| | |
(https://sympa.inria.fr/sympa/arc/mpfr/2017-01/msg00011.html)
and replaced MPN_COPY_INCR/MPN_COPY_DECR by mpn_copyi/mpn_copyd
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11193 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| |
| | |
[src/sub1sp.c] added comments
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11183 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| | |
TODO: non-regression tests should be added for both.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11178 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11177 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11176 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11173 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| |
| | |
[tests/tsub1sp.c] added testcase
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11162 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| |
| |
| | |
[src/sqrt.c] renamed internal functions
[src/sub1sp.c] cosmetic change
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11158 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
perl -pi -e 's/ (\d{4}-)?(2016)(?= Free Software)/
" ".($1||"$2-").($2+1)/e' **/*(^/)
under zsh, reverting the tools/mbench directory (not distributed with
MPFR). Removed 2016 from the example in the doc/README.dev file.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11117 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11034 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11003 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10999 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10995 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10993 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10991 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10987 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10984 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* About r11271 (src/add1sp.c), which introduces new special code
(function mpfr_add1sp1n), handle MPFR_RNDF in the same way as done
in similar existing special code (mpfr_add1sp1 and mpfr_add1sp2).
* In mpfr_add1sp3, do the same thing (this should have been done in
r11172, where this function was introduced via a merge).
* About r11279 (src/sub1sp.c, tests/tsub1sp.c), which introduces new
special code (function mpfr_sub1sp1n), do the same thing.
In tests/tsub1sp.c, s/RND_LOOP/RND_LOOP_NO_RNDF/ as usual to avoid
a failure.
* Note: concerning mpfr_sub1sp3, RNDF support was added at the same
time of the merge in r11179.
* Some style changes related to RNDF, in particular for consistency.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/faithful@11455 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/faithful@11453 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| | |
in mpfr_sub1sp3.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/faithful@11179 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| | |
RND_RAND_NO_RNDF in order to avoid a failure in a test).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/faithful@11168 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/faithful@11121 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/faithful@11049 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/faithful@10988 280ebfd0-de03-0410-8827-d642c229c3f4
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
from the trunk, and fixed the code: The old mpfr_add1sp2 function
was renamed to mpfr_add1sp_ref in the trunk and a new mpfr_add1sp2
function (with a different purpose) was defined; so, in
if (rnd_mode == MPFR_RNDF)
return mpfr_add1sp2 (a, b, c, rnd_mode);
mpfr_add1sp2 had to be changed to mpfr_sub1sp_ref.
Ditto for mpfr_sub1sp2 and mpfr_sub1sp_ref.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/faithful@10778 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10697 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10694 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10693 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(numactl --physcpubind=0 ./mfv5 -p113 mpfr_sub):
3.1.5-dev:
mpfr_sub: 36 / 65.33 / 81
4.0-dev:
mpfr_sub: 24 / 33.00 / 36
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10691 280ebfd0-de03-0410-8827-d642c229c3f4
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
in tests/tmul.c (i.e. keep code from both the branch and the trunk,
corresponding to two independent tests). Some of the later changes
in the trunk (src/sqrt.c) are broken with a 32-bit ABI, so let's not
merge them for now.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/faithful@10655 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| | |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10620 280ebfd0-de03-0410-8827-d642c229c3f4
|
| |
| |
| |
| |
| |
| | |
before rounding because it is not considered at all in MPFR).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10600 280ebfd0-de03-0410-8827-d642c229c3f4
|