summaryrefslogtreecommitdiff
path: root/Build/source/libs/mpfr
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2015-06-20 10:38:01 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2015-06-20 10:38:01 +0000
commit265eb77be2ea7991cb155d175740f1978b9aff45 (patch)
tree50312a038421405d62654d95016e16f1ffc46499 /Build/source/libs/mpfr
parentcd9d1f5f065d7a8bb787f683ffac1f907356a285 (diff)
mpfr 3.1.3
git-svn-id: svn://tug.org/texlive/trunk@37627 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/mpfr')
-rw-r--r--Build/source/libs/mpfr/ChangeLog5
-rw-r--r--Build/source/libs/mpfr/Makefile.in2
-rwxr-xr-xBuild/source/libs/mpfr/configure30
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.2-PATCHES/ChangeLog4
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.2/VERSION1
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3-PATCHES/ChangeLog9
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3-PATCHES/TL-Changes (renamed from Build/source/libs/mpfr/mpfr-3.1.2-PATCHES/TL-Changes)4
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3-PATCHES/patch-01-TL (renamed from Build/source/libs/mpfr/mpfr-3.1.2-PATCHES/patch-01-TL)20
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/AUTHORS (renamed from Build/source/libs/mpfr/mpfr-3.1.2/AUTHORS)0
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/BUGS (renamed from Build/source/libs/mpfr/mpfr-3.1.2/BUGS)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/ChangeLog (renamed from Build/source/libs/mpfr/mpfr-3.1.2/ChangeLog)2411
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/INSTALL (renamed from Build/source/libs/mpfr/mpfr-3.1.2/INSTALL)27
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/Makefile.am (renamed from Build/source/libs/mpfr/mpfr-3.1.2/Makefile.am)8
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/NEWS (renamed from Build/source/libs/mpfr/mpfr-3.1.2/NEWS)7
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/PATCHES (renamed from Build/source/libs/mpfr/mpfr-3.1.2/PATCHES)0
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/README (renamed from Build/source/libs/mpfr/mpfr-3.1.2/README)11
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/TODO (renamed from Build/source/libs/mpfr/mpfr-3.1.2/TODO)10
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/VERSION1
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/acinclude.m4 (renamed from Build/source/libs/mpfr/mpfr-3.1.2/acinclude.m4)280
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/configure.ac (renamed from Build/source/libs/mpfr/mpfr-3.1.2/configure.ac)136
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/Makefile.am (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/Makefile.am)4
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/abort_prec_max.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/abort_prec_max.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/acos.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/acos.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/acosh.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/acosh.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/add.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/add.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/add1.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/add1.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/add1sp.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/add1sp.c)6
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/add_d.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/add_d.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/add_ui.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/add_ui.c)4
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/agm.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/agm.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/ai.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/ai.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/amd/amdfam10/mparam.h (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/amd/amdfam10/mparam.h)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/amd/athlon/mparam.h (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/amd/athlon/mparam.h)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/amd/k8/mparam.h (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/amd/k8/mparam.h)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/arm/mparam.h (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/arm/mparam.h)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/asin.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/asin.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/asinh.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/asinh.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/atan.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/atan.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/atan2.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/atan2.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/atanh.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/atanh.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/bernoulli.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/bernoulli.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/buildopt.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/buildopt.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/cache.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/cache.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/cbrt.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/cbrt.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/check.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/check.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/clear.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/clear.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/clears.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/clears.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/cmp.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/cmp.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/cmp2.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/cmp2.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/cmp_abs.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/cmp_abs.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/cmp_d.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/cmp_d.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/cmp_ld.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/cmp_ld.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/cmp_si.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/cmp_si.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/cmp_ui.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/cmp_ui.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/comparisons.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/comparisons.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/const_catalan.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/const_catalan.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/const_euler.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/const_euler.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/const_log2.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/const_log2.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/const_pi.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/const_pi.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/constant.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/constant.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/copysign.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/copysign.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/cos.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/cos.c)7
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/cosh.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/cosh.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/cot.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/cot.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/coth.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/coth.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/csc.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/csc.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/csch.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/csch.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/d_div.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/d_div.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/d_sub.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/d_sub.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/digamma.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/digamma.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/dim.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/dim.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/div.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/div.c)10
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/div_2exp.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/div_2exp.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/div_2si.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/div_2si.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/div_2ui.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/div_2ui.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/div_d.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/div_d.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/div_ui.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/div_ui.c)4
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/dump.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/dump.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/eint.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/eint.c)4
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/eq.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/eq.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/erf.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/erf.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/erfc.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/erfc.c)4
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/exceptions.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/exceptions.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/exp.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/exp.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/exp10.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/exp10.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/exp2.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/exp2.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/exp3.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/exp3.c)4
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/exp_2.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/exp_2.c)4
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/expm1.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/expm1.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/extract.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/extract.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/factorial.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/factorial.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/fits_intmax.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/fits_intmax.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/fits_s.h (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/fits_s.h)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/fits_sint.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/fits_sint.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/fits_slong.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/fits_slong.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/fits_sshort.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/fits_sshort.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/fits_u.h (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/fits_u.h)21
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/fits_uint.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/fits_uint.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/fits_uintmax.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/fits_uintmax.c)56
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/fits_ulong.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/fits_ulong.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/fits_ushort.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/fits_ushort.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/fma.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/fma.c)27
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/fms.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/fms.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/frac.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/frac.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/free_cache.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/free_cache.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/frexp.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/frexp.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/gamma.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/gamma.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/gammaonethird.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/gammaonethird.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/gen_inverse.h (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/gen_inverse.h)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/generic/mparam.h (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/generic/mparam.h)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/get_d.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/get_d.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/get_d64.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/get_d64.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/get_exp.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/get_exp.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/get_f.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/get_f.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/get_flt.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/get_flt.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/get_ld.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/get_ld.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/get_patches.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/get_patches.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/get_si.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/get_si.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/get_sj.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/get_sj.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/get_str.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/get_str.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/get_ui.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/get_ui.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/get_uj.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/get_uj.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/get_z.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/get_z.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/get_z_exp.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/get_z_exp.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/gmp_op.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/gmp_op.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/grandom.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/grandom.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/hppa/mparam.h (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/hppa/mparam.h)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/hypot.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/hypot.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/ia64/mparam.h (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/ia64/mparam.h)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/ieee_floats.h (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/ieee_floats.h)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/init.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/init.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/init2.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/init2.c)10
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/inits.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/inits.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/inits2.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/inits2.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/inp_str.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/inp_str.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/int_ceil_log2.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/int_ceil_log2.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/isinf.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/isinf.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/isinteger.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/isinteger.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/isnan.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/isnan.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/isnum.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/isnum.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/isqrt.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/isqrt.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/isregular.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/isregular.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/iszero.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/iszero.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/jn.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/jn.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/jyn_asympt.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/jyn_asympt.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/li2.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/li2.c)4
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/lngamma.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/lngamma.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/log.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/log.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/log10.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/log10.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/log1p.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/log1p.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/log2.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/log2.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/logging.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/logging.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/min_prec.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/min_prec.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/minmax.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/minmax.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/modf.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/modf.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/mp_clz_tab.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/mp_clz_tab.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/mparam_h.in (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/mparam_h.in)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/mpf2mpfr.h (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/mpf2mpfr.h)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/mpfr-gmp.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/mpfr-gmp.c)8
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/mpfr-gmp.h (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/mpfr-gmp.h)29
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/mpfr-impl.h (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/mpfr-impl.h)60
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/mpfr-intmax.h (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/mpfr-intmax.h)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/mpfr-longlong.h (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/mpfr-longlong.h)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/mpfr-thread.h (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/mpfr-thread.h)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/mpfr.h (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/mpfr.h)8
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/mpn_exp.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/mpn_exp.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/mul.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/mul.c)10
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/mul_2exp.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/mul_2exp.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/mul_2si.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/mul_2si.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/mul_2ui.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/mul_2ui.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/mul_d.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/mul_d.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/mul_ui.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/mul_ui.c)4
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/mulders.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/mulders.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/neg.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/neg.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/next.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/next.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/out_str.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/out_str.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/pow.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/pow.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/pow_si.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/pow_si.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/pow_ui.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/pow_ui.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/pow_z.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/pow_z.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/powerof2.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/powerof2.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/powerpc32/mparam.h (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/powerpc32/mparam.h)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/powerpc64/mparam.h (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/powerpc64/mparam.h)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/print_raw.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/print_raw.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/print_rnd_mode.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/print_rnd_mode.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/printf.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/printf.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/rec_sqrt.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/rec_sqrt.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/reldiff.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/reldiff.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/rem1.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/rem1.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/rint.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/rint.c)60
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/root.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/root.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/round_near_x.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/round_near_x.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/round_p.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/round_p.c)6
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/round_prec.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/round_prec.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/round_raw_generic.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/round_raw_generic.c)4
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/scale2.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/scale2.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/sec.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/sec.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/sech.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/sech.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/set.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/set.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/set_d.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/set_d.c)6
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/set_d64.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/set_d64.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/set_dfl_prec.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/set_dfl_prec.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/set_exp.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/set_exp.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/set_f.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/set_f.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/set_flt.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/set_flt.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/set_inf.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/set_inf.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/set_ld.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/set_ld.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/set_nan.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/set_nan.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/set_prc_raw.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/set_prc_raw.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/set_prec.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/set_prec.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/set_q.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/set_q.c)6
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/set_rnd.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/set_rnd.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/set_si.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/set_si.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/set_si_2exp.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/set_si_2exp.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/set_sj.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/set_sj.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/set_str.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/set_str.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/set_str_raw.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/set_str_raw.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/set_ui.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/set_ui.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/set_ui_2exp.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/set_ui_2exp.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/set_uj.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/set_uj.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/set_z.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/set_z.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/set_z_exp.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/set_z_exp.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/set_zero.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/set_zero.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/setmax.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/setmax.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/setmin.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/setmin.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/setsign.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/setsign.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/sgn.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/sgn.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/si_op.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/si_op.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/signbit.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/signbit.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/sin.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/sin.c)8
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/sin_cos.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/sin_cos.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/sinh.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/sinh.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/sinh_cosh.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/sinh_cosh.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/sparc64/mparam.h (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/sparc64/mparam.h)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/sqr.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/sqr.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/sqrt.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/sqrt.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/sqrt_ui.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/sqrt_ui.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/stack_interface.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/stack_interface.c)4
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/strtofr.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/strtofr.c)14
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/sub.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/sub.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/sub1.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/sub1.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/sub1sp.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/sub1sp.c)8
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/sub_d.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/sub_d.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/sub_ui.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/sub_ui.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/subnormal.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/subnormal.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/sum.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/sum.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/swap.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/swap.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/tan.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/tan.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/tanh.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/tanh.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/uceil_exp2.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/uceil_exp2.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/uceil_log2.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/uceil_log2.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/ufloor_log2.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/ufloor_log2.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/ui_div.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/ui_div.c)22
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/ui_pow.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/ui_pow.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/ui_pow_ui.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/ui_pow_ui.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/ui_sub.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/ui_sub.c)24
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/urandom.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/urandom.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/urandomb.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/urandomb.c)4
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/vasprintf.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/vasprintf.c)20
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/version.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/version.c)4
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/volatile.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/volatile.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/x86/core2/mparam.h (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/x86/core2/mparam.h)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/x86/mparam.h (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/x86/mparam.h)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/x86_64/core2/mparam.h (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/x86_64/core2/mparam.h)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/x86_64/pentium4/mparam.h (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/x86_64/pentium4/mparam.h)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/yn.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/yn.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/zeta.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/zeta.c)2
-rw-r--r--Build/source/libs/mpfr/mpfr-3.1.3/src/zeta_ui.c (renamed from Build/source/libs/mpfr/mpfr-3.1.2/src/zeta_ui.c)42
-rw-r--r--Build/source/libs/mpfr/version.ac4
269 files changed, 3310 insertions, 606 deletions
diff --git a/Build/source/libs/mpfr/ChangeLog b/Build/source/libs/mpfr/ChangeLog
index 2cc42249082..332e02c7671 100644
--- a/Build/source/libs/mpfr/ChangeLog
+++ b/Build/source/libs/mpfr/ChangeLog
@@ -1,3 +1,8 @@
+2015-06-20 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ Import mpfr-3.1.3.
+ * version.ac: Adjust.
+
2015-03-10 Peter Breitenlohner <peb@mppmu.mpg.de>
* m4/mpfr-configs.m4: Drop useless checks for memmove, memset,
diff --git a/Build/source/libs/mpfr/Makefile.in b/Build/source/libs/mpfr/Makefile.in
index 1a0e6b5f933..9aa6143e2ec 100644
--- a/Build/source/libs/mpfr/Makefile.in
+++ b/Build/source/libs/mpfr/Makefile.in
@@ -499,7 +499,7 @@ am__DIST_COMMON = $(srcdir)/../../am/dist_hook.am \
$(top_srcdir)/../../build-aux/install-sh \
$(top_srcdir)/../../build-aux/missing \
$(top_srcdir)/../../build-aux/test-driver \
- $(top_srcdir)/mpfr-3.1.2/src/mparam_h.in \
+ $(top_srcdir)/mpfr-3.1.3/src/mparam_h.in \
../../build-aux/compile ../../build-aux/config.guess \
../../build-aux/config.sub ../../build-aux/depcomp \
../../build-aux/install-sh ../../build-aux/ltmain.sh \
diff --git a/Build/source/libs/mpfr/configure b/Build/source/libs/mpfr/configure
index f50b1fcc43b..f263c94ba21 100755
--- a/Build/source/libs/mpfr/configure
+++ b/Build/source/libs/mpfr/configure
@@ -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) 3.1.2.
+# Generated by GNU Autoconf 2.69 for mpfr (TeX Live) 3.1.3.
#
# Report bugs to <tex-k@tug.org>.
#
@@ -580,12 +580,12 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='mpfr (TeX Live)'
PACKAGE_TARNAME='mpfr--tex-live-'
-PACKAGE_VERSION='3.1.2'
-PACKAGE_STRING='mpfr (TeX Live) 3.1.2'
+PACKAGE_VERSION='3.1.3'
+PACKAGE_STRING='mpfr (TeX Live) 3.1.3'
PACKAGE_BUGREPORT='tex-k@tug.org'
PACKAGE_URL=''
-ac_unique_file="mpfr-3.1.2/src/mpfr.h"
+ac_unique_file="mpfr-3.1.3/src/mpfr.h"
# Factoring default headers for most tests.
ac_includes_default="\
#include <stdio.h>
@@ -1295,7 +1295,7 @@ if test "$ac_init_help" = "long"; then
# 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) 3.1.2 to adapt to many kinds of systems.
+\`configure' configures mpfr (TeX Live) 3.1.3 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1365,7 +1365,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of mpfr (TeX Live) 3.1.2:";;
+ short | recursive ) echo "Configuration of mpfr (TeX Live) 3.1.3:";;
esac
cat <<\_ACEOF
@@ -1469,7 +1469,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-mpfr (TeX Live) configure 3.1.2
+mpfr (TeX Live) configure 3.1.3
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1938,7 +1938,7 @@ cat >config.log <<_ACEOF
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 3.1.2, which was
+It was created by mpfr (TeX Live) $as_me 3.1.3, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -3861,7 +3861,7 @@ fi
# Define the identity of the package.
PACKAGE='mpfr--tex-live-'
- VERSION='3.1.2'
+ VERSION='3.1.3'
cat >>confdefs.h <<_ACEOF
@@ -5824,7 +5824,7 @@ if ${mpfr_cv_have_intmax_max+:} false; then :
else
saved_CPPFLAGS=$CPPFLAGS
- CPPFLAGS="$CPPFLAGS -I$srcdir/mpfr-3.1.2/src"
+ CPPFLAGS="$CPPFLAGS -I$srcdir/mpfr-3.1.3/src"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include "mpfr-intmax.h"
@@ -7056,10 +7056,10 @@ LIBS=$kpse_save_LIBS
echo timestamp >config.force
fi
-MPFR_TREE=mpfr-3.1.2
+MPFR_TREE=mpfr-3.1.3
-ac_config_links="$ac_config_links mparam.h:mpfr-3.1.2/src/mparam_h.in"
+ac_config_links="$ac_config_links mparam.h:mpfr-3.1.3/src/mparam_h.in"
ac_config_files="$ac_config_files Makefile include/Makefile"
@@ -7607,7 +7607,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# 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 3.1.2, which was
+This file was extended by mpfr (TeX Live) $as_me 3.1.3, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -7677,7 +7677,7 @@ _ACEOF
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 3.1.2
+mpfr (TeX Live) config.status 3.1.3
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
@@ -7808,7 +7808,7 @@ do
case $ac_config_target in
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
- "mparam.h") CONFIG_LINKS="$CONFIG_LINKS mparam.h:mpfr-3.1.2/src/mparam_h.in" ;;
+ "mparam.h") CONFIG_LINKS="$CONFIG_LINKS mparam.h:mpfr-3.1.3/src/mparam_h.in" ;;
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
"include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2-PATCHES/ChangeLog b/Build/source/libs/mpfr/mpfr-3.1.2-PATCHES/ChangeLog
deleted file mode 100644
index 4aaff8b63c4..00000000000
--- a/Build/source/libs/mpfr/mpfr-3.1.2-PATCHES/ChangeLog
+++ /dev/null
@@ -1,4 +0,0 @@
-2014-05-23 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- patch-01-TL (new): Modifications for the TeX Live build system.
-
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/VERSION b/Build/source/libs/mpfr/mpfr-3.1.2/VERSION
deleted file mode 100644
index ef538c28109..00000000000
--- a/Build/source/libs/mpfr/mpfr-3.1.2/VERSION
+++ /dev/null
@@ -1 +0,0 @@
-3.1.2
diff --git a/Build/source/libs/mpfr/mpfr-3.1.3-PATCHES/ChangeLog b/Build/source/libs/mpfr/mpfr-3.1.3-PATCHES/ChangeLog
new file mode 100644
index 00000000000..b9cb224857a
--- /dev/null
+++ b/Build/source/libs/mpfr/mpfr-3.1.3-PATCHES/ChangeLog
@@ -0,0 +1,9 @@
+ Imported mpfr-3.1.3 source tree from:
+ http://ftp.gnu.org/gnu/mpfr/
+
+ * patch-01-TL: Adapted.
+
+2014-05-23 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * patch-01-TL (new): Modifications for the TeX Live build system.
+
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2-PATCHES/TL-Changes b/Build/source/libs/mpfr/mpfr-3.1.3-PATCHES/TL-Changes
index a6ede15e39c..19f36a2f82c 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2-PATCHES/TL-Changes
+++ b/Build/source/libs/mpfr/mpfr-3.1.3-PATCHES/TL-Changes
@@ -1,4 +1,4 @@
-Changes applied to the mpfr-3.1.2/ tree as obtained from:
+Changes applied to the mpfr-3.1.3/ tree as obtained from:
http://ftp.gnu.org/gnu/mpfr/
Removed:
@@ -6,6 +6,7 @@ Removed:
COPYING.LESSER
Makefile.in
aclocal.m4
+ ar-lib
compile
config.guess
config.sub
@@ -18,6 +19,7 @@ Removed:
m4/
missing
src/Makefile.in
+ test-driver
tests/
tools/
tune/
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2-PATCHES/patch-01-TL b/Build/source/libs/mpfr/mpfr-3.1.3-PATCHES/patch-01-TL
index 95e79f73af8..398e3db9204 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2-PATCHES/patch-01-TL
+++ b/Build/source/libs/mpfr/mpfr-3.1.3-PATCHES/patch-01-TL
@@ -1,6 +1,6 @@
-diff -ur mpfr-3.1.2.orig/src/mparam_h.in mpfr-3.1.2/src/mparam_h.in
---- mpfr-3.1.2.orig/src/mparam_h.in 2013-03-13 16:37:32.000000000 +0100
-+++ mpfr-3.1.2/src/mparam_h.in 2014-05-23 10:42:18.499864511 +0200
+diff -ur mpfr-3.1.3.orig/src/mparam_h.in mpfr-3.1.3/src/mparam_h.in
+--- mpfr-3.1.3.orig/src/mparam_h.in 2015-06-19 21:55:10.000000000 +0200
++++ mpfr-3.1.3/src/mparam_h.in 2015-06-20 12:11:28.000000000 +0200
@@ -27,7 +27,9 @@
for example with gcc -dM -E -xc /dev/null
As of gcc 4.2, you can also use: -march=native or -mtune=native */
@@ -12,16 +12,16 @@ diff -ur mpfr-3.1.2.orig/src/mparam_h.in mpfr-3.1.2/src/mparam_h.in
#define MPFR_TUNE_CASE "src/x86_64/pentium4/mparam.h"
#include "x86_64/pentium4/mparam.h"
-diff -ur mpfr-3.1.2.orig/src/mpfr-impl.h mpfr-3.1.2/src/mpfr-impl.h
---- mpfr-3.1.2.orig/src/mpfr-impl.h 2013-03-13 16:37:36.000000000 +0100
-+++ mpfr-3.1.2/src/mpfr-impl.h 2014-05-23 10:45:48.000000000 +0200
+diff -ur mpfr-3.1.3.orig/src/mpfr-impl.h mpfr-3.1.3/src/mpfr-impl.h
+--- mpfr-3.1.3.orig/src/mpfr-impl.h 2015-06-19 21:55:09.000000000 +0200
++++ mpfr-3.1.3/src/mpfr-impl.h 2015-06-20 12:14:04.000000000 +0200
@@ -23,6 +23,11 @@
#ifndef __MPFR_IMPL_H__
#define __MPFR_IMPL_H__
+/* Include MPFR 'config.h' before ANY system headers */
+#ifdef HAVE_CONFIG_H
-+# include <config.h>
++# include "config.h"
+#endif
+
/* Let's include some standard headers unconditionally as they are
@@ -37,6 +37,6 @@ diff -ur mpfr-3.1.2.orig/src/mpfr-impl.h mpfr-3.1.2/src/mpfr-impl.h
-# include "config.h"
-#endif
-
- #ifdef MPFR_HAVE_GMP_IMPL /* Build with gmp internals*/
-
- # ifndef __GMP_H__
+ /* 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. */
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/AUTHORS b/Build/source/libs/mpfr/mpfr-3.1.3/AUTHORS
index 5cd6c87be35..5cd6c87be35 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/AUTHORS
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/AUTHORS
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/BUGS b/Build/source/libs/mpfr/mpfr-3.1.3/BUGS
index bfc3677dd87..3e1536200cf 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/BUGS
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/BUGS
@@ -1,4 +1,4 @@
-Copyright 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999, 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/ChangeLog b/Build/source/libs/mpfr/mpfr-3.1.3/ChangeLog
index b4438c00ca9..1a7ec5812ca 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/ChangeLog
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/ChangeLog
@@ -1,4 +1,2371 @@
------------------------------------------------------------------------
+r9582 | vlefevre | 2015-06-19 19:50:16 +0000 (Fri, 19 Jun 2015) | 1 line
+Changed paths:
+ M /branches/3.1/VERSION
+ M /branches/3.1/configure.ac
+ M /branches/3.1/doc/mpfr.texi
+ M /branches/3.1/src/mpfr.h
+ M /branches/3.1/src/version.c
+
+Updated version to 3.1.3.
+------------------------------------------------------------------------
+r9577 | vlefevre | 2015-06-12 15:37:01 +0000 (Fri, 12 Jun 2015) | 1 line
+Changed paths:
+ M /branches/3.1/ChangeLog
+
+ChangeLog update with "TZ=UTC svn log -rHEAD:0 -v" (in UTF-8 locales).
+------------------------------------------------------------------------
+r9576 | vlefevre | 2015-06-12 15:34:37 +0000 (Fri, 12 Jun 2015) | 4 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/doc/faq.xsl
+
+[doc/faq.xsl] Remove the indent="no" to get the same behavior as before
+when using libxslt 1.1.27+. See:
+ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718535#10
+(merged changeset r9575 from the trunk)
+------------------------------------------------------------------------
+r9574 | vlefevre | 2015-06-12 15:22:10 +0000 (Fri, 12 Jun 2015) | 2 lines
+Changed paths:
+ M /branches/3.1/VERSION
+ M /branches/3.1/configure.ac
+ M /branches/3.1/doc/mpfr.texi
+ M /branches/3.1/src/Makefile.am
+ M /branches/3.1/src/mpfr.h
+ M /branches/3.1/src/version.c
+
+Updated version to 3.1.3-rc1 and updated libmpfr_la_LDFLAGS in
+src/Makefile.am for the next release.
+------------------------------------------------------------------------
+r9573 | vlefevre | 2015-06-12 14:04:56 +0000 (Fri, 12 Jun 2015) | 3 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/tests/tfma.c
+
+[tests/tfma.c] Improved the new underflow tests (test_underflow3) to
+test FMA(-x,y,-z).
+(merged changeset r9572 from the trunk)
+------------------------------------------------------------------------
+r9570 | vlefevre | 2015-06-12 13:38:54 +0000 (Fri, 12 Jun 2015) | 4 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/src/fma.c
+ M /branches/3.1/tests/tfma.c
+
+[src/fma.c] Fixed the scaling in case of underflow. Added log messages.
+[tests/tfma.c] Added testcases. Code clean-up.
+(merged changesets r9560-9569 from the trunk, with mpfr_flags_t
+replaced by unsigned int)
+------------------------------------------------------------------------
+r9556 | vlefevre | 2015-06-11 00:55:01 +0000 (Thu, 11 Jun 2015) | 4 lines
+Changed paths:
+ M /branches/3.1/src/urandomb.c
+
+[src/urandomb.c] Replaced mpn_copyd by MPN_COPY for GMP 4 compatibility.
+Note: The trunk does something better (see r8813), but let's keep the
+change minimal in this branch, in particular for code that is executed
+very rarely (1/2^32 or 1/2^64 probability).
+------------------------------------------------------------------------
+r9555 | vlefevre | 2015-06-11 00:34:36 +0000 (Thu, 11 Jun 2015) | 2 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/src/urandomb.c
+
+[src/urandomb.c] Replaced mpn_copyi by mpn_copyd.
+(merged changeset r8763 from the trunk)
+------------------------------------------------------------------------
+r9554 | vlefevre | 2015-06-10 23:56:37 +0000 (Wed, 10 Jun 2015) | 5 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/tests/trandom.c
+
+[tests/trandom.c] The use of mpfr_rands yielded a compilation failure
+of trandom.c with --with-gmp-build; it should have been __gmp_rands or
+RANDS. But let's do better by using a new gmp_randstate_t as done in
+bug20100914().
+(merged changeset r9553 from the trunk)
+------------------------------------------------------------------------
+r9552 | vlefevre | 2015-06-10 15:40:11 +0000 (Wed, 10 Jun 2015) | 4 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/src/urandomb.c
+ M /branches/3.1/tests/trandom.c
+
+[src/urandomb.c] Fixed bug which could appear with probability 1/2^32
+ (32-bit limbs) or 1/2^64 (64-bit limbs).
+[tests/trandom.c] Added testcase for 32-bit limbs.
+(merged changesets r8762,9550-9551 from the trunk)
+------------------------------------------------------------------------
+r9548 | vlefevre | 2015-06-10 10:47:35 +0000 (Wed, 10 Jun 2015) | 10 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/src/cos.c
+ M /branches/3.1/src/sin.c
+
+[src/{cos.c,sin.c}] Fixed bug related to the exponent range, introduced
+in r6461 with the use of mpfr_sincos_fast.
+Details:
+ For mpfr_sin, the exponent range was not restored, and restoring it
+ before calling mpfr_sincos_fast as this was done for mpfr_cos did
+ not work; indeed the source of this function shows that it needs an
+ extended exponent range. So, changed both mpfr_cos and mpfr_sin to
+ call mpfr_sincos_fast in the extended exponent range and restore the
+ exponent range at the end, like in usual code.
+(merged changeset r9542 from the trunk)
+------------------------------------------------------------------------
+r9547 | vlefevre | 2015-06-10 10:45:39 +0000 (Wed, 10 Jun 2015) | 3 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/tests/tsin.c
+
+[tests/tsin.c] Added tests to check the mpfr_sin_fast call in src/sin.c,
+which is currently buggy, modifying the exponent range in particular.
+(merged changeset r8273 from the trunk)
+------------------------------------------------------------------------
+r9546 | vlefevre | 2015-06-10 10:41:54 +0000 (Wed, 10 Jun 2015) | 4 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/tests/tgeneric.c
+
+[tests/tgeneric.c] Added overflow/underflow tests. Check whether the
+exponent range has been modified by the tested function (which should
+never happen).
+(merged/ported changesets r9539,9541,9544 from the trunk)
+------------------------------------------------------------------------
+r9524 | vlefevre | 2015-06-08 00:54:03 +0000 (Mon, 08 Jun 2015) | 6 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/src/zeta_ui.c
+ M /branches/3.1/tests/tzeta_ui.c
+
+[src/zeta_ui.c]
+ * Support reduced exponent range for the generic case.
+ * Added logging.
+[tests/tzeta_ui.c] Added tests in reduced exponent range.
+(merged changesets r9518-9523 from the trunk, with mpfr_flags_t
+replaced by unsigned int)
+------------------------------------------------------------------------
+r9522 | vlefevre | 2015-06-08 00:29:04 +0000 (Mon, 08 Jun 2015) | 2 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/src/add_ui.c
+
+[src/add_ui.c] Fixed format string in MPFR_LOG_FUNC.
+(merged changeset r9521 from the trunk)
+------------------------------------------------------------------------
+r9517 | vlefevre | 2015-06-05 08:53:56 +0000 (Fri, 05 Jun 2015) | 28 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/src/set_q.c
+ M /branches/3.1/src/ui_div.c
+ M /branches/3.1/src/ui_sub.c
+ M /branches/3.1/tests/tadd_ui.c
+ M /branches/3.1/tests/tdiv_ui.c
+ M /branches/3.1/tests/tgeneric.c
+ M /branches/3.1/tests/tmul_ui.c
+ M /branches/3.1/tests/tpow_all.c
+ M /branches/3.1/tests/tset_q.c
+ M /branches/3.1/tests/tsub_ui.c
+ M /branches/3.1/tests/tui_div.c
+ M /branches/3.1/tests/tui_sub.c
+
+Various fixes, improvements and new tests concerning the exponent range
+and exceptions (flags). Details:
+
+[src/set_q.c]
+ * Added missing MPFR_SAVE_EXPO_FREE in case of preliminary overflow
+ or underflow (extreme cases).
+ * Replaced a "return" by MPFR_RET: this is at least needed in the
+ extreme case cd != 0, and safer in general.
+
+[src/{ui_div.c,ui_sub.c}] Correction for reduced exponent range.
+
+[tests/tgeneric.c] Major clean-up, with some minor corrections.
+Added support for unsigned long argument, which can be the first
+or the second one (another intent is to replace tgeneric_ui.c,
+which does fewer tests concerning the flags).
+
+[tests/t{add,div,mul,sub}_ui.c] Replaced tgeneric_ui.c by tgeneric.c,
+showing the mpfr_mul_ui bug fixed in r9516 (missing inexact flag).
+
+[tests/tpow_all.c] Better flags output in error message.
+
+[tests/tset_q.c] Check the flags.
+
+[tests/{tui_div.c,tui_sub.c}] Added generic tests, yielding assertion
+failures without the above fix when assertions are checked. Added a
+new test checking overflow.
+
+(merged changesets r9494-9514 from the trunk)
+------------------------------------------------------------------------
+r9516 | vlefevre | 2015-06-05 08:34:34 +0000 (Fri, 05 Jun 2015) | 2 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/src/mul_ui.c
+
+[src/mul_ui.c] Fixed bug in mpfr_mul_ui/si: the inexact flag wasn't set.
+(merged changeset r9505 from the trunk)
+------------------------------------------------------------------------
+r9501 | vlefevre | 2015-06-04 10:08:54 +0000 (Thu, 04 Jun 2015) | 2 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/tests/tdiv_d.c
+
+[tests/tdiv_d.c] Corrected the tested function for the generic tests.
+(merged changeset r9500 from the trunk)
+------------------------------------------------------------------------
+r9499 | vlefevre | 2015-06-04 10:04:47 +0000 (Thu, 04 Jun 2015) | 2 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/tests/td_div.c
+
+[tests/td_div.c] Corrected the tested function for the generic tests.
+(merged changeset r9498 from the trunk)
+------------------------------------------------------------------------
+r9496 | vlefevre | 2015-06-04 02:07:49 +0000 (Thu, 04 Jun 2015) | 2 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/tests/tgeneric_ui.c
+
+[tests/tgeneric_ui.c] Added missing \n. Minor improvements.
+(merged changeset r9495 from the trunk)
+------------------------------------------------------------------------
+r9493 | vlefevre | 2015-06-03 14:27:31 +0000 (Wed, 03 Jun 2015) | 8 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/src/rint.c
+ M /branches/3.1/tests/trint.c
+
+[src/rint.c] Simplified and fixed the mpfr_rint_* functions: in some
+ corner cases, an intermediate overflow would not be propagated.
+ Handle reduced exponent range.
+[tests/trint.c] Added generic tests for the mpfr_rint_* functions.
+ Since all numbers in ]0,1/2[ round to the same value, in order to
+ avoid redundant tests, increased the TEST_RANDOM_EMIN value to -20
+ and set TEST_RANDOM_ALWAYS_SCALE to 1. Added basic tests.
+(merged changesets r8953,9472-9473,9476-9492 from the trunk)
+------------------------------------------------------------------------
+r9491 | vlefevre | 2015-06-03 14:16:59 +0000 (Wed, 03 Jun 2015) | 12 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/tests/mpfr-test.h
+ M /branches/3.1/tests/tests.c
+ M /branches/3.1/tests/tfprintf.c
+ M /branches/3.1/tests/tgeneric.c
+ M /branches/3.1/tests/tprintf.c
+ M /branches/3.1/tests/tsin_cos.c
+
+[tests] Added always_scale argument (boolean) to tests_default_random()
+so that when it is true, scaling is always performed on random numbers
+generated by mpfr_urandomb(), instead of preferring numbers of the order
+of magnitude of 1 for half outputs. This will be useful for mpfr_rint_*
+tests.
+
+For tgeneric.c, the value of this argument is controlled by a new macro
+TEST_RANDOM_ALWAYS_SCALE (0 by default, which corresponds to the current
+behavior). For the other tests that call tests_default_random(), the
+argument is set to 0, so that the behavior remains the same.
+
+(merged changeset r9471 from the trunk)
+------------------------------------------------------------------------
+r9483 | vlefevre | 2015-06-02 12:20:53 +0000 (Tue, 02 Jun 2015) | 3 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/doc/mpfr.texi
+
+[doc/mpfr.texi] Added description of the flags for the mpfr_rint,
+mpfr_ceil, mpfr_floor, mpfr_round, mpfr_trunc functions.
+(merged changeset r9482 from the trunk)
+------------------------------------------------------------------------
+r9479 | vlefevre | 2015-05-31 09:49:05 +0000 (Sun, 31 May 2015) | 3 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/configure.ac
+
+[configure.ac] For the gcc compiler, better choice of the -W flags
+when the selected language is C++ (e.g. when CC=g++).
+(merged changeset r9478 from the trunk)
+------------------------------------------------------------------------
+r9475 | vlefevre | 2015-05-29 11:19:54 +0000 (Fri, 29 May 2015) | 2 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/doc/mpfr.texi
+
+[doc/mpfr.texi] Added blank lines to improve readability.
+(merged changeset r9474 from the trunk)
+------------------------------------------------------------------------
+r9470 | vlefevre | 2015-05-29 08:55:40 +0000 (Fri, 29 May 2015) | 2 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/doc/mpfr.texi
+
+[doc/mpfr.texi] Added a remark concerning the mpfr_rint_* functions.
+(merged changeset r9469 from the trunk)
+------------------------------------------------------------------------
+r9468 | vlefevre | 2015-05-28 21:04:37 +0000 (Thu, 28 May 2015) | 2 lines
+Changed paths:
+ M /branches/3.1/tests/tstdint.c
+
+[tests/tstdint.c] Added missing #include <stdlib.h> needed since r9448
+(this #include was not necessary in the trunk thanks to r8053).
+------------------------------------------------------------------------
+r9467 | vlefevre | 2015-05-28 17:57:17 +0000 (Thu, 28 May 2015) | 9 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/src/mpfr-gmp.c
+ M /branches/3.1/src/mpfr-gmp.h
+ M /branches/3.1/src/mpfr-impl.h
+
+[src] Fixed allocation issue for multithreaded applications:
+https://sympa.inria.fr/sympa/arc/mpfr/2015-05/msg00001.html
+ * mpfr-gmp.{c,h}: made mpfr_allocate_func, mpfr_reallocate_func and
+ mpfr_free_func thread-local; updated MPFR_GET_MEMFUNC to execute
+ mp_get_memory_functions only when these pointers have not been set
+ to the actual function pointers yet.
+ * mpfr-impl.h: #include "mpfr-thread.h" earlier (before mpfr-gmp.h,
+ where MPFR_THREAD_ATTR is now used).
+(merged changeset r9466 from the trunk)
+------------------------------------------------------------------------
+r9458 | vlefevre | 2015-05-23 23:42:14 +0000 (Sat, 23 May 2015) | 1 line
+Changed paths:
+ M /branches/3.1/src/frexp.c
+
+Added svn:keywords on src/frexp.c for consistency.
+------------------------------------------------------------------------
+r9454 | vlefevre | 2015-05-23 23:09:18 +0000 (Sat, 23 May 2015) | 4 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/tests/tstdint.c
+ M /branches/3.1/tests/tvalist.c
+
+[tests/{tstdint.c,tvalist.c}] Added missing #include "mpfr-test.h"
+(detected with gcc -Werror=implicit-function-declaration), needed
+since r9448.
+(merged changeset r9453 from the trunk)
+------------------------------------------------------------------------
+r9452 | vlefevre | 2015-05-23 08:13:46 +0000 (Sat, 23 May 2015) | 2 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/tests/tstckintc.c
+
+[tests/tstckintc.c] Fixed undefined behavior (invalid pointer).
+(merged changeset r9450 from the trunk)
+------------------------------------------------------------------------
+r9448 | vlefevre | 2015-05-22 09:22:44 +0000 (Fri, 22 May 2015) | 3 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/tests/tstdint.c
+ M /branches/3.1/tests/tvalist.c
+
+[tests/{tstdint.c,tvalist.c}] Use tests_start_mpfr / tests_end_mpfr,
+in particular to detect a wrong MPFR version (due to a libtool bug).
+(merged changeset r9447 from the trunk)
+------------------------------------------------------------------------
+r9446 | vlefevre | 2015-05-21 15:09:16 +0000 (Thu, 21 May 2015) | 3 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/autogen.sh
+
+[autogen.sh] Exit with the exit status of autoreconf. Thus a failure
+will be noticed more easily.
+(merged changeset r9445 from the trunk)
+------------------------------------------------------------------------
+r9444 | vlefevre | 2015-05-21 14:15:50 +0000 (Thu, 21 May 2015) | 1 line
+Changed paths:
+ M /branches/3.1/NEWS
+
+[NEWS] Update for GNU MPFR 3.1.3.
+------------------------------------------------------------------------
+r9442 | vlefevre | 2015-05-21 14:05:16 +0000 (Thu, 21 May 2015) | 1 line
+Changed paths:
+ M /branches/3.1/tools/ck-copyright-notice
+
+[tools/ck-copyright-notice] Update from the trunk.
+------------------------------------------------------------------------
+r9439 | vlefevre | 2015-05-21 11:15:52 +0000 (Thu, 21 May 2015) | 5 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/acinclude.m4
+
+[acinclude.m4] Various corrections in the tests:
+ * MPFR_FUNC_GMP_PRINTF_SPEC: missing #include <string.h> for strcmp.
+ * Replaced rint by nearbyint in messages (as nearbyint is tested).
+ * Avoid warnings to avoid failures when -Werror is used.
+(merged changeset r9438 from the trunk)
+------------------------------------------------------------------------
+r9437 | vlefevre | 2015-05-21 01:39:10 +0000 (Thu, 21 May 2015) | 2 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/Makefile.am
+
+[Makefile.am] Added a comment about ACLOCAL_AMFLAGS.
+(merged changesets r8520,9379 from the trunk)
+------------------------------------------------------------------------
+r9436 | vlefevre | 2015-05-21 01:37:16 +0000 (Thu, 21 May 2015) | 2 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/README
+
+[README] Added ar-lib (from AM_PROG_AR) and test-driver (Automake 1.12+).
+(merged changeset r8578 from the trunk)
+------------------------------------------------------------------------
+r9435 | vlefevre | 2015-05-21 01:34:16 +0000 (Thu, 21 May 2015) | 2 lines
+Changed paths:
+ M /branches/3.1
+
+Added ar-lib to svn:ignore property (this script comes from Automake,
+due to the use of AM_PROG_AR in configure.ac).
+------------------------------------------------------------------------
+r9434 | vlefevre | 2015-05-21 01:31:08 +0000 (Thu, 21 May 2015) | 7 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/INSTALL
+ M /branches/3.1/configure.ac
+ M /branches/3.1/doc/mpfr.texi
+
+To take into account that Automake 1.13 or later will be used:
+ * doc/mpfr.texi, INSTALL: updates related to "make check".
+ * configure.ac: require Automake 1.13 since the documentation now
+ assumes that 1.13 or later is used (and because previous Automake
+ versions are no longer tested); also added AM_PROG_AR to support
+ unusual archivers (after a warning from Automake 1.13).
+(merged changesets r8546,8572-8573,8611,9375,9380 from the trunk)
+------------------------------------------------------------------------
+r9433 | vlefevre | 2015-05-21 01:01:32 +0000 (Thu, 21 May 2015) | 2 lines
+Changed paths:
+ M /branches/3.1/configure.ac
+
+[configure.ac] Updated URL's.
+(merged changeset r9081 for configure.ac from the trunk)
+------------------------------------------------------------------------
+r9432 | vlefevre | 2015-05-21 00:58:31 +0000 (Thu, 21 May 2015) | 4 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/configure.ac
+
+[configure.ac] Improved error message when the compiler doesn't know
+_Decimal64 (if MPFR is built with --enable-decimal-float).
+Detect broken _Decimal64 support on powerpc64 with the mode32 ABI.
+(merged changesets r8415,8679 from the trunk)
+------------------------------------------------------------------------
+r9431 | vlefevre | 2015-05-21 00:52:04 +0000 (Thu, 21 May 2015) | 2 lines
+Changed paths:
+ M /branches/3.1/configure.ac
+ M /branches/3.1/doc/README.dev
+ M /branches/3.1/src/add1sp.c
+ M /branches/3.1/src/mpfr-impl.h
+ M /branches/3.1/src/mul.c
+ M /branches/3.1/src/round_p.c
+ M /branches/3.1/src/set_d.c
+ M /branches/3.1/src/sub1sp.c
+
+Renamed WANT_ASSERT to MPFR_WANT_ASSERT in order to avoid a clash
+with GMP when MPFR is configured with --with-gmp-build.
+------------------------------------------------------------------------
+r9430 | vlefevre | 2015-05-21 00:41:06 +0000 (Thu, 21 May 2015) | 2 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/configure.ac
+
+[configure.ac] Added a comment mentioning a problem with GNU gold ld.
+(merged changeset r8024 from the trunk)
+------------------------------------------------------------------------
+r9429 | vlefevre | 2015-05-21 00:32:21 +0000 (Thu, 21 May 2015) | 5 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/configure.ac
+
+[configure.ac] If the gmp.h vs libgmp test fails, also output the value
+of some variables (in case config.log is available, information can
+also be retrieved from "Cache variables" and "Output variables" near
+the end).
+(merged changesets r8056,8616 from the trunk)
+------------------------------------------------------------------------
+r9428 | vlefevre | 2015-05-21 00:28:44 +0000 (Thu, 21 May 2015) | 4 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/configure.ac
+
+[configure.ac] In the CC and CFLAGS setup from gmp.h, modified the
+list of commands to select the C preprocessor since /lib/cpp isn't
+the best choice under Solaris.
+(merged changeset r8612 from the trunk)
+------------------------------------------------------------------------
+r9427 | vlefevre | 2015-05-21 00:25:47 +0000 (Thu, 21 May 2015) | 3 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/configure.ac
+
+[configure.ac] The test of CC and CFLAGS was done too late! Moved this
+test earlier.
+(merged changeset r8610 from the trunk)
+------------------------------------------------------------------------
+r9426 | vlefevre | 2015-05-21 00:12:59 +0000 (Thu, 21 May 2015) | 2 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/tests/tests.c
+
+[tests/tests.c] Changed an error message.
+(merged changesets r9208-9209,9211-9212 from the trunk)
+------------------------------------------------------------------------
+r9425 | vlefevre | 2015-05-21 00:04:47 +0000 (Thu, 21 May 2015) | 2 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/tests/tests.c
+
+[tests/tests.c] Fixed tests_default_random in case mpfr_exp_t > long.
+(merged changeset r8853 from the trunk)
+------------------------------------------------------------------------
+r9424 | vlefevre | 2015-05-20 23:58:59 +0000 (Wed, 20 May 2015) | 21 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/tests/Makefile.am
+ M /branches/3.1/tests/mpfr-test.h
+ M /branches/3.1/tests/tests.c
+ M /branches/3.1/tests/tversion.c
+
+Test suite improvement with Automake 1.13.
+ * Moved GMP version check from tversion.c to the test_version()
+ function of tests.c, so that this check is done in every test.
+ This function now returns an int, as there are now 3 cases:
+ 1. An error in MPFR version check is a fatal error: test_version()
+ exits with an error (exit status = 1).
+ 2. An error in GMP version check is a non-fatal error: if there
+ are no errors in MPFR version check, test_version() returns
+ with value 1.
+ 3. Otherwise test_version() returns with value 0 (everything is
+ fine).
+ * tversion.c still runs test_version(), but fails if this function
+ returns with an error, i.e. any error is fatal for this test.
+ Note: for the other tests, one just has a message in the output
+ in case of GMP version mismatch.
+ * mpfr-test.h: updated test_version() prototype.
+ * Makefile.am: removed the second tversion invocation, and output
+ the contents of tversion.log if this file exists (typically with
+ Automake 1.13+, for which one no longer gets tversion output by
+ default).
+(merged changesets r8821,8849 from the trunk)
+------------------------------------------------------------------------
+r9423 | vlefevre | 2015-05-20 23:44:39 +0000 (Wed, 20 May 2015) | 2 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/tests/tversion.c
+
+[tests/tversion.c] Output the applied patches (if any).
+(merged changeset r8265 from the trunk)
+------------------------------------------------------------------------
+r9422 | vlefevre | 2015-05-20 23:43:02 +0000 (Wed, 20 May 2015) | 2 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/tests/tversion.c
+
+[tests/tversion.c] Test mpfr_buildopt_tune_case() vs MPFR_TUNE_CASE.
+(merged changeset r8223 from the trunk)
+------------------------------------------------------------------------
+r9421 | vlefevre | 2015-05-20 16:17:19 +0000 (Wed, 20 May 2015) | 5 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/acinclude.m4
+ M /branches/3.1/configure.ac
+
+[acinclude.m4,configure.ac] Check that a directory passed to
+a --with-gmp* configure option exists and doesn't contain any
+space, and canonicalize the name if the realpath utility is
+available (patch by Patrick Pélissier).
+(merged changeset r8840 from the trunk)
+------------------------------------------------------------------------
+r9420 | vlefevre | 2015-05-20 16:15:46 +0000 (Wed, 20 May 2015) | 2 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/tests/Makefile.am
+
+[tests/Makefile.am] In LOADLIBES, replaced $(INCLUDES) by $(AM_CPPFLAGS)
+(completing r9411; merged changeset r8743 from the trunk)
+------------------------------------------------------------------------
+r9419 | vlefevre | 2015-05-20 16:11:33 +0000 (Wed, 20 May 2015) | 3 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/acinclude.m4
+
+[acinclude.m4] Avoid a warning due to variable set but not used in a
+test, making the test fail with gcc -Werror=unused-but-set-variable.
+(merged changeset r8729 from the trunk)
+------------------------------------------------------------------------
+r9418 | vlefevre | 2015-05-20 16:04:22 +0000 (Wed, 20 May 2015) | 1 line
+Changed paths:
+ M /branches/3.1/acinclude.m4
+
+[acinclude.m4] Replaced "main()" by "main (void)".
+------------------------------------------------------------------------
+r9417 | vlefevre | 2015-05-20 15:57:51 +0000 (Wed, 20 May 2015) | 3 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/tests/tcmp_d.c
+ M /branches/3.1/tests/tcmp_ld.c
+ M /branches/3.1/tests/tests.c
+ M /branches/3.1/tests/tget_d.c
+ M /branches/3.1/tests/trint.c
+
+[tests] Avoid warnings concerning unused variables under some conditions
+in order to avoid failures when -Werror is used.
+(merged changesets r8730,9415-9416 from the trunk)
+------------------------------------------------------------------------
+r9414 | vlefevre | 2015-05-20 14:33:30 +0000 (Wed, 20 May 2015) | 11 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/acinclude.m4
+ M /branches/3.1/src/mpfr-impl.h
+ M /branches/3.1/tests/tsprintf.c
+
+[acinclude.m4] Check struct lconv members (from <locale.h>) to avoid a
+ build failure under Android, which does not have them; see
+ https://sympa.inria.fr/sympa/arc/mpfr/2012-10/msg00002.html
+[src/mpfr-impl.h] Decimal point / thousands separator support can now be
+ detected automatically by configure (from the presence of <locale.h>
+ and the above members) or explicitly disabled/enabled by the user by
+ defining the MPFR_LCONV_DPTS macro to 0 or 1 via CFLAGS (a configure
+ switch might be added in the future).
+[tests/tsprintf.c] Do the locale_da_DK test only if MPFR_LCONV_DPTS is
+ true.
+(merged changeset r8423 from the trunk)
+------------------------------------------------------------------------
+r9413 | vlefevre | 2015-05-20 13:33:13 +0000 (Wed, 20 May 2015) | 6 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/acinclude.m4
+ M /branches/3.1/tests/tget_flt.c
+ M /branches/3.1/tests/tset_d.c
+
+[acinclude.m4] Added a test for signed zeros (defines HAVE_SIGNEDZ).
+[tests/{tset_d.c,tget_flt.c}] Disabled two tests when HAVE_SIGNEDZ
+isn't defined, because these tests rely on signed zeros.
+Note: this is needed for compilers that don't support signed zeros,
+like tcc 0.9.26 and before.
+(merged changesets r8339-8340 from the trunk)
+------------------------------------------------------------------------
+r9412 | vlefevre | 2015-05-20 12:52:26 +0000 (Wed, 20 May 2015) | 8 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/acinclude.m4
+ M /branches/3.1/configure.ac
+
+[acinclude.m4,configure.ac]
+ * Added test for double-to-integer conversion bug.
+ * Corrected a gmp.h inclusion.
+ * Added MPFR_CHECK_GMP configure check. Without this test, one could
+ get an error in MPFR_CHECK_PRINTF_SPEC (or MPFR_CHECK_DBL2INT_BUG,
+ taking into account the above addition), though the error is not
+ related to printf or a double-to-integer conversion bug.
+(merged changesets r8353-8355,8432,8601-8602,8606,8614,8900 from the trunk)
+------------------------------------------------------------------------
+r9411 | vlefevre | 2015-05-20 12:29:48 +0000 (Wed, 20 May 2015) | 3 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/acinclude.m4
+ M /branches/3.1/configure.ac
+ M /branches/3.1/m4/size_max.m4
+ M /branches/3.1/tests/Makefile.am
+ M /branches/3.1/tune/Makefile.am
+
+Updated autotools files to get rid of obsolete macros. Removed
+useless "#include <math.h>" in the test for subnormal numbers.
+(merged changesets r8337-8338,8364 from the trunk)
+------------------------------------------------------------------------
+r9410 | vlefevre | 2015-05-20 11:52:40 +0000 (Wed, 20 May 2015) | 2 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/acinclude.m4
+ M /branches/3.1/doc/README.dev
+ M /branches/3.1/src/round_raw_generic.c
+ M /branches/3.1/src/set_d.c
+ M /branches/3.1/tests/tests.c
+ M /branches/3.1/tests/tset_d.c
+
+Replaced "denormalized" by the official term "subnormal".
+(merged changeset r8334 from the trunk)
+------------------------------------------------------------------------
+r9409 | vlefevre | 2015-05-20 11:47:38 +0000 (Wed, 20 May 2015) | 2 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/tests/tests.c
+
+[tests/tests.c] Improved a type, avoiding a compiler warning.
+(merged changeset r8117 from the trunk)
+------------------------------------------------------------------------
+r9408 | vlefevre | 2015-05-20 11:19:53 +0000 (Wed, 20 May 2015) | 1 line
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/tests/tversion.c
+
+[tests/tversion.c] Added GCC version (merged r8662 from the trunk).
+------------------------------------------------------------------------
+r9406 | vlefevre | 2015-05-20 08:35:52 +0000 (Wed, 20 May 2015) | 1 line
+Changed paths:
+ M /branches/3.1/doc/mpfr.texi
+
+[doc/mpfr.texi] Updated the month.
+------------------------------------------------------------------------
+r9405 | vlefevre | 2015-05-20 08:35:02 +0000 (Wed, 20 May 2015) | 1 line
+Changed paths:
+ M /branches/3.1/doc/mpfr.texi
+
+[doc/mpfr.texi] Correction of the latest changes.
+------------------------------------------------------------------------
+r9404 | vlefevre | 2015-05-20 08:32:09 +0000 (Wed, 20 May 2015) | 2 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/INSTALL
+ M /branches/3.1/README
+ M /branches/3.1/TODO
+ M /branches/3.1/doc/mpfr.texi
+ M /branches/3.1/src/vasprintf.c
+
+Merged some documentation changes from the trunk. Added a note in
+the mpfr_get_str description (in mpfr.texi) about the flags.
+------------------------------------------------------------------------
+r9403 | vlefevre | 2015-05-20 08:00:07 +0000 (Wed, 20 May 2015) | 5 lines
+Changed paths:
+ M /branches/3.1/BUGS
+ M /branches/3.1/INSTALL
+ M /branches/3.1/Makefile.am
+ M /branches/3.1/NEWS
+ M /branches/3.1/README
+ M /branches/3.1/TODO
+ M /branches/3.1/acinclude.m4
+ M /branches/3.1/configure.ac
+ M /branches/3.1/doc/FAQ.html
+ M /branches/3.1/doc/Makefile.am
+ M /branches/3.1/doc/README.dev
+ M /branches/3.1/doc/faq.xsl
+ M /branches/3.1/doc/mpfr.texi
+ M /branches/3.1/examples/divworst.c
+ M /branches/3.1/examples/rndo-add.c
+ M /branches/3.1/examples/sample.c
+ M /branches/3.1/examples/version.c
+ M /branches/3.1/src/Makefile.am
+ M /branches/3.1/src/abort_prec_max.c
+ M /branches/3.1/src/acos.c
+ M /branches/3.1/src/acosh.c
+ M /branches/3.1/src/add.c
+ M /branches/3.1/src/add1.c
+ M /branches/3.1/src/add1sp.c
+ M /branches/3.1/src/add_d.c
+ M /branches/3.1/src/add_ui.c
+ M /branches/3.1/src/agm.c
+ M /branches/3.1/src/ai.c
+ M /branches/3.1/src/amd/amdfam10/mparam.h
+ M /branches/3.1/src/amd/athlon/mparam.h
+ M /branches/3.1/src/amd/k8/mparam.h
+ M /branches/3.1/src/arm/mparam.h
+ M /branches/3.1/src/asin.c
+ M /branches/3.1/src/asinh.c
+ M /branches/3.1/src/atan.c
+ M /branches/3.1/src/atan2.c
+ M /branches/3.1/src/atanh.c
+ M /branches/3.1/src/bernoulli.c
+ M /branches/3.1/src/buildopt.c
+ M /branches/3.1/src/cache.c
+ M /branches/3.1/src/cbrt.c
+ M /branches/3.1/src/check.c
+ M /branches/3.1/src/clear.c
+ M /branches/3.1/src/clears.c
+ M /branches/3.1/src/cmp.c
+ M /branches/3.1/src/cmp2.c
+ M /branches/3.1/src/cmp_abs.c
+ M /branches/3.1/src/cmp_d.c
+ M /branches/3.1/src/cmp_ld.c
+ M /branches/3.1/src/cmp_si.c
+ M /branches/3.1/src/cmp_ui.c
+ M /branches/3.1/src/comparisons.c
+ M /branches/3.1/src/const_catalan.c
+ M /branches/3.1/src/const_euler.c
+ M /branches/3.1/src/const_log2.c
+ M /branches/3.1/src/const_pi.c
+ M /branches/3.1/src/constant.c
+ M /branches/3.1/src/copysign.c
+ M /branches/3.1/src/cos.c
+ M /branches/3.1/src/cosh.c
+ M /branches/3.1/src/cot.c
+ M /branches/3.1/src/coth.c
+ M /branches/3.1/src/csc.c
+ M /branches/3.1/src/csch.c
+ M /branches/3.1/src/d_div.c
+ M /branches/3.1/src/d_sub.c
+ M /branches/3.1/src/digamma.c
+ M /branches/3.1/src/dim.c
+ M /branches/3.1/src/div.c
+ M /branches/3.1/src/div_2exp.c
+ M /branches/3.1/src/div_2si.c
+ M /branches/3.1/src/div_2ui.c
+ M /branches/3.1/src/div_d.c
+ M /branches/3.1/src/div_ui.c
+ M /branches/3.1/src/dump.c
+ M /branches/3.1/src/eint.c
+ M /branches/3.1/src/eq.c
+ M /branches/3.1/src/erf.c
+ M /branches/3.1/src/erfc.c
+ M /branches/3.1/src/exceptions.c
+ M /branches/3.1/src/exp.c
+ M /branches/3.1/src/exp10.c
+ M /branches/3.1/src/exp2.c
+ M /branches/3.1/src/exp3.c
+ M /branches/3.1/src/exp_2.c
+ M /branches/3.1/src/expm1.c
+ M /branches/3.1/src/extract.c
+ M /branches/3.1/src/factorial.c
+ M /branches/3.1/src/fits_intmax.c
+ M /branches/3.1/src/fits_s.h
+ M /branches/3.1/src/fits_sint.c
+ M /branches/3.1/src/fits_slong.c
+ M /branches/3.1/src/fits_sshort.c
+ M /branches/3.1/src/fits_u.h
+ M /branches/3.1/src/fits_uint.c
+ M /branches/3.1/src/fits_uintmax.c
+ M /branches/3.1/src/fits_ulong.c
+ M /branches/3.1/src/fits_ushort.c
+ M /branches/3.1/src/fma.c
+ M /branches/3.1/src/fms.c
+ M /branches/3.1/src/frac.c
+ M /branches/3.1/src/free_cache.c
+ M /branches/3.1/src/frexp.c
+ M /branches/3.1/src/gamma.c
+ M /branches/3.1/src/gammaonethird.c
+ M /branches/3.1/src/gen_inverse.h
+ M /branches/3.1/src/generic/mparam.h
+ M /branches/3.1/src/get_d.c
+ M /branches/3.1/src/get_d64.c
+ M /branches/3.1/src/get_exp.c
+ M /branches/3.1/src/get_f.c
+ M /branches/3.1/src/get_flt.c
+ M /branches/3.1/src/get_ld.c
+ M /branches/3.1/src/get_si.c
+ M /branches/3.1/src/get_sj.c
+ M /branches/3.1/src/get_str.c
+ M /branches/3.1/src/get_ui.c
+ M /branches/3.1/src/get_uj.c
+ M /branches/3.1/src/get_z.c
+ M /branches/3.1/src/get_z_exp.c
+ M /branches/3.1/src/gmp_op.c
+ M /branches/3.1/src/grandom.c
+ M /branches/3.1/src/hppa/mparam.h
+ M /branches/3.1/src/hypot.c
+ M /branches/3.1/src/ia64/mparam.h
+ M /branches/3.1/src/ieee_floats.h
+ M /branches/3.1/src/init.c
+ M /branches/3.1/src/init2.c
+ M /branches/3.1/src/inits.c
+ M /branches/3.1/src/inits2.c
+ M /branches/3.1/src/inp_str.c
+ M /branches/3.1/src/int_ceil_log2.c
+ M /branches/3.1/src/isinf.c
+ M /branches/3.1/src/isinteger.c
+ M /branches/3.1/src/isnan.c
+ M /branches/3.1/src/isnum.c
+ M /branches/3.1/src/isqrt.c
+ M /branches/3.1/src/isregular.c
+ M /branches/3.1/src/iszero.c
+ M /branches/3.1/src/jn.c
+ M /branches/3.1/src/jyn_asympt.c
+ M /branches/3.1/src/li2.c
+ M /branches/3.1/src/lngamma.c
+ M /branches/3.1/src/log.c
+ M /branches/3.1/src/log10.c
+ M /branches/3.1/src/log1p.c
+ M /branches/3.1/src/log2.c
+ M /branches/3.1/src/logging.c
+ M /branches/3.1/src/min_prec.c
+ M /branches/3.1/src/minmax.c
+ M /branches/3.1/src/modf.c
+ M /branches/3.1/src/mp_clz_tab.c
+ M /branches/3.1/src/mparam_h.in
+ M /branches/3.1/src/mpf2mpfr.h
+ M /branches/3.1/src/mpfr-gmp.c
+ M /branches/3.1/src/mpfr-gmp.h
+ M /branches/3.1/src/mpfr-impl.h
+ M /branches/3.1/src/mpfr-intmax.h
+ M /branches/3.1/src/mpfr-longlong.h
+ M /branches/3.1/src/mpfr-thread.h
+ M /branches/3.1/src/mpfr.h
+ M /branches/3.1/src/mpn_exp.c
+ M /branches/3.1/src/mul.c
+ M /branches/3.1/src/mul_2exp.c
+ M /branches/3.1/src/mul_2si.c
+ M /branches/3.1/src/mul_2ui.c
+ M /branches/3.1/src/mul_d.c
+ M /branches/3.1/src/mul_ui.c
+ M /branches/3.1/src/mulders.c
+ M /branches/3.1/src/neg.c
+ M /branches/3.1/src/next.c
+ M /branches/3.1/src/out_raw.c
+ M /branches/3.1/src/out_str.c
+ M /branches/3.1/src/pow.c
+ M /branches/3.1/src/pow_si.c
+ M /branches/3.1/src/pow_ui.c
+ M /branches/3.1/src/pow_z.c
+ M /branches/3.1/src/powerof2.c
+ M /branches/3.1/src/powerpc32/mparam.h
+ M /branches/3.1/src/powerpc64/mparam.h
+ M /branches/3.1/src/print_raw.c
+ M /branches/3.1/src/print_rnd_mode.c
+ M /branches/3.1/src/printf.c
+ M /branches/3.1/src/rec_sqrt.c
+ M /branches/3.1/src/reldiff.c
+ M /branches/3.1/src/rem1.c
+ M /branches/3.1/src/rint.c
+ M /branches/3.1/src/root.c
+ M /branches/3.1/src/round_near_x.c
+ M /branches/3.1/src/round_p.c
+ M /branches/3.1/src/round_prec.c
+ M /branches/3.1/src/round_raw_generic.c
+ M /branches/3.1/src/scale2.c
+ M /branches/3.1/src/sec.c
+ M /branches/3.1/src/sech.c
+ M /branches/3.1/src/set.c
+ M /branches/3.1/src/set_d.c
+ M /branches/3.1/src/set_d64.c
+ M /branches/3.1/src/set_dfl_prec.c
+ M /branches/3.1/src/set_exp.c
+ M /branches/3.1/src/set_f.c
+ M /branches/3.1/src/set_flt.c
+ M /branches/3.1/src/set_inf.c
+ M /branches/3.1/src/set_ld.c
+ M /branches/3.1/src/set_nan.c
+ M /branches/3.1/src/set_prc_raw.c
+ M /branches/3.1/src/set_prec.c
+ M /branches/3.1/src/set_q.c
+ M /branches/3.1/src/set_rnd.c
+ M /branches/3.1/src/set_si.c
+ M /branches/3.1/src/set_si_2exp.c
+ M /branches/3.1/src/set_sj.c
+ M /branches/3.1/src/set_str.c
+ M /branches/3.1/src/set_str_raw.c
+ M /branches/3.1/src/set_ui.c
+ M /branches/3.1/src/set_ui_2exp.c
+ M /branches/3.1/src/set_uj.c
+ M /branches/3.1/src/set_z.c
+ M /branches/3.1/src/set_z_exp.c
+ M /branches/3.1/src/set_zero.c
+ M /branches/3.1/src/setmax.c
+ M /branches/3.1/src/setmin.c
+ M /branches/3.1/src/setsign.c
+ M /branches/3.1/src/sgn.c
+ M /branches/3.1/src/si_op.c
+ M /branches/3.1/src/signbit.c
+ M /branches/3.1/src/sin.c
+ M /branches/3.1/src/sin_cos.c
+ M /branches/3.1/src/sinh.c
+ M /branches/3.1/src/sinh_cosh.c
+ M /branches/3.1/src/sparc64/mparam.h
+ M /branches/3.1/src/sqr.c
+ M /branches/3.1/src/sqrt.c
+ M /branches/3.1/src/sqrt_ui.c
+ M /branches/3.1/src/stack_interface.c
+ M /branches/3.1/src/strtofr.c
+ M /branches/3.1/src/sub.c
+ M /branches/3.1/src/sub1.c
+ M /branches/3.1/src/sub1sp.c
+ M /branches/3.1/src/sub_d.c
+ M /branches/3.1/src/sub_ui.c
+ M /branches/3.1/src/subnormal.c
+ M /branches/3.1/src/sum.c
+ M /branches/3.1/src/swap.c
+ M /branches/3.1/src/tan.c
+ M /branches/3.1/src/tanh.c
+ M /branches/3.1/src/uceil_exp2.c
+ M /branches/3.1/src/uceil_log2.c
+ M /branches/3.1/src/ufloor_log2.c
+ M /branches/3.1/src/ui_div.c
+ M /branches/3.1/src/ui_pow.c
+ M /branches/3.1/src/ui_pow_ui.c
+ M /branches/3.1/src/ui_sub.c
+ M /branches/3.1/src/urandom.c
+ M /branches/3.1/src/urandomb.c
+ M /branches/3.1/src/vasprintf.c
+ M /branches/3.1/src/version.c
+ M /branches/3.1/src/volatile.c
+ M /branches/3.1/src/x86/core2/mparam.h
+ M /branches/3.1/src/x86/mparam.h
+ M /branches/3.1/src/x86_64/core2/mparam.h
+ M /branches/3.1/src/x86_64/pentium4/mparam.h
+ M /branches/3.1/src/yn.c
+ M /branches/3.1/src/zeta.c
+ M /branches/3.1/src/zeta_ui.c
+ M /branches/3.1/tests/Makefile.am
+ M /branches/3.1/tests/cmp_str.c
+ M /branches/3.1/tests/data/digamma
+ M /branches/3.1/tests/data/li2
+ M /branches/3.1/tests/memory.c
+ M /branches/3.1/tests/mpf_compat.c
+ M /branches/3.1/tests/mpf_compat.h
+ M /branches/3.1/tests/mpfr-test.h
+ M /branches/3.1/tests/mpfr_compat.c
+ M /branches/3.1/tests/random2.c
+ M /branches/3.1/tests/reuse.c
+ M /branches/3.1/tests/rnd_mode.c
+ M /branches/3.1/tests/tabs.c
+ M /branches/3.1/tests/tacos.c
+ M /branches/3.1/tests/tacosh.c
+ M /branches/3.1/tests/tadd.c
+ M /branches/3.1/tests/tadd1sp.c
+ M /branches/3.1/tests/tadd_d.c
+ M /branches/3.1/tests/tadd_ui.c
+ M /branches/3.1/tests/tagm.c
+ M /branches/3.1/tests/tai.c
+ M /branches/3.1/tests/tasin.c
+ M /branches/3.1/tests/tasinh.c
+ M /branches/3.1/tests/tatan.c
+ M /branches/3.1/tests/tatanh.c
+ M /branches/3.1/tests/taway.c
+ M /branches/3.1/tests/tbuildopt.c
+ M /branches/3.1/tests/tcan_round.c
+ M /branches/3.1/tests/tcbrt.c
+ M /branches/3.1/tests/tcheck.c
+ M /branches/3.1/tests/tcmp.c
+ M /branches/3.1/tests/tcmp2.c
+ M /branches/3.1/tests/tcmp_d.c
+ M /branches/3.1/tests/tcmp_ld.c
+ M /branches/3.1/tests/tcmp_ui.c
+ M /branches/3.1/tests/tcmpabs.c
+ M /branches/3.1/tests/tcomparisons.c
+ M /branches/3.1/tests/tconst_catalan.c
+ M /branches/3.1/tests/tconst_euler.c
+ M /branches/3.1/tests/tconst_log2.c
+ M /branches/3.1/tests/tconst_pi.c
+ M /branches/3.1/tests/tcopysign.c
+ M /branches/3.1/tests/tcos.c
+ M /branches/3.1/tests/tcosh.c
+ M /branches/3.1/tests/tcot.c
+ M /branches/3.1/tests/tcoth.c
+ M /branches/3.1/tests/tcsc.c
+ M /branches/3.1/tests/tcsch.c
+ M /branches/3.1/tests/td_div.c
+ M /branches/3.1/tests/td_sub.c
+ M /branches/3.1/tests/tdigamma.c
+ M /branches/3.1/tests/tdim.c
+ M /branches/3.1/tests/tdiv.c
+ M /branches/3.1/tests/tdiv_d.c
+ M /branches/3.1/tests/tdiv_ui.c
+ M /branches/3.1/tests/teint.c
+ M /branches/3.1/tests/teq.c
+ M /branches/3.1/tests/terf.c
+ M /branches/3.1/tests/tests.c
+ M /branches/3.1/tests/texceptions.c
+ M /branches/3.1/tests/texp.c
+ M /branches/3.1/tests/texp10.c
+ M /branches/3.1/tests/texp2.c
+ M /branches/3.1/tests/texpm1.c
+ M /branches/3.1/tests/tfactorial.c
+ M /branches/3.1/tests/tfits.c
+ M /branches/3.1/tests/tfma.c
+ M /branches/3.1/tests/tfmod.c
+ M /branches/3.1/tests/tfms.c
+ M /branches/3.1/tests/tfprintf.c
+ M /branches/3.1/tests/tfrac.c
+ M /branches/3.1/tests/tfrexp.c
+ M /branches/3.1/tests/tgamma.c
+ M /branches/3.1/tests/tgeneric.c
+ M /branches/3.1/tests/tgeneric_ui.c
+ M /branches/3.1/tests/tget_d.c
+ M /branches/3.1/tests/tget_d_2exp.c
+ M /branches/3.1/tests/tget_f.c
+ M /branches/3.1/tests/tget_flt.c
+ M /branches/3.1/tests/tget_ld_2exp.c
+ M /branches/3.1/tests/tget_set_d64.c
+ M /branches/3.1/tests/tget_sj.c
+ M /branches/3.1/tests/tget_str.c
+ M /branches/3.1/tests/tget_z.c
+ M /branches/3.1/tests/tgmpop.c
+ M /branches/3.1/tests/tgrandom.c
+ M /branches/3.1/tests/thyperbolic.c
+ M /branches/3.1/tests/thypot.c
+ M /branches/3.1/tests/tinits.c
+ M /branches/3.1/tests/tinp_str.c
+ M /branches/3.1/tests/tinternals.c
+ M /branches/3.1/tests/tisnan.c
+ M /branches/3.1/tests/tisqrt.c
+ M /branches/3.1/tests/tj0.c
+ M /branches/3.1/tests/tj1.c
+ M /branches/3.1/tests/tjn.c
+ M /branches/3.1/tests/tl2b.c
+ M /branches/3.1/tests/tlgamma.c
+ M /branches/3.1/tests/tli2.c
+ M /branches/3.1/tests/tlngamma.c
+ M /branches/3.1/tests/tlog.c
+ M /branches/3.1/tests/tlog10.c
+ M /branches/3.1/tests/tlog1p.c
+ M /branches/3.1/tests/tlog2.c
+ M /branches/3.1/tests/tmin_prec.c
+ M /branches/3.1/tests/tminmax.c
+ M /branches/3.1/tests/tmodf.c
+ M /branches/3.1/tests/tmul.c
+ M /branches/3.1/tests/tmul_2exp.c
+ M /branches/3.1/tests/tmul_d.c
+ M /branches/3.1/tests/tmul_ui.c
+ M /branches/3.1/tests/tnext.c
+ M /branches/3.1/tests/tout_str.c
+ M /branches/3.1/tests/toutimpl.c
+ M /branches/3.1/tests/tpow.c
+ M /branches/3.1/tests/tpow3.c
+ M /branches/3.1/tests/tpow_all.c
+ M /branches/3.1/tests/tpow_z.c
+ M /branches/3.1/tests/tprintf.c
+ M /branches/3.1/tests/trandom.c
+ M /branches/3.1/tests/trec_sqrt.c
+ M /branches/3.1/tests/tremquo.c
+ M /branches/3.1/tests/trint.c
+ M /branches/3.1/tests/troot.c
+ M /branches/3.1/tests/tround_prec.c
+ M /branches/3.1/tests/tsec.c
+ M /branches/3.1/tests/tsech.c
+ M /branches/3.1/tests/tset.c
+ M /branches/3.1/tests/tset_d.c
+ M /branches/3.1/tests/tset_exp.c
+ M /branches/3.1/tests/tset_f.c
+ M /branches/3.1/tests/tset_ld.c
+ M /branches/3.1/tests/tset_q.c
+ M /branches/3.1/tests/tset_si.c
+ M /branches/3.1/tests/tset_sj.c
+ M /branches/3.1/tests/tset_str.c
+ M /branches/3.1/tests/tset_z.c
+ M /branches/3.1/tests/tset_z_exp.c
+ M /branches/3.1/tests/tsgn.c
+ M /branches/3.1/tests/tsi_op.c
+ M /branches/3.1/tests/tsin.c
+ M /branches/3.1/tests/tsin_cos.c
+ M /branches/3.1/tests/tsinh.c
+ M /branches/3.1/tests/tsinh_cosh.c
+ M /branches/3.1/tests/tsprintf.c
+ M /branches/3.1/tests/tsqr.c
+ M /branches/3.1/tests/tsqrt.c
+ M /branches/3.1/tests/tsqrt_ui.c
+ M /branches/3.1/tests/tstckintc.c
+ M /branches/3.1/tests/tstdint.c
+ M /branches/3.1/tests/tstrtofr.c
+ M /branches/3.1/tests/tsub.c
+ M /branches/3.1/tests/tsub1sp.c
+ M /branches/3.1/tests/tsub_d.c
+ M /branches/3.1/tests/tsub_ui.c
+ M /branches/3.1/tests/tsubnormal.c
+ M /branches/3.1/tests/tsum.c
+ M /branches/3.1/tests/tswap.c
+ M /branches/3.1/tests/ttan.c
+ M /branches/3.1/tests/ttanh.c
+ M /branches/3.1/tests/ttrunc.c
+ M /branches/3.1/tests/tui_div.c
+ M /branches/3.1/tests/tui_pow.c
+ M /branches/3.1/tests/tui_sub.c
+ M /branches/3.1/tests/turandom.c
+ M /branches/3.1/tests/tvalist.c
+ M /branches/3.1/tests/tversion.c
+ M /branches/3.1/tests/ty0.c
+ M /branches/3.1/tests/ty1.c
+ M /branches/3.1/tests/tyn.c
+ M /branches/3.1/tests/tzeta.c
+ M /branches/3.1/tests/tzeta_ui.c
+ M /branches/3.1/tools/ck-copyright-notice
+ M /branches/3.1/tools/ck-mparam
+ M /branches/3.1/tools/ck-version-info
+ M /branches/3.1/tools/get_patches.sh
+ M /branches/3.1/tune/Makefile.am
+ M /branches/3.1/tune/bidimensional_sample.c
+ M /branches/3.1/tune/speed.c
+ M /branches/3.1/tune/tuneup.c
+
+Copyright notice update: added 2015 with
+ perl -pi -e 's/ (\d{4}-)?(2014)(?= Free Software)/
+ " ".($1||"$2-").($2+1)/e' **/*(^/)
+under zsh (the m4 and tools/mbench directories were not modified).
+Removed 2014 from the example in the doc/README.dev file.
+------------------------------------------------------------------------
+r9243 | vlefevre | 2014-12-04 01:04:28 +0000 (Thu, 04 Dec 2014) | 6 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/src/strtofr.c
+
+[src/strtofr.c] Fix of a buffer overflow due to incorrect
+GMP documentation for mpn_set_str. See discussion:
+ https://gmplib.org/list-archives/gmp-bugs/2013-December/003267.html
+and the first fix in the GMP documentation:
+ https://gmplib.org/repo/gmp-5.1/raw-rev/d19172622a74
+(merged changeset r8722 from the trunk)
+------------------------------------------------------------------------
+r9110 | vlefevre | 2014-06-26 10:59:38 +0000 (Thu, 26 Jun 2014) | 5 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/src/vasprintf.c
+ M /branches/3.1/tests/tsprintf.c
+
+[src/vasprintf.c] Fixed assertion failures for tiny numbers (the code
+was correct, but the assertions didn't check against the right bound).
+[tests/tsprintf.c] Added a test with the minimum exponent, triggering
+as assertion failure in vasprintf.c without this correction.
+(merged changesets r9099-9100,9108-9109 from the trunk)
+------------------------------------------------------------------------
+r9105 | vlefevre | 2014-06-26 00:40:26 +0000 (Thu, 26 Jun 2014) | 2 lines
+Changed paths:
+ M /branches/3.1/src/div.c
+
+[src/div.c] Bug fix: avoid an integer overflow when dividing the
+largest finite MPFR number by the smallest positive one.
+------------------------------------------------------------------------
+r9104 | vlefevre | 2014-06-26 00:17:33 +0000 (Thu, 26 Jun 2014) | 1 line
+Changed paths:
+ M /branches/3.1/tests/tdiv.c
+
+[tests/tdiv.c] Forgot "exit (1);".
+------------------------------------------------------------------------
+r9102 | vlefevre | 2014-06-26 00:05:24 +0000 (Thu, 26 Jun 2014) | 3 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/tests/tdiv.c
+
+[tests/tdiv.c] Merged mpfr_div tests r9101 from the trunk.
+Note: the test actually fails (see output), but the "exit (1);"
+was forgotten (added later in r9104).
+------------------------------------------------------------------------
+r9055 | vlefevre | 2014-05-22 00:15:28 +0000 (Thu, 22 May 2014) | 1 line
+Changed paths:
+ M /branches/3.1/README
+ M /branches/3.1/doc/README.dev
+
+Changed "INRIAGForge" to "InriaForge" (due to the rename).
+------------------------------------------------------------------------
+r9034 | vlefevre | 2014-04-15 21:27:48 +0000 (Tue, 15 Apr 2014) | 9 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/configure.ac
+ M /branches/3.1/src/init2.c
+ M /branches/3.1/src/mpfr-gmp.h
+ M /branches/3.1/src/mpfr-impl.h
+ M /branches/3.1/src/mul.c
+ M /branches/3.1/src/stack_interface.c
+
+BYTES_PER_MP_LIMB -> MPFR_BYTES_PER_MP_LIMB for GMP 6 compatibility
+when --with-gmp-build is used. See mailing-list discussion:
+ https://sympa.inria.fr/sympa/arc/mpfr/2014-04/msg00000.html
+Updated configure test on GMP_NUMB_BITS and sizeof(mp_limb_t):
+ * BYTES_PER_MP_LIMB is no longer tested.
+ * The test is now always run, not just when --with-gmp-build is used.
+ * Results are output in config.log in case of failure.
+ * The error message has been updated.
+(merged changesets r9029,9030 from the trunk, with conflict resolution)
+------------------------------------------------------------------------
+r9004 | vlefevre | 2014-03-14 11:40:57 +0000 (Fri, 14 Mar 2014) | 1 line
+Changed paths:
+ M /branches/3.1/doc/mpfr.texi
+
+[doc/mpfr.texi] Updated the month.
+------------------------------------------------------------------------
+r9003 | vlefevre | 2014-03-14 11:39:59 +0000 (Fri, 14 Mar 2014) | 2 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/doc/mpfr.texi
+
+[doc/mpfr.texi] Correction in the mpfr_set_str description.
+(merged changeset r9001 from the trunk)
+------------------------------------------------------------------------
+r8803 | vlefevre | 2014-01-20 14:24:44 +0000 (Mon, 20 Jan 2014) | 3 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/src/exp3.c
+ M /branches/3.1/tests/texp.c
+
+[src/exp3.c] Fixed bug in mpfr_exp_3 (affecting mpfr_exp).
+[tests/texp.c] Added corresponding testcase.
+(merged changesets r8797,8802 from the trunk)
+------------------------------------------------------------------------
+r8801 | vlefevre | 2014-01-20 11:22:00 +0000 (Mon, 20 Jan 2014) | 4 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/src/li2.c
+
+[src/li2.c] Use MPFR_RET_NEVER_GO_HERE () instead of MPFR_ASSERTN (0)
+to avoid an error with:
+ ./configure --enable-logging CFLAGS="-Werror=return-type"; make
+(merged changeset r8799 from the trunk)
+------------------------------------------------------------------------
+r8800 | vlefevre | 2014-01-20 11:18:34 +0000 (Mon, 20 Jan 2014) | 3 lines
+Changed paths:
+ A /branches/3.1/autogen.sh (from /trunk/autogen.sh:8797)
+
+Added autogen.sh sh script from Daniel Richard G. to install/update the
+autotools files and clean up caches (useful before a release).
+[copied from the trunk]
+------------------------------------------------------------------------
+r8735 | vlefevre | 2014-01-07 00:53:51 +0000 (Tue, 07 Jan 2014) | 2 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/TODO
+ M /branches/3.1/doc/README.dev
+ M /branches/3.1/src/div_ui.c
+ M /branches/3.1/src/eint.c
+ M /branches/3.1/src/erfc.c
+ M /branches/3.1/src/strtofr.c
+ M /branches/3.1/src/sub1sp.c
+ M /branches/3.1/src/vasprintf.c
+
+Fixed misspellings, using codespell.
+(merged changesets r8733-8734 from the trunk)
+------------------------------------------------------------------------
+r8727 | vlefevre | 2014-01-04 03:03:01 +0000 (Sat, 04 Jan 2014) | 1 line
+Changed paths:
+ M /branches/3.1/doc/mpfr.texi
+
+[doc/mpfr.texi] Updated the month.
+------------------------------------------------------------------------
+r8724 | vlefevre | 2014-01-03 20:39:49 +0000 (Fri, 03 Jan 2014) | 6 lines
+Changed paths:
+ M /branches/3.1/BUGS
+ M /branches/3.1/INSTALL
+ M /branches/3.1/Makefile.am
+ M /branches/3.1/NEWS
+ M /branches/3.1/README
+ M /branches/3.1/TODO
+ M /branches/3.1/acinclude.m4
+ M /branches/3.1/configure.ac
+ M /branches/3.1/doc/FAQ.html
+ M /branches/3.1/doc/Makefile.am
+ M /branches/3.1/doc/README.dev
+ M /branches/3.1/doc/faq.xsl
+ M /branches/3.1/doc/mpfr.texi
+ M /branches/3.1/examples/divworst.c
+ M /branches/3.1/examples/rndo-add.c
+ M /branches/3.1/examples/sample.c
+ M /branches/3.1/examples/version.c
+ M /branches/3.1/src/Makefile.am
+ M /branches/3.1/src/abort_prec_max.c
+ M /branches/3.1/src/acos.c
+ M /branches/3.1/src/acosh.c
+ M /branches/3.1/src/add.c
+ M /branches/3.1/src/add1.c
+ M /branches/3.1/src/add1sp.c
+ M /branches/3.1/src/add_d.c
+ M /branches/3.1/src/add_ui.c
+ M /branches/3.1/src/agm.c
+ M /branches/3.1/src/ai.c
+ M /branches/3.1/src/amd/amdfam10/mparam.h
+ M /branches/3.1/src/amd/athlon/mparam.h
+ M /branches/3.1/src/amd/k8/mparam.h
+ M /branches/3.1/src/arm/mparam.h
+ M /branches/3.1/src/asin.c
+ M /branches/3.1/src/asinh.c
+ M /branches/3.1/src/atan.c
+ M /branches/3.1/src/atan2.c
+ M /branches/3.1/src/atanh.c
+ M /branches/3.1/src/bernoulli.c
+ M /branches/3.1/src/buildopt.c
+ M /branches/3.1/src/cache.c
+ M /branches/3.1/src/cbrt.c
+ M /branches/3.1/src/check.c
+ M /branches/3.1/src/clear.c
+ M /branches/3.1/src/clears.c
+ M /branches/3.1/src/cmp.c
+ M /branches/3.1/src/cmp2.c
+ M /branches/3.1/src/cmp_abs.c
+ M /branches/3.1/src/cmp_d.c
+ M /branches/3.1/src/cmp_ld.c
+ M /branches/3.1/src/cmp_si.c
+ M /branches/3.1/src/cmp_ui.c
+ M /branches/3.1/src/comparisons.c
+ M /branches/3.1/src/const_catalan.c
+ M /branches/3.1/src/const_euler.c
+ M /branches/3.1/src/const_log2.c
+ M /branches/3.1/src/const_pi.c
+ M /branches/3.1/src/constant.c
+ M /branches/3.1/src/copysign.c
+ M /branches/3.1/src/cos.c
+ M /branches/3.1/src/cosh.c
+ M /branches/3.1/src/cot.c
+ M /branches/3.1/src/coth.c
+ M /branches/3.1/src/csc.c
+ M /branches/3.1/src/csch.c
+ M /branches/3.1/src/d_div.c
+ M /branches/3.1/src/d_sub.c
+ M /branches/3.1/src/digamma.c
+ M /branches/3.1/src/dim.c
+ M /branches/3.1/src/div.c
+ M /branches/3.1/src/div_2exp.c
+ M /branches/3.1/src/div_2si.c
+ M /branches/3.1/src/div_2ui.c
+ M /branches/3.1/src/div_d.c
+ M /branches/3.1/src/div_ui.c
+ M /branches/3.1/src/dump.c
+ M /branches/3.1/src/eint.c
+ M /branches/3.1/src/eq.c
+ M /branches/3.1/src/erf.c
+ M /branches/3.1/src/erfc.c
+ M /branches/3.1/src/exceptions.c
+ M /branches/3.1/src/exp.c
+ M /branches/3.1/src/exp10.c
+ M /branches/3.1/src/exp2.c
+ M /branches/3.1/src/exp3.c
+ M /branches/3.1/src/exp_2.c
+ M /branches/3.1/src/expm1.c
+ M /branches/3.1/src/extract.c
+ M /branches/3.1/src/factorial.c
+ M /branches/3.1/src/fits_intmax.c
+ M /branches/3.1/src/fits_s.h
+ M /branches/3.1/src/fits_sint.c
+ M /branches/3.1/src/fits_slong.c
+ M /branches/3.1/src/fits_sshort.c
+ M /branches/3.1/src/fits_u.h
+ M /branches/3.1/src/fits_uint.c
+ M /branches/3.1/src/fits_uintmax.c
+ M /branches/3.1/src/fits_ulong.c
+ M /branches/3.1/src/fits_ushort.c
+ M /branches/3.1/src/fma.c
+ M /branches/3.1/src/fms.c
+ M /branches/3.1/src/frac.c
+ M /branches/3.1/src/free_cache.c
+ M /branches/3.1/src/frexp.c
+ M /branches/3.1/src/gamma.c
+ M /branches/3.1/src/gammaonethird.c
+ M /branches/3.1/src/gen_inverse.h
+ M /branches/3.1/src/generic/mparam.h
+ M /branches/3.1/src/get_d.c
+ M /branches/3.1/src/get_d64.c
+ M /branches/3.1/src/get_exp.c
+ M /branches/3.1/src/get_f.c
+ M /branches/3.1/src/get_flt.c
+ M /branches/3.1/src/get_ld.c
+ M /branches/3.1/src/get_si.c
+ M /branches/3.1/src/get_sj.c
+ M /branches/3.1/src/get_str.c
+ M /branches/3.1/src/get_ui.c
+ M /branches/3.1/src/get_uj.c
+ M /branches/3.1/src/get_z.c
+ M /branches/3.1/src/get_z_exp.c
+ M /branches/3.1/src/gmp_op.c
+ M /branches/3.1/src/grandom.c
+ M /branches/3.1/src/hppa/mparam.h
+ M /branches/3.1/src/hypot.c
+ M /branches/3.1/src/ia64/mparam.h
+ M /branches/3.1/src/ieee_floats.h
+ M /branches/3.1/src/init.c
+ M /branches/3.1/src/init2.c
+ M /branches/3.1/src/inits.c
+ M /branches/3.1/src/inits2.c
+ M /branches/3.1/src/inp_str.c
+ M /branches/3.1/src/int_ceil_log2.c
+ M /branches/3.1/src/isinf.c
+ M /branches/3.1/src/isinteger.c
+ M /branches/3.1/src/isnan.c
+ M /branches/3.1/src/isnum.c
+ M /branches/3.1/src/isqrt.c
+ M /branches/3.1/src/isregular.c
+ M /branches/3.1/src/iszero.c
+ M /branches/3.1/src/jn.c
+ M /branches/3.1/src/jyn_asympt.c
+ M /branches/3.1/src/li2.c
+ M /branches/3.1/src/lngamma.c
+ M /branches/3.1/src/log.c
+ M /branches/3.1/src/log10.c
+ M /branches/3.1/src/log1p.c
+ M /branches/3.1/src/log2.c
+ M /branches/3.1/src/logging.c
+ M /branches/3.1/src/min_prec.c
+ M /branches/3.1/src/minmax.c
+ M /branches/3.1/src/modf.c
+ M /branches/3.1/src/mp_clz_tab.c
+ M /branches/3.1/src/mparam_h.in
+ M /branches/3.1/src/mpf2mpfr.h
+ M /branches/3.1/src/mpfr-gmp.c
+ M /branches/3.1/src/mpfr-gmp.h
+ M /branches/3.1/src/mpfr-impl.h
+ M /branches/3.1/src/mpfr-intmax.h
+ M /branches/3.1/src/mpfr-longlong.h
+ M /branches/3.1/src/mpfr-thread.h
+ M /branches/3.1/src/mpfr.h
+ M /branches/3.1/src/mpn_exp.c
+ M /branches/3.1/src/mul.c
+ M /branches/3.1/src/mul_2exp.c
+ M /branches/3.1/src/mul_2si.c
+ M /branches/3.1/src/mul_2ui.c
+ M /branches/3.1/src/mul_d.c
+ M /branches/3.1/src/mul_ui.c
+ M /branches/3.1/src/mulders.c
+ M /branches/3.1/src/neg.c
+ M /branches/3.1/src/next.c
+ M /branches/3.1/src/out_raw.c
+ M /branches/3.1/src/out_str.c
+ M /branches/3.1/src/pow.c
+ M /branches/3.1/src/pow_si.c
+ M /branches/3.1/src/pow_ui.c
+ M /branches/3.1/src/pow_z.c
+ M /branches/3.1/src/powerof2.c
+ M /branches/3.1/src/powerpc32/mparam.h
+ M /branches/3.1/src/powerpc64/mparam.h
+ M /branches/3.1/src/print_raw.c
+ M /branches/3.1/src/print_rnd_mode.c
+ M /branches/3.1/src/printf.c
+ M /branches/3.1/src/rec_sqrt.c
+ M /branches/3.1/src/reldiff.c
+ M /branches/3.1/src/rem1.c
+ M /branches/3.1/src/rint.c
+ M /branches/3.1/src/root.c
+ M /branches/3.1/src/round_near_x.c
+ M /branches/3.1/src/round_p.c
+ M /branches/3.1/src/round_prec.c
+ M /branches/3.1/src/round_raw_generic.c
+ M /branches/3.1/src/scale2.c
+ M /branches/3.1/src/sec.c
+ M /branches/3.1/src/sech.c
+ M /branches/3.1/src/set.c
+ M /branches/3.1/src/set_d.c
+ M /branches/3.1/src/set_d64.c
+ M /branches/3.1/src/set_dfl_prec.c
+ M /branches/3.1/src/set_exp.c
+ M /branches/3.1/src/set_f.c
+ M /branches/3.1/src/set_flt.c
+ M /branches/3.1/src/set_inf.c
+ M /branches/3.1/src/set_ld.c
+ M /branches/3.1/src/set_nan.c
+ M /branches/3.1/src/set_prc_raw.c
+ M /branches/3.1/src/set_prec.c
+ M /branches/3.1/src/set_q.c
+ M /branches/3.1/src/set_rnd.c
+ M /branches/3.1/src/set_si.c
+ M /branches/3.1/src/set_si_2exp.c
+ M /branches/3.1/src/set_sj.c
+ M /branches/3.1/src/set_str.c
+ M /branches/3.1/src/set_str_raw.c
+ M /branches/3.1/src/set_ui.c
+ M /branches/3.1/src/set_ui_2exp.c
+ M /branches/3.1/src/set_uj.c
+ M /branches/3.1/src/set_z.c
+ M /branches/3.1/src/set_z_exp.c
+ M /branches/3.1/src/set_zero.c
+ M /branches/3.1/src/setmax.c
+ M /branches/3.1/src/setmin.c
+ M /branches/3.1/src/setsign.c
+ M /branches/3.1/src/sgn.c
+ M /branches/3.1/src/si_op.c
+ M /branches/3.1/src/signbit.c
+ M /branches/3.1/src/sin.c
+ M /branches/3.1/src/sin_cos.c
+ M /branches/3.1/src/sinh.c
+ M /branches/3.1/src/sinh_cosh.c
+ M /branches/3.1/src/sparc64/mparam.h
+ M /branches/3.1/src/sqr.c
+ M /branches/3.1/src/sqrt.c
+ M /branches/3.1/src/sqrt_ui.c
+ M /branches/3.1/src/stack_interface.c
+ M /branches/3.1/src/strtofr.c
+ M /branches/3.1/src/sub.c
+ M /branches/3.1/src/sub1.c
+ M /branches/3.1/src/sub1sp.c
+ M /branches/3.1/src/sub_d.c
+ M /branches/3.1/src/sub_ui.c
+ M /branches/3.1/src/subnormal.c
+ M /branches/3.1/src/sum.c
+ M /branches/3.1/src/swap.c
+ M /branches/3.1/src/tan.c
+ M /branches/3.1/src/tanh.c
+ M /branches/3.1/src/uceil_exp2.c
+ M /branches/3.1/src/uceil_log2.c
+ M /branches/3.1/src/ufloor_log2.c
+ M /branches/3.1/src/ui_div.c
+ M /branches/3.1/src/ui_pow.c
+ M /branches/3.1/src/ui_pow_ui.c
+ M /branches/3.1/src/ui_sub.c
+ M /branches/3.1/src/urandom.c
+ M /branches/3.1/src/urandomb.c
+ M /branches/3.1/src/vasprintf.c
+ M /branches/3.1/src/version.c
+ M /branches/3.1/src/volatile.c
+ M /branches/3.1/src/x86/core2/mparam.h
+ M /branches/3.1/src/x86/mparam.h
+ M /branches/3.1/src/x86_64/core2/mparam.h
+ M /branches/3.1/src/x86_64/pentium4/mparam.h
+ M /branches/3.1/src/yn.c
+ M /branches/3.1/src/zeta.c
+ M /branches/3.1/src/zeta_ui.c
+ M /branches/3.1/tests/Makefile.am
+ M /branches/3.1/tests/cmp_str.c
+ M /branches/3.1/tests/data/digamma
+ M /branches/3.1/tests/data/li2
+ M /branches/3.1/tests/memory.c
+ M /branches/3.1/tests/mpf_compat.c
+ M /branches/3.1/tests/mpf_compat.h
+ M /branches/3.1/tests/mpfr-test.h
+ M /branches/3.1/tests/mpfr_compat.c
+ M /branches/3.1/tests/random2.c
+ M /branches/3.1/tests/reuse.c
+ M /branches/3.1/tests/rnd_mode.c
+ M /branches/3.1/tests/tabs.c
+ M /branches/3.1/tests/tacos.c
+ M /branches/3.1/tests/tacosh.c
+ M /branches/3.1/tests/tadd.c
+ M /branches/3.1/tests/tadd1sp.c
+ M /branches/3.1/tests/tadd_d.c
+ M /branches/3.1/tests/tadd_ui.c
+ M /branches/3.1/tests/tagm.c
+ M /branches/3.1/tests/tai.c
+ M /branches/3.1/tests/tasin.c
+ M /branches/3.1/tests/tasinh.c
+ M /branches/3.1/tests/tatan.c
+ M /branches/3.1/tests/tatanh.c
+ M /branches/3.1/tests/taway.c
+ M /branches/3.1/tests/tbuildopt.c
+ M /branches/3.1/tests/tcan_round.c
+ M /branches/3.1/tests/tcbrt.c
+ M /branches/3.1/tests/tcheck.c
+ M /branches/3.1/tests/tcmp.c
+ M /branches/3.1/tests/tcmp2.c
+ M /branches/3.1/tests/tcmp_d.c
+ M /branches/3.1/tests/tcmp_ld.c
+ M /branches/3.1/tests/tcmp_ui.c
+ M /branches/3.1/tests/tcmpabs.c
+ M /branches/3.1/tests/tcomparisons.c
+ M /branches/3.1/tests/tconst_catalan.c
+ M /branches/3.1/tests/tconst_euler.c
+ M /branches/3.1/tests/tconst_log2.c
+ M /branches/3.1/tests/tconst_pi.c
+ M /branches/3.1/tests/tcopysign.c
+ M /branches/3.1/tests/tcos.c
+ M /branches/3.1/tests/tcosh.c
+ M /branches/3.1/tests/tcot.c
+ M /branches/3.1/tests/tcoth.c
+ M /branches/3.1/tests/tcsc.c
+ M /branches/3.1/tests/tcsch.c
+ M /branches/3.1/tests/td_div.c
+ M /branches/3.1/tests/td_sub.c
+ M /branches/3.1/tests/tdigamma.c
+ M /branches/3.1/tests/tdim.c
+ M /branches/3.1/tests/tdiv.c
+ M /branches/3.1/tests/tdiv_d.c
+ M /branches/3.1/tests/tdiv_ui.c
+ M /branches/3.1/tests/teint.c
+ M /branches/3.1/tests/teq.c
+ M /branches/3.1/tests/terf.c
+ M /branches/3.1/tests/tests.c
+ M /branches/3.1/tests/texceptions.c
+ M /branches/3.1/tests/texp.c
+ M /branches/3.1/tests/texp10.c
+ M /branches/3.1/tests/texp2.c
+ M /branches/3.1/tests/texpm1.c
+ M /branches/3.1/tests/tfactorial.c
+ M /branches/3.1/tests/tfits.c
+ M /branches/3.1/tests/tfma.c
+ M /branches/3.1/tests/tfmod.c
+ M /branches/3.1/tests/tfms.c
+ M /branches/3.1/tests/tfprintf.c
+ M /branches/3.1/tests/tfrac.c
+ M /branches/3.1/tests/tfrexp.c
+ M /branches/3.1/tests/tgamma.c
+ M /branches/3.1/tests/tgeneric.c
+ M /branches/3.1/tests/tgeneric_ui.c
+ M /branches/3.1/tests/tget_d.c
+ M /branches/3.1/tests/tget_d_2exp.c
+ M /branches/3.1/tests/tget_f.c
+ M /branches/3.1/tests/tget_flt.c
+ M /branches/3.1/tests/tget_ld_2exp.c
+ M /branches/3.1/tests/tget_set_d64.c
+ M /branches/3.1/tests/tget_sj.c
+ M /branches/3.1/tests/tget_str.c
+ M /branches/3.1/tests/tget_z.c
+ M /branches/3.1/tests/tgmpop.c
+ M /branches/3.1/tests/tgrandom.c
+ M /branches/3.1/tests/thyperbolic.c
+ M /branches/3.1/tests/thypot.c
+ M /branches/3.1/tests/tinits.c
+ M /branches/3.1/tests/tinp_str.c
+ M /branches/3.1/tests/tinternals.c
+ M /branches/3.1/tests/tisnan.c
+ M /branches/3.1/tests/tisqrt.c
+ M /branches/3.1/tests/tj0.c
+ M /branches/3.1/tests/tj1.c
+ M /branches/3.1/tests/tjn.c
+ M /branches/3.1/tests/tl2b.c
+ M /branches/3.1/tests/tlgamma.c
+ M /branches/3.1/tests/tli2.c
+ M /branches/3.1/tests/tlngamma.c
+ M /branches/3.1/tests/tlog.c
+ M /branches/3.1/tests/tlog10.c
+ M /branches/3.1/tests/tlog1p.c
+ M /branches/3.1/tests/tlog2.c
+ M /branches/3.1/tests/tmin_prec.c
+ M /branches/3.1/tests/tminmax.c
+ M /branches/3.1/tests/tmodf.c
+ M /branches/3.1/tests/tmul.c
+ M /branches/3.1/tests/tmul_2exp.c
+ M /branches/3.1/tests/tmul_d.c
+ M /branches/3.1/tests/tmul_ui.c
+ M /branches/3.1/tests/tnext.c
+ M /branches/3.1/tests/tout_str.c
+ M /branches/3.1/tests/toutimpl.c
+ M /branches/3.1/tests/tpow.c
+ M /branches/3.1/tests/tpow3.c
+ M /branches/3.1/tests/tpow_all.c
+ M /branches/3.1/tests/tpow_z.c
+ M /branches/3.1/tests/tprintf.c
+ M /branches/3.1/tests/trandom.c
+ M /branches/3.1/tests/trec_sqrt.c
+ M /branches/3.1/tests/tremquo.c
+ M /branches/3.1/tests/trint.c
+ M /branches/3.1/tests/troot.c
+ M /branches/3.1/tests/tround_prec.c
+ M /branches/3.1/tests/tsec.c
+ M /branches/3.1/tests/tsech.c
+ M /branches/3.1/tests/tset.c
+ M /branches/3.1/tests/tset_d.c
+ M /branches/3.1/tests/tset_exp.c
+ M /branches/3.1/tests/tset_f.c
+ M /branches/3.1/tests/tset_ld.c
+ M /branches/3.1/tests/tset_q.c
+ M /branches/3.1/tests/tset_si.c
+ M /branches/3.1/tests/tset_sj.c
+ M /branches/3.1/tests/tset_str.c
+ M /branches/3.1/tests/tset_z.c
+ M /branches/3.1/tests/tset_z_exp.c
+ M /branches/3.1/tests/tsgn.c
+ M /branches/3.1/tests/tsi_op.c
+ M /branches/3.1/tests/tsin.c
+ M /branches/3.1/tests/tsin_cos.c
+ M /branches/3.1/tests/tsinh.c
+ M /branches/3.1/tests/tsinh_cosh.c
+ M /branches/3.1/tests/tsprintf.c
+ M /branches/3.1/tests/tsqr.c
+ M /branches/3.1/tests/tsqrt.c
+ M /branches/3.1/tests/tsqrt_ui.c
+ M /branches/3.1/tests/tstckintc.c
+ M /branches/3.1/tests/tstdint.c
+ M /branches/3.1/tests/tstrtofr.c
+ M /branches/3.1/tests/tsub.c
+ M /branches/3.1/tests/tsub1sp.c
+ M /branches/3.1/tests/tsub_d.c
+ M /branches/3.1/tests/tsub_ui.c
+ M /branches/3.1/tests/tsubnormal.c
+ M /branches/3.1/tests/tsum.c
+ M /branches/3.1/tests/tswap.c
+ M /branches/3.1/tests/ttan.c
+ M /branches/3.1/tests/ttanh.c
+ M /branches/3.1/tests/ttrunc.c
+ M /branches/3.1/tests/tui_div.c
+ M /branches/3.1/tests/tui_pow.c
+ M /branches/3.1/tests/tui_sub.c
+ M /branches/3.1/tests/turandom.c
+ M /branches/3.1/tests/tvalist.c
+ M /branches/3.1/tests/tversion.c
+ M /branches/3.1/tests/ty0.c
+ M /branches/3.1/tests/ty1.c
+ M /branches/3.1/tests/tyn.c
+ M /branches/3.1/tests/tzeta.c
+ M /branches/3.1/tests/tzeta_ui.c
+ M /branches/3.1/tools/ck-copyright-notice
+ M /branches/3.1/tools/ck-mparam
+ M /branches/3.1/tools/ck-version-info
+ M /branches/3.1/tools/get_patches.sh
+ M /branches/3.1/tune/Makefile.am
+ M /branches/3.1/tune/bidimensional_sample.c
+ M /branches/3.1/tune/speed.c
+ M /branches/3.1/tune/tuneup.c
+
+Copyright notice update: added 2014 with
+ perl -pi -e 's/ (\d{4}-)?(2013)(?= Free Software)/
+ " ".($1||"$2-").($2+1)/e' **/*(^/)
+under zsh, reverting the ChangeLog file (the m4 and tools/mbench
+directories were not modified).
+Removed 2013 from the example in the doc/README.dev file.
+------------------------------------------------------------------------
+r8718 | vlefevre | 2013-11-28 18:19:35 +0000 (Thu, 28 Nov 2013) | 2 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/tests/tstckintc.c
+
+[tests/tstckintc.c] Correction and test improvements.
+(merged changesets r8264,8716 from the trunk)
+------------------------------------------------------------------------
+r8717 | vlefevre | 2013-11-28 18:15:18 +0000 (Thu, 28 Nov 2013) | 6 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/src/mpfr.h
+
+[src/mpfr.h] Fixed bug in the mpfr_custom_init_set macro (typo in
+variable name, which can yield incorrect behavior if the second
+argument is not a simple expression).
+Thanks to Andreas Enge for the bug report:
+ https://sympa.inria.fr/sympa/arc/mpfr/2013-11/msg00029.html
+(merged changeset r8715 from the trunk)
+------------------------------------------------------------------------
+r8710 | vlefevre | 2013-11-15 00:47:50 +0000 (Fri, 15 Nov 2013) | 2 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/tests/tsprintf.c
+
+[tests/tsprintf.c] Added a few tests.
+(merged changeset r8709 from the trunk)
+------------------------------------------------------------------------
+r8708 | vlefevre | 2013-11-15 00:37:30 +0000 (Fri, 15 Nov 2013) | 5 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/src/vasprintf.c
+ M /branches/3.1/tests/tsprintf.c
+
+[src/vasprintf.c] Fixed bug reported by David Binderman, occurring when
+ outputting 0 with the '#' flag, a positive precision, and the 'g'/'G'
+ conversion specifier: there was one additional trailing 0.
+[tests/tsprintf.c] Corrected the corresponding test.
+(merged changesets r8705-8706 from the trunk)
+------------------------------------------------------------------------
+r8704 | vlefevre | 2013-11-06 15:15:12 +0000 (Wed, 06 Nov 2013) | 2 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/tests/thypot.c
+
+[tests/thypot.c] Fix use of non explicitly initialized variable in NaN test.
+(merged changesets r8702-8703 from the trunk)
+------------------------------------------------------------------------
+r8691 | vlefevre | 2013-09-27 13:50:16 +0000 (Fri, 27 Sep 2013) | 8 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/src/mpfr-impl.h
+ M /branches/3.1/tests/tget_flt.c
+ M /branches/3.1/tests/tset_ld.c
+
+Made changes to avoid test failures with:
+ clang -O2 -fsanitize=undefined -fno-sanitize-recover
+[src/mpfr-impl.h] With clang, disable division by zero using constants
+due to a bug in its sanitizer and because IEEE 754 division by zero is
+currently not properly supported.
+[tests/{tget_flt.c,tset_ld.c}] Avoid divisions by 0 if MPFR_ERRDIVZERO
+and avoid an overflow on double.
+(merged changesets r8685-8687,8690 from the trunk)
+------------------------------------------------------------------------
+r8684 | vlefevre | 2013-09-26 10:47:05 +0000 (Thu, 26 Sep 2013) | 7 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/src/fits_u.h
+ M /branches/3.1/src/fits_uintmax.c
+ M /branches/3.1/tests/tfits.c
+
+[src/{fits_u.h,fits_uintmax.c}] Fixed the mpfr_fits_u*_p functions,
+ which incorrectly returned 0 ("doesn't fit") on negative arguments
+ when the rounding to an integer was 0. The fits_uintmax.c file now
+ uses fits_u.h for consistency.
+[tests/tfits.c] Added tests, in particular for small negative op
+ (triggering the above bug) and in non-RNDN rounding modes.
+(merged changesets r8494,8501-8503 from the trunk)
+------------------------------------------------------------------------
+r8683 | vlefevre | 2013-09-26 10:28:49 +0000 (Thu, 26 Sep 2013) | 3 lines
+Changed paths:
+ M /branches/3.1
+ M /branches/3.1/src/exp_2.c
+
+[src/exp_2.c] Fixed undefined behavior (present in all MPFR versions)
+detected by "clang -fsanitize=undefined".
+(merged changeset r8604 from the trunk)
+------------------------------------------------------------------------
+r8545 | vlefevre | 2013-05-30 15:59:08 +0000 (Thu, 30 May 2013) | 2 lines
+Changed paths:
+ M /branches/3.1/tools/ck-copyright-notice
+
+[tools/ck-copyright-notice] Update for copyright year ranges.
+(merged changeset r8544 from the trunk)
+------------------------------------------------------------------------
+r8543 | vlefevre | 2013-05-30 15:55:09 +0000 (Thu, 30 May 2013) | 1 line
+Changed paths:
+ M /branches/3.1/doc/mpfr.texi
+
+[doc/mpfr.texi] Updated the month.
+------------------------------------------------------------------------
+r8541 | vlefevre | 2013-05-30 15:53:34 +0000 (Thu, 30 May 2013) | 2 lines
+Changed paths:
+ M /branches/3.1/BUGS
+ M /branches/3.1/INSTALL
+ M /branches/3.1/Makefile.am
+ M /branches/3.1/NEWS
+ M /branches/3.1/README
+ M /branches/3.1/TODO
+ M /branches/3.1/acinclude.m4
+ M /branches/3.1/configure.ac
+ M /branches/3.1/doc/FAQ.html
+ M /branches/3.1/doc/Makefile.am
+ M /branches/3.1/doc/README.dev
+ M /branches/3.1/doc/faq.xsl
+ M /branches/3.1/doc/mpfr.texi
+ M /branches/3.1/examples/divworst.c
+ M /branches/3.1/examples/rndo-add.c
+ M /branches/3.1/examples/sample.c
+ M /branches/3.1/examples/version.c
+ M /branches/3.1/src/Makefile.am
+ M /branches/3.1/src/abort_prec_max.c
+ M /branches/3.1/src/acos.c
+ M /branches/3.1/src/acosh.c
+ M /branches/3.1/src/add.c
+ M /branches/3.1/src/add1.c
+ M /branches/3.1/src/add1sp.c
+ M /branches/3.1/src/add_d.c
+ M /branches/3.1/src/add_ui.c
+ M /branches/3.1/src/agm.c
+ M /branches/3.1/src/ai.c
+ M /branches/3.1/src/amd/amdfam10/mparam.h
+ M /branches/3.1/src/amd/athlon/mparam.h
+ M /branches/3.1/src/amd/k8/mparam.h
+ M /branches/3.1/src/arm/mparam.h
+ M /branches/3.1/src/asin.c
+ M /branches/3.1/src/asinh.c
+ M /branches/3.1/src/atan.c
+ M /branches/3.1/src/atan2.c
+ M /branches/3.1/src/atanh.c
+ M /branches/3.1/src/bernoulli.c
+ M /branches/3.1/src/buildopt.c
+ M /branches/3.1/src/cache.c
+ M /branches/3.1/src/cbrt.c
+ M /branches/3.1/src/check.c
+ M /branches/3.1/src/clear.c
+ M /branches/3.1/src/clears.c
+ M /branches/3.1/src/cmp.c
+ M /branches/3.1/src/cmp2.c
+ M /branches/3.1/src/cmp_abs.c
+ M /branches/3.1/src/cmp_d.c
+ M /branches/3.1/src/cmp_ld.c
+ M /branches/3.1/src/cmp_si.c
+ M /branches/3.1/src/cmp_ui.c
+ M /branches/3.1/src/comparisons.c
+ M /branches/3.1/src/const_catalan.c
+ M /branches/3.1/src/const_euler.c
+ M /branches/3.1/src/const_log2.c
+ M /branches/3.1/src/const_pi.c
+ M /branches/3.1/src/constant.c
+ M /branches/3.1/src/copysign.c
+ M /branches/3.1/src/cos.c
+ M /branches/3.1/src/cosh.c
+ M /branches/3.1/src/cot.c
+ M /branches/3.1/src/coth.c
+ M /branches/3.1/src/csc.c
+ M /branches/3.1/src/csch.c
+ M /branches/3.1/src/d_div.c
+ M /branches/3.1/src/d_sub.c
+ M /branches/3.1/src/digamma.c
+ M /branches/3.1/src/dim.c
+ M /branches/3.1/src/div.c
+ M /branches/3.1/src/div_2exp.c
+ M /branches/3.1/src/div_2si.c
+ M /branches/3.1/src/div_2ui.c
+ M /branches/3.1/src/div_d.c
+ M /branches/3.1/src/div_ui.c
+ M /branches/3.1/src/dump.c
+ M /branches/3.1/src/eint.c
+ M /branches/3.1/src/eq.c
+ M /branches/3.1/src/erf.c
+ M /branches/3.1/src/erfc.c
+ M /branches/3.1/src/exceptions.c
+ M /branches/3.1/src/exp.c
+ M /branches/3.1/src/exp10.c
+ M /branches/3.1/src/exp2.c
+ M /branches/3.1/src/exp3.c
+ M /branches/3.1/src/exp_2.c
+ M /branches/3.1/src/expm1.c
+ M /branches/3.1/src/extract.c
+ M /branches/3.1/src/factorial.c
+ M /branches/3.1/src/fits_intmax.c
+ M /branches/3.1/src/fits_s.h
+ M /branches/3.1/src/fits_sint.c
+ M /branches/3.1/src/fits_slong.c
+ M /branches/3.1/src/fits_sshort.c
+ M /branches/3.1/src/fits_u.h
+ M /branches/3.1/src/fits_uint.c
+ M /branches/3.1/src/fits_uintmax.c
+ M /branches/3.1/src/fits_ulong.c
+ M /branches/3.1/src/fits_ushort.c
+ M /branches/3.1/src/fma.c
+ M /branches/3.1/src/fms.c
+ M /branches/3.1/src/frac.c
+ M /branches/3.1/src/free_cache.c
+ M /branches/3.1/src/frexp.c
+ M /branches/3.1/src/gamma.c
+ M /branches/3.1/src/gammaonethird.c
+ M /branches/3.1/src/gen_inverse.h
+ M /branches/3.1/src/generic/mparam.h
+ M /branches/3.1/src/get_d.c
+ M /branches/3.1/src/get_d64.c
+ M /branches/3.1/src/get_exp.c
+ M /branches/3.1/src/get_f.c
+ M /branches/3.1/src/get_flt.c
+ M /branches/3.1/src/get_ld.c
+ M /branches/3.1/src/get_si.c
+ M /branches/3.1/src/get_sj.c
+ M /branches/3.1/src/get_str.c
+ M /branches/3.1/src/get_ui.c
+ M /branches/3.1/src/get_uj.c
+ M /branches/3.1/src/get_z.c
+ M /branches/3.1/src/get_z_exp.c
+ M /branches/3.1/src/gmp_op.c
+ M /branches/3.1/src/grandom.c
+ M /branches/3.1/src/hppa/mparam.h
+ M /branches/3.1/src/hypot.c
+ M /branches/3.1/src/ia64/mparam.h
+ M /branches/3.1/src/ieee_floats.h
+ M /branches/3.1/src/init.c
+ M /branches/3.1/src/init2.c
+ M /branches/3.1/src/inits.c
+ M /branches/3.1/src/inits2.c
+ M /branches/3.1/src/inp_str.c
+ M /branches/3.1/src/int_ceil_log2.c
+ M /branches/3.1/src/isinf.c
+ M /branches/3.1/src/isinteger.c
+ M /branches/3.1/src/isnan.c
+ M /branches/3.1/src/isnum.c
+ M /branches/3.1/src/isqrt.c
+ M /branches/3.1/src/isregular.c
+ M /branches/3.1/src/iszero.c
+ M /branches/3.1/src/jn.c
+ M /branches/3.1/src/jyn_asympt.c
+ M /branches/3.1/src/li2.c
+ M /branches/3.1/src/lngamma.c
+ M /branches/3.1/src/log.c
+ M /branches/3.1/src/log10.c
+ M /branches/3.1/src/log1p.c
+ M /branches/3.1/src/log2.c
+ M /branches/3.1/src/logging.c
+ M /branches/3.1/src/min_prec.c
+ M /branches/3.1/src/minmax.c
+ M /branches/3.1/src/modf.c
+ M /branches/3.1/src/mp_clz_tab.c
+ M /branches/3.1/src/mparam_h.in
+ M /branches/3.1/src/mpf2mpfr.h
+ M /branches/3.1/src/mpfr-gmp.c
+ M /branches/3.1/src/mpfr-gmp.h
+ M /branches/3.1/src/mpfr-impl.h
+ M /branches/3.1/src/mpfr-intmax.h
+ M /branches/3.1/src/mpfr-thread.h
+ M /branches/3.1/src/mpfr.h
+ M /branches/3.1/src/mpn_exp.c
+ M /branches/3.1/src/mul.c
+ M /branches/3.1/src/mul_2exp.c
+ M /branches/3.1/src/mul_2si.c
+ M /branches/3.1/src/mul_2ui.c
+ M /branches/3.1/src/mul_d.c
+ M /branches/3.1/src/mul_ui.c
+ M /branches/3.1/src/mulders.c
+ M /branches/3.1/src/neg.c
+ M /branches/3.1/src/next.c
+ M /branches/3.1/src/out_raw.c
+ M /branches/3.1/src/out_str.c
+ M /branches/3.1/src/pow.c
+ M /branches/3.1/src/pow_si.c
+ M /branches/3.1/src/pow_ui.c
+ M /branches/3.1/src/pow_z.c
+ M /branches/3.1/src/powerof2.c
+ M /branches/3.1/src/powerpc32/mparam.h
+ M /branches/3.1/src/powerpc64/mparam.h
+ M /branches/3.1/src/print_raw.c
+ M /branches/3.1/src/print_rnd_mode.c
+ M /branches/3.1/src/printf.c
+ M /branches/3.1/src/rec_sqrt.c
+ M /branches/3.1/src/reldiff.c
+ M /branches/3.1/src/rem1.c
+ M /branches/3.1/src/rint.c
+ M /branches/3.1/src/root.c
+ M /branches/3.1/src/round_near_x.c
+ M /branches/3.1/src/round_p.c
+ M /branches/3.1/src/round_prec.c
+ M /branches/3.1/src/round_raw_generic.c
+ M /branches/3.1/src/scale2.c
+ M /branches/3.1/src/sec.c
+ M /branches/3.1/src/sech.c
+ M /branches/3.1/src/set.c
+ M /branches/3.1/src/set_d.c
+ M /branches/3.1/src/set_d64.c
+ M /branches/3.1/src/set_dfl_prec.c
+ M /branches/3.1/src/set_exp.c
+ M /branches/3.1/src/set_f.c
+ M /branches/3.1/src/set_flt.c
+ M /branches/3.1/src/set_inf.c
+ M /branches/3.1/src/set_ld.c
+ M /branches/3.1/src/set_nan.c
+ M /branches/3.1/src/set_prc_raw.c
+ M /branches/3.1/src/set_prec.c
+ M /branches/3.1/src/set_q.c
+ M /branches/3.1/src/set_rnd.c
+ M /branches/3.1/src/set_si.c
+ M /branches/3.1/src/set_si_2exp.c
+ M /branches/3.1/src/set_sj.c
+ M /branches/3.1/src/set_str.c
+ M /branches/3.1/src/set_str_raw.c
+ M /branches/3.1/src/set_ui.c
+ M /branches/3.1/src/set_ui_2exp.c
+ M /branches/3.1/src/set_uj.c
+ M /branches/3.1/src/set_z.c
+ M /branches/3.1/src/set_z_exp.c
+ M /branches/3.1/src/set_zero.c
+ M /branches/3.1/src/setmax.c
+ M /branches/3.1/src/setmin.c
+ M /branches/3.1/src/setsign.c
+ M /branches/3.1/src/sgn.c
+ M /branches/3.1/src/si_op.c
+ M /branches/3.1/src/signbit.c
+ M /branches/3.1/src/sin.c
+ M /branches/3.1/src/sin_cos.c
+ M /branches/3.1/src/sinh.c
+ M /branches/3.1/src/sinh_cosh.c
+ M /branches/3.1/src/sparc64/mparam.h
+ M /branches/3.1/src/sqr.c
+ M /branches/3.1/src/sqrt.c
+ M /branches/3.1/src/sqrt_ui.c
+ M /branches/3.1/src/stack_interface.c
+ M /branches/3.1/src/strtofr.c
+ M /branches/3.1/src/sub.c
+ M /branches/3.1/src/sub1.c
+ M /branches/3.1/src/sub1sp.c
+ M /branches/3.1/src/sub_d.c
+ M /branches/3.1/src/sub_ui.c
+ M /branches/3.1/src/subnormal.c
+ M /branches/3.1/src/sum.c
+ M /branches/3.1/src/swap.c
+ M /branches/3.1/src/tan.c
+ M /branches/3.1/src/tanh.c
+ M /branches/3.1/src/uceil_exp2.c
+ M /branches/3.1/src/uceil_log2.c
+ M /branches/3.1/src/ufloor_log2.c
+ M /branches/3.1/src/ui_div.c
+ M /branches/3.1/src/ui_pow.c
+ M /branches/3.1/src/ui_pow_ui.c
+ M /branches/3.1/src/ui_sub.c
+ M /branches/3.1/src/urandom.c
+ M /branches/3.1/src/urandomb.c
+ M /branches/3.1/src/vasprintf.c
+ M /branches/3.1/src/version.c
+ M /branches/3.1/src/volatile.c
+ M /branches/3.1/src/x86/core2/mparam.h
+ M /branches/3.1/src/x86/mparam.h
+ M /branches/3.1/src/x86_64/core2/mparam.h
+ M /branches/3.1/src/x86_64/pentium4/mparam.h
+ M /branches/3.1/src/yn.c
+ M /branches/3.1/src/zeta.c
+ M /branches/3.1/src/zeta_ui.c
+ M /branches/3.1/tests/Makefile.am
+ M /branches/3.1/tests/cmp_str.c
+ M /branches/3.1/tests/data/digamma
+ M /branches/3.1/tests/data/li2
+ M /branches/3.1/tests/memory.c
+ M /branches/3.1/tests/mpf_compat.c
+ M /branches/3.1/tests/mpf_compat.h
+ M /branches/3.1/tests/mpfr-test.h
+ M /branches/3.1/tests/mpfr_compat.c
+ M /branches/3.1/tests/random2.c
+ M /branches/3.1/tests/reuse.c
+ M /branches/3.1/tests/rnd_mode.c
+ M /branches/3.1/tests/tabs.c
+ M /branches/3.1/tests/tacos.c
+ M /branches/3.1/tests/tacosh.c
+ M /branches/3.1/tests/tadd.c
+ M /branches/3.1/tests/tadd1sp.c
+ M /branches/3.1/tests/tadd_d.c
+ M /branches/3.1/tests/tadd_ui.c
+ M /branches/3.1/tests/tagm.c
+ M /branches/3.1/tests/tai.c
+ M /branches/3.1/tests/tasin.c
+ M /branches/3.1/tests/tasinh.c
+ M /branches/3.1/tests/tatan.c
+ M /branches/3.1/tests/tatanh.c
+ M /branches/3.1/tests/taway.c
+ M /branches/3.1/tests/tbuildopt.c
+ M /branches/3.1/tests/tcan_round.c
+ M /branches/3.1/tests/tcbrt.c
+ M /branches/3.1/tests/tcheck.c
+ M /branches/3.1/tests/tcmp.c
+ M /branches/3.1/tests/tcmp2.c
+ M /branches/3.1/tests/tcmp_d.c
+ M /branches/3.1/tests/tcmp_ld.c
+ M /branches/3.1/tests/tcmp_ui.c
+ M /branches/3.1/tests/tcmpabs.c
+ M /branches/3.1/tests/tcomparisons.c
+ M /branches/3.1/tests/tconst_catalan.c
+ M /branches/3.1/tests/tconst_euler.c
+ M /branches/3.1/tests/tconst_log2.c
+ M /branches/3.1/tests/tconst_pi.c
+ M /branches/3.1/tests/tcopysign.c
+ M /branches/3.1/tests/tcos.c
+ M /branches/3.1/tests/tcosh.c
+ M /branches/3.1/tests/tcot.c
+ M /branches/3.1/tests/tcoth.c
+ M /branches/3.1/tests/tcsc.c
+ M /branches/3.1/tests/tcsch.c
+ M /branches/3.1/tests/td_div.c
+ M /branches/3.1/tests/td_sub.c
+ M /branches/3.1/tests/tdigamma.c
+ M /branches/3.1/tests/tdim.c
+ M /branches/3.1/tests/tdiv.c
+ M /branches/3.1/tests/tdiv_d.c
+ M /branches/3.1/tests/tdiv_ui.c
+ M /branches/3.1/tests/teint.c
+ M /branches/3.1/tests/teq.c
+ M /branches/3.1/tests/terf.c
+ M /branches/3.1/tests/tests.c
+ M /branches/3.1/tests/texceptions.c
+ M /branches/3.1/tests/texp.c
+ M /branches/3.1/tests/texp10.c
+ M /branches/3.1/tests/texp2.c
+ M /branches/3.1/tests/texpm1.c
+ M /branches/3.1/tests/tfactorial.c
+ M /branches/3.1/tests/tfits.c
+ M /branches/3.1/tests/tfma.c
+ M /branches/3.1/tests/tfmod.c
+ M /branches/3.1/tests/tfms.c
+ M /branches/3.1/tests/tfprintf.c
+ M /branches/3.1/tests/tfrac.c
+ M /branches/3.1/tests/tfrexp.c
+ M /branches/3.1/tests/tgamma.c
+ M /branches/3.1/tests/tgeneric.c
+ M /branches/3.1/tests/tgeneric_ui.c
+ M /branches/3.1/tests/tget_d.c
+ M /branches/3.1/tests/tget_d_2exp.c
+ M /branches/3.1/tests/tget_f.c
+ M /branches/3.1/tests/tget_flt.c
+ M /branches/3.1/tests/tget_ld_2exp.c
+ M /branches/3.1/tests/tget_set_d64.c
+ M /branches/3.1/tests/tget_sj.c
+ M /branches/3.1/tests/tget_str.c
+ M /branches/3.1/tests/tget_z.c
+ M /branches/3.1/tests/tgmpop.c
+ M /branches/3.1/tests/tgrandom.c
+ M /branches/3.1/tests/thyperbolic.c
+ M /branches/3.1/tests/thypot.c
+ M /branches/3.1/tests/tinits.c
+ M /branches/3.1/tests/tinp_str.c
+ M /branches/3.1/tests/tinternals.c
+ M /branches/3.1/tests/tisnan.c
+ M /branches/3.1/tests/tisqrt.c
+ M /branches/3.1/tests/tj0.c
+ M /branches/3.1/tests/tj1.c
+ M /branches/3.1/tests/tjn.c
+ M /branches/3.1/tests/tl2b.c
+ M /branches/3.1/tests/tlgamma.c
+ M /branches/3.1/tests/tli2.c
+ M /branches/3.1/tests/tlngamma.c
+ M /branches/3.1/tests/tlog.c
+ M /branches/3.1/tests/tlog10.c
+ M /branches/3.1/tests/tlog1p.c
+ M /branches/3.1/tests/tlog2.c
+ M /branches/3.1/tests/tmin_prec.c
+ M /branches/3.1/tests/tminmax.c
+ M /branches/3.1/tests/tmodf.c
+ M /branches/3.1/tests/tmul.c
+ M /branches/3.1/tests/tmul_2exp.c
+ M /branches/3.1/tests/tmul_d.c
+ M /branches/3.1/tests/tmul_ui.c
+ M /branches/3.1/tests/tnext.c
+ M /branches/3.1/tests/tout_str.c
+ M /branches/3.1/tests/toutimpl.c
+ M /branches/3.1/tests/tpow.c
+ M /branches/3.1/tests/tpow3.c
+ M /branches/3.1/tests/tpow_all.c
+ M /branches/3.1/tests/tpow_z.c
+ M /branches/3.1/tests/tprintf.c
+ M /branches/3.1/tests/trandom.c
+ M /branches/3.1/tests/trec_sqrt.c
+ M /branches/3.1/tests/tremquo.c
+ M /branches/3.1/tests/trint.c
+ M /branches/3.1/tests/troot.c
+ M /branches/3.1/tests/tround_prec.c
+ M /branches/3.1/tests/tsec.c
+ M /branches/3.1/tests/tsech.c
+ M /branches/3.1/tests/tset.c
+ M /branches/3.1/tests/tset_d.c
+ M /branches/3.1/tests/tset_exp.c
+ M /branches/3.1/tests/tset_f.c
+ M /branches/3.1/tests/tset_ld.c
+ M /branches/3.1/tests/tset_q.c
+ M /branches/3.1/tests/tset_si.c
+ M /branches/3.1/tests/tset_sj.c
+ M /branches/3.1/tests/tset_str.c
+ M /branches/3.1/tests/tset_z.c
+ M /branches/3.1/tests/tset_z_exp.c
+ M /branches/3.1/tests/tsgn.c
+ M /branches/3.1/tests/tsi_op.c
+ M /branches/3.1/tests/tsin.c
+ M /branches/3.1/tests/tsin_cos.c
+ M /branches/3.1/tests/tsinh.c
+ M /branches/3.1/tests/tsinh_cosh.c
+ M /branches/3.1/tests/tsprintf.c
+ M /branches/3.1/tests/tsqr.c
+ M /branches/3.1/tests/tsqrt.c
+ M /branches/3.1/tests/tsqrt_ui.c
+ M /branches/3.1/tests/tstckintc.c
+ M /branches/3.1/tests/tstdint.c
+ M /branches/3.1/tests/tstrtofr.c
+ M /branches/3.1/tests/tsub.c
+ M /branches/3.1/tests/tsub1sp.c
+ M /branches/3.1/tests/tsub_d.c
+ M /branches/3.1/tests/tsub_ui.c
+ M /branches/3.1/tests/tsubnormal.c
+ M /branches/3.1/tests/tsum.c
+ M /branches/3.1/tests/tswap.c
+ M /branches/3.1/tests/ttan.c
+ M /branches/3.1/tests/ttanh.c
+ M /branches/3.1/tests/ttrunc.c
+ M /branches/3.1/tests/tui_div.c
+ M /branches/3.1/tests/tui_pow.c
+ M /branches/3.1/tests/tui_sub.c
+ M /branches/3.1/tests/turandom.c
+ M /branches/3.1/tests/tvalist.c
+ M /branches/3.1/tests/tversion.c
+ M /branches/3.1/tests/ty0.c
+ M /branches/3.1/tests/ty1.c
+ M /branches/3.1/tests/tyn.c
+ M /branches/3.1/tests/tzeta.c
+ M /branches/3.1/tests/tzeta_ui.c
+ M /branches/3.1/tools/ck-copyright-notice
+ M /branches/3.1/tools/ck-mparam
+ M /branches/3.1/tools/ck-version-info
+ M /branches/3.1/tools/get_patches.sh
+ M /branches/3.1/tools/mbench/Makefile
+ M /branches/3.1/tools/mbench/generate.c
+ M /branches/3.1/tools/mbench/mfv5-arprec.cc
+ M /branches/3.1/tools/mbench/mfv5-cln.cc
+ M /branches/3.1/tools/mbench/mfv5-crlibm.cc
+ M /branches/3.1/tools/mbench/mfv5-libc.cc
+ M /branches/3.1/tools/mbench/mfv5-lidia.cc
+ M /branches/3.1/tools/mbench/mfv5-mpf.cc
+ M /branches/3.1/tools/mbench/mfv5-mpfr.cc
+ M /branches/3.1/tools/mbench/mfv5-ntl.cc
+ M /branches/3.1/tools/mbench/mfv5-pari.cc
+ M /branches/3.1/tools/mbench/mfv5-void.cc
+ M /branches/3.1/tools/mbench/mfv5.cc
+ M /branches/3.1/tools/mbench/mfv5.h
+ M /branches/3.1/tools/mbench/mpfr-gfx.c
+ M /branches/3.1/tools/mbench/mpfr-v4.c
+ M /branches/3.1/tools/mbench/mpfr-v6.c
+ M /branches/3.1/tools/mbench/timp.h
+ M /branches/3.1/tune/Makefile.am
+ M /branches/3.1/tune/bidimensional_sample.c
+ M /branches/3.1/tune/speed.c
+ M /branches/3.1/tune/tuneup.c
+
+Use copyright year ranges, following
+ http://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices
+------------------------------------------------------------------------
+r8538 | vlefevre | 2013-05-30 13:51:40 +0000 (Thu, 30 May 2013) | 1 line
+Changed paths:
+ M /branches/3.1/tests
+
+[tests] Added *.log and *.trs to svn:ignore property.
+------------------------------------------------------------------------
+r8535 | vlefevre | 2013-05-30 13:22:23 +0000 (Thu, 30 May 2013) | 1 line
+Changed paths:
+ M /branches/3.1
+
+Added test-driver (from Automake 1.12+) to svn:ignore property.
+------------------------------------------------------------------------
+r8486 | vlefevre | 2013-03-13 21:48:23 +0000 (Wed, 13 Mar 2013) | 1 line
+Changed paths:
+ M /branches/3.1/INSTALL
+ M /branches/3.1/VERSION
+ M /branches/3.1/configure.ac
+ M /branches/3.1/doc/mpfr.texi
+ M /branches/3.1/src/mpfr.h
+ M /branches/3.1/src/version.c
+
+Updated version to 3.1.3-dev.
+------------------------------------------------------------------------
+r8484 | vlefevre | 2013-03-13 15:33:33 +0000 (Wed, 13 Mar 2013) | 1 line
+Changed paths:
+ M /branches/3.1/ChangeLog
+
+ChangeLog update with "TZ=UTC svn log -rHEAD:0 -v" (in UTF-8 locales).
+------------------------------------------------------------------------
r8482 | vlefevre | 2013-03-13 15:29:32 +0000 (Wed, 13 Mar 2013) | 1 line
Changed paths:
M /branches/3.1/VERSION
@@ -9228,7 +11595,7 @@ r6971 | schevill | 2010-06-22 13:12:09 +0000 (Tue, 22 Jun 2010) | 3 lines
Changed paths:
M /trunk/ai2.c
-I forgot to replace one occurence of isqrt.
+I forgot to replace one occurrence of isqrt.
------------------------------------------------------------------------
@@ -13383,8 +15750,8 @@ Changed paths:
M /trunk/README
Since COPYING.LESSER makes a reference to the GPLv3, updated COPYING
-to the GPLv3. Autotool files are now distributed under the same licence
-of MPFR (to avoid any reference to the GPLv2).
+to the GPLv3. Autotools files are now distributed under the same license
+as MPFR (to avoid any reference to the GPLv2).
------------------------------------------------------------------------
r6351 | vlefevre | 2009-07-30 17:47:39 +0000 (Thu, 30 Jul 2009) | 2 lines
Changed paths:
@@ -15312,7 +17679,7 @@ r6099 | thevenyp | 2009-03-13 17:55:13 +0000 (Fri, 13 Mar 2009) | 2 lines
Changed paths:
M /trunk/vasprintf.c
-vasprintf.c: As the buffer helper functions are not used in the current code with a zero parameter len, do not handle this case anymore, check that these cases do not happend in MPFR_ASSERTD macros, add some additional assert to ensure consistency.
+vasprintf.c: As the buffer helper functions are not used in the current code with a zero parameter len, do not handle this case anymore, check that these cases do not happened in MPFR_ASSERTD macros, add some additional assert to ensure consistency.
------------------------------------------------------------------------
r6098 | thevenyp | 2009-03-13 17:47:57 +0000 (Fri, 13 Mar 2009) | 2 lines
@@ -17819,7 +20186,7 @@ Changed paths:
tests/tfprintf.c: code clean-up and output improvement.
tests/tprintf.c: code clean-up.
-Note that unsigned long long variable is not set to 1 instead of -1 which was architecture dependant.
+Note that unsigned long long variable is not set to 1 instead of -1 which was architecture dependent.
------------------------------------------------------------------------
r5758 | vlefevre | 2008-12-16 13:56:28 +0000 (Tue, 16 Dec 2008) | 3 lines
@@ -18944,7 +21311,7 @@ r5642 | thevenyp | 2008-09-19 08:50:01 +0000 (Fri, 19 Sep 2008) | 2 lines
Changed paths:
M /trunk/tests/tstrtofr.c
-tests/tstrtofr.c: Remove underflow test unintentionally commited with revision 5640.
+tests/tstrtofr.c: Remove underflow test unintentionally committed with revision 5640.
------------------------------------------------------------------------
r5640 | thevenyp | 2008-09-18 16:33:16 +0000 (Thu, 18 Sep 2008) | 2 lines
@@ -23744,7 +26111,7 @@ Changed paths:
M /trunk/tests/tset_f.c
tli2.c: fix wrong assertion in copyright motice
-test.c: fixed seed for reproducable errors
+test.c: fixed seed for reproducible errors
trandom.c tpow_z.c tset_f.c: integration with GMP_CHECK_RANDOMIZE process
------------------------------------------------------------------------
@@ -34281,7 +36648,7 @@ Changed paths:
M /trunk/tests/tsum.c
Fix bug of NAN and INF.
-Fix bug in documentation (mpfr_sum wasn't exactly what is decribed).
+Fix bug in documentation (mpfr_sum wasn't exactly what is described).
Improve test.
Change internal names.
Clean up.
@@ -35607,7 +37974,7 @@ r3522 | pelissip | 2005-05-03 16:39:04 +0000 (Tue, 03 May 2005) | 2 lines
Changed paths:
M /trunk/atan.c
-Fix computing of `sup` to reflect what is decribed in algorithms.tex.
+Fix computing of `sup` to reflect what is described in algorithms.tex.
------------------------------------------------------------------------
r3521 | pelissip | 2005-05-03 14:57:04 +0000 (Tue, 03 May 2005) | 3 lines
@@ -36336,7 +38703,7 @@ Changed paths:
M /trunk/pow_z.c
Add ceil(log2(size)) bits to initial precision to avoid
-commiting in error for huge operands.
+committing in error for huge operands.
------------------------------------------------------------------------
r3416 | vlefevre | 2005-03-30 12:21:53 +0000 (Wed, 30 Mar 2005) | 2 lines
@@ -37298,7 +39665,7 @@ Changed paths:
M /trunk/asin.c
M /trunk/atan.c
-Add ZivLoop controler.
+Add ZivLoop controller.
------------------------------------------------------------------------
r3294 | zimmerma | 2005-02-12 16:01:39 +0000 (Sat, 12 Feb 2005) | 2 lines
@@ -37327,7 +39694,7 @@ Changed paths:
M /trunk/configure.in
M /trunk/tests/Makefile.am
-Clean up configure (more simplier).
+Clean up configure (simpler).
Still a bug with CXXCPP to solve.
------------------------------------------------------------------------
@@ -37664,7 +40031,7 @@ Changed paths:
M /trunk/cos.c
M /trunk/tests/tcos.c
-Add support for ZivLoop controler and logging.
+Add support for ZivLoop controller and logging.
------------------------------------------------------------------------
r3257 | pelissip | 2005-02-02 14:13:39 +0000 (Wed, 02 Feb 2005) | 3 lines
@@ -37674,7 +40041,7 @@ Changed paths:
M /trunk/mpfr-impl.h
Add experimental logging feature.
-Add ZivLoop controler.
+Add ZivLoop controller.
------------------------------------------------------------------------
r3256 | pelissip | 2005-02-02 14:09:18 +0000 (Wed, 02 Feb 2005) | 3 lines
@@ -40483,7 +42850,7 @@ r2911 | pelissip | 2004-05-10 07:03:28 +0000 (Mon, 10 May 2004) | 2 lines
Changed paths:
M /trunk/cos.c
-Remove a forgotten "assertd" which isn't usefull anymore.
+Remove a forgotten "assertd" which isn't useful anymore.
------------------------------------------------------------------------
r2910 | pelissip | 2004-05-07 15:04:30 +0000 (Fri, 07 May 2004) | 2 lines
@@ -41537,7 +43904,7 @@ Changed paths:
M /trunk/neg.c
M /trunk/tests/tset.c
-mpfr_neg (b, b, r) for b=NAN didnt' set NAN flag.
+mpfr_neg (b, b, r) for b=NAN didn't set NAN flag.
------------------------------------------------------------------------
r2773 | pelissip | 2004-02-20 10:49:34 +0000 (Fri, 20 Feb 2004) | 2 lines
@@ -43504,7 +45871,7 @@ Changed paths:
+ Rename MPFR_ALLOC_SIZE in MPFR_MALLOC_SIZE.
+ Add conditionnal -DSMALL directive in mpfr-impl.h.
+ Add new function: sub1sp.
- Substraction in case of all the ops have the same prec.
+ Subtraction in case of all the ops have the same prec.
+ Add its test (tsub1sp).
+ Modify a few the tests to avoid comparing mpfr results with double, for portability reason.
@@ -44025,7 +46392,7 @@ Changed paths:
M /trunk/zeta.c
Use of MPFR_UNLIKELY and MPFR_IS_SINGULAR for fast detection of special values (Nan, Inf or Zero).
-Start to encapsulate the sign to be independant of the reprensation (Must be 1 or -1).
+Start to encapsulate the sign to be independent of the representation (Must be 1 or -1).
------------------------------------------------------------------------
r2524 | pelissip | 2003-10-27 15:15:04 +0000 (Mon, 27 Oct 2003) | 8 lines
@@ -54628,7 +56995,7 @@ Changed paths:
M /trunk/mpfr.h
M /trunk/mpfr.texi
-Add multiplication/division/addition/substraction by mpz and mpq
+Add multiplication/division/addition/subtraction by mpz and mpq
------------------------------------------------------------------------
r1407 | zimmerma | 2001-10-26 10:56:14 +0000 (Fri, 26 Oct 2001) | 3 lines
@@ -63922,7 +66289,7 @@ Changed paths:
M /trunk/div.c
Patch of an MLK due to multiple initialization of the same variables without
-freeing them inbetween.
+freeing them in-between.
------------------------------------------------------------------------
r235 | hanrot | 1999-07-01 12:09:49 +0000 (Thu, 01 Jul 1999) | 2 lines
@@ -63993,7 +66360,7 @@ r226 | boldo | 1999-06-30 13:30:25 +0000 (Wed, 30 Jun 1999) | 2 lines
Changed paths:
M /trunk/tests/tlog.c
-ther were some conflicts
+there were some conflicts
------------------------------------------------------------------------
r225 | boldo | 1999-06-30 13:29:47 +0000 (Wed, 30 Jun 1999) | 2 lines
@@ -64231,7 +66598,7 @@ r198 | hanrot | 1999-06-25 16:00:38 +0000 (Fri, 25 Jun 1999) | 2 lines
Changed paths:
M /trunk/Configure
-Ajoute la dependance de libmpfr.a pour le Makefile des tests.
+Ajoute la dépendance de libmpfr.a pour le Makefile des tests.
------------------------------------------------------------------------
r197 | zimmerma | 1999-06-25 15:54:04 +0000 (Fri, 25 Jun 1999) | 2 lines
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/INSTALL b/Build/source/libs/mpfr/mpfr-3.1.3/INSTALL
index 88060806cfa..442ff3f9436 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/INSTALL
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/INSTALL
@@ -1,4 +1,4 @@
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -37,17 +37,17 @@ MPFR).
not been done yet and if patches are available. You can check
on the release page:
- http://www.mpfr.org/mpfr-3.1.2/
+ http://www.mpfr.org/mpfr-3.1.3/
which may have additional information. The patches can be applied
with commands like:
- wget http://www.mpfr.org/mpfr-3.1.2/allpatches
+ wget http://www.mpfr.org/mpfr-3.1.3/allpatches
patch -N -Z -p1 < allpatches
or
- curl http://www.mpfr.org/mpfr-3.1.2/allpatches | patch -N -Z -p1
+ curl http://www.mpfr.org/mpfr-3.1.3/allpatches | patch -N -Z -p1
(Those instructions are for the GNU patch command, for example
/usr/bin/gpatch on Solaris.)
@@ -72,6 +72,14 @@ MPFR).
5. To check the built library (runs the test files), type:
make check
+ Note: If any test fails, information about this failure can be found in
+ the tests/test-suite.log file; you should provide this file in your bug
+ reports (in addition to other useful information, as mentioned later).
+ If you want the contents of this file to be automatically output in case
+ of failure, you can set the VERBOSE environment variable to 1 before
+ running "make check", for instance by typing:
+ VERBOSE=1 make check
+
6. To install it (default "/usr/local" | see "--prefix" option), type:
make install
@@ -330,7 +338,7 @@ Several documents may help you to solve the problem:
* 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
up-to-date);
- * the MPFR web page for this version <http://www.mpfr.org/mpfr-3.1.2/>,
+ * the MPFR web page for this version <http://www.mpfr.org/mpfr-3.1.3/>,
which lists bugs found in this version and provides some patches.
If the "configure" fails, please check that the C compiler and its
@@ -397,8 +405,8 @@ the library of the old GMP version will be used! The best solution
is to make sure that the dynamic linker configuration is consistent
with GCC's behavior, for instance by having /usr/local/lib in
/etc/ld.so.conf or in some file from /etc/ld.so.conf.d (as Debian
-did: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=395177). See
-also http://gcc.gnu.org/ml/gcc-help/2010-01/msg00171.html for more
+did: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=395177). See
+also https://gcc.gnu.org/ml/gcc-help/2010-01/msg00171.html for more
information. Alternatively you can use:
* environment variables. This may sometimes be necessary. If DIR
is the installation directory of GMP, add DIR/include to your
@@ -438,7 +446,8 @@ mailing-list <mpfr@inria.fr>, indicating the machine and operating system
used (uname -a), the compiler and version used (gcc -v if you use gcc),
the configure options used if any (including variables such as CC and
CFLAGS), the version of GMP and MPFR used, and a description of the
-problem encountered. Please send us also the log of the "configure"
+problem encountered, in particular the tests/test-suite.log file if
+"make check" failed. Please send us also the log of the "configure"
(config.log).
Note that even if you can build MPFR with a C++ compiler, you can't run
@@ -615,7 +624,7 @@ a. Using MinGW64
The MinGW64 version of the GCC compiler is now available here:
-http://sourceforge.net/projects/mingw-w64/
+https://sourceforge.net/projects/mingw-w64/
It can build both GMP and MPFR for 64-bit Windows applications.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/Makefile.am b/Build/source/libs/mpfr/mpfr-3.1.3/Makefile.am
index 54e5c718828..349121ba816 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/Makefile.am
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/Makefile.am
@@ -1,4 +1,4 @@
-# Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+# Copyright 2000-2015 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.
@@ -10,6 +10,12 @@
AUTOMAKE_OPTIONS = gnu
+
+# ACLOCAL_AMFLAGS will be fully deprecated in Automake 2.0;
+# AC_CONFIG_MACRO_DIRS (introduced in Automake 1.13) is now used instead,
+# but we still set ACLOCAL_AMFLAGS to avoid a warning message from
+# libtoolize and in case some developer needs to switch back to an
+# old Automake version.
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = doc src tests tune
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/NEWS b/Build/source/libs/mpfr/mpfr-3.1.3/NEWS
index ce0faa385de..e5844075672 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/NEWS
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/NEWS
@@ -1,4 +1,4 @@
-Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2000-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -20,6 +20,11 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
##############################################################################
+Changes from version 3.1.2 to version 3.1.3:
+- Better support for Automake 1.13+ (now used to generate the tarball).
+- Improved MPFR manual.
+- Bug fixes (see <http://www.mpfr.org/mpfr-3.1.2/#fixed> and ChangeLog file).
+
Changes from version 3.1.1 to version 3.1.2:
- Bug fixes (see <http://www.mpfr.org/mpfr-3.1.1/#fixed> or ChangeLog file).
- Updated examples to the MPFR 3.x API.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/PATCHES b/Build/source/libs/mpfr/mpfr-3.1.3/PATCHES
index e69de29bb2d..e69de29bb2d 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/PATCHES
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/PATCHES
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/README b/Build/source/libs/mpfr/mpfr-3.1.3/README
index 6d10adbb9e1..2f55a8cce90 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/README
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/README
@@ -1,4 +1,4 @@
-Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2000-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -36,6 +36,7 @@ README - this file
TODO - what remains to do (any help is welcome!)
VERSION - version of MPFR (next release version if taken by Subversion)
ac*.m4 - automatic configuration files
+ar-lib - auxiliary installation file
compile - auxiliary installation file
config.* - auxiliary installation files
configure* - configuration files
@@ -47,6 +48,7 @@ ltmain.sh - auxiliary installation file
m4/ - directory containing additional configuration files
missing - auxiliary installation file
src/ - directory containing the MPFR source
+test-driver - auxiliary installation file
tests/ - directory containing the testsuite (for "make check")
tools/ - directory containing various tools
tune/ - directory containing files for tuning MPFR
@@ -56,8 +58,11 @@ the autotools files compile, config.sub, config.guess, ltmain.sh,
m4/libtool.m4 and missing are distributed under the same licence of
GNU MPFR.
+For any copyright year range specified as YYYY-ZZZZ in this package,
+note that the range specifies every single year in that closed interval.
-You can get the latest source code by Subversion at INRIAGForge:
+
+You can get the latest source code by Subversion at InriaForge:
svn checkout svn://scm.gforge.inria.fr/svn/mpfr/trunk mpfr
@@ -76,7 +81,7 @@ can now use the "https:" scheme (a.k.a. DAV) instead of "svn:".
For more information about Subversion, please see:
* http://svnbook.red-bean.com/ (the official Subversion book);
- * http://gcc.gnu.org/wiki/SvnHelp (written for GCC developers,
+ * https://gcc.gnu.org/wiki/SvnHelp (written for GCC developers,
but interesting general information can be found there);
* http://subversion.apache.org/faq.html (the Subversion FAQ).
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/TODO b/Build/source/libs/mpfr/mpfr-3.1.3/TODO
index b7075726d66..67305f9a6d0 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/TODO
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/TODO
@@ -1,4 +1,4 @@
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -68,7 +68,7 @@ Table of contents:
2^(MPFR_EXP(b)-MPFR_PREC(b)+err).
- mpfr_set_q first tries to convert the numerator and the denominator
- to mpfr_t. But this convertion may fail even if the correctly rounded
+ to mpfr_t. But this conversion may fail even if the correctly rounded
result is representable. New way to implement:
Function q = a/b. nq = PREC(q) na = PREC(a) nb = PREC(b)
If na < nb
@@ -154,7 +154,7 @@ Table of contents:
j_n(x) = sqrt(Pi/(2x)) J_{n+1/2}(x). They should not be mixed with the
classical Bessel Functions, also noted j0, j1, jn, y0, y1, yn in C99
and mpfr.
- Cf http://en.wikipedia.org/wiki/Bessel_function#Spherical_Bessel_functions
+ Cf https://en.wikipedia.org/wiki/Bessel_function#Spherical_Bessel_functions
*Irregular Spherical Bessel Functions y_n: y_0(x) = -\cos(x)/x,
y_1(x)= -(\cos(x)/x+\sin(x))/x &
y_2(x)= (-3/x^3+1/x)\cos(x)-(3/x^2)\sin(x)
@@ -242,7 +242,7 @@ Table of contents:
(see Exercise 4.11 from Modern Computer Arithmetic, version 0.3)
The same method can be used for log, using the series for atanh, i.e.,
atanh(x) = 1/2*log((1+x)/(1-x)).
-- improve mpfr_gamma (see http://code.google.com/p/fastfunlib/). A possible
+- improve mpfr_gamma (see https://code.google.com/p/fastfunlib/). A possible
idea is to implement a fast algorithm for the argument reconstruction
gamma(x+k). One could also use the series for 1/gamma(x), see for example
http://dlmf.nist.gov/5/7/ or formula (36) from
@@ -431,4 +431,4 @@ Table of contents:
strings into newly allocated memory. I thought I'd done that in a
couple of places already. Arrays of chars are not much fun.
-- use http://gcc.gnu.org/viewcvs/trunk/config/stdint.m4 for mpfr-gmp.h
+- use https://gcc.gnu.org/viewcvs/gcc/trunk/config/stdint.m4 for mpfr-gmp.h
diff --git a/Build/source/libs/mpfr/mpfr-3.1.3/VERSION b/Build/source/libs/mpfr/mpfr-3.1.3/VERSION
new file mode 100644
index 00000000000..ff365e06b95
--- /dev/null
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/VERSION
@@ -0,0 +1 @@
+3.1.3
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/acinclude.m4 b/Build/source/libs/mpfr/mpfr-3.1.3/acinclude.m4
index d4122734dd7..9850db54fed 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/acinclude.m4
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/acinclude.m4
@@ -1,6 +1,6 @@
dnl MPFR specific autoconf macros
-dnl Copyright 2000, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+dnl Copyright 2000, 2002-2015 Free Software Foundation, Inc.
dnl Contributed by the AriC and Caramel projects, INRIA.
dnl
dnl This file is part of the GNU MPFR Library.
@@ -29,11 +29,13 @@ AC_PREREQ(2.60)
dnl ------------------------------------------------------------
dnl You must put in MPFR_CONFIGS everything which configure MPFR
dnl except:
-dnl -everything dealing with CC and CFLAGS in particular the ABI
-dnl but the IEEE-754 specific flags must be set here.
-dnl -GMP's linkage.
-dnl -Libtool stuff.
-dnl -Handling of special arguments of MPFR's configure.
+dnl - Everything dealing with CC and CFLAGS in particular the ABI
+dnl but the IEEE-754 specific flags must be set here.
+dnl - Tests that depend on gmp.h (see MPFR_CHECK_DBL2INT_BUG as an example:
+dnl a function needs to be defined and called in configure.ac).
+dnl - GMP's linkage.
+dnl - Libtool stuff.
+dnl - Handling of special arguments of MPFR's configure.
AC_DEFUN([MPFR_CONFIGS],
[
AC_REQUIRE([AC_OBJEXT])
@@ -59,6 +61,10 @@ AC_CHECK_HEADER([stdarg.h],[AC_DEFINE([HAVE_STDARG],1,[Define if stdarg])],
dnl sys/fpu.h - MIPS specific
AC_CHECK_HEADERS([sys/time.h sys/fpu.h])
+dnl Android has a <locale.h>, but not the following members.
+AC_CHECK_MEMBERS([struct lconv.decimal_point, struct lconv.thousands_sep],,,
+ [#include <locale.h>])
+
dnl Check how to get `alloca'
AC_FUNC_ALLOCA
@@ -101,7 +107,7 @@ alpha*-*-*)
mpfr_cv_ieee_switches="-fprm d -ieee_with_inexact"
fi
CFLAGS="$CFLAGS $mpfr_cv_ieee_switches"
- AC_TRY_COMPILE(,,, mpfr_cv_ieee_switches="none")
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])], , mpfr_cv_ieee_switches="none")
])
if test "$mpfr_cv_ieee_switches" = "none"; then
CFLAGS="$saved_CFLAGS"
@@ -120,7 +126,10 @@ if test "$ac_cv_type_intmax_t" = yes; then
AC_CACHE_CHECK([for working INTMAX_MAX], mpfr_cv_have_intmax_max, [
saved_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS -I$srcdir/src"
- AC_TRY_COMPILE([#include "mpfr-intmax.h"], [intmax_t x = INTMAX_MAX;],
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
+ [[#include "mpfr-intmax.h"]],
+ [[intmax_t x = INTMAX_MAX; (void) x;]]
+ )],
mpfr_cv_have_intmax_max=yes, mpfr_cv_have_intmax_max=no)
CPPFLAGS="$saved_CPPFLAGS"
])
@@ -141,7 +150,7 @@ dnl Check for fesetround
AC_CACHE_CHECK([for fesetround], mpfr_cv_have_fesetround, [
saved_LIBS="$LIBS"
LIBS="$LIBS $MPFR_LIBM"
-AC_TRY_LINK([#include <fenv.h>], [fesetround(FE_TONEAREST);],
+AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <fenv.h>]], [[fesetround(FE_TONEAREST);]])],
mpfr_cv_have_fesetround=yes, mpfr_cv_have_fesetround=no)
LIBS="$saved_LIBS"
])
@@ -158,13 +167,13 @@ if test -n "$GCC"; then
AC_CACHE_CHECK([for gcc float-conversion bug], mpfr_cv_gcc_floatconv_bug, [
saved_LIBS="$LIBS"
LIBS="$LIBS $MPFR_LIBM"
- AC_TRY_RUN([
+ AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <float.h>
#ifdef MPFR_HAVE_FESETROUND
#include <fenv.h>
#endif
static double get_max (void);
-int main() {
+int main (void) {
double x = 0.5;
double y;
int i;
@@ -183,7 +192,8 @@ int main() {
return 0;
}
static double get_max (void) { static volatile double d = DBL_MAX; return d; }
- ], [mpfr_cv_gcc_floatconv_bug="no"],
+ ]])],
+ [mpfr_cv_gcc_floatconv_bug="no"],
[mpfr_cv_gcc_floatconv_bug="yes, use -ffloat-store"],
[mpfr_cv_gcc_floatconv_bug="cannot test, use -ffloat-store"])
LIBS="$saved_LIBS"
@@ -193,20 +203,38 @@ static double get_max (void) { static volatile double d = DBL_MAX; return d; }
fi
fi
-dnl Check if denormalized numbers are supported
-AC_CACHE_CHECK([for denormalized numbers], mpfr_cv_have_denorms, [
-AC_TRY_RUN([
-#include <math.h>
+dnl Check if subnormal (denormalized) numbers are supported
+AC_CACHE_CHECK([for subnormal numbers], mpfr_cv_have_denorms, [
+AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <stdio.h>
-int main() {
+int main (void) {
double x = 2.22507385850720138309e-308;
fprintf (stderr, "%e\n", x / 2.0);
return 2.0 * (x / 2.0) != x;
}
-], mpfr_cv_have_denorms=yes, mpfr_cv_have_denorms=no, mpfr_cv_have_denorms=no)
+]])],
+ [mpfr_cv_have_denorms="yes"],
+ [mpfr_cv_have_denorms="no"],
+ [mpfr_cv_have_denorms="cannot test, assume no"])
])
if test "$mpfr_cv_have_denorms" = "yes"; then
- AC_DEFINE(HAVE_DENORMS,1,[Define if denormalized floats work.])
+ AC_DEFINE(HAVE_DENORMS,1,[Define if subnormal (denormalized) floats work.])
+fi
+
+dnl Check if signed zeros are supported. Note: the test will fail
+dnl if the division by 0 generates a trap.
+AC_CACHE_CHECK([for signed zeros], mpfr_cv_have_signedz, [
+AC_RUN_IFELSE([AC_LANG_SOURCE([[
+int main (void) {
+ return 1.0 / 0.0 == 1.0 / -0.0;
+}
+]])],
+ [mpfr_cv_have_signedz="yes"],
+ [mpfr_cv_have_signedz="no"],
+ [mpfr_cv_have_signedz="cannot test, assume no"])
+])
+if test "$mpfr_cv_have_signedz" = "yes"; then
+ AC_DEFINE(HAVE_SIGNEDZ,1,[Define if signed zeros are supported.])
fi
dnl Check the FP division by 0 fails (e.g. on a non-IEEE-754 platform).
@@ -215,14 +243,16 @@ dnl involving a FP division by 0.
dnl For the developers: to check whether all these tests are disabled,
dnl configure MPFR with "-DMPFR_TEST_DIVBYZERO=1 -DMPFR_ERRDIVZERO=1".
AC_CACHE_CHECK([if the FP division by 0 fails], mpfr_cv_errdivzero, [
-AC_TRY_RUN([
-int main() {
+AC_RUN_IFELSE([AC_LANG_SOURCE([[
+int main (void) {
volatile double d = 0.0, x;
x = 0.0 / d;
x = 1.0 / d;
+ (void) x;
return 0;
}
-], [mpfr_cv_errdivzero="no"],
+]])],
+ [mpfr_cv_errdivzero="no"],
[mpfr_cv_errdivzero="yes"],
[mpfr_cv_errdivzero="cannot test, assume no"])
])
@@ -237,18 +267,19 @@ dnl Check whether NAN != NAN (as required by the IEEE-754 standard,
dnl but not by the ISO C standard). For instance, this is false with
dnl MIPSpro 7.3.1.3m under IRIX64. By default, assume this is true.
AC_CACHE_CHECK([if NAN == NAN], mpfr_cv_nanisnan, [
-AC_TRY_RUN([
+AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <stdio.h>
#include <math.h>
#ifndef NAN
# define NAN (0.0/0.0)
#endif
-int main() {
+int main (void) {
double d;
d = NAN;
return d != d;
}
-], [mpfr_cv_nanisnan="yes"],
+]])],
+ [mpfr_cv_nanisnan="yes"],
[mpfr_cv_nanisnan="no"],
[mpfr_cv_nanisnan="cannot test, assume no"])
])
@@ -296,66 +327,56 @@ dnl AC_CHECK_FUNCS([round trunc floor ceil nearbyint])
AC_MSG_CHECKING(for math/round)
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
#include <math.h>
-int f (double (*func)(double)) { return 0;}
+static int f (double (*func)(double)) { return 0; }
]], [[
- double a = 17.42;
- a = f (round);
- return 0;
+ return f(round);
]])], [
AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_ROUND, 1,[Have ISO-C99 round function])
+ AC_DEFINE(HAVE_ROUND, 1,[Have ISO C99 round function])
],[AC_MSG_RESULT(no)])
AC_MSG_CHECKING(for math/trunc)
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
#include <math.h>
-int f (double (*func)(double)) { return 0;}
+static int f (double (*func)(double)) { return 0; }
]], [[
- double a = 17.42;
- a = f(trunc);
- return 0;
+ return f(trunc);
]])], [
AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_TRUNC, 1,[Have ISO-C99 trunc function])
+ AC_DEFINE(HAVE_TRUNC, 1,[Have ISO C99 trunc function])
],[AC_MSG_RESULT(no)])
AC_MSG_CHECKING(for math/floor)
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
#include <math.h>
-int f (double (*func)(double)) { return 0;}
+static int f (double (*func)(double)) { return 0; }
]], [[
- double a = 17.42;
- a = f(floor);
- return 0;
+ return f(floor);
]])], [
AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_FLOOR, 1,[Have ISO-C99 floor function])
+ AC_DEFINE(HAVE_FLOOR, 1,[Have ISO C99 floor function])
],[AC_MSG_RESULT(no)])
AC_MSG_CHECKING(for math/ceil)
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
#include <math.h>
-int f (double (*func)(double)) { return 0;}
+static int f (double (*func)(double)) { return 0; }
]], [[
- double a = 17.42;
- a = f(ceil);
- return 0;
+ return f(ceil);
]])], [
AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_CEIL, 1,[Have ISO-C99 ceil function])
+ AC_DEFINE(HAVE_CEIL, 1,[Have ISO C99 ceil function])
],[AC_MSG_RESULT(no)])
-AC_MSG_CHECKING(for math/rint)
+AC_MSG_CHECKING(for math/nearbyint)
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
#include <math.h>
-int f (double (*func)(double)) { return 0;}
+static int f (double (*func)(double)) { return 0; }
]], [[
- double a = 17.42;
- a = f(nearbyint);
- return 0;
+ return f(nearbyint);
]])], [
AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_NEARBYINT, 1,[Have ISO-C99 rint function])
+ AC_DEFINE(HAVE_NEARBYINT, 1,[Have ISO C99 nearbyint function])
],[AC_MSG_RESULT(no)])
LIBS="$saved_LIBS"
@@ -387,7 +408,7 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([[
#define MPFR_USE_THREAD_SAFE 1
#include "mpfr-thread.h"
MPFR_THREAD_ATTR int x = 17;
-int main() {
+int main (void) {
return x != 17;
}
]])],
@@ -412,6 +433,146 @@ fi
dnl end of MPFR_CONFIGS
+dnl MPFR_CHECK_GMP
+dnl --------------
+dnl Check GMP library vs header. Useful if the user provides --with-gmp
+dnl with a directory containing a GMP version that doesn't have the
+dnl correct ABI: the previous tests won't trigger the error if the same
+dnl GMP version with the right ABI is installed on the system, as this
+dnl library is automatically selected by the linker, while the header
+dnl (which depends on the ABI) of the --with-gmp include directory is
+dnl used.
+dnl Note: if the error is changed to a warning due to that fact that
+dnl libtool is not used, then the same thing should be done for the
+dnl other tests based on GMP.
+AC_DEFUN([MPFR_CHECK_GMP], [
+AC_REQUIRE([MPFR_CONFIGS])dnl
+AC_CACHE_CHECK([for GMP library vs header correctness], mpfr_cv_check_gmp, [
+AC_RUN_IFELSE([AC_LANG_PROGRAM([[
+#include <stdio.h>
+#include <limits.h>
+#include <gmp.h>
+]], [[
+ fprintf (stderr, "GMP_NAIL_BITS = %d\n", (int) GMP_NAIL_BITS);
+ fprintf (stderr, "GMP_NUMB_BITS = %d\n", (int) GMP_NUMB_BITS);
+ fprintf (stderr, "mp_bits_per_limb = %d\n", (int) mp_bits_per_limb);
+ fprintf (stderr, "sizeof(mp_limb_t) = %d\n", (int) sizeof(mp_limb_t));
+ if (GMP_NAIL_BITS != 0)
+ {
+ fprintf (stderr, "GMP_NAIL_BITS != 0\n");
+ return 1;
+ }
+ if (GMP_NUMB_BITS != mp_bits_per_limb)
+ {
+ fprintf (stderr, "GMP_NUMB_BITS != mp_bits_per_limb\n");
+ return 2;
+ }
+ if (GMP_NUMB_BITS != sizeof(mp_limb_t) * CHAR_BIT)
+ {
+ fprintf (stderr, "GMP_NUMB_BITS != sizeof(mp_limb_t) * CHAR_BIT\n");
+ return 3;
+ }
+ return 0;
+]])], [mpfr_cv_check_gmp="yes"],
+ [mpfr_cv_check_gmp="no (exit status is $?)"],
+ [mpfr_cv_check_gmp="cannot test, assume yes"])
+])
+case $mpfr_cv_check_gmp in
+no*)
+ AC_MSG_ERROR([bad GMP library or header - ABI problem?
+See 'config.log' for details.])
+esac
+])
+
+
+dnl MPFR_CHECK_DBL2INT_BUG
+dnl ----------------------
+dnl Check for double-to-integer conversion bug
+dnl https://gforge.inria.fr/tracker/index.php?func=detail&aid=14435
+dnl For the exit status, the lowest values (including some values after 128)
+dnl are reserved for various system errors. So, let's use the largest values
+dnl below 255 for errors in the test itself.
+dnl The following problem has been seen under Solaris in config.log,
+dnl i.e. the failure to link with libgmp wasn't detected in the first
+dnl test:
+dnl configure: checking if gmp.h version and libgmp version are the same
+dnl configure: gcc -o conftest -Wall -Wmissing-prototypes [...]
+dnl configure: $? = 0
+dnl configure: ./conftest
+dnl ld.so.1: conftest: fatal: libgmp.so.10: open failed: No such file [...]
+dnl configure: $? = 0
+dnl configure: result: yes
+dnl configure: checking for double-to-integer conversion bug
+dnl configure: gcc -o conftest -Wall -Wmissing-prototypes [...]
+dnl configure: $? = 0
+dnl configure: ./conftest
+dnl ld.so.1: conftest: fatal: libgmp.so.10: open failed: No such file [...]
+dnl ./configure[1680]: eval: line 1: 1971: Killed
+dnl configure: $? = 9
+dnl configure: program exited with status 9
+AC_DEFUN([MPFR_CHECK_DBL2INT_BUG], [
+AC_REQUIRE([MPFR_CONFIGS])dnl
+AC_CACHE_CHECK([for double-to-integer conversion bug], mpfr_cv_dbl_int_bug, [
+AC_RUN_IFELSE([AC_LANG_PROGRAM([[
+#include <gmp.h>
+]], [[
+ double d;
+ mp_limb_t u;
+ int i;
+
+ d = 1.0;
+ for (i = 0; i < GMP_NUMB_BITS - 1; i++)
+ d = d + d;
+ u = (mp_limb_t) d;
+ for (; i > 0; i--)
+ {
+ if (u & 1)
+ break;
+ u = u >> 1;
+ }
+ return (i == 0 && u == 1UL) ? 0 : 254 - i;
+]])], [mpfr_cv_dbl_int_bug="no"],
+ [mpfr_cv_dbl_int_bug="yes or failed to exec (exit status is $?)"],
+ [mpfr_cv_dbl_int_bug="cannot test, assume not present"])
+])
+case $mpfr_cv_dbl_int_bug in
+yes*)
+ AC_MSG_ERROR([double-to-integer conversion is incorrect.
+You need to use another compiler (or lower the optimization level).])
+esac
+])
+
+dnl MPFR_PARSE_DIRECTORY
+dnl Input: $1 = a string to a relative or absolute directory
+dnl Output: $2 = the variable to set with the absolute directory
+AC_DEFUN([MPFR_PARSE_DIRECTORY],
+[
+ dnl Check if argument is a directory
+ if test -d $1 ; then
+ dnl Get the absolute path of the directory
+ dnl in case of relative directory.
+ dnl If realpath is not a valid command,
+ dnl an error is produced and we keep the given path.
+ local_tmp=`realpath $1 2>/dev/null`
+ if test "$local_tmp" != "" ; then
+ if test -d "$local_tmp" ; then
+ $2="$local_tmp"
+ else
+ $2=$1
+ fi
+ else
+ $2=$1
+ fi
+ dnl Check for space in the directory
+ if test `echo $1|cut -d' ' -f1` != $1 ; then
+ AC_MSG_ERROR($1 directory shall not contain any space.)
+ fi
+ else
+ AC_MSG_ERROR($1 shall be a valid directory)
+ fi
+])
+
+
dnl MPFR_C_LONG_DOUBLE_FORMAT
dnl -------------------------
dnl Determine the format of a long double.
@@ -469,7 +630,7 @@ struct {
};
]
EOF
- mpfr_compile="$CC $CFLAGS $CPPFLAGS -c conftest.c >&AC_FD_CC 2>&1"
+ mpfr_compile="$CC $CFLAGS $CPPFLAGS -c conftest.c >&AS_MESSAGE_LOG_FD 2>&1"
if AC_TRY_EVAL(mpfr_compile); then
cat >conftest.awk <<\EOF
[
@@ -729,8 +890,8 @@ EOF
mpfr_cv_c_long_double_format=`od -b conftest.$OBJEXT | $AWK -f conftest.awk`
case $mpfr_cv_c_long_double_format in
unknown*)
- echo "cannot match anything, conftest.$OBJEXT contains" >&AC_FD_CC
- od -b conftest.$OBJEXT >&AC_FD_CC
+ echo "cannot match anything, conftest.$OBJEXT contains" >&AS_MESSAGE_LOG_FD
+ od -b conftest.$OBJEXT >&AS_MESSAGE_LOG_FD
;;
esac
else
@@ -835,7 +996,7 @@ dnl as a fallback.
AC_DEFUN([GMP_C_ATTRIBUTE_MODE],
[AC_CACHE_CHECK([whether gcc __attribute__ ((mode (XX))) works],
gmp_cv_c_attribute_mode,
-[AC_TRY_COMPILE([typedef int SItype __attribute__ ((mode (SI)));], ,
+[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[typedef int SItype __attribute__ ((mode (SI)));]], [[]])],
gmp_cv_c_attribute_mode=yes, gmp_cv_c_attribute_mode=no)
])
if test $gmp_cv_c_attribute_mode = yes; then
@@ -856,6 +1017,7 @@ AC_DEFUN([MPFR_FUNC_GMP_PRINTF_SPEC],[
AC_MSG_CHECKING(if gmp_printf supports "%$1")
AC_RUN_IFELSE([AC_LANG_PROGRAM([[
#include <stdio.h>
+#include <string.h>
$3
#include <gmp.h>
]], [[
@@ -868,7 +1030,9 @@ $3
[AC_MSG_RESULT(yes)
$4],
[AC_MSG_RESULT(no)
- $5])
+ $5],
+ [AC_MSG_RESULT(cross-compiling, assuming yes)
+ $4])
])
@@ -912,7 +1076,7 @@ MPFR_FUNC_GMP_PRINTF_SPEC([td], [ptrdiff_t], [
#else
#include <stddef.h>
#endif
-#include "gmp.h"
+#include <gmp.h>
],,
[AC_DEFINE([NPRINTF_T], 1, [gmp_printf cannot read ptrdiff_t])])
])
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/configure.ac b/Build/source/libs/mpfr/mpfr-3.1.3/configure.ac
index 48493d1580d..50535c7964d 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/configure.ac
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/configure.ac
@@ -1,7 +1,7 @@
dnl Process this file with autoconf to produce a configure script.
AC_COPYRIGHT([
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -23,9 +23,13 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
])
dnl Add check-news when it checks for more than 15 lines
-AC_INIT([MPFR],[3.1.2])
+AC_INIT([MPFR],[3.1.3])
-AM_INIT_AUTOMAKE([1.11 no-define dist-bzip2 dist-xz dist-zip])
+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
+dnl and MPFR manual assume that MPFR has been built using Automake 1.13+
+dnl (due to parallel tests, introduced by default in Automake 1.13).
+AM_INIT_AUTOMAKE([1.13 no-define dist-bzip2 dist-xz dist-zip])
AM_MAINTAINER_MODE(enable)
AC_CONFIG_MACRO_DIR([m4])
@@ -37,6 +41,14 @@ dnl and CC check may modify the compiler.
test_CFLAGS=${CFLAGS+set}
+dnl Check if user request its CC and CFLAGS
+if test -n "$CFLAGS" || test -n "$CC" ; then
+ user_redefine_cc=yes
+fi
+
+dnl Basic Autoconf macros. At this point, they must not make Autoconf
+dnl choose a compiler because of the CC and CFLAGS setup from gmp.h!
+
AC_CANONICAL_HOST
AC_PROG_EGREP
@@ -50,14 +62,17 @@ dnl Extra arguments to configure
unset gmp_lib_path GMP_CFLAGS GMP_CC
AC_ARG_WITH(gmp_include,
[ --with-gmp-include=DIR GMP include directory ],
+ MPFR_PARSE_DIRECTORY(["$withval"],[withval])
CPPFLAGS="$CPPFLAGS -I$withval")
AC_ARG_WITH(gmp_lib,
[ --with-gmp-lib=DIR GMP lib directory ], [
+ MPFR_PARSE_DIRECTORY(["$withval"],[withval])
LDFLAGS="$LDFLAGS -L$withval"
gmp_lib_path="$withval"
])
AC_ARG_WITH(gmp,
[ --with-gmp=DIR GMP install directory ], [
+ MPFR_PARSE_DIRECTORY(["$withval"],[withval])
if test -z "$with_gmp_lib" && test -z "$with_gmp_include" ; then
CPPFLAGS="$CPPFLAGS -I$withval/include"
LDFLAGS="$LDFLAGS -L$withval/lib"
@@ -70,6 +85,7 @@ AC_ARG_WITH(gmp,
AC_ARG_WITH(gmp_build,
[ --with-gmp-build=DIR GMP build directory (please read INSTALL file)],
[
+ MPFR_PARSE_DIRECTORY(["$withval"],[withval])
if test -z "$gmp_lib_path" && test -z "$with_gmp_include" ; then
CPPFLAGS="$CPPFLAGS -I$withval -I$withval/tune"
LDFLAGS="$LDFLAGS -L$withval -L$withval/.libs -L$withval/tune"
@@ -108,9 +124,9 @@ AC_ARG_ENABLE(gmp-internals,
AC_ARG_ENABLE(assert,
[ --enable-assert enable ASSERT checking [[default=no]]],
[ case $enableval in
- yes) AC_DEFINE([WANT_ASSERT],1,[Want assertion]) ;;
+ yes) AC_DEFINE([MPFR_WANT_ASSERT],1,[Want assertion]) ;;
no) ;;
- full) AC_DEFINE([WANT_ASSERT],2,[Want assertion]) ;;
+ full) AC_DEFINE([MPFR_WANT_ASSERT],2,[Want assertion]) ;;
*) AC_MSG_ERROR([bad value for --enable-assert: yes, no or full]) ;;
esac])
AC_ARG_ENABLE(logging,
@@ -155,14 +171,13 @@ dnl
dnl Setup CC and CFLAGS
dnl
-dnl Check if user request its CC and CFLAGS
-if test -n "$CFLAGS" || test -n "$CC" ; then
- user_redefine_cc=yes
-fi
-
dnl ********************************************************************
dnl Check for CC and CFLAGS in gmp.h
+dnl Warning! The following tests must be done before Autoconf selects
+dnl a compiler. This means that some macros such as AC_PROG_CC and
+dnl AM_PROG_AR must be put after the following code.
+
if test -z "$user_redefine_cc" && test "$cross_compiling" != yes ; then
dnl We need to guess the C preprocessor instead of using AC_PROG_CPP,
@@ -176,9 +191,16 @@ if test -z "$GMP_CC$GMP_CFLAGS" ; then
AC_MSG_CHECKING(for CC and CFLAGS in gmp.h)
GMP_CC=__GMP_CC
GMP_CFLAGS=__GMP_CFLAGS
- for cpp in /lib/cpp gcc cc c99
+ # /lib/cpp under Solaris doesn't support some environment variables
+ # used by GCC, such as C_INCLUDE_PATH. If the user has set up such
+ # environment variables, he probably wants to use them. So, let us
+ # prefer cpp and gcc to /lib/cpp.
+ for cpp in cpp gcc /lib/cpp cc c99
do
- test $cpp = /lib/cpp || cpp="$cpp -E"
+ case $cpp in
+ *cpp*) ;;
+ *) cpp="$cpp -E" ;;
+ esac
echo foo > conftest.c
if $cpp $CPPFLAGS conftest.c > /dev/null 2> /dev/null ; then
# Get CC
@@ -227,6 +249,18 @@ AC_PROG_CC
AC_PROG_CPP
AC_LANG(C)
+dnl Support unusual archivers.
+AM_PROG_AR
+
+dnl For GCC, _Decimal64 was introduced in GCC 4.3 for some targets
+dnl (note that it is not guaranteed to be available because it may
+dnl be disabled in the GCC build). See:
+dnl https://gcc.gnu.org/gcc-4.3/changes.html
+dnl _Decimal64 is not yet defined in GCC for C++:
+dnl https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51364
+dnl _Decimal64 support is broken with GCC 4.6.3 and 4.7.2 on powerpc64
+dnl with the mode32 ABI, e.g. "-m32 -mpowerpc64 -mtune=970 -O3"; this
+dnl is detected by the x != x test below.
AC_ARG_ENABLE(decimal-float,
[ --enable-decimal-float build conversion functions from/to decimal floats
[[default=no]]],
@@ -248,22 +282,29 @@ AC_ARG_ENABLE(decimal-float,
#endif]])],[AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no)
AC_MSG_ERROR([decimal float support requires _GMP_IEEE_FLOATS])])
],
- [AC_MSG_ERROR([Compiler doesn't know _Decimal64; try GCC >= 4.2, configured with --enable-decimal-float]
- )])
+ [AC_MSG_RESULT(no)
+AC_MSG_ERROR([Compiler doesn't know _Decimal64 (ISO/IEC TR 24732).
+Please use another compiler or build MPFR without --enable-decimal-float.])]
+ )
AC_MSG_CHECKING(decimal float format)
AC_RUN_IFELSE([AC_LANG_PROGRAM([[
#include <stdlib.h>
]], [[
+volatile _Decimal64 x = 1;
union { double d; _Decimal64 d64; } y;
+if (x != x) return 3;
y.d64 = 1234567890123456.0dd;
return y.d == 0.14894469406741037E-123 ? 0 :
y.d == 0.59075095508629822E-68 ? 1 : 2;
]])], [AC_MSG_RESULT(DPD)
AC_DEFINE([DPD_FORMAT],1,[])],
- [if test "$?" != 1 ; then
- AC_MSG_FAILURE(neither DPD nor BID)
- fi
- AC_MSG_RESULT(BID)],
+ [case "$?" in
+ 1) AC_MSG_RESULT(BID) ;;
+ 2) AC_MSG_FAILURE(neither DPD nor BID) ;;
+ 3) AC_MSG_FAILURE([_Decimal64 support is broken.
+Please use another compiler or build MPFR without --enable-decimal-float.]) ;;
+ *) AC_MSG_FAILURE(internal error) ;;
+ esac],
[AC_MSG_RESULT(assuming DPD)
AC_DEFINE([DPD_FORMAT],1,[])])
;;
@@ -281,7 +322,7 @@ dnl even when the -icc option is used (contrary to what is documented
dnl on the icc man page).
dnl * When ICC is correctly detected (__ICC macro defined), unsetting
dnl the GCC variable confuses libtool. See:
-dnl http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485421
+dnl https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485421
dnl * If need be, the gcc predefined macros __GNUC_* can be disabled
dnl thanks to the -no-gcc option.
AC_MSG_CHECKING(for ICC)
@@ -298,7 +339,21 @@ error
dnl If compiler is gcc, then use some specific flags.
dnl But don't touch user other flags.
if test "$test_CFLAGS" != set && test -n "$GCC"; then
- CFLAGS="-Wall -Wmissing-prototypes -Wpointer-arith $CFLAGS"
+ CFLAGS="-Wpointer-arith $CFLAGS"
+ AC_MSG_CHECKING(whether the selected language is C++)
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+#if defined (__cplusplus)
+# error "C++"
+error
+#endif
+ ]], [[]])],[
+ AC_MSG_RESULT(no)
+ CFLAGS="-Wmissing-prototypes $CFLAGS"
+ ],[
+ AC_MSG_RESULT(yes)
+ CFLAGS="-Wmissing-declarations -Wno-sign-compare $CFLAGS"
+ ])
+ CFLAGS="-Wall $CFLAGS"
fi
AM_PROG_CC_C_O
@@ -357,7 +412,7 @@ dnl but it's "ar" format and cannot be used by the MS linker. There
dnl doesn't seem to be any GNU tool for generating or converting to .lib.
AC_SUBST(MPFR_LDFLAGS)
AC_SUBST(LIBMPFR_LDFLAGS)
-AC_LIBTOOL_WIN32_DLL
+LT_INIT(win32-dll)
case $host in
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
AC_MSG_CHECKING(for DLL/static GMP)
@@ -387,8 +442,6 @@ error
fi
;;
esac
-dnl Finally set up LibTool
-AC_PROG_LIBTOOL
dnl
@@ -435,23 +488,29 @@ if test "$use_gmp_build" = yes ; then
])
fi
-dnl Check for valid GMP_NUMB_BITS and BYTES_PER_MP_LIMB
+dnl Check for GMP_NUMB_BITS and sizeof(mp_limb_t) consistency.
+dnl Problems may occur if gmp.h was generated with some ABI
+dnl and is used with another ABI (or if nails are used).
dnl This test doesn't need to link with libgmp (at least it shouldn't).
-if test "$use_gmp_build" = yes ; then
- AC_MSG_CHECKING(for valid GMP_NUMB_BITS)
- AC_RUN_IFELSE([AC_LANG_PROGRAM([[
+AC_MSG_CHECKING(for GMP_NUMB_BITS and sizeof(mp_limb_t) consistency)
+AC_RUN_IFELSE([AC_LANG_PROGRAM([[
+#include <stdio.h>
#include <limits.h>
#include "gmp.h"
-#include "gmp-impl.h"
]], [[
- return GMP_NUMB_BITS == BYTES_PER_MP_LIMB * CHAR_BIT
- && sizeof(mp_limb_t) == BYTES_PER_MP_LIMB ? 0 : 1;
+ if (GMP_NUMB_BITS == sizeof(mp_limb_t) * CHAR_BIT)
+ return 0;
+ fprintf (stderr, "GMP_NUMB_BITS = %ld\n", (long) GMP_NUMB_BITS);
+ fprintf (stderr, "sizeof(mp_limb_t) = %ld\n", (long) sizeof(mp_limb_t));
+ fprintf (stderr, "sizeof(mp_limb_t) * CHAR_BIT = %ld != GMP_NUMB_BITS\n",
+ (long) (sizeof(mp_limb_t) * CHAR_BIT));
+ return 1;
]])], [AC_MSG_RESULT(yes)], [
AC_MSG_RESULT(no)
- AC_MSG_ERROR([GMP_NUMB_BITS is incorrect.
-You probably need to change some of the GMP or MPFR compile options.])],
+ AC_MSG_ERROR([GMP_NUMB_BITS and sizeof(mp_limb_t) are not consistent.
+You probably need to change some of the GMP or MPFR compile options.
+See 'config.log' for details (search for GMP_NUMB_BITS).])],
[AC_MSG_RESULT([can't test])])
-fi
dnl We really need to link using libtool. But it is impossible with the current
@@ -474,6 +533,9 @@ dnl We do not set LD_LIBRARY_PATH, as it is not possible to set it just
dnl before the test program is run, and we do not want to affect other
dnl programs (such as the compiler), because the behavior could be
dnl incorrect and even have security implications.
+dnl WARNING! LD_RUN_PATH is not taken into account by the GNU gold ld,
+dnl e.g. from binutils-gold 2.22-5 under Debian; see
+dnl https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=660813
saved_LD_RUN_PATH="$LD_RUN_PATH"
LD_RUN_PATH="${LD_RUN_PATH:+$LD_RUN_PATH$PATH_SEPARATOR}$gmp_lib_path"
export LD_RUN_PATH
@@ -494,6 +556,8 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM([[
return (strcmp (buffer, gmp_version) != 0) ? 1 : 0;
]])],
[AC_MSG_RESULT(yes)
+ MPFR_CHECK_GMP
+ MPFR_CHECK_DBL2INT_BUG
MPFR_CHECK_PRINTF_SPEC],
[AC_MSG_RESULT(no)
AC_MSG_WARN([==========================================================])
@@ -505,6 +569,12 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM([[
AC_MSG_WARN([(such as /usr/include or /usr/local/include).])
AC_MSG_WARN([However since we can't use 'libtool' inside the configure,])
AC_MSG_WARN([we can't be sure. See 'config.log' for details.])
+ AC_MSG_WARN([CC="$CC"])
+ AC_MSG_WARN([CFLAGS="$CFLAGS"])
+ AC_MSG_WARN([CPPFLAGS="$CPPFLAGS"])
+ AC_MSG_WARN([LDFLAGS="$LDFLAGS"])
+ AC_MSG_WARN([LIBS="$LIBS"])
+ AC_MSG_WARN([Temporary LD_RUN_PATH was "$LD_RUN_PATH".])
AC_MSG_WARN([==========================================================])
],AC_MSG_RESULT([can not test])
)
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/Makefile.am b/Build/source/libs/mpfr/mpfr-3.1.3/src/Makefile.am
index 7644cda720d..fc0c3384040 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/Makefile.am
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/Makefile.am
@@ -1,4 +1,4 @@
-# Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+# Copyright 2000-2015 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.
@@ -75,7 +75,7 @@ libmpfr_la_LIBADD = @LIBOBJS@
# 2.4.x 3:x:2
# 3.0.x 4:x:0
# 3.1.x 5:x:1
-libmpfr_la_LDFLAGS = $(MPFR_LDFLAGS) $(LIBMPFR_LDFLAGS) -version-info 5:2:1
+libmpfr_la_LDFLAGS = $(MPFR_LDFLAGS) $(LIBMPFR_LDFLAGS) -version-info 5:3:1
# 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
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/abort_prec_max.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/abort_prec_max.c
index a747e72b248..57cd1d20858 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/abort_prec_max.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/abort_prec_max.c
@@ -1,6 +1,6 @@
/* mpfr_abort_prec_max -- Abort due to maximal precision overflow.
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/acos.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/acos.c
index 63eddf51cdd..7b2bf9e93e2 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/acos.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/acos.c
@@ -1,6 +1,6 @@
/* mpfr_acos -- arc-cosinus of a floating-point number
-Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/acosh.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/acosh.c
index 75e931d1891..a0f96dc4ae3 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/acosh.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/acosh.c
@@ -1,6 +1,6 @@
/* mpfr_acosh -- inverse hyperbolic cosine
-Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/add.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/add.c
index 4b938dc25ab..c70981d9dfd 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/add.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/add.c
@@ -1,6 +1,6 @@
/* mpfr_add -- add two floating-point numbers
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/add1.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/add1.c
index e77f75231d9..b7b3094acab 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/add1.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/add1.c
@@ -1,6 +1,6 @@
/* mpfr_add1 -- internal function to perform a "real" addition
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/add1sp.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/add1sp.c
index 91aa3034101..1435e317096 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/add1sp.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/add1sp.c
@@ -1,7 +1,7 @@
/* mpfr_add1sp -- internal function to perform a "real" addition
All the op must have the same precision
-Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2004-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -25,8 +25,8 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#include "mpfr-impl.h"
/* Check if we have to check the result of mpfr_add1sp with mpfr_add1 */
-#ifdef WANT_ASSERT
-# if WANT_ASSERT >= 2
+#ifdef MPFR_WANT_ASSERT
+# if MPFR_WANT_ASSERT >= 2
int mpfr_add1sp2 (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t);
int mpfr_add1sp (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mpfr_rnd_t rnd_mode)
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/add_d.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/add_d.c
index 888511a26f9..ee55aed2499 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/add_d.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/add_d.c
@@ -1,7 +1,7 @@
/* mpfr_add_d -- add a multiple precision floating-point number
to a machine double precision float
-Copyright 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2007-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/add_ui.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/add_ui.c
index aff6c677612..51b996c82b6 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/add_ui.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/add_ui.c
@@ -1,6 +1,6 @@
/* mpfr_add_ui -- add a floating-point number with a machine integer
-Copyright 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2000-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -27,7 +27,7 @@ int
mpfr_add_ui (mpfr_ptr y, mpfr_srcptr x, unsigned long int u, mpfr_rnd_t rnd_mode)
{
MPFR_LOG_FUNC
- (("x[%Pu]=%.*Rg u=%d rnd=%d",
+ (("x[%Pu]=%.*Rg u=%lu rnd=%d",
mpfr_get_prec(x), mpfr_log_prec, x, u, rnd_mode),
("y[%Pu]=%.*Rg", mpfr_get_prec (y), mpfr_log_prec, y));
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/agm.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/agm.c
index 567bc46a5e4..0177e32d5e1 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/agm.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/agm.c
@@ -1,6 +1,6 @@
/* mpfr_agm -- arithmetic-geometric mean of two floating-point numbers
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/ai.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/ai.c
index 19d9eb5c11e..cbab7cfcbe0 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/ai.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/ai.c
@@ -1,6 +1,6 @@
/* mpfr_ai -- Airy function Ai
-Copyright 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2010-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/amd/amdfam10/mparam.h b/Build/source/libs/mpfr/mpfr-3.1.3/src/amd/amdfam10/mparam.h
index b5b1d81a51a..4a3e407b225 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/amd/amdfam10/mparam.h
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/amd/amdfam10/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/amd/athlon/mparam.h b/Build/source/libs/mpfr/mpfr-3.1.3/src/amd/athlon/mparam.h
index 3a48522171e..38236c4ab24 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/amd/athlon/mparam.h
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/amd/athlon/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/amd/k8/mparam.h b/Build/source/libs/mpfr/mpfr-3.1.3/src/amd/k8/mparam.h
index 4f6b348868d..1f818869c0d 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/amd/k8/mparam.h
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/amd/k8/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/arm/mparam.h b/Build/source/libs/mpfr/mpfr-3.1.3/src/arm/mparam.h
index d3037d5d009..7b73c9a7d12 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/arm/mparam.h
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/arm/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/asin.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/asin.c
index e243dcd63ab..6aae6812dec 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/asin.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/asin.c
@@ -1,6 +1,6 @@
/* mpfr_asin -- arc-sinus of a floating-point number
-Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/asinh.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/asinh.c
index 2741bf9964c..276aa27d719 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/asinh.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/asinh.c
@@ -1,6 +1,6 @@
/* mpfr_asinh -- inverse hyperbolic sine
-Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/atan.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/atan.c
index 45e8e75f451..5fb1c8a4673 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/atan.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/atan.c
@@ -1,6 +1,6 @@
/* mpfr_atan -- arc-tangent of a floating-point number
-Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/atan2.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/atan2.c
index 8631beeb1cf..9b7b4c3315a 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/atan2.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/atan2.c
@@ -1,6 +1,6 @@
/* mpfr_atan2 -- arc-tan 2 of a floating-point number
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/atanh.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/atanh.c
index 078ffc6aa18..4c440bdae63 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/atanh.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/atanh.c
@@ -1,6 +1,6 @@
/* mpfr_atanh -- Inverse Hyperbolic Tangente
-Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/bernoulli.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/bernoulli.c
index 85381550120..0bacbb00bf3 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/bernoulli.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/bernoulli.c
@@ -1,6 +1,6 @@
/* bernoulli -- internal function to compute Bernoulli numbers.
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/buildopt.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/buildopt.c
index 67dd02541ad..c44b97a3d36 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/buildopt.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/buildopt.c
@@ -1,7 +1,7 @@
/* buildopt.c -- functions giving information about options used during the
mpfr library compilation
-Copyright 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2009-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/cache.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/cache.c
index 359ac424228..1ddddf3b86f 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/cache.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/cache.c
@@ -1,6 +1,6 @@
/* mpfr_cache -- cache interface for multiple-precision constants in MPFR.
-Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2004-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/cbrt.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/cbrt.c
index 8c7abcfb324..d6858bc92fa 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/cbrt.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/cbrt.c
@@ -1,6 +1,6 @@
/* mpfr_cbrt -- cube root function.
-Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2002-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/check.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/check.c
index 97c954158b2..10ab789a6e5 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/check.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/check.c
@@ -1,6 +1,6 @@
/* mpfr_check -- Check if a floating-point number has not been corrupted.
-Copyright 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/clear.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/clear.c
index 0db60c133fd..65282effbea 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/clear.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/clear.c
@@ -1,6 +1,6 @@
/* mpfr_clear -- free the memory space allocated for a floating-point number
-Copyright 1999, 2000, 2001, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2001, 2004-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/clears.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/clears.c
index bb49e0b93ef..dfa830b4d28 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/clears.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/clears.c
@@ -1,7 +1,7 @@
/* mpfr_clears -- free the memory space allocated for several
floating-point numbers
-Copyright 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/cmp.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/cmp.c
index d6a426827f1..237313ccab8 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/cmp.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/cmp.c
@@ -1,6 +1,6 @@
/* mpfr_cmp -- compare two floating-point numbers
-Copyright 1999, 2001, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999, 2001, 2003-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/cmp2.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/cmp2.c
index 70e40fe375f..917247c0e21 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/cmp2.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/cmp2.c
@@ -1,6 +1,6 @@
/* mpfr_cmp2 -- exponent shift when subtracting two numbers.
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/cmp_abs.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/cmp_abs.c
index a6e6d9eb3ea..62ce27ff1d1 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/cmp_abs.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/cmp_abs.c
@@ -1,6 +1,6 @@
/* mpfr_cmpabs -- compare the absolute values of two FP numbers
-Copyright 1999, 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999, 2001-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/cmp_d.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/cmp_d.c
index 1341a183d90..70d687a4bd1 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/cmp_d.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/cmp_d.c
@@ -1,6 +1,6 @@
/* mpfr_cmp_d -- compare a floating-point number with a double
-Copyright 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/cmp_ld.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/cmp_ld.c
index c09bea66460..4e9ec0b3bae 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/cmp_ld.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/cmp_ld.c
@@ -1,6 +1,6 @@
/* mpfr_cmp_d -- compare a floating-point number with a long double
-Copyright 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/cmp_si.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/cmp_si.c
index ac104a69062..1bd8e7b5a2a 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/cmp_si.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/cmp_si.c
@@ -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, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999, 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/cmp_ui.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/cmp_ui.c
index 1e094abbf66..e42b43e35a4 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/cmp_ui.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/cmp_ui.c
@@ -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, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999, 2001-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/comparisons.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/comparisons.c
index 584667e27ca..ca7fa90f460 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/comparisons.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/comparisons.c
@@ -1,6 +1,6 @@
/* comparison predicates
-Copyright 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2002-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/const_catalan.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/const_catalan.c
index c8929c15da6..0e4402d7643 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/const_catalan.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/const_catalan.c
@@ -1,6 +1,6 @@
/* mpfr_const_catalan -- compute Catalan's constant.
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/const_euler.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/const_euler.c
index 22576348933..802561fbed4 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/const_euler.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/const_euler.c
@@ -1,6 +1,6 @@
/* mpfr_const_euler -- Euler's constant
-Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/const_log2.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/const_log2.c
index 7e6333fe31f..7c634e9d7cf 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/const_log2.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/const_log2.c
@@ -1,6 +1,6 @@
/* mpfr_const_log2 -- compute natural logarithm of 2
-Copyright 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999, 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/const_pi.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/const_pi.c
index 046ccc47dd9..0306d432aff 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/const_pi.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/const_pi.c
@@ -1,6 +1,6 @@
/* mpfr_const_pi -- compute Pi
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/constant.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/constant.c
index 25ea40e700a..158496c2e4b 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/constant.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/constant.c
@@ -1,6 +1,6 @@
/* MPFR internal constant FP numbers
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/copysign.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/copysign.c
index e6e12811a96..96c18137531 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/copysign.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/copysign.c
@@ -1,6 +1,6 @@
/* mpfr_copysign -- Produce a value with the magnitude of x and sign bit of y
-Copyright 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/cos.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/cos.c
index aeb9efac6c4..c9eac10a2cb 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/cos.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/cos.c
@@ -1,6 +1,6 @@
/* mpfr_cos -- cosine of a floating-point number
-Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -169,8 +169,8 @@ mpfr_cos (mpfr_ptr y, mpfr_srcptr x, mpfr_rnd_t rnd_mode)
if (precy >= MPFR_SINCOS_THRESHOLD)
{
- MPFR_SAVE_EXPO_FREE (expo);
- return mpfr_cos_fast (y, x, rnd_mode);
+ inexact = mpfr_cos_fast (y, x, rnd_mode);
+ goto end;
}
K0 = __gmpfr_isqrt (precy / 3);
@@ -293,6 +293,7 @@ mpfr_cos (mpfr_ptr y, mpfr_srcptr x, mpfr_rnd_t rnd_mode)
mpfr_clear (c);
}
+ end:
MPFR_SAVE_EXPO_FREE (expo);
return mpfr_check_range (y, inexact, rnd_mode);
}
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/cosh.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/cosh.c
index dbef5aa8b22..c07773474da 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/cosh.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/cosh.c
@@ -1,6 +1,6 @@
/* mpfr_cosh -- hyperbolic cosine
-Copyright 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2002, 2004-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/cot.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/cot.c
index 21b786ea251..8959966f2ac 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/cot.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/cot.c
@@ -1,6 +1,6 @@
/* mpfr_cot - cotangent function.
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/coth.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/coth.c
index 5cc093b639a..94aadfebd05 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/coth.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/coth.c
@@ -1,6 +1,6 @@
/* mpfr_coth - Hyperbolic cotangent function.
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/csc.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/csc.c
index c9cc2362399..41703d46f13 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/csc.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/csc.c
@@ -1,6 +1,6 @@
/* mpfr_csc - cosecant function.
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/csch.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/csch.c
index 2eecaf7db9d..ab25a6764f1 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/csch.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/csch.c
@@ -1,6 +1,6 @@
/* mpfr_csch - Hyperbolic cosecant function.
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/d_div.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/d_div.c
index 4ddac9d8403..cad7f102b38 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/d_div.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/d_div.c
@@ -1,7 +1,7 @@
/* mpfr_d_div -- divide a machine double precision float
by a multiple precision floating-point number
-Copyright 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2007-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/d_sub.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/d_sub.c
index 59d810f2645..c8b8ff59a13 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/d_sub.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/d_sub.c
@@ -1,7 +1,7 @@
/* mpfr_d_sub -- subtract a multiple precision floating-point number
from a machine double precision float
-Copyright 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2007-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/digamma.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/digamma.c
index 9eb971cae70..1c4e7df4606 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/digamma.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/digamma.c
@@ -1,6 +1,6 @@
/* mpfr_digamma -- digamma function of a floating-point number
-Copyright 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2009-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/dim.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/dim.c
index 29cab12f2cc..8a25cbbbbf4 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/dim.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/dim.c
@@ -1,6 +1,6 @@
/* mpfr_dim -- positive difference
-Copyright 2001, 2002, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2002, 2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/div.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/div.c
index e6834821b15..8b3aabe9ebb 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/div.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/div.c
@@ -1,6 +1,6 @@
/* mpfr_div -- divide two floating-point numbers
-Copyright 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999, 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -750,7 +750,9 @@ mpfr_div (mpfr_ptr q, mpfr_srcptr u, mpfr_srcptr v, mpfr_rnd_t rnd_mode)
truncate_check_qh:
if (qh)
{
- qexp ++;
+ if (MPFR_LIKELY (qexp < MPFR_EXP_MAX))
+ qexp ++;
+ /* else qexp is now incorrect, but one will still get an overflow */
q0p[q0size - 1] = MPFR_LIMB_HIGHBIT;
}
goto truncate;
@@ -765,7 +767,9 @@ mpfr_div (mpfr_ptr q, mpfr_srcptr u, mpfr_srcptr v, mpfr_rnd_t rnd_mode)
inex = 1; /* always here */
if (mpn_add_1 (q0p, q0p, q0size, MPFR_LIMB_ONE << sh))
{
- qexp ++;
+ if (MPFR_LIKELY (qexp < MPFR_EXP_MAX))
+ qexp ++;
+ /* else qexp is now incorrect, but one will still get an overflow */
q0p[q0size - 1] = MPFR_LIMB_HIGHBIT;
}
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/div_2exp.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/div_2exp.c
index 1dedd3b5834..909e798883e 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/div_2exp.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/div_2exp.c
@@ -1,6 +1,6 @@
/* mpfr_div_2exp -- divide a floating-point number by a power of two
-Copyright 1999, 2001, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999, 2001, 2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/div_2si.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/div_2si.c
index 5de15b9f632..c7da6a05849 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/div_2si.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/div_2si.c
@@ -1,6 +1,6 @@
/* mpfr_div_2si -- divide a floating-point number by a power of two
-Copyright 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999, 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/div_2ui.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/div_2ui.c
index 89e048849ed..12df43bb760 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/div_2ui.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/div_2ui.c
@@ -1,6 +1,6 @@
/* mpfr_div_2ui -- divide a floating-point number by a power of two
-Copyright 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999, 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/div_d.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/div_d.c
index e2f6c9fa682..4ee009e038b 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/div_d.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/div_d.c
@@ -1,7 +1,7 @@
/* mpfr_div_d -- divide a multiple precision floating-point number
by a machine double precision float
-Copyright 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2007-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/div_ui.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/div_ui.c
index 8688411e1f3..322a1351388 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/div_ui.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/div_ui.c
@@ -1,6 +1,6 @@
/* mpfr_div_{ui,si} -- divide a floating-point number by a machine integer
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -174,7 +174,7 @@ mpfr_div_ui (mpfr_ptr y, mpfr_srcptr x, unsigned long int u, mpfr_rnd_t rnd_mode
else
{ /* this happens only if u == 1 and xp[xn-1] >=
1<<(GMP_NUMB_BITS-1). It might be better to handle the
- u == 1 case seperately ?
+ u == 1 case separately?
*/
MPN_COPY (yp, tmp + 1, yn);
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/dump.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/dump.c
index 9c5fda6a44b..fb00f79b2bf 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/dump.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/dump.c
@@ -1,6 +1,6 @@
/* mpfr_dump -- Dump a float to stdout.
-Copyright 1999, 2001, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999, 2001, 2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/eint.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/eint.c
index 05bf0cebb21..aaff14a83c0 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/eint.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/eint.c
@@ -1,6 +1,6 @@
/* mpfr_eint, mpfr_eint1 -- the exponential integral
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -308,7 +308,7 @@ mpfr_eint (mpfr_ptr y, mpfr_srcptr x, mpfr_rnd_t rnd)
mpfr_set_prec (tmp, prec);
mpfr_set_prec (ump, prec);
}
- MPFR_ZIV_FREE (loop); /* Free the ZivLoop Controler */
+ MPFR_ZIV_FREE (loop); /* Free the ZivLoop Controller */
inex = mpfr_set (y, tmp, rnd); /* Set y to the computed value */
mpfr_clear (tmp);
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/eq.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/eq.c
index 75890702575..c58110ca639 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/eq.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/eq.c
@@ -1,6 +1,6 @@
/* mpfr_eq -- Compare two floats up to a specified bit #.
-Copyright 1999, 2001, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999, 2001, 2003-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/erf.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/erf.c
index 0b5a221ee8d..227eba71ec3 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/erf.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/erf.c
@@ -1,6 +1,6 @@
/* mpfr_erf -- error function of a floating-point number
-Copyright 2001, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001, 2003-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/erfc.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/erfc.c
index 653bf2f6829..1f0b36d3b36 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/erfc.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/erfc.c
@@ -1,6 +1,6 @@
/* mpfr_erfc -- The Complementary Error Function of a floating-point number
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -266,7 +266,7 @@ mpfr_erfc (mpfr_ptr y, mpfr_srcptr x, mpfr_rnd_t rnd)
MPFR_ZIV_NEXT (loop, prec); /* Increase used precision */
mpfr_set_prec (tmp, prec);
}
- MPFR_ZIV_FREE (loop); /* Free the ZivLoop Controler */
+ MPFR_ZIV_FREE (loop); /* Free the ZivLoop Controller */
inex = mpfr_set (y, tmp, rnd); /* Set y to the computed value */
mpfr_clear (tmp);
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/exceptions.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/exceptions.c
index 2bd89dc3cb7..dacca4eaa1b 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/exceptions.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/exceptions.c
@@ -1,6 +1,6 @@
/* Exception flags and utilities.
-Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/exp.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/exp.c
index 82e6d4b4add..2a4f3414d09 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/exp.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/exp.c
@@ -1,6 +1,6 @@
/* mpfr_exp -- exponential of a floating-point number
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/exp10.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/exp10.c
index 3540cb97afd..49b9bc8a0ee 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/exp10.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/exp10.c
@@ -1,6 +1,6 @@
/* mpfr_exp10 -- power of 10 function 10^y
-Copyright 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/exp2.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/exp2.c
index a107d8ade72..56eba78ba98 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/exp2.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/exp2.c
@@ -1,6 +1,6 @@
/* mpfr_exp2 -- power of 2 function 2^y
-Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/exp3.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/exp3.c
index 57fd0a4bb20..2cd201197f9 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/exp3.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/exp3.c
@@ -1,6 +1,6 @@
/* mpfr_exp -- exponential of a floating-point number
-Copyright 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999, 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -283,7 +283,7 @@ mpfr_exp_3 (mpfr_ptr y, mpfr_srcptr x, mpfr_rnd_t rnd_mode)
}
}
- if (mpfr_can_round (shift_x > 0 ? t : tmp, realprec, MPFR_RNDD, MPFR_RNDZ,
+ if (mpfr_can_round (shift_x > 0 ? t : tmp, realprec, MPFR_RNDN, MPFR_RNDZ,
MPFR_PREC(y) + (rnd_mode == MPFR_RNDN)))
{
inexact = mpfr_set (y, shift_x > 0 ? t : tmp, rnd_mode);
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/exp_2.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/exp_2.c
index 7f9ef6f4897..bd181bea622 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/exp_2.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/exp_2.c
@@ -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, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -204,7 +204,7 @@ mpfr_exp_2 (mpfr_ptr y, mpfr_srcptr x, mpfr_rnd_t rnd_mode)
for (k = 0; k < K; k++)
{
mpz_mul (ss, ss, ss);
- exps <<= 1;
+ exps *= 2;
exps += mpz_normalize (ss, ss, q);
}
mpfr_set_z (s, ss, MPFR_RNDN);
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/expm1.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/expm1.c
index 1961dd4b8ca..fab05be47f1 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/expm1.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/expm1.c
@@ -1,6 +1,6 @@
/* mpfr_expm1 -- Compute exp(x)-1
-Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/extract.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/extract.c
index 03389320530..c3bb0190276 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/extract.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/extract.c
@@ -1,6 +1,6 @@
/* mpfr_extract -- bit-extraction function for the binary splitting algorithm
-Copyright 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2000-2002, 2004-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/factorial.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/factorial.c
index a4fee01418b..aa9a126d4e5 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/factorial.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/factorial.c
@@ -1,6 +1,6 @@
/* mpfr_fac_ui -- factorial of a non-negative integer
-Copyright 2001, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001, 2004-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/fits_intmax.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/fits_intmax.c
index 260338eb63e..c3d072a228d 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/fits_intmax.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/fits_intmax.c
@@ -1,6 +1,6 @@
/* mpfr_fits_intmax_p -- test whether an mpfr fits an intmax_t.
-Copyright 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/fits_s.h b/Build/source/libs/mpfr/mpfr-3.1.3/src/fits_s.h
index 83ebc2c2837..0dd77fb45a2 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/fits_s.h
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/fits_s.h
@@ -1,6 +1,6 @@
/* mpfr_fits_*_p -- test whether an mpfr fits a C signed type.
-Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2003-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/fits_sint.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/fits_sint.c
index 111b05c5a66..5c32fd3046a 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/fits_sint.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/fits_sint.c
@@ -1,6 +1,6 @@
/* mpfr_fits_sint_p -- test whether an mpfr fits an int.
-Copyright 2003, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2003, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/fits_slong.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/fits_slong.c
index 2e37f0de0fb..2f51700206e 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/fits_slong.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/fits_slong.c
@@ -1,6 +1,6 @@
/* mpfr_fits_slong_p -- test whether an mpfr fits a long.
-Copyright 2003, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2003, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/fits_sshort.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/fits_sshort.c
index 85e31fbe730..d7cdd0b6acf 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/fits_sshort.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/fits_sshort.c
@@ -1,6 +1,6 @@
/* mpfr_fits_sshort_p -- test whether an mpfr fits a short.
-Copyright 2003, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2003, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/fits_u.h b/Build/source/libs/mpfr/mpfr-3.1.3/src/fits_u.h
index ab4715f1546..ed837a29bc9 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/fits_u.h
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/fits_u.h
@@ -1,6 +1,6 @@
/* mpfr_fits_*_p -- test whether an mpfr fits a C unsigned type.
-Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2003-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -32,17 +32,20 @@ FUNCTION (mpfr_srcptr f, mpfr_rnd_t rnd)
int res;
if (MPFR_UNLIKELY (MPFR_IS_SINGULAR (f)))
- /* Zero always fit */
- return MPFR_IS_ZERO (f) ? 1 : 0;
- else if (MPFR_IS_NEG (f))
- /* Negative numbers don't fit */
- return 0;
- /* now it fits if
- (a) f <= MAXIMUM
- (b) round(f, prec(slong), rnd) <= MAXIMUM */
+ return MPFR_IS_ZERO (f) ? 1 : 0; /* Zero always fits */
e = MPFR_GET_EXP (f);
+ if (MPFR_IS_NEG (f))
+ return e >= 1 ? 0 /* f <= -1 does not fit */
+ : rnd != MPFR_RNDN ? MPFR_IS_LIKE_RNDU (rnd, -1) /* directed mode */
+ : e < 0 ? 1 /* f > -1/2 fits in MPFR_RNDN */
+ : mpfr_powerof2_raw(f); /* -1/2 fits, -1 < f < -1/2 don't */
+
+ /* Now it fits if
+ (a) f <= MAXIMUM
+ (b) round(f, prec(slong), rnd) <= MAXIMUM */
+
/* first compute prec(MAXIMUM); fits in an int */
for (s = MAXIMUM, prec = 0; s != 0; s /= 2, prec ++);
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/fits_uint.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/fits_uint.c
index 6c6d3bb9b9c..d62f9d21c75 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/fits_uint.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/fits_uint.c
@@ -1,6 +1,6 @@
/* mpfr_fits_uint_p -- test whether an mpfr fits an unsigned int.
-Copyright 2003, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2003, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/fits_uintmax.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/fits_uintmax.c
index 43a9ca98ccb..fc51d91c5e1 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/fits_uintmax.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/fits_uintmax.c
@@ -1,6 +1,6 @@
/* mpfr_fits_uintmax_p -- test whether an mpfr fits an uintmax_t.
-Copyright 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -27,51 +27,19 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#include "mpfr-intmax.h"
#include "mpfr-impl.h"
-#ifdef _MPFR_H_HAVE_INTMAX_T
-
-/* We can't use fits_u.h <= mpfr_cmp_ui */
-int
-mpfr_fits_uintmax_p (mpfr_srcptr f, mpfr_rnd_t rnd)
-{
- mpfr_exp_t e;
- int prec;
- uintmax_t s;
- mpfr_t x;
- int res;
-
- if (MPFR_UNLIKELY (MPFR_IS_SINGULAR (f)))
- /* Zero always fit */
- return MPFR_IS_ZERO (f) ? 1 : 0;
- else if (MPFR_IS_NEG (f))
- /* Negative numbers don't fit */
- return 0;
- /* now it fits if
- (a) f <= MAXIMUM
- (b) round(f, prec(slong), rnd) <= MAXIMUM */
-
- e = MPFR_GET_EXP (f);
+/* Note: though mpfr-impl.h is included in fits_u.h, we also include it
+ above so that it gets included even when _MPFR_H_HAVE_INTMAX_T is not
+ defined; this is necessary to avoid an empty translation unit, which
+ is forbidden by ISO C. Without this, a failing test can be reproduced
+ by creating an invalid stdint.h somewhere in the default include path
+ and by compiling MPFR with "gcc -ansi -pedantic-errors". */
- /* first compute prec(MAXIMUM); fits in an int */
- for (s = MPFR_UINTMAX_MAX, prec = 0; s != 0; s /= 2, prec ++);
-
- /* MAXIMUM needs prec bits, i.e. MAXIMUM = 2^prec - 1 */
-
- /* if e <= prec - 1, then f < 2^(prec-1) < MAXIMUM */
- if (e <= prec - 1)
- return 1;
-
- /* if e >= prec + 1, then f >= 2^prec > MAXIMUM */
- if (e >= prec + 1)
- return 0;
+#ifdef _MPFR_H_HAVE_INTMAX_T
- MPFR_ASSERTD (e == prec);
+#define FUNCTION mpfr_fits_uintmax_p
+#define MAXIMUM MPFR_UINTMAX_MAX
+#define TYPE uintmax_t
- /* hard case: first round to prec bits, then check */
- mpfr_init2 (x, prec);
- mpfr_set (x, f, rnd);
- res = MPFR_GET_EXP (x) == e;
- mpfr_clear (x);
- return res;
-}
+#include "fits_u.h"
#endif
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/fits_ulong.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/fits_ulong.c
index d311e7e47bf..bbd2a3a1e8b 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/fits_ulong.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/fits_ulong.c
@@ -1,6 +1,6 @@
/* mpfr_fits_ulong_p -- test whether an mpfr fits an unsigned long.
-Copyright 2003, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2003, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/fits_ushort.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/fits_ushort.c
index 25c74b12ab3..d4b389d630f 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/fits_ushort.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/fits_ushort.c
@@ -1,6 +1,6 @@
/* mpfr_fits_ushort_p -- test whether an mpfr fits an unsigned short.
-Copyright 2003, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2003, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/fma.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/fma.c
index 8454e8d2183..8acb617f7d5 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/fma.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/fma.c
@@ -1,6 +1,6 @@
/* mpfr_fma -- Floating multiply-add
-Copyright 2001, 2002, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2002, 2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -122,8 +122,11 @@ mpfr_fma (mpfr_ptr s, mpfr_srcptr x, mpfr_srcptr y, mpfr_srcptr z,
It is an overflow iff u is an infinity (since MPFR_RNDN was used).
Alternatively, we could test the overflow flag, but in this case,
mpfr_clear_flags would have been necessary. */
+
if (MPFR_IS_INF (u)) /* overflow */
{
+ MPFR_LOG_MSG (("Overflow on x*y\n", 0));
+
/* 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,
@@ -209,11 +212,15 @@ mpfr_fma (mpfr_ptr s, mpfr_srcptr x, mpfr_srcptr y, mpfr_srcptr z,
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)
{
mpfr_uexp_t uscale;
@@ -252,6 +259,9 @@ mpfr_fma (mpfr_ptr s, mpfr_srcptr x, mpfr_srcptr y, mpfr_srcptr 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). */
@@ -265,6 +275,7 @@ mpfr_fma (mpfr_ptr s, mpfr_srcptr x, mpfr_srcptr y, mpfr_srcptr z,
MPFR_BLOCK_DECL (flags);
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)
{
@@ -276,10 +287,16 @@ mpfr_fma (mpfr_ptr s, mpfr_srcptr x, mpfr_srcptr y, mpfr_srcptr z,
is not possible, but let's check that anyway. */
MPFR_ASSERTN (! MPFR_OVERFLOW (flags)); /* TODO... */
MPFR_ASSERTN (! MPFR_UNDERFLOW (flags)); /* not possible */
- inex2 = mpfr_div_2ui (s, s, scale, MPFR_RNDN);
- /* FIXME: this seems incorrect. MPFR_RNDN -> rnd_mode?
- Also, handle the double rounding case:
- s / 2^scale = 2^(emin - 2) in MPFR_RNDN. */
+ 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;
}
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/fms.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/fms.c
index 2c0fd53f438..fe17e5b201b 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/fms.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/fms.c
@@ -1,6 +1,6 @@
/* mpfr_fms -- Floating multiply-subtract
-Copyright 2001, 2002, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2002, 2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/frac.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/frac.c
index b857e3a883c..5b26c2c2713 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/frac.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/frac.c
@@ -1,6 +1,6 @@
/* mpfr_frac -- Fractional part of a floating-point number.
-Copyright 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2002-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/free_cache.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/free_cache.c
index 990f9999b16..928936ade46 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/free_cache.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/free_cache.c
@@ -1,6 +1,6 @@
/* mpfr_free_cache - Free the cache used by MPFR for internal consts.
-Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2004-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/frexp.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/frexp.c
index 0aea130df69..0f8de7ed5e3 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/frexp.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/frexp.c
@@ -1,6 +1,6 @@
/* mpfr_frexp -- convert to integral and fractional parts
-Copyright 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2011-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/gamma.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/gamma.c
index dbfacec1033..d19a5b7212a 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/gamma.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/gamma.c
@@ -1,6 +1,6 @@
/* mpfr_gamma -- gamma function
-Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/gammaonethird.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/gammaonethird.c
index 93fda9c1289..255e3fbbedc 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/gammaonethird.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/gammaonethird.c
@@ -1,6 +1,6 @@
/* Functions for evaluating Gamma(1/3) and Gamma(2/3). Used by mpfr_ai.
-Copyright 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2010-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/gen_inverse.h b/Build/source/libs/mpfr/mpfr-3.1.3/src/gen_inverse.h
index 49f8ed0d758..643cdb06350 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/gen_inverse.h
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/gen_inverse.h
@@ -1,6 +1,6 @@
/* generic inverse of a function.
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/generic/mparam.h b/Build/source/libs/mpfr/mpfr-3.1.3/src/generic/mparam.h
index c0ff6038117..b850e6508f5 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/generic/mparam.h
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/generic/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_d.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_d.c
index 307148a9f9f..e4098264a1e 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_d.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_d.c
@@ -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, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_d64.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_d64.c
index ec4d8e8f336..16c9c936e56 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_d64.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_d64.c
@@ -5,7 +5,7 @@ See http://gcc.gnu.org/ml/gcc/2006-06/msg00691.html,
http://gcc.gnu.org/onlinedocs/gcc/Decimal-Float.html,
and TR 24732 <http://www.open-std.org/jtc1/sc22/wg14/www/projects#24732>.
-Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_exp.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_exp.c
index 5be268f53e3..9e177687bb0 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_exp.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_exp.c
@@ -1,6 +1,6 @@
/* mpfr_get_exp - get the exponent of a floating-point number
-Copyright 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2002-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_f.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_f.c
index 67b2962d79b..f129845b965 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_f.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_f.c
@@ -1,6 +1,6 @@
/* mpfr_get_f -- convert a MPFR number to a GNU MPF number
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_flt.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_flt.c
index 411e3c75941..0fb66c32d0c 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_flt.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_flt.c
@@ -1,6 +1,6 @@
/* mpfr_get_flt -- convert a mpfr_t to a machine single precision float
-Copyright 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2009-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_ld.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_ld.c
index 146c5166138..b24f9b94ba6 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_ld.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_ld.c
@@ -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, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2002-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_patches.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_patches.c
index ac9f6ae7533..d5d93b4ebb6 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_patches.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_patches.c
@@ -1,6 +1,6 @@
/* mpfr_get_patches -- Patches that have been applied
-Copyright 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2007-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_si.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_si.c
index f2b2762ebd5..ea3fb164f70 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_si.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_si.c
@@ -1,6 +1,6 @@
/* mpfr_get_si -- convert a floating-point number to a signed long.
-Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2003-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_sj.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_sj.c
index 528f42158fb..49de8a00650 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_sj.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_sj.c
@@ -1,6 +1,6 @@
/* mpfr_get_sj -- convert a MPFR number to a huge machine signed integer
-Copyright 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_str.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_str.c
index b907aa66441..137aaa4f79d 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_str.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_str.c
@@ -1,6 +1,6 @@
/* mpfr_get_str -- output a floating-point number to a string
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_ui.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_ui.c
index d7b11fe883d..374d35dd1eb 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_ui.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_ui.c
@@ -1,6 +1,6 @@
/* mpfr_get_ui -- convert a floating-point number to an unsigned long.
-Copyright 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_uj.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_uj.c
index 4f085b41429..eb79e5d4030 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_uj.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_uj.c
@@ -1,6 +1,6 @@
/* mpfr_get_uj -- convert a MPFR number to a huge machine unsigned integer
-Copyright 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_z.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_z.c
index 13a2e9960d9..aebbfa33ed7 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_z.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_z.c
@@ -1,7 +1,7 @@
/* mpfr_get_z -- get a multiple-precision integer from
a floating-point number
-Copyright 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_z_exp.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_z_exp.c
index 30a5f182fc6..1431b013ef9 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/get_z_exp.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/get_z_exp.c
@@ -1,7 +1,7 @@
/* mpfr_get_z_2exp -- get a multiple-precision integer and an exponent
from a floating-point number
-Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2000-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/gmp_op.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/gmp_op.c
index 769cd031656..af2f8eeec3a 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/gmp_op.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/gmp_op.c
@@ -1,6 +1,6 @@
/* Implementations of operations between mpfr and mpz/mpq data
-Copyright 2001, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001, 2003-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/grandom.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/grandom.c
index f3aead3c074..21e71ca7c5a 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/grandom.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/grandom.c
@@ -3,7 +3,7 @@
distribution and round it to the precision of rop1, rop2 according
to the given rounding mode.
-Copyright 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2011-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/hppa/mparam.h b/Build/source/libs/mpfr/mpfr-3.1.3/src/hppa/mparam.h
index febdca5a40e..fdde759046f 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/hppa/mparam.h
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/hppa/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/hypot.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/hypot.c
index 79e25ab8e8e..ea744ea74f8 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/hypot.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/hypot.c
@@ -1,6 +1,6 @@
/* mpfr_hypot -- Euclidean distance
-Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/ia64/mparam.h b/Build/source/libs/mpfr/mpfr-3.1.3/src/ia64/mparam.h
index 4292ca221e9..4297632dbb8 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/ia64/mparam.h
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/ia64/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/ieee_floats.h b/Build/source/libs/mpfr/mpfr-3.1.3/src/ieee_floats.h
index fe524681c94..0cb44926ada 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/ieee_floats.h
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/ieee_floats.h
@@ -1,6 +1,6 @@
/* auxiliary data to generate special IEEE floats (NaN, +Inf, -Inf)
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/init.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/init.c
index a36de47b5b7..23fa0f30d3e 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/init.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/init.c
@@ -1,6 +1,6 @@
/* mpfr_init -- initialize a floating-point number
-Copyright 1999, 2001, 2002, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999, 2001-2002, 2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/init2.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/init2.c
index 25f53af8c02..0fb7dc76ae3 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/init2.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/init2.c
@@ -1,6 +1,6 @@
/* mpfr_init2 -- initialize a floating-point number with given precision
-Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -30,11 +30,11 @@ mpfr_init2 (mpfr_ptr x, mpfr_prec_t p)
/* Check if we can represent the number of limbs
* associated to the maximum of mpfr_prec_t*/
- MPFR_ASSERTN( MP_SIZE_T_MAX >= (MPFR_PREC_MAX/BYTES_PER_MP_LIMB) );
+ MPFR_ASSERTN( MP_SIZE_T_MAX >= (MPFR_PREC_MAX/MPFR_BYTES_PER_MP_LIMB) );
- /* Check for correct GMP_NUMB_BITS and BYTES_PER_MP_LIMB */
- MPFR_ASSERTN( GMP_NUMB_BITS == BYTES_PER_MP_LIMB * CHAR_BIT
- && sizeof(mp_limb_t) == BYTES_PER_MP_LIMB );
+ /* Check for correct GMP_NUMB_BITS and MPFR_BYTES_PER_MP_LIMB */
+ MPFR_ASSERTN( GMP_NUMB_BITS == MPFR_BYTES_PER_MP_LIMB * CHAR_BIT
+ && sizeof(mp_limb_t) == MPFR_BYTES_PER_MP_LIMB );
MPFR_ASSERTN (mp_bits_per_limb == GMP_NUMB_BITS);
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/inits.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/inits.c
index b27599dd453..8b761b842d9 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/inits.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/inits.c
@@ -1,6 +1,6 @@
/* mpfr_inits -- initialize several floating-point numbers
-Copyright 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/inits2.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/inits2.c
index dd3d32ddc00..9e5af2b84d5 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/inits2.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/inits2.c
@@ -1,7 +1,7 @@
/* mpfr_inits2 -- initialize several floating-point numbers with given
precision
-Copyright 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/inp_str.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/inp_str.c
index 5679844b8d8..c46276f0722 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/inp_str.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/inp_str.c
@@ -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, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999, 2001-2002, 2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/int_ceil_log2.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/int_ceil_log2.c
index 57638309541..13610570c0c 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/int_ceil_log2.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/int_ceil_log2.c
@@ -1,6 +1,6 @@
/* __gmpfr_int_ceil_log2 -- Integer ceil of log2(x)
-Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2004-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/isinf.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/isinf.c
index 85cb6fdf3e9..ee588e9c98f 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/isinf.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/isinf.c
@@ -1,6 +1,6 @@
/* mpfr_inf_p -- check for infinities
-Copyright 2000, 2001, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2000-2001, 2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/isinteger.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/isinteger.c
index b82a95d3aea..335babff4a8 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/isinteger.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/isinteger.c
@@ -1,6 +1,6 @@
/* mpfr_integer_p -- test if a mpfr variable is integer.
-Copyright 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/isnan.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/isnan.c
index 4049701d8af..e125ff9a1dc 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/isnan.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/isnan.c
@@ -1,6 +1,6 @@
/* mpfr_nan_p -- check for NaN
-Copyright 2000, 2001, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2000-2001, 2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/isnum.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/isnum.c
index 9f25138be7f..35ba820f22f 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/isnum.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/isnum.c
@@ -1,6 +1,6 @@
/* mpfr_number_p -- check for ordinary numbers
-Copyright 2000, 2001, 2002, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2000-2002, 2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/isqrt.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/isqrt.c
index 34d02ff46fa..86910e8a538 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/isqrt.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/isqrt.c
@@ -1,6 +1,6 @@
/* __gmpfr_isqrt && __gmpfr_cuberoot -- Integer square root and cube root
-Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2004-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/isregular.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/isregular.c
index 51f47ab8966..d45a7c32531 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/isregular.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/isregular.c
@@ -1,6 +1,6 @@
/* mpfr_regular_p -- check for regular number (neither NaN, Inf or zero)
-Copyright 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2009-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/iszero.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/iszero.c
index ed9e9f78d16..2e9f3b5be56 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/iszero.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/iszero.c
@@ -1,6 +1,6 @@
/* mpfr_zero_p -- check for zero
-Copyright 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/jn.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/jn.c
index f85720784c9..40eecf7bb1f 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/jn.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/jn.c
@@ -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, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2007-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/jyn_asympt.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/jyn_asympt.c
index 2f0e2fda544..b630c9bf2b7 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/jyn_asympt.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/jyn_asympt.c
@@ -1,6 +1,6 @@
/* mpfr_jn_asympt, mpfr_yn_asympt -- shared code for mpfr_jn and mpfr_yn
-Copyright 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2007-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/li2.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/li2.c
index c118c0fa2be..9d9940e34bd 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/li2.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/li2.c
@@ -1,6 +1,6 @@
/* mpfr_li2 -- Dilogarithm.
-Copyright 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2007-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -630,5 +630,5 @@ mpfr_li2 (mpfr_ptr y, mpfr_srcptr x, mpfr_rnd_t rnd_mode)
return mpfr_check_range (y, inexact, rnd_mode);
}
- MPFR_ASSERTN (0); /* should never reach this point */
+ MPFR_RET_NEVER_GO_HERE ();
}
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/lngamma.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/lngamma.c
index c400bd8d3af..cd43df61551 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/lngamma.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/lngamma.c
@@ -1,6 +1,6 @@
/* mpfr_lngamma -- lngamma function
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/log.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/log.c
index 0244ab569f8..d751a689fbc 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/log.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/log.c
@@ -1,6 +1,6 @@
/* mpfr_log -- natural logarithm of a floating-point number
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/log10.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/log10.c
index 31b6ce9f6e7..d358d9ce6f9 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/log10.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/log10.c
@@ -1,6 +1,6 @@
/* mpfr_log10 -- logarithm in base 10.
-Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/log1p.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/log1p.c
index a4c9b2593fe..6ef0e866ca8 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/log1p.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/log1p.c
@@ -1,6 +1,6 @@
/* mpfr_log1p -- Compute log(1+x)
-Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/log2.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/log2.c
index d95497bfeac..4aca0f55753 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/log2.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/log2.c
@@ -1,6 +1,6 @@
/* mpfr_log2 -- log base 2
-Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/logging.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/logging.c
index 7b3f8c5d731..dc42f9830c6 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/logging.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/logging.c
@@ -1,6 +1,6 @@
/* MPFR Logging functions.
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/min_prec.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/min_prec.c
index 7df9e775215..c5e22755961 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/min_prec.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/min_prec.c
@@ -1,6 +1,6 @@
/* mpfr_min_prec -- minimal size in bits to hold the mantissa
-Copyright 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2009-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/minmax.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/minmax.c
index 288027b73bb..c9dee653f63 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/minmax.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/minmax.c
@@ -1,6 +1,6 @@
/* mpfr_min -- min and max of x, y
-Copyright 2001, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001, 2003-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/modf.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/modf.c
index a16020b1535..e74ce168c61 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/modf.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/modf.c
@@ -1,6 +1,6 @@
/* mpfr_modf -- Integral and fractional part.
-Copyright 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2007-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/mp_clz_tab.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/mp_clz_tab.c
index 3f455e47619..b63373880c7 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/mp_clz_tab.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/mp_clz_tab.c
@@ -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, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1991, 1993-1994, 1996-1997, 2000-2001, 2004, 2006-2015 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
It has been copied and adapted from the GNU MP Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/mparam_h.in b/Build/source/libs/mpfr/mpfr-3.1.3/src/mparam_h.in
index 525799edb8c..bd6c91c6201 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/mparam_h.in
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/mparam_h.in
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/mpf2mpfr.h b/Build/source/libs/mpfr/mpfr-3.1.3/src/mpf2mpfr.h
index ef6ab82e43b..03f6afbf890 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/mpf2mpfr.h
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/mpf2mpfr.h
@@ -1,6 +1,6 @@
/* mpf2mpfr.h -- Compatibility include file with mpf.
-Copyright 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2002, 2004-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/mpfr-gmp.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/mpfr-gmp.c
index 0d60c88c60e..893b2e495ad 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/mpfr-gmp.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/mpfr-gmp.c
@@ -1,7 +1,7 @@
/* mpfr_gmp -- Limited gmp-impl emulator
Modified version of the GMP files.
-Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2004-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -314,9 +314,9 @@ mpfr_assert_fail (const char *filename, int linenum,
and http://software.intel.com/en-us/articles/intelr-fortran-compiler-for-mac-os-non_lazy_ptr-unresolved-references-from-linking
Note that using ranlib -c or libtool -c is another fix.
*/
-void * (*mpfr_allocate_func) (size_t) = 0;
-void * (*mpfr_reallocate_func) (void *,size_t, size_t) = 0;
-void (*mpfr_free_func) (void *, size_t) = 0;
+MPFR_THREAD_ATTR void * (*mpfr_allocate_func) (size_t) = 0;
+MPFR_THREAD_ATTR void * (*mpfr_reallocate_func) (void *, size_t, size_t) = 0;
+MPFR_THREAD_ATTR void (*mpfr_free_func) (void *, size_t) = 0;
#endif
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/mpfr-gmp.h b/Build/source/libs/mpfr/mpfr-3.1.3/src/mpfr-gmp.h
index c004fe5bb8b..b1862ffe717 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/mpfr-gmp.h
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/mpfr-gmp.h
@@ -1,6 +1,6 @@
/* Interface to replace gmp-impl.h
-Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2004-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -72,7 +72,6 @@ extern "C" {
#endif
/* Define some macros */
-#define BYTES_PER_MP_LIMB (GMP_NUMB_BITS/CHAR_BIT)
#define MP_LIMB_T_MAX (~(mp_limb_t)0)
@@ -96,19 +95,19 @@ extern "C" {
#define SHRT_HIGHBIT SHRT_MIN
/* MP_LIMB macros */
-#define MPN_ZERO(dst, n) memset((dst), 0, (n)*BYTES_PER_MP_LIMB)
-#define MPN_COPY_DECR(dst,src,n) memmove((dst),(src),(n)*BYTES_PER_MP_LIMB)
-#define MPN_COPY_INCR(dst,src,n) memmove((dst),(src),(n)*BYTES_PER_MP_LIMB)
+#define MPN_ZERO(dst, n) memset((dst), 0, (n)*MPFR_BYTES_PER_MP_LIMB)
+#define MPN_COPY_DECR(dst,src,n) memmove((dst),(src),(n)*MPFR_BYTES_PER_MP_LIMB)
+#define MPN_COPY_INCR(dst,src,n) memmove((dst),(src),(n)*MPFR_BYTES_PER_MP_LIMB)
#define MPN_COPY(dst,src,n) \
do \
{ \
if ((dst) != (src)) \
{ \
MPFR_ASSERTD ((char *) (dst) >= (char *) (src) + \
- (n) * BYTES_PER_MP_LIMB || \
+ (n) * MPFR_BYTES_PER_MP_LIMB || \
(char *) (src) >= (char *) (dst) + \
- (n) * BYTES_PER_MP_LIMB); \
- memcpy ((dst), (src), (n) * BYTES_PER_MP_LIMB); \
+ (n) * MPFR_BYTES_PER_MP_LIMB); \
+ memcpy ((dst), (src), (n) * MPFR_BYTES_PER_MP_LIMB); \
} \
} \
while (0)
@@ -263,15 +262,17 @@ typedef __gmp_randstate_struct *gmp_randstate_ptr;
#undef __gmp_allocate_func
#undef __gmp_reallocate_func
#undef __gmp_free_func
-#define MPFR_GET_MEMFUNC mp_get_memory_functions(&mpfr_allocate_func, &mpfr_reallocate_func, &mpfr_free_func)
+#define MPFR_GET_MEMFUNC \
+ ((void) (MPFR_LIKELY (mpfr_allocate_func != 0) || \
+ (mp_get_memory_functions(&mpfr_allocate_func, \
+ &mpfr_reallocate_func, \
+ &mpfr_free_func), 1)))
#define __gmp_allocate_func (MPFR_GET_MEMFUNC, mpfr_allocate_func)
#define __gmp_reallocate_func (MPFR_GET_MEMFUNC, mpfr_reallocate_func)
#define __gmp_free_func (MPFR_GET_MEMFUNC, mpfr_free_func)
-__MPFR_DECLSPEC extern void * (*mpfr_allocate_func) _MPFR_PROTO ((size_t));
-__MPFR_DECLSPEC extern void * (*mpfr_reallocate_func) _MPFR_PROTO ((void *,
- size_t, size_t));
-__MPFR_DECLSPEC extern void (*mpfr_free_func) _MPFR_PROTO ((void *,
- size_t));
+__MPFR_DECLSPEC extern MPFR_THREAD_ATTR void * (*mpfr_allocate_func) _MPFR_PROTO ((size_t));
+__MPFR_DECLSPEC extern MPFR_THREAD_ATTR void * (*mpfr_reallocate_func) _MPFR_PROTO ((void *, size_t, size_t));
+__MPFR_DECLSPEC extern MPFR_THREAD_ATTR void (*mpfr_free_func) _MPFR_PROTO ((void *, size_t));
#endif
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/mpfr-impl.h b/Build/source/libs/mpfr/mpfr-3.1.3/src/mpfr-impl.h
index bd59e1a5a20..5ce52ac21d1 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/mpfr-impl.h
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/mpfr-impl.h
@@ -1,6 +1,6 @@
/* Utilities for MPFR developers, not exported.
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -25,7 +25,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
/* Include MPFR 'config.h' before ANY system headers */
#ifdef HAVE_CONFIG_H
-# include <config.h>
+# include "config.h"
#endif
/* Let's include some standard headers unconditionally as they are
@@ -61,7 +61,12 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
****************** Include files *********************
******************************************************/
-#ifdef MPFR_HAVE_GMP_IMPL /* Build with gmp internals*/
+/* 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. */
+#include "mpfr-thread.h"
+
+#ifdef MPFR_HAVE_GMP_IMPL /* Build with gmp internals */
# ifndef __GMP_H__
# include "gmp.h"
@@ -103,13 +108,6 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
# define mpn_sqr_n(dst,src,n) mpn_mul((dst),(src),(n),(src),(n))
#endif
-/* 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 the use of detection macros is needed in the future, this could be
- moved below (after the detection macros are defined). */
-#include "mpfr-thread.h"
-
/******************************************************
***************** Detection macros *******************
@@ -190,7 +188,7 @@ typedef __gmp_const mp_limb_t *mpfr_limb_srcptr;
# endif
#endif
-
+#define MPFR_BYTES_PER_MP_LIMB (GMP_NUMB_BITS/CHAR_BIT)
/******************************************************
******************** Check GMP ***********************
@@ -376,7 +374,7 @@ __MPFR_DECLSPEC extern const mpfr_t __gmpfr_four;
******************** Assertions **********************
******************************************************/
-/* Compile with -DWANT_ASSERT to check all assert statements */
+/* Compile with -DMPFR_WANT_ASSERT to check all assert statements */
/* Note: do not use GMP macros ASSERT_ALWAYS and ASSERT as they are not
expressions, and as a consequence, they cannot be used in a for(),
@@ -387,7 +385,7 @@ __MPFR_DECLSPEC extern const mpfr_t __gmpfr_four;
((void) ((MPFR_UNLIKELY(expr)) || MPFR_UNLIKELY( (ASSERT_FAIL(expr),0) )))
/* MPFR_ASSERTD(expr): assertions that should be checked when testing */
-#ifdef WANT_ASSERT
+#ifdef MPFR_WANT_ASSERT
# define MPFR_EXP_CHECK 1
# define MPFR_ASSERTD(expr) MPFR_ASSERTN (expr)
#else
@@ -467,8 +465,16 @@ __MPFR_DECLSPEC extern const mpfr_t __gmpfr_four;
#define MPFR_LIMBS_PER_FLT ((IEEE_FLT_MANT_DIG-1)/GMP_NUMB_BITS+1)
/* Visual C++ doesn't support +1.0/0.0, -1.0/0.0 and 0.0/0.0
- at compile time. */
-#if defined(_MSC_VER) && defined(_WIN32) && (_MSC_VER >= 1200)
+ at compile time.
+ Clang with -fsanitize=undefined is a bit similar due to a bug:
+ http://llvm.org/bugs/show_bug.cgi?id=17381
+ but even without its sanitizer, it may be better to use the
+ double_zero version until IEEE 754 division by zero is properly
+ supported:
+ http://llvm.org/bugs/show_bug.cgi?id=17000
+*/
+#if (defined(_MSC_VER) && defined(_WIN32) && (_MSC_VER >= 1200)) || \
+ defined(__clang__)
static double double_zero = 0.0;
# define DBL_NAN (double_zero/double_zero)
# define DBL_POS_INF ((double) 1.0/double_zero)
@@ -500,6 +506,8 @@ static double double_zero = 0.0;
(with Xcode 2.4.1, i.e. the latest one). */
#define LVALUE(x) (&(x) == &(x) || &(x) != &(x))
#define DOUBLE_ISINF(x) (LVALUE(x) && ((x) > DBL_MAX || (x) < -DBL_MAX))
+/* The DOUBLE_ISNAN(x) macro is also valid on long double x
+ (assuming that the compiler isn't too broken). */
#ifdef MPFR_NANISNAN
/* Avoid MIPSpro / IRIX64 / gcc -ffast-math (incorrect) optimizations.
The + must not be replaced by a ||. With gcc -ffast-math, NaN is
@@ -726,8 +734,8 @@ typedef intmax_t mpfr_eexp_t;
/* Use MPFR_GET_EXP and MPFR_SET_EXP instead of MPFR_EXP directly,
unless when the exponent may be out-of-range, for instance when
setting the exponent before calling mpfr_check_range.
- MPFR_EXP_CHECK is defined when WANT_ASSERT is defined, but if you
- don't use WANT_ASSERT (for speed reasons), you can still define
+ MPFR_EXP_CHECK is defined when MPFR_WANT_ASSERT is defined, but if you
+ don't use MPFR_WANT_ASSERT (for speed reasons), you can still define
MPFR_EXP_CHECK by setting -DMPFR_EXP_CHECK in $CFLAGS. */
#ifdef MPFR_EXP_CHECK
@@ -919,7 +927,7 @@ typedef union { mp_size_t s; mp_limb_t l; } mpfr_size_limb_t;
#define MPFR_SET_ALLOC_SIZE(x, n) \
( ((mp_size_t*) MPFR_MANT(x))[-1] = n)
#define MPFR_MALLOC_SIZE(s) \
- ( sizeof(mpfr_size_limb_t) + BYTES_PER_MP_LIMB * ((size_t) s) )
+ ( sizeof(mpfr_size_limb_t) + MPFR_BYTES_PER_MP_LIMB * ((size_t) s) )
#define MPFR_SET_MANT_PTR(x,p) \
(MPFR_MANT(x) = (mp_limb_t*) ((mpfr_size_limb_t*) p + 1))
#define MPFR_GET_REAL_PTR(x) \
@@ -953,7 +961,7 @@ extern unsigned char *mpfr_stack;
#endif
#define MPFR_TMP_LIMBS_ALLOC(N) \
- ((mp_limb_t *) MPFR_TMP_ALLOC ((size_t) (N) * BYTES_PER_MP_LIMB))
+ ((mp_limb_t *) MPFR_TMP_ALLOC ((size_t) (N) * MPFR_BYTES_PER_MP_LIMB))
/* temporary allocate 1 limb at xp, and initialize mpfr variable x */
/* The temporary var doesn't have any size field, but it doesn't matter
@@ -1129,8 +1137,18 @@ do { \
(r) = _size * GMP_NUMB_BITS - _cnt; \
} while (0)
-/* Needs <locale.h> */
-#ifdef HAVE_LOCALE_H
+/* MPFR_LCONV_DPTS can also be forced to 0 or 1 by the user. */
+#ifndef MPFR_LCONV_DPTS
+# if defined(HAVE_LOCALE_H) && \
+ defined(HAVE_STRUCT_LCONV_DECIMAL_POINT) && \
+ defined(HAVE_STRUCT_LCONV_THOUSANDS_SEP)
+# define MPFR_LCONV_DPTS 1
+# else
+# define MPFR_LCONV_DPTS 0
+# endif
+#endif
+
+#if MPFR_LCONV_DPTS
#include <locale.h>
/* Warning! In case of signed char, the value of MPFR_DECIMAL_POINT may
be negative (the ISO C99 does not seem to forbid negative values). */
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/mpfr-intmax.h b/Build/source/libs/mpfr/mpfr-3.1.3/src/mpfr-intmax.h
index f00c6723373..7a9b802d26d 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/mpfr-intmax.h
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/mpfr-intmax.h
@@ -1,6 +1,6 @@
/* MPFR internal header related to intmax_t.
-Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2004-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/mpfr-longlong.h b/Build/source/libs/mpfr/mpfr-3.1.3/src/mpfr-longlong.h
index 32d08738022..30aa7470bb6 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/mpfr-longlong.h
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/mpfr-longlong.h
@@ -1,7 +1,7 @@
/* longlong.h -- definitions for mixed size 32/64 bit arithmetic.
Copyright 1991, 1992, 1993, 1994, 1996, 1997, 1999, 2000, 2001, 2002, 2003,
-2004, 2005, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+2004, 2005, 2007, 2008, 2009, 2010, 2011, 2012, 2013-2015 Free Software Foundation, Inc.
This file is free software; you can redistribute it and/or modify it under the
terms of the GNU Lesser General Public License as published by the Free
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/mpfr-thread.h b/Build/source/libs/mpfr/mpfr-3.1.3/src/mpfr-thread.h
index 5dd137bd623..4c77d3f515b 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/mpfr-thread.h
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/mpfr-thread.h
@@ -1,6 +1,6 @@
/* MPFR internal header related to thread-local variables.
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/mpfr.h b/Build/source/libs/mpfr/mpfr-3.1.3/src/mpfr.h
index a3241dcb1cc..7473dfd79d6 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/mpfr.h
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/mpfr.h
@@ -1,6 +1,6 @@
/* mpfr.h -- Include file for mpfr.
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -26,8 +26,8 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
/* Define MPFR version number */
#define MPFR_VERSION_MAJOR 3
#define MPFR_VERSION_MINOR 1
-#define MPFR_VERSION_PATCHLEVEL 2
-#define MPFR_VERSION_STRING "3.1.2"
+#define MPFR_VERSION_PATCHLEVEL 3
+#define MPFR_VERSION_STRING "3.1.3"
/* Macros dealing with MPFR VERSION */
#define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
@@ -861,7 +861,7 @@ __MPFR_DECLSPEC int mpfr_custom_get_kind _MPFR_PROTO ((mpfr_srcptr));
_t = (mpfr_kind_t) _k; \
_s = 1; \
} else { \
- _t = (mpfr_kind_t) -k; \
+ _t = (mpfr_kind_t) - _k; \
_s = -1; \
} \
_e = _t == MPFR_REGULAR_KIND ? (e) : \
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/mpn_exp.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/mpn_exp.c
index 63dcde9f640..a1d38667f5b 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/mpn_exp.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/mpn_exp.c
@@ -1,6 +1,6 @@
/* mpfr_mpn_exp -- auxiliary function for mpfr_get_str and mpfr_set_str
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/mul.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/mul.c
index efbfdb1b089..a67f774df86 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/mul.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/mul.c
@@ -1,6 +1,6 @@
/* mpfr_mul -- multiply two floating-point numbers
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -28,8 +28,8 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
/* Check if we have to check the result of mpfr_mul.
TODO: Find a better (and faster?) check than using old implementation */
-#ifdef WANT_ASSERT
-# if WANT_ASSERT >= 3
+#ifdef MPFR_WANT_ASSERT
+# if MPFR_WANT_ASSERT >= 3
int mpfr_mul2 (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mpfr_rnd_t rnd_mode);
static int
@@ -106,7 +106,7 @@ mpfr_mul3 (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mpfr_rnd_t rnd_mode)
MPFR_ASSERTD(tn <= k);
/* Check for no size_t overflow*/
- MPFR_ASSERTD((size_t) k <= ((size_t) -1) / BYTES_PER_MP_LIMB);
+ MPFR_ASSERTD((size_t) k <= ((size_t) -1) / MPFR_BYTES_PER_MP_LIMB);
MPFR_TMP_MARK(marker);
tmp = MPFR_TMP_LIMBS_ALLOC (k);
@@ -301,7 +301,7 @@ mpfr_mul (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mpfr_rnd_t rnd_mode)
MPFR_ASSERTD (tn <= k); /* tn <= k, thus no int overflow */
/* Check for no size_t overflow*/
- MPFR_ASSERTD ((size_t) k <= ((size_t) -1) / BYTES_PER_MP_LIMB);
+ MPFR_ASSERTD ((size_t) k <= ((size_t) -1) / MPFR_BYTES_PER_MP_LIMB);
MPFR_TMP_MARK (marker);
tmp = MPFR_TMP_LIMBS_ALLOC (k);
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/mul_2exp.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/mul_2exp.c
index a3e245061f4..0e816801c53 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/mul_2exp.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/mul_2exp.c
@@ -1,6 +1,6 @@
/* mpfr_mul_2exp -- multiply a floating-point number by a power of two
-Copyright 1999, 2001, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999, 2001, 2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/mul_2si.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/mul_2si.c
index 814a30de22a..b9293e2a1f3 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/mul_2si.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/mul_2si.c
@@ -1,6 +1,6 @@
/* mpfr_mul_2si -- multiply a floating-point number by a power of two
-Copyright 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999, 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/mul_2ui.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/mul_2ui.c
index a4bafe9a23d..cf7966c8238 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/mul_2ui.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/mul_2ui.c
@@ -1,6 +1,6 @@
/* mpfr_mul_2ui -- multiply a floating-point number by a power of two
-Copyright 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999, 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/mul_d.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/mul_d.c
index d1296da9c63..102f71f6e7d 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/mul_d.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/mul_d.c
@@ -1,7 +1,7 @@
/* mpfr_mul_d -- multiply a multiple precision floating-point number
by a machine double precision float
-Copyright 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2007-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/mul_ui.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/mul_ui.c
index 8c9258a21d8..9b762d4f7da 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/mul_ui.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/mul_ui.c
@@ -1,7 +1,7 @@
/* mpfr_mul_ui -- multiply a floating-point number by a machine integer
mpfr_mul_si -- multiply a floating-point number by a machine integer
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -115,7 +115,7 @@ mpfr_mul_ui (mpfr_ptr y, mpfr_srcptr x, unsigned long int u, mpfr_rnd_t rnd_mode
MPFR_SET_EXP (y, MPFR_GET_EXP (x) + cnt);
MPFR_SET_SAME_SIGN (y, x);
- return inexact;
+ MPFR_RET (inexact);
}
int mpfr_mul_si (mpfr_ptr y, mpfr_srcptr x, long int u, mpfr_rnd_t rnd_mode)
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/mulders.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/mulders.c
index 273c75a5946..8f23d21b678 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/mulders.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/mulders.c
@@ -1,6 +1,6 @@
/* Mulders' MulHigh function (short product)
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/neg.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/neg.c
index 400b78b8a5e..030d4c79abc 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/neg.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/neg.c
@@ -1,6 +1,6 @@
/* mpfr_neg -- change the sign of a floating-point number
-Copyright 1999, 2000, 2001, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2001, 2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/next.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/next.c
index 849d206635a..f03d3885919 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/next.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/next.c
@@ -1,7 +1,7 @@
/* mpfr_nextabove, mpfr_nextbelow, mpfr_nexttoward -- next representable
floating-point number
-Copyright 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999, 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/out_str.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/out_str.c
index c32dbe2b88f..046eb79f21b 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/out_str.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/out_str.c
@@ -1,6 +1,6 @@
/* mpfr_out_str -- output a floating-point number to a stream
-Copyright 1999, 2001, 2002, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999, 2001-2002, 2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/pow.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/pow.c
index b0add7e682b..33bf5442ad1 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/pow.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/pow.c
@@ -1,6 +1,6 @@
/* mpfr_pow -- power function x^y
-Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/pow_si.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/pow_si.c
index 645035e2065..9ab6f82f810 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/pow_si.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/pow_si.c
@@ -1,6 +1,6 @@
/* mpfr_pow_si -- power function x^y with y a signed int
-Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/pow_ui.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/pow_ui.c
index 377aee1cec2..75e104ae408 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/pow_ui.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/pow_ui.c
@@ -1,7 +1,7 @@
/* mpfr_pow_ui-- compute the power of a floating-point
by a machine integer
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/pow_z.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/pow_z.c
index df356ee0aa4..a8913281c87 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/pow_z.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/pow_z.c
@@ -1,6 +1,6 @@
/* mpfr_pow_z -- power function x^z with z a MPZ
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/powerof2.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/powerof2.c
index 76ce6b934af..bacbcdcf6e4 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/powerof2.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/powerof2.c
@@ -1,6 +1,6 @@
/* mpfr_powerof2_raw -- test whether a floating-point number is a power of 2
-Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2002-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/powerpc32/mparam.h b/Build/source/libs/mpfr/mpfr-3.1.3/src/powerpc32/mparam.h
index 44e966734fd..687586afdb0 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/powerpc32/mparam.h
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/powerpc32/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/powerpc64/mparam.h b/Build/source/libs/mpfr/mpfr-3.1.3/src/powerpc64/mparam.h
index b220950cde8..1e852a52e2d 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/powerpc64/mparam.h
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/powerpc64/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/print_raw.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/print_raw.c
index 08b7baf5d74..7c91ec0727c 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/print_raw.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/print_raw.c
@@ -1,7 +1,7 @@
/* mpfr_print_binary -- print the internal binary representation of a
floating-point number
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/print_rnd_mode.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/print_rnd_mode.c
index 65269c7663d..fa90f4823f1 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/print_rnd_mode.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/print_rnd_mode.c
@@ -1,6 +1,6 @@
/* mpfr_print_rnd_mode -- convert a given rounding mode to a string
-Copyright 1999, 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999, 2001-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/printf.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/printf.c
index 10a67c4d978..adf90bbe375 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/printf.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/printf.c
@@ -1,6 +1,6 @@
/* mpfr_printf -- printf function and friends.
-Copyright 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2007-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/rec_sqrt.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/rec_sqrt.c
index f3ccf724d68..aa7814f02cf 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/rec_sqrt.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/rec_sqrt.c
@@ -1,6 +1,6 @@
/* mpfr_rec_sqrt -- inverse square root
-Copyright 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2008-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/reldiff.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/reldiff.c
index a82400ef339..058e39da604 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/reldiff.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/reldiff.c
@@ -1,6 +1,6 @@
/* mpfr_reldiff -- compute relative difference of two floating-point numbers.
-Copyright 2000, 2001, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2000-2001, 2004-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/rem1.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/rem1.c
index 24d544154fd..a977a0924c3 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/rem1.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/rem1.c
@@ -2,7 +2,7 @@
mpfr_fmod -- compute the floating-point remainder of x/y
mpfr_remquo and mpfr_remainder -- argument reduction functions
-Copyright 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2007-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/rint.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/rint.c
index 809f3669509..f2a9410a489 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/rint.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/rint.c
@@ -1,6 +1,6 @@
/* mpfr_rint -- Round to an integer.
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -24,6 +24,15 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
/* Merge the following mpfr_rint code with mpfr_round_raw_generic? */
+/* For all the round-to-integer functions, we don't need to extend the
+ * exponent range. And it is better not to do so, so that we can test
+ * the flag setting for intermediate overflow in the test suite without
+ * involving huge non-integer numbers (thus in huge precision). This
+ * should also be faster.
+ *
+ * We also need to be careful with the flags.
+ */
+
int
mpfr_rint (mpfr_ptr r, mpfr_srcptr u, mpfr_rnd_t rnd_mode)
{
@@ -77,14 +86,9 @@ mpfr_rint (mpfr_ptr r, mpfr_srcptr u, mpfr_rnd_t rnd_mode)
(exp == 0 && (rnd_mode == MPFR_RNDNA ||
!mpfr_powerof2_raw (u)))))
{
- mp_limb_t *rp;
- mp_size_t rm;
-
- rp = MPFR_MANT(r);
- rm = (MPFR_PREC(r) - 1) / GMP_NUMB_BITS;
- rp[rm] = MPFR_LIMB_HIGHBIT;
- MPN_ZERO(rp, rm);
- MPFR_SET_EXP (r, 1); /* |r| = 1 */
+ /* The flags will correctly be set and overflow will correctly
+ be handled by mpfr_set_si. */
+ mpfr_set_si (r, sign, rnd_mode);
MPFR_RET(sign > 0 ? 2 : -2);
}
else
@@ -114,6 +118,7 @@ mpfr_rint (mpfr_ptr r, mpfr_srcptr u, mpfr_rnd_t rnd_mode)
rn = MPFR_LIMB_SIZE(r);
MPFR_UNSIGNED_MINUS_MODULO (sh, MPFR_PREC (r));
+ /* exp is in the current exponent range: obtained from the input. */
MPFR_SET_EXP (r, exp); /* Does nothing if r==u */
if ((exp - 1) / GMP_NUMB_BITS >= un)
@@ -286,9 +291,9 @@ mpfr_rint (mpfr_ptr r, mpfr_srcptr u, mpfr_rnd_t rnd_mode)
if (rnd_away && mpn_add_1(rp, rp, rn, MPFR_LIMB_ONE << sh))
{
if (exp == __gmpfr_emax)
- return mpfr_overflow(r, rnd_mode, MPFR_SIGN(r)) >= 0 ?
+ return mpfr_overflow (r, rnd_mode, sign) >= 0 ?
uflags : -uflags;
- else
+ else /* no overflow */
{
MPFR_SET_EXP(r, exp + 1);
rp[rn-1] = MPFR_LIMB_HIGHBIT;
@@ -331,6 +336,11 @@ mpfr_floor (mpfr_ptr r, mpfr_srcptr u)
return mpfr_rint (r, u, MPFR_RNDD);
}
+/* We need to save the flags and restore them after calling the mpfr_round,
+ * mpfr_trunc, mpfr_ceil, mpfr_floor functions because these functions set
+ * the inexact flag when the argument is not an integer.
+ */
+
#undef mpfr_rint_round
int
@@ -342,19 +352,18 @@ mpfr_rint_round (mpfr_ptr r, mpfr_srcptr u, mpfr_rnd_t rnd_mode)
{
mpfr_t tmp;
int inex;
- MPFR_SAVE_EXPO_DECL (expo);
+ unsigned int saved_flags = __gmpfr_flags;
MPFR_BLOCK_DECL (flags);
- MPFR_SAVE_EXPO_MARK (expo);
mpfr_init2 (tmp, MPFR_PREC (u));
/* round(u) is representable in tmp unless an overflow occurs */
MPFR_BLOCK (flags, mpfr_round (tmp, u));
+ __gmpfr_flags = saved_flags;
inex = (MPFR_OVERFLOW (flags)
? mpfr_overflow (r, rnd_mode, MPFR_SIGN (u))
: mpfr_set (r, tmp, rnd_mode));
mpfr_clear (tmp);
- MPFR_SAVE_EXPO_FREE (expo);
- return mpfr_check_range (r, inex, rnd_mode);
+ return inex;
}
}
@@ -369,16 +378,15 @@ mpfr_rint_trunc (mpfr_ptr r, mpfr_srcptr u, mpfr_rnd_t rnd_mode)
{
mpfr_t tmp;
int inex;
- MPFR_SAVE_EXPO_DECL (expo);
+ unsigned int saved_flags = __gmpfr_flags;
- MPFR_SAVE_EXPO_MARK (expo);
mpfr_init2 (tmp, MPFR_PREC (u));
/* trunc(u) is always representable in tmp */
mpfr_trunc (tmp, u);
+ __gmpfr_flags = saved_flags;
inex = mpfr_set (r, tmp, rnd_mode);
mpfr_clear (tmp);
- MPFR_SAVE_EXPO_FREE (expo);
- return mpfr_check_range (r, inex, rnd_mode);
+ return inex;
}
}
@@ -393,19 +401,18 @@ mpfr_rint_ceil (mpfr_ptr r, mpfr_srcptr u, mpfr_rnd_t rnd_mode)
{
mpfr_t tmp;
int inex;
- MPFR_SAVE_EXPO_DECL (expo);
+ unsigned int saved_flags = __gmpfr_flags;
MPFR_BLOCK_DECL (flags);
- MPFR_SAVE_EXPO_MARK (expo);
mpfr_init2 (tmp, MPFR_PREC (u));
/* ceil(u) is representable in tmp unless an overflow occurs */
MPFR_BLOCK (flags, mpfr_ceil (tmp, u));
+ __gmpfr_flags = saved_flags;
inex = (MPFR_OVERFLOW (flags)
? mpfr_overflow (r, rnd_mode, MPFR_SIGN_POS)
: mpfr_set (r, tmp, rnd_mode));
mpfr_clear (tmp);
- MPFR_SAVE_EXPO_FREE (expo);
- return mpfr_check_range (r, inex, rnd_mode);
+ return inex;
}
}
@@ -420,18 +427,17 @@ mpfr_rint_floor (mpfr_ptr r, mpfr_srcptr u, mpfr_rnd_t rnd_mode)
{
mpfr_t tmp;
int inex;
- MPFR_SAVE_EXPO_DECL (expo);
+ unsigned int saved_flags = __gmpfr_flags;
MPFR_BLOCK_DECL (flags);
- MPFR_SAVE_EXPO_MARK (expo);
mpfr_init2 (tmp, MPFR_PREC (u));
/* floor(u) is representable in tmp unless an overflow occurs */
MPFR_BLOCK (flags, mpfr_floor (tmp, u));
+ __gmpfr_flags = saved_flags;
inex = (MPFR_OVERFLOW (flags)
? mpfr_overflow (r, rnd_mode, MPFR_SIGN_NEG)
: mpfr_set (r, tmp, rnd_mode));
mpfr_clear (tmp);
- MPFR_SAVE_EXPO_FREE (expo);
- return mpfr_check_range (r, inex, rnd_mode);
+ return inex;
}
}
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/root.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/root.c
index 619c9dd0f93..c1a141c90bf 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/root.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/root.c
@@ -1,6 +1,6 @@
/* mpfr_root -- kth root.
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/round_near_x.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/round_near_x.c
index 9789c9b5421..02a9a1b56b5 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/round_near_x.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/round_near_x.c
@@ -1,6 +1,6 @@
/* mpfr_round_near_x -- Round a floating point number nears another one.
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/round_p.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/round_p.c
index 4a358310140..bf12defd7ee 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/round_p.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/round_p.c
@@ -1,6 +1,6 @@
/* mpfr_round_p -- check if an approximation is roundable.
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -23,8 +23,8 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#include "mpfr-impl.h"
/* Check against mpfr_can_round? */
-#ifdef WANT_ASSERT
-# if WANT_ASSERT >= 2
+#ifdef MPFR_WANT_ASSERT
+# if MPFR_WANT_ASSERT >= 2
int mpfr_round_p_2 (mp_limb_t *, mp_size_t, mpfr_exp_t, mpfr_prec_t);
int
mpfr_round_p (mp_limb_t *bp, mp_size_t bn, mpfr_exp_t err0, mpfr_prec_t prec)
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/round_prec.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/round_prec.c
index 600ac8d6f20..9dce103520f 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/round_prec.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/round_prec.c
@@ -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, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/round_raw_generic.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/round_raw_generic.c
index 79ba90db8cc..d4e0e8ed347 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/round_raw_generic.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/round_raw_generic.c
@@ -1,6 +1,6 @@
/* mpfr_round_raw_generic -- Generic rounding function
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -47,7 +47,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
* Note: yprec may be < MPFR_PREC_MIN; in particular, it may be equal
* to 1. In this case, the even rounding is done away from 0, which is
* a natural generalization. Indeed, a number with 1-bit precision can
- * be seen as a denormalized number with more precision.
+ * be seen as a subnormal number with more precision.
*/
int
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/scale2.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/scale2.c
index 5de38c32cc6..8711cd4ab78 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/scale2.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/scale2.c
@@ -1,6 +1,6 @@
/* mpfr_scale2 -- multiply a double float by 2^exp
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/sec.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/sec.c
index c5ced391dad..5088cfa49a9 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/sec.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/sec.c
@@ -1,6 +1,6 @@
/* mpfr_sec - secant function = 1/cos.
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/sech.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/sech.c
index 6e37a9a2805..ff8999605f3 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/sech.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/sech.c
@@ -1,6 +1,6 @@
/* mpfr_sech - Hyperbolic secant function = 1/cosh.
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/set.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/set.c
index 1561aa27a2d..be8d9012039 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/set.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/set.c
@@ -1,6 +1,6 @@
/* mpfr_set -- copy of a floating-point number
-Copyright 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999, 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_d.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_d.c
index 479167b0e1f..e57b399f77c 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_d.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_d.c
@@ -1,7 +1,7 @@
/* mpfr_set_d -- convert a machine double precision float to
a multiple precision floating-point number
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -66,7 +66,7 @@ __gmpfr_extract_double (mpfr_limb_ptr rp, double d)
manl = x.s.manl << 11;
#endif
}
- else /* denormalized number */
+ else /* subnormal number */
{
#if GMP_NUMB_BITS >= 64
manl = ((mp_limb_t) x.s.manh << 43) | ((mp_limb_t) x.s.manl << 11);
@@ -213,7 +213,7 @@ mpfr_set_d (mpfr_ptr r, double d, mpfr_rnd_t rnd_mode)
/* don't use MPFR_SET_EXP here since the exponent may be out of range */
MPFR_EXP(tmp) = __gmpfr_extract_double (tmpmant, d);
-#ifdef WANT_ASSERT
+#ifdef MPFR_WANT_ASSERT
/* Failed assertion if the stored value is 0 (e.g., if the exponent range
has been reduced at the wrong moment and an underflow to 0 occurred).
Probably a bug in the C implementation if this happens. */
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_d64.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_d64.c
index d950acfa79e..2ce71d6e663 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_d64.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_d64.c
@@ -5,7 +5,7 @@ See http://gcc.gnu.org/ml/gcc/2006-06/msg00691.html,
http://gcc.gnu.org/onlinedocs/gcc/Decimal-Float.html,
and TR 24732 <http://www.open-std.org/jtc1/sc22/wg14/www/projects#24732>.
-Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_dfl_prec.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_dfl_prec.c
index f2bbf321a60..158d167ab45 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_dfl_prec.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_dfl_prec.c
@@ -1,6 +1,6 @@
/* mpfr_set_default_prec, mpfr_get_default_prec -- set/get default precision
-Copyright 1999, 2000, 2001, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2001, 2004-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_exp.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_exp.c
index e2d01da1cc8..7e98dfd7aa5 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_exp.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_exp.c
@@ -1,6 +1,6 @@
/* mpfr_set_exp - set the exponent of a floating-point number
-Copyright 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2002-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_f.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_f.c
index 80f776b8cd5..b6c9f5f12d2 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_f.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_f.c
@@ -1,6 +1,6 @@
/* mpfr_set_f -- set a MPFR number from a GNU MPF number
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_flt.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_flt.c
index 46677b38352..3c26e148b92 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_flt.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_flt.c
@@ -1,6 +1,6 @@
/* mpfr_set_flt -- convert a machine single precision float to mpfr_t
-Copyright 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2009-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_inf.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_inf.c
index c7daefb1e4a..d5345ccf855 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_inf.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_inf.c
@@ -1,6 +1,6 @@
/* mpfr_set_inf -- set a number to plus or minus infinity.
-Copyright 2002, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2002, 2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_ld.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_ld.c
index 6a3bd04140b..628807c44be 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_ld.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_ld.c
@@ -1,7 +1,7 @@
/* mpfr_set_ld -- convert a machine long double to
a multiple precision floating-point number
-Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2002-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_nan.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_nan.c
index db890414e74..a9ae517f35a 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_nan.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_nan.c
@@ -1,6 +1,6 @@
/* mpfr_set_nan -- set a number to NaN.
-Copyright 2002, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2002, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_prc_raw.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_prc_raw.c
index 7b66e54e6f3..78cc5c3e3db 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_prc_raw.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_prc_raw.c
@@ -1,6 +1,6 @@
/* mpfr_set_prec_raw -- reset the precision of a floating-point number
-Copyright 2000, 2001, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2000-2001, 2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_prec.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_prec.c
index 3ecdc056fd2..e9ea33dcc5f 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_prec.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_prec.c
@@ -1,6 +1,6 @@
/* mpfr_set_prec -- reset the precision of a floating-point number
-Copyright 1999, 2001, 2002, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999, 2001-2002, 2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_q.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_q.c
index 1a4e5117fbf..aa16a81b44a 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_q.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_q.c
@@ -1,6 +1,6 @@
/* mpfr_set_q -- set a floating-point number from a multiple-precision rational
-Copyright 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2000-2002, 2004-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -104,11 +104,13 @@ mpfr_set_q (mpfr_ptr f, mpq_srcptr q, mpfr_rnd_t rnd)
sn -= sd;
if (MPFR_UNLIKELY (sn > MPFR_EMAX_MAX / GMP_NUMB_BITS))
{
+ MPFR_SAVE_EXPO_FREE (expo);
inexact = mpfr_overflow (f, rnd, MPFR_SIGN (f));
goto end;
}
if (MPFR_UNLIKELY (sn < MPFR_EMIN_MIN / GMP_NUMB_BITS -1))
{
+ MPFR_SAVE_EXPO_FREE (expo);
if (rnd == MPFR_RNDN)
rnd = MPFR_RNDZ;
inexact = mpfr_underflow (f, rnd, MPFR_SIGN (f));
@@ -127,7 +129,7 @@ mpfr_set_q (mpfr_ptr f, mpq_srcptr q, mpfr_rnd_t rnd)
end:
mpfr_clear (d);
mpfr_clear (n);
- return inexact;
+ MPFR_RET (inexact);
}
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_rnd.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_rnd.c
index 7b014dd64da..d6faa7b487b 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_rnd.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_rnd.c
@@ -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, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999, 2001, 2004-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_si.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_si.c
index 30cb66d4006..638862197d3 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_si.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_si.c
@@ -1,6 +1,6 @@
/* mpfr_set_si -- set a MPFR number from a machine signed integer
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_si_2exp.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_si_2exp.c
index 2064a70db5b..5b57254fc2a 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_si_2exp.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_si_2exp.c
@@ -1,7 +1,7 @@
/* mpfr_set_si_2exp -- set a MPFR number from a machine signed integer with
a shift
-Copyright 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_sj.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_sj.c
index 1d8c5225036..ef24c6b3701 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_sj.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_sj.c
@@ -1,6 +1,6 @@
/* mpfr_set_sj -- set a MPFR number from a huge machine signed integer
-Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2004-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_str.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_str.c
index d2c40fc740d..9da8821688c 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_str.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_str.c
@@ -1,6 +1,6 @@
/* mpfr_set_str -- set a floating-point number from a string
-Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2000-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_str_raw.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_str_raw.c
index e7debb4b3ac..f7e1167adab 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_str_raw.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_str_raw.c
@@ -1,6 +1,6 @@
/* mpfr_set_str_binary -- set a floating-point number from a binary string
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_ui.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_ui.c
index caafaacf46b..05d5346e995 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_ui.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_ui.c
@@ -1,6 +1,6 @@
/* mpfr_set_ui -- set a MPFR number from a machine unsigned integer
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_ui_2exp.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_ui_2exp.c
index 6c77ba26c91..8ff538c6dad 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_ui_2exp.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_ui_2exp.c
@@ -1,7 +1,7 @@
/* mpfr_set_ui_2exp -- set a MPFR number from a machine unsigned integer with
a shift
-Copyright 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_uj.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_uj.c
index 768d3fe5f99..a1f679aea02 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_uj.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_uj.c
@@ -1,6 +1,6 @@
/* mpfr_set_uj -- set a MPFR number from a huge machine unsigned integer
-Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2004-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_z.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_z.c
index 8a14d948869..590f5545d1b 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_z.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_z.c
@@ -1,6 +1,6 @@
/* mpfr_set_z -- set a floating-point number from a multiple-precision integer
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_z_exp.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_z_exp.c
index e5fe9610d6d..15fc4d0aa31 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_z_exp.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_z_exp.c
@@ -1,7 +1,7 @@
/* mpfr_set_z_2exp -- set a floating-point number from a multiple-precision
integer and an exponent
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_zero.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_zero.c
index ea13b034c01..04a6ebeea17 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/set_zero.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/set_zero.c
@@ -1,6 +1,6 @@
/* mpfr_set_zero -- set a number to plus or minus zero.
-Copyright 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2009-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/setmax.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/setmax.c
index e88a70947cd..5d79b62addf 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/setmax.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/setmax.c
@@ -1,6 +1,6 @@
/* mpfr_setmax -- maximum representable floating-point number (raw version)
-Copyright 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2002-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/setmin.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/setmin.c
index 62c003a66ee..4b957b162a5 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/setmin.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/setmin.c
@@ -1,6 +1,6 @@
/* mpfr_setmin -- minimum representable floating-point number (raw version)
-Copyright 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2002-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/setsign.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/setsign.c
index eb9e4816884..fa717ef9de9 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/setsign.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/setsign.c
@@ -1,6 +1,6 @@
/* mpfr_setsign -- Produce a value with the magnitude of x and sign bit s
-Copyright 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2007-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/sgn.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/sgn.c
index ec59929786f..1e2a7fc5d2f 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/sgn.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/sgn.c
@@ -1,6 +1,6 @@
/* mpfr_sgn -- Sign of a floating point number.
-Copyright 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/si_op.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/si_op.c
index bad4b856b73..e1785345196 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/si_op.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/si_op.c
@@ -2,7 +2,7 @@
mpfr_sub_si -- sub a floating-point number with a machine integer
mpfr_si_sub -- sub a machine number with a floating-point number
-Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2004-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/signbit.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/signbit.c
index 8a2bc7f1410..54632d368a4 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/signbit.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/signbit.c
@@ -1,6 +1,6 @@
/* mpfr_signbit -- Signbit of a MPFR number
-Copyright 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2007-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/sin.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/sin.c
index 88e73f34c08..44be51cb9a7 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/sin.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/sin.c
@@ -1,6 +1,6 @@
/* mpfr_sin -- sine of a floating-point number
-Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -76,7 +76,10 @@ mpfr_sin (mpfr_ptr y, mpfr_srcptr x, mpfr_rnd_t rnd_mode)
precy = MPFR_PREC (y);
if (precy >= MPFR_SINCOS_THRESHOLD)
- return mpfr_sin_fast (y, x, rnd_mode);
+ {
+ inexact = mpfr_sin_fast (y, x, rnd_mode);
+ goto end;
+ }
m = precy + MPFR_INT_CEIL_LOG2 (precy) + 13;
expx = MPFR_GET_EXP (x);
@@ -178,6 +181,7 @@ mpfr_sin (mpfr_ptr y, mpfr_srcptr x, mpfr_rnd_t rnd_mode)
mpfr_clear (c);
mpfr_clear (xr);
+ end:
MPFR_SAVE_EXPO_FREE (expo);
return mpfr_check_range (y, inexact, rnd_mode);
}
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/sin_cos.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/sin_cos.c
index 8ee95e934de..a064bc6b826 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/sin_cos.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/sin_cos.c
@@ -1,6 +1,6 @@
/* mpfr_sin_cos -- sine and cosine of a floating-point number
-Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2002-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/sinh.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/sinh.c
index 0349036afdf..1dc010ee6a3 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/sinh.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/sinh.c
@@ -1,6 +1,6 @@
/* mpfr_sinh -- hyperbolic sine
-Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/sinh_cosh.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/sinh_cosh.c
index af4fede25f2..35f82ad6133 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/sinh_cosh.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/sinh_cosh.c
@@ -1,6 +1,6 @@
/* mpfr_sinh_cosh -- hyperbolic sine and cosine
-Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/sparc64/mparam.h b/Build/source/libs/mpfr/mpfr-3.1.3/src/sparc64/mparam.h
index 4de32afa1cc..8c5cfdc9afd 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/sparc64/mparam.h
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/sparc64/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/sqr.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/sqr.c
index a3748b56127..ee55707955a 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/sqr.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/sqr.c
@@ -1,6 +1,6 @@
/* mpfr_sqr -- Floating square
-Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2004-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/sqrt.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/sqrt.c
index 64a9e025c7a..1f5687be352 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/sqrt.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/sqrt.c
@@ -1,6 +1,6 @@
/* mpfr_sqrt -- square root of a floating-point number
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/sqrt_ui.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/sqrt_ui.c
index 92d60de5004..4cb6e9420ea 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/sqrt_ui.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/sqrt_ui.c
@@ -1,6 +1,6 @@
/* mpfr_sqrt_ui -- square root of a machine integer
-Copyright 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2000-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/stack_interface.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/stack_interface.c
index 25c44da77fe..a8d4a93de29 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/stack_interface.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/stack_interface.c
@@ -1,6 +1,6 @@
/* mpfr_stack -- initialize a floating-point number with given allocation area
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -26,7 +26,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
size_t
mpfr_custom_get_size (mpfr_prec_t prec)
{
- return MPFR_PREC2LIMBS (prec) * BYTES_PER_MP_LIMB;
+ return MPFR_PREC2LIMBS (prec) * MPFR_BYTES_PER_MP_LIMB;
}
#undef mpfr_custom_init
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/strtofr.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/strtofr.c
index 5248c10ca0e..17d6b63745b 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/strtofr.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/strtofr.c
@@ -1,6 +1,6 @@
/* mpfr_strtofr -- set a floating-point number from a string
-Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2004-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -473,8 +473,10 @@ parsed_string_to_mpfr (mpfr_t x, struct parsed_string *pstr, mpfr_rnd_t rnd)
/* prec bits corresponds to ysize limbs */
ysize_bits = ysize * GMP_NUMB_BITS;
/* and to ysize_bits >= prec > MPFR_PREC (x) bits */
- y = MPFR_TMP_LIMBS_ALLOC (2 * ysize + 1);
- y += ysize; /* y has (ysize+1) allocated limbs */
+ /* we need to allocate one more limb to work around bug
+ 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 */
/* pstr_size is the number of characters we read in pstr->mant
to have at least ysize full limbs.
@@ -564,7 +566,7 @@ parsed_string_to_mpfr (mpfr_t x, struct parsed_string *pstr, mpfr_rnd_t rnd)
MPFR_ASSERTD (0 < pow2 && pow2 <= 5);
/* exp += pow2 * (pstr->exp_base - pstr_size) + pstr->exp_bin
with overflow checking
- and check that we can add/substract 2 to exp without overflow */
+ and check that we can add/subtract 2 to exp without overflow */
MPFR_SADD_OVERFLOW (tmp, pstr->exp_base, -(mpfr_exp_t) pstr_size,
mpfr_exp_t, mpfr_uexp_t,
MPFR_EXP_MIN, MPFR_EXP_MAX,
@@ -624,7 +626,7 @@ parsed_string_to_mpfr (mpfr_t x, struct parsed_string *pstr, mpfr_rnd_t rnd)
/* compute the exponent of y */
/* exp += exp_z + ysize_bits with overflow checking
- and check that we can add/substract 2 to exp without overflow */
+ and check that we can add/subtract 2 to exp without overflow */
MPFR_SADD_OVERFLOW (exp_z, exp_z, ysize_bits,
mpfr_exp_t, mpfr_uexp_t,
MPFR_EXP_MIN, MPFR_EXP_MAX,
@@ -696,7 +698,7 @@ parsed_string_to_mpfr (mpfr_t x, struct parsed_string *pstr, mpfr_rnd_t rnd)
2 * ysize, z, ysize);
/* exp -= exp_z + ysize_bits with overflow checking
- and check that we can add/substract 2 to exp without overflow */
+ and check that we can add/subtract 2 to exp without overflow */
MPFR_SADD_OVERFLOW (exp_z, exp_z, ysize_bits,
mpfr_exp_t, mpfr_uexp_t,
MPFR_EXP_MIN, MPFR_EXP_MAX,
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/sub.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/sub.c
index d1af16f7191..9b44123c601 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/sub.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/sub.c
@@ -1,6 +1,6 @@
/* mpfr_sub -- subtract two floating-point numbers
-Copyright 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/sub1.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/sub1.c
index b266412faa8..2586fd6ff3c 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/sub1.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/sub1.c
@@ -1,6 +1,6 @@
/* mpfr_sub1 -- internal function to perform a "real" subtraction
-Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/sub1sp.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/sub1sp.c
index 07417343ba6..ddac834d17e 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/sub1sp.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/sub1sp.c
@@ -1,7 +1,7 @@
/* mpfr_sub1sp -- internal function to perform a "real" substraction
All the op must have the same precision
-Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2003-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -25,8 +25,8 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#include "mpfr-impl.h"
/* Check if we have to check the result of mpfr_sub1sp with mpfr_sub1 */
-#ifdef WANT_ASSERT
-# if WANT_ASSERT >= 2
+#ifdef MPFR_WANT_ASSERT
+# if MPFR_WANT_ASSERT >= 2
int mpfr_sub1sp2 (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mpfr_rnd_t rnd_mode);
int mpfr_sub1sp (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mpfr_rnd_t rnd_mode)
@@ -636,7 +636,7 @@ mpfr_sub1sp (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mpfr_rnd_t rnd_mode)
mask = ~MPFR_LIMB_MASK (sh);
cp[0] &= mask;
- /* Substract the mantissa c from b in a */
+ /* Subtract the mantissa c from b in a */
ap = MPFR_MANT(a);
mpn_sub_n (ap, bp, cp, n);
DEBUG( mpfr_print_mant_binary("Sub= ", ap, p) );
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/sub_d.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/sub_d.c
index 14922ca165d..1050f6b8016 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/sub_d.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/sub_d.c
@@ -1,7 +1,7 @@
/* mpfr_sub_d -- subtract a machine double precision float from
a multiple precision floating-point number
-Copyright 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2007-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/sub_ui.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/sub_ui.c
index 8fcd530702d..798fb1e6fc6 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/sub_ui.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/sub_ui.c
@@ -1,6 +1,6 @@
/* mpfr_sub_ui -- subtract a floating-point number and a machine integer
-Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2000-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/subnormal.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/subnormal.c
index cbf35ae8d5b..0f7150c06e7 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/subnormal.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/subnormal.c
@@ -1,7 +1,7 @@
/* mpfr_subnormalize -- Subnormalize a floating point number
emulating sub-normal numbers.
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/sum.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/sum.c
index 200a523e318..9cbcbfac7f0 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/sum.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/sum.c
@@ -1,6 +1,6 @@
/* Sum -- efficiently sum a list of floating-point numbers
-Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2004-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/swap.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/swap.c
index 8ab213a75fc..99f2a507af6 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/swap.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/swap.c
@@ -1,6 +1,6 @@
/* mpfr_swap (U, V) -- Swap U and V.
-Copyright 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2000-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/tan.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/tan.c
index 8cd93cdeff2..d4274cb4466 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/tan.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/tan.c
@@ -1,6 +1,6 @@
/* mpfr_tan -- tangent of a floating-point number
-Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/tanh.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/tanh.c
index b1e9b7d8a49..077dd2e7498 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/tanh.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/tanh.c
@@ -1,6 +1,6 @@
/* mpfr_tanh -- hyperbolic tangent
-Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/uceil_exp2.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/uceil_exp2.c
index dd571d0ab96..64cb017cbcc 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/uceil_exp2.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/uceil_exp2.c
@@ -1,6 +1,6 @@
/* __gmpfr_ceil_exp2 - returns y >= 2^d
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/uceil_log2.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/uceil_log2.c
index 27f7d4fc784..417df9dde04 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/uceil_log2.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/uceil_log2.c
@@ -1,6 +1,6 @@
/* __gmpfr_ceil_log2 - returns ceil(log(d)/log(2))
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/ufloor_log2.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/ufloor_log2.c
index 9200dbf001b..0ad6d8522d2 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/ufloor_log2.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/ufloor_log2.c
@@ -1,6 +1,6 @@
/* __gmpfr_floor_log2 - returns floor(log(d)/log(2))
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/ui_div.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/ui_div.c
index 223ec7977ae..ac1efb3b984 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/ui_div.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/ui_div.c
@@ -1,7 +1,7 @@
/* mpfr_ui_div -- divide a machine integer by a floating-point number
mpfr_si_div -- divide a machine number by a floating-point number
-Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2000-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -28,10 +28,6 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
int
mpfr_ui_div (mpfr_ptr y, unsigned long int u, mpfr_srcptr x, mpfr_rnd_t rnd_mode)
{
- mpfr_t uu;
- mp_limb_t up[1];
- unsigned long cnt;
-
MPFR_LOG_FUNC
(("u=%lu x[%Pu]=%.*Rg rnd=%d",
u, mpfr_get_prec(x), mpfr_log_prec, x, rnd_mode),
@@ -71,12 +67,26 @@ mpfr_ui_div (mpfr_ptr y, unsigned long int u, mpfr_srcptr x, mpfr_rnd_t rnd_mode
}
else if (MPFR_LIKELY(u != 0))
{
+ mpfr_t uu;
+ mp_limb_t up[1];
+ int cnt;
+ int inex;
+
+ MPFR_SAVE_EXPO_DECL (expo);
+
MPFR_TMP_INIT1(up, uu, GMP_NUMB_BITS);
MPFR_ASSERTN(u == (mp_limb_t) u);
count_leading_zeros(cnt, (mp_limb_t) u);
up[0] = (mp_limb_t) u << cnt;
+
+ /* Optimization note: Exponent save/restore operations may be
+ removed if mpfr_div works even when uu is out-of-range. */
+ MPFR_SAVE_EXPO_MARK (expo);
MPFR_SET_EXP (uu, GMP_NUMB_BITS - cnt);
- return mpfr_div (y, uu, x, rnd_mode);
+ inex = mpfr_div (y, uu, x, rnd_mode);
+ MPFR_SAVE_EXPO_UPDATE_FLAGS (expo, __gmpfr_flags);
+ MPFR_SAVE_EXPO_FREE (expo);
+ return mpfr_check_range (y, inex, rnd_mode);
}
else /* u = 0, and x != 0 */
{
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/ui_pow.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/ui_pow.c
index a566cae7f8f..b8b982184b0 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/ui_pow.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/ui_pow.c
@@ -1,6 +1,6 @@
/* mpfr_ui_pow -- power of n function n^x
-Copyright 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2001-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/ui_pow_ui.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/ui_pow_ui.c
index 63bcb33299a..eabb1fba8b8 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/ui_pow_ui.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/ui_pow_ui.c
@@ -1,6 +1,6 @@
/* mpfr_ui_pow_ui -- compute the power beetween two machine integer
-Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 1999-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/ui_sub.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/ui_sub.c
index 0b3911b05a1..bb8166ef234 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/ui_sub.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/ui_sub.c
@@ -1,6 +1,6 @@
/* mpfr_ui_sub -- subtract a floating-point number from an integer
-Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2000-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -26,10 +26,6 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
int
mpfr_ui_sub (mpfr_ptr y, unsigned long int u, mpfr_srcptr x, mpfr_rnd_t rnd_mode)
{
- mpfr_t uu;
- mp_limb_t up[1];
- unsigned long cnt;
-
MPFR_LOG_FUNC
(("u=%lu x[%Pu]=%.*Rg rnd=%d",
u, mpfr_get_prec(x), mpfr_log_prec, x, rnd_mode),
@@ -58,11 +54,25 @@ mpfr_ui_sub (mpfr_ptr y, unsigned long int u, mpfr_srcptr x, mpfr_rnd_t rnd_mode
}
else
{
+ mpfr_t uu;
+ mp_limb_t up[1];
+ int cnt;
+ int inex;
+
+ MPFR_SAVE_EXPO_DECL (expo);
+
MPFR_TMP_INIT1 (up, uu, GMP_NUMB_BITS);
MPFR_ASSERTN(u == (mp_limb_t) u);
count_leading_zeros (cnt, (mp_limb_t) u);
- *up = (mp_limb_t) u << cnt;
+ up[0] = (mp_limb_t) u << cnt;
+
+ /* Optimization note: Exponent save/restore operations may be
+ removed if mpfr_sub works even when uu is out-of-range. */
+ MPFR_SAVE_EXPO_MARK (expo);
MPFR_SET_EXP (uu, GMP_NUMB_BITS - cnt);
- return mpfr_sub (y, uu, x, rnd_mode);
+ inex = mpfr_sub (y, uu, x, rnd_mode);
+ MPFR_SAVE_EXPO_UPDATE_FLAGS (expo, __gmpfr_flags);
+ MPFR_SAVE_EXPO_FREE (expo);
+ return mpfr_check_range(y, inex, rnd_mode);
}
}
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/urandom.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/urandom.c
index de626f1e20f..0610eb1dbd4 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/urandom.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/urandom.c
@@ -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, 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2000-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/urandomb.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/urandomb.c
index 5bf64f4c956..3d1c12bf93c 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/urandomb.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/urandomb.c
@@ -3,7 +3,7 @@
using STATE as the random state previously initialized by a call to
gmp_randinit_lc_2exp_size().
-Copyright 2000, 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2000-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -98,6 +98,8 @@ mpfr_urandomb (mpfr_ptr rop, gmp_randstate_t rstate)
}
if (cnt != 0)
mpn_lshift (rp + k, rp, nlimbs, cnt);
+ else if (k != 0)
+ MPN_COPY (rp + k, rp, nlimbs);
if (k != 0)
MPN_ZERO (rp, k);
}
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/vasprintf.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/vasprintf.c
index 31e001cb5b2..2d209dc1a6d 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/vasprintf.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/vasprintf.c
@@ -1,7 +1,7 @@
/* mpfr_vasprintf -- main function for the printf functions family
plus helper macros & functions.
-Copyright 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2007-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -370,7 +370,7 @@ parse_arg_type (const char *format, struct printf_spec *specinfo)
/* With a C++ compiler wchar_t and enumeration in va_list are converted to
integer type : int, unsigned int, long or unsigned long (unfortunately,
- this is implementation dependant).
+ this is implementation dependent).
We follow gmp which assumes in print/doprnt.c that wchar_t is converted
to int (because wchar_t <= int).
For wint_t, we assume that the case WINT_MAX < INT_MAX yields an
@@ -884,14 +884,18 @@ regular_ab (struct number_parts *np, mpfr_srcptr p,
first digit, we want the exponent for radix two and the decimal
point AFTER the first digit. */
{
- MPFR_ASSERTN (exp > MPFR_EMIN_MIN /4); /* possible overflow */
+ /* An integer overflow is normally not possible since MPFR_EXP_MIN
+ is twice as large as MPFR_EMIN_MIN. */
+ MPFR_ASSERTN (exp > (MPFR_EXP_MIN + 3) / 4);
exp = (exp - 1) * 4;
}
else
/* EXP is the exponent for decimal point BEFORE the first digit, we
want the exponent for decimal point AFTER the first digit. */
{
- MPFR_ASSERTN (exp > MPFR_EMIN_MIN); /* possible overflow */
+ /* An integer overflow is normally not possible since MPFR_EXP_MIN
+ is twice as large as MPFR_EMIN_MIN. */
+ MPFR_ASSERTN (exp > MPFR_EXP_MIN);
--exp;
}
}
@@ -1040,7 +1044,7 @@ regular_ab (struct number_parts *np, mpfr_srcptr p,
}
/* Determine the different parts of the string representation of the regular
- number P when SPEC.SPEC is 'e', 'E', 'g', or 'G'.
+ number P when spec.spec is 'e', 'E', 'g', or 'G'.
DEC_INFO contains the previously computed exponent and string or is NULL.
return -1 if some field > INT_MAX */
@@ -1167,7 +1171,7 @@ regular_eg (struct number_parts *np, mpfr_srcptr p,
}
/* Determine the different parts of the string representation of the regular
- number P when SPEC.SPEC is 'f', 'F', 'g', or 'G'.
+ number P when spec.spec is 'f', 'F', 'g', or 'G'.
DEC_INFO contains the previously computed exponent and string or is NULL.
return -1 if some field of number_parts is greater than INT_MAX */
@@ -1559,7 +1563,7 @@ partition_number (struct number_parts *np, mpfr_srcptr p,
/* fractional part */
{
np->point = MPFR_DECIMAL_POINT;
- np->fp_trailing_zeros = (spec.spec == 'g' && spec.spec == 'G') ?
+ np->fp_trailing_zeros = (spec.spec == 'g' || spec.spec == 'G') ?
spec.prec - 1 : spec.prec;
}
else if (spec.alt)
@@ -1980,7 +1984,7 @@ mpfr_vasprintf (char **ptr, const char *fmt, va_list ap)
va_copy (ap2, ap);
start = fmt;
- /* construct format string, like "%*.*hu" "%*.*u" or "%*.*lu" */
+ /* construct format string, like "%*.*hd" "%*.*d" or "%*.*ld" */
format[0] = '%';
format[1] = '*';
format[2] = '.';
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/version.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/version.c
index 1ae4fe241dc..96b2f614e67 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/version.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/version.c
@@ -1,6 +1,6 @@
/* mpfr_get_version -- MPFR version
-Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2004-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -25,5 +25,5 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
const char *
mpfr_get_version (void)
{
- return "3.1.2";
+ return "3.1.3";
}
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/volatile.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/volatile.c
index 82c82eeb247..bb4e7da42e0 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/volatile.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/volatile.c
@@ -4,7 +4,7 @@
CERTAIN TO BE SUBJECT TO INCOMPATIBLE CHANGES OR DISAPPEAR COMPLETELY IN
FUTURE MPFR RELEASES.
-Copyright 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/x86/core2/mparam.h b/Build/source/libs/mpfr/mpfr-3.1.3/src/x86/core2/mparam.h
index 1f4e77b73c1..3a3abe2e99e 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/x86/core2/mparam.h
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/x86/core2/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/x86/mparam.h b/Build/source/libs/mpfr/mpfr-3.1.3/src/x86/mparam.h
index 55146904632..6f5f4917503 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/x86/mparam.h
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/x86/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/x86_64/core2/mparam.h b/Build/source/libs/mpfr/mpfr-3.1.3/src/x86_64/core2/mparam.h
index 0cf85d0c098..5d40b40d96a 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/x86_64/core2/mparam.h
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/x86_64/core2/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/x86_64/pentium4/mparam.h b/Build/source/libs/mpfr/mpfr-3.1.3/src/x86_64/pentium4/mparam.h
index 8412940bd17..19db0a4d670 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/x86_64/pentium4/mparam.h
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/x86_64/pentium4/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/yn.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/yn.c
index 24d3e176e20..c2c6bc97ea4 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/yn.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/yn.c
@@ -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, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2007-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/zeta.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/zeta.c
index 525e7af049f..ef5c9395733 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/zeta.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/zeta.c
@@ -1,6 +1,6 @@
/* mpfr_zeta -- compute the Riemann Zeta function
-Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2003-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Build/source/libs/mpfr/mpfr-3.1.2/src/zeta_ui.c b/Build/source/libs/mpfr/mpfr-3.1.3/src/zeta_ui.c
index 08f9f1d16f5..02ba337fb87 100644
--- a/Build/source/libs/mpfr/mpfr-3.1.2/src/zeta_ui.c
+++ b/Build/source/libs/mpfr/mpfr-3.1.3/src/zeta_ui.c
@@ -1,6 +1,6 @@
/* mpfr_zeta_ui -- compute the Riemann Zeta function for integer argument.
-Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
+Copyright 2005-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -28,12 +28,13 @@ mpfr_zeta_ui (mpfr_ptr z, unsigned long m, mpfr_rnd_t r)
{
MPFR_ZIV_DECL (loop);
+ MPFR_LOG_FUNC
+ (("m=%lu rnd=%d prec=%Pu", m, r, mpfr_get_prec (z)),
+ ("z[%Pu]=%.*Rg", mpfr_get_prec (z), mpfr_log_prec, z));
+
if (m == 0)
{
- mpfr_set_ui (z, 1, r);
- mpfr_div_2ui (z, z, 1, r);
- MPFR_CHANGE_SIGN (z);
- MPFR_RET (0);
+ return mpfr_set_si_2exp (z, -1, -1, r);
}
else if (m == 1)
{
@@ -49,28 +50,32 @@ mpfr_zeta_ui (mpfr_ptr z, unsigned long m, mpfr_rnd_t r)
mpz_t d, t, s, q;
mpfr_t y;
int inex;
+ MPFR_SAVE_EXPO_DECL (expo);
if (r == MPFR_RNDA)
r = MPFR_RNDU; /* since the result is always positive */
+ MPFR_SAVE_EXPO_MARK (expo);
+
if (m >= p) /* 2^(-m) < ulp(1) = 2^(1-p). This means that
2^(-m) <= 1/2*ulp(1). We have 3^(-m)+4^(-m)+... < 2^(-m)
i.e. zeta(m) < 1+2*2^(-m) for m >= 3 */
-
{
if (m == 2) /* necessarily p=2 */
- return mpfr_set_ui_2exp (z, 13, -3, r);
- else if (r == MPFR_RNDZ || r == MPFR_RNDD || (r == MPFR_RNDN && m > p))
+ inex = mpfr_set_ui_2exp (z, 13, -3, r);
+ else if (r == MPFR_RNDZ || r == MPFR_RNDD ||
+ (r == MPFR_RNDN && m > p))
{
mpfr_set_ui (z, 1, r);
- return -1;
+ inex = -1;
}
else
{
mpfr_set_ui (z, 1, r);
mpfr_nextabove (z);
- return 1;
+ inex = 1;
}
+ goto end;
}
/* now treat also the case where zeta(m) - (1+1/2^m) < 1/2*ulp(1),
@@ -89,9 +94,13 @@ mpfr_zeta_ui (mpfr_ptr z, unsigned long m, mpfr_rnd_t r)
mpfr_div_2ui (z, z, m, MPFR_RNDZ);
mpfr_add_ui (z, z, 1, MPFR_RNDZ);
if (r != MPFR_RNDU)
- return -1;
- mpfr_nextabove (z);
- return 1;
+ inex = -1;
+ else
+ {
+ mpfr_nextabove (z);
+ inex = 1;
+ }
+ goto end;
}
}
@@ -225,6 +234,11 @@ mpfr_zeta_ui (mpfr_ptr z, unsigned long m, mpfr_rnd_t r)
mpz_clear (s);
inex = mpfr_set (z, y, r);
mpfr_clear (y);
- return inex;
+
+ end:
+ MPFR_LOG_VAR (z);
+ MPFR_LOG_MSG (("inex = %d before mpfr_check_range\n", inex));
+ MPFR_SAVE_EXPO_FREE (expo);
+ return mpfr_check_range (z, inex, r);
}
}
diff --git a/Build/source/libs/mpfr/version.ac b/Build/source/libs/mpfr/version.ac
index c2c0bd32caf..044c07bde50 100644
--- a/Build/source/libs/mpfr/version.ac
+++ b/Build/source/libs/mpfr/version.ac
@@ -1,5 +1,5 @@
dnl
-dnl Copyright (C) 2014 Taco Hoekwater <taco@metatex.org>
+dnl Copyright (C) 2014, 2015 Taco Hoekwater <taco@metatex.org>
dnl
dnl This file is free software; the copyright holder
dnl gives unlimited permission to copy and/or distribute it,
@@ -8,4 +8,4 @@ dnl
dnl --------------------------------------------------------
dnl
dnl m4-include this file to define the current mpfr version
-m4_define([mpfr_version], [3.1.2])
+m4_define([mpfr_version], [3.1.3])