| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
became visible with r13878 now that the encoding of decimal floats
can be detected at compile time. But by fixing the defined macros
manually, this issue could be visible before r13878.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13879 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* INSTALL, acinclude.m4, configure.ac: --enable-decimal-float can
take new values. Change of macro DPD_FORMAT (DPD was assumed in
case of cross-compilation, which could be wrong) to 3 new macros:
DECIMAL_DPD_FORMAT, DECIMAL_BID_FORMAT, DECIMAL_GENERIC_CODE.
* doc/README.dev: documented these 3 new macros.
* src/mpfr-impl.h: the detection of the BID encoding can now be
done at compile time when GCC defines __DECIMAL_BID_FORMAT__
(as on x86); support of the 3 new macros.
* src/{get_d64.c,set_d64.c,set_d128.c}: update.
* tests/{tget_set_d64.c,tget_set_d128.c,tversion.c}: update.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13878 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13779 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
|
|
|
|
|
|
| |
are affected).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13537 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13536 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
non-canonical _Decimal64 constant.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13535 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13532 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
solve the failure with gcc-snapshot.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13531 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
non-canonical encoding and more details (fails with Debian's
gcc-snapshot 10.0.0 20190718, trunk revision 273586).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13530 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
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13141 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
[src/set_d64.c] likewise
[tests/tget_set_d64.c] improved error message
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13139 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12852 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
disable tests that can trigger a FP exception DIVBYZERO or INVALID
(issue detected with -DMPFR_TESTS_FPE_DIV -DMPFR_ERRDIVZERO).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12849 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12844 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12841 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
[tests/tget_set_d128.c] removed TODO (done)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12840 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
[tests/tget_set_d64.c] added test with non-canonical BID encoding
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12837 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
encodings.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12810 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
test negative numbers too.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12792 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
* tget_set_d64 fails on negative due to a bad ternary value.
* tget_set_d128 fails on negative due to bad value, etc.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12782 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
[tests/tget_set_d128.c] likewise
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12769 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
respectively (for the tests, except in reuse.c and in taway.c).
Note: As documented, mpfr_mul_2exp & mpfr_div_2exp are only kept for
compatibility with MPF; mpfr_mul_2ui & mpfr_div_2ui are preferred.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12607 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
[src/mpfr-impl.h] added comment
[tests/tget_set_d64.c] improve coverage
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12416 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12215 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
|
|
|
|
|
|
|
|
|
| |
directory. Since such macros can still be useful in case a test failure,
replaced them by MPFR_DEBUG to avoid issues with CI builds that define
the DEBUG macro. But an environment variable would be a better solution
(see MPFR_DEBUG_BADCASES as an example).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11958 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
which is redundant with MPFR_TESTS_DIVBYZERO and MPFR_ERRDIVZERO. The
code related to these exception is now like r11488 (see the output of
"svn diff -r11488"), but keeping the following changes:
* Missing !defined(MPFR_ERRDIVZERO) tests added in r11498,11499.
* In tests.c:
- code related to traps (macro MPFR_RAISE_EXCEPTIONS, which will
be renamed);
- more detailed output about which FP exceptions occurred;
- removal of "#ifdef MPFR_ERRDIVZERO" (as in r11493), as this is
better with Automake 1.13+ (required by MPFR since r9375).
Note: EXCEPTIONS_FLAG renamed to FPE_FLAGS, since EXCEPTIONS_FLAG is
reserved by ISO C when <errno.h> is included.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11504 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
occurs only with -DXDEBUG) if MPFR_ERRDIVZERO is defined.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11499 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11484 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
by ISO C when <errno.h> is included.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11483 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
|
|
|
|
|
|
|
|
|
|
|
| |
the tests, meaning that some tests were no longer done. So, get rid of
_GMP_IEEE_FLOATS also in the tests. Testing !defined(MPFR_ERRDIVZERO)
or defined(HAVE_SIGNEDZ) should be sufficient, depending on the context
(they were already used alone at some other places, so that new failures
are unlikely); anyway, _GMP_IEEE_FLOATS was not the right macro to test.
Only tget_set_d64.c has a specific change to use _MPFR_IEEE_FLOATS.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10958 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10293 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10128 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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9204 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
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8678 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
after failures on powerpc64 with the mode32 ABI.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8677 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
|
|
|
|
|
|
|
|
| |
Still disabled by default: some more testing is needed before we can enable
it by default (if _Decimal64 is supported).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8402 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
values x such that 0.5e-398 < |x| < 1e-398 (smallest subnormal):
it was returning 0 instead of +/- 1e-398 (see r8370).
[tests/tget_set_d64.c] Added testcases.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8379 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
tests fixed in r8372 and trigger a bug in get_decimal64_max).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8376 280ebfd0-de03-0410-8827-d642c229c3f4
|