texlive[49895] Build/source/libs: mpfr-4.0.2

commits+kakuto at tug.org commits+kakuto at tug.org
Fri Feb 1 06:18:32 CET 2019


Revision: 49895
          http://tug.org/svn/texlive?view=revision&revision=49895
Author:   kakuto
Date:     2019-02-01 06:18:31 +0100 (Fri, 01 Feb 2019)
Log Message:
-----------
mpfr-4.0.2

Modified Paths:
--------------
    trunk/Build/source/libs/README
    trunk/Build/source/libs/mpfr/ChangeLog
    trunk/Build/source/libs/mpfr/TLpatches/ChangeLog
    trunk/Build/source/libs/mpfr/TLpatches/TL-Changes
    trunk/Build/source/libs/mpfr/TLpatches/patch-01-TL
    trunk/Build/source/libs/mpfr/configure
    trunk/Build/source/libs/mpfr/mpfr-src/AUTHORS
    trunk/Build/source/libs/mpfr/mpfr-src/BUGS
    trunk/Build/source/libs/mpfr/mpfr-src/ChangeLog
    trunk/Build/source/libs/mpfr/mpfr-src/INSTALL
    trunk/Build/source/libs/mpfr/mpfr-src/Makefile.am
    trunk/Build/source/libs/mpfr/mpfr-src/NEWS
    trunk/Build/source/libs/mpfr/mpfr-src/README
    trunk/Build/source/libs/mpfr/mpfr-src/TODO
    trunk/Build/source/libs/mpfr/mpfr-src/VERSION
    trunk/Build/source/libs/mpfr/mpfr-src/acinclude.m4
    trunk/Build/source/libs/mpfr/mpfr-src/configure.ac
    trunk/Build/source/libs/mpfr/mpfr-src/mpfr.pc.in
    trunk/Build/source/libs/mpfr/mpfr-src/src/Makefile.am
    trunk/Build/source/libs/mpfr/mpfr-src/src/abort_prec_max.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/acos.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/acosh.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/add.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/add1.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/add1sp.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/add_d.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/add_ui.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/agm.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/ai.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/amd/amdfam10/mparam.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/amd/athlon/mparam.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/amd/k8/mparam.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/arm/mparam.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/asin.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/asinh.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/atan.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/atan2.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/atanh.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/bernoulli.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/beta.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/buildopt.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/cache.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/cbrt.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/check.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/clear.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/clears.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/cmp.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/cmp2.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/cmp_abs.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/cmp_d.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/cmp_ld.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/cmp_si.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/cmp_ui.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/comparisons.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/const_catalan.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/const_euler.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/const_log2.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/const_pi.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/constant.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/copysign.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/cos.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/cosh.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/cot.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/coth.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/csc.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/csch.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/d_div.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/d_sub.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/digamma.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/dim.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/div.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/div_2exp.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/div_2si.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/div_2ui.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/div_d.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/div_ui.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/dump.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/eint.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/eq.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/erandom.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/erf.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/erfc.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/exceptions.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/exp.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/exp10.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/exp2.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/exp3.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/exp_2.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/expm1.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/extract.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/factorial.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/fits_intmax.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/fits_s.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/fits_sint.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/fits_slong.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/fits_sshort.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/fits_u.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/fits_uint.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/fits_uintmax.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/fits_ulong.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/fits_ushort.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/fma.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/fmma.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/fms.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/fpif.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/frac.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/free_cache.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/frexp.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/gamma.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/gamma_inc.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/gammaonethird.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/gen_inverse.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/generic/coverage/mparam.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/generic/mparam.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/get_d.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/get_d64.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/get_exp.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/get_f.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/get_float128.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/get_flt.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/get_ld.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/get_patches.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/get_q.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/get_si.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/get_sj.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/get_str.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/get_ui.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/get_uj.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/get_z.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/get_z_exp.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/gmp_op.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/grandom.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/hppa/mparam.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/hypot.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/ia64/mparam.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/ieee_floats.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/init.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/init2.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/inits.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/inits2.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/inp_str.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/int_ceil_log2.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/invert_limb.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/invsqrt_limb.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/isinf.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/isinteger.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/isnan.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/isnum.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/isqrt.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/isregular.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/iszero.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/jn.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/jyn_asympt.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/li2.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/lngamma.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/log.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/log10.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/log1p.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/log2.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/log_ui.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/logging.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/min_prec.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/minmax.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/mips/mparam.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/modf.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/mp_clz_tab.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/mparam_h.in
    trunk/Build/source/libs/mpfr/mpfr-src/src/mpf2mpfr.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-cvers.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-gmp.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-gmp.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-impl.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-intmax.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-longlong.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-mini-gmp.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-mini-gmp.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-sassert.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-thread.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/mpn_exp.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/mul.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/mul_2exp.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/mul_2si.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/mul_2ui.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/mul_d.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/mul_ui.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/mulders.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/neg.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/next.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/nrandom.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/odd_p.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/out_str.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/pool.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/pow.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/pow_si.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/pow_ui.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/pow_z.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/powerof2.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/powerpc32/mparam.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/powerpc64/mparam.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/print_raw.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/print_rnd_mode.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/printf.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/random_deviate.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/random_deviate.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/rec_sqrt.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/reldiff.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/rem1.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/rint.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/rndna.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/root.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/round_near_x.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/round_p.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/round_prec.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/round_raw_generic.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/scale2.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/sec.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/sech.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/set.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/set_d.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/set_d64.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/set_dfl_prec.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/set_exp.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/set_f.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/set_float128.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/set_flt.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/set_inf.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/set_ld.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/set_nan.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/set_prc_raw.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/set_prec.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/set_q.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/set_rnd.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/set_si.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/set_si_2exp.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/set_sj.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/set_str.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/set_str_raw.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/set_ui.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/set_ui_2exp.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/set_uj.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/set_z.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/set_z_exp.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/set_zero.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/setmax.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/setmin.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/setsign.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/sgn.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/si_op.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/signbit.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/sin.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/sin_cos.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/sinh.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/sinh_cosh.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/sparc64/mparam.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/sqr.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/sqrt.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/sqrt_ui.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/stack_interface.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/strtofr.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/sub.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/sub1.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/sub1sp.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/sub_d.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/sub_ui.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/subnormal.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/sum.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/swap.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/tan.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/tanh.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/ubf.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/uceil_exp2.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/uceil_log2.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/ufloor_log2.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/ui_div.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/ui_pow.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/ui_pow_ui.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/ui_sub.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/urandom.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/urandomb.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/vasprintf.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/version.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/volatile.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/x86/core2/mparam.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/x86/mparam.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/x86_64/core2/mparam.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/x86_64/pentium4/mparam.h
    trunk/Build/source/libs/mpfr/mpfr-src/src/yn.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/zeta.c
    trunk/Build/source/libs/mpfr/mpfr-src/src/zeta_ui.c
    trunk/Build/source/libs/mpfr/version.ac

Modified: trunk/Build/source/libs/README
===================================================================
--- trunk/Build/source/libs/README	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/README	2019-02-01 05:18:31 UTC (rev 49895)
@@ -46,7 +46,7 @@
 luajit 2.1.0-beta3 - checked 20jun17
   http://luajit.org/download/LuaJIT-2.1.0-beta3.tar.gz
 
-mpfr 4.0.1 - checked 10feb18
+mpfr 4.0.2 - checked 1jan19
   http://ftp.gnu.org/gnu/mpfr/
 
 pixman 0.36.0 - checked 22nov18

Modified: trunk/Build/source/libs/mpfr/ChangeLog
===================================================================
--- trunk/Build/source/libs/mpfr/ChangeLog	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/ChangeLog	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,3 +1,8 @@
+2019-02-01  Akira Kakuto  <kakuto at w32tex.org>
+
+	Import mpfr-4.0.2.
+	* version.ac: Adjust.
+
 2018-02-10  Akira Kakuto  <kakuto at fuk.kindai.ac.jp>
 
 	Import mpfr-4.0.1.

Modified: trunk/Build/source/libs/mpfr/TLpatches/ChangeLog
===================================================================
--- trunk/Build/source/libs/mpfr/TLpatches/ChangeLog	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/TLpatches/ChangeLog	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,3 +1,9 @@
+2019-02-01  Akira Kakuto  <kakuto at w32tex.org>
+
+	Imported mpfr-4.0.2 source tree from:
+	  http://ftp.gnu.org/gnu/mpfr/
+	* patch-01-TL: Adapted.
+
 2018-02-10  Akira Kakuto  <kakuto at fuk.kindai.ac.jp>
 
 	Imported mpfr-4.0.1 source tree from:

Modified: trunk/Build/source/libs/mpfr/TLpatches/TL-Changes
===================================================================
--- trunk/Build/source/libs/mpfr/TLpatches/TL-Changes	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/TLpatches/TL-Changes	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,4 +1,4 @@
-Changes applied to the mpfr-4.0.1/ tree as obtained from:
+Changes applied to the mpfr-4.0.2/ tree as obtained from:
 	http://ftp.gnu.org/gnu/mpfr/
 
 Removed:

Modified: trunk/Build/source/libs/mpfr/TLpatches/patch-01-TL
===================================================================
--- trunk/Build/source/libs/mpfr/TLpatches/patch-01-TL	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/TLpatches/patch-01-TL	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
-diff -ur mpfr-4.0.1/src/mparam_h.in mpfr-src/src/mparam_h.in
---- mpfr-4.0.1/src/mparam_h.in	Tue Jan 09 21:30:58 2018
-+++ mpfr-src/src/mparam_h.in	Sat Feb 10 15:24:58 2018
+diff -ur mpfr-4.0.2/src/mparam_h.in mpfr-src/src/mparam_h.in
+--- mpfr-4.0.2/src/mparam_h.in	Mon Jan 07 22:53:20 2019
++++ mpfr-src/src/mparam_h.in	Fri Feb 01 13:50:51 2019
 @@ -32,6 +32,8 @@
     for example with gcc -dM -E -xc /dev/null
     As of gcc 4.2, you can also use: -march=native or -mtune=native */

Modified: trunk/Build/source/libs/mpfr/configure
===================================================================
--- trunk/Build/source/libs/mpfr/configure	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/configure	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for mpfr (TeX Live) 4.0.1.
+# Generated by GNU Autoconf 2.69 for mpfr (TeX Live) 4.0.2.
 #
 # Report bugs to <tex-k at tug.org>.
 #
@@ -580,8 +580,8 @@
 # Identity of this package.
 PACKAGE_NAME='mpfr (TeX Live)'
 PACKAGE_TARNAME='mpfr--tex-live-'
-PACKAGE_VERSION='4.0.1'
-PACKAGE_STRING='mpfr (TeX Live) 4.0.1'
+PACKAGE_VERSION='4.0.2'
+PACKAGE_STRING='mpfr (TeX Live) 4.0.2'
 PACKAGE_BUGREPORT='tex-k at tug.org'
 PACKAGE_URL=''
 
@@ -1295,7 +1295,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures mpfr (TeX Live) 4.0.1 to adapt to many kinds of systems.
+\`configure' configures mpfr (TeX Live) 4.0.2 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1365,7 +1365,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of mpfr (TeX Live) 4.0.1:";;
+     short | recursive ) echo "Configuration of mpfr (TeX Live) 4.0.2:";;
    esac
   cat <<\_ACEOF
 
@@ -1469,7 +1469,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-mpfr (TeX Live) configure 4.0.1
+mpfr (TeX Live) configure 4.0.2
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1938,7 +1938,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by mpfr (TeX Live) $as_me 4.0.1, which was
+It was created by mpfr (TeX Live) $as_me 4.0.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3862,7 +3862,7 @@
 
 # Define the identity of the package.
  PACKAGE='mpfr--tex-live-'
- VERSION='4.0.1'
+ VERSION='4.0.2'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -7612,7 +7612,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by mpfr (TeX Live) $as_me 4.0.1, which was
+This file was extended by mpfr (TeX Live) $as_me 4.0.2, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -7682,7 +7682,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-mpfr (TeX Live) config.status 4.0.1
+mpfr (TeX Live) config.status 4.0.2
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 

Modified: trunk/Build/source/libs/mpfr/mpfr-src/AUTHORS
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/AUTHORS	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/AUTHORS	2019-02-01 05:18:31 UTC (rev 49895)
@@ -18,9 +18,9 @@
 Philippe Théveny        Main author
 Sylvain Chevillard      Original version of ai.c
 Charles Karney          mpfr_nrandom and mpfr_erandom functions
-Fredrik Johannsson      New version of mpfr_const_euler
+Fredrik Johansson       New version of mpfr_const_euler
 Mickaël Gastineau       MPFRbench program
 
 The main authors are included in the MPFR mailing-list <mpfr at inria.fr>.
 This is the preferred way to contact us. For further information, please
-look at the MPFR web page <http://www.mpfr.org/>.
+look at the MPFR web page <https://www.mpfr.org/>.

Modified: trunk/Build/source/libs/mpfr/mpfr-src/BUGS
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/BUGS	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/BUGS	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,4 +1,4 @@
-Copyright 1999, 2001-2018 Free Software Foundation, Inc.
+Copyright 1999, 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -15,7 +15,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 
 ##############################################################################

Modified: trunk/Build/source/libs/mpfr/mpfr-src/ChangeLog
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/ChangeLog	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/ChangeLog	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,4 +1,2208 @@
 ------------------------------------------------------------------------
+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
@@ -3729,7 +5933,7 @@
 [configure.ac] Under Linux, make sure that the old dtags are used
 if LD_LIBRARY_PATH is defined, avoiding the following issue:
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859732
-  http://lists.gnu.org/archive/html/libtool/2017-05/msg00000.html
+  https://lists.gnu.org/archive/html/libtool/2017-05/msg00000.html
 (merged changeset r11587 from the 3.1 branch)
 ------------------------------------------------------------------------
 r11586 | vlefevre | 2017-07-10 11:53:17 +0000 (Mon, 10 Jul 2017) | 1 line
@@ -10090,7 +12294,7 @@
    M /trunk/src/get_ld.c
    M /trunk/src/set_ld.c
 
-[src/cmp_ld.c] include float.h so that MPFR_LDBL_MANT_DIG is correcly defined
+[src/cmp_ld.c] include float.h so that MPFR_LDBL_MANT_DIG is correctly defined
 [src/get_ld.c,src/set_ld.c] added comment
 
 ------------------------------------------------------------------------
@@ -17645,7 +19849,7 @@
    A /trunk/libtool-tcc-rpath.patch
 
 Added libtool-tcc-rpath.patch from
-  http://lists.gnu.org/archive/html/libtool-patches/2015-05/msg00000.html
+  https://lists.gnu.org/archive/html/libtool-patches/2015-05/msg00000.html
 so that tcc can be used with libtool 2.4.3 to 2.4.6.
 In doc/README.dev, documented how to use this patch (before a release).
 ------------------------------------------------------------------------
@@ -19676,8 +21880,8 @@
    M /trunk/doc/README.dev
 
 [doc/README.dev] Completed the note about GCC's sanitizer. See
-  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44786 (sanitizer)
-  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60275 (no recover)
+  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44786 (sanitizer)
+  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60275 (no recover)
 ------------------------------------------------------------------------
 r9043 | vlefevre | 2014-04-25 08:30:38 +0000 (Fri, 25 Apr 2014) | 1 line
 Changed paths:
@@ -22820,7 +25024,7 @@
 [src/mpfr-sassert.h] Get rid of annoying warnings
   typedef 'MPFR_ASSERT_xxx' locally defined but not used
 with GCC 4.8+ (better than the non-portable solution r8618). Thanks to
-Jonathan Wakely: http://gcc.gnu.org/ml/gcc-help/2013-07/msg00142.html
+Jonathan Wakely: https://gcc.gnu.org/ml/gcc-help/2013-07/msg00142.html
 ------------------------------------------------------------------------
 r8624 | zimmerma | 2013-07-22 12:06:18 +0000 (Mon, 22 Jul 2013) | 4 lines
 Changed paths:
@@ -23881,7 +26085,7 @@
    M /trunk/tune/tuneup.c
 
 Use copyright year ranges, following
-  http://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices
+  https://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices
 ------------------------------------------------------------------------
 r8537 | vlefevre | 2013-05-30 13:51:01 +0000 (Thu, 30 May 2013) | 1 line
 Changed paths:
@@ -31033,7 +33237,7 @@
 Changed paths:
    M /trunk/tests/trint.c
 
-Previous extented coverage test in trint.c now self generate tests in and compare values
+Previous extended coverage test in trint.c now self generate tests in and compare values
 ------------------------------------------------------------------------
 r7524 | demengeo | 2011-03-04 14:14:13 +0000 (Fri, 04 Mar 2011) | 1 line
 Changed paths:
@@ -39152,7 +41356,7 @@
    M /trunk/tests/Makefile.am
 
 Makefile.am, tests/Makefile.am: patch from Ralf Wildenhues.
-http://lists.gnu.org/archive/html/bug-automake/2009-09/msg00033.html
+https://lists.gnu.org/archive/html/bug-automake/2009-09/msg00033.html
 ------------------------------------------------------------------------
 r6475 | vlefevre | 2009-09-18 15:00:09 +0000 (Fri, 18 Sep 2009) | 1 line
 Changed paths:
@@ -41803,7 +44007,7 @@
 Changed paths:
    M /trunk/mpfr.h
 
-Add protoype for mpfr_min_prec in mpfr.h.
+Add prototype for mpfr_min_prec in mpfr.h.
 
 ------------------------------------------------------------------------
 r6103 | lfousse | 2009-03-15 20:34:33 +0000 (Sun, 15 Mar 2009) | 2 lines
@@ -44652,7 +46856,7 @@
    M /trunk/INSTALL
 
 INSTALL: TLS on darwin may work, but I don't know anything more.
-See thread <http://gcc.gnu.org/ml/gcc/2008-12/msg00107.html>.
+See thread <https://gcc.gnu.org/ml/gcc/2008-12/msg00107.html>.
 ------------------------------------------------------------------------
 r5702 | vlefevre | 2008-12-08 16:02:29 +0000 (Mon, 08 Dec 2008) | 1 line
 Changed paths:
@@ -44987,7 +47191,7 @@
 
 configure.in: replaced $(...) quoting style by "`...`" since the former
 is not supported everywhere (and indeed is not used by the autotools):
-http://swox.com/list-archives/gmp-bugs/2008-October/001185.html
+https://gmplib.org/list-archives/gmp-bugs/2008-October/001185.html
 ------------------------------------------------------------------------
 r5658 | vlefevre | 2008-10-29 01:21:29 +0000 (Wed, 29 Oct 2008) | 2 lines
 Changed paths:
@@ -49364,7 +51568,7 @@
    M /trunk/tests/tprintf.c
    M /trunk/vasprintf.c
 
-exponent continuity with one hexadecimal digit ouput
+exponent continuity with one hexadecimal digit output
 
 ------------------------------------------------------------------------
 r5104 | thevenyp | 2007-12-17 14:41:58 +0000 (Mon, 17 Dec 2007) | 2 lines
@@ -58515,7 +60719,7 @@
    M /trunk/zeta_ui.c
 
 Updated the copyright notices according to the new GNU rules on:
-  http://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices
+  https://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices
 i.e. added 2006 to every MPFR file.
 Note: the copyright notices (currently 336) should match the regexp
   Copyright.* 2006 Free Software
@@ -60854,7 +63058,7 @@
    M /trunk/extract.c
    M /trunk/strtofr.c
 
-Fix warnings due to comparaison between signed and unsigned.
+Fix warnings due to comparison between signed and unsigned.
 Reinclude string.h for strtofr.
 
 ------------------------------------------------------------------------
@@ -61092,7 +63296,7 @@
    M /trunk/COPYING
    M /trunk/COPYING.LIB
 
-Forget thoses two. Update from FSF site.
+Forget those two. Update from FSF site.
 
 ------------------------------------------------------------------------
 r3607 | pelissip | 2005-06-02 16:16:17 +0000 (Thu, 02 Jun 2005) | 2 lines
@@ -62268,7 +64472,7 @@
 Changed paths:
    M /trunk/tests/reuse.c
 
-Add new funcions in reuse test.
+Add new functions in reuse test.
 
 ------------------------------------------------------------------------
 r3503 | zimmerma | 2005-04-30 11:03:47 +0000 (Sat, 30 Apr 2005) | 2 lines
@@ -63656,7 +65860,7 @@
    M /trunk/tanh.c
    M /trunk/zeta.c
 
-Log input and ouput of functions.
+Log input and output of functions.
 
 ------------------------------------------------------------------------
 r3314 | pelissip | 2005-02-15 10:06:39 +0000 (Tue, 15 Feb 2005) | 2 lines
@@ -63926,7 +66130,7 @@
 As a consequence some tests using AC_RUN_IFELSE may fail due to ugly things
 like LD_LIBRARY_PATH no set or wrong selection of libgmp.
 So they just produce a warning, not a fatal error.
-TODO: Check if we can avoid thoses problems...
+TODO: Check if we can avoid those problems...
 
 ------------------------------------------------------------------------
 r3283 | pelissip | 2005-02-08 15:49:12 +0000 (Tue, 08 Feb 2005) | 3 lines
@@ -65135,7 +67339,7 @@
 Changed paths:
    M /trunk/mpfr.h
 
-Remove thread attribut until I found a good way to use it.
+Remove thread attribute until I found a good way to use it.
 
 ------------------------------------------------------------------------
 r3140 | pelissip | 2004-12-15 10:49:11 +0000 (Wed, 15 Dec 2004) | 2 lines
@@ -65284,7 +67488,7 @@
 Changed paths:
    M /trunk/mpfr.h
 
-Add support for new attribut sentinel in incoming GCC 4.0
+Add support for new attribute sentinel in incoming GCC 4.0
 
 ------------------------------------------------------------------------
 r3122 | pelissip | 2004-12-09 13:23:25 +0000 (Thu, 09 Dec 2004) | 2 lines
@@ -65305,7 +67509,7 @@
 
 Optimize mpfr_set4.
 Inline rounding in mpfr_set4 and mpfr_cache
-mpfr_set4 dosn't return MPFR_EVEN_INEX (It was undocumented before).
+mpfr_set4 doesn't return MPFR_EVEN_INEX (It was undocumented before).
 Fix problems with tests (Avoid mixing MPFR_EVEN_INEX and 1).
 Add MPFR_RNDRAW_EVEN for rounding with MPFR_EVEN_INEX inexact support
 
@@ -66214,7 +68418,7 @@
    M /trunk/mpfr.texi
 
 Update documentation and NEWS to reflect new functions
-and functionnality.
+and functionality.
 
 ------------------------------------------------------------------------
 r3008 | pelissip | 2004-09-29 12:28:17 +0000 (Wed, 29 Sep 2004) | 2 lines
@@ -66306,7 +68510,7 @@
 Changed paths:
    M /trunk/div.c
 
-Replace variable 'near' to 'the_real_near' since MSVC incorreclty
+Replace variable 'near' to 'the_real_near' since MSVC incorrectly
 recognize "far" and "near" as obsolete keywords (100% incorrect, and
 clearly MSVC fault but it doesn't cost many things to change the name).
 
@@ -69508,7 +71712,7 @@
 Changed paths:
    M /trunk/isinteger.c
 
-+ Simplify the signular code.
++ Simplify the singular code.
 + Fix potential type errors. (Used mpfr_prec_t instead of mpfr_uexp_t).
 
 ------------------------------------------------------------------------
@@ -69983,7 +72187,7 @@
    M /trunk/tests/tsub1sp.c
 
 + Add a new test in case of underflow.
-+ Fix bug in case of underflow for sub1 / sub1sp (mpfr_powerof2 could be called with inalid numbers).
++ Fix bug in case of underflow for sub1 / sub1sp (mpfr_powerof2 could be called with invalid numbers).
 
 ------------------------------------------------------------------------
 r2570 | pelissip | 2003-12-09 14:58:26 +0000 (Tue, 09 Dec 2003) | 3 lines
@@ -70084,7 +72288,7 @@
    M /trunk/mpfr-impl.h
    M /trunk/sub1.c
 
-Optmize a few add1.c/sub1.c by using MPFR_LIKELY / MPFR_UNLIKELY.
+Optimize a few add1.c/sub1.c by using MPFR_LIKELY / MPFR_UNLIKELY.
 
 ------------------------------------------------------------------------
 r2563 | pelissip | 2003-11-21 16:26:19 +0000 (Fri, 21 Nov 2003) | 2 lines
@@ -70109,7 +72313,7 @@
    M /trunk/sub1.c
    M /trunk/zeta.c
 
-Remove some warnings and potential errors (Comparaison between signed and unsigned).
+Remove some warnings and potential errors (Comparison between signed and unsigned).
 
 ------------------------------------------------------------------------
 r2562 | pelissip | 2003-11-21 15:27:35 +0000 (Fri, 21 Nov 2003) | 4 lines
@@ -77456,7 +79660,7 @@
    M /trunk/tests/tui_div.c
    M /trunk/tests/tui_sub.c
 
-- use mpfr_test_init to initialize harware floats
+- use mpfr_test_init to initialize hardware floats
 - use #ifdef HAVE_INFS when using DBL_NAN, ...
 - fixed some problems with wrongly converted f-p values (esp. under IRIX)
 
@@ -78541,7 +80745,7 @@
 Changed paths:
    M /trunk/acosh.c
 
-chnage the return values
+change the return values
 
 ------------------------------------------------------------------------
 r1683 | daney | 2002-02-06 15:34:15 +0000 (Wed, 06 Feb 2002) | 2 lines
@@ -78795,7 +80999,7 @@
 Changed paths:
    M /trunk/fma.c
 
-Change indendation + replace "" -> <> in header
+Change indentation + replace "" -> <> in header
 
 ------------------------------------------------------------------------
 r1655 | vlefevre | 2002-01-17 21:45:41 +0000 (Thu, 17 Jan 2002) | 2 lines
@@ -80980,7 +83184,7 @@
 Changed paths:
    M /trunk/fma.c
 
-mixed version beetwen DD and Pau => (gestion des flag inexacte dirige)
+mixed version between DD and Pau => (gestion des flag inexacte dirige)
 
 ------------------------------------------------------------------------
 r1431 | daney | 2001-10-26 15:28:31 +0000 (Fri, 26 Oct 2001) | 2 lines
@@ -82434,7 +84638,7 @@
 Changed paths:
    M /trunk/set_d.c
 
-implemeted inexact flag in mpfr_set_d
+implemented inexact flag in mpfr_set_d
 
 ------------------------------------------------------------------------
 r1234 | zimmerma | 2001-10-12 12:17:24 +0000 (Fri, 12 Oct 2001) | 2 lines
@@ -89843,7 +92047,7 @@
 Changed paths:
    M /trunk/sqrt3.c
 
-The word added when the exponent is odd was sometimes unitialized.
+The word added when the exponent is odd was sometimes uninitialized.
 
 ------------------------------------------------------------------------
 r320 | hanrot | 1999-07-06 09:39:42 +0000 (Tue, 06 Jul 1999) | 2 lines

Modified: trunk/Build/source/libs/mpfr/mpfr-src/INSTALL
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/INSTALL	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/INSTALL	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,4 +1,4 @@
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -15,7 +15,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 
 
@@ -28,8 +28,8 @@
 problems are due to bad configuration on the user side (not specific to
 MPFR).
 
-0. You first need to install GMP. See <http://www.gnu.org/software/gmp/>.
-   MPFR requires GMP version 4.1 or later.
+0. You first need to install GMP. See <https://gmplib.org/>.
+   MPFR requires GMP version 5.0.0 or later.
 
 1. Extract the files from the archive.
 
@@ -37,17 +37,17 @@
    not been done yet and if patches are available. You can check
    on the release page:
 
-     http://www.mpfr.org/mpfr-4.0.1/
+     https://www.mpfr.org/mpfr-4.0.2/
 
    which may have additional information. The patches can be applied
    with commands like:
 
-     wget http://www.mpfr.org/mpfr-4.0.1/allpatches
+     wget https://www.mpfr.org/mpfr-4.0.2/allpatches
      patch -N -Z -p1 < allpatches
 
    or
 
-     curl http://www.mpfr.org/mpfr-4.0.1/allpatches | patch -N -Z -p1
+     curl https://www.mpfr.org/mpfr-4.0.2/allpatches | patch -N -Z -p1
 
    (Those instructions are for the GNU patch command, for example
    /usr/bin/gpatch on Solaris.)
@@ -238,13 +238,19 @@
 
 [1] http://permalink.gmane.org/gmane.comp.gnu.libtool.patches/10111
 
-Note: By default, the configure script tries to set CC/CFLAGS to GMP's
-ones (this feature needs GMP 4.3.0 or later, or the --with-gmp-build
-option). However this is not guaranteed to work as the configure script
-does some compiler tests earlier, and the change may be too late. Also,
-the values obtained from GMP may be incorrect if GMP has been built
-on a different machine. In such a case, the user may need to specify
-CC/CFLAGS as explained below.
+Note: By default, the configure script tries to set CC / CFLAGS to GMP's
+ones from gmp.h (__GMP_CC / __GMP_CFLAGS) in order to ensure that MPFR is
+built with the same ABI as GMP. The reason is that when GMP is built, it
+may set CC / CFLAGS to select an ABI that is not the default one in order
+to have a better performance. The -pedantic option in GMP's CFLAGS, when
+present (which is the case by default), is removed, because the MPFR
+build system uses some C extensions (when this script detects that they
+are supported) and -pedantic yields too many useless warnings. However,
+this setting from GMP is not guaranteed to work as the configure script
+does some compiler tests earlier, and a conflict may arise. Also, the
+values obtained from GMP may be incorrect for the MPFR build if GMP has
+been built on a different machine; in such a case, the user may need to
+specify CC / CFLAGS, as explained below.
 
 Moreover, even without --with-gmp-build and --enable-gmp-internals,
 MPFR might use some GMP internals by mistake. This would be a bug,
@@ -361,9 +367,9 @@
 Several documents may help you to solve the problem:
   * this INSTALL file, in particular information given below;
   * the FAQ (either the FAQ.html file distributed with MPFR, or the
-    on-line version <http://www.mpfr.org/faq.html>, which may be more
+    on-line version <https://www.mpfr.org/faq.html>, which may be more
     up-to-date);
-  * the MPFR web page for this version <http://www.mpfr.org/mpfr-4.0.1/>,
+  * the MPFR web page for this version <https://www.mpfr.org/mpfr-4.0.2/>,
     which lists bugs found in this version and provides some patches.
 
 If the "configure" fails, please check that the C compiler and its

Modified: trunk/Build/source/libs/mpfr/mpfr-src/Makefile.am
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/Makefile.am	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/Makefile.am	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,4 +1,4 @@
-# Copyright 2000-2018 Free Software Foundation, Inc.
+# Copyright 2000-2019 Free Software Foundation, Inc.
 # This Makefile.am is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.

Modified: trunk/Build/source/libs/mpfr/mpfr-src/NEWS
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/NEWS	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/NEWS	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,4 +1,4 @@
-Copyright 2000-2018 Free Software Foundation, Inc.
+Copyright 2000-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -15,11 +15,20 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 
 ##############################################################################
 
+Changes from version 4.0.1 to version 4.0.2:
+- Corrected minimal GMP version in the INSTALL file and the MPFR manual.
+- Option -pedantic is now always removed from __GMP_CFLAGS (see INSTALL).
+- Shared caches: cleanup; really detect lock failures (abort in this case).
+- Improved MPFR manual. In particular, corrected/completed the
+  mpfr_get_str description in order to follow the historical behavior
+  and GMP's mpf_get_str function.
+- Bug fixes (see ChangeLog file).
+
 Changes from version 4.0.0 to version 4.0.1:
 - Improved MPFR manual.
 - Improved __GMP_CC and __GMP_CFLAGS retrieval (in particular for MS Windows).

Modified: trunk/Build/source/libs/mpfr/mpfr-src/README
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/README	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/README	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,4 +1,4 @@
-Copyright 2000-2018 Free Software Foundation, Inc.
+Copyright 2000-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -15,7 +15,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 
 ##############################################################################

Modified: trunk/Build/source/libs/mpfr/mpfr-src/TODO
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/TODO	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/TODO	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,4 +1,4 @@
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -15,7 +15,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 
 Table of contents:
@@ -59,7 +59,7 @@
 - export mpfr_overflow and mpfr_underflow as public functions
 
 - many functions currently taking into account the precision of the *input*
-  variable to set the initial working precison (acosh, asinh, cosh, ...).
+  variable to set the initial working precision (acosh, asinh, cosh, ...).
   This is nonsense since the "average" working precision should only depend
   on the precision of the *output* variable (and maybe on the *value* of
   the input in case of cancellation).
@@ -188,7 +188,7 @@
   + arcu (5.3.10.15): arctan2(y,x) u / (2 pi);
   + rad_to_cycle, cycle_to_rad, cycle_to_cycle (5.3.11.{1..3}).
 - From GSL, missing special functions (if useful in MPFR):
-  (cf http://www.gnu.org/software/gsl/manual/gsl-ref.html#Special-Functions)
+  (cf https://www.gnu.org/software/gsl/manual/gsl-ref.html#Special-Functions)
   + The Airy functions Ai(x) and Bi(x) defined by the integral representations:
    * Ai(x) = (1/\pi) \int_0^\infty \cos((1/3) t^3 + xt) dt
    * Bi(x) = (1/\pi) \int_0^\infty (e^(-(1/3) t^3) + \sin((1/3) t^3 + xt)) dt

Modified: trunk/Build/source/libs/mpfr/mpfr-src/VERSION
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/VERSION	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/VERSION	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1 +1 @@
-4.0.1
+4.0.2

Modified: trunk/Build/source/libs/mpfr/mpfr-src/acinclude.m4
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/acinclude.m4	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/acinclude.m4	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 dnl  MPFR specific autoconf macros
 
-dnl  Copyright 2000, 2002-2018 Free Software Foundation, Inc.
+dnl  Copyright 2000, 2002-2019 Free Software Foundation, Inc.
 dnl  Contributed by the AriC and Caramba projects, INRIA.
 dnl
 dnl  This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 dnl
 dnl  You should have received a copy of the GNU Lesser General Public License
 dnl  along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-dnl  http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+dnl  https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 dnl  51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 
 dnl  autoconf 2.60 is necessary because of the use of AC_PROG_SED.
@@ -44,6 +44,66 @@
 AC_REQUIRE([AC_HEADER_TIME])
 AC_REQUIRE([AC_CANONICAL_HOST])
 
+dnl Features for the MPFR shared cache. This needs to be done
+dnl quite early since this may change CC, CFLAGS and LIBS, which
+dnl may affect the other tests.
+
+if test "$enable_shared_cache" = yes; then
+
+dnl Prefer ISO C11 threads (as in mpfr-thread.h).
+  MPFR_CHECK_C11_THREAD()
+
+  if test "$mpfr_c11_thread_ok" != yes; then
+dnl Check for POSIX threads. Since the AX_PTHREAD macro is not standard
+dnl (it is provided by autoconf-archive), we need to detect whether it
+dnl is left unexpanded, otherwise the configure script won't fail and
+dnl "make distcheck" won't give any error, yielding buggy tarballs!
+dnl The \b is necessary to avoid an error with recent ax_pthread.m4
+dnl (such as with Debian's autoconf-archive 20160320-1), which contains
+dnl AX_PTHREAD_ZOS_MISSING, etc. It is not documented, but see:
+dnl   https://lists.gnu.org/archive/html/autoconf/2015-03/msg00011.html
+dnl
+dnl Note: each time a change is done in m4_pattern_forbid, autogen.sh
+dnl should be tested with and without ax_pthread.m4 availability (in
+dnl the latter case, there should be an error).
+    m4_pattern_forbid([AX_PTHREAD\b])
+    AX_PTHREAD([])
+    if test "$ax_pthread_ok" = yes; then
+      CC="$PTHREAD_CC"
+      CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+      LIBS="$LIBS $PTHREAD_LIBS"
+dnl Do a compilation test, as this is currently not done by AX_PTHREAD.
+dnl Moreover, MPFR needs pthread_rwlock_t, which is conditionally defined
+dnl in glibc's bits/pthreadtypes.h (via <pthread.h>), not sure why...
+      AC_MSG_CHECKING([for pthread_rwlock_t])
+      AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+#include <pthread.h>
+]], [[
+pthread_rwlock_t lock; (void) lock;
+]])],
+        [AC_MSG_RESULT([yes])
+         mpfr_pthread_ok=yes],
+        [AC_MSG_RESULT([no])
+         mpfr_pthread_ok=no])
+    else
+      mpfr_pthread_ok=no
+    fi
+  fi
+
+  AC_MSG_CHECKING(if shared cache can be supported)
+  if test "$mpfr_c11_thread_ok" = yes; then
+    AC_MSG_RESULT([yes, with ISO C11 threads])
+  elif test "$mpfr_pthread_ok" = yes; then
+    AC_MSG_RESULT([yes, with pthread])
+  else
+    AC_MSG_RESULT(no)
+    AC_MSG_ERROR([shared cache needs C11 threads or pthread support])
+  fi
+
+fi
+
+dnl End of features for the MPFR shared cache.
+
 AC_CHECK_HEADER([limits.h],, AC_MSG_ERROR([limits.h not found]))
 AC_CHECK_HEADER([float.h],,  AC_MSG_ERROR([float.h not found]))
 AC_CHECK_HEADER([string.h],, AC_MSG_ERROR([string.h not found]))
@@ -206,24 +266,6 @@
 dnl Check for attribute constructor and destructor
 MPFR_CHECK_CONSTRUCTOR_ATTR()
 
-dnl Check for POSIX Thread. Since the AX_PTHREAD macro is not standard
-dnl (it is provided by autoconf-archive), we need to detect whether it
-dnl is left unexpanded, otherwise the configure script won't fail and
-dnl "make distcheck" won't give any error, yielding buggy tarballs!
-dnl The \b is necessary to avoid an error with recent ax_pthread.m4
-dnl (such as with Debian's autoconf-archive 20160320-1), which contains
-dnl AX_PTHREAD_ZOS_MISSING, etc. It is not documented, but see:
-dnl   https://lists.gnu.org/archive/html/autoconf/2015-03/msg00011.html
-dnl
-dnl Note: each time a change is done in m4_pattern_forbid, autogen.sh
-dnl should be tested with and without ax_pthread.m4 availability (in
-dnl the latter case, there should be an error).
-m4_pattern_forbid([AX_PTHREAD\b])
-AX_PTHREAD([])
-
-dnl Check for ISO C11 Thread
-MPFR_CHECK_C11_THREAD()
-
 dnl Check for fesetround
 AC_CACHE_CHECK([for fesetround], mpfr_cv_have_fesetround, [
 saved_LIBS="$LIBS"
@@ -504,14 +546,6 @@
 dnl Now try to check the long double format
 MPFR_C_LONG_DOUBLE_FORMAT
 
-if test "$enable_logging" = yes; then
-  if test "$enable_thread_safe" = yes; then
-    AC_MSG_ERROR([enable either `Logging' or `thread-safe', not both])
-  else
-    enable_thread_safe=no
-  fi
-fi
-
 dnl Check if thread-local variables are supported.
 dnl At least two problems can occur in practice:
 dnl 1. The compilation fails, e.g. because the compiler doesn't know
@@ -635,9 +669,19 @@
 dnl Check if __float128 is available. We also require the compiler
 dnl to support C99 constants (this prevents the __float128 support
 dnl with GCC's -std=c90, but who cares?).
+dnl Note: We use AC_LINK_IFELSE instead of AC_COMPILE_IFELSE since an
+dnl error may occur only at link time, such as under NetBSD:
+dnl   https://mail-index.netbsd.org/pkgsrc-users/2018/02/02/msg026220.html
+dnl   https://mail-index.netbsd.org/pkgsrc-users/2018/02/05/msg026238.html
+dnl By using volatile and making the exit code depend on the value of
+dnl this variable, we also make sure that optimization doesn't make
+dnl the "undefined reference" error disappear.
 if test "$enable_float128" != no; then
-   AC_MSG_CHECKING(if compiler knows __float128 with C99 constants)
-   AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[__float128 x = 0x1.fp+16383q;]])],
+   AC_MSG_CHECKING(if __float128 with hex constants is supported)
+   AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[
+volatile __float128 x = 0x1.fp+16383q;
+return x == 0;
+]])],
       [AC_MSG_RESULT(yes)
        AC_DEFINE([MPFR_WANT_FLOAT128],1,[Build float128 functions])],
       [AC_MSG_RESULT(no)
@@ -680,11 +724,6 @@
    MPFR_LTO
 fi
 
-dnl Check if the shared cache was requested and its requirements are ok.
-if test "$mpfr_want_shared_cache" = yes ;then
-   MPFR_CHECK_SHARED_CACHE()
-fi
-
 ])
 dnl end of MPFR_CONFIGS
 
@@ -909,11 +948,13 @@
 /* "before" is 16 bytes to ensure there's no padding between it and "x".
    We're not expecting any "long double" bigger than 16 bytes or with
    alignment requirements stricter than 16 bytes.  */
-struct {
+typedef struct {
   char         before[16];
   long double  x;
   char         after[8];
-} foo = {
+} foo_t;
+
+foo_t foo = {
   { '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
     '\001', '\043', '\105', '\147', '\211', '\253', '\315', '\357' },
   -123456789.0,
@@ -1423,6 +1464,31 @@
     [AC_DEFINE([NPRINTF_T], 1, [gmp_printf cannot read ptrdiff_t])])
 ])
 
+dnl MPFR_CHECK_PRINTF_GROUPFLAG
+dnl ---------------------------
+dnl Check the support of the group flag for native integers, which is
+dnl a Single UNIX Specification extension.
+dnl This will be used to enable some tests, as the implementation of
+dnl the P length modifier for mpfr_*printf relies on this support.
+
+AC_DEFUN([MPFR_CHECK_PRINTF_GROUPFLAG], [
+AC_MSG_CHECKING(if gmp_printf supports the ' group flag)
+AC_RUN_IFELSE([AC_LANG_PROGRAM([[
+#include <string.h>
+#include <gmp.h>
+]], [[
+  char s[256];
+
+  if (gmp_sprintf (s, "%'d", 17) == -1) return 1;
+  return (strcmp (s, "17") != 0);
+]])],
+  [AC_MSG_RESULT(yes)
+   AC_DEFINE([PRINTF_GROUPFLAG], 1, [Define if gmp_printf supports the ' group flag])],
+  [AC_MSG_RESULT(no)],
+  [AC_MSG_RESULT(cannot test, assume no)])
+])
+])
+
 dnl MPFR_LTO
 dnl --------
 dnl To be representative, we need:
@@ -1480,32 +1546,6 @@
 rm -f conftest*
 ])
 
-dnl MPFR_CHECK_SHARED_CACHE
-dnl ----------------------
-dnl Check if the conditions for the shared cache are met:
-dnl  * either pthread / C11 are available.
-dnl  * either constructor or once.
-AC_DEFUN([MPFR_CHECK_SHARED_CACHE], [
-  AC_MSG_CHECKING(if shared cache is supported)
-  if test "$enable_logging" = yes ; then
-    AC_MSG_RESULT(no)
-    AC_MSG_ERROR([shared cache does not work with logging support.])
-dnl because logging support disables threading support
-  elif test "$enable_thread_safe" != yes ; then
-    AC_MSG_RESULT(no)
-    AC_MSG_ERROR([shared cache needs thread attribute.])
-  elif test "$ax_pthread_ok" != yes && "$mpfr_c11_thread_ok" != yes ; then
-    AC_MSG_RESULT(no)
-    AC_MSG_ERROR([shared cache needs pthread/C11 library.])
-  else
-    AC_MSG_RESULT(yes)
-    if test "$ax_pthread_ok" = yes ; then
-        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
-        LIBS="$LIBS $PTHREAD_LIBS"
-    fi
-  fi
-])
-
 dnl MPFR_CHECK_CONSTRUCTOR_ATTR
 dnl ---------------------------
 dnl Check for constructor/destructor attributes to function.
@@ -1547,7 +1587,7 @@
 AC_MSG_CHECKING([for ISO C11 thread support])
 AC_LINK_IFELSE([AC_LANG_PROGRAM([[
 #include <assert.h>
-#include <thread.h>
+#include <threads.h>
  mtx_t lock;
  once_flag once = ONCE_FLAG_INIT;
  thrd_t thd_idx;

Modified: trunk/Build/source/libs/mpfr/mpfr-src/configure.ac
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/configure.ac	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/configure.ac	2019-02-01 05:18:31 UTC (rev 49895)
@@ -4,7 +4,7 @@
 dnl be indented!
 
 AC_COPYRIGHT([
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -21,12 +21,12 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 ])
 
 dnl Add check-news when it checks for more than 15 lines
-AC_INIT([MPFR],[4.0.1])
+AC_INIT([MPFR],[4.0.2])
 
 dnl Older Automake versions than 1.13 may still be supported, but no longer
 dnl tested, and many things have changed in 1.13. Moreover the INSTALL file
@@ -167,8 +167,8 @@
                           for all MPFR constants.  It usually makes MPFR
                           dependent on PTHREAD [[default=no]]],
    [ case $enableval in
-      yes) mpfr_want_shared_cache=yes
-         AC_DEFINE([WANT_SHARED_CACHE],1,[Want shared cache]) ;;
+      yes)
+         AC_DEFINE([MPFR_WANT_SHARED_CACHE],1,[Want shared cache]) ;;
       no)  ;;
       *) AC_MSG_ERROR([bad value for --enable-shared-cache: yes or no]) ;;
      esac])
@@ -204,7 +204,31 @@
       *)    AC_MSG_ERROR([bad value for --enable-tune-for-coverage]) ;;
      esac])
 
+dnl First, detect incompatibilities between the above configure options.
+AC_MSG_CHECKING([whether configure options are compatible])
+if test "$enable_logging" = yes; then
+  if test "$enable_thread_safe" = yes; then
+    AC_MSG_RESULT([no])
+    AC_MSG_ERROR([enable either logging or thread-safe, not both])
+  fi
+dnl The following test is done only to output a specific error message,
+dnl as there would otherwise be an error due to enable_thread_safe=no.
+  if test "$enable_shared_cache" = yes; then
+    AC_MSG_RESULT([no])
+    AC_MSG_ERROR([shared cache does not work with logging support])
+  fi
+  enable_thread_safe=no
+fi
+if test "$enable_shared_cache" = yes; then
+  if test "$enable_thread_safe" = no; then
+    AC_MSG_RESULT([no])
+    AC_MSG_ERROR([shared cache needs thread-safe support])
+  fi
+  enable_thread_safe=yes
+fi
+AC_MSG_RESULT([yes])
 
+
 dnl
 dnl Setup CC and CFLAGS
 dnl
@@ -246,11 +270,9 @@
      # Get CFLAGS
      echo "#include \"gmp.h\"" >  conftest.c
      echo "MPFR_OPTION __GMP_CFLAGS" >> conftest.c
-     unset rmpedantic
-     [test "$enable_logging" = yes && rmpedantic='s/[ "]-pedantic[ "]/ /g;']
      $cpp $CPPFLAGS conftest.c 2> /dev/null > conftest.txt
      test $? -ne 0 && continue
-     GMP_CFLAGS=`$EGREP MPFR_OPTION conftest.txt | $SED -e "$rmpedantic"'s/MPFR_OPTION //g;s/ *" *//g'`
+     [GMP_CFLAGS=`$EGREP MPFR_OPTION conftest.txt | $SED -e 's/[ "]-pedantic[ "]/ /g;s/MPFR_OPTION //g;s/ *" *//g'`]
      break
    done
    rm -f conftest*
@@ -435,8 +457,13 @@
  CFLAGS="-fp_port -mieee-fp -wd1572 -wd265 -wd186 -wd239 $CFLAGS"
 ],[AC_MSG_RESULT(no)])
 
-dnl If compiler is gcc, then use some specific flags.
-dnl But don't touch user other flags.
+dnl If CFLAGS has not been set explicitly and the compiler is GCC, then
+dnl use some specific flags. But don't touch user other flags.
+dnl Note: This is done even when CFLAGS has been set from GMP's CFLAGS
+dnl (__GMP_CFLAGS macro in gmp.h) above. The consequence is that this
+dnl might yield a compilation failure if the -Werror option appears in
+dnl __GMP_CFLAGS. But in this case, since -Werror is not used by default,
+dnl one may expect that the user would also set CFLAGS for MPFR.
 if test "$test_CFLAGS" != set && test -n "$GCC"; then
   CFLAGS="-Wpointer-arith $CFLAGS"
   AC_MSG_CHECKING(whether the selected language is C++)
@@ -447,7 +474,7 @@
 #endif
   ]], [[]])],[
     AC_MSG_RESULT(no)
-    CFLAGS="-Wmissing-prototypes $CFLAGS"
+    CFLAGS="-Wmissing-prototypes -Wc++-compat $CFLAGS"
   ],[
     AC_MSG_RESULT(yes)
     CFLAGS="-Wmissing-declarations -Wno-sign-compare $CFLAGS"
@@ -708,7 +735,8 @@
    [AC_MSG_RESULT(yes)
     MPFR_CHECK_GMP
     MPFR_CHECK_DBL2INT_BUG
-    MPFR_CHECK_PRINTF_SPEC],
+    MPFR_CHECK_PRINTF_SPEC
+    MPFR_CHECK_PRINTF_GROUPFLAG],
    [AC_MSG_RESULT(no)
     AC_MSG_WARN([==========================================================])
     AC_MSG_WARN(['gmp.h' and 'libgmp' seem to have different versions or])

Modified: trunk/Build/source/libs/mpfr/mpfr-src/mpfr.pc.in
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/mpfr.pc.in	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/mpfr.pc.in	2019-02-01 05:18:31 UTC (rev 49895)
@@ -4,7 +4,7 @@
 includedir=@includedir@
 
 Name: mpfr
-URL: http://www.mpfr.org/
+URL: https://www.mpfr.org/
 Description: C library for multiple-precision floating-point computations
 Version: @PACKAGE_VERSION@
 Libs: -L${libdir} -lmpfr -lgmp

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/Makefile.am
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/Makefile.am	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/Makefile.am	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,4 +1,4 @@
-# Copyright 2000-2018 Free Software Foundation, Inc.
+# Copyright 2000-2019 Free Software Foundation, Inc.
 # This Makefile.am is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -81,7 +81,7 @@
 #        3.0.x    4:x:0
 #        3.1.x    5:x:1
 #        4.0.x    6:x:0
-libmpfr_la_LDFLAGS = $(MPFR_LDFLAGS) $(LIBMPFR_LDFLAGS) -version-info 6:1:0
+libmpfr_la_LDFLAGS = $(MPFR_LDFLAGS) $(LIBMPFR_LDFLAGS) -version-info 6:2:0
 
 # Important note: If for some reason, srcdir is read-only at build time
 # (and you use objdir != srcdir), then you need to rebuild get_patches.c
@@ -134,12 +134,12 @@
 # For instance, with r11968, and
 #   ./configure --with-gmp-build=... CC=tcc
 # the symbol __gmpn_clz_tab is defined, which is wrong.
-# Note: the "grep -v '@plt$$'" below is for tcc.
+# Note: the "$(GREP) -v '@plt$$'" below is for tcc.
 check-exported-symbols: $(LTLIBRARIES)
 	if [ -f "$(LIBMPFRSO)" ]; then \
 	  gsymbols=`$(NM) -gP "$(LIBMPFRSO)" | perl -ne \
 	    '/^(__gmp[a-z]?_[_0-9A-Za-z]*) +[A-TV-Z]/ and print " $$1"' | \
-	    grep -v '@plt$$'`; \
+	    { $(GREP) -v '@plt$$' || true ; }`; \
 	  if [ -n "$$gsymbols" ]; then \
 	    echo "MPFR defines symbols with a GMP reserved prefix:$$gsymbols"; \
 	    exit 1; \

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/abort_prec_max.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/abort_prec_max.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/abort_prec_max.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_abort_prec_max -- Abort due to maximal precision overflow.
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/acos.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/acos.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/acos.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_acos -- arc-cosinus of a floating-point number
 
-Copyright 2001-2018 Free Software Foundation, Inc.
+Copyright 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/acosh.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/acosh.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/acosh.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_acosh -- inverse hyperbolic cosine
 
-Copyright 2001-2018 Free Software Foundation, Inc.
+Copyright 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/add.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/add.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/add.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_add -- add two floating-point numbers
 
-Copyright 1999-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 1999-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/add1.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/add1.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/add1.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_add1 -- internal function to perform a "real" addition
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/add1sp.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/add1sp.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/add1sp.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_add1sp -- internal function to perform a "real" addition
    All the op must have the same precision
 
-Copyright 2004-2018 Free Software Foundation, Inc.
+Copyright 2004-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/add_d.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/add_d.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/add_d.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_add_d -- add a multiple precision floating-point number
                  to a machine double precision float
 
-Copyright 2007-2018 Free Software Foundation, Inc.
+Copyright 2007-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/add_ui.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/add_ui.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/add_ui.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_add_ui -- add a floating-point number with a machine integer
 
-Copyright 2000-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2000-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/agm.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/agm.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/agm.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_agm -- arithmetic-geometric mean of two floating-point numbers
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/ai.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/ai.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/ai.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_ai -- Airy function Ai
 
-Copyright 2010-2018 Free Software Foundation, Inc.
+Copyright 2010-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/amd/amdfam10/mparam.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/amd/amdfam10/mparam.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/amd/amdfam10/mparam.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Various Thresholds of MPFR, not exported.  -*- mode: C -*-
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 
 This file is part of the GNU MPFR Library.
 
@@ -16,7 +16,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* Generated by MPFR's tuneup.c, 2011-07-31, gcc 4.6.1 */
@@ -91,7 +91,7 @@
  824,832,832,832,832,832,832,825,832,832,832,824,832,832,832,828, \
  822,824,831,829,832,827,832,832,832,831,832,829,829,832,824,832, \
  830,832,832,832,832,832,830,832,832,832,832,828,855,832,830,830 \
-  
+
 #define MPFR_SQRHIGH_TAB  \
  -1,0,0,0,-1,-1,-1,-1,-1,-1,7,8,9,8,9,9, \
  11,11,11,13,13,14,15,16,17,17,19,19,16,19,17,19, \
@@ -157,7 +157,7 @@
  696,695,695,696,696,728,696,696,695,696,696,696,696,696,696,696, \
  727,696,696,696,696,695,696,728,727,696,695,727,696,726,727,726, \
  727,728,728,727,694,727,728,728,728,727,727,728,727,728,727,728 \
-  
+
 #define MPFR_DIVHIGH_TAB  \
  0,1,2,3,4,5,6,7,8,9,10,11,10,13,14,15, \
  14,15,18,19,18,14,15,18,18,18,19,17,18,19,18,19, \
@@ -223,7 +223,7 @@
  560,496,576,512,512,512,512,512,512,576,576,512,512,576,512,512, \
  512,512,576,512,512,512,508,512,576,512,576,576,512,576,592,512, \
  568,512,576,568,576,576,576,512,576,576,592,576,592,512,608,576 \
-  
+
 #define MPFR_MUL_THRESHOLD 17 /* limbs */
 #define MPFR_SQR_THRESHOLD 19 /* limbs */
 #define MPFR_DIV_THRESHOLD 28 /* limbs */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/amd/athlon/mparam.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/amd/athlon/mparam.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/amd/athlon/mparam.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Various Thresholds of MPFR, not exported.  -*- mode: C -*-
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 
 This file is part of the GNU MPFR Library.
 
@@ -16,7 +16,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_MULHIGH_TAB  \

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/amd/k8/mparam.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/amd/k8/mparam.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/amd/k8/mparam.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Various Thresholds of MPFR, not exported.  -*- mode: C -*-
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 
 This file is part of the GNU MPFR Library.
 
@@ -16,7 +16,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* Generated by MPFR's tuneup.c, 2011-07-31, gcc 4.3.2 */
@@ -91,7 +91,7 @@
  831,832,831,832,832,831,832,832,832,832,832,832,831,832,832,832, \
  831,832,832,832,832,832,831,832,832,832,832,832,831,832,831,832, \
  832,832,831,832,831,832,831,832,832,832,832,832,832,832,831,832 \
-  
+
 #define MPFR_SQRHIGH_TAB  \
  -1,0,0,0,0,-1,-1,-1,-1,-1,7,7,8,9,9,11, \
  11,11,11,11,13,13,15,15,17,17,18,17,17,17,18,20, \
@@ -157,7 +157,7 @@
  727,584,728,632,728,560,727,728,728,560,584,560,560,727,728,728, \
  727,728,728,728,608,728,728,724,728,728,760,727,728,727,728,728, \
  728,759,728,696,728,728,728,728,728,727,759,760,727,760,760,727 \
-  
+
 #define MPFR_DIVHIGH_TAB  \
  0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, \
  14,15,18,19,18,14,22,18,18,18,18,20,18,18,20,22, \
@@ -223,7 +223,7 @@
  560,496,512,512,512,496,512,512,512,576,512,512,512,512,512,512, \
  512,512,512,512,560,512,560,512,576,512,576,592,512,560,591,512, \
  592,512,576,512,576,592,592,624,592,576,560,512,592,576,592,592 \
-  
+
 #define MPFR_MUL_THRESHOLD 19 /* limbs */
 #define MPFR_SQR_THRESHOLD 18 /* limbs */
 #define MPFR_DIV_THRESHOLD 34 /* limbs */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/arm/mparam.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/arm/mparam.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/arm/mparam.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Various Thresholds of MPFR, not exported.  -*- mode: C -*-
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 
 This file is part of the GNU MPFR Library.
 
@@ -16,7 +16,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* Generated by MPFR's tuneup.c, 2010-10-15, gcc 4.4.4 */
@@ -220,7 +220,7 @@
  528,492,520,516,516,504,525,496,516,520,516,512,520,532,528,516, \
  516,524,512,508,520,528,516,532,532,516,533,516,528,504,528,516, \
  532,576,532,515,516,600,528,517,516,600,600,532,516,600,600,524 \
-  
+
 #define MPFR_MUL_THRESHOLD 16 /* limbs */
 #define MPFR_SQR_THRESHOLD 31 /* limbs */
 #define MPFR_EXP_2_THRESHOLD 469 /* bits */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/asin.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/asin.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/asin.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_asin -- arc-sinus of a floating-point number
 
-Copyright 2001-2018 Free Software Foundation, Inc.
+Copyright 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/asinh.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/asinh.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/asinh.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_asinh -- inverse hyperbolic sine
 
-Copyright 2001-2018 Free Software Foundation, Inc.
+Copyright 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/atan.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/atan.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/atan.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_atan -- arc-tangent of a floating-point number
 
-Copyright 2001-2018 Free Software Foundation, Inc.
+Copyright 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H
@@ -177,7 +177,7 @@
       /* main loop */
       n = 1UL << m;
       MPFR_ASSERTN (n != 0);  /* no overflow */
-      /* the ith term being X^i/(2i+1) with X=p/2^r, we can stop when
+      /* the i-th term being X^i/(2i+1) with X=p/2^r, we can stop when
          p^i/2^(r*i) < 2^(-precy), i.e. r*i > precy + log2(p^i) */
       for (i = k = done = 0; (i < n) && (done == 0); i += 2, k ++)
         {
@@ -209,7 +209,7 @@
             }
         }
     }
-  else /* special case p=1: the ith term being X^i/(2i+1) with X=1/2^r,
+  else /* special case p=1: the i-th term being X^i/(2i+1) with X=1/2^r,
           we can stop when r*i > precy i.e. i > precy/r */
     {
       n = 1UL << m;
@@ -284,7 +284,7 @@
   mpfr_exp_t exptol;
   mpfr_prec_t prec, realprec, est_lost, lost;
   unsigned long twopoweri, log2p, red;
-  int comparaison, inexact;
+  int comparison, inexact;
   int i, n0, oldn0;
   MPFR_GROUP_DECL (group);
   MPFR_SAVE_EXPO_DECL (expo);
@@ -339,8 +339,8 @@
   MPFR_SAVE_EXPO_MARK (expo);
 
   /* Other simple case arctan(-+1)=-+pi/4 */
-  comparaison = mpfr_cmp_ui (xp, 1);
-  if (MPFR_UNLIKELY (comparaison == 0))
+  comparison = mpfr_cmp_ui (xp, 1);
+  if (MPFR_UNLIKELY (comparison == 0))
     {
       int neg = MPFR_IS_NEG (x);
       inexact = mpfr_const_pi (atan, MPFR_IS_POS (x) ? rnd_mode
@@ -401,7 +401,7 @@
          MPFR_SAVE_EXPO_MARK, but let's check that for maintainability. */
       MPFR_ASSERTD (__gmpfr_emax <= 1 - __gmpfr_emin);
 
-      if (comparaison > 0) /* use atan(xp) = Pi/2 - atan(1/xp) */
+      if (comparison > 0) /* use atan(xp) = Pi/2 - atan(1/xp) */
         mpfr_ui_div (sk, 1, xp, MPFR_RNDN);
       else
         mpfr_set (sk, xp, MPFR_RNDN);
@@ -418,7 +418,7 @@
           mpfr_add_ui (tmp, tmp, 1, MPFR_RNDN);
           mpfr_sqrt (tmp, tmp, MPFR_RNDN);
           mpfr_sub_ui (tmp, tmp, 1, MPFR_RNDN);
-          if (red == 0 && comparaison > 0)
+          if (red == 0 && comparison > 0)
             /* use xp = 1/sk */
             mpfr_mul (sk, tmp, xp, MPFR_RNDN);
           else
@@ -488,7 +488,7 @@
       /* argument reduction */
       mpfr_mul_2exp (arctgt, arctgt, red, MPFR_RNDN);
 
-      if (comparaison > 0)
+      if (comparison > 0)
         { /* atan(x) = Pi/2-atan(1/x) for x > 0 */
           mpfr_const_pi (tmp, MPFR_RNDN);
           mpfr_div_2ui (tmp, tmp, 1, MPFR_RNDN);

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/atan2.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/atan2.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/atan2.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_atan2 -- arc-tan 2 of a floating-point number
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/atanh.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/atanh.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/atanh.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_atanh -- Inverse Hyperbolic Tangente
 
-Copyright 2001-2018 Free Software Foundation, Inc.
+Copyright 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/bernoulli.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/bernoulli.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/bernoulli.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* bernoulli -- internal function to compute Bernoulli numbers.
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/beta.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/beta.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/beta.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_beta -- beta function
 
-Copyright 2017-2018 Free Software Foundation, Inc.
+Copyright 2017-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H /* for MPFR_INT_CEIL_LOG2 */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/buildopt.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/buildopt.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/buildopt.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* buildopt.c -- functions giving information about options used during the
    mpfr library compilation
 
-Copyright 2009-2018 Free Software Foundation, Inc.
+Copyright 2009-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"
@@ -66,7 +66,7 @@
 int
 mpfr_buildopt_sharedcache_p (void)
 {
-#if defined (WANT_SHARED_CACHE)
+#ifdef MPFR_WANT_SHARED_CACHE
   return 1;
 #else
   return 0;

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/cache.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/cache.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/cache.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_cache -- cache interface for multiple-precision constants in MPFR.
 
-Copyright 2004-2018 Free Software Foundation, Inc.
+Copyright 2004-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"
@@ -144,7 +144,7 @@
                      mpfr_overflow (dest, rnd, sign);
                   );
 
-  /* Rather a likely, this is a 100% succes rate for
+  /* Rather a likely, this is a 100% success rate for
      all constants of MPFR */
   if (MPFR_LIKELY (cache->inexact != 0))
     {

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/cbrt.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/cbrt.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/cbrt.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_cbrt -- cube root function.
 
-Copyright 2002-2018 Free Software Foundation, Inc.
+Copyright 2002-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/check.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/check.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/check.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_check -- Check if a floating-point number has not been corrupted.
 
-Copyright 2003-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/clear.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/clear.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/clear.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_clear -- free the memory space allocated for a floating-point number
 
-Copyright 1999-2001, 2004-2018 Free Software Foundation, Inc.
+Copyright 1999-2001, 2004-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/clears.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/clears.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/clears.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_clears --  free the memory space allocated for several
    floating-point numbers
 
-Copyright 2003-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #ifdef HAVE_CONFIG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/cmp.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/cmp.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/cmp.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_cmp -- compare two floating-point numbers
 
-Copyright 1999, 2001, 2003-2018 Free Software Foundation, Inc.
+Copyright 1999, 2001, 2003-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/cmp2.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/cmp2.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/cmp2.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_cmp2 -- exponent shift when subtracting two numbers.
 
-Copyright 1999-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 1999-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/cmp_abs.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/cmp_abs.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/cmp_abs.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_cmpabs -- compare the absolute values of two FP numbers
 
-Copyright 1999, 2001-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 1999, 2001-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/cmp_d.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/cmp_d.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/cmp_d.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_cmp_d -- compare a floating-point number with a double
 
-Copyright 2003-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/cmp_ld.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/cmp_ld.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/cmp_ld.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_cmp_d -- compare a floating-point number with a long double
 
-Copyright 2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include <float.h> /* needed so that MPFR_LDBL_MANT_DIG is correctly defined */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/cmp_si.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/cmp_si.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/cmp_si.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_cmp_si_2exp -- compare a floating-point number with a signed
 machine integer multiplied by a power of 2
 
-Copyright 1999, 2001-2018 Free Software Foundation, Inc.
+Copyright 1999, 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/cmp_ui.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/cmp_ui.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/cmp_ui.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_cmp_ui_2exp -- compare a floating-point number with an unsigned
 machine integer multiplied by a power of 2
 
-Copyright 1999, 2001-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 1999, 2001-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/comparisons.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/comparisons.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/comparisons.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* comparison predicates
 
-Copyright 2002-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2002-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/const_catalan.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/const_catalan.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/const_catalan.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_const_catalan -- compute Catalan's constant.
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/const_euler.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/const_euler.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/const_euler.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_const_euler -- Euler's constant
 
-Copyright 2001-2018 Free Software Foundation, Inc.
+Copyright 2001-2019 Free Software Foundation, Inc.
 Contributed by Fredrik Johansson.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* The approximation error bound uses Theorem 1 and Remark 2 in

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/const_log2.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/const_log2.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/const_log2.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_const_log2 -- compute natural logarithm of 2
 
-Copyright 1999, 2001-2018 Free Software Foundation, Inc.
+Copyright 1999, 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/const_pi.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/const_pi.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/const_pi.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_const_pi -- compute Pi
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/constant.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/constant.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/constant.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* MPFR internal constant FP numbers
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/copysign.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/copysign.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/copysign.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_copysign -- Produce a value with the magnitude of x and sign bit of y
 
-Copyright 2001-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2001-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/cos.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/cos.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/cos.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_cos -- cosine of a floating-point number
 
-Copyright 2001-2018 Free Software Foundation, Inc.
+Copyright 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/cosh.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/cosh.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/cosh.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_cosh -- hyperbolic cosine
 
-Copyright 2001-2002, 2004-2018 Free Software Foundation, Inc.
+Copyright 2001-2002, 2004-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/cot.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/cot.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/cot.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_cot - cotangent function.
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* the cotangent is defined by cot(x) = 1/tan(x) = cos(x)/sin(x).

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/coth.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/coth.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/coth.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_coth - Hyperbolic cotangent function.
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* the hyperbolic cotangent is defined by coth(x) = 1/tanh(x)

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/csc.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/csc.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/csc.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_csc - cosecant function.
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* the cosecant is defined by csc(x) = 1/sin(x).

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/csch.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/csch.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/csch.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_csch - Hyperbolic cosecant function.
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* the hyperbolic cosecant is defined by csch(x) = 1/sinh(x).

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/d_div.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/d_div.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/d_div.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_d_div -- divide a machine double precision float
                  by a multiple precision floating-point number
 
-Copyright 2007-2018 Free Software Foundation, Inc.
+Copyright 2007-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/d_sub.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/d_sub.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/d_sub.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_d_sub -- subtract a multiple precision floating-point number
                  from a machine double precision float
 
-Copyright 2007-2018 Free Software Foundation, Inc.
+Copyright 2007-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/digamma.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/digamma.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/digamma.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_digamma -- digamma function of a floating-point number
 
-Copyright 2009-2018 Free Software Foundation, Inc.
+Copyright 2009-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/dim.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/dim.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/dim.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_dim -- positive difference
 
-Copyright 2001-2002, 2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2001-2002, 2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/div.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/div.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/div.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_div -- divide two floating-point numbers
 
-Copyright 1999, 2001-2018 Free Software Foundation, Inc.
+Copyright 1999, 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* References:

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/div_2exp.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/div_2exp.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/div_2exp.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_div_2exp -- divide a floating-point number by a power of two
 
-Copyright 1999, 2001, 2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 1999, 2001, 2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/div_2si.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/div_2si.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/div_2si.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_div_2si -- divide a floating-point number by a power of two
 
-Copyright 1999, 2001-2018 Free Software Foundation, Inc.
+Copyright 1999, 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/div_2ui.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/div_2ui.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/div_2ui.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_div_2ui -- divide a floating-point number by a power of two
 
-Copyright 1999, 2001-2018 Free Software Foundation, Inc.
+Copyright 1999, 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/div_d.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/div_d.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/div_d.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_div_d -- divide a multiple precision floating-point number
                  by a machine double precision float
 
-Copyright 2007-2018 Free Software Foundation, Inc.
+Copyright 2007-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/div_ui.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/div_ui.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/div_ui.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_div_ui -- divide a floating-point number by a machine integer
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/dump.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/dump.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/dump.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_dump, mpfr_fdump -- dump a float (for the tests and debugging purpose)
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/eint.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/eint.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/eint.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_eint, mpfr_eint1 -- the exponential integral
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/eq.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/eq.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/eq.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_eq -- Compare two floats up to a specified bit #.
 
-Copyright 1999, 2001, 2003-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 1999, 2001, 2003-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/erandom.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/erandom.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/erandom.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -2,7 +2,7 @@
    mean 1 and round it to the precision of rop according to the given rounding
    mode.
 
-Copyright 2013-2018 Free Software Foundation, Inc.
+Copyright 2013-2019 Free Software Foundation, Inc.
 Contributed by Charles Karney <charles at karney.com>, SRI International.
 
 This file is part of the GNU MPFR Library.
@@ -19,7 +19,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /*

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/erf.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/erf.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/erf.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_erf -- error function of a floating-point number
 
-Copyright 2001, 2003-2018 Free Software Foundation, Inc.
+Copyright 2001, 2003-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H
@@ -186,10 +186,8 @@
 {
   mpfr_prec_t n, m;
   mpfr_exp_t nuk, sigmak;
-  double tauk;
   mpfr_t y, s, t, u;
   unsigned int k;
-  int log2tauk;
   int inex;
   MPFR_GROUP_DECL (group);
   MPFR_ZIV_DECL (loop);
@@ -204,10 +202,14 @@
   MPFR_ZIV_INIT (loop, m);
   for (;;)
     {
+      mpfr_t tauk;
+      mpfr_exp_t log2tauk;
+
       mpfr_mul (y, x, x, MPFR_RNDU); /* err <= 1 ulp */
       mpfr_set_ui (s, 1, MPFR_RNDN);
       mpfr_set_ui (t, 1, MPFR_RNDN);
-      tauk = 0.0;
+      mpfr_init2 (tauk, 53);
+      mpfr_set_ui (tauk, 0, MPFR_RNDU);
 
       for (k = 1; ; k++)
         {
@@ -222,12 +224,13 @@
           sigmak -= MPFR_GET_EXP(s);
           nuk = MPFR_GET_EXP(u) - MPFR_GET_EXP(s);
 
-          if ((nuk < - (mpfr_exp_t) m) && ((double) k >= xf2))
+          if ((nuk < - (mpfr_exp_t) m) && (k >= xf2))
             break;
 
           /* tauk <- 1/2 + tauk * 2^sigmak + (1+8k)*2^nuk */
-          tauk = 0.5 + mul_2exp (tauk, sigmak)
-            + mul_2exp (1.0 + 8.0 * (double) k, nuk);
+          mpfr_mul_2si (tauk, tauk, sigmak, MPFR_RNDU);
+          mpfr_add_d (tauk, tauk, 0.5 + mul_2exp (1.0 + 8.0 * (double) k, nuk),
+                      MPFR_RNDU);
         }
 
       mpfr_mul (s, x, s, MPFR_RNDU);
@@ -236,8 +239,14 @@
       mpfr_const_pi (t, MPFR_RNDZ);
       mpfr_sqrt (t, t, MPFR_RNDZ);
       mpfr_div (s, s, t, MPFR_RNDN);
-      tauk = 4.0 * tauk + 11.0; /* final ulp-error on s */
-      log2tauk = __gmpfr_ceil_log2 (tauk);
+      /* tauk = 4 * tauk + 11: final ulp-error on s */
+      mpfr_mul_2ui (tauk, tauk, 2, MPFR_RNDU);
+      mpfr_add_ui (tauk, tauk, 11, MPFR_RNDU);
+      /* In practice, one should not get an infinity, as it would require
+         a huge precision and a lot of time, but just in case... */
+      MPFR_ASSERTN (!MPFR_IS_INF (tauk));
+      log2tauk = MPFR_GET_EXP (tauk);
+      mpfr_clear (tauk);
 
       if (MPFR_LIKELY (MPFR_CAN_ROUND (s, m - log2tauk, n, rnd_mode)))
         break;

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/erfc.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/erfc.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/erfc.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_erfc -- The Complementary Error Function of a floating-point number
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/exceptions.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/exceptions.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/exceptions.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Exception flags and utilities. Constructors and destructors (debug).
 
-Copyright 2001-2018 Free Software Foundation, Inc.
+Copyright 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/exp.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/exp.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/exp.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_exp -- exponential of a floating-point number
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/exp10.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/exp10.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/exp10.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_exp10 -- power of 10 function 10^y
 
-Copyright 2003-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/exp2.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/exp2.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/exp2.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_exp2 -- power of 2 function 2^y
 
-Copyright 2001-2018 Free Software Foundation, Inc.
+Copyright 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/exp3.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/exp3.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/exp3.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_exp -- exponential of a floating-point number
 
-Copyright 1999, 2001-2018 Free Software Foundation, Inc.
+Copyright 1999, 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H /* for MPFR_MPZ_SIZEINBASE2 */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/exp_2.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/exp_2.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/exp_2.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_exp_2 -- exponential of a floating-point number
                  using algorithms in O(n^(1/2)*M(n)) and O(n^(1/3)*M(n))
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H /* for count_leading_zeros */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/expm1.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/expm1.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/expm1.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_expm1 -- Compute exp(x)-1
 
-Copyright 2001-2018 Free Software Foundation, Inc.
+Copyright 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/extract.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/extract.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/extract.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_extract -- bit-extraction function for the binary splitting algorithm
 
-Copyright 2000-2002, 2004-2018 Free Software Foundation, Inc.
+Copyright 2000-2002, 2004-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/factorial.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/factorial.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/factorial.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_fac_ui -- factorial of a nonnegative integer
 
-Copyright 2001, 2004-2018 Free Software Foundation, Inc.
+Copyright 2001, 2004-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/fits_intmax.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/fits_intmax.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/fits_intmax.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_fits_intmax_p -- test whether an mpfr fits an intmax_t.
 
-Copyright 2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #ifdef HAVE_CONFIG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/fits_s.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/fits_s.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/fits_s.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_fits_*_p -- test whether an mpfr fits a C signed type.
 
-Copyright 2003-2018 Free Software Foundation, Inc.
+Copyright 2003-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/fits_sint.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/fits_sint.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/fits_sint.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_fits_sint_p -- test whether an mpfr fits an int.
 
-Copyright 2003, 2006-2018 Free Software Foundation, Inc.
+Copyright 2003, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define FUNCTION   mpfr_fits_sint_p

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/fits_slong.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/fits_slong.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/fits_slong.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_fits_slong_p -- test whether an mpfr fits a long.
 
-Copyright 2003, 2006-2018 Free Software Foundation, Inc.
+Copyright 2003, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define FUNCTION   mpfr_fits_slong_p

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/fits_sshort.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/fits_sshort.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/fits_sshort.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_fits_sshort_p -- test whether an mpfr fits a short.
 
-Copyright 2003, 2006-2018 Free Software Foundation, Inc.
+Copyright 2003, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define FUNCTION   mpfr_fits_sshort_p

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/fits_u.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/fits_u.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/fits_u.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_fits_*_p -- test whether an mpfr fits a C unsigned type.
 
-Copyright 2003-2018 Free Software Foundation, Inc.
+Copyright 2003-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/fits_uint.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/fits_uint.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/fits_uint.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_fits_uint_p -- test whether an mpfr fits an unsigned int.
 
-Copyright 2003, 2006-2018 Free Software Foundation, Inc.
+Copyright 2003, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define FUNCTION   mpfr_fits_uint_p

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/fits_uintmax.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/fits_uintmax.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/fits_uintmax.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_fits_uintmax_p -- test whether an mpfr fits an uintmax_t.
 
-Copyright 2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #ifdef HAVE_CONFIG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/fits_ulong.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/fits_ulong.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/fits_ulong.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_fits_ulong_p -- test whether an mpfr fits an unsigned long.
 
-Copyright 2003, 2006-2018 Free Software Foundation, Inc.
+Copyright 2003, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define FUNCTION   mpfr_fits_ulong_p

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/fits_ushort.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/fits_ushort.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/fits_ushort.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_fits_ushort_p -- test whether an mpfr fits an unsigned short.
 
-Copyright 2003, 2006-2018 Free Software Foundation, Inc.
+Copyright 2003, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define FUNCTION   mpfr_fits_ushort_p

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/fma.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/fma.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/fma.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_fma -- Floating multiply-add
 
-Copyright 2001-2002, 2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2001-2002, 2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H
@@ -225,194 +225,73 @@
 
       if (MPFR_IS_INF (u))  /* overflow */
         {
+          int sign_u = MPFR_SIGN (u);
+
           MPFR_LOG_MSG (("Overflow on x*y\n", 0));
+          MPFR_GROUP_CLEAR (group);  /* we no longer need u */
 
           /* Let's eliminate the obvious case where x*y and z have the
              same sign. No possible cancellation -> real overflow.
              Also, we know that |z| < 2^emax. If E(x) + E(y) >= emax+3,
-             then |x*y| >= 2^(emax+1), and |x*y + z| >= 2^emax. This case
+             then |x*y| >= 2^(emax+1), and |x*y + z| > 2^emax. This case
              is also an overflow. */
-          if (MPFR_SIGN (u) == MPFR_SIGN (z) || e >= __gmpfr_emax + 3)
+          if (sign_u == MPFR_SIGN (z) || e >= __gmpfr_emax + 3)
             {
-              MPFR_GROUP_CLEAR (group);
               MPFR_SAVE_EXPO_FREE (expo);
-              return mpfr_overflow (s, rnd_mode, MPFR_SIGN (z));
+              return mpfr_overflow (s, rnd_mode, sign_u);
             }
-
-          /* E(x) + E(y) <= emax+2, therefore |x*y| < 2^(emax+2), and
-             (x/4)*y does not overflow (let's recall that the result
-             is exact with an unbounded exponent range). It does not
-             underflow either, because x*y overflows and the exponent
-             range is large enough. */
-          inexact = mpfr_div_2ui (u, x, 2, MPFR_RNDN);
-          MPFR_ASSERTN (inexact == 0);
-          inexact = mpfr_mul (u, u, y, MPFR_RNDN);
-          MPFR_ASSERTN (inexact == 0);
-
-          /* Now, we need to add z/4... But it may underflow! */
-          {
-            mpfr_t zo4;
-            mpfr_srcptr zz;
-            MPFR_BLOCK_DECL (flags);
-
-            if (MPFR_GET_EXP (u) > MPFR_GET_EXP (z) &&
-                MPFR_GET_EXP (u) - MPFR_GET_EXP (z) > MPFR_PREC (u))
-              {
-                /* |z| < ulp(u)/2, therefore one can use z instead of z/4. */
-                zz = z;
-              }
-            else
-              {
-                mpfr_init2 (zo4, MPFR_PREC (z));
-                if (mpfr_div_2ui (zo4, z, 2, MPFR_RNDZ))
-                  {
-                    /* The division by 4 underflowed! */
-                    MPFR_ASSERTN (0); /* TODO... */
-                  }
-                zz = zo4;
-              }
-
-            /* Let's recall that u = x*y/4 and zz = z/4 (or z if the
-               following addition would give the same result). */
-            MPFR_BLOCK (flags, inexact = mpfr_add (s, u, zz, rnd_mode));
-            /* u and zz have different signs, so that an overflow
-               is not possible. But an underflow is theoretically
-               possible! */
-            if (MPFR_UNDERFLOW (flags))
-              {
-                MPFR_ASSERTN (zz != z);
-                MPFR_ASSERTN (0); /* TODO... */
-                mpfr_clears (zo4, u, (mpfr_ptr) 0);
-              }
-            else
-              {
-                int inex2;
-
-                if (zz != z)
-                  mpfr_clear (zo4);
-                MPFR_GROUP_CLEAR (group);
-                MPFR_ASSERTN (! MPFR_OVERFLOW (flags));
-                inex2 = mpfr_mul_2ui (s, s, 2, rnd_mode);
-                if (inex2)  /* overflow */
-                  {
-                    inexact = inex2;
-                    MPFR_SAVE_EXPO_UPDATE_FLAGS (expo, __gmpfr_flags);
-                  }
-                goto end;
-              }
-          }
         }
-      else  /* underflow: one has |xy| < 2^(emin-1). */
+      else  /* underflow: one has |x*y| < 2^(emin-1). */
         {
-          unsigned long scale = 0;
-          mpfr_t scaled_z;
-          mpfr_srcptr new_z;
-          mpfr_exp_t diffexp;
-          mpfr_prec_t pzs;
-          int xy_underflows;
-
           MPFR_LOG_MSG (("Underflow on x*y\n", 0));
 
-          /* Let's scale z so that ulp(z) > 2^emin and ulp(s) > 2^emin
-             (the + 1 on MPFR_PREC (s) is necessary because the exponent
-             of the result can be EXP(z) - 1). */
-          diffexp = MPFR_GET_EXP (z) - __gmpfr_emin;
-          pzs = MAX (MPFR_PREC (z), MPFR_PREC (s) + 1);
-          MPFR_LOG_MSG (("diffexp=%" MPFR_EXP_FSPEC "d pzs=%Pd\n",
-                         diffexp, pzs));
-          if (diffexp <= pzs)
+          /* Easy cases: when 2^(emin-1) <= 1/2 * min(ulp(z),ulp(s)),
+             one can replace x*y by sign(x*y) * 2^(emin-1). Note that
+             this is even true in case of equality for MPFR_RNDN thanks
+             to the even-rounding rule.
+             The + 1 on MPFR_PREC (s) is necessary because the exponent
+             of the result can be EXP(z) - 1. */
+          if (MPFR_GET_EXP (z) - __gmpfr_emin >=
+              MAX (MPFR_PREC (z), MPFR_PREC (s) + 1))
             {
-              mpfr_uexp_t uscale;
-              mpfr_t scaled_v;
-              MPFR_BLOCK_DECL (flags);
-
-              uscale = (mpfr_uexp_t) pzs - diffexp + 1;
-              MPFR_ASSERTN (uscale > 0);
-              MPFR_ASSERTN (uscale <= ULONG_MAX);
-              scale = uscale;
-              mpfr_init2 (scaled_z, MPFR_PREC (z));
-              inexact = mpfr_mul_2ui (scaled_z, z, scale, MPFR_RNDN);
-              MPFR_ASSERTN (inexact == 0);  /* TODO: overflow case */
-              new_z = scaled_z;
-              /* Now we need to recompute u = xy * 2^scale. */
-              MPFR_BLOCK (flags,
-                          if (MPFR_GET_EXP (x) < MPFR_GET_EXP (y))
-                            {
-                              mpfr_init2 (scaled_v, precx);
-                              mpfr_mul_2ui (scaled_v, x, scale, MPFR_RNDN);
-                              mpfr_mul (u, scaled_v, y, MPFR_RNDN);
-                            }
-                          else
-                            {
-                              mpfr_init2 (scaled_v, precy);
-                              mpfr_mul_2ui (scaled_v, y, scale, MPFR_RNDN);
-                              mpfr_mul (u, x, scaled_v, MPFR_RNDN);
-                            });
-              mpfr_clear (scaled_v);
-              MPFR_ASSERTN (! MPFR_OVERFLOW (flags));
-              xy_underflows = MPFR_UNDERFLOW (flags);
-            }
-          else
-            {
-              new_z = z;
-              xy_underflows = 1;
-            }
-
-          MPFR_LOG_MSG (("scale=%lu xy_underflows=%d\n",
-                         scale, xy_underflows));
-
-          if (xy_underflows)
-            {
-              /* Let's replace xy by sign(xy) * 2^(emin-1). */
               MPFR_PREC (u) = MPFR_PREC_MIN;
               mpfr_setmin (u, __gmpfr_emin);
               MPFR_SET_SIGN (u, MPFR_MULT_SIGN (MPFR_SIGN (x),
                                                 MPFR_SIGN (y)));
+              mpfr_clear_flags ();
+              goto add;
             }
 
-          {
-            MPFR_BLOCK_DECL (flags);
+          MPFR_GROUP_CLEAR (group);  /* we no longer need u */
+        }
 
-            MPFR_BLOCK (flags, inexact = mpfr_add (s, u, new_z, rnd_mode));
-            MPFR_LOG_MSG (("inexact=%d\n", inexact));
-            MPFR_GROUP_CLEAR (group);
-            if (scale != 0)
-              {
-                int inex2;
+      /* Let's use UBF to resolve the overflow/underflow issues. */
+      {
+        mpfr_ubf_t uu;
+        mp_size_t un;
+        mpfr_limb_ptr up;
+        MPFR_TMP_DECL(marker);
 
-                mpfr_clear (scaled_z);
-                /* Here an overflow is theoretically possible, in which case
-                   the result may be wrong, hence the assert. An underflow
-                   is not possible, but let's check that anyway. */
-                MPFR_ASSERTN (! MPFR_OVERFLOW (flags));  /* TODO... */
-                MPFR_ASSERTN (! MPFR_UNDERFLOW (flags));  /* not possible */
-                if (rnd_mode == MPFR_RNDN &&
-                    MPFR_GET_EXP (s) == __gmpfr_emin - 1 + scale &&
-                    mpfr_powerof2_raw (s))
-                  {
-                    MPFR_LOG_MSG (("Double rounding\n", 0));
-                    rnd_mode = (MPFR_IS_NEG (s) ? inexact <= 0 : inexact >= 0)
-                      ? MPFR_RNDZ : MPFR_RNDA;
-                  }
-                inex2 = mpfr_div_2ui (s, s, scale, rnd_mode);
-                MPFR_LOG_MSG (("inex2=%d\n", inex2));
-                if (inex2)  /* underflow */
-                  inexact = inex2;
-              }
-          }
+        MPFR_LOG_MSG (("Use UBF\n", 0));
 
-          /* FIXME/TODO: I'm not sure that the following is correct.
-             Check for possible spurious exceptions due to intermediate
-             computations. */
-          MPFR_SAVE_EXPO_UPDATE_FLAGS (expo, __gmpfr_flags);
-          goto end;
-        }
+        MPFR_TMP_MARK (marker);
+        un = MPFR_LIMB_SIZE (x) + MPFR_LIMB_SIZE (y);
+        MPFR_TMP_INIT (up, uu, (mpfr_prec_t) un * GMP_NUMB_BITS, un);
+        mpfr_ubf_mul_exact (uu, x, y);
+        mpfr_clear_flags ();
+        inexact = mpfr_add (s, (mpfr_srcptr) uu, z, rnd_mode);
+        MPFR_UBF_CLEAR_EXP (uu);
+        MPFR_TMP_FREE (marker);
+      }
     }
+  else
+    {
+    add:
+      inexact = mpfr_add (s, u, z, rnd_mode);
+      MPFR_GROUP_CLEAR (group);
+    }
 
-  inexact = mpfr_add (s, u, z, rnd_mode);
-  MPFR_GROUP_CLEAR (group);
   MPFR_SAVE_EXPO_UPDATE_FLAGS (expo, __gmpfr_flags);
- end:
   MPFR_SAVE_EXPO_FREE (expo);
   return mpfr_check_range (s, inexact, rnd_mode);
 }

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/fmma.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/fmma.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/fmma.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_fmma, mpfr_fmms -- Compute a*b +/- c*d
 
-Copyright 2014-2018 Free Software Foundation, Inc.
+Copyright 2014-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/fms.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/fms.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/fms.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_fms -- Floating multiply-subtract
 
-Copyright 2001-2002, 2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2001-2002, 2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/fpif.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/fpif.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/fpif.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_fpif -- Binary export & import of MPFR numbers
    (floating-point interchange format)
 
-Copyright 2012-2018 Free Software Foundation, Inc.
+Copyright 2012-2019 Free Software Foundation, Inc.
 Contributed by Olivier Demengeon.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"
@@ -522,7 +522,7 @@
 
 /* External Function */
 /*
- * fh : IN : file hander
+ * fh : IN : file handler
  * x : IN : MPFR number to put in the file
  * return 0 if successful
  */
@@ -587,7 +587,7 @@
 /*
  * x : IN/OUT : MPFR number extracted from the file, its precision is reset to
  *              be able to hold the number
- * fh : IN : file hander
+ * fh : IN : file handler
  * Return 0 if the import was successful.
  */
 int

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/frac.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/frac.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/frac.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_frac -- Fractional part of a floating-point number.
 
-Copyright 2002-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2002-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/free_cache.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/free_cache.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/free_cache.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_free_cache... - Free cache/pool memory used by MPFR.
 
-Copyright 2004-2018 Free Software Foundation, Inc.
+Copyright 2004-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"
@@ -63,13 +63,13 @@
   if ((unsigned int) way & MPFR_FREE_LOCAL_CACHE)
     {
       mpfr_free_local_cache ();
-#if !defined (WANT_SHARED_CACHE)
+#if !defined(MPFR_WANT_SHARED_CACHE)
       mpfr_free_const_caches ();
 #endif
     }
   if ((unsigned int) way & MPFR_FREE_GLOBAL_CACHE)
     {
-#if defined (WANT_SHARED_CACHE)
+#if defined(MPFR_WANT_SHARED_CACHE)
       mpfr_free_const_caches ();
 #endif
     }

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/frexp.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/frexp.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/frexp.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_frexp -- convert to integral and fractional parts
 
-Copyright 2011-2018 Free Software Foundation, Inc.
+Copyright 2011-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/gamma.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/gamma.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/gamma.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_gamma -- gamma function
 
-Copyright 2001-2018 Free Software Foundation, Inc.
+Copyright 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/gamma_inc.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/gamma_inc.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/gamma_inc.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_gamma_inc -- incomplete gamma function
 
-Copyright 2016-2018 Free Software Foundation, Inc.
+Copyright 2016-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/gammaonethird.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/gammaonethird.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/gammaonethird.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Functions for evaluating Gamma(1/3) and Gamma(2/3). Used by mpfr_ai.
 
-Copyright 2010-2018 Free Software Foundation, Inc.
+Copyright 2010-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/gen_inverse.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/gen_inverse.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/gen_inverse.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* generic inverse of a function.
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/generic/coverage/mparam.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/generic/coverage/mparam.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/generic/coverage/mparam.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Various Thresholds of MPFR, not exported.  -*- mode: C -*-
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 
 This file is part of the GNU MPFR Library.
 
@@ -16,7 +16,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* mparam tuned for coverage test */
@@ -89,7 +89,7 @@
  784,784,784,784,783,784,784,784,784,784,784,784,784,784,784,784, \
  784,784,784,784,784,784,784,784,784,784,784,784,784,784,784,783, \
  736,784,784,784,784,784,783,784,784,831,784,832,832,832,832,832 \
-  
+
 #define MPFR_SQRHIGH_TAB  \
  -1,0,0,0,-1,-1,-1,-1,-1,7,7,7,8,9,10,11, \
  11,11,11,11,12,13,13,15,15,15,15,15,17,17,19,19, \
@@ -155,7 +155,7 @@
  696,696,695,696,696,696,696,696,695,695,696,695,696,695,696,695, \
  696,695,696,695,696,695,696,695,696,696,696,696,696,695,696,696, \
  695,696,696,696,696,696,696,696,696,696,696,696,696,696,696,696 \
-  
+
 #define MPFR_DIVHIGH_TAB  \
  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /*0-15*/ \
  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /*16-31*/ \

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/generic/mparam.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/generic/mparam.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/generic/mparam.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Various Thresholds of MPFR, not exported.  -*- mode: C -*-
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 
 This file is part of the GNU MPFR Library.
 
@@ -16,7 +16,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #ifndef MPFR_MULHIGH_TAB

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/get_d.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/get_d.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/get_d.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_get_d, mpfr_get_d_2exp -- convert a multiple precision floating-point
                                   number to a machine double precision float
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include <float.h>

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/get_d64.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/get_d64.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/get_d64.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -5,7 +5,7 @@
 https://gcc.gnu.org/onlinedocs/gcc/Decimal-Float.html,
 and TR 24732 <http://www.open-std.org/jtc1/sc22/wg14/www/projects#24732>.
 
-Copyright 2006-2018 Free Software Foundation, Inc.
+Copyright 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -22,7 +22,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/get_exp.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/get_exp.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/get_exp.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_get_exp - get the exponent of a floating-point number
 
-Copyright 2002-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2002-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/get_f.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/get_f.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/get_f.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_get_f -- convert a MPFR number to a GNU MPF number
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_MPF_INTERNALS

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/get_float128.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/get_float128.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/get_float128.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_get_float128 -- convert a multiple precision floating-point
                         number to a __float128 number
 
-Copyright 2012-2018 Free Software Foundation, Inc.
+Copyright 2012-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/get_flt.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/get_flt.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/get_flt.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_get_flt -- convert a mpfr_t to a machine single precision float
 
-Copyright 2009-2018 Free Software Foundation, Inc.
+Copyright 2009-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include <float.h>     /* for FLT_MIN */
@@ -120,7 +120,7 @@
       if (negative)
         dd = -dd;
 
-      /* convert (exacly) to float */
+      /* convert (exactly) to float */
       d = (float) dd;
     }
 

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/get_ld.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/get_ld.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/get_ld.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_get_ld, mpfr_get_ld_2exp -- convert a multiple precision floating-point
                                     number to a machine long double
 
-Copyright 2002-2018 Free Software Foundation, Inc.
+Copyright 2002-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include <float.h> /* needed so that MPFR_LDBL_MANT_DIG is correctly defined */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/get_patches.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/get_patches.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/get_patches.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_get_patches -- Patches that have been applied
 
-Copyright 2007-2018 Free Software Foundation, Inc.
+Copyright 2007-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/get_q.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/get_q.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/get_q.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_get_q -- get a multiple-precision rational from
                  a floating-point number
 
-Copyright 2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/get_si.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/get_si.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/get_si.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_get_si -- convert a floating-point number to a signed long.
 
-Copyright 2003-2018 Free Software Foundation, Inc.
+Copyright 2003-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/get_sj.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/get_sj.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/get_sj.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_get_sj -- convert a MPFR number to a huge machine signed integer
 
-Copyright 2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #ifdef HAVE_CONFIG_H
@@ -90,7 +90,7 @@
              (even though xp[n] == 0 in such a case). This can happen if
              sizeof(mp_limb_t) < sizeof(intmax_t) and |x| is small enough
              because of the trailing bits due to its normalization. */
-          for (n = MPFR_LIMB_SIZE (x) - 1; n >= 0 && sh >= 0; n--)
+          for (n = MPFR_LIMB_SIZE (x) - 1; n >= 0 && sh > 0; n--)
             {
               sh -= GMP_NUMB_BITS;
               /* Note the concerning the casts below:
@@ -100,7 +100,7 @@
                  for the case sizeof(intmax_t) == sizeof(mp_limb_t), as
                  mp_limb_t is unsigned, therefore not representable as an
                  intmax_t when the MSB is 1 (this is the case here). */
-              MPFR_ASSERTD (sh < GMP_NUMB_BITS && -sh < GMP_NUMB_BITS);
+              MPFR_ASSERTD (-sh < GMP_NUMB_BITS);
               r += (sh >= 0
                     ? (intmax_t) xp[n] << sh
                     : (intmax_t) (xp[n] >> (-sh)));
@@ -109,10 +109,10 @@
       else
         {
           /* See the comments for the case x positive. */
-          for (n = MPFR_LIMB_SIZE (x) - 1; n >= 0 && sh >= 0; n--)
+          for (n = MPFR_LIMB_SIZE (x) - 1; n >= 0 && sh > 0; n--)
             {
               sh -= GMP_NUMB_BITS;
-              MPFR_ASSERTD (sh < GMP_NUMB_BITS && -sh < GMP_NUMB_BITS);
+              MPFR_ASSERTD (-sh < GMP_NUMB_BITS);
               r -= (sh >= 0
                     ? (intmax_t) xp[n] << sh
                     : (intmax_t) (xp[n] >> (-sh)));

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/get_str.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/get_str.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/get_str.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_get_str -- output a floating-point number to a string
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H
@@ -2233,6 +2233,7 @@
    exponent in e.
    x is rounded with direction rnd, m is the number of digits of the mantissa,
    |b| is the given base (2 <= b <= 62 or -36 <= b <= -2).
+   This follows GMP's mpf_get_str specification.
 
    Return value:
    if s=NULL, allocates a string to store the mantissa, with
@@ -2325,15 +2326,12 @@
       */
       m = 1 +
         mpfr_ceil_mul (IS_POW2(b) ? MPFR_PREC(x) - 1 : MPFR_PREC(x), b, 1);
-      if (m < 2)
-        m = 2;
     }
 
   MPFR_LOG_MSG (("m=%zu\n", m));
 
-  /* The code below for non-power-of-two bases works for m=1;
-     this is important for the internal use of mpfr_get_str. */
-  MPFR_ASSERTN (m >= 2 || (!IS_POW2(b) && m >= 1));
+  /* The code below works for m=1, both for power-of-two and non-power-of-two
+     bases; this is important for the internal use of mpfr_get_str. */
 
   /* x is a floating-point number */
 
@@ -2376,6 +2374,8 @@
 
       /* the first digit will contain only r bits */
       prec = (m - 1) * pow2 + r; /* total number of bits */
+      /* if m=1 then 1 <= prec <= pow2, and since prec=1 is now valid in MPFR,
+         the power-of-two code also works for m=1 */
       n = MPFR_PREC2LIMBS (prec);
 
       MPFR_TMP_MARK (marker);

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/get_ui.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/get_ui.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/get_ui.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_get_ui -- convert a floating-point number to an unsigned long.
 
-Copyright 2003-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/get_uj.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/get_uj.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/get_uj.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_get_uj -- convert a MPFR number to a huge machine unsigned integer
 
-Copyright 2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #ifdef HAVE_CONFIG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/get_z.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/get_z.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/get_z.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_get_z -- get a multiple-precision integer from
                  a floating-point number
 
-Copyright 2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/get_z_exp.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/get_z_exp.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/get_z_exp.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_get_z_2exp -- get a multiple-precision integer and an exponent
                       from a floating-point number
 
-Copyright 2000-2018 Free Software Foundation, Inc.
+Copyright 2000-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/gmp_op.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/gmp_op.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/gmp_op.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Implementations of operations between mpfr and mpz/mpq data
 
-Copyright 2001, 2003-2018 Free Software Foundation, Inc.
+Copyright 2001, 2003-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H
@@ -452,11 +452,15 @@
   mpfr_prec_t p;
   MPFR_SAVE_EXPO_DECL (expo);
 
-  if (MPFR_UNLIKELY (mpq_denref (q) == 0))
+  if (MPFR_UNLIKELY (mpz_sgn (mpq_denref (q)) == 0))
     {
       /* q is an infinity or NaN */
-      mpfr_init2 (t, 2);
+      mpfr_flags_t old_flags;
+
+      mpfr_init2 (t, MPFR_PREC_MIN);
+      old_flags = __gmpfr_flags;
       mpfr_set_q (t, q, MPFR_RNDN);
+      __gmpfr_flags = old_flags;
       res = mpfr_cmp (x, t);
       mpfr_clear (t);
       return res;

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/grandom.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/grandom.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/grandom.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -3,7 +3,7 @@
    distribution and round it to the precision of rop1, rop2 according
    to the given rounding mode.
 
-Copyright 2011-2018 Free Software Foundation, Inc.
+Copyright 2011-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -20,7 +20,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/hppa/mparam.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/hppa/mparam.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/hppa/mparam.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Various Thresholds of MPFR, not exported.  -*- mode: C -*-
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 
 This file is part of the GNU MPFR Library.
 
@@ -16,7 +16,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* Generated by MPFR's tuneup.c, 2011-07-31, gcc 4.3.2 */
@@ -88,7 +88,7 @@
  832,832,832,832,832,832,832,831,832,831,832,831,832,831,832,831, \
  832,831,832,832,832,831,832,831,832,831,832,831,832,831,832,831, \
  832,832,832,831,832,832,832,832,832,831,832,832,832,832,832,832 \
-  
+
 #define MPFR_SQRHIGH_TAB  \
  -1,0,0,0,0,0,0,0,0,0,0,7,0,8,9,9, \
  10,10,11,11,12,13,14,13,14,15,16,15,16,17,18,17, \
@@ -154,7 +154,7 @@
  592,591,592,591,592,615,616,519,520,615,520,519,520,615,616,615, \
  616,615,528,615,616,615,528,527,528,615,528,623,624,623,536,552, \
  552,551,552,551,552,551,552,551,552,551,552,551,552,551,552,551 \
-  
+
 #define MPFR_DIVHIGH_TAB  \
  0,1,2,3,4,5,6,7,6,7,10,11,10,11,12,13, \
  10,11,11,11,12,12,14,15,14,14,16,16,16,16,18,17, \
@@ -220,7 +220,7 @@
  512,508,512,508,512,512,512,512,512,512,512,512,512,512,512,512, \
  512,512,512,512,512,512,512,512,512,564,562,564,560,512,564,564, \
  562,564,560,564,564,564,560,564,564,564,564,564,564,564,564,562 \
-  
+
 #define MPFR_MUL_THRESHOLD 6 /* limbs */
 #define MPFR_SQR_THRESHOLD 8 /* limbs */
 #define MPFR_DIV_THRESHOLD 23 /* limbs */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/hypot.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/hypot.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/hypot.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_hypot -- Euclidean distance
 
-Copyright 2001-2018 Free Software Foundation, Inc.
+Copyright 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/ia64/mparam.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/ia64/mparam.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/ia64/mparam.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Various Thresholds of MPFR, not exported.  -*- mode: C -*-
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 
 This file is part of the GNU MPFR Library.
 
@@ -16,7 +16,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* Generated by MPFR's tuneup.c, 2011-07-31, gcc 4.4.5 */
@@ -88,7 +88,7 @@
  784,784,784,784,784,783,784,831,784,784,784,784,784,784,784,831, \
  832,784,832,831,784,831,832,831,832,784,784,831,832,783,784,831, \
  832,784,832,831,832,784,856,856,856,856,856,856,856,856,856,856 \
-  
+
 #define MPFR_SQRHIGH_TAB  \
  -1,0,0,0,0,0,-1,-1,-1,6,-1,8,8,8,10,10, \
  10,12,11,11,12,12,14,14,14,14,16,15,16,16,18,19, \
@@ -154,7 +154,7 @@
  616,616,600,600,616,616,600,600,600,616,600,599,600,600,600,599, \
  600,616,616,599,616,616,616,599,616,616,616,599,616,616,600,599, \
  616,616,600,616,616,616,632,648,664,648,616,648,600,600,632,664 \
-  
+
 #define MPFR_DIVHIGH_TAB  \
  0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,13, \
  16,17,18,19,18,21,22,23,22,25,17,17,20,23,25,22, \
@@ -220,7 +220,7 @@
  560,528,576,512,528,513,512,528,528,576,576,496,528,576,576,511, \
  512,504,576,576,560,512,576,504,576,576,576,576,564,576,564,576, \
  576,562,576,576,576,576,576,560,576,576,564,528,532,576,576,576 \
-  
+
 #define MPFR_MUL_THRESHOLD 26 /* limbs */
 #define MPFR_SQR_THRESHOLD 19 /* limbs */
 #define MPFR_DIV_THRESHOLD 44 /* limbs */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/ieee_floats.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/ieee_floats.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/ieee_floats.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* auxiliary data to generate special IEEE floats (NaN, +Inf, -Inf)
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* "double" NaN and infinities are written as explicit bytes to be sure of

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/init.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/init.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/init.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_init -- initialize a floating-point number
 
-Copyright 1999, 2001-2002, 2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 1999, 2001-2002, 2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/init2.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/init2.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/init2.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_init2 -- initialize a floating-point number with given precision
 
-Copyright 2001-2018 Free Software Foundation, Inc.
+Copyright 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/inits.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/inits.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/inits.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_inits -- initialize several floating-point numbers
 
-Copyright 2003-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #ifdef HAVE_CONFIG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/inits2.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/inits2.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/inits2.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_inits2 -- initialize several floating-point numbers with given
    precision
 
-Copyright 2003-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #ifdef HAVE_CONFIG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/inp_str.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/inp_str.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/inp_str.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_inp_str -- input a number in base BASE from stdio stream STREAM
                    and store the result in ROP
 
-Copyright 1999, 2001-2002, 2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 1999, 2001-2002, 2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include <ctype.h>
@@ -37,9 +37,6 @@
   int retval;
   size_t nread;
 
-  if (stream == NULL)
-    stream = stdin;
-
   alloc_size = 100;
   str = (unsigned char *) mpfr_allocate_func (alloc_size);
   str_size = 0;

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/int_ceil_log2.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/int_ceil_log2.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/int_ceil_log2.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* __gmpfr_int_ceil_log2 -- Integer ceil of log2(x)
 
-Copyright 2004-2018 Free Software Foundation, Inc.
+Copyright 2004-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H /* for count_leading_zeros */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/invert_limb.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/invert_limb.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/invert_limb.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* __gmpfr_invert_limb -- implement GMP's invert_limb (which is not in GMP API)
 
-Copyright 2016-2018 Free Software Foundation, Inc.
+Copyright 2016-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H
@@ -123,7 +123,7 @@
       _e = - _v2 * _d63 + ((_v2 & -_d0) >> 1);                          \
       umul_hi (_h, _v2, _e);                                            \
       _v3 = (_v2 << 31) + (_h >> 1);                                    \
-      umul_ppmm (_h, _l, _v3, d);                                       \
+      umul_ppmm (_h, _l, _v3, _d);                                      \
       /* v3 is too small iff (h+d)*2^64+l+d < 2^128 */                  \
       add_ssaaaa(_h, _l, _h, _l, _d, _d);                               \
       MPFR_ASSERTD(_h == MPFR_LIMB_ZERO || -_h == MPFR_LIMB_ONE);       \
@@ -223,7 +223,7 @@
       _e = - _v1 * _d31 + ((_v1 & - _d0) >> 1);                         \
       umul_ppmm (_h, _l, _v1, _e);                                      \
       _v2 = (_v1 << 15) + (_h >> 1);                                    \
-      umul_ppmm (_h, _l, _v2, d);                                       \
+      umul_ppmm (_h, _l, _v2, _d);                                      \
       /* v2 is too small iff (h+d)*2^32+l+d < 2^64 */                   \
       add_ssaaaa(_h, _l, _h, _l, _d, _d);                               \
       MPFR_ASSERTD(_h == MPFR_LIMB_ZERO || -_h == MPFR_LIMB_ONE);       \

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/invsqrt_limb.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/invsqrt_limb.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/invsqrt_limb.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* __gmpfr_invsqrt_limb_approx -- reciprocal approximate square root of a limb
 
-Copyright 2017-2018 Free Software Foundation, Inc.
+Copyright 2017-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/isinf.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/isinf.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/isinf.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_inf_p -- check for infinities
 
-Copyright 2000-2001, 2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2000-2001, 2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/isinteger.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/isinteger.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/isinteger.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_integer_p -- test if a mpfr variable is integer.
 
-Copyright 2001-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2001-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/isnan.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/isnan.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/isnan.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_nan_p -- check for NaN
 
-Copyright 2000-2001, 2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2000-2001, 2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/isnum.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/isnum.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/isnum.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_number_p -- check for ordinary numbers
 
-Copyright 2000-2002, 2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2000-2002, 2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/isqrt.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/isqrt.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/isqrt.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* __gmpfr_isqrt && __gmpfr_cuberoot -- Integer square root and cube root
 
-Copyright 2004-2018 Free Software Foundation, Inc.
+Copyright 2004-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/isregular.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/isregular.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/isregular.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_regular_p -- check for regular number (neither NaN, Inf or zero)
 
-Copyright 2009-2018 Free Software Foundation, Inc.
+Copyright 2009-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/iszero.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/iszero.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/iszero.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_zero_p -- check for zero
 
-Copyright 2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/jn.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/jn.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/jn.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_j0, mpfr_j1, mpfr_jn -- Bessel functions of 1st kind, integer order.
    http://www.opengroup.org/onlinepubs/009695399/functions/j0.html
 
-Copyright 2007-2018 Free Software Foundation, Inc.
+Copyright 2007-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/jyn_asympt.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/jyn_asympt.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/jyn_asympt.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_jn_asympt, mpfr_yn_asympt -- shared code for mpfr_jn and mpfr_yn
 
-Copyright 2007-2018 Free Software Foundation, Inc.
+Copyright 2007-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #ifdef MPFR_JN

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/li2.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/li2.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/li2.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_li2 -- Dilogarithm.
 
-Copyright 2007-2018 Free Software Foundation, Inc.
+Copyright 2007-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H
@@ -40,8 +40,8 @@
   MPFR_ZIV_DECL (loop);
 
   /* The series converges for |z| < 2 pi, but in mpfr_li2 the argument is
-     reduced so that 0 < z <= log(2). Here is additionnal check that z is
-     (nearly) correct */
+     reduced so that 0 < z <= log(2). Here is an additional check that z
+     is (nearly) correct. */
   MPFR_ASSERTD (MPFR_IS_STRICTPOS (z));
   MPFR_ASSERTD (mpfr_cmp_ui_2exp (z, 89, -7) <= 0); /* z <= 0.6953125 */
 

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/lngamma.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/lngamma.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/lngamma.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_lngamma -- lngamma function
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/log.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/log.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/log.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_log -- natural logarithm of a floating-point number
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/log10.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/log10.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/log10.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_log10 -- logarithm in base 10.
 
-Copyright 2001-2018 Free Software Foundation, Inc.
+Copyright 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/log1p.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/log1p.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/log1p.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_log1p -- Compute log(1+x)
 
-Copyright 2001-2018 Free Software Foundation, Inc.
+Copyright 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/log2.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/log2.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/log2.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_log2 -- log base 2
 
-Copyright 2001-2018 Free Software Foundation, Inc.
+Copyright 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/log_ui.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/log_ui.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/log_ui.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_log_ui -- compute natural logarithm of an unsigned long
 
-Copyright 2014-2018 Free Software Foundation, Inc.
+Copyright 2014-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/logging.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/logging.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/logging.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* MPFR Logging functions.
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/min_prec.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/min_prec.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/min_prec.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_min_prec -- minimal size in bits to hold the mantissa
 
-Copyright 2009-2018 Free Software Foundation, Inc.
+Copyright 2009-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/minmax.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/minmax.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/minmax.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_min -- min and max of x, y
 
-Copyright 2001, 2003-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2001, 2003-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/mips/mparam.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/mips/mparam.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/mips/mparam.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Various Thresholds of MPFR, not exported.  -*- mode: C -*-
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 
 This file is part of the GNU MPFR Library.
 
@@ -16,7 +16,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* Generated by MPFR's tuneup.c, 2012-03-05, gcc 4.4.6
@@ -89,7 +89,7 @@
  832,832,832,832,832,832,832,832,832,832,832,832,832,832,832,832, \
  832,832,831,832,832,832,832,832,832,832,832,832,832,832,832,832, \
  832,832,832,832,832,832,832,832,832,832,832,832,832,832,832,832 \
-  
+
 #define MPFR_SQRHIGH_TAB  \
  -1,0,0,0,0,0,0,0,6,6,7,7,8,8,9,9, \
  10,10,11,11,12,12,13,13,14,14,15,15,16,16,17,17, \
@@ -155,7 +155,7 @@
  504,504,504,536,536,536,536,536,536,536,536,536,536,536,536,536, \
  536,536,536,536,536,536,536,536,536,536,535,536,536,536,536,536, \
  536,536,536,536,568,568,568,568,552,568,568,568,568,568,568,536 \
-  
+
 #define MPFR_DIVHIGH_TAB  \
  0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0, /*0-15*/ \
  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /*16-31*/ \
@@ -221,7 +221,7 @@
  512,510,510,512,512,511,512,512,512,512,512,512,512,512,549,512, /*976-991*/ \
  512,512,545,512,512,512,510,512,512,512,512,512,512,512,510,512, /*992-1007*/ \
  512,512,551,510,545,512,550,512,552,545,511,557,545,512,544,551 /*1008-1023*/ \
-  
+
 #define MPFR_MUL_THRESHOLD 6 /* limbs */
 #define MPFR_SQR_THRESHOLD 9 /* limbs */
 #define MPFR_DIV_THRESHOLD 6 /* limbs */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/modf.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/modf.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/modf.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_modf -- Integral and fractional part.
 
-Copyright 2007-2018 Free Software Foundation, Inc.
+Copyright 2007-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/mp_clz_tab.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/mp_clz_tab.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/mp_clz_tab.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -3,7 +3,7 @@
    THE CONTENTS OF THIS FILE ARE FOR INTERNAL USE AND MAY CHANGE
    INCOMPATIBLY OR DISAPPEAR IN A FUTURE GNU MPFR RELEASE.
 
-Copyright 1991, 1993-1994, 1996-1997, 2000-2001, 2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 1991, 1993-1994, 1996-1997, 2000-2001, 2004, 2006-2019 Free Software Foundation, Inc.
 
 This file is part of the GNU MPFR Library.
 It has been copied and adapted from the GNU MP Library.
@@ -20,7 +20,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/mparam_h.in
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/mparam_h.in	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/mparam_h.in	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Various Thresholds of MPFR, not exported.  -*- mode: C -*-
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 
 This file is part of the GNU MPFR Library.
 
@@ -16,7 +16,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #ifndef __MPFR_IMPL_H__

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/mpf2mpfr.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/mpf2mpfr.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/mpf2mpfr.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpf2mpfr.h -- Compatibility include file with mpf.
 
-Copyright 1999-2002, 2004-2018 Free Software Foundation, Inc.
+Copyright 1999-2002, 2004-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #ifndef __MPFR_FROM_MPF__

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-cvers.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-cvers.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-cvers.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Utilities for MPFR developers, not exported.
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #ifndef __MPFR_CVERS_H__

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-gmp.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-gmp.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-gmp.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_gmp -- Limited gmp-impl emulator
    Modified version of the GMP files.
 
-Copyright 2004-2018 Free Software Foundation, Inc.
+Copyright 2004-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-gmp.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-gmp.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-gmp.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Uniform Interface to GMP.
 
-Copyright 2004-2018 Free Software Foundation, Inc.
+Copyright 2004-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #ifndef __GMPFR_GMP_H__
@@ -310,7 +310,7 @@
                                          size_t);
 __MPFR_DECLSPEC void mpfr_tmp_free (struct tmp_marker *);
 
-/* Can be overriden at configure time. Useful for checking buffer overflow. */
+/* Can be overridden at configure time. Useful for checking buffer overflow. */
 #ifndef MPFR_ALLOCA_MAX
 # define MPFR_ALLOCA_MAX 16384
 #endif

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-impl.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-impl.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-impl.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Utilities for MPFR developers, not exported.
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #ifndef __MPFR_IMPL_H__
@@ -83,7 +83,7 @@
 /* For the definition of MPFR_THREAD_ATTR. GCC/ICC detection macros are
    no longer used, as they sometimes gave incorrect information about
    the support of thread-local variables. A configure check is now done. */
-#if defined (WANT_SHARED_CACHE)
+#if defined(MPFR_WANT_SHARED_CACHE)
 # define MPFR_NEED_THREAD_LOCK 1
 #endif
 #include "mpfr-thread.h"
@@ -207,12 +207,16 @@
 extern "C" {
 #endif
 
-#if defined(WANT_SHARED_CACHE)
+#if defined(MPFR_WANT_SHARED_CACHE)
 # define MPFR_CACHE_ATTR
 #else
 # define MPFR_CACHE_ATTR MPFR_THREAD_ATTR
 #endif
 
+/* Note: The following structure and types depend on the MPFR build options
+   (including compiler options), due to the various locking methods affecting
+   MPFR_DEFERRED_INIT_SLAVE_DECL and MPFR_LOCK_DECL. But since this is only
+   internal, that's OK. */
 struct __gmpfr_cache_s {
   mpfr_t x;
   int inexact;
@@ -766,7 +770,7 @@
 # endif
 #endif
 
-/* Some special case for IEEE_EXT Litle Endian */
+/* Some special case for IEEE_EXT Little Endian */
 #if HAVE_LDOUBLE_IEEE_EXT_LITTLE
 
 typedef union {
@@ -864,6 +868,12 @@
    nonnegative. */
 #define MPFR_UEXP(X) (MPFR_ASSERTD ((X) >= 0), (mpfr_uexp_t) (X))
 
+/* Define mpfr_eexp_t, mpfr_ueexp_t and MPFR_EXP_FSPEC.
+   Warning! MPFR_EXP_FSPEC is the length modifier associated with
+   these types mpfr_eexp_t / mpfr_ueexp_t, not with mpfr_exp_t.
+   (Should we change that, or is this safer to detect bugs, e.g.
+   in the context of an expression with computations with long?)
+*/
 #if _MPFR_EXP_FORMAT <= 3
 typedef long mpfr_eexp_t;
 typedef unsigned long mpfr_ueexp_t;
@@ -1415,15 +1425,15 @@
 #define mpfr_get_d1(x) mpfr_get_d(x,__gmpfr_default_rounding_mode)
 
 /* Store in r the size in bits of the mpz_t z */
-#define MPFR_MPZ_SIZEINBASE2(r, z)              \
-  do {                                          \
-   int _cnt;                                    \
-   mp_size_t _size;                             \
-   MPFR_ASSERTD (mpz_sgn (z) != 0);             \
-   _size = ABSIZ(z);                            \
-   MPFR_ASSERTD (_size >= 1);                   \
-   count_leading_zeros (_cnt, PTR(z)[_size-1]); \
-   (r) = _size * GMP_NUMB_BITS - _cnt;          \
+#define MPFR_MPZ_SIZEINBASE2(r, z)                      \
+  do {                                                  \
+    int _cnt;                                           \
+    mp_size_t _size;                                    \
+    MPFR_ASSERTD (mpz_sgn (z) != 0);                    \
+    _size = ABSIZ(z);                                   \
+    MPFR_ASSERTD (_size >= 1);                          \
+    count_leading_zeros (_cnt, PTR(z)[_size-1]);        \
+    (r) = (mp_bitcnt_t) _size * GMP_NUMB_BITS - _cnt;   \
   } while (0)
 
 /* MPFR_LCONV_DPTS can also be forced to 0 or 1 by the user. */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-intmax.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-intmax.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-intmax.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* MPFR internal header related to intmax_t.
 
-Copyright 2004-2018 Free Software Foundation, Inc.
+Copyright 2004-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #ifndef __MPFR_INTMAX_H__

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-longlong.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-longlong.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-longlong.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* longlong.h -- definitions for mixed size 32/64 bit arithmetic.
 
-Copyright 1991-1994, 1996, 1997, 1999-2005, 2007-2009, 2011-2018 Free Software Foundation, Inc.
+Copyright 1991-1994, 1996, 1997, 1999-2005, 2007-2009, 2011-2019 Free Software Foundation, Inc.
 
 This file is part of the GNU MPFR Library and has been copied from
 GNU MP 6.1.0 (the FIXME's come from GNU MP), except the parts marked
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* You have to define the following before including this file:
@@ -410,6 +410,8 @@
 #define COUNT_LEADING_ZEROS_0 32
 #endif /* __a29k__ */
 
+/* MPFR: changed "J" constraint to "Cal" constraint
+   (https://sympa.inria.fr/sympa/arc/mpfr/2018-10/msg00010.html) */
 #if defined (__arc__)
 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \
   __asm__ ("add.f\t%1, %4, %5\n\tadc\t%0, %2, %3"			\
@@ -416,17 +418,17 @@
 	   : "=r" (sh),							\
 	     "=&r" (sl)							\
 	   : "r"  ((USItype) (ah)),					\
-	     "rIJ" ((USItype) (bh)),					\
+	     "rICal" ((USItype) (bh)),					\
 	     "%r" ((USItype) (al)),					\
-	     "rIJ" ((USItype) (bl)))
+	     "rICal" ((USItype) (bl)))
 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \
   __asm__ ("sub.f\t%1, %4, %5\n\tsbc\t%0, %2, %3"			\
 	   : "=r" (sh),							\
 	     "=&r" (sl)							\
 	   : "r" ((USItype) (ah)),					\
-	     "rIJ" ((USItype) (bh)),					\
+	     "rICal" ((USItype) (bh)),					\
 	     "r" ((USItype) (al)),					\
-	     "rIJ" ((USItype) (bl)))
+	     "rICal" ((USItype) (bl)))
 #endif
 
 #if defined (__arm__) && (defined (__thumb2__) || !defined (__thumb__)) \
@@ -2103,7 +2105,7 @@
     (q) = __MPN(udiv_w_sdiv) (&__r, nh, nl, d);				\
     (r) = __r;								\
   } while (0)
-__GMP_DECLSPEC UWtype __MPN(udiv_w_sdiv) (UWtype *, UWtype, UWtype, UWtype);
+__MPFR_DECLSPEC UWtype __MPN(udiv_w_sdiv) (UWtype *, UWtype, UWtype, UWtype);
 #endif
 
 /* If udiv_qrnnd was not defined for this processor, use __udiv_qrnnd_c.  */
@@ -2147,7 +2149,7 @@
 #endif
 
 #ifdef COUNT_LEADING_ZEROS_NEED_CLZ_TAB
-extern const unsigned char __GMP_DECLSPEC __clz_tab[129];
+extern const unsigned char __MPFR_DECLSPEC __clz_tab[129];
 #endif
 
 #if !defined (count_trailing_zeros)

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-mini-gmp.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-mini-gmp.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-mini-gmp.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr-mini-gmp.c -- Interface functions for mini-gmp.
 
-Copyright 2014-2018 Free Software Foundation, Inc.
+Copyright 2014-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* The following include will do 2 things: include the config.h

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-mini-gmp.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-mini-gmp.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-mini-gmp.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr-mini-gmp.h -- Interface header for mini-gmp.
 
-Copyright 2014-2018 Free Software Foundation, Inc.
+Copyright 2014-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include <stdlib.h> /* for size_t */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-sassert.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-sassert.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-sassert.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* MPFR internal header related to Static Assertions
 
-Copyright 2012-2018 Free Software Foundation, Inc.
+Copyright 2012-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #ifndef __MPFR_STATIC_ASSERT_H__

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-thread.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-thread.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr-thread.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* MPFR internal header related to thread-local variables.
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #ifndef __MPFR_THREAD_H__
@@ -53,46 +53,33 @@
 /*                           ISO C11 version                              */
 /**************************************************************************/
 /**************************************************************************/
+
 #if defined (MPFR_HAVE_C11_LOCK)
-/* NOTE: This version has not been completly tested */
-#include <thread.h>
+/* NOTE: This version has not been completely tested */
 
+#define MPFR_THREAD_LOCK_METHOD "C11"
+
+#include <threads.h>
+
 #define MPFR_LOCK_DECL(_lock)                   \
   mtx_t _lock;
 
-#define MPFR_LOCK_INIT(_lock) do {                                      \
-    int error_code = mtx_init(&(_lock), mtx_plain);                     \
-    MPFR_ASSERTD( error_code == thrd_success);                          \
+#define MPFR_LOCK_C(E)                          \
+  do {                                          \
+    if ((E) != thrd_success)                    \
+      abort ();                                 \
   } while (0)
 
-#define MPFR_LOCK_CLEAR(_lock) do {                     \
-    mtx_destroy(&(_lock));                              \
-  } while (0)
+#define MPFR_LOCK_INIT(_lock)    MPFR_LOCK_C(mtx_init(&(_lock), mtx_plain))
+#define MPFR_LOCK_CLEAR(_lock)   do { mtx_destroy(&(_lock)); } while (0)
+#define MPFR_LOCK_READ(_lock)    MPFR_LOCK_C(mtx_lock(&(_lock)))
+#define MPFR_UNLOCK_READ(_lock)  MPFR_LOCK_C(mtx_unlock(&(_lock)))
+#define MPFR_LOCK_WRITE(_lock)   MPFR_LOCK_C(mtx_lock(&(_lock)))
+#define MPFR_UNLOCK_WRITE(_lock) MPFR_LOCK_C(mtx_unlock(&(_lock)))
 
-#define MPFR_LOCK_READ(_lock)   do {                            \
-    int error_code = mtx_lock(&(_lock));                        \
-    MPFR_ASSERTD(error_code == thrd_success);                   \
-  } while (0)
+#define MPFR_LOCK_READ2WRITE(_lock) do {} while (0)
+#define MPFR_LOCK_WRITE2READ(_lock) do {} while (0)
 
-#define MPFR_UNLOCK_READ(_lock) do {                            \
-    int error_code = mtx_unlock(&(_lock));                      \
-    MPFR_ASSERTD(error_code == thrd_success);                   \
-  } while (0)
-
-#define MPFR_LOCK_WRITE(_lock)  do {                            \
-    int error_code = mtx_lock(&(_lock));                        \
-    MPFR_ASSERTD(error_code == thrd_success);                   \
-  } while (0)
-
-#define MPFR_UNLOCK_WRITE(_lock)        do {                    \
-    int error_code = mtx_unlock(&(_lock));                      \
-    MPFR_ASSERTD(error_code == thrd_success);                   \
-  } while (0)
-
-#define MPFR_LOCK_READ2WRITE(_lock)
-
-#define MPFR_LOCK_WRITE2READ(_lock)
-
 #define MPFR_ONCE_DECL(_once)                   \
   once_flag _once;
 
@@ -110,41 +97,33 @@
 /*                           POSIX   version                              */
 /**************************************************************************/
 /**************************************************************************/
+
 #elif defined (HAVE_PTHREAD)
-# include <pthread.h>
 
-#define MPFR_LOCK_DECL(_lock)                                           \
+#define MPFR_THREAD_LOCK_METHOD "pthread"
+
+#include <pthread.h>
+
+#define MPFR_LOCK_DECL(_lock)                   \
   pthread_rwlock_t _lock;
 
-#define MPFR_LOCK_INIT(_lock) do {                                      \
-    int error_code = pthread_rwlock_init(&(_lock), NULL);               \
-    MPFR_ASSERTD( error_code == 0);                                     \
+#define MPFR_LOCK_C(E)                          \
+  do {                                          \
+    if ((E) != 0)                               \
+      abort ();                                 \
   } while (0)
 
+#define MPFR_LOCK_INIT(_lock) MPFR_LOCK_C(pthread_rwlock_init(&(_lock), NULL))
+
 #define MPFR_LOCK_CLEAR(_lock) do {                     \
     pthread_rwlock_destroy(&(_lock));                   \
   } while (0)
 
-#define MPFR_LOCK_READ(_lock)   do {                            \
-    int error_code = pthread_rwlock_rdlock(&(_lock));           \
-    MPFR_ASSERTD(error_code == 0);                              \
-  } while (0)
+#define MPFR_LOCK_READ(_lock)    MPFR_LOCK_C(pthread_rwlock_rdlock(&(_lock)))
+#define MPFR_UNLOCK_READ(_lock)  MPFR_LOCK_C(pthread_rwlock_unlock(&(_lock)))
+#define MPFR_LOCK_WRITE(_lock)   MPFR_LOCK_C(pthread_rwlock_wrlock(&(_lock)))
+#define MPFR_UNLOCK_WRITE(_lock) MPFR_LOCK_C(pthread_rwlock_unlock(&(_lock)))
 
-#define MPFR_UNLOCK_READ(_lock) do {                            \
-    int error_code = pthread_rwlock_unlock(&(_lock));           \
-    MPFR_ASSERTD(error_code == 0);                              \
-  } while (0)
-
-#define MPFR_LOCK_WRITE(_lock)  do {                            \
-    int error_code = pthread_rwlock_wrlock(&(_lock));           \
-    MPFR_ASSERTD(error_code == 0);                              \
-  } while (0)
-
-#define MPFR_UNLOCK_WRITE(_lock)        do {                    \
-    int error_code = pthread_rwlock_unlock(&(_lock));           \
-    MPFR_ASSERTD(error_code == 0);                              \
-  } while (0)
-
 #define MPFR_LOCK_READ2WRITE(_lock) do {                        \
     MPFR_UNLOCK_READ(_lock);                                    \
     MPFR_LOCK_WRITE(_lock);                                     \
@@ -160,10 +139,8 @@
 
 #define MPFR_ONCE_INIT_VALUE PTHREAD_ONCE_INIT
 
-#define MPFR_ONCE_CALL(_once, _func) do {               \
-    int error_code = pthread_once (&(_once), (_func));  \
-    MPFR_ASSERTD (error_code == 0);                     \
-  } while (0)
+#define MPFR_ONCE_CALL(_once, _func) \
+  MPFR_LOCK_C(pthread_once (&(_once), (_func)))
 
 #define MPFR_NEED_DEFERRED_INIT 1
 

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/mpfr.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr.h -- Include file for mpfr.
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #ifndef __MPFR_H
@@ -26,8 +26,8 @@
 /* Define MPFR version number */
 #define MPFR_VERSION_MAJOR 4
 #define MPFR_VERSION_MINOR 0
-#define MPFR_VERSION_PATCHLEVEL 1
-#define MPFR_VERSION_STRING "4.0.1"
+#define MPFR_VERSION_PATCHLEVEL 2
+#define MPFR_VERSION_STRING "4.0.2"
 
 /* User macros:
    MPFR_USE_FILE:        Define it to make MPFR define functions dealing
@@ -1019,7 +1019,7 @@
 
 
 /* Check if <stdint.h> / <inttypes.h> is included or if the user
-   explicitly wants intmax_t. Automatical detection is done by
+   explicitly wants intmax_t. Automatic detection is done by
    checking:
      - INTMAX_C and UINTMAX_C, but not if the compiler is a C++ one
        (as suggested by Patrick Pelissier) because the test does not

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/mpn_exp.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/mpn_exp.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/mpn_exp.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_mpn_exp -- auxiliary function for mpfr_get_str and mpfr_set_str
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/mul.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/mul.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/mul.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_mul -- multiply two floating-point numbers
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H
@@ -180,10 +180,17 @@
     }
   else if (! mpfr_equal_p (ta, a) || ! SAME_SIGN (inexact1, inexact2))
     {
+      /* We do not have MPFR_PREC_FSPEC, so let's use mpfr_eexp_t and
+         MPFR_EXP_FSPEC since mpfr_prec_t values are guaranteed to be
+         representable in mpfr_exp_t, thus in mpfr_eexp_t. */
       fprintf (stderr, "mpfr_mul return different values for %s\n"
-               "Prec_a = %lu, Prec_b = %lu, Prec_c = %lu\nb = ",
+               "Prec_a = %" MPFR_EXP_FSPEC "d, "
+               "Prec_b = %" MPFR_EXP_FSPEC "d, "
+               "Prec_c = %" MPFR_EXP_FSPEC "d\nb = ",
                mpfr_print_rnd_mode (rnd_mode),
-               MPFR_PREC (a), MPFR_PREC (b), MPFR_PREC (c));
+               (mpfr_eexp_t) MPFR_PREC (a),
+               (mpfr_eexp_t) MPFR_PREC (b),
+               (mpfr_eexp_t) MPFR_PREC (c));
       mpfr_fdump (stderr, b);
       fprintf (stderr, "c = ");
       mpfr_fdump (stderr, c);

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/mul_2exp.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/mul_2exp.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/mul_2exp.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_mul_2exp -- multiply a floating-point number by a power of two
 
-Copyright 1999, 2001, 2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 1999, 2001, 2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/mul_2si.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/mul_2si.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/mul_2si.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_mul_2si -- multiply a floating-point number by a power of two
 
-Copyright 1999, 2001-2018 Free Software Foundation, Inc.
+Copyright 1999, 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/mul_2ui.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/mul_2ui.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/mul_2ui.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_mul_2ui -- multiply a floating-point number by a power of two
 
-Copyright 1999, 2001-2018 Free Software Foundation, Inc.
+Copyright 1999, 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/mul_d.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/mul_d.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/mul_d.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_mul_d -- multiply a multiple precision floating-point number
                  by a machine double precision float
 
-Copyright 2007-2018 Free Software Foundation, Inc.
+Copyright 2007-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/mul_ui.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/mul_ui.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/mul_ui.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_mul_ui -- multiply a floating-point number by a machine integer
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/mulders.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/mulders.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/mulders.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Mulders' short product, square and division.
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* References:

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/neg.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/neg.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/neg.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_neg -- change the sign of a floating-point number
 
-Copyright 1999-2001, 2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 1999-2001, 2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/next.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/next.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/next.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_nextabove, mpfr_nextbelow, mpfr_nexttoward -- next representable
 floating-point number
 
-Copyright 1999, 2001-2018 Free Software Foundation, Inc.
+Copyright 1999, 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* Note concerning the exceptions: In case of NaN result, the NaN flag is

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/nrandom.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/nrandom.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/nrandom.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -2,7 +2,7 @@
    and variance 1 and round it to the precision of rop according to the given
    rounding mode.
 
-Copyright 2013-2018 Free Software Foundation, Inc.
+Copyright 2013-2019 Free Software Foundation, Inc.
 Contributed by Charles Karney <charles at karney.com>, SRI International.
 
 This file is part of the GNU MPFR Library.
@@ -19,7 +19,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /*

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/odd_p.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/odd_p.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/odd_p.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_odd_p -- check for odd integers
 
-Copyright 2001-2018 Free Software Foundation, Inc.
+Copyright 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/out_str.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/out_str.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/out_str.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_out_str -- output a floating-point number to a stream
 
-Copyright 1999, 2001-2002, 2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 1999, 2001-2002, 2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"
@@ -43,10 +43,6 @@
 
   MPFR_ASSERTN (base >= 2 && base <= 62);
 
-  /* when stream=NULL, output to stdout */
-  if (stream == NULL)
-    stream = stdout;
-
   if (MPFR_UNLIKELY (MPFR_IS_SINGULAR (op)))
     {
       if (MPFR_IS_NAN (op))

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/pool.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/pool.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/pool.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpz_t pool
 
-Copyright 2014-2018 Free Software Foundation, Inc.
+Copyright 2014-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_POOL_DONT_REDEFINE

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/pow.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/pow.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/pow.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_pow -- power function x^y
 
-Copyright 2001-2018 Free Software Foundation, Inc.
+Copyright 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/pow_si.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/pow_si.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/pow_si.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_pow_si -- power function x^y with y a signed int
 
-Copyright 2001-2018 Free Software Foundation, Inc.
+Copyright 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/pow_ui.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/pow_ui.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/pow_ui.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_pow_ui-- compute the power of a floating-point
                                   by a machine integer
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/pow_z.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/pow_z.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/pow_z.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_pow_z -- power function x^z with z a MPZ
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/powerof2.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/powerof2.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/powerof2.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_powerof2_raw -- test whether a floating-point number is a power of 2
 
-Copyright 2002-2018 Free Software Foundation, Inc.
+Copyright 2002-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/powerpc32/mparam.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/powerpc32/mparam.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/powerpc32/mparam.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Various Thresholds of MPFR, not exported.  -*- mode: C -*-
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 
 This file is part of the GNU MPFR Library.
 
@@ -16,7 +16,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* Generated by MPFR's tuneup.c, 2010-10-22, gcc 4.2.4, gmp 5.0.1 */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/powerpc64/mparam.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/powerpc64/mparam.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/powerpc64/mparam.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Various Thresholds of MPFR, not exported.  -*- mode: C -*-
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 
 This file is part of the GNU MPFR Library.
 
@@ -16,7 +16,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* Generated by MPFR's tuneup.c, 2011-07-31, gcc 4.3.2 */
@@ -88,7 +88,7 @@
  832,832,831,832,832,832,832,831,832,830,832,832,832,832,832,832, \
  832,832,832,832,832,832,832,831,832,832,832,832,832,832,832,832, \
  832,832,832,832,832,832,832,832,832,832,832,832,832,832,832,832 \
-  
+
 #define MPFR_SQRHIGH_TAB  \
  -1,0,0,0,0,0,0,0,0,0,0,0,0,0,10,9, \
  10,10,12,12,12,12,14,13,14,14,15,15,16,16,17,17, \
@@ -154,7 +154,7 @@
  568,568,592,592,592,592,568,592,568,568,592,568,568,592,568,592, \
  568,568,592,592,544,568,592,592,592,592,592,568,592,592,592,592, \
  592,592,591,592,592,592,592,592,592,592,592,568,592,592,592,568 \
-  
+
 #define MPFR_DIVHIGH_TAB  \
  0,1,2,3,4,5,6,7,6,9,8,9,10,8,12,13, \
  10,10,11,12,13,14,14,13,15,14,15,17,17,18,19,20, \
@@ -220,7 +220,7 @@
  512,513,576,512,512,513,514,512,512,576,576,512,513,576,513,515, \
  552,552,576,512,512,512,564,513,564,576,576,576,564,576,564,576, \
  564,512,576,564,564,576,576,564,564,576,564,576,564,576,551,576 \
-  
+
 #define MPFR_MUL_THRESHOLD 1 /* limbs */
 #define MPFR_SQR_THRESHOLD 5 /* limbs */
 #define MPFR_DIV_THRESHOLD 17 /* limbs */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/print_raw.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/print_raw.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/print_raw.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -2,7 +2,7 @@
    of a significand of floating-point number (for the tests and
    debugging purpose)
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -19,7 +19,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/print_rnd_mode.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/print_rnd_mode.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/print_rnd_mode.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_print_rnd_mode -- convert a given rounding mode to a string
 
-Copyright 1999, 2001-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 1999, 2001-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/printf.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/printf.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/printf.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Formatted output functions (printf functions family).
 
-Copyright 2007-2018 Free Software Foundation, Inc.
+Copyright 2007-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #ifdef HAVE_CONFIG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/random_deviate.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/random_deviate.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/random_deviate.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* random_deviate routines for mpfr_erandom and mpfr_nrandom.
 
-Copyright 2013-2018 Free Software Foundation, Inc.
+Copyright 2013-2019 Free Software Foundation, Inc.
 Contributed by Charles Karney <charles at karney.com>, SRI International.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /*

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/random_deviate.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/random_deviate.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/random_deviate.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Declarations of random_deviate routines for mpfr_erandom and mpfr_nrandom.
 
-Copyright 2013-2018 Free Software Foundation, Inc.
+Copyright 2013-2019 Free Software Foundation, Inc.
 Contributed by Charles Karney <charles at karney.com>, SRI International.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #if !defined(MPFR_RANDOM_DEVIATE_H)

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/rec_sqrt.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/rec_sqrt.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/rec_sqrt.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_rec_sqrt -- inverse square root
 
-Copyright 2008-2018 Free Software Foundation, Inc.
+Copyright 2008-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H /* for umul_ppmm */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/reldiff.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/reldiff.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/reldiff.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_reldiff -- compute relative difference of two floating-point numbers.
 
-Copyright 2000-2001, 2004-2018 Free Software Foundation, Inc.
+Copyright 2000-2001, 2004-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/rem1.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/rem1.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/rem1.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -2,7 +2,7 @@
    mpfr_fmod -- compute the floating-point remainder of x/y
    mpfr_remquo and mpfr_remainder -- argument reduction functions
 
-Copyright 2007-2018 Free Software Foundation, Inc.
+Copyright 2007-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -19,7 +19,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 # include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/rint.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/rint.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/rint.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_rint -- Round to an integer.
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/rndna.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/rndna.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/rndna.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_round_nearest_away -- round to nearest away
 
-Copyright 2012-2018 Free Software Foundation, Inc.
+Copyright 2012-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/root.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/root.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/root.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_root -- kth root.
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/round_near_x.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/round_near_x.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/round_near_x.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_round_near_x -- Round a floating point number nears another one.
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/round_p.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/round_p.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/round_p.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_round_p -- check if an approximation is roundable.
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/round_prec.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/round_prec.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/round_prec.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_round_raw_generic, mpfr_round_raw2, mpfr_round_raw, mpfr_prec_round,
    mpfr_can_round, mpfr_can_round_raw -- various rounding functions
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/round_raw_generic.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/round_raw_generic.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/round_raw_generic.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_round_raw_generic -- Generic rounding function
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #ifndef flag

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/scale2.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/scale2.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/scale2.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_scale2 -- multiply a double float by 2^exp
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include <float.h> /* for DBL_EPSILON */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/sec.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/sec.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/sec.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_sec - secant function = 1/cos.
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define FUNCTION mpfr_sec

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/sech.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/sech.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/sech.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_sech - Hyperbolic secant function = 1/cosh.
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* The hyperbolic secant function is defined by sech(x)=1/cosh(x):

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/set.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/set.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/set.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_set -- copy of a floating-point number
 
-Copyright 1999, 2001-2018 Free Software Foundation, Inc.
+Copyright 1999, 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"
@@ -80,15 +80,20 @@
   return mpfr_set4 (a, b, rnd_mode, MPFR_SIGN_POS);
 }
 
-/* Round (u, inex) into s with rounding mode rnd, where inex is the ternary
-   value associated to u with the *same* rounding mode.
+/* Round (u, inex) into s with rounding mode rnd_mode, where inex is
+   the ternary value associated with u, which has been obtained using
+   the *same* rounding mode rnd_mode.
    Assumes PREC(u) = 2*PREC(s).
-   The main algorithm is the following:
-   rnd=RNDZ: inex2 = mpfr_set (s, u, rnd_mode); return inex2 | inex;
-             (a negative value, if any, is preserved in inex2 | inex)
-   rnd=RNDA: idem
-   rnd=RNDN: inex2 = mpfr_set (s, u, rnd_mode);
-             if (inex2) return inex2; else return inex; */
+   The generic algorithm is the following:
+   1. inex2 = mpfr_set (s, u, rnd_mode);
+   2. if (inex2 != 0) return inex2; else return inex;
+      except in the double-rounding case: in MPFR_RNDN, when u is in the
+      middle of two consecutive PREC(s)-bit numbers, if inex and inex2
+      are both > 0 (resp. both < 0), we correct s to nextbelow(s) (resp.
+      nextabove(s)), and return the opposite of inex.
+   Note: this function can be called with rnd_mode == MPFR_RNDF, in
+   which case, the rounding direction and the returned ternary value
+   are unspecified. */
 int
 mpfr_set_1_2 (mpfr_ptr s, mpfr_srcptr u, mpfr_rnd_t rnd_mode, int inex)
 {
@@ -106,9 +111,9 @@
       return inex;
     }
 
-  MPFR_ASSERTD(MPFR_PREC(u) == 2 * MPFR_PREC(s));
+  MPFR_ASSERTD(MPFR_PREC(u) == 2 * p);
 
-  if (MPFR_PREC(s) < GMP_NUMB_BITS)
+  if (p < GMP_NUMB_BITS)
     {
       mask = MPFR_LIMB_MASK(sh);
 
@@ -194,6 +199,19 @@
 
   /* general case PREC(s) >= GMP_NUMB_BITS */
   inex2 = mpfr_set (s, u, rnd_mode);
-  return (rnd_mode != MPFR_RNDN) ? inex | inex2
-    : (inex2) ? inex2 : inex;
+  /* Check the double-rounding case, i.e. with u = middle of two
+     consecutive PREC(s)-bit numbers, which is equivalent to u being
+     exactly representable on PREC(s) + 1 bits but not on PREC(s) bits.
+     Moreover, since PREC(u) = 2*PREC(s), u and s cannot be identical
+     (as pointers), thus u was not changed. */
+  if (rnd_mode == MPFR_RNDN && inex * inex2 > 0 &&
+      mpfr_min_prec (u) == p + 1)
+    {
+      if (inex > 0)
+        mpfr_nextbelow (s);
+      else
+        mpfr_nextabove (s);
+      return -inex;
+    }
+  return inex2 != 0 ? inex2 : inex;
 }

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/set_d.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/set_d.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/set_d.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_set_d -- convert a machine double precision float to
                  a multiple precision floating-point number
 
-Copyright 1999-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 1999-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include <float.h>  /* For DOUBLE_ISINF and DOUBLE_ISNAN */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/set_d64.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/set_d64.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/set_d64.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -5,7 +5,7 @@
 https://gcc.gnu.org/onlinedocs/gcc/Decimal-Float.html,
 and TR 24732 <http://www.open-std.org/jtc1/sc22/wg14/www/projects#24732>.
 
-Copyright 2006-2018 Free Software Foundation, Inc.
+Copyright 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -22,7 +22,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H
@@ -425,7 +425,7 @@
                       1 character for terminating \0. */
 
   decimal64_to_string (s, d);
-  return mpfr_set_str (r, s, 10, rnd_mode);
+  return mpfr_strtofr (r, s, NULL, 10, rnd_mode);
 }
 
 #endif /* MPFR_WANT_DECIMAL_FLOATS */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/set_dfl_prec.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/set_dfl_prec.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/set_dfl_prec.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_set_default_prec, mpfr_get_default_prec -- set/get default precision
 
-Copyright 1999-2001, 2004-2018 Free Software Foundation, Inc.
+Copyright 1999-2001, 2004-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/set_exp.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/set_exp.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/set_exp.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_set_exp - set the exponent of a floating-point number
 
-Copyright 2002-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2002-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/set_f.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/set_f.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/set_f.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_set_f -- set a MPFR number from a GNU MPF number
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/set_float128.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/set_float128.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/set_float128.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_set_float128 -- convert a machine __float128 number to
                         a multiple precision floating-point number
 
-Copyright 2012-2018 Free Software Foundation, Inc.
+Copyright 2012-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include <float.h> /* for DBL_MAX */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/set_flt.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/set_flt.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/set_flt.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_set_flt -- convert a machine single precision float to mpfr_t
 
-Copyright 2009-2018 Free Software Foundation, Inc.
+Copyright 2009-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/set_inf.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/set_inf.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/set_inf.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_set_inf -- set a number to plus or minus infinity.
 
-Copyright 2002, 2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2002, 2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/set_ld.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/set_ld.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/set_ld.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_set_ld -- convert a machine long double to
                   a multiple precision floating-point number
 
-Copyright 2002-2018 Free Software Foundation, Inc.
+Copyright 2002-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include <float.h> /* needed so that MPFR_LDBL_MANT_DIG is correctly defined */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/set_nan.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/set_nan.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/set_nan.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_set_nan -- set a number to NaN.
 
-Copyright 2002, 2006-2018 Free Software Foundation, Inc.
+Copyright 2002, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/set_prc_raw.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/set_prc_raw.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/set_prc_raw.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_set_prec_raw -- reset the precision of a floating-point number
 
-Copyright 2000-2001, 2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2000-2001, 2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/set_prec.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/set_prec.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/set_prec.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_set_prec -- reset the precision of a floating-point number
 
-Copyright 1999, 2001-2002, 2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 1999, 2001-2002, 2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/set_q.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/set_q.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/set_q.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_set_q -- set a floating-point number from a multiple-precision rational
 
-Copyright 2000-2002, 2004-2018 Free Software Foundation, Inc.
+Copyright 2000-2002, 2004-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/set_rnd.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/set_rnd.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/set_rnd.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_set_default_rounding_mode -- set the default rounding mode
    mpfr_get_default_rounding_mode -- get the default rounding mode
 
-Copyright 1999, 2001, 2004-2018 Free Software Foundation, Inc.
+Copyright 1999, 2001, 2004-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/set_si.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/set_si.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/set_si.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_set_si -- set a MPFR number from a machine signed integer
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/set_si_2exp.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/set_si_2exp.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/set_si_2exp.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_set_si_2exp -- set a MPFR number from a machine signed integer with
    a shift
 
-Copyright 2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/set_sj.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/set_sj.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/set_sj.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_set_sj -- set a MPFR number from a huge machine signed integer
 
-Copyright 2004-2018 Free Software Foundation, Inc.
+Copyright 2004-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #ifdef HAVE_CONFIG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/set_str.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/set_str.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/set_str.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_set_str -- set a floating-point number from a string
 
-Copyright 2000-2018 Free Software Foundation, Inc.
+Copyright 2000-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/set_str_raw.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/set_str_raw.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/set_str_raw.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_set_str_binary -- set a floating-point number from a binary string
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/set_ui.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/set_ui.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/set_ui.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_set_ui -- set a MPFR number from a machine unsigned integer
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/set_ui_2exp.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/set_ui_2exp.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/set_ui_2exp.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_set_ui_2exp -- set a MPFR number from a machine unsigned integer with
    a shift
 
-Copyright 2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/set_uj.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/set_uj.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/set_uj.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_set_uj -- set a MPFR number from a huge machine unsigned integer
 
-Copyright 2004-2018 Free Software Foundation, Inc.
+Copyright 2004-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #ifdef HAVE_CONFIG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/set_z.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/set_z.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/set_z.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_set_z -- set a floating-point number from a multiple-precision integer
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/set_z_exp.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/set_z_exp.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/set_z_exp.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_set_z_2exp -- set a floating-point number from a multiple-precision
                       integer and an exponent
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/set_zero.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/set_zero.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/set_zero.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_set_zero -- set a number to plus or minus zero.
 
-Copyright 2009-2018 Free Software Foundation, Inc.
+Copyright 2009-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/setmax.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/setmax.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/setmax.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_setmax -- maximum representable floating-point number (raw version)
 
-Copyright 2002-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2002-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/setmin.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/setmin.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/setmin.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_setmin -- minimum representable floating-point number (raw version)
 
-Copyright 2002-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2002-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/setsign.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/setsign.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/setsign.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_setsign -- Produce a value with the magnitude of x and sign bit s
 
-Copyright 2007-2018 Free Software Foundation, Inc.
+Copyright 2007-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/sgn.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/sgn.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/sgn.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_sgn -- Sign of a floating point number.
 
-Copyright 2003-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/si_op.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/si_op.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/si_op.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -5,7 +5,7 @@
    mpfr_div_si -- divide a floating-point number by a machine integer
    mpfr_si_div -- divide a machine number by a floating-point number
 
-Copyright 2004-2018 Free Software Foundation, Inc.
+Copyright 2004-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -22,7 +22,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/signbit.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/signbit.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/signbit.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_signbit -- Signbit of a MPFR number
 
-Copyright 2007-2018 Free Software Foundation, Inc.
+Copyright 2007-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/sin.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/sin.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/sin.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_sin -- sine of a floating-point number
 
-Copyright 2001-2018 Free Software Foundation, Inc.
+Copyright 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/sin_cos.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/sin_cos.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/sin_cos.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_sin_cos -- sine and cosine of a floating-point number
 
-Copyright 2002-2018 Free Software Foundation, Inc.
+Copyright 2002-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/sinh.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/sinh.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/sinh.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_sinh -- hyperbolic sine
 
-Copyright 2001-2018 Free Software Foundation, Inc.
+Copyright 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/sinh_cosh.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/sinh_cosh.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/sinh_cosh.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_sinh_cosh -- hyperbolic sine and cosine
 
-Copyright 2001-2018 Free Software Foundation, Inc.
+Copyright 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/sparc64/mparam.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/sparc64/mparam.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/sparc64/mparam.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Various Thresholds of MPFR, not exported.  -*- mode: C -*-
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 
 This file is part of the GNU MPFR Library.
 
@@ -16,7 +16,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* Generated by MPFR's tuneup.c, 2011-07-31, gcc 3.3.5 */
@@ -88,7 +88,7 @@
  791,792,792,792,791,792,792,792,791,792,792,792,791,792,791,791, \
  791,791,791,792,792,791,792,792,791,792,792,792,791,792,792,792, \
  792,791,792,792,791,792,792,856,792,792,792,856,792,791,792,856 \
-  
+
 #define MPFR_SQRHIGH_TAB  \
  -1,0,0,0,0,-1,5,5,7,7,9,7,9,8,9,10, \
  11,10,11,11,13,12,13,13,17,14,16,16,16,16,17,18, \
@@ -154,7 +154,7 @@
  536,536,552,552,536,552,552,520,567,544,552,552,552,568,567,567, \
  568,568,567,567,568,568,535,584,568,512,568,567,512,568,567,568, \
  576,568,567,584,568,600,584,584,600,568,597,592,591,600,599,599 \
-  
+
 #define MPFR_DIVHIGH_TAB  \
  0,1,2,3,4,5,6,7,6,7,8,9,10,11,12,13, \
  10,10,11,11,13,12,13,13,14,14,15,15,18,17,19,19, \
@@ -220,7 +220,7 @@
  542,542,542,542,544,544,544,560,542,542,575,543,544,544,544,542, \
  544,575,575,544,544,544,544,544,561,561,543,559,544,560,560,560, \
  608,587,573,575,575,608,583,585,560,575,585,575,588,573,608,577 \
-  
+
 #define MPFR_MUL_THRESHOLD 13 /* limbs */
 #define MPFR_SQR_THRESHOLD 11 /* limbs */
 #define MPFR_DIV_THRESHOLD 19 /* limbs */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/sqr.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/sqr.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/sqr.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_sqr -- Floating-point square
 
-Copyright 2004-2018 Free Software Foundation, Inc.
+Copyright 2004-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H
@@ -161,15 +161,18 @@
   if (MPFR_UNLIKELY(ax < __gmpfr_emin))
     {
       /* As seen in mpfr_mul_1, we cannot have a0 = 111...111 here if there
-         was not exponent decrease (ax--) above.
-         In the case of an exponent decrease, it is not possible for
-         GMP_NUMB_BITS=32 since the largest b0 such that b0^2 < 2^(2*32-1)
-         is b0=3037000499, but its square has only 30 leading ones.
-         For GMP_NUMB_BITS=64 it is possible: the largest b0 is
-         13043817825332782212, and its square has 64 leading ones. */
-      if ((ax == __gmpfr_emin - 1) && (ap[0] == ~MPFR_LIMB_HIGHBIT) &&
-          ((rnd_mode == MPFR_RNDN && rb) ||
-           (MPFR_IS_LIKE_RNDA(rnd_mode, MPFR_IS_NEG (a)) && (rb | sb))))
+         was not an exponent decrease (ax--) above.
+         In the case of an exponent decrease:
+         - For GMP_NUMB_BITS=32, a0 = 111...111 is not possible since the
+           largest b0 such that b0^2 < 2^(2*32-1) is b0=3037000499, but
+           its square has only 30 leading ones.
+         - For GMP_NUMB_BITS=64, a0 = 111...111 is possible: the largest b0
+           is 13043817825332782212, and its square has 64 leading ones; but
+           since the next bit is rb=0, for RNDN, we always have an underflow.
+         For the test below, note that a is positive.
+      */
+      if (ax == __gmpfr_emin - 1 && ap[0] == MPFR_LIMB_MAX &&
+          MPFR_IS_LIKE_RNDA (rnd_mode, 0))
         goto rounding; /* no underflow */
       /* For RNDN, mpfr_underflow always rounds away, thus for |a| <= 2^(emin-2)
          we have to change to RNDZ. This corresponds to:

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/sqrt.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/sqrt.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/sqrt.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_sqrt -- square root of a floating-point number
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/sqrt_ui.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/sqrt_ui.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/sqrt_ui.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_sqrt_ui -- square root of a machine integer
 
-Copyright 2000-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2000-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/stack_interface.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/stack_interface.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/stack_interface.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_stack -- initialize a floating-point number with given allocation area
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/strtofr.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/strtofr.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/strtofr.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_strtofr -- set a floating-point number from a string
 
-Copyright 2004-2018 Free Software Foundation, Inc.
+Copyright 2004-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include <ctype.h>  /* For isspace */
@@ -36,79 +36,80 @@
                               allocated for the mantissa field. */
   size_t         prec;     /* length of mant (zero for +/-0) */
   size_t         alloc;    /* allocation size of mantissa */
-  mpfr_exp_t     exp_base; /* number of digits before the point */
-  mpfr_exp_t     exp_bin;  /* exponent in case base=2 or 16, and the pxxx
-                              format is used (i.e., exponent is given in
-                              base 10) */
+  mpfr_exp_t     exp_base; /* number of digits before the point, + exponent
+                              except in case of binary exponent (exp_bin) */
+  mpfr_exp_t     exp_bin;  /* binary exponent of the pxxx format for
+                              base = 2 or 16 */
 };
 
 /* This table has been generated by the following program.
    For 2 <= b <= MPFR_MAX_BASE,
    RedInvLog2Table[b-2][0] / RedInvLog2Table[b-2][1]
-   is an upper approximation of log(2)/log(b).
+   is an upper approximation to log(2)/log(b), no larger than 1.
+   Note: these numbers must fit on 16 bits, thus unsigned int is OK.
 */
-static const unsigned long RedInvLog2Table[MPFR_MAX_BASE-1][2] = {
-  {1UL, 1UL},
-  {53UL, 84UL},
-  {1UL, 2UL},
-  {4004UL, 9297UL},
-  {53UL, 137UL},
-  {2393UL, 6718UL},
-  {1UL, 3UL},
-  {665UL, 2108UL},
-  {4004UL, 13301UL},
-  {949UL, 3283UL},
-  {53UL, 190UL},
-  {5231UL, 19357UL},
-  {2393UL, 9111UL},
-  {247UL, 965UL},
-  {1UL, 4UL},
-  {4036UL, 16497UL},
-  {665UL, 2773UL},
-  {5187UL, 22034UL},
-  {4004UL, 17305UL},
-  {51UL, 224UL},
-  {949UL, 4232UL},
-  {3077UL, 13919UL},
-  {53UL, 243UL},
-  {73UL, 339UL},
-  {5231UL, 24588UL},
-  {665UL, 3162UL},
-  {2393UL, 11504UL},
-  {4943UL, 24013UL},
-  {247UL, 1212UL},
-  {3515UL, 17414UL},
-  {1UL, 5UL},
-  {4415UL, 22271UL},
-  {4036UL, 20533UL},
-  {263UL, 1349UL},
-  {665UL, 3438UL},
-  {1079UL, 5621UL},
-  {5187UL, 27221UL},
-  {2288UL, 12093UL},
-  {4004UL, 21309UL},
-  {179UL, 959UL},
-  {51UL, 275UL},
-  {495UL, 2686UL},
-  {949UL, 5181UL},
-  {3621UL, 19886UL},
-  {3077UL, 16996UL},
-  {229UL, 1272UL},
-  {53UL, 296UL},
-  {109UL, 612UL},
-  {73UL, 412UL},
-  {1505UL, 8537UL},
-  {5231UL, 29819UL},
-  {283UL, 1621UL},
-  {665UL, 3827UL},
-  {32UL, 185UL},
-  {2393UL, 13897UL},
-  {1879UL, 10960UL},
-  {4943UL, 28956UL},
-  {409UL, 2406UL},
-  {247UL, 1459UL},
-  {231UL, 1370UL},
-  {3515UL, 20929UL} };
+static const unsigned int RedInvLog2Table[MPFR_MAX_BASE-1][2] = {
+  {1, 1},
+  {53, 84},
+  {1, 2},
+  {4004, 9297},
+  {53, 137},
+  {2393, 6718},
+  {1, 3},
+  {665, 2108},
+  {4004, 13301},
+  {949, 3283},
+  {53, 190},
+  {5231, 19357},
+  {2393, 9111},
+  {247, 965},
+  {1, 4},
+  {4036, 16497},
+  {665, 2773},
+  {5187, 22034},
+  {4004, 17305},
+  {51, 224},
+  {949, 4232},
+  {3077, 13919},
+  {53, 243},
+  {73, 339},
+  {5231, 24588},
+  {665, 3162},
+  {2393, 11504},
+  {4943, 24013},
+  {247, 1212},
+  {3515, 17414},
+  {1, 5},
+  {4415, 22271},
+  {4036, 20533},
+  {263, 1349},
+  {665, 3438},
+  {1079, 5621},
+  {5187, 27221},
+  {2288, 12093},
+  {4004, 21309},
+  {179, 959},
+  {51, 275},
+  {495, 2686},
+  {949, 5181},
+  {3621, 19886},
+  {3077, 16996},
+  {229, 1272},
+  {53, 296},
+  {109, 612},
+  {73, 412},
+  {1505, 8537},
+  {5231, 29819},
+  {283, 1621},
+  {665, 3827},
+  {32, 185},
+  {2393, 13897},
+  {1879, 10960},
+  {4943, 28956},
+  {409, 2406},
+  {247, 1459},
+  {231, 1370},
+  {3515, 20929} };
 #if 0
 #define N 8
 int main ()
@@ -377,6 +378,13 @@
   res = 1;
   MPFR_ASSERTD (pstr->exp_base >= 0);
 
+  /* FIXME: In the code below (both cases), if the exponent from the
+     string is large, it will be replaced by MPFR_EXP_MIN or MPFR_EXP_MAX,
+     i.e. it will have a different value. This may not change the result
+     in most cases, but there is no guarantee on very long strings when
+     mpfr_exp_t is a 32-bit type, as the exponent could be brought back
+     to the current exponent range. */
+
   /* an optional exponent (e or E, p or P, @) */
   if ( (*str == '@' || (base <= 10 && (*str == 'e' || *str == 'E')))
        && (!isspace((unsigned char) str[1])) )
@@ -445,40 +453,54 @@
 static int
 parsed_string_to_mpfr (mpfr_t x, struct parsed_string *pstr, mpfr_rnd_t rnd)
 {
-  mpfr_prec_t prec;
+  mpfr_prec_t precx, prec, ysize_bits, pstr_size;
   mpfr_exp_t exp;
-  mpfr_exp_t ysize_bits;
-  mp_limb_t *y, *result;
+  mp_limb_t *result;
   int count, exact;
-  size_t pstr_size;
-  mp_size_t ysize, real_ysize;
+  mp_size_t ysize, real_ysize, diff_ysize;
   int res, err;
+  const int extra_limbs = GMP_NUMB_BITS >= 12 ? 1 : 2; /* see below */
   MPFR_ZIV_DECL (loop);
   MPFR_TMP_DECL (marker);
 
   /* initialize the working precision */
-  prec = MPFR_PREC (x) + MPFR_INT_CEIL_LOG2 (MPFR_PREC (x));
+  precx = MPFR_GET_PREC (x);
+  prec = precx + MPFR_INT_CEIL_LOG2 (precx);
 
-  /* compute the value y of the leading characters as long as rounding is not
-     possible */
+  /* Compute the value y of the leading characters as long as rounding is not
+     possible.
+     Note: We have some integer overflow checking using MPFR_EXP_MIN and
+     MPFR_EXP_MAX in this loop. Thanks to the large margin between these
+     extremal values of the mpfr_exp_t type and the valid minimum/maximum
+     exponents, such integer overflows would correspond to real underflow
+     or overflow on the result (possibly except in huge precisions, which
+     are disregarded here; anyway, in practice, such issues could occur
+     only with 32-bit precision and exponent types). Such checks could be
+     extended to real early underflow/overflow checking, in order to avoid
+     useless computations in such cases; in such a case, be careful that
+     the approximation errors need to be taken into account. */
   MPFR_TMP_MARK(marker);
   MPFR_ZIV_INIT (loop, prec);
   for (;;)
     {
-      /* Set y to the value of the ~prec most significant bits of pstr->mant
-         (as long as we guarantee correct rounding, we don't need to get
-         exactly prec bits). */
+      mp_limb_t *y0, *y;
+
+      /* y will be regarded as a number with precision prec. */
       ysize = MPFR_PREC2LIMBS (prec);
       /* prec bits corresponds to ysize limbs */
-      ysize_bits = ysize * GMP_NUMB_BITS;
-      /* and to ysize_bits >= prec > MPFR_PREC (x) bits */
-      /* we need to allocate one more limb to work around bug
+      ysize_bits = (mpfr_prec_t) ysize * GMP_NUMB_BITS;
+      MPFR_ASSERTD (ysize_bits >= prec);
+      /* and to ysize_bits >= prec > precx bits. */
+      /* We need to allocate one more limb as specified by mpn_set_str
+         (a limb may be written in rp[rn]). Note that the manual of GMP
+         up to 5.1.3 was incorrect on this point.
+         See the following discussion:
          https://gmplib.org/list-archives/gmp-bugs/2013-December/003267.html */
-      y = MPFR_TMP_LIMBS_ALLOC (2 * ysize + 2);
-      y += ysize; /* y has (ysize+2) allocated limbs */
+      y0 = MPFR_TMP_LIMBS_ALLOC (2 * ysize + extra_limbs + 1);
+      y = y0 + ysize; /* y has (ysize + extra_limbs + 1) allocated limbs */
 
-      /* pstr_size is the number of characters we read in pstr->mant
-         to have at least ysize full limbs.
+      /* pstr_size is the number of bytes we want to read from pstr->mant
+         to fill at least ysize full limbs with mpn_set_str.
          We must have base^(pstr_size-1) >= (2^(GMP_NUMB_BITS))^ysize
          (in the worst case, the first digit is one and all others are zero).
          i.e., pstr_size >= 1 + ysize*GMP_NUMB_BITS/log2(base)
@@ -485,8 +507,8 @@
           Since ysize ~ prec/GMP_NUMB_BITS and prec < Umax/2 =>
           ysize*GMP_NUMB_BITS can not overflow.
          We compute pstr_size = 1 + ceil(ysize_bits * Num / Den)
-          where Num/Den >= 1/log2(base)
-         It is not exactly ceil(1/log2(base)) but could be one more (base 2)
+          where 1/log2(base) <= Num/Den <= 1
+         It is not exactly ceil(1/log2(base)) but could be one more (base 2).
          Quite ugly since it tries to avoid overflow:
          let Num = RedInvLog2Table[pstr->base-2][0]
          and Den = RedInvLog2Table[pstr->base-2][1],
@@ -493,64 +515,112 @@
          and ysize_bits = a*Den+b,
          then ysize_bits * Num/Den = a*Num + (b * Num)/Den,
          thus ceil(ysize_bits * Num/Den) = a*Num + floor(b * Num + Den - 1)/Den
+
+         Note: denoting m = pstr_size and n = ysize_bits, assuming we have
+         m = 1 + ceil(n/log2(b)), i.e., b^(m-1) >= 2^n > b^(m-2), then
+         b^(m-1)/2^n < b, and since we consider m characters of the input,
+         the corresponding part is less than b^m < b^2*2^n.
+         This implies that if b^2 < 2^GMP_NUMB_BITS, which for b <= 62 holds
+         for GMP_NUMB_BITS >= 12, we have real_ysize <= ysize+1 below
+         (this also implies that for GMP_NUMB_BITS >= 13, the number of bits
+         of y[real_ysize-1] below is less than GMP_NUMB_BITS, thus
+         count < GMP_NUMB_BITS).
+         Warning: for GMP_NUMB_BITS=8, we can have real_ysize = ysize + 2!
+         Hence the allocation above for ysize + extra_limbs limbs.
       */
       {
-        unsigned long Num = RedInvLog2Table[pstr->base-2][0];
-        unsigned long Den = RedInvLog2Table[pstr->base-2][1];
-        pstr_size = ((ysize_bits / Den) * Num)
-          + (((ysize_bits % Den) * Num + Den - 1) / Den)
+        unsigned int Num = RedInvLog2Table[pstr->base-2][0];
+        unsigned int Den = RedInvLog2Table[pstr->base-2][1];
+        MPFR_ASSERTD (Num <= Den && Den <= 65535); /* thus no overflow */
+        pstr_size = (ysize_bits / Den) * Num
+          + ((unsigned long) (ysize_bits % Den) * Num + Den - 1) / Den
           + 1;
       }
 
-      /* since pstr_size corresponds to at least ysize_bits full bits,
-         and ysize_bits > prec, the weight of the neglected part of
-         pstr->mant (if any) is < ulp(y) < ulp(x) */
+      /* Since pstr_size corresponds to at least ysize_bits bits,
+         and ysize_bits >= prec, the weight of the neglected part of
+         pstr->mant (if any) is < ulp(y) < ulp(x). */
 
-      /* if the number of wanted characters is more than what we have in
-         pstr->mant, round it down */
-      if (pstr_size >= pstr->prec)
+      /* If the number of wanted bytes is more than what is available
+         in pstr->mant, i.e. pstr->prec, reduce it to pstr->prec. */
+      if (pstr_size > pstr->prec)
         pstr_size = pstr->prec;
-      MPFR_ASSERTD (pstr_size == (mpfr_exp_t) pstr_size);
 
-      /* convert str into binary: note that pstr->mant is big endian,
-         thus no offset is needed */
+      /* Convert str (potentially truncated to pstr_size) into binary.
+         Note that pstr->mant is big endian, thus no offset is needed. */
       real_ysize = mpn_set_str (y, pstr->mant, pstr_size, pstr->base);
-      MPFR_ASSERTD (real_ysize <= ysize+1);
 
-      /* normalize y: warning we can even get ysize+1 limbs! */
+      /* See above for the explanation of the following assertion. */
+      MPFR_ASSERTD (real_ysize <= ysize + extra_limbs);
+
+      /* The Boolean "exact" will attempt to track exactness of the result:
+         If it is true, then this means that the result is exact, allowing
+         termination, even though the rounding test may not succeed.
+         Conversely, if the result is exact, then "exact" will not
+         necessarily be true at the end of the Ziv loop, but we will need
+         to make sure that at some point, "exact" will be true in order to
+         guarantee termination. FIXME: check that. */
+      /* First, consider the part of the input string that has been ignored.
+         Note that the trailing zeros have been removed in parse_string, so
+         that if something has been ignored, it must be non-zero. */
+      exact = pstr_size == pstr->prec;
+
+      /* Normalize y and set the initial value of its exponent exp, which
+         is 0 when y is not shifted.
+         Since pstr->mant was normalized, mpn_set_str guarantees that
+         the most significant limb is non-zero. */
       MPFR_ASSERTD (y[real_ysize - 1] != 0); /* mpn_set_str guarantees this */
       count_leading_zeros (count, y[real_ysize - 1]);
-      /* exact means that the number of limbs of the output of mpn_set_str
-         is less or equal to ysize */
-      exact = real_ysize <= ysize;
-      if (exact) /* shift y to the left in that case y should be exact */
+      diff_ysize = ysize - real_ysize;
+      MPFR_LOG_MSG (("diff_ysize = %ld\n", (long) diff_ysize));
+      if (diff_ysize >= 0)
         {
-          /* we have enough limbs to store {y, real_ysize} */
-          /* shift {y, num_limb} for count bits to the left */
+          /* We have enough limbs to store {y, real_ysize} exactly
+             in {y, ysize}, so that we can do a left shift, without
+             losing any information ("exact" will not change). */
           if (count != 0)
-            mpn_lshift (y + ysize - real_ysize, y, real_ysize, count);
-          if (real_ysize != ysize)
+            mpn_lshift (y + diff_ysize, y, real_ysize, count);
+          if (diff_ysize > 0)
             {
               if (count == 0)
-                mpn_copyd (y + ysize - real_ysize, y, real_ysize);
-              MPN_ZERO (y, ysize - real_ysize);
+                mpn_copyd (y + diff_ysize, y, real_ysize);
+              MPN_ZERO (y, diff_ysize);
             }
-          /* for each bit shift decrease exponent of y */
-          /* (This should not overflow) */
-          exp = - ((ysize - real_ysize) * GMP_NUMB_BITS + count);
+          /* exp = negation of the total shift count, avoiding overflows. */
+          exp = - ((mpfr_exp_t) diff_ysize * GMP_NUMB_BITS + count);
         }
-      else  /* shift y to the right, by doing this we might lose some
-               bits from the result of mpn_set_str (in addition to the
-               characters neglected from pstr->mant) */
+      else
         {
-          /* shift {y, num_limb} for (GMP_NUMB_BITS - count) bits
-             to the right. FIXME: can we prove that count cannot be zero here,
-             since mpn_rshift does not accept a shift of GMP_NUMB_BITS? */
-          MPFR_ASSERTD (count != 0);
-          exact = mpn_rshift (y, y, real_ysize, GMP_NUMB_BITS - count) ==
-            MPFR_LIMB_ZERO;
-          /* for each bit shift increase exponent of y */
-          exp = GMP_NUMB_BITS - count;
+          /* Shift {y, real_ysize} for (GMP_NUMB_BITS - count) bits to the
+             right, and put the ysize most significant limbs into {y, ysize}.
+             We have either real_ysize = ysize + 1 or real_ysize = ysize + 2
+             (only possible with extra_limbs == 2). */
+          MPFR_ASSERTD (diff_ysize == -1 ||
+                        (extra_limbs == 2 && diff_ysize == -2));
+          if (count != 0)
+            {
+              /* Before doing the shift, consider the limb that will entirely
+                 be lost if real_ysize = ysize + 2. */
+              exact = exact && (diff_ysize == -1 || y[0] == MPFR_LIMB_ZERO);
+              /* mpn_rshift allows overlap, provided destination <= source */
+              /* FIXME: The bits lost due to mpn_rshift are not taken
+                 into account in the error analysis below! */
+              if (mpn_rshift (y, y - (diff_ysize + 1), real_ysize,
+                              GMP_NUMB_BITS - count) != MPFR_LIMB_ZERO)
+                exact = 0; /* some non-zero bits have been shifted out */
+            }
+          else
+            {
+              /* the case real_ysize = ysize + 2 with count = 0 cannot happen
+                 even with GMP_NUMB_BITS = 8 since 62^2 < 256^2/2 */
+              MPFR_ASSERTD (diff_ysize == -1);
+              exact = exact && y[0] == MPFR_LIMB_ZERO;
+              /* copy {y+real_ysize-ysize, ysize} to {y, ysize} */
+              mpn_copyi (y, y + 1, real_ysize - 1);
+            }
+          /* exp = shift count */
+          /* TODO: add some explanations about what exp means exactly. */
+          exp = GMP_NUMB_BITS * (- diff_ysize) - count;
         }
 
       /* compute base^(exp_base - pstr_size) on n limbs */
@@ -560,6 +630,8 @@
           int pow2;
           mpfr_exp_t tmp;
 
+          MPFR_LOG_MSG (("case 1 (base = power of 2)\n", 0));
+
           count_leading_zeros (pow2, (mp_limb_t) pstr->base);
           pow2 = GMP_NUMB_BITS - pow2 - 1; /* base = 2^pow2 */
           MPFR_ASSERTD (0 < pow2 && pow2 <= 5);
@@ -596,10 +668,12 @@
           mp_limb_t *z;
           mpfr_exp_t exp_z;
 
+          MPFR_LOG_MSG (("case 2 (exp_base > pstr_size)\n", 0));
+
           result = MPFR_TMP_LIMBS_ALLOC (2 * ysize + 1);
 
           /* z = base^(exp_base-sptr_size) using space allocated at y-ysize */
-          z = y - ysize;
+          z = y0;
           /* NOTE: exp_base-pstr_size can't overflow since pstr_size > 0 */
           err = mpfr_mpn_exp (z, &exp_z, pstr->base,
                               pstr->exp_base - pstr_size, ysize);
@@ -646,8 +720,7 @@
 
           /* if the low ysize limbs of {result, 2*ysize} are all zero,
              then the result is still "exact" (if it was before) */
-          exact = exact && (mpn_scan1 (result, 0)
-                            >= (unsigned long) ysize_bits);
+          exact = exact && (mpn_scan1 (result, 0) >= ysize_bits);
           result += ysize;
         }
       /* case exp_base < pstr_size */
@@ -656,11 +729,12 @@
           mp_limb_t *z;
           mpfr_exp_t exp_z;
 
+          MPFR_LOG_MSG (("case 3 (exp_base < pstr_size)\n", 0));
+
           result = MPFR_TMP_LIMBS_ALLOC (3 * ysize + 1);
 
-          /* set y to y * K^ysize */
-          y = y - ysize;  /* we have allocated ysize limbs at y - ysize */
-          MPN_ZERO (y, ysize);
+          /* y0 = y * K^ysize */
+          MPN_ZERO (y0, ysize);
 
           /* pstr_size - pstr->exp_base can overflow */
           MPFR_SADD_OVERFLOW (exp_z, (mpfr_exp_t) pstr_size, -pstr->exp_base,
@@ -668,34 +742,36 @@
                               MPFR_EXP_MIN, MPFR_EXP_MAX,
                               goto underflow, goto overflow);
 
-          /* (z, exp_z) = base^(exp_base-pstr_size) */
+          /* (z, exp_z) = base^(pstr_size - exp_base) */
           z = result + 2*ysize + 1;
           err = mpfr_mpn_exp (z, &exp_z, pstr->base, exp_z, ysize);
-          /* Since we want y/z rounded toward zero, we must get an upper
-             bound of z. If err >= 0, the error on z is bounded by 2^err. */
-          if (err >= 0)
-            {
-              mp_limb_t cy;
-              unsigned long h = err / GMP_NUMB_BITS;
-              unsigned long l = err - h * GMP_NUMB_BITS;
 
-              if (h >= ysize) /* not enough precision in z */
-                goto next_loop;
-              cy = mpn_add_1 (z, z, ysize - h, MPFR_LIMB_ONE << l);
-              if (cy != 0) /* the code below requires z on ysize limbs */
-                goto next_loop;
-            }
-          exact = exact && (err == -1);
+          /* Now {z, ysize} * 2^(exp_z_out - ysize_bits) is an approximation
+             to base^exp_z_in (denoted b^e below), rounded toward zero, with:
+             * if err = -1, the result is exact;
+             * if err = -2, an overflow occurred in the computation of exp_z;
+             * otherwise the error is bounded by 2^err ulps.
+             Thus the exact value of b^e is between z and z + 2^err, where
+             z is {z, ysize} properly scaled by a power of 2. Then the error
+             will be:
+               y/b^e - trunc(y/z) = eps1 + eps2
+             with
+               eps1 = y/b^e - y/z <= 0
+               eps2 = y/z - trunc(y/z) >= 0
+             thus the errors will (partly) compensate, giving a bound
+             max(|eps1|,|eps2|).
+             In addition, there is a 3rd error eps3 since y might be the
+             conversion of only a part of the character string, and/or y
+             might be truncated by the mpn_rshift call above:
+               eps3 = exact_y/b^e - y/b^e >= 0.
+          */
           if (err == -2)
             goto underflow; /* FIXME: Sure? */
-          if (err == -1)
-            err = 0;
+          else if (err == -1)
+            err = 0; /* see the note below */
+          else
+            exact = 0;
 
-          /* compute y / z */
-          /* result will be put into result + n, and remainder into result */
-          mpn_tdiv_qr (result + ysize, result, (mp_size_t) 0, y,
-                       2 * ysize, z, ysize);
-
           /* exp -= exp_z + ysize_bits with overflow checking
              and check that we can add/subtract 2 to exp without overflow */
           MPFR_SADD_OVERFLOW (exp_z, exp_z, ysize_bits,
@@ -706,7 +782,59 @@
                               mpfr_exp_t, mpfr_uexp_t,
                               MPFR_EXP_MIN+2, MPFR_EXP_MAX-2,
                               goto overflow, goto underflow);
-          err += 2;
+
+          /* Compute the integer division y/z rounded toward zero.
+             The quotient will be put at result + ysize (size: ysize + 1),
+             and the remainder at result (size: ysize).
+             Both the dividend {y, 2*ysize} and the divisor {z, ysize} are
+             normalized, i.e., the most significant bit of their most
+             significant limb is 1. */
+          MPFR_ASSERTD (MPFR_LIMB_MSB (y0[2 * ysize - 1]) != 0);
+          MPFR_ASSERTD (MPFR_LIMB_MSB (z[ysize - 1]) != 0);
+          mpn_tdiv_qr (result + ysize, result, (mp_size_t) 0, y0,
+                       2 * ysize, z, ysize);
+
+          /* The truncation error of the mpn_tdiv_qr call (eps2 above) is at
+             most 1 ulp. Idem for the error eps3, which has the same sign,
+             thus eps2 + eps3 <= 2 ulps.
+             FIXME: For eps3, this is not obvious and should be explained.
+             For the error eps1 coming from the approximation to b^e,
+             we have (still up to a power-of-2 normalization):
+             y/z - y/b^e = y * (b^e-z) / (z * b^e) <= y * 2^err / (z * b^e).
+             We have to convert that error in terms of ulp(trunc(y/z)).
+             We first have ulp(trunc(y/z)) = ulp(y/z).
+
+             FIXME: There must be some discussion about the exponents,
+                    because up to a power of 2, 1/2 <= |y/z| < 1 and
+                    1 <= |y/z| < 2 are equivalent and give no information.
+                    Moreover 1/2 <= b^e < 1 has not been explained and may
+                    hide mistakes since one may have 1/2 <= z < 1 < b^e.
+
+             Since both y and z are normalized, the quotient
+             {result+ysize, ysize+1} has exactly ysize limbs, plus maybe one
+             bit (this corresponds to the MPFR_ASSERTD below):
+             * if the quotient has exactly ysize limbs, then 1/2 <= |y/z| < 1
+               (up to a power of 2) and since 1/2 <= b^e < 1, the error is at
+               most 2^(err+1) ulps;
+             * if the quotient has one extra bit, then 1 <= |y/z| < 2
+               (up to a power of 2) and since 1/2 <= b^e < 1, the error is at
+               most 2^(err+2) ulps; but since we will shift the result right
+               below by one bit, the final error will be at most 2^(err+1) ulps
+               too.
+
+             Thus the error is:
+             * at most 2^(err+1) ulps for eps1
+             * at most 2 ulps for eps2 + eps3, which is of opposite sign
+             and we can bound the error by 2^(err+1) ulps in all cases.
+
+             Note: If eps1 was 0, the error would be bounded by 2 ulps,
+             thus replacing err = -1 by err = 0 above was the right thing
+             to do, since 2^(0+1) = 2.
+          */
+          MPFR_ASSERTD (result[2 * ysize] <= 1);
+
+          err += 1; /* see above for the explanation of the +1 term */
+
           /* if the remainder of the division is zero, then the result is
              still "exact" if it was before */
           exact = exact && (mpn_popcount (result, ysize) == 0);
@@ -726,17 +854,15 @@
       /* case exp_base = pstr_size: no multiplication or division needed */
       else
         {
+          MPFR_LOG_MSG (("case 4 (exp_base = pstr_size)\n", 0));
+
           /* base^(exp-pr) = 1             nothing to compute */
           result = y;
           err = 0;
         }
 
-      /* If result is exact, we still have to consider the neglected part
-         of the input string. For a directed rounding, in that case we could
-         still correctly round, since the neglected part is less than
-         one ulp, but that would make the code more complex, and give a
-         speedup for rare cases only. */
-      exact = exact && (pstr_size == pstr->prec);
+      MPFR_LOG_MSG (("exact = %d, err = %d, precx = %Pu\n",
+                     exact, err, precx));
 
       /* at this point, result is an approximation rounded toward zero
          of the pstr_size most significant digits of pstr->mant, with
@@ -744,15 +870,14 @@
 
       /* test if rounding is possible, and if so exit the loop.
          Note: we also need to be able to determine the correct ternary value,
-         thus we use the MPFR_PREC(x) + (rnd == MPFR_RNDN) trick.
+         thus we use the precx + (rnd == MPFR_RNDN) trick.
          For example if result = xxx...xxx111...111 and rnd = RNDN,
          then we know the correct rounding is xxx...xx(x+1), but we cannot know
          the correct ternary value. */
       if (exact || mpfr_round_p (result, ysize, ysize_bits - err - 1,
-                                 MPFR_PREC(x) + (rnd == MPFR_RNDN)))
+                                 precx + (rnd == MPFR_RNDN)))
         break;
 
-    next_loop:
       /* update the prec for next loop */
       MPFR_ZIV_NEXT (loop, prec);
     } /* loop */
@@ -759,9 +884,8 @@
   MPFR_ZIV_FREE (loop);
 
   /* round y */
-  if (mpfr_round_raw (MPFR_MANT (x), result,
-                      ysize_bits,
-                      pstr->negative, MPFR_PREC(x), rnd, &res ))
+  if (mpfr_round_raw (MPFR_MANT (x), result, ysize_bits,
+                      pstr->negative, precx, rnd, &res))
     {
       /* overflow when rounding y */
       MPFR_MANT (x)[MPFR_LIMB_SIZE (x) - 1] = MPFR_LIMB_HIGHBIT;
@@ -769,12 +893,11 @@
       exp ++;
     }
 
-  if (res == 0) /* fix ternary value */
-    {
-      exact = exact && (pstr_size == pstr->prec);
-      if (!exact)
-        res = (pstr->negative) ? 1 : -1;
-    }
+  /* Note: if exact <> 0, then the approximation {result, ysize} is exact,
+     thus no double-rounding can occur:
+     (a) either the ternary value res is non-zero, and it is the correct
+         ternary value that we should return
+     (b) or the ternary value res is zero, and we should return 0. */
 
   /* Set sign of x before exp since check_range needs a valid sign */
   (pstr->negative) ? MPFR_SET_NEG (x) : MPFR_SET_POS (x);

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/sub.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/sub.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/sub.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_sub -- subtract two floating-point numbers
 
-Copyright 2001-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2001-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/sub1.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/sub1.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/sub1.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_sub1 -- internal function to perform a "real" subtraction
 
-Copyright 2001-2018 Free Software Foundation, Inc.
+Copyright 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/sub1sp.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/sub1sp.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/sub1sp.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_sub1sp -- internal function to perform a "real" subtraction
    All the op must have the same precision
 
-Copyright 2003-2018 Free Software Foundation, Inc.
+Copyright 2003-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H
@@ -375,7 +375,6 @@
                 }
               else /* cases (a), (c), (d) and (e) */
                 {
-                  ap[0] = -MPFR_LIMB_ONE;
                   /* rb=1 in case (e) and case (c) */
                   rb = d > GMP_NUMB_BITS + 1
                     || (d == GMP_NUMB_BITS + 1 && cp[0] == MPFR_LIMB_HIGHBIT);
@@ -382,6 +381,9 @@
                   /* sb = 1 in case (d) and (e) */
                   sb = d > GMP_NUMB_BITS + 1
                     || (d == GMP_NUMB_BITS + 1 && cp[0] > MPFR_LIMB_HIGHBIT);
+                  /* Warning: only set ap[0] last, otherwise in case ap=cp,
+                     the above comparisons involving cp[0] would be wrong */
+                  ap[0] = -MPFR_LIMB_ONE;
                 }
             }
         }

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/sub_d.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/sub_d.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/sub_d.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_sub_d -- subtract a machine double precision float from
                  a multiple precision floating-point number
 
-Copyright 2007-2018 Free Software Foundation, Inc.
+Copyright 2007-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/sub_ui.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/sub_ui.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/sub_ui.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_sub_ui -- subtract a floating-point number and a machine integer
 
-Copyright 2000-2018 Free Software Foundation, Inc.
+Copyright 2000-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/subnormal.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/subnormal.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/subnormal.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_subnormalize -- Subnormalize a floating point number
    emulating sub-normal numbers.
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/sum.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/sum.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/sum.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Sum -- efficiently sum a list of floating-point numbers
 
-Copyright 2014-2018 Free Software Foundation, Inc.
+Copyright 2014-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H
@@ -67,7 +67,7 @@
     arbitrary precision            fixed precision
      correct rounding        just reproducible rounding
     integer operations        floating-point operations
-        sequencial             parallel (& sequential)
+        sequential             parallel (& sequential)
 */
 
 #ifdef MPFR_COV_CHECK

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/swap.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/swap.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/swap.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_swap (U, V) -- Swap U and V.
 
-Copyright 2000-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2000-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/tan.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/tan.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/tan.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_tan -- tangent of a floating-point number
 
-Copyright 2001-2018 Free Software Foundation, Inc.
+Copyright 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/tanh.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/tanh.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/tanh.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_tanh -- hyperbolic tangent
 
-Copyright 2001-2018 Free Software Foundation, Inc.
+Copyright 2001-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/ubf.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/ubf.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/ubf.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Functions to work with unbounded floats (limited low-level interface).
 
-Copyright 2016-2018 Free Software Foundation, Inc.
+Copyright 2016-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/uceil_exp2.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/uceil_exp2.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/uceil_exp2.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* __gmpfr_ceil_exp2 - returns y >= 2^d
 
-Copyright 1999-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 1999-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/uceil_log2.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/uceil_log2.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/uceil_log2.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* __gmpfr_ceil_log2 - returns ceil(log(d)/log(2))
 
-Copyright 1999-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 1999-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/ufloor_log2.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/ufloor_log2.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/ufloor_log2.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* __gmpfr_floor_log2 - returns floor(log(d)/log(2))
 
-Copyright 1999-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 1999-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/ui_div.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/ui_div.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/ui_div.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_ui_div -- divide a machine integer by a floating-point number
 
-Copyright 2000-2018 Free Software Foundation, Inc.
+Copyright 2000-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/ui_pow.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/ui_pow.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/ui_pow.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_ui_pow -- power of n function n^x
 
-Copyright 2001-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2001-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/ui_pow_ui.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/ui_pow_ui.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/ui_pow_ui.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /*  mpfr_ui_pow_ui -- compute the power between two machine integers
 
-Copyright 1999-2018 Free Software Foundation, Inc.
+Copyright 1999-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/ui_sub.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/ui_sub.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/ui_sub.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_ui_sub -- subtract a floating-point number from an integer
 
-Copyright 2000-2018 Free Software Foundation, Inc.
+Copyright 2000-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/urandom.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/urandom.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/urandom.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -2,7 +2,7 @@
    real number between 0 and 1 (exclusive) and round it to the precision of rop
    according to the given rounding mode.
 
-Copyright 2000-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2000-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -19,7 +19,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/urandomb.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/urandomb.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/urandomb.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -3,7 +3,7 @@
    using STATE as the random state previously initialized by a call to
    gmp_randinit_lc_2exp_size().
 
-Copyright 2000-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2000-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -20,7 +20,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/vasprintf.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/vasprintf.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/vasprintf.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_vasnprintf_aux -- helper function for the formatted output functions
    (printf functions family).
 
-Copyright 2007-2018 Free Software Foundation, Inc.
+Copyright 2007-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* If the number of output characters is larger than INT_MAX, the
@@ -33,12 +33,23 @@
    So, for the time being, we return a negative value and set the erange
    flag, and set errno to EOVERFLOW in POSIX system. */
 
-/* Note: Due to limitations from the C standard and GMP, if
-   size_t < unsigned int (which is allowed by the C standard but unlikely
-   to occur on any platform), the behavior is undefined for output that
-   would reach SIZE_MAX = (size_t) -1 (if the result cannot be delivered,
-   there should be an assertion failure, but this could not be tested). */
+/* Notes about limitations on some platforms:
 
+   Due to limitations from the C standard and GMP, if size_t < unsigned int
+   (which is allowed by the C standard but unlikely to occur on any
+   platform), the behavior is undefined for output that would reach
+   SIZE_MAX = (size_t) -1 (if the result cannot be delivered, there should
+   be an assertion failure, but this could not be tested).
+
+   The stdarg(3) Linux man page says:
+      On some systems, va_end contains a closing '}' matching a '{' in
+      va_start, so that both macros must occur in the same function,
+      and in a way that allows this.
+   However, the only requirement from ISO C is that both macros must be
+   invoked in the same function (MPFR uses va_copy instead of va_start,
+   but the requirement is the same). Here, MPFR just follows ISO C.
+*/
+
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif
@@ -248,6 +259,8 @@
     }
 }
 
+/* Note: additional flags should be added to the MPFR_PREC_ARG code
+   for gmp_asprintf (when supported). */
 static const char *
 parse_flags (const char *format, struct printf_spec *specinfo)
 {
@@ -683,14 +696,24 @@
   else
     {
       const size_t step = 3;
-      const size_t size = len + tz;
-      const size_t r = size % step == 0 ? step : size % step;
-      const size_t q = size % step == 0 ? size / step - 1 : size / step;
-      const size_t fullsize = size + q;
-      size_t i;
+      size_t size, q, r, fullsize;
 
+      /* check that len + tz does not overflow */
+      if (len > (size_t) -1 - tz)
+        return 1;
+
+      size = len + tz;              /* number of digits */
       MPFR_ASSERTD (size > 0);
 
+      q = (size - 1) / step;        /* number of separators C */
+      r = ((size - 1) % step) + 1;  /* number of digits in the leftmost block */
+
+      /* check that size + q does not overflow */
+      if (size > (size_t) -1 - q)
+        return 1;
+
+      fullsize = size + q;          /* number of digits and separators */
+
       if (buffer_incr_len (b, fullsize))
         return 1;
 
@@ -697,6 +720,7 @@
       if (b->size != 0)
         {
           char *oldcurr;
+          size_t i;
 
           MPFR_ASSERTD (*b->curr == '\0');
           MPFR_ASSERTN (b->size < ((size_t) -1) - fullsize);
@@ -705,11 +729,21 @@
 
           MPFR_DBGRES (oldcurr = b->curr);
 
-          /* first R significant digits */
-          memcpy (b->curr, str, r);
+          /* first r significant digits (leftmost block) */
+          if (r <= len)
+            {
+              memcpy (b->curr, str, r);
+              str += r;
+              len -= r;
+            }
+          else
+            {
+              MPFR_ASSERTD (r > len);
+              memcpy (b->curr, str, len);
+              memset (b->curr + len, '0', r - len);
+              len = 0;
+            }
           b->curr += r;
-          str += r;
-          len -= r;
 
           /* blocks of thousands. Warning: STR might end in the middle of a block */
           for (i = 0; i < q; ++i)
@@ -722,6 +756,7 @@
                     {
                       memcpy (b->curr, str, step);
                       len -= step;
+                      str += step;
                     }
                   else
                     /* last digits in STR, fill up thousand block with zeros */
@@ -736,7 +771,6 @@
                 memset (b->curr, '0', step);
 
               b->curr += step;
-              str += step;
             }
 
           MPFR_ASSERTD (b->curr - oldcurr == fullsize);
@@ -1920,8 +1954,14 @@
   /* integral part (may also be "nan" or "inf") */
   MPFR_ASSERTN (np.ip_ptr != NULL); /* never empty */
   if (MPFR_UNLIKELY (np.thousands_sep))
-    buffer_sandwich (buf, np.ip_ptr, np.ip_size, np.ip_trailing_zeros,
-                     np.thousands_sep);
+    {
+      if (buffer_sandwich (buf, np.ip_ptr, np.ip_size, np.ip_trailing_zeros,
+                           np.thousands_sep))
+        {
+          buf->len = -1;
+          goto clear_and_exit;
+        }
+    }
   else
     {
       buffer_cat (buf, np.ip_ptr, np.ip_size);
@@ -1978,7 +2018,7 @@
   struct string_buffer buf;
   int nbchar;
 
-  /* informations on the conversion specification filled by the parser */
+  /* information on the conversion specification filled by the parser */
   struct printf_spec spec;
   /* flag raised when previous part of fmt need to be processed by
      gmp_vsnprintf */
@@ -2182,7 +2222,7 @@
         /* output mpfr_prec_t variable */
         {
           char *s;
-          char format[MPFR_PREC_FORMAT_SIZE + 6]; /* see examples below */
+          char format[MPFR_PREC_FORMAT_SIZE + 12]; /* e.g. "%0#+ -'*.*ld\0" */
           size_t length;
           mpfr_prec_t prec;
 
@@ -2194,14 +2234,14 @@
           start = fmt;
 
           /* construct format string, like "%*.*hd" "%*.*d" or "%*.*ld" */
-          format[0] = '%';
-          format[1] = '*';
-          format[2] = '.';
-          format[3] = '*';
-          format[4] = '\0';
-          strcat (format, MPFR_PREC_FORMAT_TYPE);
-          format[4 + MPFR_PREC_FORMAT_SIZE] = spec.spec;
-          format[5 + MPFR_PREC_FORMAT_SIZE] = '\0';
+          sprintf (format, "%%%s%s%s%s%s%s*.*" MPFR_PREC_FORMAT_TYPE "%c",
+                   spec.pad == '0' ? "0" : "",
+                   spec.alt ? "#" : "",
+                   spec.showsign ? "+" : "",
+                   spec.space ? " " : "",
+                   spec.left ? "-" : "",
+                   spec.group ? "'" : "",
+                   spec.spec);
           length = gmp_asprintf (&s, format, spec.width, spec.prec, prec);
           MPFR_ASSERTN (length >= 0);  /* guaranteed by GMP 6 */
           buffer_cat (&buf, s, length);
@@ -2246,44 +2286,42 @@
 
   va_end (ap2);
 
-  if (buf.len > INT_MAX)  /* overflow */
-    buf.len = -1;
+  if (buf.len == -1 || buf.len > INT_MAX)  /* overflow */
+    goto overflow;
 
-  if (buf.len != -1)
+  nbchar = buf.len;
+  MPFR_ASSERTD (nbchar >= 0);
+
+  if (ptr != NULL)  /* implement mpfr_vasprintf */
     {
-      nbchar = buf.len;
-      MPFR_ASSERTD (nbchar >= 0);
-
-      if (ptr != NULL)  /* implement mpfr_vasprintf */
+      MPFR_ASSERTD (nbchar == strlen (buf.start));
+      *ptr = (char *) mpfr_reallocate_func (buf.start, buf.size, nbchar + 1);
+    }
+  else if (size != 0)  /* implement mpfr_vsnprintf */
+    {
+      if (nbchar < size)
         {
-          MPFR_ASSERTD (nbchar == strlen (buf.start));
-          *ptr = (char *)
-            mpfr_reallocate_func (buf.start, buf.size, nbchar + 1);
+          strncpy (Buf, buf.start, nbchar);
+          Buf[nbchar] = '\0';
         }
-      else if (size > 0)  /* implement mpfr_vsnprintf */
+      else
         {
-          if (nbchar < size)
-            {
-              strncpy (Buf, buf.start, nbchar);
-              Buf[nbchar] = '\0';
-            }
-          else
-            {
-              strncpy (Buf, buf.start, size - 1);
-              Buf[size-1] = '\0';
-            }
-          mpfr_free_func (buf.start, buf.size);
+          strncpy (Buf, buf.start, size - 1);
+          Buf[size-1] = '\0';
         }
-
-      MPFR_SAVE_EXPO_FREE (expo);
-      return nbchar; /* return the number of characters that would have
-                        been written had 'size' been sufficiently large,
-                        not counting the terminating null character */
+      mpfr_free_func (buf.start, buf.size);
     }
 
+  MPFR_SAVE_EXPO_FREE (expo);
+  return nbchar; /* return the number of characters that would have
+                    been written had 'size' been sufficiently large,
+                    not counting the terminating null character */
+
  error:
+  va_end (ap2);
   if (buf.len == -1)  /* overflow */
     {
+    overflow:
       MPFR_LOG_MSG (("Overflow\n", 0));
       MPFR_SAVE_EXPO_UPDATE_FLAGS (expo, MPFR_FLAGS_ERANGE);
 #ifdef EOVERFLOW
@@ -2293,8 +2331,10 @@
     }
 
   MPFR_SAVE_EXPO_FREE (expo);
-  *ptr = NULL;
-  mpfr_free_func (buf.start, buf.size);
+  if (ptr != NULL)  /* implement mpfr_vasprintf */
+    *ptr = NULL;
+  if (ptr != NULL || size != 0)
+    mpfr_free_func (buf.start, buf.size);
 
   return -1;
 }

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/version.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/version.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/version.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_get_version -- MPFR version
 
-Copyright 2004-2018 Free Software Foundation, Inc.
+Copyright 2004-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"
@@ -25,5 +25,5 @@
 const char *
 mpfr_get_version (void)
 {
-  return "4.0.1";
+  return "4.0.2";
 }

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/volatile.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/volatile.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/volatile.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -4,7 +4,7 @@
    CERTAIN TO BE SUBJECT TO INCOMPATIBLE CHANGES OR DISAPPEAR COMPLETELY IN
    FUTURE MPFR RELEASES.
 
-Copyright 2003-2004, 2006-2018 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -21,7 +21,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include "mpfr-impl.h"

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/x86/core2/mparam.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/x86/core2/mparam.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/x86/core2/mparam.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Various Thresholds of MPFR, not exported.  -*- mode: C -*-
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 
 This file is part of the GNU MPFR Library.
 
@@ -16,7 +16,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* Generated by MPFR's tuneup.c, 2011-07-31, gcc 4.3.2 */
@@ -89,7 +89,7 @@
  824,808,831,824,824,824,832,823,832,824,832,831,832,832,829,830, \
  831,832,832,832,831,831,832,832,830,832,832,832,832,831,831,832, \
  879,832,832,880,832,831,832,831,832,832,832,832,832,832,832,831 \
-  
+
 #define MPFR_SQRHIGH_TAB  \
  -1,0,0,0,-1,-1,-1,-1,-1,-1,-1,8,8,8,9,9, \
  10,10,11,13,13,14,15,16,14,16,17,16,18,17,19,18, \
@@ -155,7 +155,7 @@
  696,696,696,696,696,694,695,696,696,695,696,694,727,696,696,688, \
  695,696,696,695,696,695,695,696,696,727,696,696,695,696,695,696, \
  696,695,696,695,696,696,696,728,728,696,720,728,728,728,726,728 \
-  
+
 #define MPFR_DIVHIGH_TAB  \
  0,1,2,3,4,5,6,7,8,9,10,9,10,11,14,13, \
  14,11,16,17,13,14,15,16,16,14,16,16,16,19,20,18, \
@@ -221,7 +221,7 @@
  607,608,608,608,608,608,607,607,608,607,608,608,608,607,608,608, \
  608,608,609,609,608,608,609,608,608,608,606,606,608,608,609,607, \
  606,607,608,608,610,608,608,609,608,608,608,608,608,608,607,608 \
-  
+
 #define MPFR_MUL_THRESHOLD 15 /* limbs */
 #define MPFR_SQR_THRESHOLD 18 /* limbs */
 #define MPFR_DIV_THRESHOLD 22 /* limbs */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/x86/mparam.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/x86/mparam.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/x86/mparam.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Various Thresholds of MPFR, not exported.  -*- mode: C -*-
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 
 This file is part of the GNU MPFR Library.
 
@@ -16,7 +16,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* Generated by MPFR's tuneup.c, 2011-07-31, gcc 4.4.2 */
@@ -88,7 +88,7 @@
  784,784,784,784,784,784,784,784,784,784,784,832,784,784,784,784, \
  832,784,832,831,832,831,832,832,832,832,832,784,784,784,784,784, \
  832,784,832,784,832,832,832,832,832,832,832,832,832,832,832,832 \
-  
+
 #define MPFR_SQRHIGH_TAB  \
  -1,0,0,-1,-1,-1,-1,5,6,6,7,7,8,8,9,9, \
  10,11,12,11,12,13,14,13,14,15,16,15,16,16,17,17, \
@@ -154,7 +154,7 @@
  584,584,584,584,584,584,584,568,568,568,568,616,568,568,616,568, \
  600,584,600,600,600,632,616,600,584,616,616,632,632,584,632,616, \
  616,616,616,616,616,632,632,616,616,632,632,616,616,632,616,616 \
-  
+
 #define MPFR_DIVHIGH_TAB  \
  0,1,2,3,4,5,6,7,8,7,10,9,10,11,12,13, \
  14,15,16,17,18,16,14,16,16,19,19,18,20,19,20,18, \
@@ -220,7 +220,7 @@
  501,500,552,497,516,511,503,513,497,511,502,509,564,509,504,512, \
  503,504,512,504,504,500,512,512,512,511,512,504,557,504,564,564, \
  512,564,514,512,516,512,560,564,560,564,564,512,564,564,564,560 \
-  
+
 #define MPFR_MUL_THRESHOLD 15 /* limbs */
 #define MPFR_SQR_THRESHOLD 14 /* limbs */
 #define MPFR_DIV_THRESHOLD 27 /* limbs */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/x86_64/core2/mparam.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/x86_64/core2/mparam.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/x86_64/core2/mparam.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Various Thresholds of MPFR, not exported.  -*- mode: C -*-
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 
 This file is part of the GNU MPFR Library.
 
@@ -16,7 +16,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* Generated by MPFR's tuneup.c, 2011-07-31, gcc 4.3.2 */
@@ -91,7 +91,7 @@
  736,736,736,736,736,736,736,736,736,736,736,736,736,736,735,736, \
  736,736,736,736,736,736,736,736,736,736,736,736,736,736,736,736, \
  824,824,832,832,832,832,824,832,832,832,832,832,824,831,832,832 \
-  
+
 #define MPFR_SQRHIGH_TAB  \
  -1,0,0,0,0,0,0,5,6,6,7,8,8,8,10,9, \
  10,11,11,11,12,13,13,13,14,16,16,17,17,17,17,17, \
@@ -157,7 +157,7 @@
  628,627,630,631,632,663,632,631,632,630,632,631,632,626,632,632, \
  632,663,631,631,632,632,632,664,632,632,600,632,632,600,632,632, \
  600,600,632,632,632,662,663,663,663,600,664,632,664,663,664,632 \
-  
+
 #define MPFR_DIVHIGH_TAB  \
  0,1,2,3,4,5,6,7,8,9,10,11,12,13,12,13, \
  14,15,16,13,14,14,14,15,15,17,17,17,19,19,19,19, \
@@ -223,7 +223,7 @@
  552,561,564,564,560,564,561,564,564,564,564,564,564,564,564,560, \
  561,560,564,564,560,564,564,552,564,564,564,552,564,564,564,564, \
  564,563,564,564,564,564,560,564,564,564,564,552,564,564,560,564 \
-  
+
 #define MPFR_MUL_THRESHOLD 7 /* limbs */
 #define MPFR_SQR_THRESHOLD 12 /* limbs */
 #define MPFR_DIV_THRESHOLD 20 /* limbs */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/x86_64/pentium4/mparam.h
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/x86_64/pentium4/mparam.h	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/x86_64/pentium4/mparam.h	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* Various Thresholds of MPFR, not exported.  -*- mode: C -*-
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 
 This file is part of the GNU MPFR Library.
 
@@ -16,7 +16,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 /* Generated by MPFR's tuneup.c, 2009-02-09, gcc 4.3 */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/yn.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/yn.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/yn.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,7 +1,7 @@
 /* mpfr_y0, mpfr_y1, mpfr_yn -- Bessel functions of 2nd kind, integer order.
    http://www.opengroup.org/onlinepubs/009695399/functions/y0.html
 
-Copyright 2007-2018 Free Software Foundation, Inc.
+Copyright 2007-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -18,7 +18,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/zeta.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/zeta.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/zeta.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_zeta -- compute the Riemann Zeta function
 
-Copyright 2003-2018 Free Software Foundation, Inc.
+Copyright 2003-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #include <float.h> /* for DBL_MAX */

Modified: trunk/Build/source/libs/mpfr/mpfr-src/src/zeta_ui.c
===================================================================
--- trunk/Build/source/libs/mpfr/mpfr-src/src/zeta_ui.c	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/mpfr-src/src/zeta_ui.c	2019-02-01 05:18:31 UTC (rev 49895)
@@ -1,6 +1,6 @@
 /* mpfr_zeta_ui -- compute the Riemann Zeta function for integer argument.
 
-Copyright 2005-2018 Free Software Foundation, Inc.
+Copyright 2005-2019 Free Software Foundation, Inc.
 Contributed by the AriC and Caramba projects, INRIA.
 
 This file is part of the GNU MPFR Library.
@@ -17,7 +17,7 @@
 
 You should have received a copy of the GNU Lesser General Public License
 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
-http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #define MPFR_NEED_LONGLONG_H

Modified: trunk/Build/source/libs/mpfr/version.ac
===================================================================
--- trunk/Build/source/libs/mpfr/version.ac	2019-02-01 01:24:48 UTC (rev 49894)
+++ trunk/Build/source/libs/mpfr/version.ac	2019-02-01 05:18:31 UTC (rev 49895)
@@ -8,4 +8,4 @@
 dnl --------------------------------------------------------
 dnl
 dnl  m4-include this file to define the current mpfr version
-m4_define([mpfr_version], [4.0.1])
+m4_define([mpfr_version], [4.0.2])



More information about the tex-live-commits mailing list