Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/lgpl3/mpfr/dist import mpfr 4.0.1. main changes si...
details: https://anonhg.NetBSD.org/src/rev/ea64147dbfdd
branches: trunk
changeset: 993307:ea64147dbfdd
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Sep 04 05:02:00 2018 +0000
description:
import mpfr 4.0.1. main changes since 3.1.5 are:
Changes from version 4.0.0 to version 4.0.1:
- Bug fixes (see ChangeLog file), in particular in mpfr_div_ui, which
could yield an incorrectly rounded result to nearest when using
different precisions; this bug had been present since the introduction
of mpfr_div_ui, and in MPFR 4.0.0, it was affecting mpfr_div too.
Changes from versions 3.1.* to version 4.0.0:
- Partial support of MPFR_RNDF (faithful rounding).
- New functions: mpfr_fpif_export and mpfr_fpif_import to export and import
numbers in a floating-point interchange format, independent both on the
number of bits per word and on the endianness.
- New function mpfr_fmodquo to return the low bits of the quotient
corresponding to mpfr_fmod.
- New functions mpfr_flags_clear, mpfr_flags_set, mpfr_flags_test,
mpfr_flags_save and mpfr_flags_restore to operate on groups of flags.
- New functions mpfr_set_float128 and mpfr_get_float128 to convert from/to
the __float128 type (requires --enable-float128 and compiler support).
- New functions mpfr_buildopt_float128_p and mpfr_buildopt_sharedcache_p.
- New functions mpfr_rint_roundeven and mpfr_roundeven, completing the
other similar round-to-integer functions for rounding to nearest with
the even-rounding rule.
- New macro mpfr_round_nearest_away to add partial emulation of the
rounding to nearest-away (as defined in IEEE 754-2008).
- New functions mpfr_nrandom and mpfr_erandom to generate random numbers
following normal and exponential distributions respectively.
- New functions mpfr_fmma and mpfr_fmms to compute a*b+c*d and a*b-c*d.
- New function mpfr_rootn_ui, similar to mpfr_root, but agreeing with the
rootn function of the IEEE 754-2008 standard.
- New functions mpfr_log_ui to compute the logarithm of an integer,
mpfr_gamma_inc for the incomplete Gamma function.
- New function mpfr_beta for the Beta function (incomplete, experimental).
- New function mpfr_get_q to convert a floating-point number into rational.
- Dropped K&R C compatibility.
- Major speedup in mpfr_add, mpfr_sub, mpfr_mul, mpfr_div and mpfr_sqrt when
all operands have the same precision and this precision is less than twice
the number of bits per word, e.g., less than 128 on a 64-bit computer.
- Speedup by a factor of almost 2 in the double <--> mpfr conversions
(mpfr_set_d and mpfr_get_d).
- Speedup in mpfr_log1p and mpfr_atanh for small arguments.
- Speedup in the mpfr_const_euler function (contributed by Fredrik Johansson),
in the computation of Bernoulli numbers (used in mpfr_gamma, mpfr_li2,
mpfr_digamma, mpfr_lngamma and mpfr_lgamma), in mpfr_div, in mpfr_fma
and mpfr_fms.
diffstat:
external/lgpl3/mpfr/dist/AUTHORS | 3 +
external/lgpl3/mpfr/dist/BUGS | 7 +-
external/lgpl3/mpfr/dist/ChangeLog | 34475 ++++++++++++--
external/lgpl3/mpfr/dist/INSTALL | 115 +-
external/lgpl3/mpfr/dist/Makefile.am | 33 +-
external/lgpl3/mpfr/dist/NEWS | 143 +-
external/lgpl3/mpfr/dist/README | 9 +-
external/lgpl3/mpfr/dist/TODO | 318 +-
external/lgpl3/mpfr/dist/acinclude.m4 | 549 +-
external/lgpl3/mpfr/dist/aclocal.m4 | 535 +-
external/lgpl3/mpfr/dist/ar-lib | 2 +-
external/lgpl3/mpfr/dist/configure | 6957 +-
external/lgpl3/mpfr/dist/configure.ac | 390 +-
external/lgpl3/mpfr/dist/depcomp | 6 +-
external/lgpl3/mpfr/dist/doc/FAQ.html | 12 +-
external/lgpl3/mpfr/dist/doc/Makefile.am | 2 +-
external/lgpl3/mpfr/dist/doc/Makefile.in | 14 +-
external/lgpl3/mpfr/dist/doc/README.dev | 1562 +
external/lgpl3/mpfr/dist/doc/check-typography | 36 +
external/lgpl3/mpfr/dist/doc/mpfr.info | Bin
external/lgpl3/mpfr/dist/doc/mpfr.texi | 1346 +-
external/lgpl3/mpfr/dist/doc/texinfo.tex | 5398 +-
external/lgpl3/mpfr/dist/examples/can_round.c | 64 +
external/lgpl3/mpfr/dist/examples/divworst.c | 2 +-
external/lgpl3/mpfr/dist/examples/rndo-add.c | 2 +-
external/lgpl3/mpfr/dist/examples/sample.c | 2 +-
external/lgpl3/mpfr/dist/examples/version.c | 10 +-
external/lgpl3/mpfr/dist/mpfr.pc.in | 11 +
external/lgpl3/mpfr/dist/src/Makefile.am | 70 +-
external/lgpl3/mpfr/dist/src/abort_prec_max.c | 7 +-
external/lgpl3/mpfr/dist/src/acos.c | 4 +-
external/lgpl3/mpfr/dist/src/acosh.c | 4 +-
external/lgpl3/mpfr/dist/src/add.c | 35 +-
external/lgpl3/mpfr/dist/src/add1.c | 106 +-
external/lgpl3/mpfr/dist/src/add1sp.c | 807 +-
external/lgpl3/mpfr/dist/src/add_d.c | 10 +-
external/lgpl3/mpfr/dist/src/add_ui.c | 72 +-
external/lgpl3/mpfr/dist/src/agm.c | 13 +-
external/lgpl3/mpfr/dist/src/ai.c | 77 +-
external/lgpl3/mpfr/dist/src/amd/amdfam10/mparam.h | 2 +-
external/lgpl3/mpfr/dist/src/amd/athlon/mparam.h | 2 +-
external/lgpl3/mpfr/dist/src/amd/k8/mparam.h | 2 +-
external/lgpl3/mpfr/dist/src/arm/mparam.h | 2 +-
external/lgpl3/mpfr/dist/src/asin.c | 2 +-
external/lgpl3/mpfr/dist/src/asinh.c | 4 +-
external/lgpl3/mpfr/dist/src/atan.c | 196 +-
external/lgpl3/mpfr/dist/src/atan2.c | 11 +-
external/lgpl3/mpfr/dist/src/atanh.c | 119 +-
external/lgpl3/mpfr/dist/src/bernoulli.c | 261 +-
external/lgpl3/mpfr/dist/src/beta.c | 345 +
external/lgpl3/mpfr/dist/src/buildopt.c | 27 +-
external/lgpl3/mpfr/dist/src/cache.c | 77 +-
external/lgpl3/mpfr/dist/src/cbrt.c | 2 +-
external/lgpl3/mpfr/dist/src/check.c | 69 +-
external/lgpl3/mpfr/dist/src/clear.c | 6 +-
external/lgpl3/mpfr/dist/src/clears.c | 6 +-
external/lgpl3/mpfr/dist/src/cmp.c | 10 +-
external/lgpl3/mpfr/dist/src/cmp2.c | 47 +-
external/lgpl3/mpfr/dist/src/cmp_abs.c | 4 +-
external/lgpl3/mpfr/dist/src/cmp_d.c | 8 +-
external/lgpl3/mpfr/dist/src/cmp_ld.c | 14 +-
external/lgpl3/mpfr/dist/src/cmp_si.c | 4 +-
external/lgpl3/mpfr/dist/src/cmp_ui.c | 4 +-
external/lgpl3/mpfr/dist/src/comparisons.c | 2 +-
external/lgpl3/mpfr/dist/src/const_catalan.c | 12 +-
external/lgpl3/mpfr/dist/src/const_euler.c | 363 +-
external/lgpl3/mpfr/dist/src/const_log2.c | 64 +-
external/lgpl3/mpfr/dist/src/const_pi.c | 45 +-
external/lgpl3/mpfr/dist/src/constant.c | 39 +-
external/lgpl3/mpfr/dist/src/copysign.c | 2 +-
external/lgpl3/mpfr/dist/src/cos.c | 8 +-
external/lgpl3/mpfr/dist/src/cosh.c | 4 +-
external/lgpl3/mpfr/dist/src/cot.c | 6 +-
external/lgpl3/mpfr/dist/src/coth.c | 8 +-
external/lgpl3/mpfr/dist/src/csc.c | 4 +-
external/lgpl3/mpfr/dist/src/csch.c | 4 +-
external/lgpl3/mpfr/dist/src/d_div.c | 10 +-
external/lgpl3/mpfr/dist/src/d_sub.c | 10 +-
external/lgpl3/mpfr/dist/src/digamma.c | 47 +-
external/lgpl3/mpfr/dist/src/dim.c | 2 +-
external/lgpl3/mpfr/dist/src/div.c | 863 +-
external/lgpl3/mpfr/dist/src/div_2exp.c | 2 +-
external/lgpl3/mpfr/dist/src/div_2si.c | 4 +-
external/lgpl3/mpfr/dist/src/div_2ui.c | 2 +-
external/lgpl3/mpfr/dist/src/div_d.c | 10 +-
external/lgpl3/mpfr/dist/src/div_ui.c | 238 +-
external/lgpl3/mpfr/dist/src/dump.c | 112 +-
external/lgpl3/mpfr/dist/src/eint.c | 159 +-
external/lgpl3/mpfr/dist/src/eq.c | 2 +-
external/lgpl3/mpfr/dist/src/erandom.c | 105 +
external/lgpl3/mpfr/dist/src/erf.c | 40 +-
external/lgpl3/mpfr/dist/src/erfc.c | 16 +-
external/lgpl3/mpfr/dist/src/exceptions.c | 200 +-
external/lgpl3/mpfr/dist/src/exp.c | 121 +-
external/lgpl3/mpfr/dist/src/exp10.c | 2 +-
external/lgpl3/mpfr/dist/src/exp2.c | 65 +-
external/lgpl3/mpfr/dist/src/exp3.c | 30 +-
external/lgpl3/mpfr/dist/src/exp_2.c | 179 +-
external/lgpl3/mpfr/dist/src/expm1.c | 18 +-
external/lgpl3/mpfr/dist/src/extract.c | 14 +-
external/lgpl3/mpfr/dist/src/factorial.c | 9 +-
external/lgpl3/mpfr/dist/src/fits_intmax.c | 12 +-
external/lgpl3/mpfr/dist/src/fits_s.h | 7 +-
external/lgpl3/mpfr/dist/src/fits_sint.c | 2 +-
external/lgpl3/mpfr/dist/src/fits_slong.c | 2 +-
external/lgpl3/mpfr/dist/src/fits_sshort.c | 2 +-
external/lgpl3/mpfr/dist/src/fits_u.h | 7 +-
external/lgpl3/mpfr/dist/src/fits_uint.c | 2 +-
external/lgpl3/mpfr/dist/src/fits_uintmax.c | 4 +-
external/lgpl3/mpfr/dist/src/fits_ulong.c | 2 +-
external/lgpl3/mpfr/dist/src/fits_ushort.c | 2 +-
external/lgpl3/mpfr/dist/src/fma.c | 219 +-
external/lgpl3/mpfr/dist/src/fmma.c | 91 +
external/lgpl3/mpfr/dist/src/fms.c | 276 +-
external/lgpl3/mpfr/dist/src/fpif.c | 651 +
external/lgpl3/mpfr/dist/src/frac.c | 6 +-
external/lgpl3/mpfr/dist/src/free_cache.c | 79 +-
external/lgpl3/mpfr/dist/src/frexp.c | 4 +-
external/lgpl3/mpfr/dist/src/gamma.c | 111 +-
external/lgpl3/mpfr/dist/src/gamma_inc.c | 504 +
external/lgpl3/mpfr/dist/src/gammaonethird.c | 2 +-
external/lgpl3/mpfr/dist/src/gen_inverse.h | 2 +-
external/lgpl3/mpfr/dist/src/generic/coverage/mparam.h | 225 +
external/lgpl3/mpfr/dist/src/generic/mparam.h | 2 +-
external/lgpl3/mpfr/dist/src/get_d.c | 5 +-
external/lgpl3/mpfr/dist/src/get_d64.c | 224 +-
external/lgpl3/mpfr/dist/src/get_exp.c | 2 +-
external/lgpl3/mpfr/dist/src/get_f.c | 11 +-
external/lgpl3/mpfr/dist/src/get_float128.c | 129 +
external/lgpl3/mpfr/dist/src/get_flt.c | 7 +-
external/lgpl3/mpfr/dist/src/get_ld.c | 229 +-
external/lgpl3/mpfr/dist/src/get_patches.c | 2 +-
external/lgpl3/mpfr/dist/src/get_q.c | 63 +
external/lgpl3/mpfr/dist/src/get_si.c | 21 +-
external/lgpl3/mpfr/dist/src/get_sj.c | 33 +-
external/lgpl3/mpfr/dist/src/get_str.c | 406 +-
external/lgpl3/mpfr/dist/src/get_ui.c | 13 +-
external/lgpl3/mpfr/dist/src/get_uj.c | 17 +-
external/lgpl3/mpfr/dist/src/get_z.c | 14 +-
external/lgpl3/mpfr/dist/src/get_z_exp.c | 13 +-
external/lgpl3/mpfr/dist/src/gmp_op.c | 46 +-
external/lgpl3/mpfr/dist/src/grandom.c | 4 +-
external/lgpl3/mpfr/dist/src/hppa/mparam.h | 2 +-
external/lgpl3/mpfr/dist/src/hypot.c | 44 +-
external/lgpl3/mpfr/dist/src/ia64/mparam.h | 2 +-
external/lgpl3/mpfr/dist/src/ieee_floats.h | 41 +-
external/lgpl3/mpfr/dist/src/init.c | 2 +-
external/lgpl3/mpfr/dist/src/init2.c | 35 +-
external/lgpl3/mpfr/dist/src/inits.c | 6 +-
external/lgpl3/mpfr/dist/src/inits2.c | 6 +-
external/lgpl3/mpfr/dist/src/inp_str.c | 8 +-
external/lgpl3/mpfr/dist/src/int_ceil_log2.c | 2 +-
external/lgpl3/mpfr/dist/src/invert_limb.h | 233 +
external/lgpl3/mpfr/dist/src/invsqrt_limb.h | 365 +
external/lgpl3/mpfr/dist/src/isinf.c | 2 +-
external/lgpl3/mpfr/dist/src/isinteger.c | 2 +-
external/lgpl3/mpfr/dist/src/isnan.c | 2 +-
external/lgpl3/mpfr/dist/src/isnum.c | 2 +-
external/lgpl3/mpfr/dist/src/isqrt.c | 2 +-
external/lgpl3/mpfr/dist/src/isregular.c | 2 +-
external/lgpl3/mpfr/dist/src/iszero.c | 2 +-
external/lgpl3/mpfr/dist/src/jn.c | 17 +-
external/lgpl3/mpfr/dist/src/jyn_asympt.c | 8 +-
external/lgpl3/mpfr/dist/src/li2.c | 37 +-
external/lgpl3/mpfr/dist/src/lngamma.c | 247 +-
external/lgpl3/mpfr/dist/src/log.c | 46 +-
external/lgpl3/mpfr/dist/src/log10.c | 8 +-
external/lgpl3/mpfr/dist/src/log1p.c | 119 +-
external/lgpl3/mpfr/dist/src/log2.c | 8 +-
external/lgpl3/mpfr/dist/src/log_ui.c | 234 +
external/lgpl3/mpfr/dist/src/logging.c | 12 +-
external/lgpl3/mpfr/dist/src/min_prec.c | 2 +-
external/lgpl3/mpfr/dist/src/minmax.c | 2 +-
external/lgpl3/mpfr/dist/src/mips/mparam.h | 234 +
external/lgpl3/mpfr/dist/src/modf.c | 2 +-
external/lgpl3/mpfr/dist/src/mp_clz_tab.c | 10 +-
external/lgpl3/mpfr/dist/src/mparam_h.in | 15 +-
external/lgpl3/mpfr/dist/src/mpf2mpfr.h | 25 +-
external/lgpl3/mpfr/dist/src/mpfr-cvers.h | 62 +
external/lgpl3/mpfr/dist/src/mpfr-gmp.c | 88 +-
external/lgpl3/mpfr/dist/src/mpfr-gmp.h | 547 +-
external/lgpl3/mpfr/dist/src/mpfr-impl.h | 1398 +-
external/lgpl3/mpfr/dist/src/mpfr-intmax.h | 34 +-
external/lgpl3/mpfr/dist/src/mpfr-mini-gmp.c | 211 +
external/lgpl3/mpfr/dist/src/mpfr-mini-gmp.h | 141 +
external/lgpl3/mpfr/dist/src/mpfr-sassert.h | 75 +
external/lgpl3/mpfr/dist/src/mpfr-thread.h | 221 +-
external/lgpl3/mpfr/dist/src/mpfr.h | 1042 +-
external/lgpl3/mpfr/dist/src/mpn_exp.c | 6 +-
external/lgpl3/mpfr/dist/src/mul.c | 591 +-
external/lgpl3/mpfr/dist/src/mul_2exp.c | 2 +-
external/lgpl3/mpfr/dist/src/mul_2si.c | 2 +-
external/lgpl3/mpfr/dist/src/mul_2ui.c | 4 +-
external/lgpl3/mpfr/dist/src/mul_d.c | 10 +-
external/lgpl3/mpfr/dist/src/mul_ui.c | 23 +-
external/lgpl3/mpfr/dist/src/mulders.c | 65 +-
external/lgpl3/mpfr/dist/src/neg.c | 13 +-
external/lgpl3/mpfr/dist/src/next.c | 55 +-
external/lgpl3/mpfr/dist/src/nrandom.c | 183 +
external/lgpl3/mpfr/dist/src/odd_p.c | 73 +
external/lgpl3/mpfr/dist/src/out_str.c | 4 +-
external/lgpl3/mpfr/dist/src/pool.c | 117 +
external/lgpl3/mpfr/dist/src/pow.c | 209 +-
external/lgpl3/mpfr/dist/src/pow_si.c | 10 +-
external/lgpl3/mpfr/dist/src/pow_ui.c | 2 +-
external/lgpl3/mpfr/dist/src/pow_z.c | 16 +-
external/lgpl3/mpfr/dist/src/powerof2.c | 2 +-
external/lgpl3/mpfr/dist/src/powerpc32/mparam.h | 2 +-
external/lgpl3/mpfr/dist/src/powerpc64/mparam.h | 2 +-
external/lgpl3/mpfr/dist/src/print_raw.c | 111 +-
external/lgpl3/mpfr/dist/src/print_rnd_mode.c | 6 +-
external/lgpl3/mpfr/dist/src/printf.c | 72 +-
external/lgpl3/mpfr/dist/src/random_deviate.c | 384 +
external/lgpl3/mpfr/dist/src/random_deviate.h | 86 +
external/lgpl3/mpfr/dist/src/rec_sqrt.c | 27 +-
external/lgpl3/mpfr/dist/src/reldiff.c | 2 +-
external/lgpl3/mpfr/dist/src/rem1.c | 9 +-
external/lgpl3/mpfr/dist/src/rint.c | 48 +-
external/lgpl3/mpfr/dist/src/rndna.c | 193 +
external/lgpl3/mpfr/dist/src/root.c | 70 +-
external/lgpl3/mpfr/dist/src/round_near_x.c | 13 +-
external/lgpl3/mpfr/dist/src/round_p.c | 18 +-
external/lgpl3/mpfr/dist/src/round_prec.c | 52 +-
external/lgpl3/mpfr/dist/src/round_raw_generic.c | 121 +-
external/lgpl3/mpfr/dist/src/scale2.c | 10 +-
external/lgpl3/mpfr/dist/src/sec.c | 2 +-
external/lgpl3/mpfr/dist/src/sech.c | 2 +-
external/lgpl3/mpfr/dist/src/set.c | 129 +-
external/lgpl3/mpfr/dist/src/set_d.c | 147 +-
external/lgpl3/mpfr/dist/src/set_d64.c | 227 +-
external/lgpl3/mpfr/dist/src/set_dfl_prec.c | 15 +-
external/lgpl3/mpfr/dist/src/set_exp.c | 6 +-
external/lgpl3/mpfr/dist/src/set_f.c | 14 +-
external/lgpl3/mpfr/dist/src/set_float128.c | 139 +
external/lgpl3/mpfr/dist/src/set_flt.c | 2 +-
external/lgpl3/mpfr/dist/src/set_inf.c | 2 +-
external/lgpl3/mpfr/dist/src/set_ld.c | 273 +-
external/lgpl3/mpfr/dist/src/set_nan.c | 2 +-
external/lgpl3/mpfr/dist/src/set_prc_raw.c | 4 +-
external/lgpl3/mpfr/dist/src/set_prec.c | 15 +-
external/lgpl3/mpfr/dist/src/set_q.c | 8 +-
external/lgpl3/mpfr/dist/src/set_rnd.c | 12 +-
external/lgpl3/mpfr/dist/src/set_si.c | 2 +-
external/lgpl3/mpfr/dist/src/set_si_2exp.c | 4 +-
external/lgpl3/mpfr/dist/src/set_sj.c | 4 +-
external/lgpl3/mpfr/dist/src/set_str.c | 2 +-
external/lgpl3/mpfr/dist/src/set_str_raw.c | 2 +-
external/lgpl3/mpfr/dist/src/set_ui.c | 2 +-
external/lgpl3/mpfr/dist/src/set_ui_2exp.c | 8 +-
external/lgpl3/mpfr/dist/src/set_uj.c | 58 +-
external/lgpl3/mpfr/dist/src/set_z.c | 2 +-
external/lgpl3/mpfr/dist/src/set_z_exp.c | 12 +-
external/lgpl3/mpfr/dist/src/set_zero.c | 2 +-
external/lgpl3/mpfr/dist/src/setmax.c | 6 +-
external/lgpl3/mpfr/dist/src/setmin.c | 2 +-
external/lgpl3/mpfr/dist/src/setsign.c | 2 +-
external/lgpl3/mpfr/dist/src/sgn.c | 4 +-
external/lgpl3/mpfr/dist/src/si_op.c | 125 +-
external/lgpl3/mpfr/dist/src/signbit.c | 4 +-
external/lgpl3/mpfr/dist/src/sin.c | 34 +-
external/lgpl3/mpfr/dist/src/sin_cos.c | 111 +-
external/lgpl3/mpfr/dist/src/sinh.c | 6 +-
external/lgpl3/mpfr/dist/src/sinh_cosh.c | 6 +-
external/lgpl3/mpfr/dist/src/sparc64/mparam.h | 2 +-
external/lgpl3/mpfr/dist/src/sqr.c | 507 +-
external/lgpl3/mpfr/dist/src/sqrt.c | 484 +-
external/lgpl3/mpfr/dist/src/sqrt_ui.c | 4 +-
external/lgpl3/mpfr/dist/src/stack_interface.c | 2 +-
external/lgpl3/mpfr/dist/src/strtofr.c | 30 +-
external/lgpl3/mpfr/dist/src/sub.c | 28 +-
external/lgpl3/mpfr/dist/src/sub1.c | 228 +-
external/lgpl3/mpfr/dist/src/sub1sp.c | 1418 +-
external/lgpl3/mpfr/dist/src/sub_d.c | 10 +-
external/lgpl3/mpfr/dist/src/sub_ui.c | 78 +-
external/lgpl3/mpfr/dist/src/subnormal.c | 13 +-
external/lgpl3/mpfr/dist/src/sum.c | 1598 +-
external/lgpl3/mpfr/dist/src/swap.c | 2 +-
external/lgpl3/mpfr/dist/src/tan.c | 2 +-
external/lgpl3/mpfr/dist/src/tanh.c | 92 +-
external/lgpl3/mpfr/dist/src/ubf.c | 242 +
external/lgpl3/mpfr/dist/src/uceil_exp2.c | 10 +-
external/lgpl3/mpfr/dist/src/uceil_log2.c | 24 +-
external/lgpl3/mpfr/dist/src/ufloor_log2.c | 22 +-
external/lgpl3/mpfr/dist/src/ui_div.c | 22 +-
external/lgpl3/mpfr/dist/src/ui_pow.c | 8 +-
external/lgpl3/mpfr/dist/src/ui_pow_ui.c | 4 +-
external/lgpl3/mpfr/dist/src/ui_sub.c | 68 +-
external/lgpl3/mpfr/dist/src/urandom.c | 149 +-
external/lgpl3/mpfr/dist/src/urandomb.c | 16 +-
external/lgpl3/mpfr/dist/src/version.c | 4 +-
external/lgpl3/mpfr/dist/src/volatile.c | 2 +-
external/lgpl3/mpfr/dist/src/x86/core2/mparam.h | 2 +-
external/lgpl3/mpfr/dist/src/x86/mparam.h | 2 +-
external/lgpl3/mpfr/dist/src/x86_64/core2/mparam.h | 2 +-
external/lgpl3/mpfr/dist/src/x86_64/pentium4/mparam.h | 2 +-
external/lgpl3/mpfr/dist/src/yn.c | 8 +-
external/lgpl3/mpfr/dist/src/zeta.c | 279 +-
external/lgpl3/mpfr/dist/src/zeta_ui.c | 10 +-
external/lgpl3/mpfr/dist/tests/Makefile.am | 64 +-
external/lgpl3/mpfr/dist/tests/Makefile.in | 846 +-
external/lgpl3/mpfr/dist/tests/cmp_str.c | 2 +-
external/lgpl3/mpfr/dist/tests/inp_str.dat | 65 +
external/lgpl3/mpfr/dist/tests/memory.c | 145 +-
external/lgpl3/mpfr/dist/tests/mpf_compat.c | 16 +-
external/lgpl3/mpfr/dist/tests/mpf_compat.h | 73 +-
external/lgpl3/mpfr/dist/tests/mpfr-test.h | 158 +-
external/lgpl3/mpfr/dist/tests/mpfr_compat.c | 16 +-
external/lgpl3/mpfr/dist/tests/random2.c | 10 +-
external/lgpl3/mpfr/dist/tests/reuse.c | 262 +-
external/lgpl3/mpfr/dist/tests/rnd_mode.c | 2 +-
external/lgpl3/mpfr/dist/tests/tabort_defalloc1.c | 58 +
external/lgpl3/mpfr/dist/tests/tabort_defalloc2.c | 60 +
external/lgpl3/mpfr/dist/tests/tabort_prec_max.c | 39 +
external/lgpl3/mpfr/dist/tests/tabs.c | 192 +-
external/lgpl3/mpfr/dist/tests/tacos.c | 11 +-
external/lgpl3/mpfr/dist/tests/tacosh.c | 9 +-
external/lgpl3/mpfr/dist/tests/tadd.c | 411 +-
external/lgpl3/mpfr/dist/tests/tadd1sp.c | 127 +-
external/lgpl3/mpfr/dist/tests/tadd_d.c | 21 +-
external/lgpl3/mpfr/dist/tests/tadd_ui.c | 6 +-
external/lgpl3/mpfr/dist/tests/tagm.c | 81 +-
external/lgpl3/mpfr/dist/tests/tai.c | 52 +-
external/lgpl3/mpfr/dist/tests/talloc-cache.c | 120 +
external/lgpl3/mpfr/dist/tests/talloc.c | 72 +
external/lgpl3/mpfr/dist/tests/tasinh.c | 11 +-
external/lgpl3/mpfr/dist/tests/tassert.c | 37 +
external/lgpl3/mpfr/dist/tests/tatanh.c | 15 +-
external/lgpl3/mpfr/dist/tests/taway.c | 43 +-
external/lgpl3/mpfr/dist/tests/tbeta.c | 356 +
external/lgpl3/mpfr/dist/tests/tbuildopt.c | 6 +-
external/lgpl3/mpfr/dist/tests/tcan_round.c | 46 +-
external/lgpl3/mpfr/dist/tests/tcbrt.c | 11 +-
external/lgpl3/mpfr/dist/tests/tcheck.c | 127 +-
external/lgpl3/mpfr/dist/tests/tcmp.c | 5 +-
external/lgpl3/mpfr/dist/tests/tcmp2.c | 82 +-
external/lgpl3/mpfr/dist/tests/tcmp_d.c | 53 +-
external/lgpl3/mpfr/dist/tests/tcmp_ld.c | 52 +-
external/lgpl3/mpfr/dist/tests/tcmp_ui.c | 5 +-
external/lgpl3/mpfr/dist/tests/tcmpabs.c | 35 +-
external/lgpl3/mpfr/dist/tests/tcomparisons.c | 5 +-
external/lgpl3/mpfr/dist/tests/tconst_catalan.c | 6 +-
external/lgpl3/mpfr/dist/tests/tconst_euler.c | 15 +-
external/lgpl3/mpfr/dist/tests/tconst_log2.c | 65 +-
external/lgpl3/mpfr/dist/tests/tconst_pi.c | 79 +-
external/lgpl3/mpfr/dist/tests/tcopysign.c | 5 +-
external/lgpl3/mpfr/dist/tests/tcos.c | 117 +-
external/lgpl3/mpfr/dist/tests/tcosh.c | 15 +-
external/lgpl3/mpfr/dist/tests/tcot.c | 9 +-
external/lgpl3/mpfr/dist/tests/tcoth.c | 23 +-
external/lgpl3/mpfr/dist/tests/tcsc.c | 7 +-
external/lgpl3/mpfr/dist/tests/tcsch.c | 15 +-
external/lgpl3/mpfr/dist/tests/td_div.c | 19 +-
external/lgpl3/mpfr/dist/tests/td_sub.c | 21 +-
external/lgpl3/mpfr/dist/tests/tdigamma.c | 7 +-
external/lgpl3/mpfr/dist/tests/tdim.c | 11 +-
external/lgpl3/mpfr/dist/tests/tdiv.c | 454 +-
external/lgpl3/mpfr/dist/tests/tdiv_d.c | 21 +-
external/lgpl3/mpfr/dist/tests/tdiv_ui.c | 327 +-
external/lgpl3/mpfr/dist/tests/teint.c | 66 +-
external/lgpl3/mpfr/dist/tests/teq.c | 11 +-
external/lgpl3/mpfr/dist/tests/terandom.c | 127 +
external/lgpl3/mpfr/dist/tests/terandom_chisq.c | 353 +
external/lgpl3/mpfr/dist/tests/terf.c | 20 +-
external/lgpl3/mpfr/dist/tests/tests.c | 196 +-
external/lgpl3/mpfr/dist/tests/texceptions.c | 181 +-
external/lgpl3/mpfr/dist/tests/texp10.c | 32 +-
external/lgpl3/mpfr/dist/tests/texp2.c | 95 +-
external/lgpl3/mpfr/dist/tests/texpm1.c | 17 +-
external/lgpl3/mpfr/dist/tests/tfactorial.c | 57 +-
external/lgpl3/mpfr/dist/tests/tfits.c | 20 +-
external/lgpl3/mpfr/dist/tests/tfma.c | 160 +-
external/lgpl3/mpfr/dist/tests/tfmma.c | 486 +
external/lgpl3/mpfr/dist/tests/tfmod.c | 20 +-
external/lgpl3/mpfr/dist/tests/tfms.c | 214 +-
external/lgpl3/mpfr/dist/tests/tfpif.c | 353 +
external/lgpl3/mpfr/dist/tests/tfpif_r1.dat | Bin
external/lgpl3/mpfr/dist/tests/tfpif_r2.dat | Bin
external/lgpl3/mpfr/dist/tests/tfprintf.c | 55 +-
external/lgpl3/mpfr/dist/tests/tfrac.c | 7 +-
external/lgpl3/mpfr/dist/tests/tfrexp.c | 5 +-
external/lgpl3/mpfr/dist/tests/tgamma.c | 94 +-
external/lgpl3/mpfr/dist/tests/tgamma_inc.c | 267 +
external/lgpl3/mpfr/dist/tests/tgeneric.c | 263 +-
external/lgpl3/mpfr/dist/tests/tgeneric_ui.c | 17 +-
external/lgpl3/mpfr/dist/tests/tget_d.c | 10 +-
external/lgpl3/mpfr/dist/tests/tget_d_2exp.c | 7 +-
external/lgpl3/mpfr/dist/tests/tget_f.c | 133 +-
external/lgpl3/mpfr/dist/tests/tget_flt.c | 12 +-
external/lgpl3/mpfr/dist/tests/tget_ld_2exp.c | 7 +-
external/lgpl3/mpfr/dist/tests/tget_q.c | 157 +
external/lgpl3/mpfr/dist/tests/tget_set_d64.c | 126 +-
external/lgpl3/mpfr/dist/tests/tget_sj.c | 377 +-
external/lgpl3/mpfr/dist/tests/tget_str.c | 89 +-
external/lgpl3/mpfr/dist/tests/tget_z.c | 222 +-
external/lgpl3/mpfr/dist/tests/tgmpop.c | 204 +-
external/lgpl3/mpfr/dist/tests/tgrandom.c | 21 +-
external/lgpl3/mpfr/dist/tests/thyperbolic.c | 21 +-
external/lgpl3/mpfr/dist/tests/thypot.c | 37 +-
external/lgpl3/mpfr/dist/tests/tinits.c | 16 +-
external/lgpl3/mpfr/dist/tests/tinp_str.c | 35 +-
external/lgpl3/mpfr/dist/tests/tinternals.c | 11 +-
external/lgpl3/mpfr/dist/tests/tisnan.c | 5 +-
external/lgpl3/mpfr/dist/tests/tisqrt.c | 5 +-
external/lgpl3/mpfr/dist/tests/tj0.c | 7 +-
external/lgpl3/mpfr/dist/tests/tj1.c | 54 +-
external/lgpl3/mpfr/dist/tests/tjn.c | 6 +-
external/lgpl3/mpfr/dist/tests/tl2b.c | 46 +-
external/lgpl3/mpfr/dist/tests/tlgamma.c | 89 +-
external/lgpl3/mpfr/dist/tests/tli2.c | 20 +-
external/lgpl3/mpfr/dist/tests/tlngamma.c | 77 +-
external/lgpl3/mpfr/dist/tests/tlog.c | 19 +-
external/lgpl3/mpfr/dist/tests/tlog10.c | 7 +-
external/lgpl3/mpfr/dist/tests/tlog1p.c | 7 +-
external/lgpl3/mpfr/dist/tests/tlog2.c | 7 +-
external/lgpl3/mpfr/dist/tests/tlog_ui.c | 202 +
external/lgpl3/mpfr/dist/tests/tmin_prec.c | 5 +-
external/lgpl3/mpfr/dist/tests/tminmax.c | 5 +-
external/lgpl3/mpfr/dist/tests/tmodf.c | 18 +-
external/lgpl3/mpfr/dist/tests/tmul.c | 427 +-
external/lgpl3/mpfr/dist/tests/tmul_2exp.c | 15 +-
external/lgpl3/mpfr/dist/tests/tmul_d.c | 43 +-
external/lgpl3/mpfr/dist/tests/tmul_ui.c | 39 +-
external/lgpl3/mpfr/dist/tests/tnext.c | 7 +-
external/lgpl3/mpfr/dist/tests/tnrandom.c | 127 +
external/lgpl3/mpfr/dist/tests/tnrandom_chisq.c | 354 +
external/lgpl3/mpfr/dist/tests/tout_str.c | 5 +-
external/lgpl3/mpfr/dist/tests/toutimpl.c | 74 +-
external/lgpl3/mpfr/dist/tests/tpow.c | 142 +-
external/lgpl3/mpfr/dist/tests/tpow3.c | 36 +-
external/lgpl3/mpfr/dist/tests/tpow_all.c | 29 +-
external/lgpl3/mpfr/dist/tests/tpow_z.c | 77 +-
external/lgpl3/mpfr/dist/tests/tprintf.c | 257 +-
external/lgpl3/mpfr/dist/tests/trandom.c | 78 +-
external/lgpl3/mpfr/dist/tests/trandom_deviate.c | 322 +
external/lgpl3/mpfr/dist/tests/trec_sqrt.c | 20 +-
external/lgpl3/mpfr/dist/tests/tremquo.c | 144 +-
external/lgpl3/mpfr/dist/tests/trint.c | 154 +-
external/lgpl3/mpfr/dist/tests/trndna.c | 166 +
external/lgpl3/mpfr/dist/tests/troot.c | 223 +-
external/lgpl3/mpfr/dist/tests/trootn_ui.c | 24 +
external/lgpl3/mpfr/dist/tests/tround_prec.c | 5 +-
external/lgpl3/mpfr/dist/tests/tsec.c | 25 +-
external/lgpl3/mpfr/dist/tests/tsech.c | 33 +-
external/lgpl3/mpfr/dist/tests/tset.c | 172 +-
external/lgpl3/mpfr/dist/tests/tset_d.c | 27 +-
external/lgpl3/mpfr/dist/tests/tset_exp.c | 43 +-
external/lgpl3/mpfr/dist/tests/tset_f.c | 18 +-
external/lgpl3/mpfr/dist/tests/tset_float128.c | 352 +
external/lgpl3/mpfr/dist/tests/tset_ld.c | 421 +-
external/lgpl3/mpfr/dist/tests/tset_q.c | 39 +-
external/lgpl3/mpfr/dist/tests/tset_si.c | 267 +-
external/lgpl3/mpfr/dist/tests/tset_sj.c | 44 +-
external/lgpl3/mpfr/dist/tests/tset_str.c | 238 +-
external/lgpl3/mpfr/dist/tests/tset_z.c | 6 +-
external/lgpl3/mpfr/dist/tests/tset_z_exp.c | 6 +-
external/lgpl3/mpfr/dist/tests/tsgn.c | 6 +-
external/lgpl3/mpfr/dist/tests/tsi_op.c | 40 +-
external/lgpl3/mpfr/dist/tests/tsin.c | 10 +-
external/lgpl3/mpfr/dist/tests/tsin_cos.c | 35 +-
external/lgpl3/mpfr/dist/tests/tsinh.c | 15 +-
external/lgpl3/mpfr/dist/tests/tsinh_cosh.c | 18 +-
external/lgpl3/mpfr/dist/tests/tsprintf.c | 350 +-
external/lgpl3/mpfr/dist/tests/tsqr.c | 49 +-
external/lgpl3/mpfr/dist/tests/tsqrt.c | 138 +-
external/lgpl3/mpfr/dist/tests/tsqrt_ui.c | 8 +-
external/lgpl3/mpfr/dist/tests/tstckintc.c | 12 +-
external/lgpl3/mpfr/dist/tests/tstdint.c | 38 +-
external/lgpl3/mpfr/dist/tests/tstrtofr.c | 71 +-
external/lgpl3/mpfr/dist/tests/tsub.c | 261 +-
external/lgpl3/mpfr/dist/tests/tsub1sp.c | 414 +-
external/lgpl3/mpfr/dist/tests/tsub_d.c | 22 +-
external/lgpl3/mpfr/dist/tests/tsub_ui.c | 18 +-
external/lgpl3/mpfr/dist/tests/tsubnormal.c | 8 +-
external/lgpl3/mpfr/dist/tests/tsum.c | 1353 +-
external/lgpl3/mpfr/dist/tests/tswap.c | 5 +-
external/lgpl3/mpfr/dist/tests/ttan.c | 32 +-
external/lgpl3/mpfr/dist/tests/ttanh.c | 27 +-
external/lgpl3/mpfr/dist/tests/ttrunc.c | 41 +-
external/lgpl3/mpfr/dist/tests/tui_div.c | 27 +-
external/lgpl3/mpfr/dist/tests/tui_pow.c | 31 +-
external/lgpl3/mpfr/dist/tests/tui_sub.c | 74 +-
external/lgpl3/mpfr/dist/tests/turandom.c | 540 +-
external/lgpl3/mpfr/dist/tests/tvalist.c | 29 +-
external/lgpl3/mpfr/dist/tests/tversion.c | 228 +-
external/lgpl3/mpfr/dist/tests/ty0.c | 8 +-
external/lgpl3/mpfr/dist/tests/ty1.c | 8 +-
external/lgpl3/mpfr/dist/tests/tyn.c | 5 +-
external/lgpl3/mpfr/dist/tests/tzeta.c | 96 +-
external/lgpl3/mpfr/dist/tests/tzeta_ui.c | 13 +-
external/lgpl3/mpfr/dist/tools/bench/Makefile.am | 24 +
external/lgpl3/mpfr/dist/tools/bench/Makefile.in | 602 +
external/lgpl3/mpfr/dist/tools/bench/README | 34 +
external/lgpl3/mpfr/dist/tools/bench/benchtime.h | 70 +
external/lgpl3/mpfr/dist/tools/bench/mpfrbench.c | 309 +
external/lgpl3/mpfr/dist/tools/ck-clz_tab | 30 +
external/lgpl3/mpfr/dist/tools/ck-copyright-notice | 6 +-
external/lgpl3/mpfr/dist/tools/ck-news | 2 +-
external/lgpl3/mpfr/dist/tools/ck-version-info | 2 +-
external/lgpl3/mpfr/dist/tools/get_patches.sh | 2 +-
external/lgpl3/mpfr/dist/tune/Makefile.am | 2 +-
external/lgpl3/mpfr/dist/tune/Makefile.in | 14 +-
external/lgpl3/mpfr/dist/tune/bidimensional_sample.c | 4 +-
external/lgpl3/mpfr/dist/tune/speed.c | 5 +-
external/lgpl3/mpfr/dist/tune/tuneup.c | 20 +-
504 files changed, 75043 insertions(+), 20470 deletions(-)
diffs (truncated from 124058 to 300 lines):
diff -r 62090eec4b15 -r ea64147dbfdd external/lgpl3/mpfr/dist/AUTHORS
--- a/external/lgpl3/mpfr/dist/AUTHORS Tue Sep 04 04:28:12 2018 +0000
+++ b/external/lgpl3/mpfr/dist/AUTHORS Tue Sep 04 05:02:00 2018 +0000
@@ -17,6 +17,9 @@
Damien Stehlé Function mpfr_get_ld_2exp
Philippe Théveny Main author
Sylvain Chevillard Original version of ai.c
+Charles Karney mpfr_nrandom and mpfr_erandom functions
+Fredrik Johannsson New version of mpfr_const_euler
+Mickaël Gastineau MPFRbench program
The main authors are included in the MPFR mailing-list <mpfr%inria.fr@localhost>.
This is the preferred way to contact us. For further information, please
diff -r 62090eec4b15 -r ea64147dbfdd external/lgpl3/mpfr/dist/BUGS
--- a/external/lgpl3/mpfr/dist/BUGS Tue Sep 04 04:28:12 2018 +0000
+++ b/external/lgpl3/mpfr/dist/BUGS Tue Sep 04 05:02:00 2018 +0000
@@ -1,4 +1,4 @@
-Copyright 1999, 2001-2016 Free Software Foundation, Inc.
+Copyright 1999, 2001-2018 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -48,9 +48,8 @@
the MPFR_CAN_ROUND), the result should be correct (or MPFR gets into an
infinite loop). TODO: check the code and the error analysis.
-* Possible integer overflows on some machines.
-
-* Possible bugs with huge precisions (> 2^30).
+* Possible bugs with huge precisions (> 2^30) and a 32-bit ABI, in particular
+ undetected integer overflows. TODO: use the MPFR_ADD_PREC macro.
* Possible bugs if the chosen exponent range does not allow to represent
the range [1/16, 16].
diff -r 62090eec4b15 -r ea64147dbfdd external/lgpl3/mpfr/dist/ChangeLog
--- a/external/lgpl3/mpfr/dist/ChangeLog Tue Sep 04 04:28:12 2018 +0000
+++ b/external/lgpl3/mpfr/dist/ChangeLog Tue Sep 04 05:02:00 2018 +0000
@@ -1,212 +1,11120 @@
------------------------------------------------------------------------
-r10891 | vlefevre | 2016-09-27 07:48:20 +0000 (Tue, 27 Sep 2016) | 1 line
-Changed paths:
- M /branches/3.1/VERSION
- M /branches/3.1/configure.ac
- M /branches/3.1/doc/mpfr.texi
- M /branches/3.1/src/mpfr.h
- M /branches/3.1/src/version.c
-
-Updated version to 3.1.5.
-------------------------------------------------------------------------
-r10889 | vlefevre | 2016-09-23 14:09:21 +0000 (Fri, 23 Sep 2016) | 2 lines
-Changed paths:
- M /branches/3.1
- M /branches/3.1/examples/version.c
-
-[examples/version.c] A bit more output.
-(merged changeset r10888 from the trunk)
-------------------------------------------------------------------------
-r10887 | vlefevre | 2016-09-23 13:57:32 +0000 (Fri, 23 Sep 2016) | 2 lines
-Changed paths:
- M /branches/3.1
- M /branches/3.1/examples/version.c
-
-[examples/version.c] Update from the trunk (with svn merge on
-changesets r8034,8036,8128,10885-10886).
-------------------------------------------------------------------------
-r10873 | vlefevre | 2016-09-14 08:09:05 +0000 (Wed, 14 Sep 2016) | 4 lines
-Changed paths:
- M /branches/3.1
- M /branches/3.1/tests/tdiv.c
-
-[tests/tdiv.c] Improved code readability, fixing a small bug
-(found by David Binderman using cppcheck) at the same time.
-This bug could only affect the error message if the test failed.
-(merged changesets r10871-10872 from the trunk)
-------------------------------------------------------------------------
-r10868 | vlefevre | 2016-09-13 17:17:12 +0000 (Tue, 13 Sep 2016) | 1 line
-Changed paths:
- M /branches/3.1/ChangeLog
+r12200 | vlefevre | 2018-02-07 12:50:31 +0000 (Wed, 07 Feb 2018) | 1 line
+Changed paths:
+ M /branches/4.0/VERSION
+ M /branches/4.0/configure.ac
+ M /branches/4.0/doc/mpfr.texi
+ M /branches/4.0/src/mpfr.h
+ M /branches/4.0/src/version.c
+
+Updated version to 4.0.1.
+------------------------------------------------------------------------
+r12199 | vlefevre | 2018-02-07 12:02:41 +0000 (Wed, 07 Feb 2018) | 3 lines
+Changed paths:
+ M /branches/4.0
+ M /branches/4.0/doc/README.dev
+ M /branches/4.0/tools/announce-text
+
+[doc/README.dev] "To make a release": moved a sentence.
+[tools/announce-text] For releases, check the VERSION file of the tag.
+(merged changesets r12197-12198 from the trunk)
+------------------------------------------------------------------------
+r12195 | vlefevre | 2018-02-02 13:17:33 +0000 (Fri, 02 Feb 2018) | 4 lines
+Changed paths:
+ M /branches/4.0
+ M /branches/4.0/tests/tdiv_ui.c
+
+[tests/tdiv_ui.c] Forcibly disable value coverage checking if
+mp_limb_t > unsigned long (e.g. on mips64 with the n32 ABI).
+Corrected comments.
+(merged changesets r12193-12194 from the trunk)
+------------------------------------------------------------------------
+r12192 | vlefevre | 2018-02-02 12:34:56 +0000 (Fri, 02 Feb 2018) | 1 line
+Changed paths:
+ M /branches/4.0/ChangeLog
+
+ChangeLog update with "TZ=UTC svn log -rHEAD:0 -v" (in UTF-8 locales).
+------------------------------------------------------------------------
+r12191 | vlefevre | 2018-02-02 12:32:02 +0000 (Fri, 02 Feb 2018) | 6 lines
+Changed paths:
+ M /branches/4.0
+ M /branches/4.0/tests/terandom.c
+ M /branches/4.0/tests/terandom_chisq.c
+ M /branches/4.0/tests/tgrandom.c
+ M /branches/4.0/tests/tnrandom.c
+ M /branches/4.0/tests/tnrandom_chisq.c
+ M /branches/4.0/tests/trandom.c
+ M /branches/4.0/tests/trandom_deviate.c
+ M /branches/4.0/tests/tset_ld.c
+ M /branches/4.0/tests/tsub_d.c
+ M /branches/4.0/tests/turandom.c
+
+[tests]
+ * Replaced calloc + free by tests_allocate + tests_free as usual.
+ * Replaced some fprintf with stderr by printf.
+ * Do bitwise operations in unsigned arithmetic.
+ * Formatting.
+(merged changesets r12188-12190 from the trunk)
+------------------------------------------------------------------------
+r12187 | vlefevre | 2018-02-02 10:57:17 +0000 (Fri, 02 Feb 2018) | 16 lines
+Changed paths:
+ M /branches/4.0
+ M /branches/4.0/tests/tests.c
+ M /branches/4.0/tests/tremquo.c
+ M /branches/4.0/tests/tset_float128.c
+ M /branches/4.0/tests/tset_ld.c
+
+[tests] Fixed the cases where tests_start_mpfr was called too late,
+i.e. after potential output (to stdout).
+ * tremquo.c: moved the call to tests_start_mpfr to the beginning.
+ * tset_float128.c, tset_ld.c: removed the optional, obsolete code
+ setting the FPU control word; MPFR_FPU_PREC can be used instead
+ (see tests.c).
+
+[tests/tests.c] Make stderr unbuffered again.
+Note for the history: both stdout and stderr were made unbuffered in
+r2361, then all stderr were changed to stdout (and the corresponding
+setbuf on stderr removed) in r2449 for consistency, but stderr was
+used later for specific cases (e.g. memory allocation errors or when
+stdout is already used for something else), and it is also used for
+assertion failures. Thus the setbuf on stderr is still needed.
+
+(merged changesets r12185-12186 from the trunk)
+------------------------------------------------------------------------
+r12184 | vlefevre | 2018-02-02 10:14:04 +0000 (Fri, 02 Feb 2018) | 3 lines
+Changed paths:
+ M /branches/4.0
+ M /branches/4.0/tests/tabort_defalloc1.c
+ M /branches/4.0/tests/tabort_defalloc2.c
+ M /branches/4.0/tests/tabort_prec_max.c
+
+Reverse-merged r12182 since tests_start_mpfr disables stdout buffering,
+so that the fflush() are unnecessary.
+(merged changeset r12183 from the trunk)
+------------------------------------------------------------------------
+r12182 | vlefevre | 2018-02-02 09:55:12 +0000 (Fri, 02 Feb 2018) | 4 lines
+Changed paths:
+ M /branches/4.0
+ M /branches/4.0/tests/tabort_defalloc1.c
+ M /branches/4.0/tests/tabort_defalloc2.c
+ M /branches/4.0/tests/tabort_prec_max.c
+
+[tests/tabort_*.c] Flush stdout after a printf(), as an abort() is
+expected. This is needed on platforms where abort() does not flush
+the stdio streams, such as with the GNU C Library (glibc) 2.27.
+(merged changeset r12181 from the trunk)
+------------------------------------------------------------------------
+r12180 | vlefevre | 2018-02-01 14:31:06 +0000 (Thu, 01 Feb 2018) | 1 line
+Changed paths:
+ M /branches/4.0/ChangeLog
+
+ChangeLog update with "TZ=UTC svn log -rHEAD:0 -v" (in UTF-8 locales).
+------------------------------------------------------------------------
+r12179 | vlefevre | 2018-02-01 14:28:02 +0000 (Thu, 01 Feb 2018) | 1 line
+Changed paths:
+ M /branches/4.0/NEWS
+
+[NEWS] Mention "make check-exported-symbols" (experimental).
+------------------------------------------------------------------------
+r12177 | vlefevre | 2018-02-01 14:22:32 +0000 (Thu, 01 Feb 2018) | 1 line
+Changed paths:
+ M /branches/4.0/VERSION
+ M /branches/4.0/configure.ac
+ M /branches/4.0/doc/mpfr.texi
+ M /branches/4.0/src/mpfr.h
+ M /branches/4.0/src/version.c
+
+Updated version to 4.0.1-rc2.
+------------------------------------------------------------------------
+r12176 | vlefevre | 2018-02-01 14:21:13 +0000 (Thu, 01 Feb 2018) | 1 line
+Changed paths:
+ M /branches/4.0/doc/mpfr.texi
+
+[doc/mpfr.texi] Updated the month.
+------------------------------------------------------------------------
+r12175 | vlefevre | 2018-02-01 13:47:27 +0000 (Thu, 01 Feb 2018) | 1 line
+Changed paths:
+ M /branches/4.0/NEWS
+
+[NEWS] Mention the mpfr_div_ui bug.
+------------------------------------------------------------------------
+r12170 | vlefevre | 2018-01-31 16:21:15 +0000 (Wed, 31 Jan 2018) | 3 lines
+Changed paths:
+ M /branches/4.0
+ M /branches/4.0/src/div_ui.c
+ M /branches/4.0/src/mpfr-impl.h
+ M /branches/4.0/tests/tdiv_ui.c
+
+Added value coverage for tdiv_ui (combinations of rb and sb in the
+different cases of the mpfr_div_ui code) and other tests.
+(merged changesets r12164-12169 from the trunk)
+------------------------------------------------------------------------
+r12164 | vlefevre | 2018-01-31 09:57:51 +0000 (Wed, 31 Jan 2018) | 5 lines
+Changed paths:
+ M /branches/4.0
+ M /branches/4.0/src/div_ui.c
+ M /branches/4.0/tests/tdiv.c
+ M /branches/4.0/tests/tdiv_ui.c
+ M /branches/4.0/tools/mpfrlint
+
+[src/div_ui.c] Major rewrite to fix a mpfr_div_ui bug.
+[tests/tdiv.c] Updated comment for bug20180126.
+[tests/tdiv_ui.c] Added tests triggering the bug just fixed.
+[tools/mpfrlint] Improved a regexp (avoiding false positives).
+(merged the remaining changesets starting at r12123 from the trunk)
+------------------------------------------------------------------------
+r12138 | vlefevre | 2018-01-27 03:52:35 +0000 (Sat, 27 Jan 2018) | 2 lines
+Changed paths:
+ M /branches/4.0
+ M /branches/4.0/tests/tdiv.c
+
+[tests/tdiv.c] mpfr_div bug bug20180126: also test negative values.
+(merged changeset r12137 from the trunk)
+------------------------------------------------------------------------
+r12135 | vlefevre | 2018-01-27 03:21:15 +0000 (Sat, 27 Jan 2018) | 2 lines
+Changed paths:
+ M /branches/4.0
+ M /branches/4.0/tests/tdiv.c
+
+[tests/tdiv.c] mpfr_div bug bug20180126 was introduced by r9086.
+(merged changeset r12134 from the trunk)
+------------------------------------------------------------------------
+r12133 | vlefevre | 2018-01-26 17:04:38 +0000 (Fri, 26 Jan 2018) | 2 lines
+Changed paths:
+ M /branches/4.0
+ M /branches/4.0/tests/tdiv.c
+
+[tests/tdiv.c] Completed r12128 test with new comments and an assert.
+(merged changeset r12132 from the trunk)
+------------------------------------------------------------------------
+r12130 | vlefevre | 2018-01-26 15:29:25 +0000 (Fri, 26 Jan 2018) | 1 line
+Changed paths:
+ M /branches/4.0/VERSION
+ M /branches/4.0/configure.ac
+ M /branches/4.0/doc/mpfr.texi
+ M /branches/4.0/src/mpfr.h
+ M /branches/4.0/src/version.c
+
+Updated version to 4.0.1-dev.
+------------------------------------------------------------------------
+r12129 | vlefevre | 2018-01-26 15:28:39 +0000 (Fri, 26 Jan 2018) | 2 lines
+Changed paths:
+ M /branches/4.0
+ M /branches/4.0/tests/tdiv.c
+
+[tests/tdiv.c] Added test case for a mpfr_div bug of MPFR 4.
+(merged changeset r12128 from the trunk)
+------------------------------------------------------------------------
+r12127 | vlefevre | 2018-01-25 15:19:15 +0000 (Thu, 25 Jan 2018) | 2 lines
+Changed paths:
+ M /branches/4.0
+ M /branches/4.0/doc/README.dev
+
+[doc/README.dev] Added information about symbol checking.
+(merged changeset r12126 from the trunk)
+------------------------------------------------------------------------
+r12125 | vlefevre | 2018-01-25 14:46:21 +0000 (Thu, 25 Jan 2018) | 8 lines
+Changed paths:
+ M /branches/4.0
+ M /branches/4.0/Makefile.am
+ M /branches/4.0/doc/README.dev
+ M /branches/4.0/src/Makefile.am
+
+* Added check-exported-symbols make rule to check that MPFR does not
Home |
Main Index |
Thread Index |
Old Index