summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2017-01-01 01:58:07 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2017-01-01 01:58:07 +0000
commit74c745603891ed4820bc0c560cb895bdd7e69384 (patch)
tree84042922643f8f891ed5c26c0e589a7b33553fd8
parentdd702825b4fd55af077796664c4cde84e9f367cf (diff)
downloadmpfr-74c745603891ed4820bc0c560cb895bdd7e69384.tar.gz
Merged the latest changes from the trunk.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/faithful@11121 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--BUGS2
-rw-r--r--INSTALL2
-rw-r--r--Makefile.am2
-rw-r--r--NEWS2
-rw-r--r--README2
-rw-r--r--TODO2
-rw-r--r--acinclude.m418
-rw-r--r--configure.ac2
-rw-r--r--doc/FAQ.html2
-rw-r--r--doc/Makefile.am2
-rw-r--r--doc/README.dev4
-rwxr-xr-xdoc/check-typography2
-rw-r--r--doc/faq.xsl2
-rw-r--r--doc/mpfr.texi4
-rw-r--r--examples/can_round.c2
-rw-r--r--examples/divworst.c2
-rw-r--r--examples/rndo-add.c2
-rw-r--r--examples/sample.c2
-rw-r--r--examples/version.c2
-rw-r--r--src/Makefile.am5
-rw-r--r--src/abort_prec_max.c2
-rw-r--r--src/acos.c2
-rw-r--r--src/acosh.c2
-rw-r--r--src/add.c2
-rw-r--r--src/add1.c2
-rw-r--r--src/add1sp.c2
-rw-r--r--src/add_d.c2
-rw-r--r--src/add_ui.c2
-rw-r--r--src/agm.c2
-rw-r--r--src/ai.c2
-rw-r--r--src/amd/amdfam10/mparam.h2
-rw-r--r--src/amd/athlon/mparam.h2
-rw-r--r--src/amd/k8/mparam.h2
-rw-r--r--src/arm/mparam.h2
-rw-r--r--src/asin.c2
-rw-r--r--src/asinh.c2
-rw-r--r--src/atan.c2
-rw-r--r--src/atan2.c2
-rw-r--r--src/atanh.c2
-rw-r--r--src/bernoulli.c2
-rw-r--r--src/buildopt.c2
-rw-r--r--src/cache.c2
-rw-r--r--src/cbrt.c2
-rw-r--r--src/check.c2
-rw-r--r--src/clear.c2
-rw-r--r--src/clears.c2
-rw-r--r--src/cmp.c2
-rw-r--r--src/cmp2.c2
-rw-r--r--src/cmp_abs.c2
-rw-r--r--src/cmp_d.c2
-rw-r--r--src/cmp_ld.c2
-rw-r--r--src/cmp_si.c2
-rw-r--r--src/cmp_ui.c2
-rw-r--r--src/comparisons.c2
-rw-r--r--src/const_catalan.c2
-rw-r--r--src/const_euler.c2
-rw-r--r--src/const_log2.c2
-rw-r--r--src/const_pi.c2
-rw-r--r--src/constant.c2
-rw-r--r--src/copysign.c2
-rw-r--r--src/cos.c2
-rw-r--r--src/cosh.c2
-rw-r--r--src/cot.c2
-rw-r--r--src/coth.c2
-rw-r--r--src/csc.c2
-rw-r--r--src/csch.c2
-rw-r--r--src/d_div.c2
-rw-r--r--src/d_sub.c2
-rw-r--r--src/digamma.c2
-rw-r--r--src/dim.c2
-rw-r--r--src/div.c59
-rw-r--r--src/div_2exp.c2
-rw-r--r--src/div_2si.c2
-rw-r--r--src/div_2ui.c2
-rw-r--r--src/div_d.c2
-rw-r--r--src/div_ui.c2
-rw-r--r--src/dump.c2
-rw-r--r--src/eint.c2
-rw-r--r--src/eq.c2
-rw-r--r--src/erandom.c2
-rw-r--r--src/erf.c2
-rw-r--r--src/erfc.c2
-rw-r--r--src/exceptions.c2
-rw-r--r--src/exp.c2
-rw-r--r--src/exp10.c2
-rw-r--r--src/exp2.c2
-rw-r--r--src/exp3.c2
-rw-r--r--src/exp_2.c2
-rw-r--r--src/expm1.c2
-rw-r--r--src/extract.c2
-rw-r--r--src/factorial.c2
-rw-r--r--src/fits_intmax.c2
-rw-r--r--src/fits_s.h2
-rw-r--r--src/fits_sint.c2
-rw-r--r--src/fits_slong.c2
-rw-r--r--src/fits_sshort.c2
-rw-r--r--src/fits_u.h2
-rw-r--r--src/fits_uint.c2
-rw-r--r--src/fits_uintmax.c2
-rw-r--r--src/fits_ulong.c2
-rw-r--r--src/fits_ushort.c2
-rw-r--r--src/fma.c2
-rw-r--r--src/fmma.c2
-rw-r--r--src/fms.c2
-rw-r--r--src/fpif.c2
-rw-r--r--src/frac.c2
-rw-r--r--src/free_cache.c2
-rw-r--r--src/frexp.c2
-rw-r--r--src/gamma.c2
-rw-r--r--src/gamma_inc.c2
-rw-r--r--src/gammaonethird.c2
-rw-r--r--src/gen_inverse.h2
-rw-r--r--src/generic/coverage/mparam.h2
-rw-r--r--src/generic/mparam.h2
-rw-r--r--src/get_d.c2
-rw-r--r--src/get_d64.c2
-rw-r--r--src/get_exp.c2
-rw-r--r--src/get_f.c2
-rw-r--r--src/get_float128.c2
-rw-r--r--src/get_flt.c2
-rw-r--r--src/get_ld.c2
-rw-r--r--src/get_si.c2
-rw-r--r--src/get_sj.c2
-rw-r--r--src/get_str.c2
-rw-r--r--src/get_ui.c2
-rw-r--r--src/get_uj.c2
-rw-r--r--src/get_z.c2
-rw-r--r--src/get_z_exp.c2
-rw-r--r--src/gmp_op.c2
-rw-r--r--src/grandom.c2
-rw-r--r--src/hppa/mparam.h2
-rw-r--r--src/hypot.c2
-rw-r--r--src/ia64/mparam.h2
-rw-r--r--src/ieee_floats.h2
-rw-r--r--src/init.c2
-rw-r--r--src/init2.c2
-rw-r--r--src/inits.c2
-rw-r--r--src/inits2.c2
-rw-r--r--src/inp_str.c2
-rw-r--r--src/int_ceil_log2.c2
-rw-r--r--src/invert_limb.c89
-rw-r--r--src/isinf.c2
-rw-r--r--src/isinteger.c2
-rw-r--r--src/isnan.c2
-rw-r--r--src/isnum.c2
-rw-r--r--src/isqrt.c2
-rw-r--r--src/isregular.c2
-rw-r--r--src/iszero.c2
-rw-r--r--src/jn.c2
-rw-r--r--src/jyn_asympt.c2
-rw-r--r--src/li2.c2
-rw-r--r--src/lngamma.c2
-rw-r--r--src/log.c2
-rw-r--r--src/log10.c2
-rw-r--r--src/log1p.c2
-rw-r--r--src/log2.c2
-rw-r--r--src/log_ui.c2
-rw-r--r--src/logging.c2
-rw-r--r--src/min_prec.c2
-rw-r--r--src/minmax.c2
-rw-r--r--src/mips/mparam.h2
-rw-r--r--src/modf.c2
-rw-r--r--src/mp_clz_tab.c2
-rw-r--r--src/mparam_h.in2
-rw-r--r--src/mpf2mpfr.h2
-rw-r--r--src/mpfr-cvers.h2
-rw-r--r--src/mpfr-gmp.c2
-rw-r--r--src/mpfr-gmp.h17
-rw-r--r--src/mpfr-impl.h8
-rw-r--r--src/mpfr-intmax.h2
-rw-r--r--src/mpfr-longlong.h2
-rw-r--r--src/mpfr-mini-gmp.c2
-rw-r--r--src/mpfr-mini-gmp.h2
-rw-r--r--src/mpfr-sassert.h2
-rw-r--r--src/mpfr-thread.h2
-rw-r--r--src/mpfr.h2
-rw-r--r--src/mpn_exp.c2
-rw-r--r--src/mul.c56
-rw-r--r--src/mul_2exp.c2
-rw-r--r--src/mul_2si.c2
-rw-r--r--src/mul_2ui.c2
-rw-r--r--src/mul_d.c2
-rw-r--r--src/mul_ui.c2
-rw-r--r--src/mulders.c2
-rw-r--r--src/neg.c2
-rw-r--r--src/next.c2
-rw-r--r--src/nrandom.c2
-rw-r--r--src/out_str.c2
-rw-r--r--src/pow.c2
-rw-r--r--src/pow_si.c2
-rw-r--r--src/pow_ui.c2
-rw-r--r--src/pow_z.c2
-rw-r--r--src/powerof2.c2
-rw-r--r--src/powerpc32/mparam.h2
-rw-r--r--src/powerpc64/mparam.h2
-rw-r--r--src/print_raw.c2
-rw-r--r--src/print_rnd_mode.c2
-rw-r--r--src/printf.c2
-rw-r--r--src/random_deviate.c2
-rw-r--r--src/random_deviate.h2
-rw-r--r--src/rec_sqrt.c2
-rw-r--r--src/reldiff.c2
-rw-r--r--src/rem1.c2
-rw-r--r--src/rint.c2
-rw-r--r--src/rndna.c2
-rw-r--r--src/root.c2
-rw-r--r--src/round_near_x.c2
-rw-r--r--src/round_p.c2
-rw-r--r--src/round_prec.c2
-rw-r--r--src/round_raw_generic.c2
-rw-r--r--src/scale2.c2
-rw-r--r--src/sec.c2
-rw-r--r--src/sech.c2
-rw-r--r--src/set.c2
-rw-r--r--src/set_d.c2
-rw-r--r--src/set_d64.c2
-rw-r--r--src/set_dfl_prec.c2
-rw-r--r--src/set_exp.c2
-rw-r--r--src/set_f.c2
-rw-r--r--src/set_float128.c2
-rw-r--r--src/set_flt.c2
-rw-r--r--src/set_inf.c2
-rw-r--r--src/set_ld.c2
-rw-r--r--src/set_nan.c2
-rw-r--r--src/set_prc_raw.c2
-rw-r--r--src/set_prec.c2
-rw-r--r--src/set_q.c2
-rw-r--r--src/set_rnd.c2
-rw-r--r--src/set_si.c2
-rw-r--r--src/set_si_2exp.c2
-rw-r--r--src/set_sj.c2
-rw-r--r--src/set_str.c2
-rw-r--r--src/set_str_raw.c2
-rw-r--r--src/set_ui.c2
-rw-r--r--src/set_ui_2exp.c2
-rw-r--r--src/set_uj.c2
-rw-r--r--src/set_z.c2
-rw-r--r--src/set_z_exp.c2
-rw-r--r--src/set_zero.c2
-rw-r--r--src/setmax.c2
-rw-r--r--src/setmin.c2
-rw-r--r--src/setsign.c2
-rw-r--r--src/sgn.c2
-rw-r--r--src/si_op.c2
-rw-r--r--src/signbit.c2
-rw-r--r--src/sin.c2
-rw-r--r--src/sin_cos.c2
-rw-r--r--src/sinh.c2
-rw-r--r--src/sinh_cosh.c2
-rw-r--r--src/sparc64/mparam.h2
-rw-r--r--src/sqr.c203
-rw-r--r--src/sqrt.c6
-rw-r--r--src/sqrt_tab.h4
-rw-r--r--src/sqrt_ui.c2
-rw-r--r--src/stack_interface.c2
-rw-r--r--src/strtofr.c2
-rw-r--r--src/sub.c2
-rw-r--r--src/sub1.c2
-rw-r--r--src/sub1sp.c2
-rw-r--r--src/sub_d.c2
-rw-r--r--src/sub_ui.c2
-rw-r--r--src/subnormal.c2
-rw-r--r--src/sum.c2
-rw-r--r--src/swap.c2
-rw-r--r--src/tan.c2
-rw-r--r--src/tanh.c2
-rw-r--r--src/ubf.c2
-rw-r--r--src/uceil_exp2.c2
-rw-r--r--src/uceil_log2.c2
-rw-r--r--src/ufloor_log2.c2
-rw-r--r--src/ui_div.c2
-rw-r--r--src/ui_pow.c2
-rw-r--r--src/ui_pow_ui.c2
-rw-r--r--src/ui_sub.c2
-rw-r--r--src/urandom.c2
-rw-r--r--src/urandomb.c2
-rw-r--r--src/vasprintf.c2
-rw-r--r--src/version.c2
-rw-r--r--src/volatile.c2
-rw-r--r--src/x86/core2/mparam.h2
-rw-r--r--src/x86/mparam.h2
-rw-r--r--src/x86_64/core2/mparam.h2
-rw-r--r--src/x86_64/corei5/mparam.h2
-rw-r--r--src/x86_64/pentium4/mparam.h2
-rw-r--r--src/yn.c2
-rw-r--r--src/zeta.c2
-rw-r--r--src/zeta_ui.c2
-rw-r--r--tests/Makefile.am2
-rw-r--r--tests/cmp_str.c2
-rw-r--r--tests/data/digamma2
-rw-r--r--tests/data/li22
-rw-r--r--tests/memory.c2
-rw-r--r--tests/mpf_compat.c2
-rw-r--r--tests/mpf_compat.h2
-rw-r--r--tests/mpfr-test.h2
-rw-r--r--tests/mpfr_compat.c2
-rw-r--r--tests/random2.c2
-rw-r--r--tests/reuse.c2
-rw-r--r--tests/rnd_mode.c2
-rw-r--r--tests/tabort_defalloc1.c2
-rw-r--r--tests/tabort_defalloc2.c2
-rw-r--r--tests/tabort_prec_max.c2
-rw-r--r--tests/tabs.c2
-rw-r--r--tests/tacos.c2
-rw-r--r--tests/tacosh.c2
-rw-r--r--tests/tadd.c2
-rw-r--r--tests/tadd1sp.c2
-rw-r--r--tests/tadd_d.c2
-rw-r--r--tests/tadd_ui.c2
-rw-r--r--tests/tagm.c2
-rw-r--r--tests/tai.c2
-rw-r--r--tests/talloc-cache.c2
-rw-r--r--tests/talloc.c2
-rw-r--r--tests/tasin.c2
-rw-r--r--tests/tasinh.c2
-rw-r--r--tests/tassert.c2
-rw-r--r--tests/tatan.c2
-rw-r--r--tests/tatanh.c2
-rw-r--r--tests/taway.c2
-rw-r--r--tests/tbuildopt.c2
-rw-r--r--tests/tcan_round.c2
-rw-r--r--tests/tcbrt.c2
-rw-r--r--tests/tcheck.c2
-rw-r--r--tests/tcmp.c2
-rw-r--r--tests/tcmp2.c2
-rw-r--r--tests/tcmp_d.c2
-rw-r--r--tests/tcmp_ld.c2
-rw-r--r--tests/tcmp_ui.c2
-rw-r--r--tests/tcmpabs.c2
-rw-r--r--tests/tcomparisons.c2
-rw-r--r--tests/tconst_catalan.c2
-rw-r--r--tests/tconst_euler.c2
-rw-r--r--tests/tconst_log2.c2
-rw-r--r--tests/tconst_pi.c2
-rw-r--r--tests/tcopysign.c2
-rw-r--r--tests/tcos.c2
-rw-r--r--tests/tcosh.c2
-rw-r--r--tests/tcot.c2
-rw-r--r--tests/tcoth.c2
-rw-r--r--tests/tcsc.c2
-rw-r--r--tests/tcsch.c2
-rw-r--r--tests/td_div.c2
-rw-r--r--tests/td_sub.c2
-rw-r--r--tests/tdigamma.c2
-rw-r--r--tests/tdim.c2
-rw-r--r--tests/tdiv.c2
-rw-r--r--tests/tdiv_d.c2
-rw-r--r--tests/tdiv_ui.c2
-rw-r--r--tests/teint.c2
-rw-r--r--tests/teq.c2
-rw-r--r--tests/terandom.c2
-rw-r--r--tests/terandom_chisq.c2
-rw-r--r--tests/terf.c2
-rw-r--r--tests/tests.c2
-rw-r--r--tests/texceptions.c2
-rw-r--r--tests/texp.c2
-rw-r--r--tests/texp10.c2
-rw-r--r--tests/texp2.c2
-rw-r--r--tests/texpm1.c2
-rw-r--r--tests/tfactorial.c2
-rw-r--r--tests/tfits.c2
-rw-r--r--tests/tfma.c2
-rw-r--r--tests/tfmma.c2
-rw-r--r--tests/tfmod.c2
-rw-r--r--tests/tfms.c2
-rw-r--r--tests/tfpif.c2
-rw-r--r--tests/tfprintf.c2
-rw-r--r--tests/tfrac.c2
-rw-r--r--tests/tfrexp.c2
-rw-r--r--tests/tgamma.c2
-rw-r--r--tests/tgamma_inc.c2
-rw-r--r--tests/tgeneric.c2
-rw-r--r--tests/tgeneric_ui.c2
-rw-r--r--tests/tget_d.c2
-rw-r--r--tests/tget_d_2exp.c2
-rw-r--r--tests/tget_f.c2
-rw-r--r--tests/tget_flt.c2
-rw-r--r--tests/tget_ld_2exp.c2
-rw-r--r--tests/tget_set_d64.c2
-rw-r--r--tests/tget_sj.c2
-rw-r--r--tests/tget_str.c2
-rw-r--r--tests/tget_z.c2
-rw-r--r--tests/tgmpop.c2
-rw-r--r--tests/tgrandom.c2
-rw-r--r--tests/thyperbolic.c2
-rw-r--r--tests/thypot.c2
-rw-r--r--tests/tinits.c2
-rw-r--r--tests/tinp_str.c2
-rw-r--r--tests/tinternals.c2
-rw-r--r--tests/tisnan.c2
-rw-r--r--tests/tisqrt.c2
-rw-r--r--tests/tj0.c2
-rw-r--r--tests/tj1.c2
-rw-r--r--tests/tjn.c2
-rw-r--r--tests/tl2b.c2
-rw-r--r--tests/tlgamma.c2
-rw-r--r--tests/tli2.c2
-rw-r--r--tests/tlngamma.c2
-rw-r--r--tests/tlog.c2
-rw-r--r--tests/tlog10.c2
-rw-r--r--tests/tlog1p.c2
-rw-r--r--tests/tlog2.c2
-rw-r--r--tests/tlog_ui.c2
-rw-r--r--tests/tmin_prec.c2
-rw-r--r--tests/tminmax.c2
-rw-r--r--tests/tmodf.c2
-rw-r--r--tests/tmul.c2
-rw-r--r--tests/tmul_2exp.c2
-rw-r--r--tests/tmul_d.c2
-rw-r--r--tests/tmul_ui.c2
-rw-r--r--tests/tnext.c2
-rw-r--r--tests/tnrandom.c2
-rw-r--r--tests/tnrandom_chisq.c2
-rw-r--r--tests/tout_str.c2
-rw-r--r--tests/toutimpl.c2
-rw-r--r--tests/tpow.c2
-rw-r--r--tests/tpow3.c2
-rw-r--r--tests/tpow_all.c2
-rw-r--r--tests/tpow_z.c2
-rw-r--r--tests/tprintf.c2
-rw-r--r--tests/trandom.c2
-rw-r--r--tests/trandom_deviate.c2
-rw-r--r--tests/trec_sqrt.c2
-rw-r--r--tests/tremquo.c2
-rw-r--r--tests/trint.c2
-rw-r--r--tests/trndna.c2
-rw-r--r--tests/troot.c2
-rw-r--r--tests/tround_prec.c2
-rw-r--r--tests/tsec.c2
-rw-r--r--tests/tsech.c2
-rw-r--r--tests/tset.c2
-rw-r--r--tests/tset_d.c2
-rw-r--r--tests/tset_exp.c2
-rw-r--r--tests/tset_f.c2
-rw-r--r--tests/tset_float128.c2
-rw-r--r--tests/tset_ld.c2
-rw-r--r--tests/tset_q.c2
-rw-r--r--tests/tset_si.c2
-rw-r--r--tests/tset_sj.c2
-rw-r--r--tests/tset_str.c2
-rw-r--r--tests/tset_z.c2
-rw-r--r--tests/tset_z_exp.c2
-rw-r--r--tests/tsgn.c2
-rw-r--r--tests/tsi_op.c2
-rw-r--r--tests/tsin.c2
-rw-r--r--tests/tsin_cos.c2
-rw-r--r--tests/tsinh.c2
-rw-r--r--tests/tsinh_cosh.c2
-rw-r--r--tests/tsprintf.c2
-rw-r--r--tests/tsqr.c2
-rw-r--r--tests/tsqrt.c2
-rw-r--r--tests/tsqrt_ui.c2
-rw-r--r--tests/tstckintc.c2
-rw-r--r--tests/tstdint.c2
-rw-r--r--tests/tstrtofr.c2
-rw-r--r--tests/tsub.c2
-rw-r--r--tests/tsub1sp.c2
-rw-r--r--tests/tsub_d.c2
-rw-r--r--tests/tsub_ui.c2
-rw-r--r--tests/tsubnormal.c2
-rw-r--r--tests/tsum.c2
-rw-r--r--tests/tswap.c2
-rw-r--r--tests/ttan.c2
-rw-r--r--tests/ttanh.c2
-rw-r--r--tests/ttrunc.c2
-rw-r--r--tests/tui_div.c2
-rw-r--r--tests/tui_pow.c2
-rw-r--r--tests/tui_sub.c2
-rw-r--r--tests/turandom.c2
-rw-r--r--tests/tvalist.c2
-rw-r--r--tests/tversion.c2
-rw-r--r--tests/ty0.c2
-rw-r--r--tests/ty1.c2
-rw-r--r--tests/tyn.c2
-rw-r--r--tests/tzeta.c2
-rw-r--r--tests/tzeta_ui.c2
-rw-r--r--tools/bench/Makefile.am2
-rw-r--r--tools/bench/benchtime.h2
-rw-r--r--tools/bench/mpfrbench.c2
-rwxr-xr-xtools/ck-clz_tab2
-rwxr-xr-xtools/ck-copyright-notice2
-rwxr-xr-xtools/ck-mparam2
-rwxr-xr-xtools/ck-news2
-rwxr-xr-xtools/ck-version-info2
-rwxr-xr-xtools/get_patches.sh2
-rw-r--r--tune/Makefile.am2
-rw-r--r--tune/bidimensional_sample.c2
-rw-r--r--tune/speed.c2
-rw-r--r--tune/tuneup.c2
489 files changed, 891 insertions, 536 deletions
diff --git a/BUGS b/BUGS
index 5132bdbbd..1fbc057c9 100644
--- a/BUGS
+++ b/BUGS
@@ -1,4 +1,4 @@
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/INSTALL b/INSTALL
index ef5d042e1..b85565bed 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,4 +1,4 @@
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/Makefile.am b/Makefile.am
index 1756c62cc..1a7ac71e4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-# Copyright 2000-2016 Free Software Foundation, Inc.
+# Copyright 2000-2017 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.
diff --git a/NEWS b/NEWS
index 6ad2a911c..f8c343836 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-Copyright 2000-2016 Free Software Foundation, Inc.
+Copyright 2000-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/README b/README
index b0ee77cca..8b9f1dd90 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-Copyright 2000-2016 Free Software Foundation, Inc.
+Copyright 2000-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/TODO b/TODO
index 39ae09a85..13ca6a024 100644
--- a/TODO
+++ b/TODO
@@ -1,7 +1,7 @@
TODO for faithful branch:
- deal with RNDF in mpfr_round_near_x (replaced by RNDZ)
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/acinclude.m4 b/acinclude.m4
index 85fe826cd..ae8c39a7e 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1,6 +1,6 @@
dnl MPFR specific autoconf macros
-dnl Copyright 2000, 2002-2016 Free Software Foundation, Inc.
+dnl Copyright 2000, 2002-2017 Free Software Foundation, Inc.
dnl Contributed by the AriC and Caramba projects, INRIA.
dnl
dnl This file is part of the GNU MPFR Library.
@@ -481,6 +481,20 @@ static int f (double (*func)(double)) { return 0; }
AC_DEFINE(HAVE_NEARBYINT, 1,[Have ISO C99 nearbyint function])
],[AC_MSG_RESULT(no)])
+dnl Check if _mulx_u64 is provided
+dnl Note: This intrinsic is not standard, and ideally more checks should
+dnl be done to make sure that the MPFR code matches what is expected on
+dnl all compilers that provide it.
+AC_MSG_CHECKING([for _mulx_u64])
+AC_LINK_IFELSE([AC_LANG_PROGRAM([[
+#include <immintrin.h>
+]], [[
+ return _mulx_u64(17, 42, (unsigned long long *) 0);
+]])], [
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(HAVE_MULX_U64, 1,[Have _mulx_u64 function])
+],[AC_MSG_RESULT(no)])
+
LIBS="$saved_LIBS"
dnl Now try to check the long double format
@@ -1533,3 +1547,5 @@ if test "$mpfr_c11_thread_ok" = "yes"; then
[Define if the ISO C11 Thread is supported.])
fi
])
+
+
diff --git a/configure.ac b/configure.ac
index f53bf72dc..a34e54e8f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@ dnl WARNING! C code starting with # (preprocessor directives) must not
dnl be indented!
AC_COPYRIGHT([
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/doc/FAQ.html b/doc/FAQ.html
index f3c5ee778..5f9243491 100644
--- a/doc/FAQ.html
+++ b/doc/FAQ.html
@@ -2,7 +2,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
-Copyright 2000-2016 Free Software Foundation, Inc.
+Copyright 2000-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 9ba17c55d..56e00a06c 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,4 +1,4 @@
-# Copyright 2010-2016 Free Software Foundation, Inc.
+# Copyright 2010-2017 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.
diff --git a/doc/README.dev b/doc/README.dev
index f81470cbd..23f2101ac 100644
--- a/doc/README.dev
+++ b/doc/README.dev
@@ -1,4 +1,4 @@
-Copyright 2002-2016 Free Software Foundation, Inc.
+Copyright 2002-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -1172,7 +1172,7 @@ of the tests/Makefile.am file.
/* Test file for mpfr_func.
-Copyright 2016 Free Software Foundation, Inc.
+Copyright 2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/doc/check-typography b/doc/check-typography
index ce2342471..1307572db 100755
--- a/doc/check-typography
+++ b/doc/check-typography
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2016 Free Software Foundation, Inc.
+# Copyright 2016-2017 Free Software Foundation, Inc.
# This script 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.
diff --git a/doc/faq.xsl b/doc/faq.xsl
index cf10a378e..68dfdb98a 100644
--- a/doc/faq.xsl
+++ b/doc/faq.xsl
@@ -23,7 +23,7 @@ the faq.html file on the MPFR web site. See the update-faq script.
<xsl:template match="/">
<xsl:text>&#10;</xsl:text>
<xsl:comment>
-Copyright 2000-2016 Free Software Foundation, Inc.
+Copyright 2000-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/doc/mpfr.texi b/doc/mpfr.texi
index 002cfc50d..3b615327d 100644
--- a/doc/mpfr.texi
+++ b/doc/mpfr.texi
@@ -3,7 +3,7 @@
@setfilename mpfr.info
@documentencoding UTF-8
@set VERSION 4.0.0-dev
-@set UPDATED-MONTH December 2016
+@set UPDATED-MONTH January 2017
@settitle GNU MPFR @value{VERSION}
@synindex tp fn
@iftex
@@ -19,7 +19,7 @@
This manual documents how to install and use the Multiple Precision
Floating-Point Reliable Library, version @value{VERSION}.
-Copyright 1991, 1993-2016 Free Software Foundation, Inc.
+Copyright 1991, 1993-2017 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document under
the terms of the GNU Free Documentation License, Version 1.2 or any later
diff --git a/examples/can_round.c b/examples/can_round.c
index 2743e71df..78cc2d958 100644
--- a/examples/can_round.c
+++ b/examples/can_round.c
@@ -1,7 +1,7 @@
/* Example illustrating how to use mpfr_can_round. */
/*
-Copyright 2016 Free Software Foundation, Inc.
+Copyright 2016-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/examples/divworst.c b/examples/divworst.c
index 68bd60dc4..482e1b18a 100644
--- a/examples/divworst.c
+++ b/examples/divworst.c
@@ -13,7 +13,7 @@
*/
/*
-Copyright 2009-2016 Free Software Foundation, Inc.
+Copyright 2009-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/examples/rndo-add.c b/examples/rndo-add.c
index 0a6729e97..9c08b8ce3 100644
--- a/examples/rndo-add.c
+++ b/examples/rndo-add.c
@@ -8,7 +8,7 @@
*/
/*
-Copyright 2009-2016 Free Software Foundation, Inc.
+Copyright 2009-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/examples/sample.c b/examples/sample.c
index fe50e081d..ddb848164 100644
--- a/examples/sample.c
+++ b/examples/sample.c
@@ -3,7 +3,7 @@
*/
/*
-Copyright 1999-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 1999-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/examples/version.c b/examples/version.c
index 00d651dcd..0976bf7ef 100644
--- a/examples/version.c
+++ b/examples/version.c
@@ -3,7 +3,7 @@
*/
/*
-Copyright 2010-2016 Free Software Foundation, Inc.
+Copyright 2010-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/Makefile.am b/src/Makefile.am
index 2f3f2730c..fda3a3645 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,4 +1,4 @@
-# Copyright 2000-2016 Free Software Foundation, Inc.
+# Copyright 2000-2017 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.
@@ -59,7 +59,8 @@ buildopt.c digamma.c bernoulli.c isregular.c set_flt.c get_flt.c \
scale2.c set_z_exp.c ai.c gammaonethird.c ieee_floats.h \
grandom.c fpif.c set_float128.c get_float128.c rndna.c nrandom.c \
random_deviate.h random_deviate.c erandom.c mpfr-mini-gmp.c \
-mpfr-mini-gmp.h fmma.c log_ui.c gamma_inc.c ubf.c sqrt_tab.h
+mpfr-mini-gmp.h fmma.c log_ui.c gamma_inc.c ubf.c sqrt_tab.h \
+invert_limb.c
libmpfr_la_LIBADD = @LIBOBJS@
diff --git a/src/abort_prec_max.c b/src/abort_prec_max.c
index 93f4a9b99..928e7c68d 100644
--- a/src/abort_prec_max.c
+++ b/src/abort_prec_max.c
@@ -1,6 +1,6 @@
/* mpfr_abort_prec_max -- Abort due to maximal precision overflow.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/acos.c b/src/acos.c
index 7a6c3de3f..7be589aea 100644
--- a/src/acos.c
+++ b/src/acos.c
@@ -1,6 +1,6 @@
/* mpfr_acos -- arc-cosinus of a floating-point number
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/acosh.c b/src/acosh.c
index c30955565..2377860dc 100644
--- a/src/acosh.c
+++ b/src/acosh.c
@@ -1,6 +1,6 @@
/* mpfr_acosh -- inverse hyperbolic cosine
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/add.c b/src/add.c
index f5e5239b6..0d499d67b 100644
--- a/src/add.c
+++ b/src/add.c
@@ -1,6 +1,6 @@
/* mpfr_add -- add two floating-point numbers
-Copyright 1999-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 1999-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/add1.c b/src/add1.c
index a936fcd9c..066255f69 100644
--- a/src/add1.c
+++ b/src/add1.c
@@ -1,6 +1,6 @@
/* mpfr_add1 -- internal function to perform a "real" addition
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/add1sp.c b/src/add1sp.c
index e491cec9e..c623e8245 100644
--- a/src/add1sp.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/add_d.c b/src/add_d.c
index 0f46c871f..8ab2028e4 100644
--- a/src/add_d.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/add_ui.c b/src/add_ui.c
index 5731fddf2..1894cd19d 100644
--- a/src/add_ui.c
+++ b/src/add_ui.c
@@ -1,6 +1,6 @@
/* mpfr_add_ui -- add a floating-point number with a machine integer
-Copyright 2000-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2000-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/agm.c b/src/agm.c
index c824c6257..bef101c52 100644
--- a/src/agm.c
+++ b/src/agm.c
@@ -1,6 +1,6 @@
/* mpfr_agm -- arithmetic-geometric mean of two floating-point numbers
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/ai.c b/src/ai.c
index 9adc77aca..f1766ee21 100644
--- a/src/ai.c
+++ b/src/ai.c
@@ -1,6 +1,6 @@
/* mpfr_ai -- Airy function Ai
-Copyright 2010-2016 Free Software Foundation, Inc.
+Copyright 2010-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/amd/amdfam10/mparam.h b/src/amd/amdfam10/mparam.h
index 43bc9164a..a122a75ce 100644
--- a/src/amd/amdfam10/mparam.h
+++ b/src/amd/amdfam10/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/src/amd/athlon/mparam.h b/src/amd/athlon/mparam.h
index 39ef0992a..0712fad52 100644
--- a/src/amd/athlon/mparam.h
+++ b/src/amd/athlon/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/src/amd/k8/mparam.h b/src/amd/k8/mparam.h
index bd54b7f95..0991283f3 100644
--- a/src/amd/k8/mparam.h
+++ b/src/amd/k8/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/src/arm/mparam.h b/src/arm/mparam.h
index 592ef1895..63c837c70 100644
--- a/src/arm/mparam.h
+++ b/src/arm/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/src/asin.c b/src/asin.c
index 9556d2000..b0af0c8a6 100644
--- a/src/asin.c
+++ b/src/asin.c
@@ -1,6 +1,6 @@
/* mpfr_asin -- arc-sinus of a floating-point number
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/asinh.c b/src/asinh.c
index 1d000a8da..aacac89df 100644
--- a/src/asinh.c
+++ b/src/asinh.c
@@ -1,6 +1,6 @@
/* mpfr_asinh -- inverse hyperbolic sine
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/atan.c b/src/atan.c
index 7c0269f65..2d8cad12d 100644
--- a/src/atan.c
+++ b/src/atan.c
@@ -1,6 +1,6 @@
/* mpfr_atan -- arc-tangent of a floating-point number
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/atan2.c b/src/atan2.c
index 93c566e2a..57bc14f79 100644
--- a/src/atan2.c
+++ b/src/atan2.c
@@ -1,6 +1,6 @@
/* mpfr_atan2 -- arc-tan 2 of a floating-point number
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/atanh.c b/src/atanh.c
index 688880542..ae8e860e7 100644
--- a/src/atanh.c
+++ b/src/atanh.c
@@ -1,6 +1,6 @@
/* mpfr_atanh -- Inverse Hyperbolic Tangente
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/bernoulli.c b/src/bernoulli.c
index 2ee358847..68e74903a 100644
--- a/src/bernoulli.c
+++ b/src/bernoulli.c
@@ -1,6 +1,6 @@
/* bernoulli -- internal function to compute Bernoulli numbers.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/buildopt.c b/src/buildopt.c
index 47fccf666..1386c311a 100644
--- a/src/buildopt.c
+++ b/src/buildopt.c
@@ -1,7 +1,7 @@
/* buildopt.c -- functions giving information about options used during the
mpfr library compilation
-Copyright 2009-2016 Free Software Foundation, Inc.
+Copyright 2009-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/cache.c b/src/cache.c
index f47fa72e8..a48de9967 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -1,6 +1,6 @@
/* mpfr_cache -- cache interface for multiple-precision constants in MPFR.
-Copyright 2004-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/cbrt.c b/src/cbrt.c
index 6a72ba196..e991700a6 100644
--- a/src/cbrt.c
+++ b/src/cbrt.c
@@ -1,6 +1,6 @@
/* mpfr_cbrt -- cube root function.
-Copyright 2002-2016 Free Software Foundation, Inc.
+Copyright 2002-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/check.c b/src/check.c
index 08cff42a8..f91e1d2d7 100644
--- a/src/check.c
+++ b/src/check.c
@@ -1,6 +1,6 @@
/* mpfr_check -- Check if a floating-point number has not been corrupted.
-Copyright 2003-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/clear.c b/src/clear.c
index c1b2f6a59..7e23924da 100644
--- a/src/clear.c
+++ b/src/clear.c
@@ -1,6 +1,6 @@
/* mpfr_clear -- free the memory space allocated for a floating-point number
-Copyright 1999-2001, 2004-2016 Free Software Foundation, Inc.
+Copyright 1999-2001, 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/clears.c b/src/clears.c
index 9ae502c2d..e442e0f03 100644
--- a/src/clears.c
+++ b/src/clears.c
@@ -1,7 +1,7 @@
/* mpfr_clears -- free the memory space allocated for several
floating-point numbers
-Copyright 2003-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/cmp.c b/src/cmp.c
index 6dac4b4ff..102af1683 100644
--- a/src/cmp.c
+++ b/src/cmp.c
@@ -1,6 +1,6 @@
/* mpfr_cmp -- compare two floating-point numbers
-Copyright 1999, 2001, 2003-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001, 2003-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/cmp2.c b/src/cmp2.c
index 9c649b822..14df57afd 100644
--- a/src/cmp2.c
+++ b/src/cmp2.c
@@ -1,6 +1,6 @@
/* mpfr_cmp2 -- exponent shift when subtracting two numbers.
-Copyright 1999-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 1999-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/cmp_abs.c b/src/cmp_abs.c
index 2e1c7a359..12ab63715 100644
--- a/src/cmp_abs.c
+++ b/src/cmp_abs.c
@@ -1,6 +1,6 @@
/* mpfr_cmpabs -- compare the absolute values of two FP numbers
-Copyright 1999, 2001-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/cmp_d.c b/src/cmp_d.c
index 966866471..cb3c7cbd0 100644
--- a/src/cmp_d.c
+++ b/src/cmp_d.c
@@ -1,6 +1,6 @@
/* mpfr_cmp_d -- compare a floating-point number with a double
-Copyright 2003-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/cmp_ld.c b/src/cmp_ld.c
index 9d255f073..536316a18 100644
--- a/src/cmp_ld.c
+++ b/src/cmp_ld.c
@@ -1,6 +1,6 @@
/* mpfr_cmp_d -- compare a floating-point number with a long double
-Copyright 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/cmp_si.c b/src/cmp_si.c
index a0e7918e7..d053e819d 100644
--- a/src/cmp_si.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/cmp_ui.c b/src/cmp_ui.c
index 2811ebd42..3732fc983 100644
--- a/src/cmp_ui.c
+++ b/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-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/comparisons.c b/src/comparisons.c
index 3c06b879b..daca50c5c 100644
--- a/src/comparisons.c
+++ b/src/comparisons.c
@@ -1,6 +1,6 @@
/* comparison predicates
-Copyright 2002-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2002-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/const_catalan.c b/src/const_catalan.c
index d7daa36e1..8b03875bf 100644
--- a/src/const_catalan.c
+++ b/src/const_catalan.c
@@ -1,6 +1,6 @@
/* mpfr_const_catalan -- compute Catalan's constant.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/const_euler.c b/src/const_euler.c
index d49d4a68d..44af5b823 100644
--- a/src/const_euler.c
+++ b/src/const_euler.c
@@ -1,6 +1,6 @@
/* mpfr_const_euler -- Euler's constant
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by Fredrik Johansson.
This file is part of the GNU MPFR Library.
diff --git a/src/const_log2.c b/src/const_log2.c
index be11981fb..8ae1ee99b 100644
--- a/src/const_log2.c
+++ b/src/const_log2.c
@@ -1,6 +1,6 @@
/* mpfr_const_log2 -- compute natural logarithm of 2
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/const_pi.c b/src/const_pi.c
index e9682ed97..77d8df01e 100644
--- a/src/const_pi.c
+++ b/src/const_pi.c
@@ -1,6 +1,6 @@
/* mpfr_const_pi -- compute Pi
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/constant.c b/src/constant.c
index 986364b80..96b7f7429 100644
--- a/src/constant.c
+++ b/src/constant.c
@@ -1,6 +1,6 @@
/* MPFR internal constant FP numbers
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/copysign.c b/src/copysign.c
index 010675ca4..89e768a88 100644
--- a/src/copysign.c
+++ b/src/copysign.c
@@ -1,6 +1,6 @@
/* mpfr_copysign -- Produce a value with the magnitude of x and sign bit of y
-Copyright 2001-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2001-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/cos.c b/src/cos.c
index 95adf4f83..d5a771594 100644
--- a/src/cos.c
+++ b/src/cos.c
@@ -1,6 +1,6 @@
/* mpfr_cos -- cosine of a floating-point number
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/cosh.c b/src/cosh.c
index f17ee0ee3..88ac0fc1a 100644
--- a/src/cosh.c
+++ b/src/cosh.c
@@ -1,6 +1,6 @@
/* mpfr_cosh -- hyperbolic cosine
-Copyright 2001-2002, 2004-2016 Free Software Foundation, Inc.
+Copyright 2001-2002, 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/cot.c b/src/cot.c
index ed70bd657..f743f6919 100644
--- a/src/cot.c
+++ b/src/cot.c
@@ -1,6 +1,6 @@
/* mpfr_cot - cotangent function.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/coth.c b/src/coth.c
index d725bb125..c6163b6e7 100644
--- a/src/coth.c
+++ b/src/coth.c
@@ -1,6 +1,6 @@
/* mpfr_coth - Hyperbolic cotangent function.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/csc.c b/src/csc.c
index 746d0e95d..9852083e9 100644
--- a/src/csc.c
+++ b/src/csc.c
@@ -1,6 +1,6 @@
/* mpfr_csc - cosecant function.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/csch.c b/src/csch.c
index 669bfdeb7..d899d1f0c 100644
--- a/src/csch.c
+++ b/src/csch.c
@@ -1,6 +1,6 @@
/* mpfr_csch - Hyperbolic cosecant function.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/d_div.c b/src/d_div.c
index b2c945b00..726b95104 100644
--- a/src/d_div.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/d_sub.c b/src/d_sub.c
index 946420c27..392faf7a8 100644
--- a/src/d_sub.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/digamma.c b/src/digamma.c
index 7e1d6b5f4..91e66c544 100644
--- a/src/digamma.c
+++ b/src/digamma.c
@@ -1,6 +1,6 @@
/* mpfr_digamma -- digamma function of a floating-point number
-Copyright 2009-2016 Free Software Foundation, Inc.
+Copyright 2009-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/dim.c b/src/dim.c
index 3212f10d5..8df768105 100644
--- a/src/dim.c
+++ b/src/dim.c
@@ -1,6 +1,6 @@
/* mpfr_dim -- positive difference
-Copyright 2001-2002, 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2001-2002, 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/div.c b/src/div.c
index dcacf8746..0a6f8dae3 100644
--- a/src/div.c
+++ b/src/div.c
@@ -1,6 +1,6 @@
/* mpfr_div -- divide two floating-point numbers
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -43,26 +43,39 @@ mpfr_div_1 (mpfr_ptr q, mpfr_srcptr u, mpfr_srcptr v, mpfr_rnd_t rnd_mode)
mp_limb_t u0 = MPFR_MANT(u)[0];
mp_limb_t v0 = MPFR_MANT(v)[0];
mp_limb_t q0, rb, sb, mask = MPFR_LIMB_MASK(sh);
+ int extra;
- if (u0 >= v0)
+ if ((extra = (u0 >= v0)))
+ u0 -= v0;
+
+#if GMP_NUMB_BITS == 64 /* __gmpfr_invert_limb_approx only exists for 64-bit */
+ /* first try with an approximate quotient */
+ {
+ mp_limb_t inv = __gmpfr_invert_limb_approx (v0);
+ umul_ppmm (q0, sb, u0, inv);
+ }
+ q0 = (q0 + u0) >> extra;
+ /* before the >> extra shift, q0 + u0 does not exceed the true quotient
+ floor(u'0*2^GMP_NUMB_BITS/v0), with error at most 2, which means the rational
+ quotient q satisfies q0 + u0 <= q < q0 + u0 + 3. We can round correctly except
+ when the last sh-1 bits of q0 are 000..000 or 111..111 or 111..110. */
+ if (MPFR_LIKELY(((q0 + 2) & (mask >> 1)) > 2))
{
- __udiv_qrnd_preinv (q0, sb, u0 - v0, v0);
- /* Noting W = 2^GMP_NUMB_BITS, we have u0*W = (W + q0) * v0 + sb,
- thus u0/v0 = 1 + q0/W + sb/v0/W, with 0 <= sb < v0. */
- qx ++;
- rb = q0 & (MPFR_LIMB_ONE << sh);
- sb |= q0 & mask;
- qp[0] = (MPFR_LIMB_HIGHBIT | (q0 >> 1)) & ~mask;
+ rb = q0 & (MPFR_LIMB_ONE << (sh - 1));
+ sb = 1; /* result cannot be exact when we can round with an approximation */
}
- else
+ else /* compute exact quotient and remainder */
+#endif
{
__udiv_qrnd_preinv (q0, sb, u0, v0);
- /* now u0*2^GMP_NUMB_BITS = q0*v0 + sb */
+ sb |= q0 & extra;
+ q0 >>= extra;
rb = q0 & (MPFR_LIMB_ONE << (sh - 1));
- sb |= (q0 & mask) ^ rb;
- qp[0] = q0 & ~mask;
+ sb |= q0 & (mask >> 1);
}
+ qp[0] = (MPFR_LIMB_HIGHBIT | q0) & ~mask;
+ qx += extra;
MPFR_SIGN(q) = MPFR_MULT_SIGN (MPFR_SIGN (u), MPFR_SIGN (v));
/* rounding */
@@ -129,7 +142,6 @@ mpfr_div_1 (mpfr_ptr q, mpfr_srcptr u, mpfr_srcptr v, mpfr_rnd_t rnd_mode)
}
}
-#if defined(WANT_GMP_INTERNALS) && defined(HAVE___GMPN_INVERT_LIMB)
/* special code for GMP_NUMB_BITS < PREC(q) < 2*GMP_NUMB_BITS and
GMP_NUMB_BITS < PREC(u), PREC(v) <= 2*GMP_NUMB_BITS */
static int
@@ -139,12 +151,14 @@ mpfr_div_2 (mpfr_ptr q, mpfr_srcptr u, mpfr_srcptr v, mpfr_rnd_t rnd_mode)
mpfr_limb_ptr qp = MPFR_MANT(q);
mpfr_exp_t qx = MPFR_GET_EXP(u) - MPFR_GET_EXP(v);
mpfr_prec_t sh = 2*GMP_NUMB_BITS - p;
- mp_limb_t inv, h, rb, sb, mask = MPFR_LIMB_MASK(sh);
+ mp_limb_t h, rb, sb, mask = MPFR_LIMB_MASK(sh);
mp_limb_t v1 = MPFR_MANT(v)[1], v0 = MPFR_MANT(v)[0];
mp_limb_t q1, q0, r3, r2, r1, r0, l, t;
int extra;
+#if GMP_NUMB_BITS == 64
+ mp_limb_t inv = __gmpfr_invert_limb (v1);
+#endif
- inv = __gmpn_invert_limb (v1);
r3 = MPFR_MANT(u)[1];
r2 = MPFR_MANT(u)[0];
extra = r3 > v1 || (r3 == v1 && r2 >= v0);
@@ -180,7 +194,11 @@ mpfr_div_2 (mpfr_ptr q, mpfr_srcptr u, mpfr_srcptr v, mpfr_rnd_t rnd_mode)
else
{
/* divide r3:r2 by v1: requires r3 < v1 */
+#if GMP_NUMB_BITS == 64 /* use __gmpfr_invert_limb */
__udiv_qrnnd_preinv (q1, r2, r3, r2, v1, inv);
+#else
+ udiv_qrnnd (q1, r2, r3, r2, v1);
+#endif
/* u-extra*v = q1 * v1 + r2 */
/* now subtract q1*v0 to r2:0 */
@@ -230,7 +248,11 @@ mpfr_div_2 (mpfr_ptr q, mpfr_srcptr u, mpfr_srcptr v, mpfr_rnd_t rnd_mode)
else
{
/* divide r2:r1 by v1: requires r2 < v1 */
+#if GMP_NUMB_BITS == 64 /* use __gmpfr_invert_limb */
__udiv_qrnnd_preinv (q0, r1, r2, r1, v1, inv);
+#else
+ udiv_qrnnd (q0, r1, r2, r1, v1);
+#endif
/* r2:r1 = q0*v1 + r1 */
@@ -342,8 +364,6 @@ mpfr_div_2 (mpfr_ptr q, mpfr_srcptr u, mpfr_srcptr v, mpfr_rnd_t rnd_mode)
MPFR_RET(MPFR_SIGN(q));
}
}
-#endif
-
#endif /* !defined(MPFR_GENERIC_ABI) */
#ifdef DEBUG2
@@ -663,12 +683,9 @@ mpfr_div (mpfr_ptr q, mpfr_srcptr u, mpfr_srcptr v, mpfr_rnd_t rnd_mode)
if (MPFR_GET_PREC(q) < GMP_NUMB_BITS && usize == 1 && vsize == 1)
return mpfr_div_1 (q, u, v, rnd_mode);
-#if defined(WANT_GMP_INTERNALS) && defined(HAVE___GMPN_INVERT_LIMB)
if (GMP_NUMB_BITS < MPFR_GET_PREC(q) && MPFR_GET_PREC(q) < 2 * GMP_NUMB_BITS
&& usize == 2 && vsize == 2)
return mpfr_div_2 (q, u, v, rnd_mode);
-#endif
-
#endif /* !defined(MPFR_GENERIC_ABI) */
q0size = MPFR_LIMB_SIZE(q); /* number of limbs of destination */
diff --git a/src/div_2exp.c b/src/div_2exp.c
index d28e84576..276e0d9ec 100644
--- a/src/div_2exp.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001, 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/div_2si.c b/src/div_2si.c
index 681dfd06f..155238364 100644
--- a/src/div_2si.c
+++ b/src/div_2si.c
@@ -1,6 +1,6 @@
/* mpfr_div_2si -- divide a floating-point number by a power of two
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/div_2ui.c b/src/div_2ui.c
index 71ce188c8..84942b15f 100644
--- a/src/div_2ui.c
+++ b/src/div_2ui.c
@@ -1,6 +1,6 @@
/* mpfr_div_2ui -- divide a floating-point number by a power of two
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/div_d.c b/src/div_d.c
index e1f09ddb5..05178cdb9 100644
--- a/src/div_d.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/div_ui.c b/src/div_ui.c
index 55dd1f2eb..deb95956f 100644
--- a/src/div_ui.c
+++ b/src/div_ui.c
@@ -1,6 +1,6 @@
/* mpfr_div_ui -- divide a floating-point number by a machine integer
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/dump.c b/src/dump.c
index 26f938ca1..8734b48b3 100644
--- a/src/dump.c
+++ b/src/dump.c
@@ -1,6 +1,6 @@
/* mpfr_dump -- Dump a float to stdout.
-Copyright 1999, 2001, 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001, 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/eint.c b/src/eint.c
index c8036e511..cd9588e50 100644
--- a/src/eint.c
+++ b/src/eint.c
@@ -1,6 +1,6 @@
/* mpfr_eint, mpfr_eint1 -- the exponential integral
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/eq.c b/src/eq.c
index f97431bc6..7f903c3fd 100644
--- a/src/eq.c
+++ b/src/eq.c
@@ -1,6 +1,6 @@
/* mpfr_eq -- Compare two floats up to a specified bit #.
-Copyright 1999, 2001, 2003-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001, 2003-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/erandom.c b/src/erandom.c
index a73322b0d..b423bf4ec 100644
--- a/src/erandom.c
+++ b/src/erandom.c
@@ -2,7 +2,7 @@
mean 1 and round it to the precision of rop according to the given rounding
mode.
-Copyright 2013-2016 Free Software Foundation, Inc.
+Copyright 2013-2017 Free Software Foundation, Inc.
Contributed by Charles Karney <charles@karney.com>, SRI International.
This file is part of the GNU MPFR Library.
diff --git a/src/erf.c b/src/erf.c
index ac19332af..12f3b9f5c 100644
--- a/src/erf.c
+++ b/src/erf.c
@@ -1,6 +1,6 @@
/* mpfr_erf -- error function of a floating-point number
-Copyright 2001, 2003-2016 Free Software Foundation, Inc.
+Copyright 2001, 2003-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/erfc.c b/src/erfc.c
index 9dafce58e..8424e8927 100644
--- a/src/erfc.c
+++ b/src/erfc.c
@@ -1,6 +1,6 @@
/* mpfr_erfc -- The Complementary Error Function of a floating-point number
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/exceptions.c b/src/exceptions.c
index 97026f81a..b457bbdf2 100644
--- a/src/exceptions.c
+++ b/src/exceptions.c
@@ -1,6 +1,6 @@
/* Exception flags and utilities. Constructors and destructors (debug).
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/exp.c b/src/exp.c
index d974e062c..fab9f8a40 100644
--- a/src/exp.c
+++ b/src/exp.c
@@ -1,6 +1,6 @@
/* mpfr_exp -- exponential of a floating-point number
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/exp10.c b/src/exp10.c
index e68d8aab4..f1ab5d9fb 100644
--- a/src/exp10.c
+++ b/src/exp10.c
@@ -1,6 +1,6 @@
/* mpfr_exp10 -- power of 10 function 10^y
-Copyright 2003-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/exp2.c b/src/exp2.c
index 270259198..0badfaf3b 100644
--- a/src/exp2.c
+++ b/src/exp2.c
@@ -1,6 +1,6 @@
/* mpfr_exp2 -- power of 2 function 2^y
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/exp3.c b/src/exp3.c
index 6b8998c12..7f6206bd4 100644
--- a/src/exp3.c
+++ b/src/exp3.c
@@ -1,6 +1,6 @@
/* mpfr_exp -- exponential of a floating-point number
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/exp_2.c b/src/exp_2.c
index d0ea7a20d..028833836 100644
--- a/src/exp_2.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/expm1.c b/src/expm1.c
index 16b9f9056..0899f181e 100644
--- a/src/expm1.c
+++ b/src/expm1.c
@@ -1,6 +1,6 @@
/* mpfr_expm1 -- Compute exp(x)-1
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/extract.c b/src/extract.c
index 33f83b2d0..b3a56ffab 100644
--- a/src/extract.c
+++ b/src/extract.c
@@ -1,6 +1,6 @@
/* mpfr_extract -- bit-extraction function for the binary splitting algorithm
-Copyright 2000-2002, 2004-2016 Free Software Foundation, Inc.
+Copyright 2000-2002, 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/factorial.c b/src/factorial.c
index c03bd6693..1ce413f9d 100644
--- a/src/factorial.c
+++ b/src/factorial.c
@@ -1,6 +1,6 @@
/* mpfr_fac_ui -- factorial of a nonnegative integer
-Copyright 2001, 2004-2016 Free Software Foundation, Inc.
+Copyright 2001, 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/fits_intmax.c b/src/fits_intmax.c
index 2e45f659c..f2f068813 100644
--- a/src/fits_intmax.c
+++ b/src/fits_intmax.c
@@ -1,6 +1,6 @@
/* mpfr_fits_intmax_p -- test whether an mpfr fits an intmax_t.
-Copyright 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/fits_s.h b/src/fits_s.h
index a8ef15a41..13473cb9c 100644
--- a/src/fits_s.h
+++ b/src/fits_s.h
@@ -1,6 +1,6 @@
/* mpfr_fits_*_p -- test whether an mpfr fits a C signed type.
-Copyright 2003-2016 Free Software Foundation, Inc.
+Copyright 2003-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/fits_sint.c b/src/fits_sint.c
index 5ab11409b..f214bca33 100644
--- a/src/fits_sint.c
+++ b/src/fits_sint.c
@@ -1,6 +1,6 @@
/* mpfr_fits_sint_p -- test whether an mpfr fits an int.
-Copyright 2003, 2006-2016 Free Software Foundation, Inc.
+Copyright 2003, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/fits_slong.c b/src/fits_slong.c
index 3ff287486..81ae2be96 100644
--- a/src/fits_slong.c
+++ b/src/fits_slong.c
@@ -1,6 +1,6 @@
/* mpfr_fits_slong_p -- test whether an mpfr fits a long.
-Copyright 2003, 2006-2016 Free Software Foundation, Inc.
+Copyright 2003, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/fits_sshort.c b/src/fits_sshort.c
index d9099800f..468792dc0 100644
--- a/src/fits_sshort.c
+++ b/src/fits_sshort.c
@@ -1,6 +1,6 @@
/* mpfr_fits_sshort_p -- test whether an mpfr fits a short.
-Copyright 2003, 2006-2016 Free Software Foundation, Inc.
+Copyright 2003, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/fits_u.h b/src/fits_u.h
index 45c25f82d..1faabf483 100644
--- a/src/fits_u.h
+++ b/src/fits_u.h
@@ -1,6 +1,6 @@
/* mpfr_fits_*_p -- test whether an mpfr fits a C unsigned type.
-Copyright 2003-2016 Free Software Foundation, Inc.
+Copyright 2003-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/fits_uint.c b/src/fits_uint.c
index 96e2cc5ab..309e3e9d5 100644
--- a/src/fits_uint.c
+++ b/src/fits_uint.c
@@ -1,6 +1,6 @@
/* mpfr_fits_uint_p -- test whether an mpfr fits an unsigned int.
-Copyright 2003, 2006-2016 Free Software Foundation, Inc.
+Copyright 2003, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/fits_uintmax.c b/src/fits_uintmax.c
index 91a794dc2..f1dd73547 100644
--- a/src/fits_uintmax.c
+++ b/src/fits_uintmax.c
@@ -1,6 +1,6 @@
/* mpfr_fits_uintmax_p -- test whether an mpfr fits an uintmax_t.
-Copyright 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/fits_ulong.c b/src/fits_ulong.c
index 8e2c10519..847ff733a 100644
--- a/src/fits_ulong.c
+++ b/src/fits_ulong.c
@@ -1,6 +1,6 @@
/* mpfr_fits_ulong_p -- test whether an mpfr fits an unsigned long.
-Copyright 2003, 2006-2016 Free Software Foundation, Inc.
+Copyright 2003, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/fits_ushort.c b/src/fits_ushort.c
index 63bfbc0ec..067466898 100644
--- a/src/fits_ushort.c
+++ b/src/fits_ushort.c
@@ -1,6 +1,6 @@
/* mpfr_fits_ushort_p -- test whether an mpfr fits an unsigned short.
-Copyright 2003, 2006-2016 Free Software Foundation, Inc.
+Copyright 2003, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/fma.c b/src/fma.c
index e3acd85bc..945b8bb39 100644
--- a/src/fma.c
+++ b/src/fma.c
@@ -1,6 +1,6 @@
/* mpfr_fma -- Floating multiply-add
-Copyright 2001-2002, 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2001-2002, 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/fmma.c b/src/fmma.c
index fbd94ff6d..9198ccefa 100644
--- a/src/fmma.c
+++ b/src/fmma.c
@@ -1,6 +1,6 @@
/* mpfr_fmma, mpfr_fmms -- Compute a*b +/- c*d
-Copyright 2014-2016 Free Software Foundation, Inc.
+Copyright 2014-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/fms.c b/src/fms.c
index 71b56cd22..6f7c5e6a4 100644
--- a/src/fms.c
+++ b/src/fms.c
@@ -1,6 +1,6 @@
/* mpfr_fms -- Floating multiply-subtract
-Copyright 2001-2002, 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2001-2002, 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/fpif.c b/src/fpif.c
index 4ca201d1e..d71cb2e8c 100644
--- a/src/fpif.c
+++ b/src/fpif.c
@@ -1,7 +1,7 @@
/* mpfr_fpif -- Binary export & import of MPFR numbers
(floating-point interchange format)
-Copyright 2012-2016 Free Software Foundation, Inc.
+Copyright 2012-2017 Free Software Foundation, Inc.
Contributed by Olivier Demengeon.
This file is part of the GNU MPFR Library.
diff --git a/src/frac.c b/src/frac.c
index fac1bdeaf..46d4cddd7 100644
--- a/src/frac.c
+++ b/src/frac.c
@@ -1,6 +1,6 @@
/* mpfr_frac -- Fractional part of a floating-point number.
-Copyright 2002-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2002-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/free_cache.c b/src/free_cache.c
index 7c323acce..61486bb3a 100644
--- a/src/free_cache.c
+++ b/src/free_cache.c
@@ -1,6 +1,6 @@
/* mpfr_free_cache - Free the cache used by MPFR for internal consts.
-Copyright 2004-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/frexp.c b/src/frexp.c
index df6860426..383c627a8 100644
--- a/src/frexp.c
+++ b/src/frexp.c
@@ -1,6 +1,6 @@
/* mpfr_frexp -- convert to integral and fractional parts
-Copyright 2011-2016 Free Software Foundation, Inc.
+Copyright 2011-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/gamma.c b/src/gamma.c
index 0cf171928..7f42509e7 100644
--- a/src/gamma.c
+++ b/src/gamma.c
@@ -1,6 +1,6 @@
/* mpfr_gamma -- gamma function
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/gamma_inc.c b/src/gamma_inc.c
index 862ada0fc..1271d9067 100644
--- a/src/gamma_inc.c
+++ b/src/gamma_inc.c
@@ -1,6 +1,6 @@
/* mpfr_gamma_inc -- incomplete gamma function
-Copyright 2016 Free Software Foundation, Inc.
+Copyright 2016-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/gammaonethird.c b/src/gammaonethird.c
index f7a21fe1c..c9f756e38 100644
--- a/src/gammaonethird.c
+++ b/src/gammaonethird.c
@@ -1,6 +1,6 @@
/* Functions for evaluating Gamma(1/3) and Gamma(2/3). Used by mpfr_ai.
-Copyright 2010-2016 Free Software Foundation, Inc.
+Copyright 2010-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/gen_inverse.h b/src/gen_inverse.h
index c0715d1da..d2676b888 100644
--- a/src/gen_inverse.h
+++ b/src/gen_inverse.h
@@ -1,6 +1,6 @@
/* generic inverse of a function.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/generic/coverage/mparam.h b/src/generic/coverage/mparam.h
index bb05d763c..67dbe278d 100644
--- a/src/generic/coverage/mparam.h
+++ b/src/generic/coverage/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/src/generic/mparam.h b/src/generic/mparam.h
index 20cde126f..75a8b36f2 100644
--- a/src/generic/mparam.h
+++ b/src/generic/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/src/get_d.c b/src/get_d.c
index 9108576be..d89b5c621 100644
--- a/src/get_d.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/get_d64.c b/src/get_d64.c
index 1f9fae2c2..35d3e3cfa 100644
--- a/src/get_d64.c
+++ b/src/get_d64.c
@@ -5,7 +5,7 @@ See https://gcc.gnu.org/ml/gcc/2006-06/msg00691.html,
https://gcc.gnu.org/onlinedocs/gcc/Decimal-Float.html,
and TR 24732 <http://www.open-std.org/jtc1/sc22/wg14/www/projects#24732>.
-Copyright 2006-2016 Free Software Foundation, Inc.
+Copyright 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/get_exp.c b/src/get_exp.c
index 99ae1184a..8cea110d1 100644
--- a/src/get_exp.c
+++ b/src/get_exp.c
@@ -1,6 +1,6 @@
/* mpfr_get_exp - get the exponent of a floating-point number
-Copyright 2002-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2002-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/get_f.c b/src/get_f.c
index 2e5821286..01ab0e2c2 100644
--- a/src/get_f.c
+++ b/src/get_f.c
@@ -1,6 +1,6 @@
/* mpfr_get_f -- convert a MPFR number to a GNU MPF number
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/get_float128.c b/src/get_float128.c
index 184a147bb..2fd4f0e25 100644
--- a/src/get_float128.c
+++ b/src/get_float128.c
@@ -1,7 +1,7 @@
/* mpfr_get_float128 -- convert a multiple precision floating-point
number to a __float128 number
-Copyright 2012-2016 Free Software Foundation, Inc.
+Copyright 2012-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/get_flt.c b/src/get_flt.c
index 31fd72e86..c1ba68e4b 100644
--- a/src/get_flt.c
+++ b/src/get_flt.c
@@ -1,6 +1,6 @@
/* mpfr_get_flt -- convert a mpfr_t to a machine single precision float
-Copyright 2009-2016 Free Software Foundation, Inc.
+Copyright 2009-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/get_ld.c b/src/get_ld.c
index 02f4dbe54..f835fa225 100644
--- a/src/get_ld.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 2002-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/get_si.c b/src/get_si.c
index 49d233e9b..d4ecabfe2 100644
--- a/src/get_si.c
+++ b/src/get_si.c
@@ -1,6 +1,6 @@
/* mpfr_get_si -- convert a floating-point number to a signed long.
-Copyright 2003-2016 Free Software Foundation, Inc.
+Copyright 2003-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/get_sj.c b/src/get_sj.c
index 93a6ed080..62e464073 100644
--- a/src/get_sj.c
+++ b/src/get_sj.c
@@ -1,6 +1,6 @@
/* mpfr_get_sj -- convert a MPFR number to a huge machine signed integer
-Copyright 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/get_str.c b/src/get_str.c
index d4eff430e..328f3c225 100644
--- a/src/get_str.c
+++ b/src/get_str.c
@@ -1,6 +1,6 @@
/* mpfr_get_str -- output a floating-point number to a string
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/get_ui.c b/src/get_ui.c
index 0c2b29ebe..a45707b01 100644
--- a/src/get_ui.c
+++ b/src/get_ui.c
@@ -1,6 +1,6 @@
/* mpfr_get_ui -- convert a floating-point number to an unsigned long.
-Copyright 2003-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/get_uj.c b/src/get_uj.c
index 78ec465ef..3795c4c55 100644
--- a/src/get_uj.c
+++ b/src/get_uj.c
@@ -1,6 +1,6 @@
/* mpfr_get_uj -- convert a MPFR number to a huge machine unsigned integer
-Copyright 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/get_z.c b/src/get_z.c
index 61ee40525..32d3b684d 100644
--- a/src/get_z.c
+++ b/src/get_z.c
@@ -1,7 +1,7 @@
/* mpfr_get_z -- get a multiple-precision integer from
a floating-point number
-Copyright 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/get_z_exp.c b/src/get_z_exp.c
index ad075b061..4674619f1 100644
--- a/src/get_z_exp.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 2000-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/gmp_op.c b/src/gmp_op.c
index 6e6afc9ce..9e17abff0 100644
--- a/src/gmp_op.c
+++ b/src/gmp_op.c
@@ -1,6 +1,6 @@
/* Implementations of operations between mpfr and mpz/mpq data
-Copyright 2001, 2003-2016 Free Software Foundation, Inc.
+Copyright 2001, 2003-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/grandom.c b/src/grandom.c
index 3f86c1280..27a11719a 100644
--- a/src/grandom.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 2011-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/hppa/mparam.h b/src/hppa/mparam.h
index 1d7856169..aec83f7d6 100644
--- a/src/hppa/mparam.h
+++ b/src/hppa/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/src/hypot.c b/src/hypot.c
index c30e90f26..07ceccfb7 100644
--- a/src/hypot.c
+++ b/src/hypot.c
@@ -1,6 +1,6 @@
/* mpfr_hypot -- Euclidean distance
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/ia64/mparam.h b/src/ia64/mparam.h
index e7649bb29..8133feb9c 100644
--- a/src/ia64/mparam.h
+++ b/src/ia64/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/src/ieee_floats.h b/src/ieee_floats.h
index 42cf6b06c..cb7910545 100644
--- a/src/ieee_floats.h
+++ b/src/ieee_floats.h
@@ -1,6 +1,6 @@
/* auxiliary data to generate special IEEE floats (NaN, +Inf, -Inf)
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/init.c b/src/init.c
index e2aa53ffc..be817d98a 100644
--- a/src/init.c
+++ b/src/init.c
@@ -1,6 +1,6 @@
/* mpfr_init -- initialize a floating-point number
-Copyright 1999, 2001-2002, 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2002, 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/init2.c b/src/init2.c
index ca114618b..89c164d10 100644
--- a/src/init2.c
+++ b/src/init2.c
@@ -1,6 +1,6 @@
/* mpfr_init2 -- initialize a floating-point number with given precision
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/inits.c b/src/inits.c
index 519f2657e..4491e13f6 100644
--- a/src/inits.c
+++ b/src/inits.c
@@ -1,6 +1,6 @@
/* mpfr_inits -- initialize several floating-point numbers
-Copyright 2003-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/inits2.c b/src/inits2.c
index 988522eed..1b9fe1bc0 100644
--- a/src/inits2.c
+++ b/src/inits2.c
@@ -1,7 +1,7 @@
/* mpfr_inits2 -- initialize several floating-point numbers with given
precision
-Copyright 2003-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/inp_str.c b/src/inp_str.c
index b155b149e..db8a1bd86 100644
--- a/src/inp_str.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2002, 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/int_ceil_log2.c b/src/int_ceil_log2.c
index a6595a6c7..22b70fd62 100644
--- a/src/int_ceil_log2.c
+++ b/src/int_ceil_log2.c
@@ -1,6 +1,6 @@
/* __gmpfr_int_ceil_log2 -- Integer ceil of log2(x)
-Copyright 2004-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/invert_limb.c b/src/invert_limb.c
new file mode 100644
index 000000000..4d97ab05c
--- /dev/null
+++ b/src/invert_limb.c
@@ -0,0 +1,89 @@
+/* __gmpfr_invert_limb -- implement GMP's invert_limb (which is not in GMP API)
+
+Copyright 2016-2017 Free Software Foundation, Inc.
+Contributed by the AriC and Caramba projects, INRIA.
+
+This file is part of the GNU MPFR Library.
+
+The GNU MPFR Library 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 Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+The GNU MPFR Library is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
+http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
+51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
+
+#define MPFR_NEED_LONGLONG_H
+#include "mpfr-impl.h"
+
+/* for now, we only provide __gmpfr_invert_limb for 64-bit limb */
+#if GMP_NUMB_BITS == 64
+
+#ifdef HAVE_MULX_U64
+#include <immintrin.h>
+#endif
+
+/* for 256 <= d9 < 512, l[d9-256] = floor((2^19-3*2^8)/d9) */
+static const mp_limb_t invert_limb_table[256] = {2045, 2037, 2029, 2021, 2013, 2005, 1998, 1990, 1983, 1975, 1968, 1960, 1953, 1946, 1938, 1931, 1924, 1917, 1910, 1903, 1896, 1889, 1883, 1876, 1869, 1863, 1856, 1849, 1843, 1836, 1830, 1824, 1817, 1811, 1805, 1799, 1792, 1786, 1780, 1774, 1768, 1762, 1756, 1750, 1745, 1739, 1733, 1727, 1722, 1716, 1710, 1705, 1699, 1694, 1688, 1683, 1677, 1672, 1667, 1661, 1656, 1651, 1646, 1641, 1636, 1630, 1625, 1620, 1615, 1610, 1605, 1600, 1596, 1591, 1586, 1581, 1576, 1572, 1567, 1562, 1558, 1553, 1548, 1544, 1539, 1535, 1530, 1526, 1521, 1517, 1513, 1508, 1504, 1500, 1495, 1491, 1487, 1483, 1478, 1474, 1470, 1466, 1462, 1458, 1454, 1450, 1446, 1442, 1438, 1434, 1430, 1426, 1422, 1418, 1414, 1411, 1407, 1403, 1399, 1396, 1392, 1388, 1384, 1381, 1377, 1374, 1370, 1366, 1363, 1359, 1356, 1352, 1349, 1345, 1342, 1338, 1335, 1332, 1328, 1325, 1322, 1318, 1315, 1312, 1308, 1305, 1302, 1299, 1295, 1292, 1289, 1286, 1283, 1280, 1276, 1273, 1270, 1267, 1264, 1261, 1258, 1255, 1252, 1249, 1246, 1243, 1240, 1237, 1234, 1231, 1228, 1226, 1223, 1220, 1217, 1214, 1211, 1209, 1206, 1203, 1200, 1197, 1195, 1192, 1189, 1187, 1184, 1181, 1179, 1176, 1173, 1171, 1168, 1165, 1163, 1160, 1158, 1155, 1153, 1150, 1148, 1145, 1143, 1140, 1138, 1135, 1133, 1130, 1128, 1125, 1123, 1121, 1118, 1116, 1113, 1111, 1109, 1106, 1104, 1102, 1099, 1097, 1095, 1092, 1090, 1088, 1086, 1083, 1081, 1079, 1077, 1074, 1072, 1070, 1068, 1066, 1064, 1061, 1059, 1057, 1055, 1053, 1051, 1049, 1047, 1044, 1042, 1040, 1038, 1036, 1034, 1032, 1030, 1028, 1026, 1024};
+
+/* Implements Algorithm 2 from "Improved Division by Invariant Integers",
+ Niels Möller and Torbjörn Granlund, IEEE Transactions on Computers,
+ volume 60, number 2, pages 165-175, 2011. */
+mp_limb_t
+__gmpfr_invert_limb (mp_limb_t d)
+{
+ mp_limb_t d0, d9, d40, d63, v0, v1, v2, e, v3, h, l;
+
+ d9 = d >> 55;
+ v0 = invert_limb_table[d9 - 256];
+ d40 = (d >> 24) + 1;
+ v1 = (v0 << 11) - ((v0 * v0 * d40) >> 40) - 1;
+ v2 = (v1 << 13) + ((v1 * (0x1000000000000000 - v1 * d40)) >> 47);
+ d0 = d & 1;
+ d63 = ((d - 1) >> 1) + 1;
+ e = - v2 * d63 + ((v2 & -d0) >> 1);
+#ifdef HAVE_MULX_U64
+ _mulx_u64 (v2, e, (unsigned long long *) &h);
+#else
+ umul_ppmm (h, l, v2, e);
+#endif
+ v3 = (v2 << 31) + (h >> 1);
+ umul_ppmm (h, l, v3, d);
+ /* v3 is too small iff (h+d)*2^64+l+d < 2^128 */
+ add_ssaaaa(h, l, h, l, d, d);
+ MPFR_ASSERTD(h == MPFR_LIMB_ZERO || -h == MPFR_LIMB_ONE);
+ return v3 - h;
+}
+
+/* same algorithm, but return the value v3, which is such that
+ v3 <= invert_limb (d) <= v3 + 1 */
+mp_limb_t
+__gmpfr_invert_limb_approx (mp_limb_t d)
+{
+ mp_limb_t d0, d9, d40, d63, v0, v1, v2, e, h, l;
+
+ d9 = d >> 55;
+ v0 = invert_limb_table[d9 - 256];
+ d40 = (d >> 24) + 1;
+ v1 = (v0 << 11) - ((v0 * v0 * d40) >> 40) - 1;
+ v2 = (v1 << 13) + ((v1 * (0x1000000000000000 - v1 * d40)) >> 47);
+ d0 = d & 1;
+ d63 = ((d - 1) >> 1) + 1;
+ e = - v2 * d63 + ((v2 & -d0) >> 1);
+#ifdef HAVE_MULX_U64
+ _mulx_u64 (v2, e, (unsigned long long *) &h);
+#else
+ umul_ppmm (h, l, v2, e);
+#endif
+ return (v2 << 31) + (h >> 1);
+}
+
+#endif
+
diff --git a/src/isinf.c b/src/isinf.c
index 264a8ea1a..9e15f352b 100644
--- a/src/isinf.c
+++ b/src/isinf.c
@@ -1,6 +1,6 @@
/* mpfr_inf_p -- check for infinities
-Copyright 2000-2001, 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2000-2001, 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/isinteger.c b/src/isinteger.c
index 6ec39a473..2e8a24594 100644
--- a/src/isinteger.c
+++ b/src/isinteger.c
@@ -1,6 +1,6 @@
/* mpfr_integer_p -- test if a mpfr variable is integer.
-Copyright 2001-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2001-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/isnan.c b/src/isnan.c
index 36e8ad7a8..527161717 100644
--- a/src/isnan.c
+++ b/src/isnan.c
@@ -1,6 +1,6 @@
/* mpfr_nan_p -- check for NaN
-Copyright 2000-2001, 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2000-2001, 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/isnum.c b/src/isnum.c
index e3bf2813f..d12c5ff19 100644
--- a/src/isnum.c
+++ b/src/isnum.c
@@ -1,6 +1,6 @@
/* mpfr_number_p -- check for ordinary numbers
-Copyright 2000-2002, 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2000-2002, 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/isqrt.c b/src/isqrt.c
index 56228df7c..7646f5eb7 100644
--- a/src/isqrt.c
+++ b/src/isqrt.c
@@ -1,6 +1,6 @@
/* __gmpfr_isqrt && __gmpfr_cuberoot -- Integer square root and cube root
-Copyright 2004-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/isregular.c b/src/isregular.c
index 1b5c5519b..7beb4981d 100644
--- a/src/isregular.c
+++ b/src/isregular.c
@@ -1,6 +1,6 @@
/* mpfr_regular_p -- check for regular number (neither NaN, Inf or zero)
-Copyright 2009-2016 Free Software Foundation, Inc.
+Copyright 2009-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/iszero.c b/src/iszero.c
index 45c6d470c..2b4389e02 100644
--- a/src/iszero.c
+++ b/src/iszero.c
@@ -1,6 +1,6 @@
/* mpfr_zero_p -- check for zero
-Copyright 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/jn.c b/src/jn.c
index 66629d4b6..21940aacd 100644
--- a/src/jn.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/jyn_asympt.c b/src/jyn_asympt.c
index 103bb1014..6f3f01b70 100644
--- a/src/jyn_asympt.c
+++ b/src/jyn_asympt.c
@@ -1,6 +1,6 @@
/* mpfr_jn_asympt, mpfr_yn_asympt -- shared code for mpfr_jn and mpfr_yn
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/li2.c b/src/li2.c
index 2711d8990..cfa2d3823 100644
--- a/src/li2.c
+++ b/src/li2.c
@@ -1,6 +1,6 @@
/* mpfr_li2 -- Dilogarithm.
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/lngamma.c b/src/lngamma.c
index d07ea033e..779611776 100644
--- a/src/lngamma.c
+++ b/src/lngamma.c
@@ -1,6 +1,6 @@
/* mpfr_lngamma -- lngamma function
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/log.c b/src/log.c
index 4b428070f..7b61280b7 100644
--- a/src/log.c
+++ b/src/log.c
@@ -1,6 +1,6 @@
/* mpfr_log -- natural logarithm of a floating-point number
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/log10.c b/src/log10.c
index 0bbff3d0a..04052b8ea 100644
--- a/src/log10.c
+++ b/src/log10.c
@@ -1,6 +1,6 @@
/* mpfr_log10 -- logarithm in base 10.
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/log1p.c b/src/log1p.c
index e194fcffd..cbeae17c6 100644
--- a/src/log1p.c
+++ b/src/log1p.c
@@ -1,6 +1,6 @@
/* mpfr_log1p -- Compute log(1+x)
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/log2.c b/src/log2.c
index 458b91738..3f81f8823 100644
--- a/src/log2.c
+++ b/src/log2.c
@@ -1,6 +1,6 @@
/* mpfr_log2 -- log base 2
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/log_ui.c b/src/log_ui.c
index 4acaf20a6..3dc39c734 100644
--- a/src/log_ui.c
+++ b/src/log_ui.c
@@ -1,6 +1,6 @@
/* mpfr_log_ui -- compute natural logarithm of an unsigned long
-Copyright 2014-2016 Free Software Foundation, Inc.
+Copyright 2014-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/logging.c b/src/logging.c
index f2677cb49..c66467138 100644
--- a/src/logging.c
+++ b/src/logging.c
@@ -1,6 +1,6 @@
/* MPFR Logging functions.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/min_prec.c b/src/min_prec.c
index f2705d6fc..52c73c014 100644
--- a/src/min_prec.c
+++ b/src/min_prec.c
@@ -1,6 +1,6 @@
/* mpfr_min_prec -- minimal size in bits to hold the mantissa
-Copyright 2009-2016 Free Software Foundation, Inc.
+Copyright 2009-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/minmax.c b/src/minmax.c
index 469649274..f8e1dba88 100644
--- a/src/minmax.c
+++ b/src/minmax.c
@@ -1,6 +1,6 @@
/* mpfr_min -- min and max of x, y
-Copyright 2001, 2003-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2001, 2003-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/mips/mparam.h b/src/mips/mparam.h
index 23c40797d..10c5886f2 100644
--- a/src/mips/mparam.h
+++ b/src/mips/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/src/modf.c b/src/modf.c
index 36b017a7f..657f1e945 100644
--- a/src/modf.c
+++ b/src/modf.c
@@ -1,6 +1,6 @@
/* mpfr_modf -- Integral and fractional part.
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/mp_clz_tab.c b/src/mp_clz_tab.c
index e61c1d0f0..1953f3095 100644
--- a/src/mp_clz_tab.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 1991, 1993-1994, 1996-1997, 2000-2001, 2004, 2006-2017 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/src/mparam_h.in b/src/mparam_h.in
index e23911791..d6452ec7f 100644
--- a/src/mparam_h.in
+++ b/src/mparam_h.in
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/src/mpf2mpfr.h b/src/mpf2mpfr.h
index 50da5251d..036aef5da 100644
--- a/src/mpf2mpfr.h
+++ b/src/mpf2mpfr.h
@@ -1,6 +1,6 @@
/* mpf2mpfr.h -- Compatibility include file with mpf.
-Copyright 1999-2002, 2004-2016 Free Software Foundation, Inc.
+Copyright 1999-2002, 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/mpfr-cvers.h b/src/mpfr-cvers.h
index c47862398..67d651efd 100644
--- a/src/mpfr-cvers.h
+++ b/src/mpfr-cvers.h
@@ -1,6 +1,6 @@
/* Utilities for MPFR developers, not exported.
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/mpfr-gmp.c b/src/mpfr-gmp.c
index 0cdd8aa97..738d19e89 100644
--- a/src/mpfr-gmp.c
+++ b/src/mpfr-gmp.c
@@ -1,7 +1,7 @@
/* mpfr_gmp -- Limited gmp-impl emulator
Modified version of the GMP files.
-Copyright 2004-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/mpfr-gmp.h b/src/mpfr-gmp.h
index 0f3abd0de..083ae6f42 100644
--- a/src/mpfr-gmp.h
+++ b/src/mpfr-gmp.h
@@ -1,6 +1,6 @@
/* Uniform Interface to GMP.
-Copyright 2004-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -462,7 +462,6 @@ typedef struct {mp_limb_t inv32;} mpfr_pi1_t;
# define mpn_copyd MPN_COPY
#endif
-#if defined(WANT_GMP_INTERNALS) && defined(HAVE___GMPN_INVERT_LIMB)
/* The following macro is copied from GMP-6.1.1, file gmp-impl.h,
macro udiv_qrnnd_preinv.
It computes q and r such that nh*2^GMP_NUMB_BITS + nl = q*d + r,
@@ -496,6 +495,20 @@ typedef struct {mp_limb_t inv32;} mpfr_pi1_t;
(q) = _qh; \
} while (0)
+#if GMP_NUMB_BITS == 64
+/* specialized version for nl = 0, with di computed inside */
+#define __udiv_qrnd_preinv(q, r, nh, d) \
+ do { \
+ mp_limb_t _di; \
+ \
+ MPFR_ASSERTD ((d) != 0); \
+ MPFR_ASSERTD ((nh) < (d)); \
+ MPFR_ASSERTD ((d) & MPFR_LIMB_HIGHBIT); \
+ \
+ _di = __gmpfr_invert_limb (d); \
+ __udiv_qrnnd_preinv (q, r, nh, 0, d, _di); \
+ } while (0)
+#elif defined(WANT_GMP_INTERNALS) && defined(HAVE___GMPN_INVERT_LIMB)
/* specialized version for nl = 0, with di computed inside */
#define __udiv_qrnd_preinv(q, r, nh, d) \
do { \
diff --git a/src/mpfr-impl.h b/src/mpfr-impl.h
index 0521a2193..226f80b84 100644
--- a/src/mpfr-impl.h
+++ b/src/mpfr-impl.h
@@ -1,6 +1,6 @@
/* Utilities for MPFR developers, not exported.
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -2099,10 +2099,6 @@ __MPFR_DECLSPEC int mpfr_add1sp (mpfr_ptr, mpfr_srcptr,
mpfr_srcptr, mpfr_rnd_t);
__MPFR_DECLSPEC int mpfr_sub1sp (mpfr_ptr, mpfr_srcptr,
mpfr_srcptr, mpfr_rnd_t);
-__MPFR_DECLSPEC int mpfr_mul_1 (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t,
- mpfr_prec_t);
-__MPFR_DECLSPEC int mpfr_mul_2 (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_rnd_t,
- mpfr_prec_t);
__MPFR_DECLSPEC int mpfr_can_round_raw (const mp_limb_t *,
mp_size_t, int, mpfr_exp_t, mpfr_rnd_t, mpfr_rnd_t, mpfr_prec_t);
@@ -2115,6 +2111,8 @@ __MPFR_DECLSPEC double __gmpfr_ceil_exp2 (double);
__MPFR_DECLSPEC unsigned long __gmpfr_isqrt (unsigned long);
__MPFR_DECLSPEC unsigned long __gmpfr_cuberoot (unsigned long);
__MPFR_DECLSPEC int __gmpfr_int_ceil_log2 (unsigned long);
+__MPFR_DECLSPEC mp_limb_t __gmpfr_invert_limb (mp_limb_t);
+__MPFR_DECLSPEC mp_limb_t __gmpfr_invert_limb_approx (mp_limb_t);
__MPFR_DECLSPEC mpfr_exp_t mpfr_ceil_mul (mpfr_exp_t, int, int);
diff --git a/src/mpfr-intmax.h b/src/mpfr-intmax.h
index 0ea29d762..c982dd8ff 100644
--- a/src/mpfr-intmax.h
+++ b/src/mpfr-intmax.h
@@ -1,6 +1,6 @@
/* MPFR internal header related to intmax_t.
-Copyright 2004-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/mpfr-longlong.h b/src/mpfr-longlong.h
index ed14bd3a4..2fabb40d7 100644
--- a/src/mpfr-longlong.h
+++ b/src/mpfr-longlong.h
@@ -1,6 +1,6 @@
/* longlong.h -- definitions for mixed size 32/64 bit arithmetic.
-Copyright 1991-1994, 1996, 1997, 1999-2005, 2007-2009, 2011-2016 Free Software Foundation, Inc.
+Copyright 1991-1994, 1996, 1997, 1999-2005, 2007-2009, 2011-2017 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library and has been copied from
GNU MP 6.1.0 (the FIXME's come from GNU MP), except the parts marked
diff --git a/src/mpfr-mini-gmp.c b/src/mpfr-mini-gmp.c
index a9d4adcb7..278225de1 100644
--- a/src/mpfr-mini-gmp.c
+++ b/src/mpfr-mini-gmp.c
@@ -1,6 +1,6 @@
/* mpfr-mini-gmp.c -- Interface functions for mini-gmp.
-Copyright 2014-2016 Free Software Foundation, Inc.
+Copyright 2014-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/mpfr-mini-gmp.h b/src/mpfr-mini-gmp.h
index ad95e84e8..6695acc7f 100644
--- a/src/mpfr-mini-gmp.h
+++ b/src/mpfr-mini-gmp.h
@@ -1,6 +1,6 @@
/* mpfr-mini-gmp.h -- Interface header for mini-gmp.
-Copyright 2014-2016 Free Software Foundation, Inc.
+Copyright 2014-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/mpfr-sassert.h b/src/mpfr-sassert.h
index ad785ca88..776ec7719 100644
--- a/src/mpfr-sassert.h
+++ b/src/mpfr-sassert.h
@@ -1,6 +1,6 @@
/* MPFR internal header related to Static Assertions
-Copyright 2012-2016 Free Software Foundation, Inc.
+Copyright 2012-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/mpfr-thread.h b/src/mpfr-thread.h
index 3deb342f1..10e89c3f3 100644
--- a/src/mpfr-thread.h
+++ b/src/mpfr-thread.h
@@ -1,6 +1,6 @@
/* MPFR internal header related to thread-local variables.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/mpfr.h b/src/mpfr.h
index 82468617d..ed22b0094 100644
--- a/src/mpfr.h
+++ b/src/mpfr.h
@@ -1,6 +1,6 @@
/* mpfr.h -- Include file for mpfr.
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/mpn_exp.c b/src/mpn_exp.c
index 1279a4c09..0565b668c 100644
--- a/src/mpn_exp.c
+++ b/src/mpn_exp.c
@@ -1,6 +1,6 @@
/* mpfr_mpn_exp -- auxiliary function for mpfr_get_str and mpfr_set_str
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/mul.c b/src/mul.c
index 49ee9a636..19f7660cf 100644
--- a/src/mul.c
+++ b/src/mul.c
@@ -1,6 +1,6 @@
/* mpfr_mul -- multiply two floating-point numbers
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -210,10 +210,12 @@ mpfr_mul (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mpfr_rnd_t rnd_mode)
/* Special code for prec(a) < GMP_NUMB_BITS and
prec(b), prec(c) <= GMP_NUMB_BITS.
- We export it since it is called from mpfr_sqr too. */
-int
+ Note: this code was copied in sqr.c, function mpfr_sqr_1 (this saves a few cycles
+ with respect to have this function exported). As a consequence, any change here
+ should be reported in mpfr_sqr_1. */
+static int
mpfr_mul_1 (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mpfr_rnd_t rnd_mode,
- mpfr_prec_t p)
+ mpfr_prec_t p)
{
mp_limb_t a0;
mpfr_limb_ptr ap = MPFR_MANT(a);
@@ -307,29 +309,51 @@ mpfr_mul_1 (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mpfr_rnd_t rnd_mode,
/* Special code for GMP_NUMB_BITS < prec(a) < 2*GMP_NUMB_BITS and
GMP_NUMB_BITS < prec(b), prec(c) <= 2*GMP_NUMB_BITS.
- It is exported since called from mpfr_sqr too. */
-int
+ Note: this code was copied in sqr.c, function mpfr_sqr_2 (this saves a few cycles
+ with respect to have this function exported). As a consequence, any change here
+ should be reported in mpfr_sqr_2. */
+static int
mpfr_mul_2 (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mpfr_rnd_t rnd_mode,
- mpfr_prec_t p)
+ mpfr_prec_t p)
{
- mp_limb_t h, l, u, v;
+ mp_limb_t h, l, u, v, w;
mpfr_limb_ptr ap = MPFR_MANT(a);
mpfr_exp_t ax = MPFR_GET_EXP(b) + MPFR_GET_EXP(c);
mpfr_prec_t sh = 2 * GMP_NUMB_BITS - p;
mp_limb_t rb, sb, sb2, mask = MPFR_LIMB_MASK(sh);
mp_limb_t *bp = MPFR_MANT(b), *cp = MPFR_MANT(c);
+ int intra;
/* we store the 4-limb product in h=ap[1], l=ap[0], sb=ap[-1], sb2=ap[-2] */
umul_ppmm (h, l, bp[1], cp[1]);
- umul_ppmm (sb, sb2, bp[0], cp[0]);
umul_ppmm (u, v, bp[1], cp[0]);
- add_ssaaaa (l, sb, l, sb, u, v);
- /* warning: (l < u) is incorrect to detect a carry out of add_ssaaaa, since we
- might have u = 111...111, a carry coming from l+v, thus l = u */
- h += (l < u) || (l == u && sb < v);
- umul_ppmm (u, v, bp[0], cp[1]);
- add_ssaaaa (l, sb, l, sb, u, v);
- h += (l < u) || (l == u && sb < v);
+ l += u;
+ h += (l < u);
+ umul_ppmm (u, w, bp[0], cp[1]);
+ l += u;
+ h += (l < u);
+
+ /* now the full product is {h, l, v + w + high(b0*c0), low(b0*c0)},
+ where the lower part contribute to less then 3 ulps to {h, l} */
+
+ intra = (h < MPFR_LIMB_HIGHBIT);
+ /* if intra = 0 and the low sh-1 bits of l are not 000...000 nor 111...111 nor
+ 111...110, then we can round correctly;
+ if intra = 1, we have to shift left h and l, thus if the low sh-2 bits are not
+ 000...000 nor 111...111 nor 111...110, then we can round correctly */
+ if (MPFR_LIKELY(((l + 2) & (mask >> (1 + intra))) > 2))
+ sb = sb2 = 1; /* result cannot be exact in that case */
+ else
+ {
+ umul_ppmm (sb, sb2, bp[0], cp[0]);
+ /* the full product is {h, l, sb + v + w, sb2} */
+ sb += v;
+ l += (sb < v);
+ h += (l == 0) && (sb < v);
+ sb += w;
+ l += (sb < w);
+ h += (l == 0) && (sb < w);
+ }
if (h < MPFR_LIMB_HIGHBIT)
{
ax --;
diff --git a/src/mul_2exp.c b/src/mul_2exp.c
index dac89f1fe..858ed5d62 100644
--- a/src/mul_2exp.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001, 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/mul_2si.c b/src/mul_2si.c
index 04fdee403..6c0bcc6f7 100644
--- a/src/mul_2si.c
+++ b/src/mul_2si.c
@@ -1,6 +1,6 @@
/* mpfr_mul_2si -- multiply a floating-point number by a power of two
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/mul_2ui.c b/src/mul_2ui.c
index fbba80dfe..10bc2c164 100644
--- a/src/mul_2ui.c
+++ b/src/mul_2ui.c
@@ -1,6 +1,6 @@
/* mpfr_mul_2ui -- multiply a floating-point number by a power of two
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/mul_d.c b/src/mul_d.c
index d8ed8ae71..00a88abc4 100644
--- a/src/mul_d.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/mul_ui.c b/src/mul_ui.c
index 3e76140fc..28c296d1c 100644
--- a/src/mul_ui.c
+++ b/src/mul_ui.c
@@ -1,6 +1,6 @@
/* mpfr_mul_ui -- multiply a floating-point number by a machine integer
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/mulders.c b/src/mulders.c
index d1be67541..ea3a14847 100644
--- a/src/mulders.c
+++ b/src/mulders.c
@@ -1,6 +1,6 @@
/* Mulders' short product, square and division.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/neg.c b/src/neg.c
index b9f5c702c..7e8fff8b9 100644
--- a/src/neg.c
+++ b/src/neg.c
@@ -1,6 +1,6 @@
/* mpfr_neg -- change the sign of a floating-point number
-Copyright 1999-2001, 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 1999-2001, 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/next.c b/src/next.c
index 97ae1b386..7fd668f6e 100644
--- a/src/next.c
+++ b/src/next.c
@@ -1,7 +1,7 @@
/* mpfr_nextabove, mpfr_nextbelow, mpfr_nexttoward -- next representable
floating-point number
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/nrandom.c b/src/nrandom.c
index c68a9a498..ed5133bc1 100644
--- a/src/nrandom.c
+++ b/src/nrandom.c
@@ -2,7 +2,7 @@
and variance 1 and round it to the precision of rop according to the given
rounding mode.
-Copyright 2013-2016 Free Software Foundation, Inc.
+Copyright 2013-2017 Free Software Foundation, Inc.
Contributed by Charles Karney <charles@karney.com>, SRI International.
This file is part of the GNU MPFR Library.
diff --git a/src/out_str.c b/src/out_str.c
index 88707571e..1b5e6da8f 100644
--- a/src/out_str.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2002, 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/pow.c b/src/pow.c
index 4b3673c92..8ba7f3c3c 100644
--- a/src/pow.c
+++ b/src/pow.c
@@ -1,6 +1,6 @@
/* mpfr_pow -- power function x^y
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/pow_si.c b/src/pow_si.c
index 1be572f91..f14f73216 100644
--- a/src/pow_si.c
+++ b/src/pow_si.c
@@ -1,6 +1,6 @@
/* mpfr_pow_si -- power function x^y with y a signed int
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/pow_ui.c b/src/pow_ui.c
index 061b54cbb..4e3cb8aef 100644
--- a/src/pow_ui.c
+++ b/src/pow_ui.c
@@ -1,7 +1,7 @@
/* mpfr_pow_ui-- compute the power of a floating-point
by a machine integer
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/pow_z.c b/src/pow_z.c
index 8d1ab2e56..b2fe4c7cd 100644
--- a/src/pow_z.c
+++ b/src/pow_z.c
@@ -1,6 +1,6 @@
/* mpfr_pow_z -- power function x^z with z a MPZ
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/powerof2.c b/src/powerof2.c
index 53f0551cd..c41335c5c 100644
--- a/src/powerof2.c
+++ b/src/powerof2.c
@@ -1,6 +1,6 @@
/* mpfr_powerof2_raw -- test whether a floating-point number is a power of 2
-Copyright 2002-2016 Free Software Foundation, Inc.
+Copyright 2002-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/powerpc32/mparam.h b/src/powerpc32/mparam.h
index 6b5816b49..9f393d19c 100644
--- a/src/powerpc32/mparam.h
+++ b/src/powerpc32/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/src/powerpc64/mparam.h b/src/powerpc64/mparam.h
index 79b87cedd..1301c809d 100644
--- a/src/powerpc64/mparam.h
+++ b/src/powerpc64/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/src/print_raw.c b/src/print_raw.c
index cd19ddee7..ad1192675 100644
--- a/src/print_raw.c
+++ b/src/print_raw.c
@@ -1,7 +1,7 @@
/* mpfr_print_binary -- print the internal binary representation of a
floating-point number
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/print_rnd_mode.c b/src/print_rnd_mode.c
index 89780cf54..e6a6937bb 100644
--- a/src/print_rnd_mode.c
+++ b/src/print_rnd_mode.c
@@ -1,6 +1,6 @@
/* mpfr_print_rnd_mode -- convert a given rounding mode to a string
-Copyright 1999, 2001-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/printf.c b/src/printf.c
index 8fbe3fe7a..6b3e86644 100644
--- a/src/printf.c
+++ b/src/printf.c
@@ -1,6 +1,6 @@
/* mpfr_printf -- printf function and friends.
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/random_deviate.c b/src/random_deviate.c
index 418d7812f..f44345281 100644
--- a/src/random_deviate.c
+++ b/src/random_deviate.c
@@ -1,6 +1,6 @@
/* random_deviate routines for mpfr_erandom and mpfr_nrandom.
-Copyright 2013-2016 Free Software Foundation, Inc.
+Copyright 2013-2017 Free Software Foundation, Inc.
Contributed by Charles Karney <charles@karney.com>, SRI International.
This file is part of the GNU MPFR Library.
diff --git a/src/random_deviate.h b/src/random_deviate.h
index c70b39ed5..0a69f4a83 100644
--- a/src/random_deviate.h
+++ b/src/random_deviate.h
@@ -1,6 +1,6 @@
/* Declarations of random_deviate routines for mpfr_erandom and mpfr_nrandom.
-Copyright 2013-2016 Free Software Foundation, Inc.
+Copyright 2013-2017 Free Software Foundation, Inc.
Contributed by Charles Karney <charles@karney.com>, SRI International.
This file is part of the GNU MPFR Library.
diff --git a/src/rec_sqrt.c b/src/rec_sqrt.c
index fc87aa49f..8176c6e59 100644
--- a/src/rec_sqrt.c
+++ b/src/rec_sqrt.c
@@ -1,6 +1,6 @@
/* mpfr_rec_sqrt -- inverse square root
-Copyright 2008-2016 Free Software Foundation, Inc.
+Copyright 2008-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/reldiff.c b/src/reldiff.c
index eac12cb82..9464ebcd0 100644
--- a/src/reldiff.c
+++ b/src/reldiff.c
@@ -1,6 +1,6 @@
/* mpfr_reldiff -- compute relative difference of two floating-point numbers.
-Copyright 2000-2001, 2004-2016 Free Software Foundation, Inc.
+Copyright 2000-2001, 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/rem1.c b/src/rem1.c
index 43d03b094..89ca5ed57 100644
--- a/src/rem1.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/rint.c b/src/rint.c
index ace729a85..c8b1ee96a 100644
--- a/src/rint.c
+++ b/src/rint.c
@@ -1,6 +1,6 @@
/* mpfr_rint -- Round to an integer.
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/rndna.c b/src/rndna.c
index 184114274..839fa138b 100644
--- a/src/rndna.c
+++ b/src/rndna.c
@@ -1,6 +1,6 @@
/* mpfr_round_nearest_away -- round to nearest away
-Copyright 2012-2016 Free Software Foundation, Inc.
+Copyright 2012-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/root.c b/src/root.c
index 5bf454498..d3b5b171a 100644
--- a/src/root.c
+++ b/src/root.c
@@ -1,6 +1,6 @@
/* mpfr_root -- kth root.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/round_near_x.c b/src/round_near_x.c
index 74a905526..a1bc20953 100644
--- a/src/round_near_x.c
+++ b/src/round_near_x.c
@@ -1,6 +1,6 @@
/* mpfr_round_near_x -- Round a floating point number nears another one.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/round_p.c b/src/round_p.c
index e201a1051..a7983b69a 100644
--- a/src/round_p.c
+++ b/src/round_p.c
@@ -1,6 +1,6 @@
/* mpfr_round_p -- check if an approximation is roundable.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/round_prec.c b/src/round_prec.c
index bb4fa695b..7a7a2033e 100644
--- a/src/round_prec.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/round_raw_generic.c b/src/round_raw_generic.c
index 24d24dcaf..d38905a79 100644
--- a/src/round_raw_generic.c
+++ b/src/round_raw_generic.c
@@ -1,6 +1,6 @@
/* mpfr_round_raw_generic -- Generic rounding function
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/scale2.c b/src/scale2.c
index cb51b7aaa..bcc8ec002 100644
--- a/src/scale2.c
+++ b/src/scale2.c
@@ -1,6 +1,6 @@
/* mpfr_scale2 -- multiply a double float by 2^exp
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/sec.c b/src/sec.c
index 300591629..d24636c84 100644
--- a/src/sec.c
+++ b/src/sec.c
@@ -1,6 +1,6 @@
/* mpfr_sec - secant function = 1/cos.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/sech.c b/src/sech.c
index 4dd9da784..5060ed72b 100644
--- a/src/sech.c
+++ b/src/sech.c
@@ -1,6 +1,6 @@
/* mpfr_sech - Hyperbolic secant function = 1/cosh.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/set.c b/src/set.c
index d4490b557..326b06ce1 100644
--- a/src/set.c
+++ b/src/set.c
@@ -1,6 +1,6 @@
/* mpfr_set -- copy of a floating-point number
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/set_d.c b/src/set_d.c
index f1123fa92..d8a3091d2 100644
--- a/src/set_d.c
+++ b/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-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 1999-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/set_d64.c b/src/set_d64.c
index c31f395a3..321c121e4 100644
--- a/src/set_d64.c
+++ b/src/set_d64.c
@@ -5,7 +5,7 @@ See https://gcc.gnu.org/ml/gcc/2006-06/msg00691.html,
https://gcc.gnu.org/onlinedocs/gcc/Decimal-Float.html,
and TR 24732 <http://www.open-std.org/jtc1/sc22/wg14/www/projects#24732>.
-Copyright 2006-2016 Free Software Foundation, Inc.
+Copyright 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/set_dfl_prec.c b/src/set_dfl_prec.c
index 36dd8bf23..f4c876d90 100644
--- a/src/set_dfl_prec.c
+++ b/src/set_dfl_prec.c
@@ -1,6 +1,6 @@
/* mpfr_set_default_prec, mpfr_get_default_prec -- set/get default precision
-Copyright 1999-2001, 2004-2016 Free Software Foundation, Inc.
+Copyright 1999-2001, 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/set_exp.c b/src/set_exp.c
index 5df05e5e3..3e315c825 100644
--- a/src/set_exp.c
+++ b/src/set_exp.c
@@ -1,6 +1,6 @@
/* mpfr_set_exp - set the exponent of a floating-point number
-Copyright 2002-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2002-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/set_f.c b/src/set_f.c
index e06f68e59..396ebe701 100644
--- a/src/set_f.c
+++ b/src/set_f.c
@@ -1,6 +1,6 @@
/* mpfr_set_f -- set a MPFR number from a GNU MPF number
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/set_float128.c b/src/set_float128.c
index 8aa11bd43..19bf80ea9 100644
--- a/src/set_float128.c
+++ b/src/set_float128.c
@@ -1,7 +1,7 @@
/* mpfr_set_float128 -- convert a machine __float128 number to
a multiple precision floating-point number
-Copyright 2012-2016 Free Software Foundation, Inc.
+Copyright 2012-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/set_flt.c b/src/set_flt.c
index b66da2f0d..df92a73cb 100644
--- a/src/set_flt.c
+++ b/src/set_flt.c
@@ -1,6 +1,6 @@
/* mpfr_set_flt -- convert a machine single precision float to mpfr_t
-Copyright 2009-2016 Free Software Foundation, Inc.
+Copyright 2009-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/set_inf.c b/src/set_inf.c
index 0f1f5c4e2..06fc45f30 100644
--- a/src/set_inf.c
+++ b/src/set_inf.c
@@ -1,6 +1,6 @@
/* mpfr_set_inf -- set a number to plus or minus infinity.
-Copyright 2002, 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2002, 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/set_ld.c b/src/set_ld.c
index 9f63e5138..0521af56e 100644
--- a/src/set_ld.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 2002-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/set_nan.c b/src/set_nan.c
index 08b546fbc..8d0a40601 100644
--- a/src/set_nan.c
+++ b/src/set_nan.c
@@ -1,6 +1,6 @@
/* mpfr_set_nan -- set a number to NaN.
-Copyright 2002, 2006-2016 Free Software Foundation, Inc.
+Copyright 2002, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/set_prc_raw.c b/src/set_prc_raw.c
index dc201b834..b4230cae6 100644
--- a/src/set_prc_raw.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 2000-2001, 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/set_prec.c b/src/set_prec.c
index eb2a721c7..4245f3c76 100644
--- a/src/set_prec.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2002, 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/set_q.c b/src/set_q.c
index d25a4e6e5..7bffc6007 100644
--- a/src/set_q.c
+++ b/src/set_q.c
@@ -1,6 +1,6 @@
/* mpfr_set_q -- set a floating-point number from a multiple-precision rational
-Copyright 2000-2002, 2004-2016 Free Software Foundation, Inc.
+Copyright 2000-2002, 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/set_rnd.c b/src/set_rnd.c
index bb96930da..56b5c2d05 100644
--- a/src/set_rnd.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001, 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/set_si.c b/src/set_si.c
index ce77aced2..f0576ffba 100644
--- a/src/set_si.c
+++ b/src/set_si.c
@@ -1,6 +1,6 @@
/* mpfr_set_si -- set a MPFR number from a machine signed integer
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/set_si_2exp.c b/src/set_si_2exp.c
index dff263dbf..5b59d1311 100644
--- a/src/set_si_2exp.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/set_sj.c b/src/set_sj.c
index ca409a9bb..656012b72 100644
--- a/src/set_sj.c
+++ b/src/set_sj.c
@@ -1,6 +1,6 @@
/* mpfr_set_sj -- set a MPFR number from a huge machine signed integer
-Copyright 2004-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/set_str.c b/src/set_str.c
index 191db5826..e6ca69d81 100644
--- a/src/set_str.c
+++ b/src/set_str.c
@@ -1,6 +1,6 @@
/* mpfr_set_str -- set a floating-point number from a string
-Copyright 2000-2016 Free Software Foundation, Inc.
+Copyright 2000-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/set_str_raw.c b/src/set_str_raw.c
index e84c25059..cb12477d8 100644
--- a/src/set_str_raw.c
+++ b/src/set_str_raw.c
@@ -1,6 +1,6 @@
/* mpfr_set_str_binary -- set a floating-point number from a binary string
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/set_ui.c b/src/set_ui.c
index d59f5b9d2..26d2cf2e1 100644
--- a/src/set_ui.c
+++ b/src/set_ui.c
@@ -1,6 +1,6 @@
/* mpfr_set_ui -- set a MPFR number from a machine unsigned integer
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/set_ui_2exp.c b/src/set_ui_2exp.c
index 029595ba8..88281f568 100644
--- a/src/set_ui_2exp.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/set_uj.c b/src/set_uj.c
index a7cb0bdd8..50d77114a 100644
--- a/src/set_uj.c
+++ b/src/set_uj.c
@@ -1,6 +1,6 @@
/* mpfr_set_uj -- set a MPFR number from a huge machine unsigned integer
-Copyright 2004-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/set_z.c b/src/set_z.c
index e480bc653..9d6bd32b5 100644
--- a/src/set_z.c
+++ b/src/set_z.c
@@ -1,6 +1,6 @@
/* mpfr_set_z -- set a floating-point number from a multiple-precision integer
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/set_z_exp.c b/src/set_z_exp.c
index 773f73c16..444c967e1 100644
--- a/src/set_z_exp.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/set_zero.c b/src/set_zero.c
index ba471340f..ed8221650 100644
--- a/src/set_zero.c
+++ b/src/set_zero.c
@@ -1,6 +1,6 @@
/* mpfr_set_zero -- set a number to plus or minus zero.
-Copyright 2009-2016 Free Software Foundation, Inc.
+Copyright 2009-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/setmax.c b/src/setmax.c
index 4409a20c5..fa0e41ec0 100644
--- a/src/setmax.c
+++ b/src/setmax.c
@@ -1,6 +1,6 @@
/* mpfr_setmax -- maximum representable floating-point number (raw version)
-Copyright 2002-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2002-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/setmin.c b/src/setmin.c
index 78b5deedf..24495b714 100644
--- a/src/setmin.c
+++ b/src/setmin.c
@@ -1,6 +1,6 @@
/* mpfr_setmin -- minimum representable floating-point number (raw version)
-Copyright 2002-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2002-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/setsign.c b/src/setsign.c
index 06d9f7c3f..31461c2a7 100644
--- a/src/setsign.c
+++ b/src/setsign.c
@@ -1,6 +1,6 @@
/* mpfr_setsign -- Produce a value with the magnitude of x and sign bit s
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/sgn.c b/src/sgn.c
index 8d3aab021..553bd5ac1 100644
--- a/src/sgn.c
+++ b/src/sgn.c
@@ -1,6 +1,6 @@
/* mpfr_sgn -- Sign of a floating point number.
-Copyright 2003-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/si_op.c b/src/si_op.c
index d05383ae6..a65799fef 100644
--- a/src/si_op.c
+++ b/src/si_op.c
@@ -5,7 +5,7 @@
mpfr_div_si -- divide a floating-point number by a machine integer
mpfr_si_div -- divide a machine number by a floating-point number
-Copyright 2004-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/signbit.c b/src/signbit.c
index 875e11970..d0e8a88df 100644
--- a/src/signbit.c
+++ b/src/signbit.c
@@ -1,6 +1,6 @@
/* mpfr_signbit -- Signbit of a MPFR number
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/sin.c b/src/sin.c
index ce3aea2cc..142fdf834 100644
--- a/src/sin.c
+++ b/src/sin.c
@@ -1,6 +1,6 @@
/* mpfr_sin -- sine of a floating-point number
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/sin_cos.c b/src/sin_cos.c
index 0ecdcf98e..336e8216e 100644
--- a/src/sin_cos.c
+++ b/src/sin_cos.c
@@ -1,6 +1,6 @@
/* mpfr_sin_cos -- sine and cosine of a floating-point number
-Copyright 2002-2016 Free Software Foundation, Inc.
+Copyright 2002-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/sinh.c b/src/sinh.c
index 9854c83c2..4a2ca6450 100644
--- a/src/sinh.c
+++ b/src/sinh.c
@@ -1,6 +1,6 @@
/* mpfr_sinh -- hyperbolic sine
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/sinh_cosh.c b/src/sinh_cosh.c
index a732a8f68..628eecfd5 100644
--- a/src/sinh_cosh.c
+++ b/src/sinh_cosh.c
@@ -1,6 +1,6 @@
/* mpfr_sinh_cosh -- hyperbolic sine and cosine
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/sparc64/mparam.h b/src/sparc64/mparam.h
index 26a7b9124..7d952a676 100644
--- a/src/sparc64/mparam.h
+++ b/src/sparc64/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/src/sqr.c b/src/sqr.c
index 098bec75a..abe046faa 100644
--- a/src/sqr.c
+++ b/src/sqr.c
@@ -1,6 +1,6 @@
/* mpfr_sqr -- Floating square
-Copyright 2004-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -20,8 +20,205 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
+#define MPFR_NEED_LONGLONG_H
#include "mpfr-impl.h"
+/* Special code for prec(a) < GMP_NUMB_BITS and prec(b) <= GMP_NUMB_BITS.
+ Note: this function was copied from mpfr_mul_1 in file mul.c, thus any change
+ here should be done also in mpfr_mul_1. */
+static int
+mpfr_sqr_1 (mpfr_ptr a, mpfr_srcptr b, mpfr_rnd_t rnd_mode, mpfr_prec_t p)
+{
+ mp_limb_t a0;
+ mpfr_limb_ptr ap = MPFR_MANT(a);
+ mpfr_limb_ptr bp = MPFR_MANT(b);
+ mpfr_exp_t ax;
+ mpfr_prec_t sh = GMP_NUMB_BITS - p;
+ mp_limb_t rb, sb, mask = MPFR_LIMB_MASK(sh);
+
+ /* When prec(b) <= GMP_NUMB_BITS / 2, we could replace umul_ppmm
+ by a limb multiplication as follows, but we assume umul_ppmm is as fast
+ as a limb multiplication on modern processors:
+ a0 = (bp[0] >> (GMP_NUMB_BITS / 2)) * (bp[0] >> (GMP_NUMB_BITS / 2));
+ sb = 0;
+ */
+ ax = MPFR_GET_EXP(b) * 2;
+ umul_ppmm (a0, sb, bp[0], bp[0]);
+ if (a0 < MPFR_LIMB_HIGHBIT)
+ {
+ ax --;
+ a0 = (a0 << 1) | (sb >> (GMP_NUMB_BITS - 1));
+ sb = sb << 1;
+ }
+ rb = a0 & (MPFR_LIMB_ONE << (sh - 1));
+ sb |= (a0 & mask) ^ rb;
+ ap[0] = a0 & ~mask;
+
+ MPFR_SIGN(a) = MPFR_SIGN_POS;
+
+ /* rounding */
+ if (MPFR_UNLIKELY(ax > __gmpfr_emax))
+ return mpfr_overflow (a, rnd_mode, MPFR_SIGN(a));
+
+ /* Warning: underflow should be checked *after* rounding, thus when rounding
+ away and when a > 0.111...111*2^(emin-1), or when rounding to nearest and
+ a >= 0.111...111[1]*2^(emin-1), there is no underflow. */
+ if (MPFR_UNLIKELY(ax < __gmpfr_emin))
+ {
+ if ((ax == __gmpfr_emin - 1) && (ap[0] == ~mask) &&
+ ((rnd_mode == MPFR_RNDN && rb) ||
+ (!MPFR_IS_LIKE_RNDZ(rnd_mode, MPFR_IS_NEG (a)) && (rb | sb))))
+ goto rounding; /* no underflow */
+ /* For RNDN, mpfr_underflow always rounds away, thus for |a| <= 2^(emin-2)
+ we have to change to RNDZ. This corresponds to:
+ (a) either ax < emin - 1
+ (b) or ax = emin - 1 and ap[0] = 1000....000 and rb = sb = 0 */
+ if (rnd_mode == MPFR_RNDN &&
+ (ax < __gmpfr_emin - 1 || (ap[0] == MPFR_LIMB_HIGHBIT && (rb | sb) == 0)))
+ rnd_mode = MPFR_RNDZ;
+ return mpfr_underflow (a, rnd_mode, MPFR_SIGN(a));
+ }
+
+ rounding:
+ MPFR_EXP (a) = ax; /* Don't use MPFR_SET_EXP since ax might be < __gmpfr_emin
+ in the cases "goto rounding" above. */
+ if (rb == 0 && sb == 0)
+ {
+ MPFR_ASSERTD(ax >= __gmpfr_emin);
+ return 0; /* idem than MPFR_RET(0) but faster */
+ }
+ else if (rnd_mode == MPFR_RNDN)
+ {
+ if (rb == 0 || (sb == 0 && (ap[0] & (MPFR_LIMB_ONE << sh)) == 0))
+ goto truncate;
+ else
+ goto add_one_ulp;
+ }
+ else if (MPFR_IS_LIKE_RNDZ(rnd_mode, MPFR_IS_NEG(a)))
+ {
+ truncate:
+ MPFR_ASSERTD(ax >= __gmpfr_emin);
+ MPFR_RET(-MPFR_SIGN(a));
+ }
+ else /* round away from zero */
+ {
+ add_one_ulp:
+ ap[0] += MPFR_LIMB_ONE << sh;
+ if (ap[0] == 0)
+ {
+ ap[0] = MPFR_LIMB_HIGHBIT;
+ if (MPFR_UNLIKELY(ax + 1 > __gmpfr_emax))
+ return mpfr_overflow (a, rnd_mode, MPFR_SIGN(a));
+ MPFR_ASSERTD(ax + 1 <= __gmpfr_emax);
+ MPFR_ASSERTD(ax + 1 >= __gmpfr_emin);
+ MPFR_SET_EXP (a, ax + 1);
+ }
+ MPFR_RET(MPFR_SIGN(a));
+ }
+}
+
+/* Special code for GMP_NUMB_BITS < prec(a) < 2*GMP_NUMB_BITS and
+ GMP_NUMB_BITS < prec(b) <= 2*GMP_NUMB_BITS.
+ Note: this function was copied from mpfr_mul_2 in file mul.c, thus any change
+ here should be done also in mpfr_mul_2. */
+static int
+mpfr_sqr_2 (mpfr_ptr a, mpfr_srcptr b, mpfr_rnd_t rnd_mode, mpfr_prec_t p)
+{
+ mp_limb_t h, l, u, v;
+ mpfr_limb_ptr ap = MPFR_MANT(a);
+ mpfr_exp_t ax = MPFR_GET_EXP(b) * 2;
+ mpfr_prec_t sh = 2 * GMP_NUMB_BITS - p;
+ mp_limb_t rb, sb, sb2, mask = MPFR_LIMB_MASK(sh);
+ mp_limb_t *bp = MPFR_MANT(b);
+
+ /* we store the 4-limb product in h=ap[1], l=ap[0], sb=ap[-1], sb2=ap[-2] */
+ umul_ppmm (h, l, bp[1], bp[1]);
+ umul_ppmm (sb, sb2, bp[0], bp[0]);
+ umul_ppmm (u, v, bp[1], bp[0]);
+ add_ssaaaa (l, sb, l, sb, u, v);
+ /* warning: (l < u) is incorrect to detect a carry out of add_ssaaaa, since we
+ might have u = 111...111, a carry coming from sb+v, thus l = u */
+ h += (l < u) || (l == u && sb < v);
+ add_ssaaaa (l, sb, l, sb, u, v);
+ h += (l < u) || (l == u && sb < v);
+ if (h < MPFR_LIMB_HIGHBIT)
+ {
+ ax --;
+ h = (h << 1) | (l >> (GMP_NUMB_BITS - 1));
+ l = (l << 1) | (sb >> (GMP_NUMB_BITS - 1));
+ sb = sb << 1;
+ /* no need to shift sb2 since we only want to know if it is zero or not */
+ }
+ ap[1] = h;
+ rb = l & (MPFR_LIMB_ONE << (sh - 1));
+ sb |= ((l & mask) ^ rb) | sb2;
+ ap[0] = l & ~mask;
+
+ MPFR_SIGN(a) = MPFR_SIGN_POS;
+
+ /* rounding */
+ if (MPFR_UNLIKELY(ax > __gmpfr_emax))
+ return mpfr_overflow (a, rnd_mode, MPFR_SIGN(a));
+
+ /* Warning: underflow should be checked *after* rounding, thus when rounding
+ away and when a > 0.111...111*2^(emin-1), or when rounding to nearest and
+ a >= 0.111...111[1]*2^(emin-1), there is no underflow. */
+ if (MPFR_UNLIKELY(ax < __gmpfr_emin))
+ {
+ if ((ax == __gmpfr_emin - 1) &&
+ (ap[1] == MPFR_LIMB_MAX) &&
+ (ap[0] == ~mask) &&
+ ((rnd_mode == MPFR_RNDN && rb) ||
+ (!MPFR_IS_LIKE_RNDZ(rnd_mode, MPFR_IS_NEG (a)) && (rb | sb))))
+ goto rounding; /* no underflow */
+ /* for RNDN, mpfr_underflow always rounds away, thus for |a| <= 2^(emin-2)
+ we have to change to RNDZ */
+ if (rnd_mode == MPFR_RNDN &&
+ (ax < __gmpfr_emin - 1 ||
+ (ap[1] == MPFR_LIMB_HIGHBIT && ap[0] == 0 && (rb | sb) == 0)))
+ rnd_mode = MPFR_RNDZ;
+ return mpfr_underflow (a, rnd_mode, MPFR_SIGN(a));
+ }
+
+ rounding:
+ MPFR_EXP (a) = ax; /* Don't use MPFR_SET_EXP since ax might be < __gmpfr_emin
+ in the cases "goto rounding" above. */
+ if (rb == 0 && sb == 0)
+ {
+ MPFR_ASSERTD(ax >= __gmpfr_emin);
+ return 0; /* idem than MPFR_RET(0) but faster */
+ }
+ else if (rnd_mode == MPFR_RNDN)
+ {
+ if (rb == 0 || (sb == 0 && (ap[0] & (MPFR_LIMB_ONE << sh)) == 0))
+ goto truncate;
+ else
+ goto add_one_ulp;
+ }
+ else if (MPFR_IS_LIKE_RNDZ(rnd_mode, MPFR_IS_NEG(a)))
+ {
+ truncate:
+ MPFR_ASSERTD(ax >= __gmpfr_emin);
+ MPFR_RET(-MPFR_SIGN(a));
+ }
+ else /* round away from zero */
+ {
+ add_one_ulp:
+ ap[0] += MPFR_LIMB_ONE << sh;
+ ap[1] += (ap[0] == 0);
+ if (ap[1] == 0)
+ {
+ ap[1] = MPFR_LIMB_HIGHBIT;
+ if (MPFR_UNLIKELY(ax + 1 > __gmpfr_emax))
+ return mpfr_overflow (a, rnd_mode, MPFR_SIGN(a));
+ MPFR_ASSERTD(ax + 1 <= __gmpfr_emax);
+ MPFR_ASSERTD(ax + 1 >= __gmpfr_emin);
+ MPFR_SET_EXP (a, ax + 1);
+ }
+ MPFR_RET(MPFR_SIGN(a));
+ }
+}
+
int
mpfr_sqr (mpfr_ptr a, mpfr_srcptr b, mpfr_rnd_t rnd_mode)
{
@@ -56,11 +253,11 @@ mpfr_sqr (mpfr_ptr a, mpfr_srcptr b, mpfr_rnd_t rnd_mode)
bq = MPFR_PREC(b);
if (MPFR_GET_PREC(a) < GMP_NUMB_BITS && bq <= GMP_NUMB_BITS)
- return mpfr_mul_1 (a, b, b, rnd_mode, MPFR_GET_PREC(a));
+ return mpfr_sqr_1 (a, b, rnd_mode, MPFR_GET_PREC(a));
if (GMP_NUMB_BITS < MPFR_GET_PREC(a) && MPFR_GET_PREC(a) < 2 * GMP_NUMB_BITS
&& GMP_NUMB_BITS < bq && bq <= 2 * GMP_NUMB_BITS)
- return mpfr_mul_2 (a, b, b, rnd_mode, MPFR_GET_PREC(a));
+ return mpfr_sqr_2 (a, b, rnd_mode, MPFR_GET_PREC(a));
ax = 2 * MPFR_GET_EXP (b);
MPFR_ASSERTN (2 * (mpfr_uprec_t) bq <= MPFR_PREC_MAX);
diff --git a/src/sqrt.c b/src/sqrt.c
index 8154dd299..d6976ad92 100644
--- a/src/sqrt.c
+++ b/src/sqrt.c
@@ -1,6 +1,6 @@
/* mpfr_sqrt -- square root of a floating-point number
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -95,6 +95,7 @@ mpn_sqrtrem4_approx (mpfr_limb_ptr rp, mpfr_limb_srcptr np)
int i = np[1] >> 56;
mp_limb_t x, r1, r0, h, l, t;
const mp_limb_t *u;
+ const mp_limb_t magic = 0xda9fbe76c8b43800; /* ceil(0.854*2^64) */
x = np[1] << 8 | (np[0] >> 56);
u = V[i - 64];
@@ -115,8 +116,7 @@ mpn_sqrtrem4_approx (mpfr_limb_ptr rp, mpfr_limb_srcptr np)
truncation error on h+l/2^64 is <= 6/2^6 */
sub_ddmmss (h, l, u[0], u[1], h, l);
/* Since the mathematical error is < 0.412e-19*2^64, the total error on
- h + l/2^64 is less than 0.854 */
- const mp_limb_t magic = 0xda9fbe76c8b43800UL; /* ceil(0.854*2^64) */
+ h + l/2^64 is less than 0.854; magic = ceil(0.854*2^64). */
x = h - (l < magic && h != 0);
/* now 2^64 + x is an approximation of 2^96/sqrt(np[1]),
diff --git a/src/sqrt_tab.h b/src/sqrt_tab.h
index beba183b7..4db019b07 100644
--- a/src/sqrt_tab.h
+++ b/src/sqrt_tab.h
@@ -1,6 +1,6 @@
-/* sqrt_tab.h - array for sqrt.c (mpn_sqrtrem2_approx) with GMP_NUMB_BITS == 64
+/* sqrt_tab.h - tables for sqrt.c with GMP_NUMB_BITS == 64
-Copyright 2016 Free Software Foundation, Inc.
+Copyright 2016-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/sqrt_ui.c b/src/sqrt_ui.c
index 8cb916ca6..fbc46e2ae 100644
--- a/src/sqrt_ui.c
+++ b/src/sqrt_ui.c
@@ -1,6 +1,6 @@
/* mpfr_sqrt_ui -- square root of a machine integer
-Copyright 2000-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2000-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/stack_interface.c b/src/stack_interface.c
index fdf0edf2a..f28a4c548 100644
--- a/src/stack_interface.c
+++ b/src/stack_interface.c
@@ -1,6 +1,6 @@
/* mpfr_stack -- initialize a floating-point number with given allocation area
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/strtofr.c b/src/strtofr.c
index 916952860..efd5ef5ff 100644
--- a/src/strtofr.c
+++ b/src/strtofr.c
@@ -1,6 +1,6 @@
/* mpfr_strtofr -- set a floating-point number from a string
-Copyright 2004-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/sub.c b/src/sub.c
index d632d38fc..69c679e1d 100644
--- a/src/sub.c
+++ b/src/sub.c
@@ -1,6 +1,6 @@
/* mpfr_sub -- subtract two floating-point numbers
-Copyright 2001-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2001-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/sub1.c b/src/sub1.c
index 2ee82ad2e..c38e2f979 100644
--- a/src/sub1.c
+++ b/src/sub1.c
@@ -1,6 +1,6 @@
/* mpfr_sub1 -- internal function to perform a "real" subtraction
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/sub1sp.c b/src/sub1sp.c
index 55e1812f7..be94ba28c 100644
--- a/src/sub1sp.c
+++ b/src/sub1sp.c
@@ -1,7 +1,7 @@
/* mpfr_sub1sp -- internal function to perform a "real" subtraction
All the op must have the same precision
-Copyright 2003-2016 Free Software Foundation, Inc.
+Copyright 2003-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/sub_d.c b/src/sub_d.c
index c938d0378..b61fefb53 100644
--- a/src/sub_d.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/sub_ui.c b/src/sub_ui.c
index 0b6d60ff1..ad24c1350 100644
--- a/src/sub_ui.c
+++ b/src/sub_ui.c
@@ -1,6 +1,6 @@
/* mpfr_sub_ui -- subtract a floating-point number and a machine integer
-Copyright 2000-2016 Free Software Foundation, Inc.
+Copyright 2000-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/subnormal.c b/src/subnormal.c
index 5c962cb5d..c5a656029 100644
--- a/src/subnormal.c
+++ b/src/subnormal.c
@@ -1,7 +1,7 @@
/* mpfr_subnormalize -- Subnormalize a floating point number
emulating sub-normal numbers.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/sum.c b/src/sum.c
index 218a93878..6f7268240 100644
--- a/src/sum.c
+++ b/src/sum.c
@@ -1,6 +1,6 @@
/* Sum -- efficiently sum a list of floating-point numbers
-Copyright 2014-2016 Free Software Foundation, Inc.
+Copyright 2014-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/swap.c b/src/swap.c
index a72820890..ed488ca88 100644
--- a/src/swap.c
+++ b/src/swap.c
@@ -1,6 +1,6 @@
/* mpfr_swap (U, V) -- Swap U and V.
-Copyright 2000-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2000-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/tan.c b/src/tan.c
index b10edc620..4f65f1bcd 100644
--- a/src/tan.c
+++ b/src/tan.c
@@ -1,6 +1,6 @@
/* mpfr_tan -- tangent of a floating-point number
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/tanh.c b/src/tanh.c
index a7243123e..06adf7874 100644
--- a/src/tanh.c
+++ b/src/tanh.c
@@ -1,6 +1,6 @@
/* mpfr_tanh -- hyperbolic tangent
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/ubf.c b/src/ubf.c
index e43e0e41d..78eb90e37 100644
--- a/src/ubf.c
+++ b/src/ubf.c
@@ -1,6 +1,6 @@
/* Functions to work with unbounded floats (limited low-level interface).
-Copyright 2016 Free Software Foundation, Inc.
+Copyright 2016-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/uceil_exp2.c b/src/uceil_exp2.c
index bb5da19b6..c68147f57 100644
--- a/src/uceil_exp2.c
+++ b/src/uceil_exp2.c
@@ -1,6 +1,6 @@
/* __gmpfr_ceil_exp2 - returns y >= 2^d
-Copyright 1999-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 1999-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/uceil_log2.c b/src/uceil_log2.c
index 8e1aa1f83..700e0172a 100644
--- a/src/uceil_log2.c
+++ b/src/uceil_log2.c
@@ -1,6 +1,6 @@
/* __gmpfr_ceil_log2 - returns ceil(log(d)/log(2))
-Copyright 1999-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 1999-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/ufloor_log2.c b/src/ufloor_log2.c
index 32cb486f0..5101b74ce 100644
--- a/src/ufloor_log2.c
+++ b/src/ufloor_log2.c
@@ -1,6 +1,6 @@
/* __gmpfr_floor_log2 - returns floor(log(d)/log(2))
-Copyright 1999-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 1999-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/ui_div.c b/src/ui_div.c
index a97ec65f8..36121edca 100644
--- a/src/ui_div.c
+++ b/src/ui_div.c
@@ -1,6 +1,6 @@
/* mpfr_ui_div -- divide a machine integer by a floating-point number
-Copyright 2000-2016 Free Software Foundation, Inc.
+Copyright 2000-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/ui_pow.c b/src/ui_pow.c
index f43412511..712b53d09 100644
--- a/src/ui_pow.c
+++ b/src/ui_pow.c
@@ -1,6 +1,6 @@
/* mpfr_ui_pow -- power of n function n^x
-Copyright 2001-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2001-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/ui_pow_ui.c b/src/ui_pow_ui.c
index ccabe7126..654fc01e7 100644
--- a/src/ui_pow_ui.c
+++ b/src/ui_pow_ui.c
@@ -1,6 +1,6 @@
/* mpfr_ui_pow_ui -- compute the power between two machine integers
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/ui_sub.c b/src/ui_sub.c
index 538151520..e8091a501 100644
--- a/src/ui_sub.c
+++ b/src/ui_sub.c
@@ -1,6 +1,6 @@
/* mpfr_ui_sub -- subtract a floating-point number from an integer
-Copyright 2000-2016 Free Software Foundation, Inc.
+Copyright 2000-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/urandom.c b/src/urandom.c
index 7254cc0f0..b5d7d9ec6 100644
--- a/src/urandom.c
+++ b/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-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2000-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/urandomb.c b/src/urandomb.c
index c851fdfbe..6242c09c0 100644
--- a/src/urandomb.c
+++ b/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-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2000-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/vasprintf.c b/src/vasprintf.c
index 87eb8cd11..cc2369592 100644
--- a/src/vasprintf.c
+++ b/src/vasprintf.c
@@ -1,7 +1,7 @@
/* mpfr_vasprintf -- main function for the printf functions family
plus helper macros & functions.
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/version.c b/src/version.c
index 92708aaea..ab2cab465 100644
--- a/src/version.c
+++ b/src/version.c
@@ -1,6 +1,6 @@
/* mpfr_get_version -- MPFR version
-Copyright 2004-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/volatile.c b/src/volatile.c
index 938655eba..ac6af05b7 100644
--- a/src/volatile.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/x86/core2/mparam.h b/src/x86/core2/mparam.h
index 04edd526c..21b771d42 100644
--- a/src/x86/core2/mparam.h
+++ b/src/x86/core2/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/src/x86/mparam.h b/src/x86/mparam.h
index 978760a4c..99f37b1d9 100644
--- a/src/x86/mparam.h
+++ b/src/x86/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/src/x86_64/core2/mparam.h b/src/x86_64/core2/mparam.h
index 59025ad09..2bba007eb 100644
--- a/src/x86_64/core2/mparam.h
+++ b/src/x86_64/core2/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/src/x86_64/corei5/mparam.h b/src/x86_64/corei5/mparam.h
index 059d53e3e..76c127b27 100644
--- a/src/x86_64/corei5/mparam.h
+++ b/src/x86_64/corei5/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/src/x86_64/pentium4/mparam.h b/src/x86_64/pentium4/mparam.h
index 88a06e542..311c05804 100644
--- a/src/x86_64/pentium4/mparam.h
+++ b/src/x86_64/pentium4/mparam.h
@@ -1,6 +1,6 @@
/* Various Thresholds of MPFR, not exported. -*- mode: C -*-
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
This file is part of the GNU MPFR Library.
diff --git a/src/yn.c b/src/yn.c
index f32b0f345..715305183 100644
--- a/src/yn.c
+++ b/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-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/zeta.c b/src/zeta.c
index 164a4fdf8..2e8fe064e 100644
--- a/src/zeta.c
+++ b/src/zeta.c
@@ -1,6 +1,6 @@
/* mpfr_zeta -- compute the Riemann Zeta function
-Copyright 2003-2016 Free Software Foundation, Inc.
+Copyright 2003-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/src/zeta_ui.c b/src/zeta_ui.c
index 5031f0588..7fe27c292 100644
--- a/src/zeta_ui.c
+++ b/src/zeta_ui.c
@@ -1,6 +1,6 @@
/* mpfr_zeta_ui -- compute the Riemann Zeta function for integer argument.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 41c4beed4..265b89509 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,4 +1,4 @@
-# Copyright 2000-2016 Free Software Foundation, Inc.
+# Copyright 2000-2017 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.
diff --git a/tests/cmp_str.c b/tests/cmp_str.c
index 83eaf6b98..91745fac3 100644
--- a/tests/cmp_str.c
+++ b/tests/cmp_str.c
@@ -1,6 +1,6 @@
/* mpfr_cmp_str -- compare a floating-point number with a string.
-Copyright 2004-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/data/digamma b/tests/data/digamma
index 2ee530590..f72e552b3 100644
--- a/tests/data/digamma
+++ b/tests/data/digamma
@@ -1,6 +1,6 @@
# reference values for the digamma function
#
-# Copyright 2009-2016 Free Software Foundation, Inc.
+# Copyright 2009-2017 Free Software Foundation, Inc.
# Contributed by the AriC and Caramba projects, INRIA.
#
# This file is part of the GNU MPFR Library.
diff --git a/tests/data/li2 b/tests/data/li2
index f824b1ceb..09fd696a1 100644
--- a/tests/data/li2
+++ b/tests/data/li2
@@ -1,6 +1,6 @@
# reference values for dilogarithm function
#
-# Copyright 2007-2016 Free Software Foundation, Inc.
+# Copyright 2007-2017 Free Software Foundation, Inc.
# Contributed by the AriC and Caramba projects, INRIA.
#
# This file is part of the GNU MPFR Library.
diff --git a/tests/memory.c b/tests/memory.c
index 640b2b5d9..d31ef2407 100644
--- a/tests/memory.c
+++ b/tests/memory.c
@@ -1,6 +1,6 @@
/* Memory allocation used during tests.
-Copyright 2001-2003, 2006-2016 Free Software Foundation, Inc.
+Copyright 2001-2003, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/mpf_compat.c b/tests/mpf_compat.c
index d5d618f6f..5a3dc8043 100644
--- a/tests/mpf_compat.c
+++ b/tests/mpf_compat.c
@@ -1,6 +1,6 @@
/* Test compatibility mpf-mpfr.
-Copyright 2003, 2005-2016 Free Software Foundation, Inc.
+Copyright 2003, 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/mpf_compat.h b/tests/mpf_compat.h
index 7e289963f..3a84a3e76 100644
--- a/tests/mpf_compat.h
+++ b/tests/mpf_compat.h
@@ -1,6 +1,6 @@
/* Test compatibility mpf-mpfr.
-Copyright 2003-2016 Free Software Foundation, Inc.
+Copyright 2003-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/mpfr-test.h b/tests/mpfr-test.h
index 0c94254be..689400900 100644
--- a/tests/mpfr-test.h
+++ b/tests/mpfr-test.h
@@ -1,6 +1,6 @@
/* auxiliary functions for MPFR tests.
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/mpfr_compat.c b/tests/mpfr_compat.c
index bebad59cc..6337501f2 100644
--- a/tests/mpfr_compat.c
+++ b/tests/mpfr_compat.c
@@ -1,6 +1,6 @@
/* Test compatibility mpf-mpfr.
-Copyright 2003, 2005-2016 Free Software Foundation, Inc.
+Copyright 2003, 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/random2.c b/tests/random2.c
index 3499acd32..daba29ea3 100644
--- a/tests/random2.c
+++ b/tests/random2.c
@@ -1,7 +1,7 @@
/* mpfr_random2 -- Generate a positive random mpfr_t of specified size, with
long runs of consecutive ones and zeros in the binary representation.
-Copyright 1999, 2001-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/reuse.c b/tests/reuse.c
index c05c5354f..96163a0f8 100644
--- a/tests/reuse.c
+++ b/tests/reuse.c
@@ -1,6 +1,6 @@
/* Test file for in-place operations.
-Copyright 2000-2016 Free Software Foundation, Inc.
+Copyright 2000-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/rnd_mode.c b/tests/rnd_mode.c
index 1cbe6f673..9e9f3a0e3 100644
--- a/tests/rnd_mode.c
+++ b/tests/rnd_mode.c
@@ -1,6 +1,6 @@
/* mpfr_set_machine_rnd_mode -- set the rounding mode for machine floats
-Copyright 1999, 2001-2002, 2006-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2002, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tabort_defalloc1.c b/tests/tabort_defalloc1.c
index 143f6830a..997de47e0 100644
--- a/tests/tabort_defalloc1.c
+++ b/tests/tabort_defalloc1.c
@@ -1,6 +1,6 @@
/* tabort_defalloc1 -- Test for abort due to reaching out of memory
-Copyright 2012-2016 Free Software Foundation, Inc.
+Copyright 2012-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tabort_defalloc2.c b/tests/tabort_defalloc2.c
index f0c0d113b..c4ac88144 100644
--- a/tests/tabort_defalloc2.c
+++ b/tests/tabort_defalloc2.c
@@ -1,6 +1,6 @@
/* tabort_defalloc2 -- Test for abort due to reaching out of memory
-Copyright 2012-2016 Free Software Foundation, Inc.
+Copyright 2012-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tabort_prec_max.c b/tests/tabort_prec_max.c
index 7eee93a37..2a4491d2a 100644
--- a/tests/tabort_prec_max.c
+++ b/tests/tabort_prec_max.c
@@ -1,6 +1,6 @@
/* tabort_prec_max -- Test for abort termination due to reaching prec max
-Copyright 2012-2016 Free Software Foundation, Inc.
+Copyright 2012-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tabs.c b/tests/tabs.c
index a63e2b15a..15a16cab3 100644
--- a/tests/tabs.c
+++ b/tests/tabs.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_abs.
-Copyright 2000-2016 Free Software Foundation, Inc.
+Copyright 2000-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tacos.c b/tests/tacos.c
index 6591eaed7..1ade3113e 100644
--- a/tests/tacos.c
+++ b/tests/tacos.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_acos.
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tacosh.c b/tests/tacosh.c
index fbabc3098..1a91c7af4 100644
--- a/tests/tacosh.c
+++ b/tests/tacosh.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_acosh.
-Copyright 2001-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2001-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tadd.c b/tests/tadd.c
index e2e3e04e4..4f1cff237 100644
--- a/tests/tadd.c
+++ b/tests/tadd.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_add and mpfr_sub.
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tadd1sp.c b/tests/tadd1sp.c
index 00ebfbcc3..eda82bb41 100644
--- a/tests/tadd1sp.c
+++ b/tests/tadd1sp.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_add1sp.
-Copyright 2004-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tadd_d.c b/tests/tadd_d.c
index 5848264e0..dc7725cba 100644
--- a/tests/tadd_d.c
+++ b/tests/tadd_d.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_add_d
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tadd_ui.c b/tests/tadd_ui.c
index fd16a91ea..3af369b44 100644
--- a/tests/tadd_ui.c
+++ b/tests/tadd_ui.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_add_ui
-Copyright 2000-2016 Free Software Foundation, Inc.
+Copyright 2000-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tagm.c b/tests/tagm.c
index 4c3cf0b5f..2b87e3905 100644
--- a/tests/tagm.c
+++ b/tests/tagm.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_agm.
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tai.c b/tests/tai.c
index 1873107ed..e18d4a893 100644
--- a/tests/tai.c
+++ b/tests/tai.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_ai.
-Copyright 2010-2016 Free Software Foundation, Inc.
+Copyright 2010-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/talloc-cache.c b/tests/talloc-cache.c
index f75b2df09..fba89bb25 100644
--- a/tests/talloc-cache.c
+++ b/tests/talloc-cache.c
@@ -1,6 +1,6 @@
/* talloc-cache -- test file concerning memory allocation and cache
-Copyright 2016 Free Software Foundation, Inc.
+Copyright 2016-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/talloc.c b/tests/talloc.c
index 4909599ac..5597d35d4 100644
--- a/tests/talloc.c
+++ b/tests/talloc.c
@@ -1,6 +1,6 @@
/* talloc -- test file concerning memory allocation
-Copyright 2015-2016 Free Software Foundation, Inc.
+Copyright 2015-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tasin.c b/tests/tasin.c
index 4ff44a5ca..1f5a4dc89 100644
--- a/tests/tasin.c
+++ b/tests/tasin.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_asin.
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tasinh.c b/tests/tasinh.c
index 77aa9faf3..b7b89142c 100644
--- a/tests/tasinh.c
+++ b/tests/tasinh.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_asinh.
-Copyright 2001-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2001-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tassert.c b/tests/tassert.c
index 3cf72493b..b45b4c5c3 100644
--- a/tests/tassert.c
+++ b/tests/tassert.c
@@ -1,6 +1,6 @@
/* tassert -- Test for assertions.
-Copyright 2012-2016 Free Software Foundation, Inc.
+Copyright 2012-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tatan.c b/tests/tatan.c
index dad14e1ca..ef38d0fe5 100644
--- a/tests/tatan.c
+++ b/tests/tatan.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_atan.
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tatanh.c b/tests/tatanh.c
index ee8fe2bc4..5a034c75e 100644
--- a/tests/tatanh.c
+++ b/tests/tatanh.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_atanh.
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/taway.c b/tests/taway.c
index a321fd442..bde501d10 100644
--- a/tests/taway.c
+++ b/tests/taway.c
@@ -1,6 +1,6 @@
/* Test file for round away.
-Copyright 2000-2016 Free Software Foundation, Inc.
+Copyright 2000-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tbuildopt.c b/tests/tbuildopt.c
index d71c4f8c1..2ce7c97ae 100644
--- a/tests/tbuildopt.c
+++ b/tests/tbuildopt.c
@@ -1,7 +1,7 @@
/* tbuildopt.c -- test file for mpfr_buildopt_tls_p and
mpfr_buildopt_decimal_p.
-Copyright 2009-2016 Free Software Foundation, Inc.
+Copyright 2009-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tcan_round.c b/tests/tcan_round.c
index 9c50e6e2e..2d8964896 100644
--- a/tests/tcan_round.c
+++ b/tests/tcan_round.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_can_round and mpfr_round_p.
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tcbrt.c b/tests/tcbrt.c
index 6db285648..65a0f1db9 100644
--- a/tests/tcbrt.c
+++ b/tests/tcbrt.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_cbrt.
-Copyright 2002-2016 Free Software Foundation, Inc.
+Copyright 2002-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tcheck.c b/tests/tcheck.c
index 01432b271..ef9d848b5 100644
--- a/tests/tcheck.c
+++ b/tests/tcheck.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_check.
-Copyright 2003-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2003-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tcmp.c b/tests/tcmp.c
index 389dd2c83..627c33d33 100644
--- a/tests/tcmp.c
+++ b/tests/tcmp.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_cmp.
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tcmp2.c b/tests/tcmp2.c
index d1930f7bb..901b63f82 100644
--- a/tests/tcmp2.c
+++ b/tests/tcmp2.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_cmp2.
-Copyright 1999-2003, 2006-2016 Free Software Foundation, Inc.
+Copyright 1999-2003, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tcmp_d.c b/tests/tcmp_d.c
index 1abf9d41a..00fc5e987 100644
--- a/tests/tcmp_d.c
+++ b/tests/tcmp_d.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_cmp_d.
-Copyright 1999, 2001-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tcmp_ld.c b/tests/tcmp_ld.c
index ea594fdf1..dbe6957db 100644
--- a/tests/tcmp_ld.c
+++ b/tests/tcmp_ld.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_cmp_ld.
-Copyright 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tcmp_ui.c b/tests/tcmp_ui.c
index 3112521a3..d7778d0a7 100644
--- a/tests/tcmp_ui.c
+++ b/tests/tcmp_ui.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_cmp_ui and mpfr_cmp_si.
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tcmpabs.c b/tests/tcmpabs.c
index daef709f3..b35cccd36 100644
--- a/tests/tcmpabs.c
+++ b/tests/tcmpabs.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_cmpabs.
-Copyright 2004-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tcomparisons.c b/tests/tcomparisons.c
index 7cf39999d..faa4ac345 100644
--- a/tests/tcomparisons.c
+++ b/tests/tcomparisons.c
@@ -2,7 +2,7 @@
mpfr_lessequal_p, mpfr_lessgreater_p, mpfr_equal_p, mpfr_unordered_p
functions.
-Copyright 2003, 2006-2016 Free Software Foundation, Inc.
+Copyright 2003, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tconst_catalan.c b/tests/tconst_catalan.c
index 618e14754..9eaefc087 100644
--- a/tests/tconst_catalan.c
+++ b/tests/tconst_catalan.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_const_catalan.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tconst_euler.c b/tests/tconst_euler.c
index 2492e36f3..c2425eb8b 100644
--- a/tests/tconst_euler.c
+++ b/tests/tconst_euler.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_const_euler.
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tconst_log2.c b/tests/tconst_log2.c
index 81c19558f..d9bf76e35 100644
--- a/tests/tconst_log2.c
+++ b/tests/tconst_log2.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_const_log2.
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tconst_pi.c b/tests/tconst_pi.c
index 7e592be74..a55d08c4f 100644
--- a/tests/tconst_pi.c
+++ b/tests/tconst_pi.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_const_pi.
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tcopysign.c b/tests/tcopysign.c
index e81450994..968328e01 100644
--- a/tests/tcopysign.c
+++ b/tests/tcopysign.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_copysign, mpfr_setsign and mpfr_signbit.
-Copyright 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tcos.c b/tests/tcos.c
index 5df352356..52cdb9bed 100644
--- a/tests/tcos.c
+++ b/tests/tcos.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_cos.
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tcosh.c b/tests/tcosh.c
index 940eff9d4..6e8ec085c 100644
--- a/tests/tcosh.c
+++ b/tests/tcosh.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_cosh.
-Copyright 2001-2002, 2004-2016 Free Software Foundation, Inc.
+Copyright 2001-2002, 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tcot.c b/tests/tcot.c
index e8c9ecbe0..0c644df1c 100644
--- a/tests/tcot.c
+++ b/tests/tcot.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_cot.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tcoth.c b/tests/tcoth.c
index f89c62d19..dc10e662b 100644
--- a/tests/tcoth.c
+++ b/tests/tcoth.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_coth.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tcsc.c b/tests/tcsc.c
index e17f1bb3a..eb33114c4 100644
--- a/tests/tcsc.c
+++ b/tests/tcsc.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_csc.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tcsch.c b/tests/tcsch.c
index 863c89371..619fd7140 100644
--- a/tests/tcsch.c
+++ b/tests/tcsch.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_csch.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/td_div.c b/tests/td_div.c
index 292c04aab..e3ca3e434 100644
--- a/tests/td_div.c
+++ b/tests/td_div.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_d_div
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/td_sub.c b/tests/td_sub.c
index c5151edf3..7d59755a7 100644
--- a/tests/td_sub.c
+++ b/tests/td_sub.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_d_sub
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tdigamma.c b/tests/tdigamma.c
index 097f3a3fd..fce344dbb 100644
--- a/tests/tdigamma.c
+++ b/tests/tdigamma.c
@@ -1,6 +1,6 @@
/* test file for digamma function
-Copyright 2009-2016 Free Software Foundation, Inc.
+Copyright 2009-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tdim.c b/tests/tdim.c
index b0fdb68c3..06b12e1a8 100644
--- a/tests/tdim.c
+++ b/tests/tdim.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_dim.
-Copyright 2004-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tdiv.c b/tests/tdiv.c
index 5239b9153..f402e98dc 100644
--- a/tests/tdiv.c
+++ b/tests/tdiv.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_div (and some mpfr_div_ui, etc. tests).
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tdiv_d.c b/tests/tdiv_d.c
index 4ed1c632a..ff8a4b217 100644
--- a/tests/tdiv_d.c
+++ b/tests/tdiv_d.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_div_d
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tdiv_ui.c b/tests/tdiv_ui.c
index faefe7d04..c9f2dfb32 100644
--- a/tests/tdiv_ui.c
+++ b/tests/tdiv_ui.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_div_ui.
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/teint.c b/tests/teint.c
index d06a72e3f..c4819f656 100644
--- a/tests/teint.c
+++ b/tests/teint.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_eint.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/teq.c b/tests/teq.c
index a1441cbc9..a174e4cc0 100644
--- a/tests/teq.c
+++ b/tests/teq.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_eq.
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/terandom.c b/tests/terandom.c
index 9cc9a6f1a..31a1c595f 100644
--- a/tests/terandom.c
+++ b/tests/terandom.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_erandom
-Copyright 2011-2016 Free Software Foundation, Inc.
+Copyright 2011-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/terandom_chisq.c b/tests/terandom_chisq.c
index aad6503a3..97f686bbc 100644
--- a/tests/terandom_chisq.c
+++ b/tests/terandom_chisq.c
@@ -1,6 +1,6 @@
/* Chi-squared test for mpfr_erandom
-Copyright 2011-2016 Free Software Foundation, Inc.
+Copyright 2011-2017 Free Software Foundation, Inc.
Contributed by Charles Karney <charles@karney.com>, SRI International.
This file is part of the GNU MPFR Library.
diff --git a/tests/terf.c b/tests/terf.c
index 88d63c640..d1ecd7f78 100644
--- a/tests/terf.c
+++ b/tests/terf.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_erf and mpfr_erfc.
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tests.c b/tests/tests.c
index 3696f405d..b64922072 100644
--- a/tests/tests.c
+++ b/tests/tests.c
@@ -1,6 +1,6 @@
/* Miscellaneous support for test programs.
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/texceptions.c b/tests/texceptions.c
index 76a55e83b..2f7178d0d 100644
--- a/tests/texceptions.c
+++ b/tests/texceptions.c
@@ -1,6 +1,6 @@
/* Test file for exceptions.
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/texp.c b/tests/texp.c
index 6d183fbae..d386b6091 100644
--- a/tests/texp.c
+++ b/tests/texp.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_exp.
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/texp10.c b/tests/texp10.c
index 6e9d77fe3..bb7ea121e 100644
--- a/tests/texp10.c
+++ b/tests/texp10.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_exp10.
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/texp2.c b/tests/texp2.c
index 648025d5c..3b24a9edf 100644
--- a/tests/texp2.c
+++ b/tests/texp2.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_exp2.
-Copyright 2001-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2001-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/texpm1.c b/tests/texpm1.c
index fd27a8c2f..8b7ddfe55 100644
--- a/tests/texpm1.c
+++ b/tests/texpm1.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_expm1.
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tfactorial.c b/tests/tfactorial.c
index 92b69eb16..544ab2d73 100644
--- a/tests/tfactorial.c
+++ b/tests/tfactorial.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_factorial.
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tfits.c b/tests/tfits.c
index 1989ac39f..ace255afb 100644
--- a/tests/tfits.c
+++ b/tests/tfits.c
@@ -2,7 +2,7 @@
mpfr_fits_sint_p, mpfr_fits_slong_p, mpfr_fits_sshort_p,
mpfr_fits_uint_p, mpfr_fits_ulong_p, mpfr_fits_ushort_p
-Copyright 2004-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tfma.c b/tests/tfma.c
index 333cafef9..6f3d3a3f2 100644
--- a/tests/tfma.c
+++ b/tests/tfma.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_fma.
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tfmma.c b/tests/tfmma.c
index 423d353bf..efc72a9c1 100644
--- a/tests/tfmma.c
+++ b/tests/tfmma.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_fmma and mpfr_fmms.
-Copyright 2016 Free Software Foundation, Inc.
+Copyright 2016-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tfmod.c b/tests/tfmod.c
index fb13f8281..b422dfa73 100644
--- a/tests/tfmod.c
+++ b/tests/tfmod.c
@@ -1,6 +1,6 @@
/* tfmod -- test file for mpfr_fmod
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tfms.c b/tests/tfms.c
index b076b8021..be08fc5c6 100644
--- a/tests/tfms.c
+++ b/tests/tfms.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_fms.
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tfpif.c b/tests/tfpif.c
index f2df70b34..fdf53c7ea 100644
--- a/tests/tfpif.c
+++ b/tests/tfpif.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_fpif.
-Copyright 2012-2016 Free Software Foundation, Inc.
+Copyright 2012-2017 Free Software Foundation, Inc.
Contributed by Olivier Demengeon.
This file is part of the GNU MPFR Library.
diff --git a/tests/tfprintf.c b/tests/tfprintf.c
index 903fc70da..5dd1225ae 100644
--- a/tests/tfprintf.c
+++ b/tests/tfprintf.c
@@ -1,6 +1,6 @@
/* tfprintf.c -- test file for mpfr_fprintf and mpfr_vfprintf
-Copyright 2008-2016 Free Software Foundation, Inc.
+Copyright 2008-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tfrac.c b/tests/tfrac.c
index d4094bbd4..09cb8f23b 100644
--- a/tests/tfrac.c
+++ b/tests/tfrac.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_frac.
-Copyright 2002-2016 Free Software Foundation, Inc.
+Copyright 2002-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tfrexp.c b/tests/tfrexp.c
index b0fe182c5..8cb318ce7 100644
--- a/tests/tfrexp.c
+++ b/tests/tfrexp.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_frexp.
-Copyright 2011-2016 Free Software Foundation, Inc.
+Copyright 2011-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tgamma.c b/tests/tgamma.c
index 594f143fe..11f126339 100644
--- a/tests/tgamma.c
+++ b/tests/tgamma.c
@@ -1,6 +1,6 @@
/* Test file for gamma function
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tgamma_inc.c b/tests/tgamma_inc.c
index dc08a7b00..754dd16d1 100644
--- a/tests/tgamma_inc.c
+++ b/tests/tgamma_inc.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_gamma_inc
-Copyright 2016 Free Software Foundation, Inc.
+Copyright 2016-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tgeneric.c b/tests/tgeneric.c
index c4b730a3a..a08b3d4b2 100644
--- a/tests/tgeneric.c
+++ b/tests/tgeneric.c
@@ -1,7 +1,7 @@
/* Generic test file for functions with one or two arguments (the second being
either mpfr_t or double or unsigned long).
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tgeneric_ui.c b/tests/tgeneric_ui.c
index f05a4fc96..a57909fdd 100644
--- a/tests/tgeneric_ui.c
+++ b/tests/tgeneric_ui.c
@@ -1,6 +1,6 @@
/* Generic test file for functions with one mpfr_t argument and an integer.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tget_d.c b/tests/tget_d.c
index 32e4d1022..618093dab 100644
--- a/tests/tget_d.c
+++ b/tests/tget_d.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_get_d
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tget_d_2exp.c b/tests/tget_d_2exp.c
index 9e8d6957a..8cf6af5ff 100644
--- a/tests/tget_d_2exp.c
+++ b/tests/tget_d_2exp.c
@@ -1,6 +1,6 @@
/* Test mpfr_get_d_2exp.
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tget_f.c b/tests/tget_f.c
index b73e2a503..3e2bfd2e3 100644
--- a/tests/tget_f.c
+++ b/tests/tget_f.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_get_f.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tget_flt.c b/tests/tget_flt.c
index 521ab0cc1..778cc6800 100644
--- a/tests/tget_flt.c
+++ b/tests/tget_flt.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_get_flt and mpfr_set_flt
-Copyright 2009-2016 Free Software Foundation, Inc.
+Copyright 2009-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tget_ld_2exp.c b/tests/tget_ld_2exp.c
index af70af2cb..d1f0511a2 100644
--- a/tests/tget_ld_2exp.c
+++ b/tests/tget_ld_2exp.c
@@ -1,6 +1,6 @@
/* Test mpfr_get_ld_2exp.
-Copyright 2006-2016 Free Software Foundation, Inc.
+Copyright 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tget_set_d64.c b/tests/tget_set_d64.c
index 17c18a02f..883b64c45 100644
--- a/tests/tget_set_d64.c
+++ b/tests/tget_set_d64.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_get_decimal64 and mpfr_set_decimal64.
-Copyright 2006-2016 Free Software Foundation, Inc.
+Copyright 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tget_sj.c b/tests/tget_sj.c
index 51e0a6121..db59282b3 100644
--- a/tests/tget_sj.c
+++ b/tests/tget_sj.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_get_sj and mpfr_get_uj.
-Copyright 2004-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tget_str.c b/tests/tget_str.c
index d1ad91b40..42d3ce81f 100644
--- a/tests/tget_str.c
+++ b/tests/tget_str.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_get_str.
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tget_z.c b/tests/tget_z.c
index 7df603059..2cb8ce388 100644
--- a/tests/tget_z.c
+++ b/tests/tget_z.c
@@ -1,6 +1,6 @@
/* Test file for mpz_set_fr / mpfr_get_z.
-Copyright 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tgmpop.c b/tests/tgmpop.c
index 16320500d..86c59bd9a 100644
--- a/tests/tgmpop.c
+++ b/tests/tgmpop.c
@@ -1,7 +1,7 @@
/* Test file for mpfr_add_[q,z], mpfr_sub_[q,z], mpfr_div_[q,z],
mpfr_mul_[q,z], mpfr_cmp_[f,q,z]
-Copyright 2004-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tgrandom.c b/tests/tgrandom.c
index e8f840df0..f65039c47 100644
--- a/tests/tgrandom.c
+++ b/tests/tgrandom.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_grandom
-Copyright 2011-2016 Free Software Foundation, Inc.
+Copyright 2011-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/thyperbolic.c b/tests/thyperbolic.c
index 73eb4fb56..3011d3df9 100644
--- a/tests/thyperbolic.c
+++ b/tests/thyperbolic.c
@@ -1,6 +1,6 @@
/* Test file for hyperbolic function : mpfr_cosh, mpfr_sinh, mpfr_tanh, mpfr_acosh, mpfr_asinh, mpfr_atanh.
-Copyright 2001-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2001-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/thypot.c b/tests/thypot.c
index 08027463c..cb9cefe64 100644
--- a/tests/thypot.c
+++ b/tests/thypot.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_hypot.
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tinits.c b/tests/tinits.c
index 235e3c9a3..3c089ce22 100644
--- a/tests/tinits.c
+++ b/tests/tinits.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_init2, mpfr_inits, mpfr_inits2 and mpfr_clears.
-Copyright 2003, 2006-2016 Free Software Foundation, Inc.
+Copyright 2003, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tinp_str.c b/tests/tinp_str.c
index 31b6011f6..234a4675f 100644
--- a/tests/tinp_str.c
+++ b/tests/tinp_str.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_inp_str.
-Copyright 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tinternals.c b/tests/tinternals.c
index 0219509de..80d15d29f 100644
--- a/tests/tinternals.c
+++ b/tests/tinternals.c
@@ -1,6 +1,6 @@
/* tinternals -- Test for internals.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tisnan.c b/tests/tisnan.c
index 6b6b2137c..bdc81edab 100644
--- a/tests/tisnan.c
+++ b/tests/tisnan.c
@@ -1,7 +1,7 @@
/* Test file for mpfr_nan_p, mpfr_inf_p, mpfr_number_p, mpfr_zero_p and
mpfr_regular_p.
-Copyright 2001-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2001-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tisqrt.c b/tests/tisqrt.c
index ede798972..2808ad09e 100644
--- a/tests/tisqrt.c
+++ b/tests/tisqrt.c
@@ -1,6 +1,6 @@
/* Test file for __gmpfr_isqrt and __gmpfr_cuberoot internal functions.
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tj0.c b/tests/tj0.c
index 19ebe5fb6..c48873aac 100644
--- a/tests/tj0.c
+++ b/tests/tj0.c
@@ -1,6 +1,6 @@
/* tj0 -- test file for the Bessel function of first kind (order 0)
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tj1.c b/tests/tj1.c
index 6b5d4658b..534b4486c 100644
--- a/tests/tj1.c
+++ b/tests/tj1.c
@@ -1,6 +1,6 @@
/* tj1 -- test file for the Bessel function of first kind (order 1)
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tjn.c b/tests/tjn.c
index 7ab8549d1..97cdc1858 100644
--- a/tests/tjn.c
+++ b/tests/tjn.c
@@ -1,6 +1,6 @@
/* tjn -- test file for the Bessel function of first kind
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tl2b.c b/tests/tl2b.c
index a6d9e9c88..3af7a51c1 100644
--- a/tests/tl2b.c
+++ b/tests/tl2b.c
@@ -1,6 +1,6 @@
/* Test file for l2b constants.
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tlgamma.c b/tests/tlgamma.c
index 3d686a6fc..d83142041 100644
--- a/tests/tlgamma.c
+++ b/tests/tlgamma.c
@@ -1,6 +1,6 @@
/* mpfr_tlgamma -- test file for lgamma function
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tli2.c b/tests/tli2.c
index edd8c72e9..a0909d998 100644
--- a/tests/tli2.c
+++ b/tests/tli2.c
@@ -1,6 +1,6 @@
/* mpfr_tli2 -- test file for dilogarithm function
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tlngamma.c b/tests/tlngamma.c
index db58e5ecf..377097807 100644
--- a/tests/tlngamma.c
+++ b/tests/tlngamma.c
@@ -1,6 +1,6 @@
/* mpfr_tlngamma -- test file for lngamma function
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tlog.c b/tests/tlog.c
index 43d46d83e..2fb93a94c 100644
--- a/tests/tlog.c
+++ b/tests/tlog.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_log.
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tlog10.c b/tests/tlog10.c
index 9bb9e8d8e..15f261ed2 100644
--- a/tests/tlog10.c
+++ b/tests/tlog10.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_log10.
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tlog1p.c b/tests/tlog1p.c
index c21656be7..91977879a 100644
--- a/tests/tlog1p.c
+++ b/tests/tlog1p.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_log1p.
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tlog2.c b/tests/tlog2.c
index 52f88e5bb..07897b432 100644
--- a/tests/tlog2.c
+++ b/tests/tlog2.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_log2.
-Copyright 2001-2002, 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2001-2002, 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tlog_ui.c b/tests/tlog_ui.c
index ca145c27d..812e1ab94 100644
--- a/tests/tlog_ui.c
+++ b/tests/tlog_ui.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_log_ui.
-Copyright 2016 Free Software Foundation, Inc.
+Copyright 2016-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tmin_prec.c b/tests/tmin_prec.c
index 9dd6a432a..ba6efaf73 100644
--- a/tests/tmin_prec.c
+++ b/tests/tmin_prec.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_min_prec.
-Copyright 2009-2016 Free Software Foundation, Inc.
+Copyright 2009-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tminmax.c b/tests/tminmax.c
index e4b6b083a..011caac7d 100644
--- a/tests/tminmax.c
+++ b/tests/tminmax.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_min & mpfr_max.
-Copyright 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tmodf.c b/tests/tmodf.c
index 62787d506..e7ca25c74 100644
--- a/tests/tmodf.c
+++ b/tests/tmodf.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_modf.
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tmul.c b/tests/tmul.c
index 658b7963d..046c1ace0 100644
--- a/tests/tmul.c
+++ b/tests/tmul.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_mul.
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tmul_2exp.c b/tests/tmul_2exp.c
index 11bb2996d..65b53dcc5 100644
--- a/tests/tmul_2exp.c
+++ b/tests/tmul_2exp.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_{mul,div}_2{ui,si}.
-Copyright 1999, 2001-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tmul_d.c b/tests/tmul_d.c
index 3659123ad..d29976146 100644
--- a/tests/tmul_d.c
+++ b/tests/tmul_d.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_mul_d
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tmul_ui.c b/tests/tmul_ui.c
index 5a72ebba7..05d48bdcb 100644
--- a/tests/tmul_ui.c
+++ b/tests/tmul_ui.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_mul_ui.
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tnext.c b/tests/tnext.c
index c65bdc38c..bfdbba7fd 100644
--- a/tests/tnext.c
+++ b/tests/tnext.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_nextabove, mpfr_nextbelow, mpfr_nexttoward.
-Copyright 2003-2016 Free Software Foundation, Inc.
+Copyright 2003-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tnrandom.c b/tests/tnrandom.c
index 81e520553..8800caf75 100644
--- a/tests/tnrandom.c
+++ b/tests/tnrandom.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_nrandom
-Copyright 2011-2016 Free Software Foundation, Inc.
+Copyright 2011-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tnrandom_chisq.c b/tests/tnrandom_chisq.c
index 7a9e9e099..009f7f875 100644
--- a/tests/tnrandom_chisq.c
+++ b/tests/tnrandom_chisq.c
@@ -1,6 +1,6 @@
/* Chi-squared test for mpfr_nrandom
-Copyright 2011-2016 Free Software Foundation, Inc.
+Copyright 2011-2017 Free Software Foundation, Inc.
Contributed by Charles Karney <charles@karney.com>, SRI International.
This file is part of the GNU MPFR Library.
diff --git a/tests/tout_str.c b/tests/tout_str.c
index 3142f2513..db2e912e6 100644
--- a/tests/tout_str.c
+++ b/tests/tout_str.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_out_str.
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/toutimpl.c b/tests/toutimpl.c
index 0bcb05125..83fbfee7e 100644
--- a/tests/toutimpl.c
+++ b/tests/toutimpl.c
@@ -1,7 +1,7 @@
/* Test file for internal debugging-out functions:
mpfr_dump, mpfr_print_binary, mpfr_print_rnd_mode.
-Copyright 2004-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tpow.c b/tests/tpow.c
index 4d7ffb9ba..d5e968b3a 100644
--- a/tests/tpow.c
+++ b/tests/tpow.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_pow, mpfr_pow_ui and mpfr_pow_si.
-Copyright 2000-2016 Free Software Foundation, Inc.
+Copyright 2000-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tpow3.c b/tests/tpow3.c
index 25a8947dc..188136749 100644
--- a/tests/tpow3.c
+++ b/tests/tpow3.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_pow.
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tpow_all.c b/tests/tpow_all.c
index f2868fbbd..5a7e9339e 100644
--- a/tests/tpow_all.c
+++ b/tests/tpow_all.c
@@ -1,6 +1,6 @@
/* Test file for the various power functions
-Copyright 2008-2016 Free Software Foundation, Inc.
+Copyright 2008-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tpow_z.c b/tests/tpow_z.c
index 3fc080c6c..36af69d1e 100644
--- a/tests/tpow_z.c
+++ b/tests/tpow_z.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_pow_z -- power function x^z with z a MPZ
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tprintf.c b/tests/tprintf.c
index fbc32734f..df3af0acf 100644
--- a/tests/tprintf.c
+++ b/tests/tprintf.c
@@ -1,6 +1,6 @@
/* tprintf.c -- test file for mpfr_printf and mpfr_vprintf
-Copyright 2008-2016 Free Software Foundation, Inc.
+Copyright 2008-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/trandom.c b/tests/trandom.c
index 337cad8b5..f81d78aaa 100644
--- a/tests/trandom.c
+++ b/tests/trandom.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_urandomb
-Copyright 1999-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 1999-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/trandom_deviate.c b/tests/trandom_deviate.c
index 78a601ad9..88f80a29a 100644
--- a/tests/trandom_deviate.c
+++ b/tests/trandom_deviate.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_random_deviate
-Copyright 2011-2016 Free Software Foundation, Inc.
+Copyright 2011-2017 Free Software Foundation, Inc.
Contributed by Charles Karney <charles@karney.com>, SRI International.
This file is part of the GNU MPFR Library.
diff --git a/tests/trec_sqrt.c b/tests/trec_sqrt.c
index 796ab3634..710b72392 100644
--- a/tests/trec_sqrt.c
+++ b/tests/trec_sqrt.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_rec_sqrt.
-Copyright 2008-2016 Free Software Foundation, Inc.
+Copyright 2008-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tremquo.c b/tests/tremquo.c
index 5bda9888b..27b34e38b 100644
--- a/tests/tremquo.c
+++ b/tests/tremquo.c
@@ -1,6 +1,6 @@
/* tremquo -- test file for mpfr_remquo, mpfr_remainder and mpfr_fmodquo.
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/trint.c b/tests/trint.c
index ed5719b51..af325c17c 100644
--- a/tests/trint.c
+++ b/tests/trint.c
@@ -1,7 +1,7 @@
/* Test file for mpfr_rint, mpfr_trunc, mpfr_floor, mpfr_ceil, mpfr_round,
mpfr_rint_trunc, mpfr_rint_floor, mpfr_rint_ceil, mpfr_rint_round.
-Copyright 2002-2016 Free Software Foundation, Inc.
+Copyright 2002-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/trndna.c b/tests/trndna.c
index 65b92ed96..cc36c3038 100644
--- a/tests/trndna.c
+++ b/tests/trndna.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_round_nearest_away.
-Copyright 2012-2016 Free Software Foundation, Inc.
+Copyright 2012-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/troot.c b/tests/troot.c
index d7ec9c84b..0337e71b4 100644
--- a/tests/troot.c
+++ b/tests/troot.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_root.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tround_prec.c b/tests/tround_prec.c
index 5d7d5d497..738b7997e 100644
--- a/tests/tround_prec.c
+++ b/tests/tround_prec.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_prec_round.
-Copyright 1999-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 1999-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tsec.c b/tests/tsec.c
index d00b51db8..e03468603 100644
--- a/tests/tsec.c
+++ b/tests/tsec.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_sec.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tsech.c b/tests/tsech.c
index f3929e7a9..0917a70ea 100644
--- a/tests/tsech.c
+++ b/tests/tsech.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_sech.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tset.c b/tests/tset.c
index f25df8272..0777a9d51 100644
--- a/tests/tset.c
+++ b/tests/tset.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_set.
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tset_d.c b/tests/tset_d.c
index 04e3e02d9..3da550788 100644
--- a/tests/tset_d.c
+++ b/tests/tset_d.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_set_d and mpfr_get_d.
-Copyright 1999-2016 Free Software Foundation, Inc.
+Copyright 1999-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tset_exp.c b/tests/tset_exp.c
index bf03e95d5..a44fcc4a0 100644
--- a/tests/tset_exp.c
+++ b/tests/tset_exp.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_set_exp.
-Copyright 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tset_f.c b/tests/tset_f.c
index 38736f7fd..90193e1c8 100644
--- a/tests/tset_f.c
+++ b/tests/tset_f.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_set_f.
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tset_float128.c b/tests/tset_float128.c
index a325ceecc..7d6b0a7a5 100644
--- a/tests/tset_float128.c
+++ b/tests/tset_float128.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_set_float128 and mpfr_get_float128.
-Copyright 2012-2016 Free Software Foundation, Inc.
+Copyright 2012-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tset_ld.c b/tests/tset_ld.c
index fd7959f5b..b0e1d9e08 100644
--- a/tests/tset_ld.c
+++ b/tests/tset_ld.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_set_ld and mpfr_get_ld.
-Copyright 2002-2016 Free Software Foundation, Inc.
+Copyright 2002-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tset_q.c b/tests/tset_q.c
index dd4936f21..cb2d67320 100644
--- a/tests/tset_q.c
+++ b/tests/tset_q.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_set_q.
-Copyright 2000-2016 Free Software Foundation, Inc.
+Copyright 2000-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tset_si.c b/tests/tset_si.c
index a2cd1ca47..f4694c828 100644
--- a/tests/tset_si.c
+++ b/tests/tset_si.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_set_si, mpfr_set_ui, mpfr_get_si and mpfr_get_ui.
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tset_sj.c b/tests/tset_sj.c
index a7b8299d2..4c8940c32 100644
--- a/tests/tset_sj.c
+++ b/tests/tset_sj.c
@@ -1,7 +1,7 @@
/* Test file for
mpfr_set_sj, mpfr_set_uj, mpfr_set_sj_2exp and mpfr_set_uj_2exp.
-Copyright 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tset_str.c b/tests/tset_str.c
index 4fa1eac19..e6852d562 100644
--- a/tests/tset_str.c
+++ b/tests/tset_str.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_set_str.
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tset_z.c b/tests/tset_z.c
index 7cc649960..ddbb87ac5 100644
--- a/tests/tset_z.c
+++ b/tests/tset_z.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_set_z.
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tset_z_exp.c b/tests/tset_z_exp.c
index 54ab9d35b..4ec81c531 100644
--- a/tests/tset_z_exp.c
+++ b/tests/tset_z_exp.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_set_z_2exp.
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tsgn.c b/tests/tsgn.c
index c98533278..67c2f27fe 100644
--- a/tests/tsgn.c
+++ b/tests/tsgn.c
@@ -1,6 +1,6 @@
/* tsgn -- Test for the sign of a floating point number.
-Copyright 2003, 2006-2016 Free Software Foundation, Inc.
+Copyright 2003, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tsi_op.c b/tests/tsi_op.c
index 6442a6663..88f1432f0 100644
--- a/tests/tsi_op.c
+++ b/tests/tsi_op.c
@@ -1,7 +1,7 @@
/* Test file for mpfr_add_si, mpfr_sub_si, mpfr_si_sub, mpfr_mul_si,
mpfr_div_si, mpfr_si_div
-Copyright 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tsin.c b/tests/tsin.c
index f1bd7d0ad..324af4225 100644
--- a/tests/tsin.c
+++ b/tests/tsin.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_sin.
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tsin_cos.c b/tests/tsin_cos.c
index 3aa0bd7c7..8608a8467 100644
--- a/tests/tsin_cos.c
+++ b/tests/tsin_cos.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_sin_cos.
-Copyright 2000-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2000-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tsinh.c b/tests/tsinh.c
index a311351b2..852f7fd6c 100644
--- a/tests/tsinh.c
+++ b/tests/tsinh.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_sinh.
-Copyright 2001-2002, 2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2001-2002, 2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tsinh_cosh.c b/tests/tsinh_cosh.c
index fa25ffed6..b7a2120a0 100644
--- a/tests/tsinh_cosh.c
+++ b/tests/tsinh_cosh.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_sinh_cosh.
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tsprintf.c b/tests/tsprintf.c
index deeef35c6..7d0115e37 100644
--- a/tests/tsprintf.c
+++ b/tests/tsprintf.c
@@ -1,7 +1,7 @@
/* tsprintf.c -- test file for mpfr_sprintf, mpfr_vsprintf, mpfr_snprintf,
and mpfr_vsnprintf
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tsqr.c b/tests/tsqr.c
index c8c851a82..864a5beae 100644
--- a/tests/tsqr.c
+++ b/tests/tsqr.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_sqr.
-Copyright 2004-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tsqrt.c b/tests/tsqrt.c
index c19b1a065..135b9fe1e 100644
--- a/tests/tsqrt.c
+++ b/tests/tsqrt.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_sqrt.
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tsqrt_ui.c b/tests/tsqrt_ui.c
index b7ee3c6e5..2ef45caca 100644
--- a/tests/tsqrt_ui.c
+++ b/tests/tsqrt_ui.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_sqrt_ui.
-Copyright 2000-2003, 2006-2016 Free Software Foundation, Inc.
+Copyright 2000-2003, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tstckintc.c b/tests/tstckintc.c
index 79de34760..b5d4ebe56 100644
--- a/tests/tstckintc.c
+++ b/tests/tstckintc.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_custom_*
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tstdint.c b/tests/tstdint.c
index 9cc727596..5103335ef 100644
--- a/tests/tstdint.c
+++ b/tests/tstdint.c
@@ -1,6 +1,6 @@
/* Test file for multiple mpfr.h inclusion and intmax_t related functions
-Copyright 2010-2016 Free Software Foundation, Inc.
+Copyright 2010-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tstrtofr.c b/tests/tstrtofr.c
index 4062725eb..e21f11add 100644
--- a/tests/tstrtofr.c
+++ b/tests/tstrtofr.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_set_str.
-Copyright 2004-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tsub.c b/tests/tsub.c
index f008907ba..34779d6ba 100644
--- a/tests/tsub.c
+++ b/tests/tsub.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_sub.
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tsub1sp.c b/tests/tsub1sp.c
index 95e096578..2f4afabac 100644
--- a/tests/tsub1sp.c
+++ b/tests/tsub1sp.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_sub1sp.
-Copyright 2003-2016 Free Software Foundation, Inc.
+Copyright 2003-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tsub_d.c b/tests/tsub_d.c
index 57a125505..257182e5b 100644
--- a/tests/tsub_d.c
+++ b/tests/tsub_d.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_sub_d
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tsub_ui.c b/tests/tsub_ui.c
index d9401a0a2..a32606d21 100644
--- a/tests/tsub_ui.c
+++ b/tests/tsub_ui.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_sub_ui
-Copyright 2000-2016 Free Software Foundation, Inc.
+Copyright 2000-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tsubnormal.c b/tests/tsubnormal.c
index e3a0dcb9b..2f86045dd 100644
--- a/tests/tsubnormal.c
+++ b/tests/tsubnormal.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_subnormalize.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tsum.c b/tests/tsum.c
index b96d864ff..05d7f64b6 100644
--- a/tests/tsum.c
+++ b/tests/tsum.c
@@ -1,6 +1,6 @@
/* tsum -- test file for the list summation function
-Copyright 2004-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tswap.c b/tests/tswap.c
index 6ed400db7..312167cc6 100644
--- a/tests/tswap.c
+++ b/tests/tswap.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_swap.
-Copyright 2000-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2000-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/ttan.c b/tests/ttan.c
index d57059cde..73a1b532a 100644
--- a/tests/ttan.c
+++ b/tests/ttan.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_tan.
-Copyright 2001-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 2001-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/ttanh.c b/tests/ttanh.c
index a8110c764..90798d3ff 100644
--- a/tests/ttanh.c
+++ b/tests/ttanh.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_tanh.
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/ttrunc.c b/tests/ttrunc.c
index be0edd816..68758731b 100644
--- a/tests/ttrunc.c
+++ b/tests/ttrunc.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_trunc, mpfr_ceil, mpfr_floor.
-Copyright 1999-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 1999-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tui_div.c b/tests/tui_div.c
index f3ef8a549..5a013a6e9 100644
--- a/tests/tui_div.c
+++ b/tests/tui_div.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_ui_div.
-Copyright 2000-2016 Free Software Foundation, Inc.
+Copyright 2000-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tui_pow.c b/tests/tui_pow.c
index 3ee74118d..8cc965c85 100644
--- a/tests/tui_pow.c
+++ b/tests/tui_pow.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_ui_pow and mpfr_ui_pow_ui.
-Copyright 2001-2016 Free Software Foundation, Inc.
+Copyright 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tui_sub.c b/tests/tui_sub.c
index cc0c31071..ef7bdb258 100644
--- a/tests/tui_sub.c
+++ b/tests/tui_sub.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_ui_sub.
-Copyright 2000-2016 Free Software Foundation, Inc.
+Copyright 2000-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/turandom.c b/tests/turandom.c
index 7096b244d..186733b04 100644
--- a/tests/turandom.c
+++ b/tests/turandom.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_urandom
-Copyright 1999-2004, 2006-2016 Free Software Foundation, Inc.
+Copyright 1999-2004, 2006-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tvalist.c b/tests/tvalist.c
index f20f9569c..78162a3d0 100644
--- a/tests/tvalist.c
+++ b/tests/tvalist.c
@@ -1,6 +1,6 @@
/* Test file for multiple mpfr.h inclusion and va_list related functions
-Copyright 2011-2016 Free Software Foundation, Inc.
+Copyright 2011-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tversion.c b/tests/tversion.c
index 723791b47..7c5263945 100644
--- a/tests/tversion.c
+++ b/tests/tversion.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_version.
-Copyright 2004-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/ty0.c b/tests/ty0.c
index 72a4d9fd3..1418a1bc3 100644
--- a/tests/ty0.c
+++ b/tests/ty0.c
@@ -1,6 +1,6 @@
/* ty0 -- test file for the Bessel function of second kind (order 0)
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/ty1.c b/tests/ty1.c
index 28d32c1bf..3c9f8b615 100644
--- a/tests/ty1.c
+++ b/tests/ty1.c
@@ -1,6 +1,6 @@
/* ty1 -- test file for the Bessel function of second kind (order 1)
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tyn.c b/tests/tyn.c
index ccbdcdc7d..b4899f05a 100644
--- a/tests/tyn.c
+++ b/tests/tyn.c
@@ -1,6 +1,6 @@
/* tyn -- test file for the Bessel function of second kind
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tzeta.c b/tests/tzeta.c
index 596e98824..542eabf80 100644
--- a/tests/tzeta.c
+++ b/tests/tzeta.c
@@ -1,6 +1,6 @@
/* tzeta -- test file for the Riemann Zeta function
-Copyright 2003-2016 Free Software Foundation, Inc.
+Copyright 2003-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tests/tzeta_ui.c b/tests/tzeta_ui.c
index ddaa4e5b8..94c078946 100644
--- a/tests/tzeta_ui.c
+++ b/tests/tzeta_ui.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_zeta_ui.
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tools/bench/Makefile.am b/tools/bench/Makefile.am
index 9ed2a3338..39e796696 100644
--- a/tools/bench/Makefile.am
+++ b/tools/bench/Makefile.am
@@ -1,4 +1,4 @@
-# Copyright 2000-2016 Free Software Foundation, Inc.
+# Copyright 2000-2017 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.
diff --git a/tools/bench/benchtime.h b/tools/bench/benchtime.h
index 63afc51d5..256f59b3e 100644
--- a/tools/bench/benchtime.h
+++ b/tools/bench/benchtime.h
@@ -1,6 +1,6 @@
/* benchtime.h -- header file for MPFRbench
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tools/bench/mpfrbench.c b/tools/bench/mpfrbench.c
index 7b8f48ca8..76fdbde85 100644
--- a/tools/bench/mpfrbench.c
+++ b/tools/bench/mpfrbench.c
@@ -1,6 +1,6 @@
/* mpfrbench.c -- compute the timings for the MPFRbench benchmark
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tools/ck-clz_tab b/tools/ck-clz_tab
index 5e68a49fa..8fc3310f2 100755
--- a/tools/ck-clz_tab
+++ b/tools/ck-clz_tab
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2016 Free Software Foundation, Inc.
+# Copyright 2016-2017 Free Software Foundation, Inc.
# This script 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.
diff --git a/tools/ck-copyright-notice b/tools/ck-copyright-notice
index 860023001..95e0f3f2d 100755
--- a/tools/ck-copyright-notice
+++ b/tools/ck-copyright-notice
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2008-2016 Free Software Foundation, Inc.
+# Copyright 2008-2017 Free Software Foundation, Inc.
# This script 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.
diff --git a/tools/ck-mparam b/tools/ck-mparam
index ad9e49822..3878dcf23 100755
--- a/tools/ck-mparam
+++ b/tools/ck-mparam
@@ -3,7 +3,7 @@
# Check the mparam.h files. This script is useful as not all mparam.h
# files may be tested by our tests.
-# Copyright 2011-2016 Free Software Foundation, Inc.
+# Copyright 2011-2017 Free Software Foundation, Inc.
# This script 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.
diff --git a/tools/ck-news b/tools/ck-news
index a7a518bb6..7b4627ad4 100755
--- a/tools/ck-news
+++ b/tools/ck-news
@@ -3,7 +3,7 @@
# Note: this script must not be used to build MPFR due to the
# dependency on perl, but this is OK for "make dist".
-# Copyright 2016 Free Software Foundation, Inc.
+# Copyright 2016-2017 Free Software Foundation, Inc.
# This script 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.
diff --git a/tools/ck-version-info b/tools/ck-version-info
index 54021f919..02538c8a8 100755
--- a/tools/ck-version-info
+++ b/tools/ck-version-info
@@ -3,7 +3,7 @@
# Note: this script must not be used to build MPFR due to the
# dependency on perl, but this is OK for "make dist".
-# Copyright 2010-2016 Free Software Foundation, Inc.
+# Copyright 2010-2017 Free Software Foundation, Inc.
# This script 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.
diff --git a/tools/get_patches.sh b/tools/get_patches.sh
index 5ae9aba4f..98a54080f 100755
--- a/tools/get_patches.sh
+++ b/tools/get_patches.sh
@@ -3,7 +3,7 @@
cat <<EOF
/* mpfr_get_patches -- Patches that have been applied
-Copyright 2007-2016 Free Software Foundation, Inc.
+Copyright 2007-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tune/Makefile.am b/tune/Makefile.am
index c35ac6cc3..7347a8566 100644
--- a/tune/Makefile.am
+++ b/tune/Makefile.am
@@ -1,4 +1,4 @@
-# Copyright 2010-2016 Free Software Foundation, Inc.
+# Copyright 2010-2017 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.
diff --git a/tune/bidimensional_sample.c b/tune/bidimensional_sample.c
index b7c9ff67f..b622d14df 100644
--- a/tune/bidimensional_sample.c
+++ b/tune/bidimensional_sample.c
@@ -1,6 +1,6 @@
/* [Description]
-Copyright 2010-2016 Free Software Foundation, Inc.
+Copyright 2010-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tune/speed.c b/tune/speed.c
index 4d46a575f..39c8ee9d0 100644
--- a/tune/speed.c
+++ b/tune/speed.c
@@ -1,6 +1,6 @@
/* Tune various threshold of MPFR
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
diff --git a/tune/tuneup.c b/tune/tuneup.c
index 679489577..d9a5b9de0 100644
--- a/tune/tuneup.c
+++ b/tune/tuneup.c
@@ -1,6 +1,6 @@
/* Tune various threshold of MPFR
-Copyright 2005-2016 Free Software Foundation, Inc.
+Copyright 2005-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.