------------------------------------------------------------------------
r13433 | vlefevre | 2019-01-31 20:33:50 +0000 (Thu, 31 Jan 2019) | 2 lines
Changed paths:
   M /branches/4.0/NEWS

[NEWS] Put the "Option -pedantic is now always removed [...]" line
at the right place (4.0.2, not 4.0.1: r13422 was wrong).
------------------------------------------------------------------------
r13432 | vlefevre | 2019-01-31 20:29:48 +0000 (Thu, 31 Jan 2019) | 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.2.
------------------------------------------------------------------------
r13431 | vlefevre | 2019-01-31 15:59:16 +0000 (Thu, 31 Jan 2019) | 3 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/src/Makefile.am

[src/Makefile.am] In check-exported-symbols, replaced grep by $(GREP)
as usual and like in check-gmp-symbols.
(merged changeset 13429 from the trunk)
------------------------------------------------------------------------
r13424 | vlefevre | 2019-01-30 12:45:13 +0000 (Wed, 30 Jan 2019) | 2 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/configure.ac

[configure.ac] Updated comment about default options in CFLAGS for GCC.
(merged changeset r13423 from the trunk)
------------------------------------------------------------------------
r13422 | vlefevre | 2019-01-30 09:26:44 +0000 (Wed, 30 Jan 2019) | 8 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/INSTALL
   M /branches/4.0/NEWS
   M /branches/4.0/configure.ac

Update about CC / CFLAGS settings from GMP (__GMP_CC / __GMP_CFLAGS).
  * configure.ac: remove -pedantic unconditionally; since r7044, it was
    removed only when logging was enabled, as at that time only logging
    was using C extensions.
  * NEWS: added a line about this change.
  * INSTALL: updated the note about CC / CFLAGS, removing the obsolete
    reference to GMP 4.3.0 at the same time.
(merged changeset r13421 from the trunk)
------------------------------------------------------------------------
r13418 | vlefevre | 2019-01-27 23:08:51 +0000 (Sun, 27 Jan 2019) | 1 line
Changed paths:
   M /branches/4.0/ChangeLog

ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC0 svn log -rHEAD:0 -v".
------------------------------------------------------------------------
r13417 | vlefevre | 2019-01-27 23:01:21 +0000 (Sun, 27 Jan 2019) | 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.2-rc2.
------------------------------------------------------------------------
r13416 | vlefevre | 2019-01-27 18:30:16 +0000 (Sun, 27 Jan 2019) | 38 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/NEWS
   M /branches/4.0/acinclude.m4
   M /branches/4.0/configure.ac
   M /branches/4.0/src/mpfr-impl.h
   M /branches/4.0/src/mpfr-thread.h
   M /branches/4.0/tests
   M /branches/4.0/tests/tversion.c

Shared cache: cleanup and various improvements / corrections.
  * acinclude.m4:
      - test $enable_shared_cache instead of $mpfr_want_shared_cache;
      - check ISO C11 thread support and/or POSIX thread support
        only when necessary;
      - when checking support for POSIX threads (pthread), also check
        that pthread_rwlock_t is supported, as it is needed by MPFR
        and conditionally defined in glibc's bits/pthreadtypes.h (via
        <pthread.h>);
      - with POSIX threads, also set CC="$PTHREAD_CC" as documented by
        ax_pthread (autoconf-archive). This is not guaranteed to work,
        but according to the ax_pthread.m4 source, in the cases where
        "$PTHREAD_CC" != "$CC", not setting it will probably not work
        either;
      - handle --enable-shared-cache early in MPFR_CONFIGS, because
        the use of POSIX threads (pthread) may need to change CC,
        CFLAGS, and LIBS (thus affecting other tests);
      - removed the now useless MPFR_CHECK_SHARED_CACHE function.
  * configure.ac: no longer set the mpfr_want_shared_cache variable,
    as enable_shared_cache (now used) already has the same usage.
  * acinclude.m4, configure.ac: moved the compatibility test of the
    configure options even earlier, from acinclude.m4 to configure.ac,
    just after the code that defines them. Also added an associated
    AC_MSG_CHECKING message for better clarity.
  * src/mpfr-impl.h: added a comment about the cache-related types,
    which depend on the locking methods.
  * src/mpfr-thread.h: fixed the lock macros:
      - in case of failure, one must abort, otherwise this would
        generally be undefined behavior;
      - added missing "do {} while (0)" (currently not mandatory).
  * tests/tversion.c: update concerning the shared cache, to be
    consistent with the other mpfr_buildopt_*_p features:
      - check that mpfr_buildopt_sharedcache_p() and
        MPFR_WANT_SHARED_CACHE match;
      - for the output of the value, test mpfr_buildopt_sharedcache_p()
        instead of the macro.
  * NEWS: update.
(merged changesets r13032,13390-13396,13410,13412 from the trunk)
------------------------------------------------------------------------
r13409 | vlefevre | 2019-01-25 02:00:06 +0000 (Fri, 25 Jan 2019) | 6 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/acinclude.m4
   M /branches/4.0/configure.ac
   M /branches/4.0/tests
   M /branches/4.0/tests/trint.c

[configure.ac] By default (i.e. if CFLAGS is not already set), if
the compiler is GCC not in C++ mode, add the -Wc++-compat warning
since we expect the code to compile with a C++ compiler.
[acinclude.m4,tests/trint.c] Fixed C++ compatibility issues detected
thanks to this option used with -Werror.
(merged changesets r13406-13408 from the trunk)
------------------------------------------------------------------------
r13402 | vlefevre | 2019-01-13 15:39:13 +0000 (Sun, 13 Jan 2019) | 2 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests
   M /branches/4.0/tests/tcheck.c

[tests/tcheck.c] Corrected meaningless error message.
(merged changeset r13401 from the trunk)
------------------------------------------------------------------------
r13400 | vlefevre | 2019-01-13 01:15:11 +0000 (Sun, 13 Jan 2019) | 3 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests
   M /branches/4.0/tests/tversion.c

[tests/tversion.c] Decimal formats: output the encoding type (DPD/BID).
(merged changeset r12776 from the trunk, and as a consequence,
completed the merge of r13003)
------------------------------------------------------------------------
r13399 | vlefevre | 2019-01-13 00:17:11 +0000 (Sun, 13 Jan 2019) | 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.2-dev.
------------------------------------------------------------------------
r13398 | vlefevre | 2019-01-13 00:15:31 +0000 (Sun, 13 Jan 2019) | 3 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/doc/mpfr.texi

[doc/mpfr.texi] Minor correction for non-tex versions.
Thanks to Trevor Spiteri for the bug report.
(merged changeset r13397 from the trunk)
------------------------------------------------------------------------
r13387 | vlefevre | 2019-01-08 13:43:12 +0000 (Tue, 08 Jan 2019) | 1 line
Changed paths:
   M /branches/4.0/ChangeLog

ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC0 svn log -rHEAD:0 -v".
------------------------------------------------------------------------
r13386 | vlefevre | 2019-01-08 13:30:18 +0000 (Tue, 08 Jan 2019) | 3 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests
   M /branches/4.0/tests/tstrtofr.c

[tests/tstrtofr.c] Updated comment about GCC bug 86554: now fixed in
the GCC trunk.
(merged changeset r13385 from the trunk)
------------------------------------------------------------------------
r13384 | vlefevre | 2019-01-07 16:11:57 +0000 (Mon, 07 Jan 2019) | 3 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests
   M /branches/4.0/tests/Makefile.am

[tests/Makefile.am] Replaced "env -u DISPLAY" by "env DISPLAY=''" as
the -u option is not supported by NetBSD.
(merged changeset r13383 from the trunk)
------------------------------------------------------------------------
r13382 | vlefevre | 2019-01-07 15:22:38 +0000 (Mon, 07 Jan 2019) | 1 line
Changed paths:
   M /branches/4.0/ChangeLog

ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC0 svn log -rHEAD:0 -v".
------------------------------------------------------------------------
r13381 | vlefevre | 2019-01-07 15:17:51 +0000 (Mon, 07 Jan 2019) | 4 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/COPYING
   M /branches/4.0/COPYING.LESSER

Updated files:
  * COPYING from https://www.gnu.org/licenses/gpl-3.0.txt
  * COPYING.LESSER from https://www.gnu.org/licenses/lgpl-3.0.txt
These are URL updates and cosmetic changes.
------------------------------------------------------------------------
r13379 | vlefevre | 2019-01-07 14:32:20 +0000 (Mon, 07 Jan 2019) | 4 lines
Changed paths:
   M /branches/4.0/ChangeLog

ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC0 svn log -rHEAD:0 -v".
Note: For r5400, this changes an incorrect update done via r13373 back
to the old log message, as the URL in this log message here describes
a change in one of the files.
------------------------------------------------------------------------
r13377 | vlefevre | 2019-01-07 14:06:05 +0000 (Mon, 07 Jan 2019) | 2 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/doc/README.dev

[doc/README.dev] Updated some URL's (http → https).
(merged changeset r13376 from the trunk)
------------------------------------------------------------------------
r13375 | vlefevre | 2019-01-07 13:57:16 +0000 (Mon, 07 Jan 2019) | 1 line
Changed paths:
   M /branches/4.0/doc/texinfo.tex

[doc/texinfo.tex] Update to 2018-02-12.17 with "autoreconf -i -f".
------------------------------------------------------------------------
r13373 | vlefevre | 2019-01-07 13:53:20 +0000 (Mon, 07 Jan 2019) | 3 lines
Changed paths:
   M /branches/4.0/BUGS
   M /branches/4.0/COPYING
   M /branches/4.0/ChangeLog
   M /branches/4.0/INSTALL
   M /branches/4.0/NEWS
   M /branches/4.0/README
   M /branches/4.0/TODO
   M /branches/4.0/acinclude.m4
   M /branches/4.0/configure.ac
   M /branches/4.0/doc/FAQ.html
   M /branches/4.0/doc/README.dev
   M /branches/4.0/doc/faq.xsl
   M /branches/4.0/doc/fdl.texi
   M /branches/4.0/examples/can_round.c
   M /branches/4.0/examples/divworst.c
   M /branches/4.0/examples/rndo-add.c
   M /branches/4.0/examples/sample.c
   M /branches/4.0/examples/version.c
   M /branches/4.0/src/abort_prec_max.c
   M /branches/4.0/src/acos.c
   M /branches/4.0/src/acosh.c
   M /branches/4.0/src/add.c
   M /branches/4.0/src/add1.c
   M /branches/4.0/src/add1sp.c
   M /branches/4.0/src/add_d.c
   M /branches/4.0/src/add_ui.c
   M /branches/4.0/src/agm.c
   M /branches/4.0/src/ai.c
   M /branches/4.0/src/amd/amdfam10/mparam.h
   M /branches/4.0/src/amd/athlon/mparam.h
   M /branches/4.0/src/amd/k8/mparam.h
   M /branches/4.0/src/arm/mparam.h
   M /branches/4.0/src/asin.c
   M /branches/4.0/src/asinh.c
   M /branches/4.0/src/atan.c
   M /branches/4.0/src/atan2.c
   M /branches/4.0/src/atanh.c
   M /branches/4.0/src/bernoulli.c
   M /branches/4.0/src/beta.c
   M /branches/4.0/src/buildopt.c
   M /branches/4.0/src/cache.c
   M /branches/4.0/src/cbrt.c
   M /branches/4.0/src/check.c
   M /branches/4.0/src/clear.c
   M /branches/4.0/src/clears.c
   M /branches/4.0/src/cmp.c
   M /branches/4.0/src/cmp2.c
   M /branches/4.0/src/cmp_abs.c
   M /branches/4.0/src/cmp_d.c
   M /branches/4.0/src/cmp_ld.c
   M /branches/4.0/src/cmp_si.c
   M /branches/4.0/src/cmp_ui.c
   M /branches/4.0/src/comparisons.c
   M /branches/4.0/src/const_catalan.c
   M /branches/4.0/src/const_euler.c
   M /branches/4.0/src/const_log2.c
   M /branches/4.0/src/const_pi.c
   M /branches/4.0/src/constant.c
   M /branches/4.0/src/copysign.c
   M /branches/4.0/src/cos.c
   M /branches/4.0/src/cosh.c
   M /branches/4.0/src/cot.c
   M /branches/4.0/src/coth.c
   M /branches/4.0/src/csc.c
   M /branches/4.0/src/csch.c
   M /branches/4.0/src/d_div.c
   M /branches/4.0/src/d_sub.c
   M /branches/4.0/src/digamma.c
   M /branches/4.0/src/dim.c
   M /branches/4.0/src/div.c
   M /branches/4.0/src/div_2exp.c
   M /branches/4.0/src/div_2si.c
   M /branches/4.0/src/div_2ui.c
   M /branches/4.0/src/div_d.c
   M /branches/4.0/src/div_ui.c
   M /branches/4.0/src/dump.c
   M /branches/4.0/src/eint.c
   M /branches/4.0/src/eq.c
   M /branches/4.0/src/erandom.c
   M /branches/4.0/src/erf.c
   M /branches/4.0/src/erfc.c
   M /branches/4.0/src/exceptions.c
   M /branches/4.0/src/exp.c
   M /branches/4.0/src/exp10.c
   M /branches/4.0/src/exp2.c
   M /branches/4.0/src/exp3.c
   M /branches/4.0/src/exp_2.c
   M /branches/4.0/src/expm1.c
   M /branches/4.0/src/extract.c
   M /branches/4.0/src/factorial.c
   M /branches/4.0/src/fits_intmax.c
   M /branches/4.0/src/fits_s.h
   M /branches/4.0/src/fits_sint.c
   M /branches/4.0/src/fits_slong.c
   M /branches/4.0/src/fits_sshort.c
   M /branches/4.0/src/fits_u.h
   M /branches/4.0/src/fits_uint.c
   M /branches/4.0/src/fits_uintmax.c
   M /branches/4.0/src/fits_ulong.c
   M /branches/4.0/src/fits_ushort.c
   M /branches/4.0/src/fma.c
   M /branches/4.0/src/fmma.c
   M /branches/4.0/src/fms.c
   M /branches/4.0/src/fpif.c
   M /branches/4.0/src/frac.c
   M /branches/4.0/src/free_cache.c
   M /branches/4.0/src/frexp.c
   M /branches/4.0/src/gamma.c
   M /branches/4.0/src/gamma_inc.c
   M /branches/4.0/src/gammaonethird.c
   M /branches/4.0/src/gen_inverse.h
   M /branches/4.0/src/generic/coverage/mparam.h
   M /branches/4.0/src/generic/mparam.h
   M /branches/4.0/src/get_d.c
   M /branches/4.0/src/get_d64.c
   M /branches/4.0/src/get_exp.c
   M /branches/4.0/src/get_f.c
   M /branches/4.0/src/get_float128.c
   M /branches/4.0/src/get_flt.c
   M /branches/4.0/src/get_ld.c
   M /branches/4.0/src/get_q.c
   M /branches/4.0/src/get_si.c
   M /branches/4.0/src/get_sj.c
   M /branches/4.0/src/get_str.c
   M /branches/4.0/src/get_ui.c
   M /branches/4.0/src/get_uj.c
   M /branches/4.0/src/get_z.c
   M /branches/4.0/src/get_z_exp.c
   M /branches/4.0/src/gmp_op.c
   M /branches/4.0/src/grandom.c
   M /branches/4.0/src/hppa/mparam.h
   M /branches/4.0/src/hypot.c
   M /branches/4.0/src/ia64/mparam.h
   M /branches/4.0/src/ieee_floats.h
   M /branches/4.0/src/init.c
   M /branches/4.0/src/init2.c
   M /branches/4.0/src/inits.c
   M /branches/4.0/src/inits2.c
   M /branches/4.0/src/inp_str.c
   M /branches/4.0/src/int_ceil_log2.c
   M /branches/4.0/src/invert_limb.h
   M /branches/4.0/src/invsqrt_limb.h
   M /branches/4.0/src/isinf.c
   M /branches/4.0/src/isinteger.c
   M /branches/4.0/src/isnan.c
   M /branches/4.0/src/isnum.c
   M /branches/4.0/src/isqrt.c
   M /branches/4.0/src/isregular.c
   M /branches/4.0/src/iszero.c
   M /branches/4.0/src/jn.c
   M /branches/4.0/src/jyn_asympt.c
   M /branches/4.0/src/li2.c
   M /branches/4.0/src/lngamma.c
   M /branches/4.0/src/log.c
   M /branches/4.0/src/log10.c
   M /branches/4.0/src/log1p.c
   M /branches/4.0/src/log2.c
   M /branches/4.0/src/log_ui.c
   M /branches/4.0/src/logging.c
   M /branches/4.0/src/min_prec.c
   M /branches/4.0/src/minmax.c
   M /branches/4.0/src/mips/mparam.h
   M /branches/4.0/src/modf.c
   M /branches/4.0/src/mp_clz_tab.c
   M /branches/4.0/src/mparam_h.in
   M /branches/4.0/src/mpf2mpfr.h
   M /branches/4.0/src/mpfr-cvers.h
   M /branches/4.0/src/mpfr-gmp.c
   M /branches/4.0/src/mpfr-gmp.h
   M /branches/4.0/src/mpfr-impl.h
   M /branches/4.0/src/mpfr-intmax.h
   M /branches/4.0/src/mpfr-longlong.h
   M /branches/4.0/src/mpfr-mini-gmp.c
   M /branches/4.0/src/mpfr-mini-gmp.h
   M /branches/4.0/src/mpfr-sassert.h
   M /branches/4.0/src/mpfr-thread.h
   M /branches/4.0/src/mpfr.h
   M /branches/4.0/src/mpn_exp.c
   M /branches/4.0/src/mul.c
   M /branches/4.0/src/mul_2exp.c
   M /branches/4.0/src/mul_2si.c
   M /branches/4.0/src/mul_2ui.c
   M /branches/4.0/src/mul_d.c
   M /branches/4.0/src/mul_ui.c
   M /branches/4.0/src/mulders.c
   M /branches/4.0/src/neg.c
   M /branches/4.0/src/next.c
   M /branches/4.0/src/nrandom.c
   M /branches/4.0/src/odd_p.c
   M /branches/4.0/src/out_str.c
   M /branches/4.0/src/pool.c
   M /branches/4.0/src/pow.c
   M /branches/4.0/src/pow_si.c
   M /branches/4.0/src/pow_ui.c
   M /branches/4.0/src/pow_z.c
   M /branches/4.0/src/powerof2.c
   M /branches/4.0/src/powerpc32/mparam.h
   M /branches/4.0/src/powerpc64/mparam.h
   M /branches/4.0/src/print_raw.c
   M /branches/4.0/src/print_rnd_mode.c
   M /branches/4.0/src/printf.c
   M /branches/4.0/src/random_deviate.c
   M /branches/4.0/src/random_deviate.h
   M /branches/4.0/src/rec_sqrt.c
   M /branches/4.0/src/reldiff.c
   M /branches/4.0/src/rem1.c
   M /branches/4.0/src/rint.c
   M /branches/4.0/src/rndna.c
   M /branches/4.0/src/root.c
   M /branches/4.0/src/round_near_x.c
   M /branches/4.0/src/round_p.c
   M /branches/4.0/src/round_prec.c
   M /branches/4.0/src/round_raw_generic.c
   M /branches/4.0/src/scale2.c
   M /branches/4.0/src/sec.c
   M /branches/4.0/src/sech.c
   M /branches/4.0/src/set.c
   M /branches/4.0/src/set_d.c
   M /branches/4.0/src/set_d64.c
   M /branches/4.0/src/set_dfl_prec.c
   M /branches/4.0/src/set_exp.c
   M /branches/4.0/src/set_f.c
   M /branches/4.0/src/set_float128.c
   M /branches/4.0/src/set_flt.c
   M /branches/4.0/src/set_inf.c
   M /branches/4.0/src/set_ld.c
   M /branches/4.0/src/set_nan.c
   M /branches/4.0/src/set_prc_raw.c
   M /branches/4.0/src/set_prec.c
   M /branches/4.0/src/set_q.c
   M /branches/4.0/src/set_rnd.c
   M /branches/4.0/src/set_si.c
   M /branches/4.0/src/set_si_2exp.c
   M /branches/4.0/src/set_sj.c
   M /branches/4.0/src/set_str.c
   M /branches/4.0/src/set_str_raw.c
   M /branches/4.0/src/set_ui.c
   M /branches/4.0/src/set_ui_2exp.c
   M /branches/4.0/src/set_uj.c
   M /branches/4.0/src/set_z.c
   M /branches/4.0/src/set_z_exp.c
   M /branches/4.0/src/set_zero.c
   M /branches/4.0/src/setmax.c
   M /branches/4.0/src/setmin.c
   M /branches/4.0/src/setsign.c
   M /branches/4.0/src/sgn.c
   M /branches/4.0/src/si_op.c
   M /branches/4.0/src/signbit.c
   M /branches/4.0/src/sin.c
   M /branches/4.0/src/sin_cos.c
   M /branches/4.0/src/sinh.c
   M /branches/4.0/src/sinh_cosh.c
   M /branches/4.0/src/sparc64/mparam.h
   M /branches/4.0/src/sqr.c
   M /branches/4.0/src/sqrt.c
   M /branches/4.0/src/sqrt_ui.c
   M /branches/4.0/src/stack_interface.c
   M /branches/4.0/src/strtofr.c
   M /branches/4.0/src/sub.c
   M /branches/4.0/src/sub1.c
   M /branches/4.0/src/sub1sp.c
   M /branches/4.0/src/sub_d.c
   M /branches/4.0/src/sub_ui.c
   M /branches/4.0/src/subnormal.c
   M /branches/4.0/src/sum.c
   M /branches/4.0/src/swap.c
   M /branches/4.0/src/tan.c
   M /branches/4.0/src/tanh.c
   M /branches/4.0/src/ubf.c
   M /branches/4.0/src/uceil_exp2.c
   M /branches/4.0/src/uceil_log2.c
   M /branches/4.0/src/ufloor_log2.c
   M /branches/4.0/src/ui_div.c
   M /branches/4.0/src/ui_pow.c
   M /branches/4.0/src/ui_pow_ui.c
   M /branches/4.0/src/ui_sub.c
   M /branches/4.0/src/urandom.c
   M /branches/4.0/src/urandomb.c
   M /branches/4.0/src/vasprintf.c
   M /branches/4.0/src/version.c
   M /branches/4.0/src/volatile.c
   M /branches/4.0/src/x86/core2/mparam.h
   M /branches/4.0/src/x86/mparam.h
   M /branches/4.0/src/x86_64/core2/mparam.h
   M /branches/4.0/src/x86_64/corei5/mparam.h
   M /branches/4.0/src/x86_64/pentium4/mparam.h
   M /branches/4.0/src/yn.c
   M /branches/4.0/src/zeta.c
   M /branches/4.0/src/zeta_ui.c
   M /branches/4.0/tests/Makefile.am
   M /branches/4.0/tests/cmp_str.c
   M /branches/4.0/tests/data/digamma
   M /branches/4.0/tests/data/li2
   M /branches/4.0/tests/memory.c
   M /branches/4.0/tests/mpf_compat.c
   M /branches/4.0/tests/mpf_compat.h
   M /branches/4.0/tests/mpfr-test.h
   M /branches/4.0/tests/mpfr_compat.c
   M /branches/4.0/tests/random2.c
   M /branches/4.0/tests/reuse.c
   M /branches/4.0/tests/rnd_mode.c
   M /branches/4.0/tests/tabort_defalloc1.c
   M /branches/4.0/tests/tabort_defalloc2.c
   M /branches/4.0/tests/tabort_prec_max.c
   M /branches/4.0/tests/tabs.c
   M /branches/4.0/tests/tacos.c
   M /branches/4.0/tests/tacosh.c
   M /branches/4.0/tests/tadd.c
   M /branches/4.0/tests/tadd1sp.c
   M /branches/4.0/tests/tadd_d.c
   M /branches/4.0/tests/tadd_ui.c
   M /branches/4.0/tests/tagm.c
   M /branches/4.0/tests/tai.c
   M /branches/4.0/tests/talloc-cache.c
   M /branches/4.0/tests/talloc.c
   M /branches/4.0/tests/tasin.c
   M /branches/4.0/tests/tasinh.c
   M /branches/4.0/tests/tassert.c
   M /branches/4.0/tests/tatan.c
   M /branches/4.0/tests/tatanh.c
   M /branches/4.0/tests/taway.c
   M /branches/4.0/tests/tbeta.c
   M /branches/4.0/tests/tbuildopt.c
   M /branches/4.0/tests/tcan_round.c
   M /branches/4.0/tests/tcbrt.c
   M /branches/4.0/tests/tcheck.c
   M /branches/4.0/tests/tcmp.c
   M /branches/4.0/tests/tcmp2.c
   M /branches/4.0/tests/tcmp_d.c
   M /branches/4.0/tests/tcmp_ld.c
   M /branches/4.0/tests/tcmp_ui.c
   M /branches/4.0/tests/tcmpabs.c
   M /branches/4.0/tests/tcomparisons.c
   M /branches/4.0/tests/tconst_catalan.c
   M /branches/4.0/tests/tconst_euler.c
   M /branches/4.0/tests/tconst_log2.c
   M /branches/4.0/tests/tconst_pi.c
   M /branches/4.0/tests/tcopysign.c
   M /branches/4.0/tests/tcos.c
   M /branches/4.0/tests/tcosh.c
   M /branches/4.0/tests/tcot.c
   M /branches/4.0/tests/tcoth.c
   M /branches/4.0/tests/tcsc.c
   M /branches/4.0/tests/tcsch.c
   M /branches/4.0/tests/td_div.c
   M /branches/4.0/tests/td_sub.c
   M /branches/4.0/tests/tdigamma.c
   M /branches/4.0/tests/tdim.c
   M /branches/4.0/tests/tdiv.c
   M /branches/4.0/tests/tdiv_d.c
   M /branches/4.0/tests/tdiv_ui.c
   M /branches/4.0/tests/teint.c
   M /branches/4.0/tests/teq.c
   M /branches/4.0/tests/terandom.c
   M /branches/4.0/tests/terandom_chisq.c
   M /branches/4.0/tests/terf.c
   M /branches/4.0/tests/tests.c
   M /branches/4.0/tests/texceptions.c
   M /branches/4.0/tests/texp.c
   M /branches/4.0/tests/texp10.c
   M /branches/4.0/tests/texp2.c
   M /branches/4.0/tests/texpm1.c
   M /branches/4.0/tests/tfactorial.c
   M /branches/4.0/tests/tfits.c
   M /branches/4.0/tests/tfma.c
   M /branches/4.0/tests/tfmma.c
   M /branches/4.0/tests/tfmod.c
   M /branches/4.0/tests/tfms.c
   M /branches/4.0/tests/tfpif.c
   M /branches/4.0/tests/tfprintf.c
   M /branches/4.0/tests/tfrac.c
   M /branches/4.0/tests/tfrexp.c
   M /branches/4.0/tests/tgamma.c
   M /branches/4.0/tests/tgamma_inc.c
   M /branches/4.0/tests/tgeneric.c
   M /branches/4.0/tests/tgeneric_ui.c
   M /branches/4.0/tests/tget_d.c
   M /branches/4.0/tests/tget_d_2exp.c
   M /branches/4.0/tests/tget_f.c
   M /branches/4.0/tests/tget_flt.c
   M /branches/4.0/tests/tget_ld_2exp.c
   M /branches/4.0/tests/tget_q.c
   M /branches/4.0/tests/tget_set_d64.c
   M /branches/4.0/tests/tget_sj.c
   M /branches/4.0/tests/tget_str.c
   M /branches/4.0/tests/tget_z.c
   M /branches/4.0/tests/tgmpop.c
   M /branches/4.0/tests/tgrandom.c
   M /branches/4.0/tests/thyperbolic.c
   M /branches/4.0/tests/thypot.c
   M /branches/4.0/tests/tinits.c
   M /branches/4.0/tests/tinp_str.c
   M /branches/4.0/tests/tinternals.c
   M /branches/4.0/tests/tisnan.c
   M /branches/4.0/tests/tisqrt.c
   M /branches/4.0/tests/tj0.c
   M /branches/4.0/tests/tj1.c
   M /branches/4.0/tests/tjn.c
   M /branches/4.0/tests/tl2b.c
   M /branches/4.0/tests/tlgamma.c
   M /branches/4.0/tests/tli2.c
   M /branches/4.0/tests/tlngamma.c
   M /branches/4.0/tests/tlog.c
   M /branches/4.0/tests/tlog10.c
   M /branches/4.0/tests/tlog1p.c
   M /branches/4.0/tests/tlog2.c
   M /branches/4.0/tests/tlog_ui.c
   M /branches/4.0/tests/tmin_prec.c
   M /branches/4.0/tests/tminmax.c
   M /branches/4.0/tests/tmodf.c
   M /branches/4.0/tests/tmul.c
   M /branches/4.0/tests/tmul_2exp.c
   M /branches/4.0/tests/tmul_d.c
   M /branches/4.0/tests/tmul_ui.c
   M /branches/4.0/tests/tnext.c
   M /branches/4.0/tests/tnrandom.c
   M /branches/4.0/tests/tnrandom_chisq.c
   M /branches/4.0/tests/tout_str.c
   M /branches/4.0/tests/toutimpl.c
   M /branches/4.0/tests/tpow.c
   M /branches/4.0/tests/tpow3.c
   M /branches/4.0/tests/tpow_all.c
   M /branches/4.0/tests/tpow_z.c
   M /branches/4.0/tests/tprintf.c
   M /branches/4.0/tests/trandom.c
   M /branches/4.0/tests/trandom_deviate.c
   M /branches/4.0/tests/trec_sqrt.c
   M /branches/4.0/tests/tremquo.c
   M /branches/4.0/tests/trint.c
   M /branches/4.0/tests/trndna.c
   M /branches/4.0/tests/troot.c
   M /branches/4.0/tests/trootn_ui.c
   M /branches/4.0/tests/tround_prec.c
   M /branches/4.0/tests/tsec.c
   M /branches/4.0/tests/tsech.c
   M /branches/4.0/tests/tset.c
   M /branches/4.0/tests/tset_d.c
   M /branches/4.0/tests/tset_exp.c
   M /branches/4.0/tests/tset_f.c
   M /branches/4.0/tests/tset_float128.c
   M /branches/4.0/tests/tset_ld.c
   M /branches/4.0/tests/tset_q.c
   M /branches/4.0/tests/tset_si.c
   M /branches/4.0/tests/tset_sj.c
   M /branches/4.0/tests/tset_str.c
   M /branches/4.0/tests/tset_z.c
   M /branches/4.0/tests/tset_z_exp.c
   M /branches/4.0/tests/tsgn.c
   M /branches/4.0/tests/tsi_op.c
   M /branches/4.0/tests/tsin.c
   M /branches/4.0/tests/tsin_cos.c
   M /branches/4.0/tests/tsinh.c
   M /branches/4.0/tests/tsinh_cosh.c
   M /branches/4.0/tests/tsprintf.c
   M /branches/4.0/tests/tsqr.c
   M /branches/4.0/tests/tsqrt.c
   M /branches/4.0/tests/tsqrt_ui.c
   M /branches/4.0/tests/tstckintc.c
   M /branches/4.0/tests/tstdint.c
   M /branches/4.0/tests/tstrtofr.c
   M /branches/4.0/tests/tsub.c
   M /branches/4.0/tests/tsub1sp.c
   M /branches/4.0/tests/tsub_d.c
   M /branches/4.0/tests/tsub_ui.c
   M /branches/4.0/tests/tsubnormal.c
   M /branches/4.0/tests/tsum.c
   M /branches/4.0/tests/tswap.c
   M /branches/4.0/tests/ttan.c
   M /branches/4.0/tests/ttanh.c
   M /branches/4.0/tests/ttrunc.c
   M /branches/4.0/tests/tui_div.c
   M /branches/4.0/tests/tui_pow.c
   M /branches/4.0/tests/tui_sub.c
   M /branches/4.0/tests/turandom.c
   M /branches/4.0/tests/tvalist.c
   M /branches/4.0/tests/tversion.c
   M /branches/4.0/tests/ty0.c
   M /branches/4.0/tests/ty1.c
   M /branches/4.0/tests/tyn.c
   M /branches/4.0/tests/tzeta.c
   M /branches/4.0/tests/tzeta_ui.c
   M /branches/4.0/tools/bench/benchtime.h
   M /branches/4.0/tools/bench/mpfrbench.c
   M /branches/4.0/tools/get_patches.sh
   M /branches/4.0/tools/mbench/generate.c
   M /branches/4.0/tools/mbench/mfv5-arprec.cc
   M /branches/4.0/tools/mbench/mfv5-cln.cc
   M /branches/4.0/tools/mbench/mfv5-crlibm.cc
   M /branches/4.0/tools/mbench/mfv5-libc.cc
   M /branches/4.0/tools/mbench/mfv5-lidia.cc
   M /branches/4.0/tools/mbench/mfv5-mpf.cc
   M /branches/4.0/tools/mbench/mfv5-mpfr.cc
   M /branches/4.0/tools/mbench/mfv5-ntl.cc
   M /branches/4.0/tools/mbench/mfv5-pari.cc
   M /branches/4.0/tools/mbench/mfv5-void.cc
   M /branches/4.0/tools/mbench/mfv5.cc
   M /branches/4.0/tools/mbench/mfv5.h
   M /branches/4.0/tools/mbench/mpfr-gfx.c
   M /branches/4.0/tools/mbench/mpfr-v4.c
   M /branches/4.0/tools/mbench/mpfr-v6.c
   M /branches/4.0/tools/mbench/timp.h
   M /branches/4.0/tools/timings-mpfr.c
   M /branches/4.0/tune/bidimensional_sample.c
   M /branches/4.0/tune/speed.c
   M /branches/4.0/tune/tuneup.c

Updated the www.gnu.org URL's (http → https) on all the files with:
  perl -pi -e 's,http://www.gnu.org/,https://www.gnu.org/,g' **/*(.)
under zsh.
------------------------------------------------------------------------
r13371 | vlefevre | 2019-01-07 13:35:33 +0000 (Mon, 07 Jan 2019) | 1 line
Changed paths:
   M /branches/4.0/src/Makefile.am

[src/Makefile.am] Updated libmpfr_la_LDFLAGS for MPFR 4.0.2.
------------------------------------------------------------------------
r13370 | vlefevre | 2019-01-07 13:22:53 +0000 (Mon, 07 Jan 2019) | 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.2-rc1.
------------------------------------------------------------------------
r13366 | vlefevre | 2019-01-07 09:39:52 +0000 (Mon, 07 Jan 2019) | 14 lines
Changed paths:
   M /branches/4.0/src/strtofr.c
   M /branches/4.0/tests/tstrtofr.c

[src/strtofr.c] Fixed various issues. In particular, the error analysis
  with associated code was incorrect (due to the bad correction r8384
  of a past bug, later really fixed in r11056). Also adapted the code
  to work with small-size limbs.
[tests/tstrtofr.c] Added tests, including random tests. In particular,
  some part of the code was tested only on hard-to-round cases, meaning
  that some potential issues could not be detected (intermediate results
  were thrown out due to the next Ziv iteration). Moreover, in case of
  failure of some particular test, output the probable cause of this
  failure (GCC bug 86554) with a workaround.
(merged changesets associated with these files r12566-13306,13364-13365
from the trunk)
Note: There may still remain issues with mpfr_strtofr, to be checked
later. At least, the tests do not fail.
------------------------------------------------------------------------
r13363 | vlefevre | 2019-01-04 12:11:10 +0000 (Fri, 04 Jan 2019) | 3 lines
Changed paths:
   M /branches/4.0/src/mpfr-impl.h

[src/mpfr-impl.h] Added a comment with a warning concerning the meaning
of MPFR_EXP_FSPEC (corresponding to the merge of mpfr-impl.h r13299
from the trunk; the other part of this commit with be merged later).
------------------------------------------------------------------------
r13362 | vlefevre | 2019-01-01 21:18:11 +0000 (Tue, 01 Jan 2019) | 1 line
Changed paths:
   M /branches/4.0/doc/mpfr.texi

[doc/mpfr.texi] Updated the month.
------------------------------------------------------------------------
r13360 | vlefevre | 2019-01-01 21:02:47 +0000 (Tue, 01 Jan 2019) | 4 lines
Changed paths:
   M /branches/4.0/BUGS
   M /branches/4.0/INSTALL
   M /branches/4.0/Makefile.am
   M /branches/4.0/NEWS
   M /branches/4.0/README
   M /branches/4.0/TODO
   M /branches/4.0/acinclude.m4
   M /branches/4.0/configure.ac
   M /branches/4.0/doc/FAQ.html
   M /branches/4.0/doc/Makefile.am
   M /branches/4.0/doc/README.dev
   M /branches/4.0/doc/check-typography
   M /branches/4.0/doc/faq.xsl
   M /branches/4.0/doc/mpfr.texi
   M /branches/4.0/examples/can_round.c
   M /branches/4.0/examples/divworst.c
   M /branches/4.0/examples/rndo-add.c
   M /branches/4.0/examples/sample.c
   M /branches/4.0/examples/version.c
   M /branches/4.0/src/Makefile.am
   M /branches/4.0/src/abort_prec_max.c
   M /branches/4.0/src/acos.c
   M /branches/4.0/src/acosh.c
   M /branches/4.0/src/add.c
   M /branches/4.0/src/add1.c
   M /branches/4.0/src/add1sp.c
   M /branches/4.0/src/add_d.c
   M /branches/4.0/src/add_ui.c
   M /branches/4.0/src/agm.c
   M /branches/4.0/src/ai.c
   M /branches/4.0/src/amd/amdfam10/mparam.h
   M /branches/4.0/src/amd/athlon/mparam.h
   M /branches/4.0/src/amd/k8/mparam.h
   M /branches/4.0/src/arm/mparam.h
   M /branches/4.0/src/asin.c
   M /branches/4.0/src/asinh.c
   M /branches/4.0/src/atan.c
   M /branches/4.0/src/atan2.c
   M /branches/4.0/src/atanh.c
   M /branches/4.0/src/bernoulli.c
   M /branches/4.0/src/beta.c
   M /branches/4.0/src/buildopt.c
   M /branches/4.0/src/cache.c
   M /branches/4.0/src/cbrt.c
   M /branches/4.0/src/check.c
   M /branches/4.0/src/clear.c
   M /branches/4.0/src/clears.c
   M /branches/4.0/src/cmp.c
   M /branches/4.0/src/cmp2.c
   M /branches/4.0/src/cmp_abs.c
   M /branches/4.0/src/cmp_d.c
   M /branches/4.0/src/cmp_ld.c
   M /branches/4.0/src/cmp_si.c
   M /branches/4.0/src/cmp_ui.c
   M /branches/4.0/src/comparisons.c
   M /branches/4.0/src/const_catalan.c
   M /branches/4.0/src/const_euler.c
   M /branches/4.0/src/const_log2.c
   M /branches/4.0/src/const_pi.c
   M /branches/4.0/src/constant.c
   M /branches/4.0/src/copysign.c
   M /branches/4.0/src/cos.c
   M /branches/4.0/src/cosh.c
   M /branches/4.0/src/cot.c
   M /branches/4.0/src/coth.c
   M /branches/4.0/src/csc.c
   M /branches/4.0/src/csch.c
   M /branches/4.0/src/d_div.c
   M /branches/4.0/src/d_sub.c
   M /branches/4.0/src/digamma.c
   M /branches/4.0/src/dim.c
   M /branches/4.0/src/div.c
   M /branches/4.0/src/div_2exp.c
   M /branches/4.0/src/div_2si.c
   M /branches/4.0/src/div_2ui.c
   M /branches/4.0/src/div_d.c
   M /branches/4.0/src/div_ui.c
   M /branches/4.0/src/dump.c
   M /branches/4.0/src/eint.c
   M /branches/4.0/src/eq.c
   M /branches/4.0/src/erandom.c
   M /branches/4.0/src/erf.c
   M /branches/4.0/src/erfc.c
   M /branches/4.0/src/exceptions.c
   M /branches/4.0/src/exp.c
   M /branches/4.0/src/exp10.c
   M /branches/4.0/src/exp2.c
   M /branches/4.0/src/exp3.c
   M /branches/4.0/src/exp_2.c
   M /branches/4.0/src/expm1.c
   M /branches/4.0/src/extract.c
   M /branches/4.0/src/factorial.c
   M /branches/4.0/src/fits_intmax.c
   M /branches/4.0/src/fits_s.h
   M /branches/4.0/src/fits_sint.c
   M /branches/4.0/src/fits_slong.c
   M /branches/4.0/src/fits_sshort.c
   M /branches/4.0/src/fits_u.h
   M /branches/4.0/src/fits_uint.c
   M /branches/4.0/src/fits_uintmax.c
   M /branches/4.0/src/fits_ulong.c
   M /branches/4.0/src/fits_ushort.c
   M /branches/4.0/src/fma.c
   M /branches/4.0/src/fmma.c
   M /branches/4.0/src/fms.c
   M /branches/4.0/src/fpif.c
   M /branches/4.0/src/frac.c
   M /branches/4.0/src/free_cache.c
   M /branches/4.0/src/frexp.c
   M /branches/4.0/src/gamma.c
   M /branches/4.0/src/gamma_inc.c
   M /branches/4.0/src/gammaonethird.c
   M /branches/4.0/src/gen_inverse.h
   M /branches/4.0/src/generic/coverage/mparam.h
   M /branches/4.0/src/generic/mparam.h
   M /branches/4.0/src/get_d.c
   M /branches/4.0/src/get_d64.c
   M /branches/4.0/src/get_exp.c
   M /branches/4.0/src/get_f.c
   M /branches/4.0/src/get_float128.c
   M /branches/4.0/src/get_flt.c
   M /branches/4.0/src/get_ld.c
   M /branches/4.0/src/get_q.c
   M /branches/4.0/src/get_si.c
   M /branches/4.0/src/get_sj.c
   M /branches/4.0/src/get_str.c
   M /branches/4.0/src/get_ui.c
   M /branches/4.0/src/get_uj.c
   M /branches/4.0/src/get_z.c
   M /branches/4.0/src/get_z_exp.c
   M /branches/4.0/src/gmp_op.c
   M /branches/4.0/src/grandom.c
   M /branches/4.0/src/hppa/mparam.h
   M /branches/4.0/src/hypot.c
   M /branches/4.0/src/ia64/mparam.h
   M /branches/4.0/src/ieee_floats.h
   M /branches/4.0/src/init.c
   M /branches/4.0/src/init2.c
   M /branches/4.0/src/inits.c
   M /branches/4.0/src/inits2.c
   M /branches/4.0/src/inp_str.c
   M /branches/4.0/src/int_ceil_log2.c
   M /branches/4.0/src/invert_limb.h
   M /branches/4.0/src/invsqrt_limb.h
   M /branches/4.0/src/isinf.c
   M /branches/4.0/src/isinteger.c
   M /branches/4.0/src/isnan.c
   M /branches/4.0/src/isnum.c
   M /branches/4.0/src/isqrt.c
   M /branches/4.0/src/isregular.c
   M /branches/4.0/src/iszero.c
   M /branches/4.0/src/jn.c
   M /branches/4.0/src/jyn_asympt.c
   M /branches/4.0/src/li2.c
   M /branches/4.0/src/lngamma.c
   M /branches/4.0/src/log.c
   M /branches/4.0/src/log10.c
   M /branches/4.0/src/log1p.c
   M /branches/4.0/src/log2.c
   M /branches/4.0/src/log_ui.c
   M /branches/4.0/src/logging.c
   M /branches/4.0/src/min_prec.c
   M /branches/4.0/src/minmax.c
   M /branches/4.0/src/mips/mparam.h
   M /branches/4.0/src/modf.c
   M /branches/4.0/src/mp_clz_tab.c
   M /branches/4.0/src/mparam_h.in
   M /branches/4.0/src/mpf2mpfr.h
   M /branches/4.0/src/mpfr-cvers.h
   M /branches/4.0/src/mpfr-gmp.c
   M /branches/4.0/src/mpfr-gmp.h
   M /branches/4.0/src/mpfr-impl.h
   M /branches/4.0/src/mpfr-intmax.h
   M /branches/4.0/src/mpfr-longlong.h
   M /branches/4.0/src/mpfr-mini-gmp.c
   M /branches/4.0/src/mpfr-mini-gmp.h
   M /branches/4.0/src/mpfr-sassert.h
   M /branches/4.0/src/mpfr-thread.h
   M /branches/4.0/src/mpfr.h
   M /branches/4.0/src/mpn_exp.c
   M /branches/4.0/src/mul.c
   M /branches/4.0/src/mul_2exp.c
   M /branches/4.0/src/mul_2si.c
   M /branches/4.0/src/mul_2ui.c
   M /branches/4.0/src/mul_d.c
   M /branches/4.0/src/mul_ui.c
   M /branches/4.0/src/mulders.c
   M /branches/4.0/src/neg.c
   M /branches/4.0/src/next.c
   M /branches/4.0/src/nrandom.c
   M /branches/4.0/src/odd_p.c
   M /branches/4.0/src/out_str.c
   M /branches/4.0/src/pool.c
   M /branches/4.0/src/pow.c
   M /branches/4.0/src/pow_si.c
   M /branches/4.0/src/pow_ui.c
   M /branches/4.0/src/pow_z.c
   M /branches/4.0/src/powerof2.c
   M /branches/4.0/src/powerpc32/mparam.h
   M /branches/4.0/src/powerpc64/mparam.h
   M /branches/4.0/src/print_raw.c
   M /branches/4.0/src/print_rnd_mode.c
   M /branches/4.0/src/printf.c
   M /branches/4.0/src/random_deviate.c
   M /branches/4.0/src/random_deviate.h
   M /branches/4.0/src/rec_sqrt.c
   M /branches/4.0/src/reldiff.c
   M /branches/4.0/src/rem1.c
   M /branches/4.0/src/rint.c
   M /branches/4.0/src/rndna.c
   M /branches/4.0/src/root.c
   M /branches/4.0/src/round_near_x.c
   M /branches/4.0/src/round_p.c
   M /branches/4.0/src/round_prec.c
   M /branches/4.0/src/round_raw_generic.c
   M /branches/4.0/src/scale2.c
   M /branches/4.0/src/sec.c
   M /branches/4.0/src/sech.c
   M /branches/4.0/src/set.c
   M /branches/4.0/src/set_d.c
   M /branches/4.0/src/set_d64.c
   M /branches/4.0/src/set_dfl_prec.c
   M /branches/4.0/src/set_exp.c
   M /branches/4.0/src/set_f.c
   M /branches/4.0/src/set_float128.c
   M /branches/4.0/src/set_flt.c
   M /branches/4.0/src/set_inf.c
   M /branches/4.0/src/set_ld.c
   M /branches/4.0/src/set_nan.c
   M /branches/4.0/src/set_prc_raw.c
   M /branches/4.0/src/set_prec.c
   M /branches/4.0/src/set_q.c
   M /branches/4.0/src/set_rnd.c
   M /branches/4.0/src/set_si.c
   M /branches/4.0/src/set_si_2exp.c
   M /branches/4.0/src/set_sj.c
   M /branches/4.0/src/set_str.c
   M /branches/4.0/src/set_str_raw.c
   M /branches/4.0/src/set_ui.c
   M /branches/4.0/src/set_ui_2exp.c
   M /branches/4.0/src/set_uj.c
   M /branches/4.0/src/set_z.c
   M /branches/4.0/src/set_z_exp.c
   M /branches/4.0/src/set_zero.c
   M /branches/4.0/src/setmax.c
   M /branches/4.0/src/setmin.c
   M /branches/4.0/src/setsign.c
   M /branches/4.0/src/sgn.c
   M /branches/4.0/src/si_op.c
   M /branches/4.0/src/signbit.c
   M /branches/4.0/src/sin.c
   M /branches/4.0/src/sin_cos.c
   M /branches/4.0/src/sinh.c
   M /branches/4.0/src/sinh_cosh.c
   M /branches/4.0/src/sparc64/mparam.h
   M /branches/4.0/src/sqr.c
   M /branches/4.0/src/sqrt.c
   M /branches/4.0/src/sqrt_ui.c
   M /branches/4.0/src/stack_interface.c
   M /branches/4.0/src/strtofr.c
   M /branches/4.0/src/sub.c
   M /branches/4.0/src/sub1.c
   M /branches/4.0/src/sub1sp.c
   M /branches/4.0/src/sub_d.c
   M /branches/4.0/src/sub_ui.c
   M /branches/4.0/src/subnormal.c
   M /branches/4.0/src/sum.c
   M /branches/4.0/src/swap.c
   M /branches/4.0/src/tan.c
   M /branches/4.0/src/tanh.c
   M /branches/4.0/src/ubf.c
   M /branches/4.0/src/uceil_exp2.c
   M /branches/4.0/src/uceil_log2.c
   M /branches/4.0/src/ufloor_log2.c
   M /branches/4.0/src/ui_div.c
   M /branches/4.0/src/ui_pow.c
   M /branches/4.0/src/ui_pow_ui.c
   M /branches/4.0/src/ui_sub.c
   M /branches/4.0/src/urandom.c
   M /branches/4.0/src/urandomb.c
   M /branches/4.0/src/vasprintf.c
   M /branches/4.0/src/version.c
   M /branches/4.0/src/volatile.c
   M /branches/4.0/src/x86/core2/mparam.h
   M /branches/4.0/src/x86/mparam.h
   M /branches/4.0/src/x86_64/core2/mparam.h
   M /branches/4.0/src/x86_64/corei5/mparam.h
   M /branches/4.0/src/x86_64/pentium4/mparam.h
   M /branches/4.0/src/yn.c
   M /branches/4.0/src/zeta.c
   M /branches/4.0/src/zeta_ui.c
   M /branches/4.0/tests/Makefile.am
   M /branches/4.0/tests/cmp_str.c
   M /branches/4.0/tests/data/digamma
   M /branches/4.0/tests/data/li2
   M /branches/4.0/tests/memory.c
   M /branches/4.0/tests/mpf_compat.c
   M /branches/4.0/tests/mpf_compat.h
   M /branches/4.0/tests/mpfr-test.h
   M /branches/4.0/tests/mpfr_compat.c
   M /branches/4.0/tests/random2.c
   M /branches/4.0/tests/reuse.c
   M /branches/4.0/tests/rnd_mode.c
   M /branches/4.0/tests/tabort_defalloc1.c
   M /branches/4.0/tests/tabort_defalloc2.c
   M /branches/4.0/tests/tabort_prec_max.c
   M /branches/4.0/tests/tabs.c
   M /branches/4.0/tests/tacos.c
   M /branches/4.0/tests/tacosh.c
   M /branches/4.0/tests/tadd.c
   M /branches/4.0/tests/tadd1sp.c
   M /branches/4.0/tests/tadd_d.c
   M /branches/4.0/tests/tadd_ui.c
   M /branches/4.0/tests/tagm.c
   M /branches/4.0/tests/tai.c
   M /branches/4.0/tests/talloc-cache.c
   M /branches/4.0/tests/talloc.c
   M /branches/4.0/tests/tasin.c
   M /branches/4.0/tests/tasinh.c
   M /branches/4.0/tests/tassert.c
   M /branches/4.0/tests/tatan.c
   M /branches/4.0/tests/tatanh.c
   M /branches/4.0/tests/taway.c
   M /branches/4.0/tests/tbeta.c
   M /branches/4.0/tests/tbuildopt.c
   M /branches/4.0/tests/tcan_round.c
   M /branches/4.0/tests/tcbrt.c
   M /branches/4.0/tests/tcheck.c
   M /branches/4.0/tests/tcmp.c
   M /branches/4.0/tests/tcmp2.c
   M /branches/4.0/tests/tcmp_d.c
   M /branches/4.0/tests/tcmp_ld.c
   M /branches/4.0/tests/tcmp_ui.c
   M /branches/4.0/tests/tcmpabs.c
   M /branches/4.0/tests/tcomparisons.c
   M /branches/4.0/tests/tconst_catalan.c
   M /branches/4.0/tests/tconst_euler.c
   M /branches/4.0/tests/tconst_log2.c
   M /branches/4.0/tests/tconst_pi.c
   M /branches/4.0/tests/tcopysign.c
   M /branches/4.0/tests/tcos.c
   M /branches/4.0/tests/tcosh.c
   M /branches/4.0/tests/tcot.c
   M /branches/4.0/tests/tcoth.c
   M /branches/4.0/tests/tcsc.c
   M /branches/4.0/tests/tcsch.c
   M /branches/4.0/tests/td_div.c
   M /branches/4.0/tests/td_sub.c
   M /branches/4.0/tests/tdigamma.c
   M /branches/4.0/tests/tdim.c
   M /branches/4.0/tests/tdiv.c
   M /branches/4.0/tests/tdiv_d.c
   M /branches/4.0/tests/tdiv_ui.c
   M /branches/4.0/tests/teint.c
   M /branches/4.0/tests/teq.c
   M /branches/4.0/tests/terandom.c
   M /branches/4.0/tests/terandom_chisq.c
   M /branches/4.0/tests/terf.c
   M /branches/4.0/tests/tests.c
   M /branches/4.0/tests/texceptions.c
   M /branches/4.0/tests/texp.c
   M /branches/4.0/tests/texp10.c
   M /branches/4.0/tests/texp2.c
   M /branches/4.0/tests/texpm1.c
   M /branches/4.0/tests/tfactorial.c
   M /branches/4.0/tests/tfits.c
   M /branches/4.0/tests/tfma.c
   M /branches/4.0/tests/tfmma.c
   M /branches/4.0/tests/tfmod.c
   M /branches/4.0/tests/tfms.c
   M /branches/4.0/tests/tfpif.c
   M /branches/4.0/tests/tfprintf.c
   M /branches/4.0/tests/tfrac.c
   M /branches/4.0/tests/tfrexp.c
   M /branches/4.0/tests/tgamma.c
   M /branches/4.0/tests/tgamma_inc.c
   M /branches/4.0/tests/tgeneric.c
   M /branches/4.0/tests/tgeneric_ui.c
   M /branches/4.0/tests/tget_d.c
   M /branches/4.0/tests/tget_d_2exp.c
   M /branches/4.0/tests/tget_f.c
   M /branches/4.0/tests/tget_flt.c
   M /branches/4.0/tests/tget_ld_2exp.c
   M /branches/4.0/tests/tget_q.c
   M /branches/4.0/tests/tget_set_d64.c
   M /branches/4.0/tests/tget_sj.c
   M /branches/4.0/tests/tget_str.c
   M /branches/4.0/tests/tget_z.c
   M /branches/4.0/tests/tgmpop.c
   M /branches/4.0/tests/tgrandom.c
   M /branches/4.0/tests/thyperbolic.c
   M /branches/4.0/tests/thypot.c
   M /branches/4.0/tests/tinits.c
   M /branches/4.0/tests/tinp_str.c
   M /branches/4.0/tests/tinternals.c
   M /branches/4.0/tests/tisnan.c
   M /branches/4.0/tests/tisqrt.c
   M /branches/4.0/tests/tj0.c
   M /branches/4.0/tests/tj1.c
   M /branches/4.0/tests/tjn.c
   M /branches/4.0/tests/tl2b.c
   M /branches/4.0/tests/tlgamma.c
   M /branches/4.0/tests/tli2.c
   M /branches/4.0/tests/tlngamma.c
   M /branches/4.0/tests/tlog.c
   M /branches/4.0/tests/tlog10.c
   M /branches/4.0/tests/tlog1p.c
   M /branches/4.0/tests/tlog2.c
   M /branches/4.0/tests/tlog_ui.c
   M /branches/4.0/tests/tmin_prec.c
   M /branches/4.0/tests/tminmax.c
   M /branches/4.0/tests/tmodf.c
   M /branches/4.0/tests/tmul.c
   M /branches/4.0/tests/tmul_2exp.c
   M /branches/4.0/tests/tmul_d.c
   M /branches/4.0/tests/tmul_ui.c
   M /branches/4.0/tests/tnext.c
   M /branches/4.0/tests/tnrandom.c
   M /branches/4.0/tests/tnrandom_chisq.c
   M /branches/4.0/tests/tout_str.c
   M /branches/4.0/tests/toutimpl.c
   M /branches/4.0/tests/tpow.c
   M /branches/4.0/tests/tpow3.c
   M /branches/4.0/tests/tpow_all.c
   M /branches/4.0/tests/tpow_z.c
   M /branches/4.0/tests/tprintf.c
   M /branches/4.0/tests/trandom.c
   M /branches/4.0/tests/trandom_deviate.c
   M /branches/4.0/tests/trec_sqrt.c
   M /branches/4.0/tests/tremquo.c
   M /branches/4.0/tests/trint.c
   M /branches/4.0/tests/trndna.c
   M /branches/4.0/tests/troot.c
   M /branches/4.0/tests/trootn_ui.c
   M /branches/4.0/tests/tround_prec.c
   M /branches/4.0/tests/tsec.c
   M /branches/4.0/tests/tsech.c
   M /branches/4.0/tests/tset.c
   M /branches/4.0/tests/tset_d.c
   M /branches/4.0/tests/tset_exp.c
   M /branches/4.0/tests/tset_f.c
   M /branches/4.0/tests/tset_float128.c
   M /branches/4.0/tests/tset_ld.c
   M /branches/4.0/tests/tset_q.c
   M /branches/4.0/tests/tset_si.c
   M /branches/4.0/tests/tset_sj.c
   M /branches/4.0/tests/tset_str.c
   M /branches/4.0/tests/tset_z.c
   M /branches/4.0/tests/tset_z_exp.c
   M /branches/4.0/tests/tsgn.c
   M /branches/4.0/tests/tsi_op.c
   M /branches/4.0/tests/tsin.c
   M /branches/4.0/tests/tsin_cos.c
   M /branches/4.0/tests/tsinh.c
   M /branches/4.0/tests/tsinh_cosh.c
   M /branches/4.0/tests/tsprintf.c
   M /branches/4.0/tests/tsqr.c
   M /branches/4.0/tests/tsqrt.c
   M /branches/4.0/tests/tsqrt_ui.c
   M /branches/4.0/tests/tstckintc.c
   M /branches/4.0/tests/tstdint.c
   M /branches/4.0/tests/tstrtofr.c
   M /branches/4.0/tests/tsub.c
   M /branches/4.0/tests/tsub1sp.c
   M /branches/4.0/tests/tsub_d.c
   M /branches/4.0/tests/tsub_ui.c
   M /branches/4.0/tests/tsubnormal.c
   M /branches/4.0/tests/tsum.c
   M /branches/4.0/tests/tswap.c
   M /branches/4.0/tests/ttan.c
   M /branches/4.0/tests/ttanh.c
   M /branches/4.0/tests/ttrunc.c
   M /branches/4.0/tests/tui_div.c
   M /branches/4.0/tests/tui_pow.c
   M /branches/4.0/tests/tui_sub.c
   M /branches/4.0/tests/turandom.c
   M /branches/4.0/tests/tvalist.c
   M /branches/4.0/tests/tversion.c
   M /branches/4.0/tests/ty0.c
   M /branches/4.0/tests/ty1.c
   M /branches/4.0/tests/tyn.c
   M /branches/4.0/tests/tzeta.c
   M /branches/4.0/tests/tzeta_ui.c
   M /branches/4.0/tools/bench/Makefile.am
   M /branches/4.0/tools/bench/benchtime.h
   M /branches/4.0/tools/bench/mpfrbench.c
   M /branches/4.0/tools/ck-clz_tab
   M /branches/4.0/tools/ck-copyright-notice
   M /branches/4.0/tools/ck-news
   M /branches/4.0/tools/ck-version-info
   M /branches/4.0/tools/get_patches.sh
   M /branches/4.0/tune/Makefile.am
   M /branches/4.0/tune/bidimensional_sample.c
   M /branches/4.0/tune/speed.c
   M /branches/4.0/tune/tuneup.c

Copyright notice update: added 2019 with
  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.
------------------------------------------------------------------------
r13357 | vlefevre | 2018-12-31 11:11:10 +0000 (Mon, 31 Dec 2018) | 8 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/src/set.c
   M /branches/4.0/tests
   M /branches/4.0/tests/tfmma.c
   M /branches/4.0/tests/tset.c

[src/set.c] Fixed double-rounding bug in the internal function
  mpfr_set_1_2 (and simplified the generic algorithm, avoiding
  the non-portable inex | inex2).
[tests/tset.c] Added corresponding tests.
[tests/tfmma.c] Added tests as this bug was affecting mpfr_fmma
  (note: mpfr_set_1_2 is also called in mpfr_fma, but the buggy
  code could not be executed in this case).
(merged changesets r13346-13347,13353-13356 from the trunk)
------------------------------------------------------------------------
r13330 | vlefevre | 2018-12-10 09:24:24 +0000 (Mon, 10 Dec 2018) | 2 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests
   M /branches/4.0/tests/tdiv.c

[tests/tdiv.c] fixed test_20151023 (random number must not be 0).
(merged changeset r13329 from the trunk)
------------------------------------------------------------------------
r13310 | vlefevre | 2018-11-29 07:48:54 +0000 (Thu, 29 Nov 2018) | 5 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests
   M /branches/4.0/tests/Makefile.am
   M /branches/4.0/tests/tversion.c

[tests/Makefile.am] Unset DISPLAY as it is not needed and it can yield
error messages when running the tests with LOG_COMPILER=wine (for builds
with MinGW).
[tests/tversion.c] Updated a comment about this issue.
(merged changesets r13305,13307-13309 from the trunk)
------------------------------------------------------------------------
r13301 | vlefevre | 2018-11-27 13:17:11 +0000 (Tue, 27 Nov 2018) | 2 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests
   M /branches/4.0/tests/tdiv.c

[tests/tdiv.c] Fixed test_20151023().
(merged changesets r13149,13151,13298 from the trunk)
------------------------------------------------------------------------
r13297 | vlefevre | 2018-11-26 13:24:37 +0000 (Mon, 26 Nov 2018) | 2 lines
Changed paths:
   M /branches/4.0/tests
   M /branches/4.0/tests/tset_str.c

[tests/tset_str.c] Added bug20180908() test.
(merged changesets r13164,13296 from the trunk, for the tests directory)
------------------------------------------------------------------------
r13294 | vlefevre | 2018-11-23 10:34:21 +0000 (Fri, 23 Nov 2018) | 1 line
Changed paths:
   M /branches/4.0/doc/mpfr.texi

[doc/mpfr.texi] Updated the month.
------------------------------------------------------------------------
r13284 | vlefevre | 2018-11-22 15:36:13 +0000 (Thu, 22 Nov 2018) | 4 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/NEWS
   M /branches/4.0/doc/mpfr.texi
   M /branches/4.0/src/get_str.c

MPFR manual: corrected/completed the mpfr_get_str description in order
to follow the historical behavior and GMP's mpf_get_str function.
(Discussion in the Trier meeting.)
(merged changeset r13283 from the trunk, with a correction in NEWS)
------------------------------------------------------------------------
r13277 | vlefevre | 2018-11-20 08:17:39 +0000 (Tue, 20 Nov 2018) | 1 line
Changed paths:
   M /branches/4.0
   M /branches/4.0/src/amd/amdfam10/mparam.h
   M /branches/4.0/src/amd/k8/mparam.h
   M /branches/4.0/src/arm/mparam.h
   M /branches/4.0/src/generic/coverage/mparam.h
   M /branches/4.0/src/hppa/mparam.h
   M /branches/4.0/src/ia64/mparam.h
   M /branches/4.0/src/mips/mparam.h
   M /branches/4.0/src/powerpc64/mparam.h
   M /branches/4.0/src/sparc64/mparam.h
   M /branches/4.0/src/x86/core2/mparam.h
   M /branches/4.0/src/x86/mparam.h
   M /branches/4.0/src/x86_64/core2/mparam.h
   M /branches/4.0/src/x86_64/corei5/mparam.h

Removed trailing whitespace.
------------------------------------------------------------------------
r13252 | vlefevre | 2018-10-18 17:57:10 +0000 (Thu, 18 Oct 2018) | 3 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/src/mpfr-longlong.h

[src/mpfr-longlong.h] Fix obsolete ARC asm constraints; see patch posted
on <https://sympa.inria.fr/sympa/arc/mpfr/2018-10/msg00010.html>.
(merged changeset r13251 from the trunk)
------------------------------------------------------------------------
r13245 | vlefevre | 2018-10-08 12:50:55 +0000 (Mon, 08 Oct 2018) | 2 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/codespell.ignore

[codespell.ignore] Also ignore "ue" (codespell 1.14).
(merged changeset r13244 from the trunk)
------------------------------------------------------------------------
r13187 | vlefevre | 2018-09-13 13:06:47 +0000 (Thu, 13 Sep 2018) | 2 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests
   M /branches/4.0/tests/tdiv_ui.c

[tests/tdiv_ui.c] fixed corner_cases() test
(merged changeset r13162 from the trunk)
------------------------------------------------------------------------
r13010 | vlefevre | 2018-08-22 13:52:40 +0000 (Wed, 22 Aug 2018) | 3 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests
   M /branches/4.0/tests/tversion.c

[tests/tversion.c] Portability corrections related to the use of the
preprocessor / code robustness.
(merged changeset r13003 from the trunk)
------------------------------------------------------------------------
r12999 | vlefevre | 2018-08-21 13:18:23 +0000 (Tue, 21 Aug 2018) | 2 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests
   M /branches/4.0/tests/tsub1sp.c

[tests/tsub1sp.c] Added a test by merging r12997 from the trunk, and
modified the comment to say that the bug is only in the trunk.
------------------------------------------------------------------------
r12994 | vlefevre | 2018-08-20 07:44:49 +0000 (Mon, 20 Aug 2018) | 3 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/src/mpfr-impl.h

[src/mpfr-impl.h] Added a cast to mp_bitcnt_t in order to fix potential
integer overflow in MPFR_MPZ_SIZEINBASE2.
(merged changeset r12988 from the trunk)
------------------------------------------------------------------------
r12993 | vlefevre | 2018-08-20 07:40:42 +0000 (Mon, 20 Aug 2018) | 4 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests
   M /branches/4.0/tests/tcan_round.c

[tests/tcan_round.c] Added missing casts for printf (error messages).
Bug detected under MS Windows, where size_t > unsigned long. See:
  https://sympa.inria.fr/sympa/arc/mpfr/2018-08/msg00002.html
(merged changeset r12983 from the trunk)
------------------------------------------------------------------------
r12992 | vlefevre | 2018-08-20 06:47:44 +0000 (Mon, 20 Aug 2018) | 22 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/src/mpfr-longlong.h
   M /branches/4.0/tools/mpfrlint

[tools/mpfrlint] Check that __GMP_DECLSPEC is not used by MPFR.
[src/mpfr-longlong.h] Replaced __GMP_DECLSPEC by __MPFR_DECLSPEC.

Otherwise, with Windows DLL, __GMP_DECLSPEC is replaced by
__declspec(dllimport), which is wrong when building MPFR and
yields warning LNK4217 such as:

  eint.obj : warning LNK4217: locally defined symbol mpfr_clz_tab
  imported in function mpfr_eint

due to

  extern const unsigned char __GMP_DECLSPEC __clz_tab[129];

(note that mpfr_clz_tab is defined with "#define __clz_tab mpfr_clz_tab"
only without the GMP build).

See:
  https://sympa.inria.fr/sympa/arc/mpfr/2018-08/msg00000.html
  https://sympa.inria.fr/sympa/arc/mpfr/2018-08/msg00001.html

(merged changesets r12975-12977 from the trunk)
------------------------------------------------------------------------
r12969 | vlefevre | 2018-07-31 09:01:08 +0000 (Tue, 31 Jul 2018) | 3 lines
Changed paths:
   M /branches/4.0/tests/tversion.c

[tests/tversion.c] Updated comment about missing output from the
first printf with i586-mingw32msvc-gcc -D__USE_MINGW_ANSI_STDIO
and run under Wine (issue not reproducible).
------------------------------------------------------------------------
r12968 | vlefevre | 2018-07-30 16:31:52 +0000 (Mon, 30 Jul 2018) | 2 lines
Changed paths:
   M /branches/4.0/tests/tversion.c

[tests/tversion.c] Try to detect missing output from the first printf
with i586-mingw32msvc-gcc -D__USE_MINGW_ANSI_STDIO and run under Wine.
------------------------------------------------------------------------
r12967 | vlefevre | 2018-07-30 13:43:03 +0000 (Mon, 30 Jul 2018) | 5 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/acinclude.m4
   M /branches/4.0/configure.ac
   M /branches/4.0/src/vasprintf.c
   M /branches/4.0/tests
   M /branches/4.0/tests/tsprintf.c

[acinclude.m4,configure.ac] Check the support of the group flag for
  native integers, which is a Single UNIX Specification extension.
[src/vasprintf.c] Fixed bug with the P length modifier (mpfr_prec_t).
[tests/tsprintf.c] Added testcases.
(merged changesets r12958-12959,12961-12964 from the trunk)
------------------------------------------------------------------------
r12966 | vlefevre | 2018-07-30 13:34:14 +0000 (Mon, 30 Jul 2018) | 3 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/src/vasprintf.c

[src/vasprintf.c] Bug fix: in case of some errors (via "goto error;"),
va_end wasn't called, yielding undefined behavior.
(reverse-merged r12965; merged changesets r12955,12957 from the trunk)
------------------------------------------------------------------------
r12965 | vlefevre | 2018-07-30 09:32:15 +0000 (Mon, 30 Jul 2018) | 3 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/src/vasprintf.c

[src/vasprintf.c] Fixed "store to null pointer" and free of bad pointer
in case of error.
(merged part of changeset r12957 from the trunk)
------------------------------------------------------------------------
r12950 | vlefevre | 2018-07-23 08:17:05 +0000 (Mon, 23 Jul 2018) | 8 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/src/erf.c
   M /branches/4.0/tests
   M /branches/4.0/tests/terf.c

[src/erf.c] In the computation of an error bound, replaced some
  double's (which could overflow) by mpfr_t to fix bug reported
  by Naoki Shibata:
  https://sympa.inria.fr/sympa/arc/mpfr/2018-07/msg00028.html
[tests/terf.c] Added a testcase for this bug. Increased the number
  of generic tests in order to reproduce the bug there too with the
  default seed.
(merged changesets r12946-12949 from the trunk)
------------------------------------------------------------------------
r12938 | vlefevre | 2018-07-19 00:01:28 +0000 (Thu, 19 Jul 2018) | 11 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/acinclude.m4
   M /branches/4.0/configure.ac
   M /branches/4.0/doc/README.dev
   M /branches/4.0/src/buildopt.c
   M /branches/4.0/src/free_cache.c
   M /branches/4.0/src/mpfr-impl.h
   M /branches/4.0/src/mpfr-thread.h
   M /branches/4.0/tests
   M /branches/4.0/tests/tconst_pi.c
   M /branches/4.0/tests/tversion.c

Shared caches: fix and minor changes.
  * Fixed detection and use of C11 thread support: the C11 header is
    <threads.h>, not <thread.h>.
  * Renamed WANT_SHARED_CACHE to MPFR_WANT_SHARED_CACHE for consistency
    with the other MPFR_WANT_* macros.
  * Added MPFR_THREAD_LOCK_METHOD macro, giving the thread locking
    method as a string (when shared caches are enabled).
  * doc/README.dev: documented 4 macros for shared caches.
  * tests/tversion.c: output MPFR_WANT_SHARED_CACHE and
    MPFR_THREAD_LOCK_METHOD information.
(merged changeset r12937 from the trunk)
------------------------------------------------------------------------
r12936 | vlefevre | 2018-07-18 23:17:03 +0000 (Wed, 18 Jul 2018) | 4 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests
   M /branches/4.0/tests/tconst_pi.c

[tests/tconst_pi.c] Removed an incorrect assertion, as the #else would
be applicable when WANT_SHARED_CACHE is defined but not HAVE_PTHREAD
(which may occur when MPFR_HAVE_C11_LOCK is defined).
(merged changeset r12935 from the trunk)
------------------------------------------------------------------------
r12923 | vlefevre | 2018-07-13 10:31:07 +0000 (Fri, 13 Jul 2018) | 4 lines
Changed paths:
   M /branches/4.0/acinclude.m4

[acinclude.m4] Fixed the __float128 detection for NetBSD: Optimization
made the "undefined reference" error disappear, so that __float128 was
misdetected as being supported. Also updated the message.
Note: this change is similar to the r12921-12922 ones in the trunk.
------------------------------------------------------------------------
r12918 | vlefevre | 2018-07-12 15:05:07 +0000 (Thu, 12 Jul 2018) | 1 line
Changed paths:
   M /branches/4.0/NEWS

[NEWS] Update for GNU MPFR 4.0.2.
------------------------------------------------------------------------
r12917 | vlefevre | 2018-07-12 15:04:17 +0000 (Thu, 12 Jul 2018) | 6 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/doc/mpfr.texi

[doc/mpfr.texi] In Section "Nomenclature and Types":
  * rewrote the paragraph defining "floating-point number",
    avoiding ambiguities;
  * removed all the @noindent, whose purpose is unclear;
  * defined regular numbers and exponents.
(merged changesets r12906-12908 from the trunk)
------------------------------------------------------------------------
r12916 | vlefevre | 2018-07-12 14:32:51 +0000 (Thu, 12 Jul 2018) | 7 lines
Changed paths:
   M /branches/4.0/acinclude.m4

[acinclude.m4] For the __float128 detection, changed AC_COMPILE_IFELSE
to AC_LINK_IFELSE since an error may occur only at link time, such as
under NetBSD:
  https://mail-index.netbsd.org/pkgsrc-users/2018/02/02/msg026220.html
  https://mail-index.netbsd.org/pkgsrc-users/2018/02/05/msg026238.html
Note: this change is similar to the r12915 one in the trunk, except
that we do not try to detect _Float128 in the 4.0 branch.
------------------------------------------------------------------------
r12914 | vlefevre | 2018-07-12 12:32:16 +0000 (Thu, 12 Jul 2018) | 5 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/src/Makefile.am

[src/Makefile.am] Corrected check-exported-symbols to avoid a failure
when the default .SHELLFLAGS value is '-ec' (POSIX) instead of '-c'
(GNU Make, which is not in POSIX-conforming mode by default).
Bug found on FreeBSD 11.1 (Compile Farm @ HouseGordon.com).
(merged changeset r12913 from the trunk)
------------------------------------------------------------------------
r12909 | vlefevre | 2018-07-10 11:51:56 +0000 (Tue, 10 Jul 2018) | 22 lines
Changed paths:
   M /branches/4.0/src/vasprintf.c

[src/vasprintf.c] Fixed several bugs in buffer_sandwich, which could
yield memory corruption with non-default memory allocators and other
undefined behavior; check the return value when this function is called.

Details:
  * check integer overflow on the size computations;
  * computation of q and r without tests;
  * fixed the case where r > len (e.g. len = 1 and tz = 1);
  * in the loop, increase the str pointer only when needed, otherwise
    str could be beyond of the end of the string of the digits, which
    is undefined behavior.

The first consequence of the r > len issue was an incorrect generated
string. Moreover, since the generated string was shorter than expected,
mpfr_free_str would provide an incorrect buffer size to the "free"
function of the current GMP memory allocator. By default, this size is
ignored, but it may matter if the memory allocators have been changed
with the mp_set_memory_functions GMP function, in which case a possible
consequence could be memory corruption.

Note: This corresponds to r12869 from the trunk. Other changes in the
trunk (dead code removal...) have not been applied.
------------------------------------------------------------------------
r12904 | vlefevre | 2018-07-06 14:36:05 +0000 (Fri, 06 Jul 2018) | 2 lines
Changed paths:
   M /branches/4.0/tests/tprintf.c
   M /branches/4.0/tests/tsprintf.c

[tests/{tprintf.c,tsprintf.c}] Merged the latest tests from the trunk
(r12562:12903).
------------------------------------------------------------------------
r12897 | vlefevre | 2018-07-06 13:27:41 +0000 (Fri, 06 Jul 2018) | 1 line
Changed paths:
   M /branches/4.0/doc/mpfr.texi

[doc/mpfr.texi] Updated the month.
------------------------------------------------------------------------
r12890 | vlefevre | 2018-07-06 07:21:18 +0000 (Fri, 06 Jul 2018) | 2 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/AUTHORS
   M /branches/4.0/doc/mpfr.texi

[AUTHORS,doc/mpfr.texi] Typo in Fredrik's name.
(merged changesets r12888-12889 from the trunk)
------------------------------------------------------------------------
r12872 | vlefevre | 2018-07-04 12:04:26 +0000 (Wed, 04 Jul 2018) | 5 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/doc/README.dev
   M /branches/4.0/tests
   M /branches/4.0/tests/tprintf.c
   M /branches/4.0/tests/tsprintf.c

Added MPFR_CHECK_LOCALES environment variable for the tests (to be
used by developers): when set, terminate with an error if locales
cannot be tested.
(merged changeset r12870 from the trunk; merging tests/tprintf.c r12861
was needed first)
------------------------------------------------------------------------
r12793 | vlefevre | 2018-06-20 12:17:11 +0000 (Wed, 20 Jun 2018) | 2 lines
Changed paths:
   M /branches/4.0/tests/tget_set_d64.c

[tests/tget_set_d64.c] Tests on powers of 10: test negative numbers too.
(merged part of changeset r12792 from the trunk)
------------------------------------------------------------------------
r12786 | vlefevre | 2018-06-19 13:10:42 +0000 (Tue, 19 Jun 2018) | 5 lines
Changed paths:
   M /branches/4.0/src/set_d64.c
   M /branches/4.0/tests/tget_set_d64.c

[src/set_d64.c] Fixed ternary value, which was always 0. This is done by
  using mpfr_strtofr instead of mpfr_set_str (merged part of changeset
  r12783 from the trunk).
[tests/tget_set_d64.c] Added tests on powers of 10, checking the ternary
  value in particular (merged part of changeset r12782 from the trunk).
------------------------------------------------------------------------
r12785 | vlefevre | 2018-06-19 12:55:53 +0000 (Tue, 19 Jun 2018) | 5 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests
   M /branches/4.0/tests/tstckintc.c

[tests/tstckintc.c] Avoid false warnings with -Wcast-align=strict from
GCC 8.1 by adding casts "(long *) (void *)", still allowing checks of
other alignment requirements (which are not handled by the tstckintc.c
code).
(merged changeset r12698 from the trunk)
------------------------------------------------------------------------
r12760 | vlefevre | 2018-06-06 11:05:33 +0000 (Wed, 06 Jun 2018) | 6 lines
Changed paths:
   M /branches/4.0
   A /branches/4.0/codespell.exclude (from /trunk/codespell.exclude:12754)
   M /branches/4.0/codespell.ignore
   M /branches/4.0/tools/mpfrlint

codespell: simplified exceptions.
  * Added codespell.exclude file.
  * codespell.ignore: removed some words (particular cases).
  * tools/mpfrlint: use the codespell.exclude exclude file, and for
    the doc directory, replaced -S by an explicit list of files.
(merged changesets r12486,12497,12753-12754 from the trunk)
------------------------------------------------------------------------
r12750 | vlefevre | 2018-06-02 22:22:50 +0000 (Sat, 02 Jun 2018) | 4 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/src/invert_limb.h

[src/invert_limb.h] fixed two typos reported by Marco Bodrato.
Note that with the current MPFR code, these typos did not have
any consequence.
(merged changeset r12749 from the trunk)
------------------------------------------------------------------------
r12743 | vlefevre | 2018-05-31 14:47:16 +0000 (Thu, 31 May 2018) | 1 line
Changed paths:
   M /branches/4.0/doc/mpfr.texi

[doc/mpfr.texi] Updated the month.
------------------------------------------------------------------------
r12741 | vlefevre | 2018-05-31 14:41:37 +0000 (Thu, 31 May 2018) | 2 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/AUTHORS
   M /branches/4.0/INSTALL
   M /branches/4.0/doc/algorithms.tex
   M /branches/4.0/doc/mpfr.texi
   M /branches/4.0/examples/sample.c
   M /branches/4.0/mpfr.pc.in
   M /branches/4.0/tests
   M /branches/4.0/tests/tests.c
   M /branches/4.0/tools/cfarm.sh
   M /branches/4.0/tools/update-version

Updated mpfr.org URL's to use https (except in ChangeLog and NEWS).
(marked changeset r12740 as merged from the trunk)
------------------------------------------------------------------------
r12736 | vlefevre | 2018-05-30 17:45:00 +0000 (Wed, 30 May 2018) | 2 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tools/announce-text

[tools/announce-text] http → https (for mpfr.org).
(merged changeset r12734 from the trunk)
------------------------------------------------------------------------
r12735 | vlefevre | 2018-05-30 17:44:10 +0000 (Wed, 30 May 2018) | 6 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/doc/FAQ.html
   M /branches/4.0/doc/faq.xsl
   M /branches/4.0/doc/update-faq

[doc] Changes due to the https support by mpfr.org.
  * faq.xsl: for the visual.css, use a local URL since libxml2 does not
    support https.
  * update-faq: download visual.css from mpfr.org first.
  * FAQ.html: update with update-faq.
(merged changesets r12731-12733 from the trunk)
------------------------------------------------------------------------
r12680 | vlefevre | 2018-04-26 15:33:52 +0000 (Thu, 26 Apr 2018) | 8 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/src/inp_str.c
   M /branches/4.0/src/out_str.c

[src/{inp_str.c,out_str.c}] For mpfr_inp_str and mpfr_out_str, when
the stream was a null pointer, it was replaced by stdin and stdout,
respectively. No longer do that, since:
  * This behavior was useless, not documented, and not consistent
    with other I/O functions.
  * Just in case a null pointer for the stream has a special meaning
    with some C implementation, MPFR was not behaving as documented.
(merged changesets r12520-12521 from the trunk)
------------------------------------------------------------------------
r12679 | vlefevre | 2018-04-26 15:17:30 +0000 (Thu, 26 Apr 2018) | 6 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/src/gmp_op.c
   M /branches/4.0/tests
   M /branches/4.0/tests/tgmpop.c

[src/gmp_op.c] Fixed a bug in mpfr_cmp_q on NaN rational: the NaN flag
  was set by mpfr_set_q, but the flags were not restored just after.
[tests/tgmpop.c] For mpfr_cmp_q, improved the test where x is NaN by
  checking all the flags (not just erange) and added a test where y is
  a NaN rational.
(merged changesets r12343,12677 from the trunk)
------------------------------------------------------------------------
r12675 | vlefevre | 2018-04-26 13:13:57 +0000 (Thu, 26 Apr 2018) | 1 line
Changed paths:
   M /branches/4.0/tests
   M /branches/4.0/tests/tcan_round.c
   M /branches/4.0/tests/tconst_pi.c
   M /branches/4.0/tests/tfpif.c
   M /branches/4.0/tests/tgrandom.c
   M /branches/4.0/tests/tpow.c
   M /branches/4.0/tests/ttan.c

Merged recent tests from the trunk (r12500-12555,12558,12561).
------------------------------------------------------------------------
r12674 | vlefevre | 2018-04-26 12:59:37 +0000 (Thu, 26 Apr 2018) | 5 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests
   M /branches/4.0/tests/Makefile.am

[tests/Makefile.am] Update of the "check" rule:
  * Output svnversion info when applicable.
  * Do not echo (complex) commands.
  * Do not output a useless "PASS ..." line at the end.
(merged changesets r12535-12536 from the trunk)
------------------------------------------------------------------------
r12664 | vlefevre | 2018-04-25 15:06:34 +0000 (Wed, 25 Apr 2018) | 4 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/src/gmp_op.c
   M /branches/4.0/tests
   M /branches/4.0/tests/tgmpop.c

[src/gmp_op.c] Fixed bug in mpfr_cmp_q when the denominator of the
  mpq_t argument is 0.
[tests/tgmpop.c] Added tests.
(merged changesets r12499,12502 from the trunk)
------------------------------------------------------------------------
r12663 | vlefevre | 2018-04-25 15:00:21 +0000 (Wed, 25 Apr 2018) | 1 line
Changed paths:
   M /branches/4.0/doc/mpfr.texi

[doc/mpfr.texi] Updated the month.
------------------------------------------------------------------------
r12662 | vlefevre | 2018-04-25 14:45:45 +0000 (Wed, 25 Apr 2018) | 1 line
Changed paths:
   M /branches/4.0/tests
   M /branches/4.0/tests/tdiv_ui.c
   M /branches/4.0/tests/tfma.c
   M /branches/4.0/tests/tget_str.c

Merged recent tests from the trunk (r12435-12453).
------------------------------------------------------------------------
r12642 | vlefevre | 2018-04-19 15:51:55 +0000 (Thu, 19 Apr 2018) | 13 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/doc/mpfr.texi
   M /branches/4.0/src/get_str.c
   M /branches/4.0/tests
   M /branches/4.0/tests/tget_str.c

Fixed an issue with mpfr_get_str: The number 1 of significant digits
output in the string is now fully supported, i.e.
  * the value 1 can be provided for n (4th argument);
  * if n = 0, then the number of significant digits in the output string
    can now be 1, as already implied by the documentation (but the code
    was increasing it to 2).
Changes:
  * doc/mpfr.texi: updated mpfr_get_str description to accept n = 1.
  * src/get_str.c: fixed the code as explained above (for n = 0,
    removed the increase to 2, and removed an MPFR_ASSERTN).
  * tests/tget_str.c: added tests.
(merged changesets from the trunk: r12430 on tests/tget_str.c only;
r12432,12434,12440)
------------------------------------------------------------------------
r12632 | vlefevre | 2018-04-19 13:33:00 +0000 (Thu, 19 Apr 2018) | 3 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests
   M /branches/4.0/tests/tget_flt.c

[tests/tget_flt.c] Correction about the use of mpfr_signbit, in case
the implementation would change.
(merged changeset r12631 from the trunk)
------------------------------------------------------------------------
r12630 | vlefevre | 2018-04-19 13:28:19 +0000 (Thu, 19 Apr 2018) | 1 line
Changed paths:
   M /branches/4.0/tests
   M /branches/4.0/tests/tbuildopt.c
   M /branches/4.0/tests/tfma.c
   M /branches/4.0/tests/tget_flt.c
   M /branches/4.0/tests/tget_q.c
   M /branches/4.0/tests/tget_set_d64.c
   M /branches/4.0/tests/tset_z_exp.c

Merged recent tests from the trunk (r12393-12424).
------------------------------------------------------------------------
r12629 | vlefevre | 2018-04-19 13:17:34 +0000 (Thu, 19 Apr 2018) | 4 lines
Changed paths:
   M /branches/4.0/src/sqr.c
   M /branches/4.0/tests
   M /branches/4.0/tests/tsqr.c

[src/sqr.c] Fixed a bug in mpfr_sqr_1n in a rare case near underflow.
[tests/tsqr.c] Added tests, including non-regression for above bug
(manually patched src/sqr.c since r12398 had other, unrelated changes;
merged changesets r12398-12399 on tests/tsqr.c from the trunk)
------------------------------------------------------------------------
r12624 | vlefevre | 2018-04-19 12:24:18 +0000 (Thu, 19 Apr 2018) | 4 lines
Changed paths:
   M /branches/4.0/src/fma.c
   M /branches/4.0/tests/tfma.c

[src/fma.c] Fixed various bugs related to internal overflows/underflows.
[tests/tfma.c] Added tests.
(merged changesets r12393-12405,12583-12623 on these files from the
trunk)
------------------------------------------------------------------------
r12581 | vlefevre | 2018-04-11 15:17:16 +0000 (Wed, 11 Apr 2018) | 8 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests
   M /branches/4.0/tests/terf.c
   M /branches/4.0/tests/tpow.c
   M /branches/4.0/tests/tpow_z.c

[tests] Removed some useless #include's, in particular all the
unconditional #include <math.h> occurrences.
Note: There is an incompatibility between glibc 2.27 and the math.h
provided by ICC 15 (at least), and this solves a compilation failure
in the build of the tests.
Moreover, <math.h> is not required by freestanding implementations,
so that it may be better to avoid it if possible.
(merged changeset r12488 from the trunk)
------------------------------------------------------------------------
r12580 | vlefevre | 2018-04-11 14:03:03 +0000 (Wed, 11 Apr 2018) | 3 lines
Changed paths:
   M /branches/4.0/tests
   M /branches/4.0/tests/tmul.c

[tests] Merged the test from r12348, and replaced MUL_FFT_THRESHOLD
by its default value 8448 (since the definition of MUL_FFT_THRESHOLD
has not been moved in the 4.0 branch).
------------------------------------------------------------------------
r12579 | vlefevre | 2018-04-11 13:54:39 +0000 (Wed, 11 Apr 2018) | 1 line
Changed paths:
   M /branches/4.0/tests
   M /branches/4.0/tests/tagm.c
   M /branches/4.0/tests/tai.c
   M /branches/4.0/tests/tdiv.c
   M /branches/4.0/tests/tgmpop.c
   M /branches/4.0/tests/tmul.c
   M /branches/4.0/tests/tmul_2exp.c
   M /branches/4.0/tests/tsqrt.c
   M /branches/4.0/tests/tsub.c
   M /branches/4.0/tests/tzeta.c

Merged recent tests from the trunk (r12288-12347).
------------------------------------------------------------------------
r12578 | vlefevre | 2018-04-11 13:16:15 +0000 (Wed, 11 Apr 2018) | 3 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/src/mul.c
   M /branches/4.0/tests
   M /branches/4.0/tests/tset_ld.c
   M /branches/4.0/tests/tsub1sp.c

Fixed type errors with -D_MPFR_PREC_FORMAT=2 in CFLAGS and the
--enable-assert=full configure option (signaled by GCC's -Wformat).
(merged changesets r12301-12302 from the trunk)
------------------------------------------------------------------------
r12577 | vlefevre | 2018-04-11 13:06:53 +0000 (Wed, 11 Apr 2018) | 3 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests
   M /branches/4.0/tests/tversion.c

[tests/tversion.c] Output the sizes of long and intmax_t, and
"Generic ABI code" info (MPFR_GENERIC_ABI).
(merged changesets r12447,12575 from the trunk)
------------------------------------------------------------------------
r12576 | vlefevre | 2018-04-11 13:02:27 +0000 (Wed, 11 Apr 2018) | 4 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/src/sub1sp.c

[src/sub1sp.c] fixed bug in mpfr_sub1sp1n (corner case when a=c).
This fixes the failures from r12288.
(merged changeset r12285 from the trunk; note that the merge for
the tests directory had already been done via r12288)
------------------------------------------------------------------------
r12480 | vlefevre | 2018-03-14 10:33:01 +0000 (Wed, 14 Mar 2018) | 2 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/src/mpfr-impl.h

[src/mpfr-impl.h] Typo in a comment.
(merged changeset r12421 from the trunk)
------------------------------------------------------------------------
r12475 | vlefevre | 2018-03-09 23:12:04 +0000 (Fri, 09 Mar 2018) | 2 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/TODO
   M /branches/4.0/doc/mpfr.texi
   M /branches/4.0/src/atan.c
   M /branches/4.0/src/cache.c
   M /branches/4.0/src/fpif.c
   M /branches/4.0/src/get_flt.c
   M /branches/4.0/src/mpfr.h
   M /branches/4.0/src/sum.c
   M /branches/4.0/tests
   M /branches/4.0/tests/terandom_chisq.c
   M /branches/4.0/tests/tnrandom_chisq.c

Fixed spelling mistakes found by codespell 1.12.0.
(merged changeset r12474 from the trunk)
------------------------------------------------------------------------
r12470 | vlefevre | 2018-03-08 02:42:59 +0000 (Thu, 08 Mar 2018) | 6 lines
Changed paths:
   M /branches/4.0
   A /branches/4.0/codespell.ignore (from /trunk/codespell.ignore:12469)
   M /branches/4.0/doc/README.dev
   M /branches/4.0/src/li2.c
   M /branches/4.0/src/mpfr-gmp.h
   M /branches/4.0/src/mpfr-thread.h
   M /branches/4.0/src/vasprintf.c
   M /branches/4.0/tests
   M /branches/4.0/tests/tgmpop.c
   M /branches/4.0/tests/tset_ld.c
   M /branches/4.0/tools/mpfrlint

Added codespell.ignore file with simple words to ignore with codespell
("cas"; "iff" as used in math; "nd" as the n comes from \n in printf,
but nd could also be a variable name; "te" as used as a variable name).
Updated tools/mpfrlint to use this file with codespell.
Fixed spelling mistakes found by codespell 1.11.0.
(merged changesets r12467-12469 from the trunk)
------------------------------------------------------------------------
r12465 | vlefevre | 2018-03-05 14:43:39 +0000 (Mon, 05 Mar 2018) | 1 line
Changed paths:
   M /branches/4.0/doc/mpfr.texi

[doc/mpfr.texi] Updated the month.
------------------------------------------------------------------------
r12463 | vlefevre | 2018-03-05 10:46:53 +0000 (Mon, 05 Mar 2018) | 2 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/doc/mpfr.texi

[doc/mpfr.texi] Typographic corrections for mpfr_subnormalize.
(merged changeset r12462 from the trunk)
------------------------------------------------------------------------
r12431 | vlefevre | 2018-02-23 17:00:13 +0000 (Fri, 23 Feb 2018) | 2 lines
Changed paths:
   M /branches/4.0/src/get_sj.c

[src/get_sj.c] And now that the incorrect assertions have been removed,
the condition sh >= 0 needs to be fixed to sh > 0...
------------------------------------------------------------------------
r12428 | vlefevre | 2018-02-23 16:24:21 +0000 (Fri, 23 Feb 2018) | 2 lines
Changed paths:
   M /branches/4.0/src/get_sj.c

[src/get_sj.c] Removed unnecessary condition sh < GMP_NUMB_BITS, which
is incorrect with some C implementations. It came from r7047.
------------------------------------------------------------------------
r12288 | vlefevre | 2018-02-17 10:50:29 +0000 (Sat, 17 Feb 2018) | 3 lines
Changed paths:
   M /branches/4.0/tests
   M /branches/4.0/tests/tadd1sp.c
   M /branches/4.0/tests/tfmma.c
   M /branches/4.0/tests/tmul_2exp.c
   M /branches/4.0/tests/tsub.c
   M /branches/4.0/tests/tsub1sp.c

Merged the latest tests from the trunk (r12258-12287).
tsub and tsub1sp fail (bug fixed in the trunk) with both 32-bit and
64-bit ABI's, except when MPFR is built with "-DMPFR_GENERIC_ABI".
------------------------------------------------------------------------
r12258 | vlefevre | 2018-02-16 02:29:27 +0000 (Fri, 16 Feb 2018) | 3 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests/tsub.c

[tests/tsub.c] Added bug20180216 test currently failing in the trunk
in r12257.
(merged changesets r12256-12257 from the trunk)
------------------------------------------------------------------------
r12247 | vlefevre | 2018-02-15 14:31:18 +0000 (Thu, 15 Feb 2018) | 3 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests/tsub.c

[tests/tsub.c] Added bug20180215 test currently failing in the trunk
in r12243.
(merged changeset r12246 from the trunk)
------------------------------------------------------------------------
r12224 | vlefevre | 2018-02-13 12:17:25 +0000 (Tue, 13 Feb 2018) | 2 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests/tadd.c

[tests/tadd.c] Added 2 tests that were failing in the trunk in r12220.
(merged changeset r12221 from the trunk)
------------------------------------------------------------------------
r12216 | vlefevre | 2018-02-08 02:11:23 +0000 (Thu, 08 Feb 2018) | 5 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests/tfits.c
   M /branches/4.0/tests/tfprintf.c
   M /branches/4.0/tests/tget_set_d64.c
   M /branches/4.0/tests/tget_sj.c
   M /branches/4.0/tests/tprintf.c
   M /branches/4.0/tests/tset_float128.c
   M /branches/4.0/tests/tset_ld.c
   M /branches/4.0/tests/tset_sj.c
   M /branches/4.0/tests/tsprintf.c
   M /branches/4.0/tests/tversion.c

[tests]
  * tset_float128.c, tset_ld.c: removed obsolete WITH_FPU_CONTROL
    related code.
  * Added/updated comments about the config.h inclusion.
(merged changesets r12214-12215 from the trunk)
------------------------------------------------------------------------
r12213 | vlefevre | 2018-02-07 23:39:15 +0000 (Wed, 07 Feb 2018) | 2 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/INSTALL

[INSTALL] Updated GMP URL.
(merged changeset r12212 from the trunk)
------------------------------------------------------------------------
r12211 | vlefevre | 2018-02-07 23:34:18 +0000 (Wed, 07 Feb 2018) | 1 line
Changed paths:
   M /branches/4.0/NEWS

[NEWS] Update for GNU MPFR 4.0.2.
------------------------------------------------------------------------
r12209 | vlefevre | 2018-02-07 23:31:36 +0000 (Wed, 07 Feb 2018) | 3 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/doc/mpfr.texi
   M /branches/4.0/tools/mpfrlint

[doc/mpfr.texi] Corrected minimal GMP version.
[tools/mpfrlint] Updated test to detect minimal GMP version mismatch.
(merged changeset r12208 from the trunk)
------------------------------------------------------------------------
r12207 | vlefevre | 2018-02-07 23:22:44 +0000 (Wed, 07 Feb 2018) | 3 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/INSTALL
   M /branches/4.0/tools/mpfrlint

[INSTALL] Corrected minimal GMP version (thanks to David Edelsohn).
[tools/mpfrlint] Added a test to detect minimal GMP version mismatch.
(merged changeset r12206 from the trunk)
------------------------------------------------------------------------
r12203 | vlefevre | 2018-02-07 16:18:16 +0000 (Wed, 07 Feb 2018) | 1 line
Changed paths:
   M /branches/4.0/INSTALL
   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.2-dev.
------------------------------------------------------------------------
r12201 | vlefevre | 2018-02-07 12:52:40 +0000 (Wed, 07 Feb 2018) | 1 line
Changed paths:
   M /branches/4.0/ChangeLog

ChangeLog update with "TZ=UTC svn log -rHEAD:0 -v" (in UTF-8 locales).
------------------------------------------------------------------------
r12200 | vlefevre | 2018-02-07 12:50:31 +0000 (Wed, 07 Feb 2018) | 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.1.
------------------------------------------------------------------------
r12199 | vlefevre | 2018-02-07 12:02:41 +0000 (Wed, 07 Feb 2018) | 3 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/doc/README.dev
   M /branches/4.0/tools/announce-text

[doc/README.dev] "To make a release": moved a sentence.
[tools/announce-text] For releases, check the VERSION file of the tag.
(merged changesets r12197-12198 from the trunk)
------------------------------------------------------------------------
r12195 | vlefevre | 2018-02-02 13:17:33 +0000 (Fri, 02 Feb 2018) | 4 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests/tdiv_ui.c

[tests/tdiv_ui.c] Forcibly disable value coverage checking if
mp_limb_t > unsigned long (e.g. on mips64 with the n32 ABI).
Corrected comments.
(merged changesets r12193-12194 from the trunk)
------------------------------------------------------------------------
r12192 | vlefevre | 2018-02-02 12:34:56 +0000 (Fri, 02 Feb 2018) | 1 line
Changed paths:
   M /branches/4.0/ChangeLog

ChangeLog update with "TZ=UTC svn log -rHEAD:0 -v" (in UTF-8 locales).
------------------------------------------------------------------------
r12191 | vlefevre | 2018-02-02 12:32:02 +0000 (Fri, 02 Feb 2018) | 6 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests/terandom.c
   M /branches/4.0/tests/terandom_chisq.c
   M /branches/4.0/tests/tgrandom.c
   M /branches/4.0/tests/tnrandom.c
   M /branches/4.0/tests/tnrandom_chisq.c
   M /branches/4.0/tests/trandom.c
   M /branches/4.0/tests/trandom_deviate.c
   M /branches/4.0/tests/tset_ld.c
   M /branches/4.0/tests/tsub_d.c
   M /branches/4.0/tests/turandom.c

[tests]
  * Replaced calloc + free by tests_allocate + tests_free as usual.
  * Replaced some fprintf with stderr by printf.
  * Do bitwise operations in unsigned arithmetic.
  * Formatting.
(merged changesets r12188-12190 from the trunk)
------------------------------------------------------------------------
r12187 | vlefevre | 2018-02-02 10:57:17 +0000 (Fri, 02 Feb 2018) | 16 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests/tests.c
   M /branches/4.0/tests/tremquo.c
   M /branches/4.0/tests/tset_float128.c
   M /branches/4.0/tests/tset_ld.c

[tests] Fixed the cases where tests_start_mpfr was called too late,
i.e. after potential output (to stdout).
  * tremquo.c: moved the call to tests_start_mpfr to the beginning.
  * tset_float128.c, tset_ld.c: removed the optional, obsolete code
    setting the FPU control word; MPFR_FPU_PREC can be used instead
    (see tests.c).

[tests/tests.c] Make stderr unbuffered again.
Note for the history: both stdout and stderr were made unbuffered in
r2361, then all stderr were changed to stdout (and the corresponding
setbuf on stderr removed) in r2449 for consistency, but stderr was
used later for specific cases (e.g. memory allocation errors or when
stdout is already used for something else), and it is also used for
assertion failures. Thus the setbuf on stderr is still needed.

(merged changesets r12185-12186 from the trunk)
------------------------------------------------------------------------
r12184 | vlefevre | 2018-02-02 10:14:04 +0000 (Fri, 02 Feb 2018) | 3 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests/tabort_defalloc1.c
   M /branches/4.0/tests/tabort_defalloc2.c
   M /branches/4.0/tests/tabort_prec_max.c

Reverse-merged r12182 since tests_start_mpfr disables stdout buffering,
so that the fflush() are unnecessary.
(merged changeset r12183 from the trunk)
------------------------------------------------------------------------
r12182 | vlefevre | 2018-02-02 09:55:12 +0000 (Fri, 02 Feb 2018) | 4 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests/tabort_defalloc1.c
   M /branches/4.0/tests/tabort_defalloc2.c
   M /branches/4.0/tests/tabort_prec_max.c

[tests/tabort_*.c] Flush stdout after a printf(), as an abort() is
expected. This is needed on platforms where abort() does not flush
the stdio streams, such as with the GNU C Library (glibc) 2.27.
(merged changeset r12181 from the trunk)
------------------------------------------------------------------------
r12180 | vlefevre | 2018-02-01 14:31:06 +0000 (Thu, 01 Feb 2018) | 1 line
Changed paths:
   M /branches/4.0/ChangeLog

ChangeLog update with "TZ=UTC svn log -rHEAD:0 -v" (in UTF-8 locales).
------------------------------------------------------------------------
r12179 | vlefevre | 2018-02-01 14:28:02 +0000 (Thu, 01 Feb 2018) | 1 line
Changed paths:
   M /branches/4.0/NEWS

[NEWS] Mention "make check-exported-symbols" (experimental).
------------------------------------------------------------------------
r12177 | vlefevre | 2018-02-01 14:22:32 +0000 (Thu, 01 Feb 2018) | 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.1-rc2.
------------------------------------------------------------------------
r12176 | vlefevre | 2018-02-01 14:21:13 +0000 (Thu, 01 Feb 2018) | 1 line
Changed paths:
   M /branches/4.0/doc/mpfr.texi

[doc/mpfr.texi] Updated the month.
------------------------------------------------------------------------
r12175 | vlefevre | 2018-02-01 13:47:27 +0000 (Thu, 01 Feb 2018) | 1 line
Changed paths:
   M /branches/4.0/NEWS

[NEWS] Mention the mpfr_div_ui bug.
------------------------------------------------------------------------
r12170 | vlefevre | 2018-01-31 16:21:15 +0000 (Wed, 31 Jan 2018) | 3 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/src/div_ui.c
   M /branches/4.0/src/mpfr-impl.h
   M /branches/4.0/tests/tdiv_ui.c

Added value coverage for tdiv_ui (combinations of rb and sb in the
different cases of the mpfr_div_ui code) and other tests.
(merged changesets r12164-12169 from the trunk)
------------------------------------------------------------------------
r12164 | vlefevre | 2018-01-31 09:57:51 +0000 (Wed, 31 Jan 2018) | 5 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/src/div_ui.c
   M /branches/4.0/tests/tdiv.c
   M /branches/4.0/tests/tdiv_ui.c
   M /branches/4.0/tools/mpfrlint

[src/div_ui.c] Major rewrite to fix a mpfr_div_ui bug.
[tests/tdiv.c] Updated comment for bug20180126.
[tests/tdiv_ui.c] Added tests triggering the bug just fixed.
[tools/mpfrlint] Improved a regexp (avoiding false positives).
(merged the remaining changesets starting at r12123 from the trunk)
------------------------------------------------------------------------
r12138 | vlefevre | 2018-01-27 03:52:35 +0000 (Sat, 27 Jan 2018) | 2 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests/tdiv.c

[tests/tdiv.c] mpfr_div bug bug20180126: also test negative values.
(merged changeset r12137 from the trunk)
------------------------------------------------------------------------
r12135 | vlefevre | 2018-01-27 03:21:15 +0000 (Sat, 27 Jan 2018) | 2 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests/tdiv.c

[tests/tdiv.c] mpfr_div bug bug20180126 was introduced by r9086.
(merged changeset r12134 from the trunk)
------------------------------------------------------------------------
r12133 | vlefevre | 2018-01-26 17:04:38 +0000 (Fri, 26 Jan 2018) | 2 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests/tdiv.c

[tests/tdiv.c] Completed r12128 test with new comments and an assert.
(merged changeset r12132 from the trunk)
------------------------------------------------------------------------
r12130 | vlefevre | 2018-01-26 15:29:25 +0000 (Fri, 26 Jan 2018) | 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.1-dev.
------------------------------------------------------------------------
r12129 | vlefevre | 2018-01-26 15:28:39 +0000 (Fri, 26 Jan 2018) | 2 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests/tdiv.c

[tests/tdiv.c] Added test case for a mpfr_div bug of MPFR 4.
(merged changeset r12128 from the trunk)
------------------------------------------------------------------------
r12127 | vlefevre | 2018-01-25 15:19:15 +0000 (Thu, 25 Jan 2018) | 2 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/doc/README.dev

[doc/README.dev] Added information about symbol checking.
(merged changeset r12126 from the trunk)
------------------------------------------------------------------------
r12125 | vlefevre | 2018-01-25 14:46:21 +0000 (Thu, 25 Jan 2018) | 8 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/Makefile.am
   M /branches/4.0/doc/README.dev
   M /branches/4.0/src/Makefile.am

* Added check-exported-symbols make rule to check that MPFR does not
  define symbols with a GMP reserved prefix.
* For the check-gmp-symbols and check-exported-symbols make rules, if
  the library is not $(top_builddir)/src/.libs/libmpfr.so, these rules
  do nothing instead of potentially failing.
* doc/README.dev, "To make a release": mention "make check-gmp-symbols"
  and "make check-exported-symbols".
(merged changesets r12111-12114 from the trunk)
------------------------------------------------------------------------
r12123 | vlefevre | 2018-01-23 09:41:27 +0000 (Tue, 23 Jan 2018) | 4 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests/tests.c

[tests/tests.c] Mention a libtool 2.4.6 bug concerning Solaris, yielding
potential failures if a compatible MPFR version is already installed:
this MPFR library is tested instead of the one that has just been built.
(merged changeset r12122 from the trunk)
------------------------------------------------------------------------
r12121 | vlefevre | 2018-01-22 13:58:27 +0000 (Mon, 22 Jan 2018) | 1 line
Changed paths:
   M /branches/4.0/ChangeLog

ChangeLog update with "TZ=UTC svn log -rHEAD:0 -v" (in UTF-8 locales).
------------------------------------------------------------------------
r12120 | vlefevre | 2018-01-22 13:56:18 +0000 (Mon, 22 Jan 2018) | 1 line
Changed paths:
   M /branches/4.0/src/Makefile.am

[src/Makefile.am] Updated libmpfr_la_LDFLAGS for MPFR 4.0.1.
------------------------------------------------------------------------
r12119 | vlefevre | 2018-01-22 13:53:01 +0000 (Mon, 22 Jan 2018) | 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.1-rc1.
------------------------------------------------------------------------
r12118 | vlefevre | 2018-01-22 12:21:10 +0000 (Mon, 22 Jan 2018) | 1 line
Changed paths:
   M /branches/4.0/NEWS

[NEWS] + Improved __GMP_CC and __GMP_CFLAGS retrieval.
------------------------------------------------------------------------
r12116 | vlefevre | 2018-01-22 01:51:10 +0000 (Mon, 22 Jan 2018) | 4 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/configure.ac

[configure.ac] In the CC and CFLAGS setup from gmp.h, added to the
cpp list: "clang -E"; "cl -E" and "icl -E" for Windows ICC and MSVC
(suggested by Alexander).
(merged changeset r12115 from the trunk)
------------------------------------------------------------------------
r12110 | vlefevre | 2018-01-19 11:36:10 +0000 (Fri, 19 Jan 2018) | 1 line
Changed paths:
   M /branches/4.0/NEWS

[NEWS] Mention the bug fix r12109.
------------------------------------------------------------------------
r12109 | vlefevre | 2018-01-19 00:27:24 +0000 (Fri, 19 Jan 2018) | 6 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/src/mp_clz_tab.c
   M /branches/4.0/src/mpfr-gmp.h

Correct fix for the use of __clz_tab when the GMP build is used.
  * src/mpfr-gmp.h: reverse-merged r11969, which is incorrect and
    yields a build failure under some conditions.
  * src/mp_clz_tab.c: fixed the condition that tests whether the
    GMP build is used.
(merged changesets r12107-12108 from the trunk)
------------------------------------------------------------------------
r12106 | vlefevre | 2018-01-18 10:52:25 +0000 (Thu, 18 Jan 2018) | 1 line
Changed paths:
   M /branches/4.0/NEWS

[NEWS] Update for GNU MPFR 4.0.1.
------------------------------------------------------------------------
r12096 | vlefevre | 2018-01-10 17:03:36 +0000 (Wed, 10 Jan 2018) | 1 line
Changed paths:
   M /branches/4.0
   M /branches/4.0/src/check.c

Typo in a comment (cherry-picked everything from r12073 of the trunk).
------------------------------------------------------------------------
r12095 | vlefevre | 2018-01-10 16:58:10 +0000 (Wed, 10 Jan 2018) | 4 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/src/lngamma.c
   M /branches/4.0/tests/tlgamma.c

[src/lngamma.c] Fixed handling of reduced exponent range in mpfr_lgamma
  (also removed a useless cast).
[tests/tlgamma.c] Added a corresponding test case.
(merged changesets r12089-12092 from the trunk)
------------------------------------------------------------------------
r12094 | vlefevre | 2018-01-10 16:48:57 +0000 (Wed, 10 Jan 2018) | 4 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/src/ai.c
   M /branches/4.0/tests/tai.c

[src/ai.c] Fixed handling of reduced exponent range.
[tests/tai.c] Added corresponding test cases (in addition to what
  has been done in tgeneric.c).
(merged changesets r12070-12072,12074-12075 from the trunk)
------------------------------------------------------------------------
r12093 | vlefevre | 2018-01-10 16:38:44 +0000 (Wed, 10 Jan 2018) | 8 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests/tgeneric.c

[tests/tgeneric.c] Tests in a reduced exponent range:
  * Do several overflow/underflow tests instead of 1, and this for each
    precision. This allows one to detect 2 bugs (fixed in the trunk)
    that did not handle reduced exponent ranges correctly:
    - in mpfr_ai, making tai fail;
    - in mpfr_lgamma, making tlgamma hang with a 32-bit ABI.
  * Added some comments.
(merged changesets r12087-12088 from the trunk)
------------------------------------------------------------------------
r12086 | vlefevre | 2018-01-10 10:15:30 +0000 (Wed, 10 Jan 2018) | 4 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/tests/tsprintf.c

[tests/tsprintf.c] Fixed/simplified code with incorrect strncpy
usage (bug detected by gcc-snapshot 20180107-1 under Debian with
-Werror=stringop-truncation).
(merged changesets r12084-12085 from the trunk)
------------------------------------------------------------------------
r12083 | vlefevre | 2018-01-09 15:17:48 +0000 (Tue, 09 Jan 2018) | 6 lines
Changed paths:
   M /branches/4.0
   M /branches/4.0/doc/mpfr.texi

[doc/mpfr.texi] Misc improvements and corrections affecting the
description of the following functions:
  * mpfr_ai: fixed font encoding issue for PDF/DVI/PS (—x— → |x|).
  * mpfr_custom_init_set: fixed typography; improved text.
  * mpfr_custom_get_exp: improved text.
(merged changesets r12077-12082 from the trunk)
------------------------------------------------------------------------
r12078 | vlefevre | 2018-01-09 12:34:03 +0000 (Tue, 09 Jan 2018) | 5 lines
... (truncated)
