------------------------------------------------------------------------
r12050 | vlefevre | 2017-12-23 10:17:50 +0000 (Sat, 23 Dec 2017) | 1 line
Changed paths:
   M /branches/4.0/VERSION
   M /branches/4.0/configure.ac
   M /branches/4.0/doc/mpfr.texi
   M /branches/4.0/src/mpfr.h
   M /branches/4.0/src/version.c

Updated version to 4.0.0.
------------------------------------------------------------------------
r12049 | vlefevre | 2017-12-23 10:15:10 +0000 (Sat, 23 Dec 2017) | 1 line
Changed paths:
   M /branches/4.0
   M /branches/4.0/src/exp_2.c
   M /branches/4.0/src/subnormal.c
   M /branches/4.0/tests/texp.c

Merged changesets r12046-12048 from the trunk (bug fix and test).
------------------------------------------------------------------------
r12046 | vlefevre | 2017-12-23 01:39:00 +0000 (Sat, 23 Dec 2017) | 1 line
Changed paths:
   M /branches/4.0
   M /branches/4.0/src/hypot.c
   M /branches/4.0/src/lngamma.c
   M /branches/4.0/src/sin.c
   M /branches/4.0/src/subnormal.c
   M /branches/4.0/tests/thypot.c
   M /branches/4.0/tests/tj1.c
   M /branches/4.0/tests/tlngamma.c

Merged changesets r12026-12045 from the trunk (bug fixes and tests).
------------------------------------------------------------------------
r12027 | vlefevre | 2017-12-20 01:59:31 +0000 (Wed, 20 Dec 2017) | 1 line
Changed paths:
   M /branches/4.0/ChangeLog

ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v".
------------------------------------------------------------------------
r12026 | vlefevre | 2017-12-20 01:57:34 +0000 (Wed, 20 Dec 2017) | 4 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/NEWS
   M /branches/4.0/doc/FAQ.html

Re-added changes specific to the old 4.0 branch:
  * doc/FAQ.html: assume MPFR 4.0.0 has been released (since this is
    a file for the MPFR 4.0.0 release).
  * NEWS: added test coverage for MPFR 4.0.0.
------------------------------------------------------------------------
r12024 | vlefevre | 2017-12-20 01:53:52 +0000 (Wed, 20 Dec 2017) | 4 lines
Changed paths:
   R /branches/4.0 (from /trunk:12023)

Replaced the 4.0 branch by a copy of the trunk (in order to keep the
history of the latest changes of the trunk); this replacement is due
to a limitation of Subversion where a merge is regarded as a single
commit, and is OK here since the 4.0 branch is new.
------------------------------------------------------------------------
r12023 | vlefevre | 2017-12-20 01:52:21 +0000 (Wed, 20 Dec 2017) | 1 line
Changed paths:
   M /trunk/INSTALL
   M /trunk/VERSION
   M /trunk/configure.ac
   M /trunk/doc/mpfr.texi
   M /trunk/src/mpfr.h
   M /trunk/src/version.c

Updated version to 4.0.0-rc2 for an attempt to replace the 4.0 branch.
------------------------------------------------------------------------
r12022 | vlefevre | 2017-12-20 01:34:49 +0000 (Wed, 20 Dec 2017) | 1 line
Changed paths:
   M /trunk/src/fma.c

[src/fma.c] Minor improvements. Added an assert.
------------------------------------------------------------------------
r12021 | vlefevre | 2017-12-20 01:17:36 +0000 (Wed, 20 Dec 2017) | 1 line
Changed paths:
   M /trunk/src/tanh.c

[src/tanh.c] GNU coding style.
------------------------------------------------------------------------
r12020 | vlefevre | 2017-12-20 01:13:09 +0000 (Wed, 20 Dec 2017) | 1 line
Changed paths:
   M /trunk/src/mul.c

[src/mul.c] Reindentation.
------------------------------------------------------------------------
r12019 | vlefevre | 2017-12-20 01:10:54 +0000 (Wed, 20 Dec 2017) | 1 line
Changed paths:
   M /trunk/src/exp2.c

[src/exp2.c] Replaced two MPFR_ASSERTN by MPFR_STAT_STATIC_ASSERT.
------------------------------------------------------------------------
r12018 | vlefevre | 2017-12-19 16:30:09 +0000 (Tue, 19 Dec 2017) | 2 lines
Changed paths:
   M /trunk/src/exp2.c

[src/exp2.c] Fixed the double rounding problem in an underflow case,
triggered by the test added in r12017.
------------------------------------------------------------------------
r12017 | vlefevre | 2017-12-19 16:13:48 +0000 (Tue, 19 Dec 2017) | 2 lines
Changed paths:
   M /trunk/tests/texp2.c

[tests/texp2.c] Added test of underflow in MPFR_RNDN with exact value
close to 2^(emin-2). Currently fails due to double rounding.
------------------------------------------------------------------------
r12016 | vlefevre | 2017-12-19 14:45:00 +0000 (Tue, 19 Dec 2017) | 3 lines
Changed paths:
   M /trunk/tests/tdiv.c

[tests/tdiv.c] Added new non-regression test: the was the real cause of
the ttanh failure in r11993 without the tanh.c fix in this same commit.
But this mpfr_div was fixed in r12002.
------------------------------------------------------------------------
r12015 | vlefevre | 2017-12-19 08:56:43 +0000 (Tue, 19 Dec 2017) | 1 line
Changed paths:
   M /trunk/doc/mpfr.texi

[doc/mpfr.texi] Added a comment about a bug/limitation in makeinfo 5.2.
------------------------------------------------------------------------
r12014 | vlefevre | 2017-12-19 08:21:55 +0000 (Tue, 19 Dec 2017) | 2 lines
Changed paths:
   M /trunk/doc/mpfr.texi

[doc/mpfr.texi] Improved svar macro for nottex, in case it is used
in the future.
------------------------------------------------------------------------
r12013 | vlefevre | 2017-12-19 08:20:18 +0000 (Tue, 19 Dec 2017) | 2 lines
Changed paths:
   M /trunk/doc/mpfr.texi

[doc/mpfr.texi] Define svar even for nottex, though it is not used
(attempt to avoid a failure with makeinfo 5.2).
------------------------------------------------------------------------
r12012 | zimmerma | 2017-12-19 06:51:47 +0000 (Tue, 19 Dec 2017) | 3 lines
Changed paths:
   M /trunk/src/fma.c
   M /trunk/tests/tfma.c

[src/fma.c] fixed bug in mpfr_fma
[tests/tfma.c] added non-regression test

------------------------------------------------------------------------
r12011 | vlefevre | 2017-12-19 03:38:58 +0000 (Tue, 19 Dec 2017) | 2 lines
Changed paths:
   M /trunk/src/exp2.c

[src/exp2.c] Update concerning the underflow/overflow cases.
Still incomplete.
------------------------------------------------------------------------
r12010 | vlefevre | 2017-12-19 02:32:33 +0000 (Tue, 19 Dec 2017) | 1 line
Changed paths:
   M /trunk/doc/mpfr.texi

[doc/mpfr.texi] Updated a comment.
------------------------------------------------------------------------
r12009 | vlefevre | 2017-12-19 02:29:51 +0000 (Tue, 19 Dec 2017) | 8 lines
Changed paths:
   M /trunk/doc/mpfr.texi
   M /trunk/doc/texinfo.tex

[doc]
  * texinfo.tex: update to the latest version 2017-12-18.20, which
    reverts the change done in 2017-12-01.13 attempting to support
    @var with script font size (e.g. in exponent); but this change
    didn't work correctly.
  * mpfr.texi: introduced a @svar macro to handle this case. It
    currently disables the use of @var, the other workaround being
    worse.
------------------------------------------------------------------------
r12008 | vlefevre | 2017-12-18 17:59:35 +0000 (Mon, 18 Dec 2017) | 1 line
Changed paths:
   M /trunk/src/mul.c

Removed trailing whitespace.
------------------------------------------------------------------------
r12007 | vlefevre | 2017-12-18 17:05:28 +0000 (Mon, 18 Dec 2017) | 2 lines
Changed paths:
   M /trunk/doc/algorithms.tex
   M /trunk/src/tanh.c

[doc/algorithms.tex,src/tanh.c] Fixed the bound, in particular from
the recent improvements in the error analysis.
------------------------------------------------------------------------
r12006 | zimmerma | 2017-12-18 16:21:36 +0000 (Mon, 18 Dec 2017) | 3 lines
Changed paths:
   M /trunk/src/mul.c

[src/mul.c] we should compare the smaller size and not the larger one to
	    MPFR_MUL_THRESHOLD or MPFR_SQR_THRESHOLD for Mulders' short product

------------------------------------------------------------------------
r12005 | zimmerma | 2017-12-18 16:17:19 +0000 (Mon, 18 Dec 2017) | 3 lines
Changed paths:
   M /trunk/src/mul.c
   M /trunk/tests/tmul_d.c

[src/mul.c] with Mulders', convert RNDF to RNDZ
[tests/tmul_d.c] added a non-regression test

------------------------------------------------------------------------
r12004 | vlefevre | 2017-12-18 16:04:59 +0000 (Mon, 18 Dec 2017) | 1 line
Changed paths:
   M /trunk/doc/algorithms.tex

[doc/algorithms.tex] mpfr_tanh: corrected bounds (thanks to Paul).
------------------------------------------------------------------------
r12003 | vlefevre | 2017-12-18 15:54:05 +0000 (Mon, 18 Dec 2017) | 1 line
Changed paths:
   M /trunk/doc/algorithms.tex

[doc/algorithms.tex] mpfr_tanh: detailed some inequalities.
------------------------------------------------------------------------
r12002 | zimmerma | 2017-12-18 15:06:45 +0000 (Mon, 18 Dec 2017) | 4 lines
Changed paths:
   M /trunk/src/div.c
   M /trunk/tests/tdiv.c
   M /trunk/tests/ttan.c

[src/div.c] fixed bug in mpfr_div2_approx()
[tests/tdiv.c] added non-regression test
[tests/ttan.c] added test triggering bug in mpfr_div2_approx()

------------------------------------------------------------------------
r12001 | vlefevre | 2017-12-18 14:44:33 +0000 (Mon, 18 Dec 2017) | 1 line
Changed paths:
   M /trunk/doc/algorithms.tex

[doc/algorithms.tex] mpfr_tanh: resolved both FIXME's.
------------------------------------------------------------------------
r12000 | vlefevre | 2017-12-18 13:37:07 +0000 (Mon, 18 Dec 2017) | 4 lines
Changed paths:
   M /trunk/doc/algorithms.tex

[doc/algorithms.tex] mpfr_tanh: corrected a part of the error analysis
(2^k+4 ≤ |theta_4|^(−1/2) was not necessarily true, since theta_4 can
be very small). As a consequence, the lemma can be simplified/improved
(first FIXME). Added a second FIXME on a condition that is not checked.
------------------------------------------------------------------------
r11999 | vlefevre | 2017-12-18 12:22:26 +0000 (Mon, 18 Dec 2017) | 1 line
Changed paths:
   M /trunk/doc/algorithms.tex

[doc/algorithms.tex] mpfr_tanh: missing absolute value; added a \cdot.
------------------------------------------------------------------------
r11998 | vlefevre | 2017-12-18 12:15:31 +0000 (Mon, 18 Dec 2017) | 1 line
Changed paths:
   M /trunk/src/exp2.c
   M /trunk/tests/texp2.c

Removed trailing whitespace.
------------------------------------------------------------------------
r11997 | vlefevre | 2017-12-18 12:08:36 +0000 (Mon, 18 Dec 2017) | 1 line
Changed paths:
   M /trunk/doc/algorithms.tex

[doc/algorithms.tex] Added another \cdot for readability.
------------------------------------------------------------------------
r11996 | zimmerma | 2017-12-18 12:01:41 +0000 (Mon, 18 Dec 2017) | 2 lines
Changed paths:
   M /trunk/src/exp2.c

[src/exp2.c] added FIXME

------------------------------------------------------------------------
r11995 | vlefevre | 2017-12-18 11:55:11 +0000 (Mon, 18 Dec 2017) | 7 lines
Changed paths:
   M /trunk/doc/algorithms.tex

[doc/algorithms.tex] Minor corrections for hyperbolic tangent function:
  * "e" had two different meanings (BTW, the constant e should actually
    be written \mathrm{e} everywhere in the document).
  * Use \left...\right instead of |...| when it contains an expression
    starting with \log (the latter was confusing pdflatex, which added
    a spurious space before \log).
  * Added some \cdot for better readability.
------------------------------------------------------------------------
r11994 | zimmerma | 2017-12-18 11:36:15 +0000 (Mon, 18 Dec 2017) | 3 lines
Changed paths:
   M /trunk/src/exp2.c
   M /trunk/tests/texp2.c

[src/exp2.c] fixed bug near underflow
[tests/texp2.c] added non-regression test

------------------------------------------------------------------------
r11993 | zimmerma | 2017-12-18 08:51:06 +0000 (Mon, 18 Dec 2017) | 9 lines
Changed paths:
   M /trunk/doc/algorithms.tex
   M /trunk/src/tanh.c
   M /trunk/tests/ttanh.c

[tests/ttanh.c] added test for bug in mpfr_tanh
[doc/algorithms.tex] fixed error analysis for mpfr_tanh
[src/tanh.c] fixed error analysis
Note after r12016: Even though mpfr_tanh was incorrect, the failure
of the test added in ttanh.c was actually *only* due to a bug in the
mpfr_div code specific to the trunk (fixed in r12002), i.e. this was
not a non-regression test for the mpfr_tanh bug itself (in particular,
this test does not introduce a failure in the 3.1 branch, which still
has the same incorrect mpfr_tanh code but a correct mpfr_div).
------------------------------------------------------------------------
r11991 | vlefevre | 2017-12-18 00:04:58 +0000 (Mon, 18 Dec 2017) | 1 line
Changed paths:
   M /trunk/INSTALL
   M /trunk/VERSION
   M /trunk/configure.ac
   M /trunk/doc/mpfr.texi
   M /trunk/src/mpfr.h
   M /trunk/src/version.c

Updated version to 4.1.0-dev again.
------------------------------------------------------------------------
r11989 | vlefevre | 2017-12-17 23:57:39 +0000 (Sun, 17 Dec 2017) | 1 line
Changed paths:
   M /trunk/INSTALL
   M /trunk/VERSION
   M /trunk/configure.ac
   M /trunk/doc/mpfr.texi
   M /trunk/src/mpfr.h
   M /trunk/src/version.c

Updated version to 4.0.0-rc2 for an attempt to replace the 4.0 branch.
------------------------------------------------------------------------
r11988 | vlefevre | 2017-12-17 23:52:26 +0000 (Sun, 17 Dec 2017) | 1 line
Changed paths:
   M /trunk/ChangeLog

ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v".
------------------------------------------------------------------------
r11987 | zimmerma | 2017-12-17 16:23:21 +0000 (Sun, 17 Dec 2017) | 2 lines
Changed paths:
   M /trunk/src/add1sp.c

[src/add1sp.c] fix bug in mpfr_add1sp3() in case d=GMP_NUMB_BITS

------------------------------------------------------------------------
r11986 | zimmerma | 2017-12-17 15:16:48 +0000 (Sun, 17 Dec 2017) | 14 lines
Changed paths:
   M /trunk/tests/tadd1sp.c

[tests/tadd1sp.c] added test for new bug (still to be fixed):

Seed GMP_CHECK_RANDOMIZE=1514385177 (include this in bug reports)
add1 & add1sp return different values for MPFR_RNDN
Prec_a = 137, Prec_b = 137, Prec_c = 137
B = 0.11111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000E-66
C = 0.11111111111111111111111111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000110000E-2

add1  : 0.10000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000001000E-1
add1sp: 0.11111111111111111111111111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000010000E-2
Inexact sp = 0 | Inexact = 0
Flags sp = 8 | Flags = 8
add1sp.c:89: MPFR assertion failed: 0

------------------------------------------------------------------------
r11981 | vlefevre | 2017-12-15 02:44:49 +0000 (Fri, 15 Dec 2017) | 1 line
Changed paths:
   M /trunk/src/root.c

[src/root.c] Minor comment correction.
------------------------------------------------------------------------
r11980 | vlefevre | 2017-12-15 02:36:50 +0000 (Fri, 15 Dec 2017) | 4 lines
Changed paths:
   M /trunk/src/root.c
   M /trunk/tests/troot.c

[src/root.c] Completed fix from r11978, as x=-1 was affected too. Also
  added comments explaining that mpfr_root_aux assumes |x| ≠ 1 and why.
  Hence the need of a filter on |x| = 1.
[tests/troot.c] Added test for x = -1.
------------------------------------------------------------------------
r11979 | vlefevre | 2017-12-15 01:44:11 +0000 (Fri, 15 Dec 2017) | 1 line
Changed paths:
   M /trunk/tests/troot.c

[tests/troot.c] Replaced mpfr_root by TF (like in the other tests).
------------------------------------------------------------------------
r11978 | zimmerma | 2017-12-14 10:22:32 +0000 (Thu, 14 Dec 2017) | 3 lines
Changed paths:
   M /trunk/src/root.c
   M /trunk/tests/troot.c

[src/root.c] fixed bug when x=1
[tests/troot.c] added non-regression test

------------------------------------------------------------------------
r11977 | vlefevre | 2017-12-14 07:57:05 +0000 (Thu, 14 Dec 2017) | 2 lines
Changed paths:
   M /trunk/tests/tsub1sp.c

[tests/tsub1sp.c] Corrected a type. And mpfr_equal_p being a predicate
function, it's better to use Boolean operators on it.
------------------------------------------------------------------------
r11976 | zimmerma | 2017-12-14 07:35:35 +0000 (Thu, 14 Dec 2017) | 2 lines
Changed paths:
   M /trunk/tests/tsub1sp.c

[tests/tsub1sp.c] added a generic test for bug20171213()

------------------------------------------------------------------------
r11975 | vlefevre | 2017-12-14 02:17:05 +0000 (Thu, 14 Dec 2017) | 7 lines
Changed paths:
   M /trunk/src/mul.c
   M /trunk/src/sqr.c

[src/{mul.c,sqr.c}] Minor changes, making code similar to sub1sp.c.
Checked with
  grep -A 1 'sb *>>' src/*.c
that the bug fixed in r11974 does not occur in other parts of the code.
BTW, there is much duplicate code, as shown by the grep output, and
using macros could have avoided that, making bugs easier to reproduce
(since a same bug would be duplicate several times).
------------------------------------------------------------------------
r11974 | zimmerma | 2017-12-13 21:18:23 +0000 (Wed, 13 Dec 2017) | 3 lines
Changed paths:
   M /trunk/src/sub1sp.c
   M /trunk/tests/tsub1sp.c

[src/sub1sp.c] fixed bug in mpfr_sub1sp2()
[tests/tsub1sp.c] added non-regression test

------------------------------------------------------------------------
r11973 | vlefevre | 2017-12-13 18:00:00 +0000 (Wed, 13 Dec 2017) | 1 line
Changed paths:
   M /trunk/src/mpf2mpfr.h

[src/mpf2mpfr.h] Added a comment.
------------------------------------------------------------------------
r11972 | zimmerma | 2017-12-13 17:25:07 +0000 (Wed, 13 Dec 2017) | 2 lines
Changed paths:
   M /trunk/src/mpf2mpfr.h

[src/mpf2mpfr.h] missing mpf_inits/mpf_clears

------------------------------------------------------------------------
r11969 | zimmerma | 2017-12-13 07:05:01 +0000 (Wed, 13 Dec 2017) | 2 lines
Changed paths:
   M /trunk/src/mpfr-gmp.h

[src/mpfr-gmp.h] redefine __clz_tab also with gmp-build

------------------------------------------------------------------------
r11968 | vlefevre | 2017-12-12 22:20:41 +0000 (Tue, 12 Dec 2017) | 1 line
Changed paths:
   M /trunk/configure.ac

[configure.ac] Improved error message.
------------------------------------------------------------------------
r11967 | vlefevre | 2017-12-12 15:38:37 +0000 (Tue, 12 Dec 2017) | 1 line
Changed paths:
   M /trunk/tests/talloc.c

[tests/talloc.c] Added a comment about why talloc requires ISO C99.
------------------------------------------------------------------------
r11966 | vlefevre | 2017-12-12 15:35:34 +0000 (Tue, 12 Dec 2017) | 4 lines
Changed paths:
   M /trunk/src/mpfr-cvers.h

[src/mpfr-cvers.h] Removed a useless test for __MPFR_STDC, as one just
needs to check whether we have a C99, C11, etc. implementation (if not
done via a configure test). Particular incompatibilities with the C90
standard should always be checked via a configure test.
------------------------------------------------------------------------
r11965 | vlefevre | 2017-12-12 12:04:01 +0000 (Tue, 12 Dec 2017) | 1 line
Changed paths:
   M /trunk/tests

[tests] Added *.exe to svn:ignore property (files from MinGW builds).
------------------------------------------------------------------------
r11964 | zimmerma | 2017-12-12 11:07:36 +0000 (Tue, 12 Dec 2017) | 2 lines
Changed paths:
   M /trunk/tools/timings-mpfr.c

[tools/timings-mpfr.c] always use clock() [now very accurate under Linux]

------------------------------------------------------------------------
r11963 | vlefevre | 2017-12-12 10:15:50 +0000 (Tue, 12 Dec 2017) | 1 line
Changed paths:
   M /trunk/tools/timings-mpfr.c

[tools/timings-mpfr.c] Updated years in copyright notice.
------------------------------------------------------------------------
r11962 | vlefevre | 2017-12-12 10:14:08 +0000 (Tue, 12 Dec 2017) | 1 line
Changed paths:
   M /trunk/tools/timings-mpfr.c

[tools/timings-mpfr.c] Fixed prototypes.
------------------------------------------------------------------------
r11961 | vlefevre | 2017-12-12 10:12:48 +0000 (Tue, 12 Dec 2017) | 2 lines
Changed paths:
   M /trunk/tools/timings-mpfr.c

[tools/timings-mpfr.c] Added a defined(_MSC_VER). But clock() is
standard, so why not always using it?
------------------------------------------------------------------------
r11960 | vlefevre | 2017-12-12 01:17:00 +0000 (Tue, 12 Dec 2017) | 1 line
Changed paths:
   M /trunk/doc/README.dev

[doc/README.dev] Correction.
------------------------------------------------------------------------
r11959 | vlefevre | 2017-12-12 01:11:31 +0000 (Tue, 12 Dec 2017) | 1 line
Changed paths:
   M /trunk/doc/README.dev

[doc/README.dev] Made formatting consistent (same as configure --help).
------------------------------------------------------------------------
r11958 | vlefevre | 2017-12-12 00:58:43 +0000 (Tue, 12 Dec 2017) | 5 lines
Changed paths:
   M /trunk/tests/reuse.c
   M /trunk/tests/tget_set_d64.c
   M /trunk/tests/tsum.c

Completed r11955: There were also DEBUG macros under the "tests"
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).
------------------------------------------------------------------------
r11957 | vlefevre | 2017-12-12 00:44:45 +0000 (Tue, 12 Dec 2017) | 1 line
Changed paths:
   M /trunk/TODO

[TODO] Removed item on the DEBUG macro (done in r11955).
------------------------------------------------------------------------
r11956 | zimmerma | 2017-12-11 17:36:36 +0000 (Mon, 11 Dec 2017) | 3 lines
Changed paths:
   M /trunk/doc/README.dev
   M /trunk/src/mpfr-impl.h
   M /trunk/tests/tgeneric.c

DEBUG_TGENERIC -> MPFR_DEBUG_TGENERIC
XDEBUG -> MPFR_DISABLE_IEEE_FLOATS

------------------------------------------------------------------------
r11955 | zimmerma | 2017-12-11 17:02:05 +0000 (Mon, 11 Dec 2017) | 3 lines
Changed paths:
   M /trunk/src/add1sp.c
   M /trunk/src/div.c
   M /trunk/src/exp.c
   M /trunk/src/exp_2.c
   M /trunk/src/mpfr-impl.h
   M /trunk/src/sub1.c
   M /trunk/src/sub1sp.c
   M /trunk/src/zeta.c

get rid of DEBUG macro (but keep corresponding commands in comment to help
understanding of the code and debugging)

------------------------------------------------------------------------
r11954 | vlefevre | 2017-12-11 15:33:31 +0000 (Mon, 11 Dec 2017) | 1 line
Changed paths:
   M /trunk/tests/tget_q.c

[tests/tget_q.c] Removed trailing whitespace.
------------------------------------------------------------------------
r11953 | zimmerma | 2017-12-10 07:42:03 +0000 (Sun, 10 Dec 2017) | 2 lines
Changed paths:
   M /trunk/tests/tget_q.c

[tests/tget_q.c] replaced MPFR_ASSERTN(0) by exit(1)

------------------------------------------------------------------------
r11952 | vlefevre | 2017-12-10 02:02:43 +0000 (Sun, 10 Dec 2017) | 2 lines
Changed paths:
   M /trunk/src/get_q.c

[src/get_q.c] Optimization of r11951 suggested by Trevor Spiteri:
https://sympa.inria.fr/sympa/arc/mpfr/2017-12/msg00040.html
------------------------------------------------------------------------
r11951 | zimmerma | 2017-12-09 21:59:21 +0000 (Sat, 09 Dec 2017) | 3 lines
Changed paths:
   M /trunk/src/get_q.c
   M /trunk/tests/tget_q.c

[src/get_q.c] make result of mpfr_get_q in canonical form
[tests/tget_q.c] added non-regression test

------------------------------------------------------------------------
r11950 | zimmerma | 2017-12-09 21:46:01 +0000 (Sat, 09 Dec 2017) | 2 lines
Changed paths:
   M /trunk/src/lngamma.c

[src/lngamma.c] replace call to __gmpfr_ceil_log2 by __gmpfr_int_ceil_log2

------------------------------------------------------------------------
r11949 | vlefevre | 2017-12-09 11:18:20 +0000 (Sat, 09 Dec 2017) | 1 line
Changed paths:
   M /trunk/TODO

[TODO] Rename the DEBUG macro to MPFR_DEBUG?
------------------------------------------------------------------------
r11945 | vlefevre | 2017-12-08 16:15:36 +0000 (Fri, 08 Dec 2017) | 2 lines
Changed paths:
   M /trunk/src/Makefile.am

[src/Makefile.am] Also distribute generic/coverage/mparam.h
(at least useful for testing the distributed tarballs).
------------------------------------------------------------------------
r11942 | vlefevre | 2017-12-08 14:53:52 +0000 (Fri, 08 Dec 2017) | 1 line
Changed paths:
   M /trunk/doc/FAQ.html

[doc] Updated FAQ.html with update-faq.
------------------------------------------------------------------------
r11939 | vlefevre | 2017-12-08 14:30:37 +0000 (Fri, 08 Dec 2017) | 1 line
Changed paths:
   M /trunk/doc/FAQ.html

[doc] Updated FAQ.html with update-faq.
------------------------------------------------------------------------
r11934 | vlefevre | 2017-12-08 13:56:42 +0000 (Fri, 08 Dec 2017) | 5 lines
Changed paths:
   M /trunk/doc/README.dev

[doc/README.dev] "To make a release":
  * Note that this needs to be done in a branch.
  * Swapped (1) and (2), in particular because the coverage might be
    different in -dev versions and it is better to give results closer
    to the release.
------------------------------------------------------------------------
r11933 | vlefevre | 2017-12-08 13:40:19 +0000 (Fri, 08 Dec 2017) | 1 line
Changed paths:
   M /trunk/INSTALL
   M /trunk/VERSION
   M /trunk/configure.ac
   M /trunk/doc/mpfr.texi
   M /trunk/src/mpfr.h
   M /trunk/src/version.c

Updated version to 4.1.0-dev.
------------------------------------------------------------------------
r11931 | vlefevre | 2017-12-08 13:17:51 +0000 (Fri, 08 Dec 2017) | 1 line
Changed paths:
   M /trunk/ChangeLog

ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v".
------------------------------------------------------------------------
r11930 | vlefevre | 2017-12-08 13:09:08 +0000 (Fri, 08 Dec 2017) | 2 lines
Changed paths:
   D /trunk/tests/timings-mpfr.c
   A /trunk/tools/timings-mpfr.c (from /trunk/tests/timings-mpfr.c:11929)

Moved tests/timings-mpfr.c into directory "tools" as it is not part
of the test suite.
------------------------------------------------------------------------
r11929 | vlefevre | 2017-12-07 15:10:29 +0000 (Thu, 07 Dec 2017) | 2 lines
Changed paths:
   M /trunk/src/fpif.c

[src/fpif.c] Removed FIXME about the sign bit of NaN: done in
r11910 and r11920 (documentation + tests).
------------------------------------------------------------------------
r11928 | vlefevre | 2017-12-07 14:58:38 +0000 (Thu, 07 Dec 2017) | 4 lines
Changed paths:
   M /trunk/src/div.c
   M /trunk/src/mul.c
   M /trunk/src/sqr.c
   M /trunk/src/sqrt.c
   M /trunk/src/sub1sp.c

[src] Replaced some "return 0" by "MPFR_RET (0)" (the generated code
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).
------------------------------------------------------------------------
r11927 | zimmerma | 2017-12-06 19:54:25 +0000 (Wed, 06 Dec 2017) | 2 lines
Changed paths:
   M /trunk/src/mpfr-mini-gmp.c
   M /trunk/src/mpfr-mini-gmp.h
   M /trunk/tests/tget_z.c
   M /trunk/tests/tgmpop.c

got rid of mpz_dump (undocumented in GMP)

------------------------------------------------------------------------
r11926 | zimmerma | 2017-12-06 17:14:27 +0000 (Wed, 06 Dec 2017) | 2 lines
Changed paths:
   M /trunk/src/mpfr-mini-gmp.c

[src/mpfr-mini-gmp.c] updated with GMP 6.1.2

------------------------------------------------------------------------
r11925 | vlefevre | 2017-12-06 17:01:14 +0000 (Wed, 06 Dec 2017) | 1 line
Changed paths:
   M /trunk/doc/mpfr.texi

[doc/mpfr.texi] Corrected a Texinfo typography issue.
------------------------------------------------------------------------
r11924 | vlefevre | 2017-12-06 16:45:15 +0000 (Wed, 06 Dec 2017) | 2 lines
Changed paths:
   M /trunk/src/pool.c

[src/pool.c] Updated description. Corrected copyright years as the
pool code itself was introduced in 2014.
------------------------------------------------------------------------
r11923 | vlefevre | 2017-12-06 16:41:54 +0000 (Wed, 06 Dec 2017) | 2 lines
Changed paths:
   M /trunk/tests/timings-mpfr.c

[tests/timings-mpfr.c] Removed trailing whitespace, untabified,
changed GMP_RNDN to MPFR_RNDN.
------------------------------------------------------------------------
r11922 | vlefevre | 2017-12-06 16:34:16 +0000 (Wed, 06 Dec 2017) | 15 lines
Changed paths:
   M /trunk/NEWS
   M /trunk/doc/README.dev
   M /trunk/doc/mpfr.texi
   M /trunk/src/Makefile.am
   M /trunk/src/free_cache.c
   M /trunk/src/mpfr-impl.h
   M /trunk/src/mpfr.h
   A /trunk/src/pool.c (from /trunk/src/free_cache.c:11921)

Cleanup and fixes for the mpz_t pool.
  * Split src/free_cache.c to itself and a new source file src/pool.c
    containing pool related code.
  * src/mpfr-impl.h, src/pool.c: cleanup and fixes. In particular:
      - renamed MPFR_MY_MPZ_INIT to MPFR_POOL_NENTRIES;
      - no longer use GMP's symbols __gmpz_init, etc. directly;
      - improved the condition for mpfr_mpz_init2;
      - fixed the condition in mpfr_mpz_clear (we want to consider
        the allocated size, not the size of the current number).
  * src/Makefile.am: added pool.c.
  * src/mpfr.h: added mpfr_free_pool prototype.
  * doc/mpfr.texi: updated pool description in "Memory Handling";
    new function mpfr_free_pool.
  * doc/README.dev: update due to the rename of MPFR_MY_MPZ_INIT.
  * NEWS: better announcement of the mpz_t pool.
------------------------------------------------------------------------
r11921 | vlefevre | 2017-12-06 14:45:08 +0000 (Wed, 06 Dec 2017) | 1 line
Changed paths:
   M /trunk/doc/mpfr.texi

[doc/mpfr.texi] Small correction concerning the caches.
------------------------------------------------------------------------
r11920 | vlefevre | 2017-12-06 14:06:06 +0000 (Wed, 06 Dec 2017) | 1 line
Changed paths:
   M /trunk/doc/mpfr.texi

[doc/mpfr.texi] More details for mpfr_fpif_export and mpfr_fpif_import.
------------------------------------------------------------------------
r11919 | zimmerma | 2017-12-06 12:58:31 +0000 (Wed, 06 Dec 2017) | 2 lines
Changed paths:
   A /trunk/tests/timings-mpfr.c

[timings-mpfr.c] test file for measuring timings (added -p option)

------------------------------------------------------------------------
r11918 | vlefevre | 2017-12-06 12:45:40 +0000 (Wed, 06 Dec 2017) | 1 line
Changed paths:
   M /trunk/INSTALL
   M /trunk/src/rec_sqrt.c

Updated the remaining www.loria.fr URL's.
------------------------------------------------------------------------
r11917 | vlefevre | 2017-12-06 12:44:04 +0000 (Wed, 06 Dec 2017) | 1 line
Changed paths:
   M /trunk/doc/algorithms.bib

[doc/algorithms.bib] Updated URL's.
------------------------------------------------------------------------
r11916 | vlefevre | 2017-12-06 12:37:48 +0000 (Wed, 06 Dec 2017) | 1 line
Changed paths:
   M /trunk/doc/mpfr.texi

[doc/mpfr.texi] References: typography; updated a URL.
------------------------------------------------------------------------
r11914 | zimmerma | 2017-12-06 10:15:40 +0000 (Wed, 06 Dec 2017) | 2 lines
Changed paths:
   M /trunk/doc/mpfr.texi

[mpfr.texi] updated reference to "Modern Computer Arithmetic"

------------------------------------------------------------------------
r11913 | zimmerma | 2017-12-06 09:59:31 +0000 (Wed, 06 Dec 2017) | 2 lines
Changed paths:
   M /trunk/src/free_cache.c

[free_cache.c] limit the size of objects in the mpz_t pool

------------------------------------------------------------------------
r11912 | vlefevre | 2017-12-06 09:43:02 +0000 (Wed, 06 Dec 2017) | 3 lines
Changed paths:
   M /trunk/src/free_cache.c

[src/free_cache.c] Added a comment for the mpz_t pool, and a suggestion
for mpfr_mpz_clear so that the pool will not take too much memory while
keeping a possible benefit for very small precision.
------------------------------------------------------------------------
r11911 | vlefevre | 2017-12-05 23:33:58 +0000 (Tue, 05 Dec 2017) | 1 line
Changed paths:
   M /trunk/src/mpfr.h

[src/mpfr.h] Made box around code examples for clarity and grep.
------------------------------------------------------------------------
r11910 | vlefevre | 2017-12-05 16:17:36 +0000 (Tue, 05 Dec 2017) | 2 lines
Changed paths:
   M /trunk/doc/mpfr.texi
   M /trunk/tests/tfpif.c

[doc/mpfr.texi] For mpfr_fpif_export: the sign of a NaN is stored.
[tests/tfpif.c] Test the sign of NaN (in particular).
------------------------------------------------------------------------
r11909 | vlefevre | 2017-12-05 15:57:33 +0000 (Tue, 05 Dec 2017) | 1 line
Changed paths:
   M /trunk/doc/mpfr.texi

[doc/mpfr.texi] Updated references.
------------------------------------------------------------------------
r11908 | vlefevre | 2017-12-05 15:00:52 +0000 (Tue, 05 Dec 2017) | 2 lines
Changed paths:
   M /trunk/doc/mpfr.texi

[doc/mpfr.texi] Update about 0 of type without signed zeros, as in
mpfr_div_ui.
------------------------------------------------------------------------
r11907 | vlefevre | 2017-12-05 13:43:39 +0000 (Tue, 05 Dec 2017) | 2 lines
Changed paths:
   M /trunk/doc/mpfr.texi

[doc/mpfr.texi] Document the behavior of mpfr_ui_pow and mpfr_ui_pow_ui
on the integer 0 (0 does not have a sign here).
------------------------------------------------------------------------
r11906 | zimmerma | 2017-12-05 10:24:20 +0000 (Tue, 05 Dec 2017) | 2 lines
Changed paths:
   M /trunk/doc/mini-gmp

[doc/mini-gmp] added information about result of "make check"

------------------------------------------------------------------------
r11905 | vlefevre | 2017-12-05 10:21:46 +0000 (Tue, 05 Dec 2017) | 1 line
Changed paths:
   M /trunk/src/mpfr-gmp.h

[src/mpfr-gmp.h] Removed old code for pre-GMP-5 versions.
------------------------------------------------------------------------
r11904 | vlefevre | 2017-12-05 10:20:06 +0000 (Tue, 05 Dec 2017) | 2 lines
Changed paths:
   M /trunk/src/urandomb.c

[src/urandomb.c] Removed an obsolete "#if __MPFR_GMP(5,0,0)" as we now
require GMP 5.0+ and mp_bitcnt_t is also defined by mini-gmp.
------------------------------------------------------------------------
r11902 | vlefevre | 2017-12-05 10:01:32 +0000 (Tue, 05 Dec 2017) | 4 lines
Changed paths:
   M /trunk/src/mpfr-gmp.h

[src/mpfr-gmp.h] Removed the code that defined mpn_copyi and mpn_copyd
macros for GMP < 5, since MPFR now requires GMP 5.0+ and these functions
are also defined by mini-gmp (these macros were used by mini-gmp only
because mini-gmp does not define GMP_VERSION).
------------------------------------------------------------------------
r11901 | vlefevre | 2017-12-05 09:52:56 +0000 (Tue, 05 Dec 2017) | 2 lines
Changed paths:
   M /trunk/src/mpfr-gmp.h

[src/mpfr-gmp.h] Missing parentheses around parameters in mpn_copyi
and mpn_copyd macro definitions.
------------------------------------------------------------------------
r11900 | zimmerma | 2017-12-05 09:44:49 +0000 (Tue, 05 Dec 2017) | 2 lines
Changed paths:
   M /trunk/src/mpfr-gmp.h

fixed bug in replacement function for copyi and copyd (found with mini-gmp)

------------------------------------------------------------------------
r11899 | zimmerma | 2017-12-05 09:43:54 +0000 (Tue, 05 Dec 2017) | 2 lines
Changed paths:
   M /trunk/doc/mini-gmp

add --disable-shared for mini-gmp (not tested yet with dynamic linking)

------------------------------------------------------------------------
r11898 | vlefevre | 2017-12-05 09:09:16 +0000 (Tue, 05 Dec 2017) | 2 lines
Changed paths:
   M /trunk/src/mpfr.h

[src/mpfr.h] Explain how to avoid the "... is deprecated" warning when
testing a deprecated function.
------------------------------------------------------------------------
r11897 | vlefevre | 2017-12-05 08:52:43 +0000 (Tue, 05 Dec 2017) | 2 lines
Changed paths:
   M /trunk/doc/README.dev

[doc/README.dev] Removed a -Wno-error=deprecated-declarations as
the specific warnings are now avoided (r11896).
------------------------------------------------------------------------
r11896 | vlefevre | 2017-12-05 08:47:25 +0000 (Tue, 05 Dec 2017) | 2 lines
Changed paths:
   M /trunk/src/mpfr.h
   M /trunk/tests/tgrandom.c
   M /trunk/tests/tpow.c
   M /trunk/tests/troot.c

Disable the "deprecated" attribute of deprecated functions *only* for
the tests of these functions, to avoid the corresponding warnings.
------------------------------------------------------------------------
r11895 | vlefevre | 2017-12-05 08:34:13 +0000 (Tue, 05 Dec 2017) | 1 line
Changed paths:
   M /trunk/src/dump.c
   M /trunk/tests/trint.c

Removed trailing whietespace.
------------------------------------------------------------------------
r11894 | zimmerma | 2017-12-05 08:16:00 +0000 (Tue, 05 Dec 2017) | 2 lines
Changed paths:
   M /trunk/src/mpfr-mini-gmp.c
   M /trunk/src/mpfr-mini-gmp.h
   M /trunk/tests/terandom.c
   M /trunk/tests/tgrandom.c
   M /trunk/tests/tnrandom.c
   M /trunk/tests/trandom.c
   M /trunk/tests/turandom.c

fixed compiler warnings with mini-gmp

------------------------------------------------------------------------
r11893 | vlefevre | 2017-12-04 22:47:09 +0000 (Mon, 04 Dec 2017) | 2 lines
Changed paths:
   M /trunk/src/dump.c
   M /trunk/src/fpif.c
   M /trunk/src/inp_str.c
   M /trunk/src/mpfr-impl.h
   M /trunk/src/out_str.c
   M /trunk/tests/mpfr-test.h
   M /trunk/tests/tvalist.c

Simplified the use of MPFR_USE_FILE since <stdio.h> (<cstdio> for C++)
is unconditionally included.
------------------------------------------------------------------------
r11892 | vlefevre | 2017-12-04 22:20:08 +0000 (Mon, 04 Dec 2017) | 1 line
Changed paths:
   R /trunk/doc/texinfo.tex (from /trunk/doc/texinfo.tex:11890)

Restored the history (and mergedinfo) of doc/texinfo.tex
------------------------------------------------------------------------
r11891 | zimmerma | 2017-12-04 19:01:20 +0000 (Mon, 04 Dec 2017) | 2 lines
Changed paths:
   M /trunk/doc/mini-gmp
   R /trunk/doc/texinfo.tex
   M /trunk/src/dump.c
   M /trunk/src/fpif.c
   M /trunk/src/get_q.c
   M /trunk/src/gmp_op.c
   M /trunk/src/inp_str.c
   M /trunk/src/mpfr-mini-gmp.c
   M /trunk/src/mpfr-mini-gmp.h
   M /trunk/src/mpfr.h
   M /trunk/src/out_str.c
   M /trunk/src/set_q.c
   M /trunk/tests/mpfr-test.h
   M /trunk/tests/tget_q.c
   M /trunk/tests/tget_z.c
   M /trunk/tests/trint.c

make compilation work again (make + make check) with mini-gmp

------------------------------------------------------------------------
r11890 | vlefevre | 2017-12-04 15:05:05 +0000 (Mon, 04 Dec 2017) | 1 line
Changed paths:
   M /trunk/src/Makefile.am

Improved portability of the check-gmp-symbols make rule.
------------------------------------------------------------------------
r11889 | vlefevre | 2017-12-04 13:43:59 +0000 (Mon, 04 Dec 2017) | 1 line
Changed paths:
   M /trunk/src/fpif.c

[src/fpif.c] Clarification.
------------------------------------------------------------------------
r11888 | vlefevre | 2017-12-04 13:37:19 +0000 (Mon, 04 Dec 2017) | 3 lines
Changed paths:
   M /trunk/tests/tfpif.c
   M /trunk/tests/tfpif_r1.dat

[tests]
  * tfpif.c: in doit(), also test the negative versions of the numbers.
  * tfpif_r1.dat: update.
------------------------------------------------------------------------
r11887 | vlefevre | 2017-12-04 11:36:07 +0000 (Mon, 04 Dec 2017) | 3 lines
Changed paths:
   M /trunk/src/get_str.c
   M /trunk/src/vasprintf.c

[src] Update about the internal use of mpfr_get_str.
  * get_str.c: updated a comment.
  * vasprintf.c: added assertions.
------------------------------------------------------------------------
r11886 | vlefevre | 2017-12-04 11:11:37 +0000 (Mon, 04 Dec 2017) | 1 line
Changed paths:
   M /trunk/doc/mpfr.texi

[doc/mpfr.texi] Updated the month.
------------------------------------------------------------------------
r11885 | vlefevre | 2017-12-04 10:28:55 +0000 (Mon, 04 Dec 2017) | 1 line
Changed paths:
