| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
be rounded (while mpfr_can_round can fail).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10678 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10359 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
flag when the result is NaN (almost all cases). This makes both tadd_ui
(ignoring the new test done in r10298) and tsub_ui fail.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10299 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10057 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
and max/min special tests for functions with 2 arguments.
This triggers a failure in tfmod on 64-bit machines at least.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10051 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
(however a and x should not be too large, we should implement
Legendre's continued fraction for the general case)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10049 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10004 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/trunk@9941 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
| |
mpfr_jn bug found by Fredrik Johansson (r9841) 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 r9840.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9848 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/trunk@9779 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
the tests were done in all rounding modes, but the code was incorrect
if the exponent of the result depended on the rounding mode. So, the
tests are now done only in the rounding mode previously selected. This
should be sufficient to detect bugs.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9544 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
modified by the tested function (which should never happen).
This check triggers failures in tlgamma, tlngamma and tsin.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9541 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9539 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9511 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9510 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
Added support for unsigned long argument, which can be the first
or the second one (another intent is to replace tgeneric_ui.c,
which does fewer tests concerning the flags).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9502 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
so that when it is true, scaling is always performed on random numbers
generated by mpfr_urandomb(), instead of preferring numbers of the order
of magnitude of 1 for half outputs. This will be useful for mpfr_rint_*
tests.
For tgeneric.c, the value of this argument is controlled by a new macro
TEST_RANDOM_ALWAYS_SCALE (0 by default, which corresponds to the current
behavior). For the other tests that call tests_default_random(), the
argument is set to 0, so that the behavior remains the same.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9471 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
perl -pi -e 's/ (\d{4}-)?(2014)(?= Free Software)/
" ".($1||"$2-").($2+1)/e' **/*(^/)
under zsh, reverting the tools/mbench directory (not distributed with
MPFR). Removed 2014 from the example in the doc/README.dev file.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9278 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
| |
* Simplified the definition of simple mp_limb_t constants: it is
better to avoid GMP internals when there is a standard way.
* Replaced the use of MP_LIMB_T_MAX by the new macro MPFR_LIMB_MAX.
* So, removed the now useless MP_LIMB_T_MAX and GMP_LIMB_HIGHBIT
definitions from "mpfr-gmp.h".
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9090 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9081 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8919 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
test the maximum (in absolute value) positive and negative arguments
was buggy, as only the negative one was tested.
→ This makes some tests fail on the maximum positive argument.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8765 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
perl -pi -e 's/ (\d{4}-)?(2013)(?= Free Software)/
" ".($1||"$2-").($2+1)/e' **/*(^/)
under zsh (the tools/mbench directory was not modified).
Removed 2013 from the example in the doc/README.dev file.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8723 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
http://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8540 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
perl -pi -e 's/2012 Free Software/2012, 2013 Free Software/' **/*(^/)
under zsh, reverting the ChangeLog file and the m4 directory
(the tools/mbench directory was not modified).
Removed 2012 from the example in the doc/README.dev file.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8447 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
https://sympa.inria.fr/sympa/arc/mpfr/2012-12/msg00003.html); clean-up.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8439 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
perl -pi -e 's/Contributed by the Arenaire/Contributed by the AriC/' **/*(^/)
under zsh.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7993 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
perl -pi -e 's/2011 Free Software/2011, 2012 Free Software/' **/*(^/)
under zsh, reverting the ChangeLog file (the m4 and tools/mbench
directories were not modified).
Removed 2011 from the example in the doc/README.dev file.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7986 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
ISO C99 standard, the IEEE 754-2008 standard using divideByZero,
and the old IEEE 754-1985 standard using both "divide by zero"
and "division by zero").
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7886 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7590 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
tested function. This is useful for programs that have generic
tests for several functions, such as terf.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7571 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
spurious failures by defining TGENERIC_SO_TEST to some well-chosen test.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7553 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
This currently makes 10 tests fail on a 64-bit machine.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7470 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7467 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
perl -pi -e 's/2010 Free Software/2010, 2011 Free Software/' **/*(^/)
under zsh, reverting the ChangeLog file and the m4 and tools/mbench
directories.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7389 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7357 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7354 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7347 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7346 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* acinclude.m4: added a test to check whether the FP division by 0
fails, and define MPFR_ERRDIVZERO in such a case.
* tests/tests.c: if MPFR_TEST_DIVBYZERO is defined, test whether
there has been a floating-point division by 0 (FE_DIVBYZERO or
FE_INVALID exception).
* tests/tgeneric.c: if MPFR_ERRDIVZERO is defined, disable the
huge and tiny cases.
* tests/t*_{flt,d,ld}.c: if MPFR_ERRDIVZERO is defined, disable
tests involving NaN and infinities.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7050 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
Contributed by the Arenaire and Cacao projects
by
Contributed by the Arenaire and Caramel projects
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7026 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6789 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6767 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
perl -pi -e 's/2009 Free Software/2009, 2010 Free Software/' **/*(^/)
under zsh, reverting the ChangeLog file and the mbench directory.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6684 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6390 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
correctly handle MPFR_RNDA)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6389 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
and updated all the references (except in ChangeLog).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6351 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6295 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
of the inputs in order to trigger the mpfr_fmod bug fixed in r6230
(and potentially other bugs). Thanks to Eric Veach for the idea.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6237 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6053 280ebfd0-de03-0410-8827-d642c229c3f4
|