| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/tags/3.1.6@11721 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11720 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11719 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11710 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
intermediate versions with new changes cannot be confused with rc1).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11709 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
the "'" flag with a non-glibc C library (SUS extension in printf).
In particular, it is not supported by AIX 7.2.
(merged changesets r11704,11706 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11708 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
non-single-byte characters (as found on FreeBSD 11 in fr_FR.UTF-8),
revert to the default value. Added a FIXME to support multibyte
decimal_point and thousands_sep.
(merged changeset r11705 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11707 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tfprintf.c, tout_str.c, tprintf.c: Do not use the same filename
for result files created in these test programs, as this may break
parallel tests.
* toutimpl.c: Changed the filename of the result file like what
has been done in other test programs, to make sure that it will
not be reused by mistake. Removed comments about tmpname (which
does not exist).
* Makefile.am: added a CLEANFILES line with these files.
(merged changesets r11698-11699 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11703 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11694 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11693 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11692 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11691 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11689 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
mention that this option requires --with-gmp-build (this is for the 3.1
branch only).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11687 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11682 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
src/Makefile.am for the next release.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11681 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
* tests/tests.c: use __gmp_rands instead of mpfr_rands
(which was introduced by r11666).
* tests/turandom.c: use RANDS instead of mpfr_rands
(which was introduced by r11649).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11672 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
since the hardcoded values would be different.
(merged changeset r11669 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11670 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
platform ABI or MPFR version.
(merged changeset r11663 from the trunk, and updated the hardcoded
values for this 3.1 branch)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11668 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
instead of mpfr_rands, due to the gmp_randseed_ui.
(merged changeset r11654 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11667 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
is internal to GMP: its use came from very old code (r2330 in 2003-06)
and it is no longer needed.
(marked changeset r11652 as merged from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11666 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
a specific behavior of the random generator, which changed in GMP 4.2.0
(the test would probably fail with such old GMP versions).
(applied a part of r8787 and merged changeset r11651 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11665 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
expected:
* Set the underflow flag if the drawn exponent is less than emin.
This corresponds to "underflow before rounding" while the normal
rule in MPFR is "underflow after rounding". This is not fixable
in the 3.1 branch since the significand is not drawn in this
case, and drawing the significand to determine whether there is
an underflow would change the state of the PRNG at the end of
the function, breaking the ABI and the users' expectations.
* Set the inexact flag on underflow (this was not done before).
[tests/turandom.c] Added underflow and overflow tests.
[doc/mpfr.texi] Documented the above issue with the underflow flag for
mpfr_urandom.
(merged changesets r11220,11635,11637-11641,11643-11647 from the trunk;
instead of merging the conflicting r11636, did all the changes manually;
replaced mpfr_flags_t by unsigned int)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11649 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
<https://sympa.inria.fr/sympa/arc/mpfr/2017-01/msg00020.html>
[tests/turandom.c] Added non-regression test.
(merged changesets r11218-11219,11221 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11648 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
by MPFR (after a discussion with PZ).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11633 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
to Section "Memory Handling").
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11632 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11631 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11618 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
and overflow on the return type int. Removed obsolete comments.
(merged changesets r11403,11614-11615 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11616 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11613 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
in order to avoid a link failure under MS Windows with DLL. See:
https://sympa.inria.fr/sympa/arc/mpfr/2017-07/msg00012.html
https://sympa.inria.fr/sympa/arc/mpfr/2017-07/msg00017.html
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11606 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
"mpfr-test.h" should be included instead; otherwise __MPFR_WITHIN_MPFR
will be defined, yielding failures under MS Windows with DLL.
(Similar to r11603 in the trunk.)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11605 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
the 32-bit ABI (32-bit long), fixing bug reported by Simon Byrne:
https://sympa.inria.fr/sympa/arc/mpfr/2017-07/msg00002.html
(merged changeset r11590 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11591 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
if LD_LIBRARY_PATH is defined, avoiding the following issue:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859732
https://lists.gnu.org/archive/html/libtool/2017-05/msg00000.html
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11587 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
C++ (it didn't have the correct type), and improved the similar ones.
(merged changeset r8997 from the trunk; needed by r11579 when using a
C++ compiler)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11580 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
| |
[tests/mpf_compat.h] Added non-regression tests.
(merged changesets r11565,11571 from the trunk, and did some changes
in the inclusions of header files due to the use of MPFR_ASSERTN)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11579 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
| |
lowercase so that it doesn't look like a constant to mpfrlint.
(merged changeset r11521 from the trunk, completing r11538)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11541 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
| |
in the trunk) by not using the returned string any longer. Indeed,
ISO C99 says that this string "may be overwritten by a subsequent call
to the setlocale function". The tests in the 3.1 branch are different,
so that this problem was not detected here on the tested platforms,
including MinGW.
(merged changeset r11533 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11540 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
| |
should have been done in r5230, where EOVERFLOW was moved).
(merged changeset r11532 from the trunk)
[tests/tprintf.c] Added errno test for check_long_string(), which is
called when MPFR_CHECK_LARGEMEM is defined, to trigger the above
bug. A merge from the trunk was not possible due to many changes
in the mpfr_*printf code and the tests.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11539 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In details:
* The computation of the number of characters to be written could
be incorrect by 1 when the thousands separator was not empty.
However, in the 3.1 branch (without additional patches), this
value is currently only used for overflow checking, so that this
bug could have only very little effect (contrary to the trunk).
* When the int and long types have the same size, the code assumed
"wrapping behavior in two's complement". But this is actually
undefined behavior in ISO C; in practice, a smart compiler may
have ignored "total < 0" tests, because total is computed with
sums of non-negative integers.
(merged changesets r11513,11515-11516 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11538 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
| |
under some conditions due to the following bug:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79257
This increase is not a problem for the tests, where optimal code
is useless.
(merged changesets r11469,11470 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11537 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in a boolean context (even though that this is not wrong in C). Fix
after a bug report from David Binderman. Explanations:
https://sympa.inria.fr/sympa/arc/mpfr/2016-09/msg00028.html
(merged changeset r10879 from the trunk)
NOTE. This change has been merged in the 3.1 branch because it is
needed to be able to build MPFR with -Wall -Werror as of GCC 7,
due to the new -Wint-in-bool-context option enabled by -Wall:
https://gcc.gnu.org/gcc-7/changes.html
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11536 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11432 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
* Clarified mpfr_asprintf & mpfr_vasprintf specification in case
of error.
* Corrected an English error.
(merged changesets r11264,11430 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11431 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11345 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
| |
(merged changesets r9929,9933 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11344 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11329 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11120 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
perl -pi -e 's/ (\d{4}-)?(2016)(?= Free Software)/
" ".($1||"$2-").($2+1)/e' **/*(^/)
under zsh (the m4 and tools/mbench directories were not modified).
Removed 2016 from the example in the doc/README.dev file.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11119 280ebfd0-de03-0410-8827-d642c229c3f4
|
|
|
|
|
|
|
|
|
| |
the ternary value could be incorrect.
[tests/tstrtofr.c] Added test case.
(merged changesets from the trunk: r11055, a part of r11056, and
r11059,11066-11068)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11069 280ebfd0-de03-0410-8827-d642c229c3f4
|