| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14390 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
* tgeneric.c: cleanup about the type of the arguments; added support
for functions with 3 arguments (x1,x2,u), such as mpfr_atan2u.
* tatan2u.c: enabled the generic tests (test_generic).
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14322 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
mpfr_set_emin and mpfr_set_emax, in order to check failures.
Done with: perl -pi -e 's/^ *\Kmpfr_(set_e(min|max) *\()/\1/' *.c
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14284 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14271 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14270 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14269 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14267 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
perl -pi -e 's/ (\d{4}-)?(2020)(?= Free Software)/
" ".($1||"$2-").($2+1)/e' **/*(^/)
under zsh. Removed 2020 from the example in the doc/README.dev file.
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14229 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
by ISO C90 (it was not really useful here, though).
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14224 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
if the MPFR_TGENERIC_STAT environment variable is defined.
Added description to the README.dev file.
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14221 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
aarch64-unknown-linux-android):
./tgeneric.c:208:40: warning: implicit conversion from 'mp_limb_t' (aka 'unsigned long') to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-int-float-conversion]
(double) randlimb () / MPFR_LIMB_MAX;
~ ^~~~~~~~~~~~~
../src/mpfr-impl.h:1277:28: note: expanded from macro 'MPFR_LIMB_MAX'
#define MPFR_LIMB_MAX ((mp_limb_t) -1)
^~~~~~~~~~~~~~
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@14098 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13952 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
perl -pi -e 's/ (\d{4}-)?(2019)(?= Free Software)/
" ".($1||"$2-").($2+1)/e' **/*(^/)
under zsh. Removed 2019 from the example in the doc/README.dev file.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13652 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
perl -pi -e 's,http://www.gnu.org/,https://www.gnu.org/,g' **/*(.)
under zsh.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13372 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
perl -pi -e 's/ (\d{4}-)?(2018)(?= Free Software)/
" ".($1||"$2-").($2+1)/e' **/*(^/)
under zsh. Removed 2018 from the example in the doc/README.dev file.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13359 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
[src/mul_ui.c] fixed for 16-bit limb and reduced exponent range
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13108 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13107 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13095 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13004 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
this for each precision. This allows one to detect the mpfr_ai bug found
and fixed on 2018-01-07 (with 32-bit *and* 64-bit ABI):
https://sympa.inria.fr/sympa/arc/mpfr/2018-01/msg00001.html
Moreover, this makes tlgamma loop with a 32-bit ABI (x86). To be fixed.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12088 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12087 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
| |
perl -pi -e 's/ (\d{4}-)?(2017)(?= Free Software)/
" ".($1||"$2-").($2+1)/e' **/*(^/)
under zsh, reverting the ck-mparam and timings-mpfr.c files and
the mbench directory under "tools" (not distributed with MPFR).
Removed 2017 from the example in the doc/README.dev file.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12067 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
XDEBUG -> MPFR_DISABLE_IEEE_FLOATS
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11956 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
mpfr-test.h only instead of tgeneric.c and tversion.c.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11739 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
which also tests the sign (to distinguish +0 and -0).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/faithful@11545 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/faithful@11151 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/faithful@11121 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
sense without additional specification (and explained why).
[tests/{tcan_round.c,tgeneric.c}] Added MPFR_RNDF support with the
above restriction.
Note: 6 tests are failing as a consequence.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/faithful@10780 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
r10664-10686,10689-10690,10692,10695-10696,10699-10775
i.e. all the latest changes except for src/{add1sp.c,sub1sp.c}
to avoid build failures (to be solved later).
Currently only tcan_round fails, due to MPFR_RNDF.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/faithful@10776 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/faithful@10507 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/faithful@10480 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/faithful@10406 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/faithful@10385 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/faithful@10380 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
|