diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2019-01-07 14:26:23 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2019-01-07 14:26:23 +0000 |
commit | 2244bc5a8f374039054af17f72a27f8b015e2d06 (patch) | |
tree | 60ee8b8b8acf4e108367f2bf87623a6e3532d833 /ChangeLog | |
parent | 4f62106e77112c865c3e56fe17ac367d26138115 (diff) | |
download | mpfr-2244bc5a8f374039054af17f72a27f8b015e2d06.tar.gz |
ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC0 svn log -rHEAD:0 -v".
Note: For r5400, this changes an incorrect update done via r13372 back
to the old log message, as the URL in this log message here describes
a change in one of the files.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13378 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8800 |
1 files changed, 8791 insertions, 9 deletions
@@ -1,4 +1,8786 @@ ------------------------------------------------------------------------ +r13376 | vlefevre | 2019-01-07 14:05:06 +0000 (Mon, 07 Jan 2019) | 1 line +Changed paths: + M /trunk/doc/README.dev + +[doc/README.dev] Updated some URL's (http → https). +------------------------------------------------------------------------ +r13374 | vlefevre | 2019-01-07 13:56:16 +0000 (Mon, 07 Jan 2019) | 1 line +Changed paths: + M /trunk/doc/texinfo.tex + +[doc/texinfo.tex] Update to 2018-02-12.17 with "autoreconf -i -f". +------------------------------------------------------------------------ +r13372 | vlefevre | 2019-01-07 13:49:57 +0000 (Mon, 07 Jan 2019) | 3 lines +Changed paths: + M /trunk/BUGS + M /trunk/COPYING + M /trunk/ChangeLog + M /trunk/INSTALL + M /trunk/NEWS + M /trunk/README + M /trunk/TODO + M /trunk/acinclude.m4 + M /trunk/configure.ac + M /trunk/doc/FAQ.html + M /trunk/doc/README.dev + M /trunk/doc/faq.xsl + M /trunk/doc/fdl.texi + M /trunk/examples/can_round.c + M /trunk/examples/divworst.c + M /trunk/examples/rndo-add.c + M /trunk/examples/sample.c + M /trunk/examples/threads.c + M /trunk/examples/version.c + M /trunk/src/abort_prec_max.c + M /trunk/src/acos.c + M /trunk/src/acosh.c + M /trunk/src/add.c + M /trunk/src/add1.c + M /trunk/src/add1sp.c + M /trunk/src/add1sp1_extracted.c + M /trunk/src/add_d.c + M /trunk/src/add_ui.c + M /trunk/src/agm.c + M /trunk/src/ai.c + M /trunk/src/amd/mparam.h + M /trunk/src/arm/mparam.h + M /trunk/src/asin.c + M /trunk/src/asinh.c + M /trunk/src/atan.c + M /trunk/src/atan2.c + M /trunk/src/atanh.c + M /trunk/src/bernoulli.c + M /trunk/src/beta.c + M /trunk/src/buildopt.c + M /trunk/src/cache.c + M /trunk/src/cbrt.c + M /trunk/src/check.c + M /trunk/src/clear.c + M /trunk/src/clears.c + M /trunk/src/cmp.c + M /trunk/src/cmp2.c + M /trunk/src/cmp_abs.c + M /trunk/src/cmp_d.c + M /trunk/src/cmp_ld.c + M /trunk/src/cmp_si.c + M /trunk/src/cmp_ui.c + M /trunk/src/comparisons.c + M /trunk/src/const_catalan.c + M /trunk/src/const_euler.c + M /trunk/src/const_log2.c + M /trunk/src/const_pi.c + M /trunk/src/constant.c + M /trunk/src/copysign.c + M /trunk/src/cos.c + M /trunk/src/cosh.c + M /trunk/src/cot.c + M /trunk/src/coth.c + M /trunk/src/csc.c + M /trunk/src/csch.c + M /trunk/src/d_div.c + M /trunk/src/d_sub.c + M /trunk/src/digamma.c + M /trunk/src/dim.c + M /trunk/src/div.c + M /trunk/src/div_2exp.c + M /trunk/src/div_2si.c + M /trunk/src/div_2ui.c + M /trunk/src/div_d.c + M /trunk/src/div_ui.c + M /trunk/src/dot.c + M /trunk/src/dump.c + M /trunk/src/eint.c + M /trunk/src/eq.c + M /trunk/src/erandom.c + M /trunk/src/erf.c + M /trunk/src/erfc.c + M /trunk/src/exceptions.c + M /trunk/src/exp.c + M /trunk/src/exp10.c + M /trunk/src/exp2.c + M /trunk/src/exp3.c + M /trunk/src/exp_2.c + M /trunk/src/expm1.c + M /trunk/src/extract.c + M /trunk/src/factorial.c + M /trunk/src/fits_intmax.c + M /trunk/src/fits_s.h + M /trunk/src/fits_sint.c + M /trunk/src/fits_slong.c + M /trunk/src/fits_sshort.c + M /trunk/src/fits_u.h + M /trunk/src/fits_uint.c + M /trunk/src/fits_uintmax.c + M /trunk/src/fits_ulong.c + M /trunk/src/fits_ushort.c + M /trunk/src/fma.c + M /trunk/src/fmma.c + M /trunk/src/fms.c + M /trunk/src/fpif.c + M /trunk/src/frac.c + M /trunk/src/free_cache.c + M /trunk/src/frexp.c + M /trunk/src/gamma.c + M /trunk/src/gamma_inc.c + M /trunk/src/gammaonethird.c + M /trunk/src/gen_inverse.h + M /trunk/src/generic/coverage/mparam.h + M /trunk/src/generic/mparam.h + M /trunk/src/get_d.c + M /trunk/src/get_d128.c + M /trunk/src/get_d64.c + M /trunk/src/get_exp.c + M /trunk/src/get_f.c + M /trunk/src/get_float128.c + M /trunk/src/get_flt.c + M /trunk/src/get_ld.c + M /trunk/src/get_q.c + M /trunk/src/get_si.c + M /trunk/src/get_sj.c + M /trunk/src/get_str.c + M /trunk/src/get_ui.c + M /trunk/src/get_uj.c + M /trunk/src/get_z.c + M /trunk/src/get_z_exp.c + M /trunk/src/gmp_op.c + M /trunk/src/grandom.c + M /trunk/src/hypot.c + M /trunk/src/ieee_floats.h + M /trunk/src/init.c + M /trunk/src/init2.c + M /trunk/src/inits.c + M /trunk/src/inits2.c + M /trunk/src/inp_str.c + M /trunk/src/int_ceil_log2.c + M /trunk/src/invert_limb.h + M /trunk/src/invsqrt_limb.h + M /trunk/src/isinf.c + M /trunk/src/isinteger.c + M /trunk/src/isnan.c + M /trunk/src/isnum.c + M /trunk/src/isqrt.c + M /trunk/src/isregular.c + M /trunk/src/iszero.c + M /trunk/src/jn.c + M /trunk/src/jyn_asympt.c + M /trunk/src/li2.c + M /trunk/src/lngamma.c + M /trunk/src/log.c + M /trunk/src/log10.c + M /trunk/src/log1p.c + M /trunk/src/log2.c + M /trunk/src/log_ui.c + M /trunk/src/logging.c + M /trunk/src/min_prec.c + M /trunk/src/minmax.c + M /trunk/src/mips/mparam.h + M /trunk/src/modf.c + M /trunk/src/mp_clz_tab.c + M /trunk/src/mparam_h.in + M /trunk/src/mpf2mpfr.h + M /trunk/src/mpfr-cvers.h + M /trunk/src/mpfr-gmp.c + M /trunk/src/mpfr-gmp.h + M /trunk/src/mpfr-impl.h + M /trunk/src/mpfr-intmax.h + M /trunk/src/mpfr-longlong.h + M /trunk/src/mpfr-mini-gmp.c + M /trunk/src/mpfr-mini-gmp.h + M /trunk/src/mpfr-sassert.h + M /trunk/src/mpfr-thread.h + M /trunk/src/mpfr.h + M /trunk/src/mpn_exp.c + M /trunk/src/mul.c + M /trunk/src/mul_1_extracted.c + M /trunk/src/mul_2exp.c + M /trunk/src/mul_2si.c + M /trunk/src/mul_2ui.c + M /trunk/src/mul_d.c + M /trunk/src/mul_ui.c + M /trunk/src/mulders.c + M /trunk/src/nbits_ulong.c + M /trunk/src/neg.c + M /trunk/src/next.c + M /trunk/src/nrandom.c + M /trunk/src/odd_p.c + M /trunk/src/out_str.c + M /trunk/src/pool.c + M /trunk/src/pow.c + M /trunk/src/pow_si.c + M /trunk/src/pow_ui.c + M /trunk/src/pow_z.c + M /trunk/src/powerof2.c + M /trunk/src/powerpc64/mparam.h + M /trunk/src/print_raw.c + M /trunk/src/print_rnd_mode.c + M /trunk/src/printf.c + M /trunk/src/random_deviate.c + M /trunk/src/random_deviate.h + M /trunk/src/rec_sqrt.c + M /trunk/src/reldiff.c + M /trunk/src/rem1.c + M /trunk/src/rint.c + M /trunk/src/rndna.c + M /trunk/src/root.c + M /trunk/src/round_near_x.c + M /trunk/src/round_p.c + M /trunk/src/round_prec.c + M /trunk/src/round_raw_generic.c + M /trunk/src/scale2.c + M /trunk/src/sec.c + M /trunk/src/sech.c + M /trunk/src/set.c + M /trunk/src/set_d.c + M /trunk/src/set_d128.c + M /trunk/src/set_d64.c + M /trunk/src/set_dfl_prec.c + M /trunk/src/set_exp.c + M /trunk/src/set_f.c + M /trunk/src/set_float128.c + M /trunk/src/set_flt.c + M /trunk/src/set_inf.c + M /trunk/src/set_ld.c + M /trunk/src/set_nan.c + M /trunk/src/set_prc_raw.c + M /trunk/src/set_prec.c + M /trunk/src/set_q.c + M /trunk/src/set_rnd.c + M /trunk/src/set_si.c + M /trunk/src/set_si_2exp.c + M /trunk/src/set_sj.c + M /trunk/src/set_str.c + M /trunk/src/set_str_raw.c + M /trunk/src/set_ui.c + M /trunk/src/set_ui_2exp.c + M /trunk/src/set_uj.c + M /trunk/src/set_z.c + M /trunk/src/set_z_exp.c + M /trunk/src/set_zero.c + M /trunk/src/setmax.c + M /trunk/src/setmin.c + M /trunk/src/setsign.c + M /trunk/src/sgn.c + M /trunk/src/si_op.c + M /trunk/src/signbit.c + M /trunk/src/sin.c + M /trunk/src/sin_cos.c + M /trunk/src/sinh.c + M /trunk/src/sinh_cosh.c + M /trunk/src/sparc64/mparam.h + M /trunk/src/sqr.c + M /trunk/src/sqrt.c + M /trunk/src/sqrt_ui.c + M /trunk/src/stack_interface.c + M /trunk/src/strtofr.c + M /trunk/src/sub.c + M /trunk/src/sub1.c + M /trunk/src/sub1sp.c + M /trunk/src/sub_d.c + M /trunk/src/sub_ui.c + M /trunk/src/subnormal.c + M /trunk/src/sum.c + M /trunk/src/swap.c + M /trunk/src/tan.c + M /trunk/src/tanh.c + M /trunk/src/total_order.c + M /trunk/src/ubf.c + M /trunk/src/uceil_exp2.c + M /trunk/src/uceil_log2.c + M /trunk/src/ufloor_log2.c + M /trunk/src/ui_div.c + M /trunk/src/ui_pow.c + M /trunk/src/ui_pow_ui.c + M /trunk/src/ui_sub.c + M /trunk/src/urandom.c + M /trunk/src/urandomb.c + M /trunk/src/vasprintf.c + M /trunk/src/version.c + M /trunk/src/volatile.c + M /trunk/src/x86/mparam.h + M /trunk/src/x86_64/core2/mparam.h + M /trunk/src/x86_64/mparam.h + M /trunk/src/yn.c + M /trunk/src/zeta.c + M /trunk/src/zeta_ui.c + M /trunk/tests/Makefile.am + M /trunk/tests/cmp_str.c + M /trunk/tests/data/digamma + M /trunk/tests/data/li2 + M /trunk/tests/memory.c + M /trunk/tests/mpf_compat.c + M /trunk/tests/mpf_compat.h + M /trunk/tests/mpfr-test.h + M /trunk/tests/mpfr_compat.c + M /trunk/tests/random2.c + M /trunk/tests/reuse.c + M /trunk/tests/rnd_mode.c + M /trunk/tests/tabort_defalloc1.c + M /trunk/tests/tabort_defalloc2.c + M /trunk/tests/tabort_prec_max.c + M /trunk/tests/tabs.c + M /trunk/tests/tacos.c + M /trunk/tests/tacosh.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd1sp.c + M /trunk/tests/tadd_d.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tai.c + M /trunk/tests/talloc-cache.c + M /trunk/tests/talloc.c + M /trunk/tests/tasin.c + M /trunk/tests/tasinh.c + M /trunk/tests/tassert.c + M /trunk/tests/tatan.c + M /trunk/tests/tatanh.c + M /trunk/tests/taway.c + M /trunk/tests/tbeta.c + M /trunk/tests/tbuildopt.c + M /trunk/tests/tcan_round.c + M /trunk/tests/tcbrt.c + M /trunk/tests/tcheck.c + M /trunk/tests/tcmp.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tcmp_d.c + M /trunk/tests/tcmp_ld.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tcmpabs.c + M /trunk/tests/tcomparisons.c + M /trunk/tests/tconst_catalan.c + M /trunk/tests/tconst_euler.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tconst_pi.c + M /trunk/tests/tcopysign.c + M /trunk/tests/tcos.c + M /trunk/tests/tcosh.c + M /trunk/tests/tcot.c + M /trunk/tests/tcoth.c + M /trunk/tests/tcsc.c + M /trunk/tests/tcsch.c + M /trunk/tests/td_div.c + M /trunk/tests/td_sub.c + M /trunk/tests/tdigamma.c + M /trunk/tests/tdim.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_d.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/tdot.c + M /trunk/tests/teint.c + M /trunk/tests/teq.c + M /trunk/tests/terandom.c + M /trunk/tests/terandom_chisq.c + M /trunk/tests/terf.c + M /trunk/tests/tests.c + M /trunk/tests/texceptions.c + M /trunk/tests/texp.c + M /trunk/tests/texp10.c + M /trunk/tests/texp2.c + M /trunk/tests/texpm1.c + M /trunk/tests/tfactorial.c + M /trunk/tests/tfits.c + M /trunk/tests/tfma.c + M /trunk/tests/tfmma.c + M /trunk/tests/tfmod.c + M /trunk/tests/tfms.c + M /trunk/tests/tfpif.c + M /trunk/tests/tfprintf.c + M /trunk/tests/tfrac.c + M /trunk/tests/tfrexp.c + M /trunk/tests/tgamma.c + M /trunk/tests/tgamma_inc.c + M /trunk/tests/tgeneric.c + M /trunk/tests/tgeneric_ui.c + M /trunk/tests/tget_d.c + M /trunk/tests/tget_d_2exp.c + M /trunk/tests/tget_f.c + M /trunk/tests/tget_flt.c + M /trunk/tests/tget_ld_2exp.c + M /trunk/tests/tget_q.c + M /trunk/tests/tget_set_d128.c + M /trunk/tests/tget_set_d64.c + M /trunk/tests/tget_sj.c + M /trunk/tests/tget_str.c + M /trunk/tests/tget_z.c + M /trunk/tests/tgmpop.c + M /trunk/tests/tgrandom.c + M /trunk/tests/thyperbolic.c + M /trunk/tests/thypot.c + M /trunk/tests/tinits.c + M /trunk/tests/tinp_str.c + M /trunk/tests/tinternals.c + M /trunk/tests/tisnan.c + M /trunk/tests/tisqrt.c + M /trunk/tests/tj0.c + M /trunk/tests/tj1.c + M /trunk/tests/tjn.c + M /trunk/tests/tl2b.c + M /trunk/tests/tlgamma.c + M /trunk/tests/tli2.c + M /trunk/tests/tlngamma.c + M /trunk/tests/tlog.c + M /trunk/tests/tlog10.c + M /trunk/tests/tlog1p.c + M /trunk/tests/tlog2.c + M /trunk/tests/tlog_ui.c + M /trunk/tests/tmin_prec.c + M /trunk/tests/tminmax.c + M /trunk/tests/tmodf.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tmul_d.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tnext.c + M /trunk/tests/tnrandom.c + M /trunk/tests/tnrandom_chisq.c + M /trunk/tests/tout_str.c + M /trunk/tests/toutimpl.c + M /trunk/tests/tpow.c + M /trunk/tests/tpow3.c + M /trunk/tests/tpow_all.c + M /trunk/tests/tpow_z.c + M /trunk/tests/tprec_round.c + M /trunk/tests/tprintf.c + M /trunk/tests/trandom.c + M /trunk/tests/trandom_deviate.c + M /trunk/tests/trec_sqrt.c + M /trunk/tests/tremquo.c + M /trunk/tests/trint.c + M /trunk/tests/trndna.c + M /trunk/tests/troot.c + M /trunk/tests/trootn_ui.c + M /trunk/tests/tsec.c + M /trunk/tests/tsech.c + M /trunk/tests/tset.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_exp.c + M /trunk/tests/tset_f.c + M /trunk/tests/tset_float128.c + M /trunk/tests/tset_ld.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_sj.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tset_z_exp.c + M /trunk/tests/tsgn.c + M /trunk/tests/tsi_op.c + M /trunk/tests/tsin.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsinh.c + M /trunk/tests/tsinh_cosh.c + M /trunk/tests/tsprintf.c + M /trunk/tests/tsqr.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tstckintc.c + M /trunk/tests/tstdint.c + M /trunk/tests/tstrtofr.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub1sp.c + M /trunk/tests/tsub_d.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tsubnormal.c + M /trunk/tests/tsum.c + M /trunk/tests/tswap.c + M /trunk/tests/ttan.c + M /trunk/tests/ttanh.c + M /trunk/tests/ttotal_order.c + M /trunk/tests/ttrunc.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_pow.c + M /trunk/tests/tui_sub.c + M /trunk/tests/turandom.c + M /trunk/tests/tvalist.c + M /trunk/tests/tversion.c + M /trunk/tests/ty0.c + M /trunk/tests/ty1.c + M /trunk/tests/tyn.c + M /trunk/tests/tzeta.c + M /trunk/tests/tzeta_ui.c + M /trunk/tools/bench/benchtime.h + M /trunk/tools/bench/mpfrbench.c + M /trunk/tools/check_mparam.c + M /trunk/tools/get_patches.sh + M /trunk/tools/mbench/generate.c + M /trunk/tools/mbench/mfv5-arprec.cc + M /trunk/tools/mbench/mfv5-cln.cc + M /trunk/tools/mbench/mfv5-crlibm.cc + M /trunk/tools/mbench/mfv5-libc.cc + M /trunk/tools/mbench/mfv5-lidia.cc + M /trunk/tools/mbench/mfv5-mpf.cc + M /trunk/tools/mbench/mfv5-mpfr.cc + M /trunk/tools/mbench/mfv5-ntl.cc + M /trunk/tools/mbench/mfv5-pari.cc + M /trunk/tools/mbench/mfv5-void.cc + M /trunk/tools/mbench/mfv5.cc + M /trunk/tools/mbench/mfv5.h + M /trunk/tools/mbench/mpfr-gfx.c + M /trunk/tools/mbench/mpfr-v4.c + M /trunk/tools/mbench/mpfr-v6.c + M /trunk/tools/mbench/timp.h + M /trunk/tools/timings-mpfr.c + M /trunk/tune/bidimensional_sample.c + M /trunk/tune/speed.c + M /trunk/tune/tuneup.c + +Updated the www.gnu.org URL's (http → https) on all the files with: + perl -pi -e 's,http://www.gnu.org/,https://www.gnu.org/,g' **/*(.) +under zsh. +------------------------------------------------------------------------ +r13365 | vlefevre | 2019-01-07 01:11:12 +0000 (Mon, 07 Jan 2019) | 3 lines +Changed paths: + M /trunk/tests/tstrtofr.c + +[tests/tstrtofr.c] Updated comment about GCC bug 86554: the MPFR build +is still affected with the latest gcc-snapshot version (20190102-1) +when using --with-gmp-build=... together with --enable-assert. +------------------------------------------------------------------------ +r13364 | vlefevre | 2019-01-04 13:49:39 +0000 (Fri, 04 Jan 2019) | 2 lines +Changed paths: + M /trunk/tests/tstrtofr.c + +[tests/tstrtofr.c] Added a comment about GCC bug 86554: the MPFR build +seems no longer affected by recent gcc-snapshot versions. +------------------------------------------------------------------------ +r13361 | vlefevre | 2019-01-01 21:17:19 +0000 (Tue, 01 Jan 2019) | 1 line +Changed paths: + M /trunk/doc/mpfr.texi + +[doc/mpfr.texi] Updated the month. +------------------------------------------------------------------------ +r13359 | vlefevre | 2019-01-01 20:56:06 +0000 (Tue, 01 Jan 2019) | 4 lines +Changed paths: + M /trunk/BUGS + M /trunk/INSTALL + M /trunk/Makefile.am + M /trunk/NEWS + M /trunk/README + M /trunk/TODO + M /trunk/acinclude.m4 + M /trunk/configure.ac + M /trunk/doc/FAQ.html + M /trunk/doc/Makefile.am + M /trunk/doc/README.dev + M /trunk/doc/check-typography + M /trunk/doc/faq.xsl + M /trunk/doc/mpfr.texi + M /trunk/examples/can_round.c + M /trunk/examples/divworst.c + M /trunk/examples/rndo-add.c + M /trunk/examples/sample.c + M /trunk/examples/threads.c + M /trunk/examples/version.c + M /trunk/src/Makefile.am + M /trunk/src/abort_prec_max.c + M /trunk/src/acos.c + M /trunk/src/acosh.c + M /trunk/src/add.c + M /trunk/src/add1.c + M /trunk/src/add1sp.c + M /trunk/src/add1sp1_extracted.c + M /trunk/src/add_d.c + M /trunk/src/add_ui.c + M /trunk/src/agm.c + M /trunk/src/ai.c + M /trunk/src/amd/mparam.h + M /trunk/src/arm/mparam.h + M /trunk/src/asin.c + M /trunk/src/asinh.c + M /trunk/src/atan.c + M /trunk/src/atan2.c + M /trunk/src/atanh.c + M /trunk/src/bernoulli.c + M /trunk/src/beta.c + M /trunk/src/buildopt.c + M /trunk/src/cache.c + M /trunk/src/cbrt.c + M /trunk/src/check.c + M /trunk/src/clear.c + M /trunk/src/clears.c + M /trunk/src/cmp.c + M /trunk/src/cmp2.c + M /trunk/src/cmp_abs.c + M /trunk/src/cmp_d.c + M /trunk/src/cmp_ld.c + M /trunk/src/cmp_si.c + M /trunk/src/cmp_ui.c + M /trunk/src/comparisons.c + M /trunk/src/const_catalan.c + M /trunk/src/const_euler.c + M /trunk/src/const_log2.c + M /trunk/src/const_pi.c + M /trunk/src/constant.c + M /trunk/src/copysign.c + M /trunk/src/cos.c + M /trunk/src/cosh.c + M /trunk/src/cot.c + M /trunk/src/coth.c + M /trunk/src/csc.c + M /trunk/src/csch.c + M /trunk/src/d_div.c + M /trunk/src/d_sub.c + M /trunk/src/digamma.c + M /trunk/src/dim.c + M /trunk/src/div.c + M /trunk/src/div_2exp.c + M /trunk/src/div_2si.c + M /trunk/src/div_2ui.c + M /trunk/src/div_d.c + M /trunk/src/div_ui.c + M /trunk/src/dot.c + M /trunk/src/dump.c + M /trunk/src/eint.c + M /trunk/src/eq.c + M /trunk/src/erandom.c + M /trunk/src/erf.c + M /trunk/src/erfc.c + M /trunk/src/exceptions.c + M /trunk/src/exp.c + M /trunk/src/exp10.c + M /trunk/src/exp2.c + M /trunk/src/exp3.c + M /trunk/src/exp_2.c + M /trunk/src/expm1.c + M /trunk/src/extract.c + M /trunk/src/factorial.c + M /trunk/src/fits_intmax.c + M /trunk/src/fits_s.h + M /trunk/src/fits_sint.c + M /trunk/src/fits_slong.c + M /trunk/src/fits_sshort.c + M /trunk/src/fits_u.h + M /trunk/src/fits_uint.c + M /trunk/src/fits_uintmax.c + M /trunk/src/fits_ulong.c + M /trunk/src/fits_ushort.c + M /trunk/src/fma.c + M /trunk/src/fmma.c + M /trunk/src/fms.c + M /trunk/src/fpif.c + M /trunk/src/frac.c + M /trunk/src/free_cache.c + M /trunk/src/frexp.c + M /trunk/src/gamma.c + M /trunk/src/gamma_inc.c + M /trunk/src/gammaonethird.c + M /trunk/src/gen_inverse.h + M /trunk/src/generic/coverage/mparam.h + M /trunk/src/generic/mparam.h + M /trunk/src/get_d.c + M /trunk/src/get_d128.c + M /trunk/src/get_d64.c + M /trunk/src/get_exp.c + M /trunk/src/get_f.c + M /trunk/src/get_float128.c + M /trunk/src/get_flt.c + M /trunk/src/get_ld.c + M /trunk/src/get_q.c + M /trunk/src/get_si.c + M /trunk/src/get_sj.c + M /trunk/src/get_str.c + M /trunk/src/get_ui.c + M /trunk/src/get_uj.c + M /trunk/src/get_z.c + M /trunk/src/get_z_exp.c + M /trunk/src/gmp_op.c + M /trunk/src/grandom.c + M /trunk/src/hypot.c + M /trunk/src/ieee_floats.h + M /trunk/src/init.c + M /trunk/src/init2.c + M /trunk/src/inits.c + M /trunk/src/inits2.c + M /trunk/src/inp_str.c + M /trunk/src/int_ceil_log2.c + M /trunk/src/invert_limb.h + M /trunk/src/invsqrt_limb.h + M /trunk/src/isinf.c + M /trunk/src/isinteger.c + M /trunk/src/isnan.c + M /trunk/src/isnum.c + M /trunk/src/isqrt.c + M /trunk/src/isregular.c + M /trunk/src/iszero.c + M /trunk/src/jn.c + M /trunk/src/jyn_asympt.c + M /trunk/src/li2.c + M /trunk/src/lngamma.c + M /trunk/src/log.c + M /trunk/src/log10.c + M /trunk/src/log1p.c + M /trunk/src/log2.c + M /trunk/src/log_ui.c + M /trunk/src/logging.c + M /trunk/src/min_prec.c + M /trunk/src/minmax.c + M /trunk/src/mips/mparam.h + M /trunk/src/modf.c + M /trunk/src/mp_clz_tab.c + M /trunk/src/mparam_h.in + M /trunk/src/mpf2mpfr.h + M /trunk/src/mpfr-cvers.h + M /trunk/src/mpfr-gmp.c + M /trunk/src/mpfr-gmp.h + M /trunk/src/mpfr-impl.h + M /trunk/src/mpfr-intmax.h + M /trunk/src/mpfr-longlong.h + M /trunk/src/mpfr-mini-gmp.c + M /trunk/src/mpfr-mini-gmp.h + M /trunk/src/mpfr-sassert.h + M /trunk/src/mpfr-thread.h + M /trunk/src/mpfr.h + M /trunk/src/mpn_exp.c + M /trunk/src/mul.c + M /trunk/src/mul_1_extracted.c + M /trunk/src/mul_2exp.c + M /trunk/src/mul_2si.c + M /trunk/src/mul_2ui.c + M /trunk/src/mul_d.c + M /trunk/src/mul_ui.c + M /trunk/src/mulders.c + M /trunk/src/nbits_ulong.c + M /trunk/src/neg.c + M /trunk/src/next.c + M /trunk/src/nrandom.c + M /trunk/src/odd_p.c + M /trunk/src/out_str.c + M /trunk/src/pool.c + M /trunk/src/pow.c + M /trunk/src/pow_si.c + M /trunk/src/pow_ui.c + M /trunk/src/pow_z.c + M /trunk/src/powerof2.c + M /trunk/src/powerpc64/mparam.h + M /trunk/src/print_raw.c + M /trunk/src/print_rnd_mode.c + M /trunk/src/printf.c + M /trunk/src/random_deviate.c + M /trunk/src/random_deviate.h + M /trunk/src/rec_sqrt.c + M /trunk/src/reldiff.c + M /trunk/src/rem1.c + M /trunk/src/rint.c + M /trunk/src/rndna.c + M /trunk/src/root.c + M /trunk/src/round_near_x.c + M /trunk/src/round_p.c + M /trunk/src/round_prec.c + M /trunk/src/round_raw_generic.c + M /trunk/src/scale2.c + M /trunk/src/sec.c + M /trunk/src/sech.c + M /trunk/src/set.c + M /trunk/src/set_d.c + M /trunk/src/set_d128.c + M /trunk/src/set_d64.c + M /trunk/src/set_dfl_prec.c + M /trunk/src/set_exp.c + M /trunk/src/set_f.c + M /trunk/src/set_float128.c + M /trunk/src/set_flt.c + M /trunk/src/set_inf.c + M /trunk/src/set_ld.c + M /trunk/src/set_nan.c + M /trunk/src/set_prc_raw.c + M /trunk/src/set_prec.c + M /trunk/src/set_q.c + M /trunk/src/set_rnd.c + M /trunk/src/set_si.c + M /trunk/src/set_si_2exp.c + M /trunk/src/set_sj.c + M /trunk/src/set_str.c + M /trunk/src/set_str_raw.c + M /trunk/src/set_ui.c + M /trunk/src/set_ui_2exp.c + M /trunk/src/set_uj.c + M /trunk/src/set_z.c + M /trunk/src/set_z_exp.c + M /trunk/src/set_zero.c + M /trunk/src/setmax.c + M /trunk/src/setmin.c + M /trunk/src/setsign.c + M /trunk/src/sgn.c + M /trunk/src/si_op.c + M /trunk/src/signbit.c + M /trunk/src/sin.c + M /trunk/src/sin_cos.c + M /trunk/src/sinh.c + M /trunk/src/sinh_cosh.c + M /trunk/src/sparc64/mparam.h + M /trunk/src/sqr.c + M /trunk/src/sqrt.c + M /trunk/src/sqrt_ui.c + M /trunk/src/stack_interface.c + M /trunk/src/strtofr.c + M /trunk/src/sub.c + M /trunk/src/sub1.c + M /trunk/src/sub1sp.c + M /trunk/src/sub_d.c + M /trunk/src/sub_ui.c + M /trunk/src/subnormal.c + M /trunk/src/sum.c + M /trunk/src/swap.c + M /trunk/src/tan.c + M /trunk/src/tanh.c + M /trunk/src/total_order.c + M /trunk/src/ubf.c + M /trunk/src/uceil_exp2.c + M /trunk/src/uceil_log2.c + M /trunk/src/ufloor_log2.c + M /trunk/src/ui_div.c + M /trunk/src/ui_pow.c + M /trunk/src/ui_pow_ui.c + M /trunk/src/ui_sub.c + M /trunk/src/urandom.c + M /trunk/src/urandomb.c + M /trunk/src/vasprintf.c + M /trunk/src/version.c + M /trunk/src/volatile.c + M /trunk/src/x86/mparam.h + M /trunk/src/x86_64/core2/mparam.h + M /trunk/src/x86_64/mparam.h + M /trunk/src/yn.c + M /trunk/src/zeta.c + M /trunk/src/zeta_ui.c + M /trunk/tests/Makefile.am + M /trunk/tests/cmp_str.c + M /trunk/tests/data/digamma + M /trunk/tests/data/li2 + M /trunk/tests/memory.c + M /trunk/tests/mpf_compat.c + M /trunk/tests/mpf_compat.h + M /trunk/tests/mpfr-test.h + M /trunk/tests/mpfr_compat.c + M /trunk/tests/random2.c + M /trunk/tests/reuse.c + M /trunk/tests/rnd_mode.c + M /trunk/tests/tabort_defalloc1.c + M /trunk/tests/tabort_defalloc2.c + M /trunk/tests/tabort_prec_max.c + M /trunk/tests/tabs.c + M /trunk/tests/tacos.c + M /trunk/tests/tacosh.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd1sp.c + M /trunk/tests/tadd_d.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tai.c + M /trunk/tests/talloc-cache.c + M /trunk/tests/talloc.c + M /trunk/tests/tasin.c + M /trunk/tests/tasinh.c + M /trunk/tests/tassert.c + M /trunk/tests/tatan.c + M /trunk/tests/tatanh.c + M /trunk/tests/taway.c + M /trunk/tests/tbeta.c + M /trunk/tests/tbuildopt.c + M /trunk/tests/tcan_round.c + M /trunk/tests/tcbrt.c + M /trunk/tests/tcheck.c + M /trunk/tests/tcmp.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tcmp_d.c + M /trunk/tests/tcmp_ld.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tcmpabs.c + M /trunk/tests/tcomparisons.c + M /trunk/tests/tconst_catalan.c + M /trunk/tests/tconst_euler.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tconst_pi.c + M /trunk/tests/tcopysign.c + M /trunk/tests/tcos.c + M /trunk/tests/tcosh.c + M /trunk/tests/tcot.c + M /trunk/tests/tcoth.c + M /trunk/tests/tcsc.c + M /trunk/tests/tcsch.c + M /trunk/tests/td_div.c + M /trunk/tests/td_sub.c + M /trunk/tests/tdigamma.c + M /trunk/tests/tdim.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_d.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/tdot.c + M /trunk/tests/teint.c + M /trunk/tests/teq.c + M /trunk/tests/terandom.c + M /trunk/tests/terandom_chisq.c + M /trunk/tests/terf.c + M /trunk/tests/tests.c + M /trunk/tests/texceptions.c + M /trunk/tests/texp.c + M /trunk/tests/texp10.c + M /trunk/tests/texp2.c + M /trunk/tests/texpm1.c + M /trunk/tests/tfactorial.c + M /trunk/tests/tfits.c + M /trunk/tests/tfma.c + M /trunk/tests/tfmma.c + M /trunk/tests/tfmod.c + M /trunk/tests/tfms.c + M /trunk/tests/tfpif.c + M /trunk/tests/tfprintf.c + M /trunk/tests/tfrac.c + M /trunk/tests/tfrexp.c + M /trunk/tests/tgamma.c + M /trunk/tests/tgamma_inc.c + M /trunk/tests/tgeneric.c + M /trunk/tests/tgeneric_ui.c + M /trunk/tests/tget_d.c + M /trunk/tests/tget_d_2exp.c + M /trunk/tests/tget_f.c + M /trunk/tests/tget_flt.c + M /trunk/tests/tget_ld_2exp.c + M /trunk/tests/tget_q.c + M /trunk/tests/tget_set_d128.c + M /trunk/tests/tget_set_d64.c + M /trunk/tests/tget_sj.c + M /trunk/tests/tget_str.c + M /trunk/tests/tget_z.c + M /trunk/tests/tgmpop.c + M /trunk/tests/tgrandom.c + M /trunk/tests/thyperbolic.c + M /trunk/tests/thypot.c + M /trunk/tests/tinits.c + M /trunk/tests/tinp_str.c + M /trunk/tests/tinternals.c + M /trunk/tests/tisnan.c + M /trunk/tests/tisqrt.c + M /trunk/tests/tj0.c + M /trunk/tests/tj1.c + M /trunk/tests/tjn.c + M /trunk/tests/tl2b.c + M /trunk/tests/tlgamma.c + M /trunk/tests/tli2.c + M /trunk/tests/tlngamma.c + M /trunk/tests/tlog.c + M /trunk/tests/tlog10.c + M /trunk/tests/tlog1p.c + M /trunk/tests/tlog2.c + M /trunk/tests/tlog_ui.c + M /trunk/tests/tmin_prec.c + M /trunk/tests/tminmax.c + M /trunk/tests/tmodf.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tmul_d.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tnext.c + M /trunk/tests/tnrandom.c + M /trunk/tests/tnrandom_chisq.c + M /trunk/tests/tout_str.c + M /trunk/tests/toutimpl.c + M /trunk/tests/tpow.c + M /trunk/tests/tpow3.c + M /trunk/tests/tpow_all.c + M /trunk/tests/tpow_z.c + M /trunk/tests/tprec_round.c + M /trunk/tests/tprintf.c + M /trunk/tests/trandom.c + M /trunk/tests/trandom_deviate.c + M /trunk/tests/trec_sqrt.c + M /trunk/tests/tremquo.c + M /trunk/tests/trint.c + M /trunk/tests/trndna.c + M /trunk/tests/troot.c + M /trunk/tests/trootn_ui.c + M /trunk/tests/tsec.c + M /trunk/tests/tsech.c + M /trunk/tests/tset.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_exp.c + M /trunk/tests/tset_f.c + M /trunk/tests/tset_float128.c + M /trunk/tests/tset_ld.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_sj.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tset_z_exp.c + M /trunk/tests/tsgn.c + M /trunk/tests/tsi_op.c + M /trunk/tests/tsin.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsinh.c + M /trunk/tests/tsinh_cosh.c + M /trunk/tests/tsprintf.c + M /trunk/tests/tsqr.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tstckintc.c + M /trunk/tests/tstdint.c + M /trunk/tests/tstrtofr.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub1sp.c + M /trunk/tests/tsub_d.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tsubnormal.c + M /trunk/tests/tsum.c + M /trunk/tests/tswap.c + M /trunk/tests/ttan.c + M /trunk/tests/ttanh.c + M /trunk/tests/ttotal_order.c + M /trunk/tests/ttrunc.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_pow.c + M /trunk/tests/tui_sub.c + M /trunk/tests/turandom.c + M /trunk/tests/tvalist.c + M /trunk/tests/tversion.c + M /trunk/tests/ty0.c + M /trunk/tests/ty1.c + M /trunk/tests/tyn.c + M /trunk/tests/tzeta.c + M /trunk/tests/tzeta_ui.c + M /trunk/tools/bench/Makefile.am + M /trunk/tools/bench/benchtime.h + M /trunk/tools/bench/mpfrbench.c + M /trunk/tools/check_mparam.c + M /trunk/tools/ck-clz_tab + M /trunk/tools/ck-copyright-notice + M /trunk/tools/ck-mparam + M /trunk/tools/ck-news + M /trunk/tools/ck-version-info + M /trunk/tools/get_patches.sh + M /trunk/tune/Makefile.am + M /trunk/tune/bidimensional_sample.c + M /trunk/tune/speed.c + M /trunk/tune/tuneup.c + +Copyright notice update: added 2019 with + perl -pi -e 's/ (\d{4}-)?(2018)(?= Free Software)/ + " ".($1||"$2-").($2+1)/e' **/*(^/) +under zsh. Removed 2018 from the example in the doc/README.dev file. +------------------------------------------------------------------------ +r13356 | vlefevre | 2018-12-31 03:36:15 +0000 (Mon, 31 Dec 2018) | 2 lines +Changed paths: + M /trunk/tests/tfmma.c + +[tests/tfmma.c] Added double_rounding test to trigger errors before +the fix in mpfr_set_1_2 (set.c r13347). +------------------------------------------------------------------------ +r13355 | vlefevre | 2018-12-31 02:31:17 +0000 (Mon, 31 Dec 2018) | 1 line +Changed paths: + M /trunk/src/set.c + +[src/set.c] In mpfr_set_1_2, evaluate MPFR_PREC(s) just once. +------------------------------------------------------------------------ +r13354 | vlefevre | 2018-12-31 02:19:23 +0000 (Mon, 31 Dec 2018) | 1 line +Changed paths: + M /trunk/src/set.c + +[src/set.c] Clarified the mpfr_set_1_2 description. +------------------------------------------------------------------------ +r13353 | vlefevre | 2018-12-31 02:14:55 +0000 (Mon, 31 Dec 2018) | 4 lines +Changed paths: + M /trunk/src/set.c + +[src/set.c] For mpfr_set_1_2, corrected the comments and simplified the +generic algorithm (there is no need to distinguish the rounding modes, +except for the double-rounding test, and this simplification avoids the +non-portable inex | inex2). +------------------------------------------------------------------------ +r13351 | vlefevre | 2018-12-20 13:49:07 +0000 (Thu, 20 Dec 2018) | 3 lines +Changed paths: + M /trunk/doc/mini-gmp + +[doc/mini-gmp] Removed "#define GMP_LIMB_BITS 8": it is not used by +mini-gmp.h and yields a failure when building mini-gmp.c (which has +its own definition of GMP_LIMB_BITS, equivalent but not identical). +------------------------------------------------------------------------ +r13350 | vlefevre | 2018-12-20 13:43:57 +0000 (Thu, 20 Dec 2018) | 3 lines +Changed paths: + M /trunk/configure.ac + +[configure.ac] Support mini-gmp with reduced limb size, in the case +GMP_NUMB_BITS is not defined: guess GMP_NUMB_BITS from the size of +mp_limb_t instead of the size of unsigned long. +------------------------------------------------------------------------ +r13349 | vlefevre | 2018-12-20 13:29:33 +0000 (Thu, 20 Dec 2018) | 2 lines +Changed paths: + M /trunk/doc/mini-gmp + +[doc/mini-gmp] Correction to avoid a "conflicting types for 'mp_limb_t'" +error. +------------------------------------------------------------------------ +r13348 | zimmerma | 2018-12-14 15:23:15 +0000 (Fri, 14 Dec 2018) | 3 lines +Changed paths: + M /trunk/doc/mini-gmp + +[doc/mini-gmp] added note about using mini-gmp (development version) with + reduced limb size + +------------------------------------------------------------------------ +r13347 | zimmerma | 2018-12-14 14:39:48 +0000 (Fri, 14 Dec 2018) | 3 lines +Changed paths: + M /trunk/src/set.c + M /trunk/tests/tset.c + +[src/set.c] fixed double-rounding bug in mpfr_set_1_2 +[tests/tset.c] added corresponding tests + +------------------------------------------------------------------------ +r13346 | zimmerma | 2018-12-14 13:40:16 +0000 (Fri, 14 Dec 2018) | 2 lines +Changed paths: + M /trunk/tests/tset.c + +[tests/tset.c] added a test of test_set_1_2(), which currently fails + +------------------------------------------------------------------------ +r13345 | zimmerma | 2018-12-14 12:30:08 +0000 (Fri, 14 Dec 2018) | 2 lines +Changed paths: + M /trunk/tests/tcan_round.c + +[tests/tcan_round.c] disabled tests that don't agree with mpfr_can_round documentation + +------------------------------------------------------------------------ +r13344 | vlefevre | 2018-12-13 16:28:03 +0000 (Thu, 13 Dec 2018) | 1 line +Changed paths: + M /trunk/tests/tsprintf.c + +[tests/tsprintf.c] Updated a comment about ISO C vs POSIX for snprintf. +------------------------------------------------------------------------ +r13343 | vlefevre | 2018-12-13 16:18:49 +0000 (Thu, 13 Dec 2018) | 1 line +Changed paths: + M /trunk/tests/tsprintf.c + +[tests/tsprintf.c] Updated a comment about ISO C vs POSIX for snprintf. +------------------------------------------------------------------------ +r13342 | vlefevre | 2018-12-13 09:51:29 +0000 (Thu, 13 Dec 2018) | 1 line +Changed paths: + M /trunk/TODO + +[TODO] Added item: new functions mpfr_cmp_uj and mpfr_cmp_sj. +------------------------------------------------------------------------ +r13341 | vlefevre | 2018-12-13 09:47:45 +0000 (Thu, 13 Dec 2018) | 1 line +Changed paths: + M /trunk/TODO + +[TODO] Removed obsolete "check again coverage" from 2007. +------------------------------------------------------------------------ +r13340 | zimmerma | 2018-12-13 09:15:46 +0000 (Thu, 13 Dec 2018) | 2 lines +Changed paths: + M /trunk/src/sqr.c + +[src/sqr.c] fixed same issue as in r13338 and r13339 + +------------------------------------------------------------------------ +r13339 | zimmerma | 2018-12-13 09:01:38 +0000 (Thu, 13 Dec 2018) | 3 lines +Changed paths: + M /trunk/src/mul.c + +[src/mul.c] fixed bug in mpfr_mul() when sizeof(mp_limb_t) < sizeof(mpfr_exp_t) + (same issue as in r13338) + +------------------------------------------------------------------------ +r13338 | vlefevre | 2018-12-12 13:00:23 +0000 (Wed, 12 Dec 2018) | 5 lines +Changed paths: + M /trunk/src/mul.c + +[src/mul.c] For MPFR_WANT_ASSERT >= 2: minor changes in the code; +corrected a comment (even with mp_limb_t >= mpfr_exp_t, there was an +issue: the expression b1 - 1 + cc was computed in unsigned arithmetic, +then converted to mpfr_exp_t, with an implementation-defined result +when -1 was expected, i.e. with b1 = cc = 0). +------------------------------------------------------------------------ +r13337 | vlefevre | 2018-12-12 12:30:25 +0000 (Wed, 12 Dec 2018) | 1 line +Changed paths: + M /trunk/src/mul.c + +[src/mul.c] Corrected a typo in a comment. +------------------------------------------------------------------------ +r13336 | vlefevre | 2018-12-12 12:24:03 +0000 (Wed, 12 Dec 2018) | 1 line +Changed paths: + M /trunk/src/mul.c + +[src/mul.c] Fixed error message with MPFR_WANT_ASSERT >= 2. +------------------------------------------------------------------------ +r13335 | vlefevre | 2018-12-11 17:51:23 +0000 (Tue, 11 Dec 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-gmp.h + +[src/mpfr-gmp.h] For count_leading_zeros (MPFR_LONG_WITHIN_LIMB +not defined), no longer assume GMP_NUMB_BITS <= 32. +------------------------------------------------------------------------ +r13334 | vlefevre | 2018-12-11 17:33:53 +0000 (Tue, 11 Dec 2018) | 3 lines +Changed paths: + M /trunk/src/mpfr-gmp.h + +[src/mpfr-gmp.h] Fixed count_leading_zeros (avoid undefined behavior +on shift counts, which must be nonnegative and smaller than the width +of the type of the shifted value). +------------------------------------------------------------------------ +r13333 | zimmerma | 2018-12-11 17:01:47 +0000 (Tue, 11 Dec 2018) | 2 lines +Changed paths: + M /trunk/src/mul.c + +[src/mul.c] fixed reference routine mpfr_mul3() when sizeof(limb) < sizeof(exp) + +------------------------------------------------------------------------ +r13332 | zimmerma | 2018-12-11 15:39:46 +0000 (Tue, 11 Dec 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-gmp.h + +[src/mpfr-gmp.h] fixed count_leading_zeros for mini-gmp with 32-bit limb + +------------------------------------------------------------------------ +r13331 | zimmerma | 2018-12-10 14:08:16 +0000 (Mon, 10 Dec 2018) | 2 lines +Changed paths: + M /trunk/doc/mini-gmp + +[doc/mini-gmp] added remark about random functions + +------------------------------------------------------------------------ +r13329 | zimmerma | 2018-12-10 08:49:56 +0000 (Mon, 10 Dec 2018) | 3 lines +Changed paths: + M /trunk/tests/tdiv.c + +[tests/tdiv.c] fixed test_20151023 (was giving an error with micro-gmp-8 +and GMP_CHECK_RANDOMIZE=1544431052619574) + +------------------------------------------------------------------------ +r13328 | vlefevre | 2018-12-10 00:44:18 +0000 (Mon, 10 Dec 2018) | 1 line +Changed paths: + M /trunk/tools/mpfrlint + +[tools/mpfrlint] Added a test for some avoidable use of gmp_printf. +------------------------------------------------------------------------ +r13327 | vlefevre | 2018-12-07 17:58:36 +0000 (Fri, 07 Dec 2018) | 4 lines +Changed paths: + M /trunk/tests/mpfr-test.h + M /trunk/tests/tcan_round.c + M /trunk/tests/tests.c + +[tests] + * mpfr-test.h, tests.c: added n_trace function to output a mpn. + * tcan_round.c: use n_trace instead of gmp_printf ("%NX\n",...), + which is not available with mini-gmp. +------------------------------------------------------------------------ +r13326 | vlefevre | 2018-12-06 08:13:09 +0000 (Thu, 06 Dec 2018) | 1 line +Changed paths: + M /trunk/tests/tcan_round.c + +[tests/tcan_round.c] Corrected all the error messages for mini-gmp. +------------------------------------------------------------------------ +r13325 | vlefevre | 2018-12-06 08:11:06 +0000 (Thu, 06 Dec 2018) | 1 line +Changed paths: + M /trunk/tests/tcan_round.c + +[tests/tcan_round.c] Corrected error message for mini-gmp. +------------------------------------------------------------------------ +r13324 | vlefevre | 2018-12-05 20:01:26 +0000 (Wed, 05 Dec 2018) | 1 line +Changed paths: + M /trunk/tests/tpow_z.c + +[tests/tpow_z.c] Another fix and minor improvements. +------------------------------------------------------------------------ +r13323 | vlefevre | 2018-12-05 19:57:36 +0000 (Wed, 05 Dec 2018) | 2 lines +Changed paths: + M /trunk/tests/tpow_z.c + +[tests/tpow_z.c] Fixed a test (midpoint case) that was failing +with micro-gmp-8 and GMP_CHECK_RANDOMIZE=1544033327230569. +------------------------------------------------------------------------ +r13322 | vlefevre | 2018-12-05 17:43:28 +0000 (Wed, 05 Dec 2018) | 3 lines +Changed paths: + M /trunk/tests/tpow_z.c + +[tests/tpow_z.c] Fixed a test for MPFR_RNDF: do not check the ternary +value (a failure was occurring with --with-mini-gmp=.../micro-gmp/8 +and GMP_CHECK_RANDOMIZE=1544025040809270). +------------------------------------------------------------------------ +r13321 | vlefevre | 2018-12-05 17:41:33 +0000 (Wed, 05 Dec 2018) | 1 line +Changed paths: + M /trunk/tests/tpow_z.c + +[tests/tpow_z.c] Improved error message. +------------------------------------------------------------------------ +r13320 | vlefevre | 2018-12-05 17:39:25 +0000 (Wed, 05 Dec 2018) | 1 line +Changed paths: + M /trunk/src/mpfr-mini-gmp.c + +[src/mpfr-mini-gmp.c] Added missing "void" in function prototype. +------------------------------------------------------------------------ +r13319 | vlefevre | 2018-12-05 11:42:02 +0000 (Wed, 05 Dec 2018) | 2 lines +Changed paths: + M /trunk/configure.ac + +[configure.ac] When building against mini-gmp, check the availability of +lrand48, in particular because it is not part of the ISO C standard. +------------------------------------------------------------------------ +r13318 | zimmerma | 2018-12-05 09:26:09 +0000 (Wed, 05 Dec 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-mini-gmp.c + +[src/mpfr-mini-gmp.c] put back unconditional assert from r13316 (removed by error) + +------------------------------------------------------------------------ +r13317 | zimmerma | 2018-12-05 09:23:00 +0000 (Wed, 05 Dec 2018) | 3 lines +Changed paths: + M /trunk/src/mpfr-mini-gmp.c + +[src/mpfr-mini-gmp.c] improved random_limb (the low bits of lrand48 are bad) + and fixed gmp_urandomm_ui + +------------------------------------------------------------------------ +r13316 | vlefevre | 2018-12-05 08:29:54 +0000 (Wed, 05 Dec 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-mini-gmp.c + +[src/mpfr-mini-gmp.c] gmp_urandomm_ui: added a MPFR_ASSERTN +unconditionally, as n == 0 is always forbidden. +------------------------------------------------------------------------ +r13315 | zimmerma | 2018-12-05 08:03:17 +0000 (Wed, 05 Dec 2018) | 4 lines +Changed paths: + M /trunk/src/mpfr-mini-gmp.c + +[src/mpfr-mini-gmp.c] the static assert introduced in r13313 makes the + compilation fail for 8-bit limbs, while the code + was valid for n <= 256 in that case + +------------------------------------------------------------------------ +r13314 | vlefevre | 2018-12-04 18:05:26 +0000 (Tue, 04 Dec 2018) | 1 line +Changed paths: + M /trunk/src/mpfr-mini-gmp.c + +[src/mpfr-mini-gmp.c] Fixed types. +------------------------------------------------------------------------ +r13313 | vlefevre | 2018-12-04 17:58:34 +0000 (Tue, 04 Dec 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-mini-gmp.c + +[src/mpfr-mini-gmp.c] Added a static assertion to make sure that +the MPFR_ASSERTD added in r13312 is valid. +------------------------------------------------------------------------ +r13312 | zimmerma | 2018-12-04 17:00:35 +0000 (Tue, 04 Dec 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-mini-gmp.c + +[src/mpfr-mini-gmp.c] gmp_urandomm_ui did not generate uniform values + +------------------------------------------------------------------------ +r13311 | vlefevre | 2018-12-03 16:30:10 +0000 (Mon, 03 Dec 2018) | 1 line +Changed paths: + M /trunk/src/set_d.c + +[src/set_d.c] Improved comment. +------------------------------------------------------------------------ +r13309 | vlefevre | 2018-11-29 01:26:10 +0000 (Thu, 29 Nov 2018) | 1 line +Changed paths: + M /trunk/tests/Makefile.am + +[tests/Makefile.am] About r13308, added references to the bugs. +------------------------------------------------------------------------ +r13308 | vlefevre | 2018-11-29 01:24:39 +0000 (Thu, 29 Nov 2018) | 3 lines +Changed paths: + M /trunk/tests/Makefile.am + +[tests/Makefile.am] Unset DISPLAY as it is not needed and it can yield +error messages when running the tests with LOG_COMPILER=wine (for builds +with MinGW). +------------------------------------------------------------------------ +r13307 | vlefevre | 2018-11-29 01:05:47 +0000 (Thu, 29 Nov 2018) | 2 lines +Changed paths: + M /trunk/tests/tversion.c + +[tests/tversion.c] Updated a comment about an output issue with MinGW, +with the test run under Wine (which is really the cause of the issue). +------------------------------------------------------------------------ +r13306 | vlefevre | 2018-11-28 15:13:12 +0000 (Wed, 28 Nov 2018) | 2 lines +Changed paths: + M /trunk/tests/tstrtofr.c + +[tests/tstrtofr.c] In case of failure of some particular test, output +the probable cause of this failure (GCC bug 86554) with a workaround. +------------------------------------------------------------------------ +r13305 | vlefevre | 2018-11-27 17:39:11 +0000 (Tue, 27 Nov 2018) | 1 line +Changed paths: + M /trunk/tests/tversion.c + +[tests/tversion.c] Updated a comment about a printf issue with MinGW. +------------------------------------------------------------------------ +r13304 | vlefevre | 2018-11-27 16:51:17 +0000 (Tue, 27 Nov 2018) | 2 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] Added a FIXME about the error analysis (info that was +part of the FIXME resolved in r13303 and inadvertently dropped). +------------------------------------------------------------------------ +r13303 | vlefevre | 2018-11-27 15:15:13 +0000 (Tue, 27 Nov 2018) | 2 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] Resolved a FIXME; tstrtofr no longer fails due to +bug20181127 with 8-bit limbs (micro-gmp/8). +------------------------------------------------------------------------ +r13302 | vlefevre | 2018-11-27 15:05:17 +0000 (Tue, 27 Nov 2018) | 2 lines +Changed paths: + M /trunk/tests/tstrtofr.c + +[tests/tstrtofr.c] Added bug20181127 (test found with random_tests), +which fails with 8-bit limbs (micro-gmp/8). +------------------------------------------------------------------------ +r13299 | vlefevre | 2018-11-27 11:47:39 +0000 (Tue, 27 Nov 2018) | 4 lines +Changed paths: + M /trunk/src/mpfr-impl.h + M /trunk/tests/tstrtofr.c + +[src/mpfr-impl.h] Added a comment with a warning concerning the + meaning of MPFR_EXP_FSPEC. +[tests/tstrtofr.c] Fixed a MPFR_EXP_FSPEC related bug in a test + for _MPFR_EXP_FORMAT <= 2, e.g. with -D_MPFR_PREC_FORMAT=2. +------------------------------------------------------------------------ +r13298 | vlefevre | 2018-11-27 11:30:56 +0000 (Tue, 27 Nov 2018) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c + +[tests/tdiv.c] Fixed bad format string for an error message, detected +with -D_MPFR_PREC_FORMAT=2 (using -Werror...). +------------------------------------------------------------------------ +r13296 | vlefevre | 2018-11-26 13:15:45 +0000 (Mon, 26 Nov 2018) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c + M /trunk/tests/tset_str.c + +[tests] Moved bug20180908() from tget_str.c to tset_str.c since it tests +mpfr_set_str() only. This test was introduced in r13164. +------------------------------------------------------------------------ +r13295 | vlefevre | 2018-11-23 10:43:13 +0000 (Fri, 23 Nov 2018) | 1 line +Changed paths: + M /trunk/TODO + +[TODO] + More UBF functions. +------------------------------------------------------------------------ +r13293 | vlefevre | 2018-11-23 10:33:33 +0000 (Fri, 23 Nov 2018) | 1 line +Changed paths: + M /trunk/doc/mpfr.texi + +[doc/mpfr.texi] Updated the month. +------------------------------------------------------------------------ +r13292 | vlefevre | 2018-11-23 09:32:39 +0000 (Fri, 23 Nov 2018) | 1 line +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] Changed some unsigned long to unsigned int. +------------------------------------------------------------------------ +r13291 | vlefevre | 2018-11-23 09:22:30 +0000 (Fri, 23 Nov 2018) | 2 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] Some cleanup in parsed_string_to_mpfr. Avoid a potential +integer overflow in very high precision if mp_size_t < mpfr_prec_t. +------------------------------------------------------------------------ +r13290 | vlefevre | 2018-11-22 22:20:51 +0000 (Thu, 22 Nov 2018) | 2 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] Updated FIXME, due to new tests added to +tests/tstrtofr.c in r13278-13279,13286-13288. +------------------------------------------------------------------------ +r13289 | vlefevre | 2018-11-22 21:58:40 +0000 (Thu, 22 Nov 2018) | 2 lines +Changed paths: + M /trunk/src/nbits_ulong.c + +[src/nbits_ulong.c] Added missing initialization from r13269 +when MPFR_LONG_WITHIN_LIMB is not defined. +------------------------------------------------------------------------ +r13288 | vlefevre | 2018-11-22 21:52:00 +0000 (Thu, 22 Nov 2018) | 5 lines +Changed paths: + M /trunk/tests/tstrtofr.c + +[tests/tstrtofr.c] Resolved the FIXME and fixed the issue related to +the old mpfr_get_str description (see r13283). +Note: with the later fix r13289, a test still fails with 8-bit limbs +(incorrect exponent, possibly corresponding to the FIXME just before +"exp = GMP_NUMB_BITS - count;" in src/strtofr.c). +------------------------------------------------------------------------ +r13287 | vlefevre | 2018-11-22 16:29:01 +0000 (Thu, 22 Nov 2018) | 1 line +Changed paths: + M /trunk/tests/tstrtofr.c + +[tests/tstrtofr.c] Added comments, including a FIXME. +------------------------------------------------------------------------ +r13286 | vlefevre | 2018-11-22 16:14:59 +0000 (Thu, 22 Nov 2018) | 2 lines +Changed paths: + M /trunk/tests/tstrtofr.c + +[tests/tstrtofr.c] Resolved the FIXME for the random tests, and +increased the number of tests to trigger a failure. +------------------------------------------------------------------------ +r13283 | vlefevre | 2018-11-22 15:29:37 +0000 (Thu, 22 Nov 2018) | 3 lines +Changed paths: + M /trunk/NEWS + M /trunk/doc/mpfr.texi + M /trunk/src/get_str.c + +MPFR manual: corrected/completed the mpfr_get_str description in order +to follow the historical behavior and GMP's mpf_get_str function. +(Discussion in the Trier meeting.) +------------------------------------------------------------------------ +r13282 | vlefevre | 2018-11-22 15:09:31 +0000 (Thu, 22 Nov 2018) | 1 line +Changed paths: + M /trunk/src/get_str.c + +[src/get_str.c] Code style. +------------------------------------------------------------------------ +r13281 | vlefevre | 2018-11-22 09:27:09 +0000 (Thu, 22 Nov 2018) | 1 line +Changed paths: + M /trunk/doc/README.dev + +[doc/README.dev] Update about issues with mixing signed/unsigned types. +------------------------------------------------------------------------ +r13280 | vlefevre | 2018-11-22 09:01:58 +0000 (Thu, 22 Nov 2018) | 2 lines +Changed paths: + M /trunk/doc/README.dev + +[doc/README.dev] Added a note about the disallowed conversions between +function pointers and other kinds of pointers (including to void *). +------------------------------------------------------------------------ +r13279 | vlefevre | 2018-11-20 16:51:12 +0000 (Tue, 20 Nov 2018) | 4 lines +Changed paths: + M /trunk/tests/tstrtofr.c + +[tests/tstrtofr.c] Added a FIXME, which explains the current failure. +But there is currently an inconsistency in mpfr_get_str, whose digits +are not specified: + https://sympa.inria.fr/sympa/arc/mpfr/2018-11/msg00021.html +------------------------------------------------------------------------ +r13278 | vlefevre | 2018-11-20 16:17:15 +0000 (Tue, 20 Nov 2018) | 1 line +Changed paths: + M /trunk/tests/tstrtofr.c + +[tests/tstrtofr.c] Added random tests, which currently fail. +------------------------------------------------------------------------ +r13276 | vlefevre | 2018-11-19 15:23:59 +0000 (Mon, 19 Nov 2018) | 3 lines +Changed paths: + M /trunk/src/round_prec.c + +[src/round_prec.c] mpfr_can_round_raw: improved the code structure about +rnd1 and rnd2, making clear that they are not changed several times; +avoid the use of cc with 2 different meanings in the same code path. +------------------------------------------------------------------------ +r13275 | zimmerma | 2018-11-17 09:47:41 +0000 (Sat, 17 Nov 2018) | 3 lines +Changed paths: + M /trunk/src/round_prec.c + +[src/round_prec.c] fixed bug in mpfr_can_round when rnd2=RNDF, rnd1 is a + directed rounding, and the input is exact + +------------------------------------------------------------------------ +r13274 | vlefevre | 2018-11-16 15:06:27 +0000 (Fri, 16 Nov 2018) | 5 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] parsed_string_to_mpfr: updated a FIXME comment. +In short, the current tstrtofr.c tests seem to always be hard-to-round +cases. The consequence is that some parts of the code are run, but not +completely tested, because for these cases, some intermediate results, +potentially incorrect, are thrown out due to the next Ziv iteration! +------------------------------------------------------------------------ +r13273 | vlefevre | 2018-11-16 14:48:33 +0000 (Fri, 16 Nov 2018) | 1 line +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] parsed_string_to_mpfr: minor changes. +------------------------------------------------------------------------ +r13272 | vlefevre | 2018-11-16 14:31:59 +0000 (Fri, 16 Nov 2018) | 1 line +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] parsed_string_to_mpfr: added log messages. +------------------------------------------------------------------------ +r13271 | vlefevre | 2018-11-16 13:23:29 +0000 (Fri, 16 Nov 2018) | 1 line +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] Minor change to use MPFR_ASSERTD. +------------------------------------------------------------------------ +r13270 | vlefevre | 2018-11-16 13:15:57 +0000 (Fri, 16 Nov 2018) | 2 lines +Changed paths: + M /trunk/src/int_ceil_log2.c + M /trunk/src/mpfr-impl.h + +[src/{int_ceil_log2.c,mpfr-impl.h}] Consistent postcondition for +MPFR_INT_CEIL_LOG2 and __gmpfr_int_ceil_log2 (result >= 0). +------------------------------------------------------------------------ +r13269 | vlefevre | 2018-11-16 13:13:52 +0000 (Fri, 16 Nov 2018) | 1 line +Changed paths: + M /trunk/src/nbits_ulong.c + +[src/nbits_ulong.c] Code refactoring. Added {pre,post}condition. +------------------------------------------------------------------------ +r13268 | vlefevre | 2018-11-16 12:50:13 +0000 (Fri, 16 Nov 2018) | 1 line +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] parsed_string_to_mpfr: removed an incorrect cast. +------------------------------------------------------------------------ +r13267 | vlefevre | 2018-11-16 12:17:36 +0000 (Fri, 16 Nov 2018) | 2 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] parsed_string_to_mpfr: updated a FIXME comment (again, +another issue). +------------------------------------------------------------------------ +r13266 | vlefevre | 2018-11-16 12:09:24 +0000 (Fri, 16 Nov 2018) | 2 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] parsed_string_to_mpfr: updated a FIXME comment (there +is another issue to solve first). +------------------------------------------------------------------------ +r13265 | vlefevre | 2018-11-16 11:48:20 +0000 (Fri, 16 Nov 2018) | 1 line +Changed paths: + M /trunk/src/amd/mparam.h + M /trunk/src/arm/mparam.h + M /trunk/src/generic/coverage/mparam.h + M /trunk/src/mips/mparam.h + M /trunk/src/powerpc64/mparam.h + M /trunk/src/sparc64/mparam.h + M /trunk/src/x86/mparam.h + M /trunk/src/x86_64/core2/mparam.h + M /trunk/src/x86_64/mparam.h + +Removed trailing whitespace. +------------------------------------------------------------------------ +r13264 | vlefevre | 2018-11-16 10:26:36 +0000 (Fri, 16 Nov 2018) | 2 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] parsed_string_to_mpfr: updated a comment (useless code +in this function or incomplete tests). +------------------------------------------------------------------------ +r13263 | vlefevre | 2018-11-16 10:10:30 +0000 (Fri, 16 Nov 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-impl.h + M /trunk/src/rndna.c + +Avoid GCC's -Wcast-align warnings with 8-bit limbs (a correct alignment +is ensured by the code itself, and GCC cannot check just from a cast). +------------------------------------------------------------------------ +r13262 | vlefevre | 2018-11-16 08:24:25 +0000 (Fri, 16 Nov 2018) | 1 line +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] parsed_string_to_mpfr: updated comments. +------------------------------------------------------------------------ +r13261 | vlefevre | 2018-11-15 17:17:13 +0000 (Thu, 15 Nov 2018) | 2 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] parsed_string_to_mpfr: more code review, with minor +changes and corrections + a FIXME. +------------------------------------------------------------------------ +r13260 | vlefevre | 2018-11-15 11:35:55 +0000 (Thu, 15 Nov 2018) | 1 line +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] Typo. +------------------------------------------------------------------------ +r13259 | vlefevre | 2018-11-15 10:22:47 +0000 (Thu, 15 Nov 2018) | 1 line +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] Fixed an allocation bug for GMP_NUMB_BITS = 8. +------------------------------------------------------------------------ +r13258 | vlefevre | 2018-11-15 10:13:22 +0000 (Thu, 15 Nov 2018) | 2 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] Updated a comment: the issue with mpn_set_str found +in 2013-12 (see r8722) was actually an error in the GMP manual. +------------------------------------------------------------------------ +r13257 | vlefevre | 2018-11-15 10:02:17 +0000 (Thu, 15 Nov 2018) | 1 line +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] parsed_string_to_mpfr: improved an assertion; comments. +------------------------------------------------------------------------ +r13256 | zimmerma | 2018-11-15 09:43:43 +0000 (Thu, 15 Nov 2018) | 2 lines +Changed paths: + M /trunk/tests/tcan_round.c + +[tests/tcan_round.c] fixed some TODOs, which exposes a bug + +------------------------------------------------------------------------ +r13255 | vlefevre | 2018-11-15 09:33:02 +0000 (Thu, 15 Nov 2018) | 2 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] Near the beginning of parsed_string_to_mpfr: corrected +comments; added an assertion; minor change of a test. +------------------------------------------------------------------------ +r13253 | zimmerma | 2018-11-10 08:25:31 +0000 (Sat, 10 Nov 2018) | 4 lines +Changed paths: + M /trunk/src/mulders.c + M /trunk/tune/tuneup.c + +[src/mulders.c] fixed issue with --enable-gmp-internals +[tune/tuneup.c] likewise +(see https://sympa.inria.fr/sympa/arc/mpfr/2018-11/msg00015.html) + +------------------------------------------------------------------------ +r13251 | zimmerma | 2018-10-18 09:03:52 +0000 (Thu, 18 Oct 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-longlong.h + +[src/mpfr-longlong.h] applied patch from https://sympa.inria.fr/sympa/arc/mpfr/2018-10/msg00010.html + +------------------------------------------------------------------------ +r13244 | vlefevre | 2018-10-07 10:36:45 +0000 (Sun, 07 Oct 2018) | 1 line +Changed paths: + M /trunk/codespell.ignore + +[codespell.ignore] Also ignore "ue" (codespell 1.14). +------------------------------------------------------------------------ +r13237 | vlefevre | 2018-10-01 15:36:47 +0000 (Mon, 01 Oct 2018) | 6 lines +Changed paths: + M /trunk/configure.ac + M /trunk/src/Makefile.am + +[configure.ac,src/Makefile.am] About the --with-mini-gmp support, since +there are some advantages with the new code, one will probably not go +back. Thus removed the references to the Automake 1.15 bug and to the +old code. Also removed the mini_gmp_path=. workaround needed with the +old code (even with Automake 1.16), which had been added in r13217. +Also slightly improved the setup for mini-gmp. +------------------------------------------------------------------------ +r13236 | vlefevre | 2018-10-01 13:54:04 +0000 (Mon, 01 Oct 2018) | 1 line +Changed paths: + M /trunk/doc/with-mini-gmp.patch + +[doc/with-mini-gmp.patch] Updated comment. +------------------------------------------------------------------------ +r13235 | vlefevre | 2018-10-01 13:51:10 +0000 (Mon, 01 Oct 2018) | 8 lines +Changed paths: + M /trunk/configure.ac + M /trunk/src/Makefile.am + +[configure.ac,src/Makefile.am] Avoid a "make" failure due to a bug in +Automake 1.15 automatic dependency tracking: instead of using mini-gmp +directly in an external directory with a $(mini_gmp_path) variable in +src/Makefile.am, make the configure script add symbolic links to the +mini-gmp sources in the build directory, and use these symbolic links +for the MPFR build (as if they were plain files). +Tested under various conditions: static and shared; separate source and +build directories; changing the mini-gmp version without "make clean". +------------------------------------------------------------------------ +r13233 | vlefevre | 2018-09-28 08:17:28 +0000 (Fri, 28 Sep 2018) | 6 lines +Changed paths: + A /trunk/doc/with-mini-gmp.patch + +Added doc/with-mini-gmp.patch file (for the developers): +Modifications to configure.ac and src/Makefile.am that had been done +for --with-mini-gmp support. This is kept for the reference, as changes +may be needed as a workaround to a bug fixed in GNU Automake 1.16, and +other future changes might break things (to remember what was working +at this time). +------------------------------------------------------------------------ +r13230 | vlefevre | 2018-09-20 11:12:22 +0000 (Thu, 20 Sep 2018) | 1 line +Changed paths: + M /trunk/doc/mini-gmp + +[doc/mini-gmp] Update. +------------------------------------------------------------------------ +r13229 | vlefevre | 2018-09-19 12:55:56 +0000 (Wed, 19 Sep 2018) | 3 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/configure.ac + +[Makefile.am] Distribute the doc/mini-gmp file. +[configure.ac] For --with-mini-gmp, say: + "(experimental, please read doc/mini-gmp file)" +------------------------------------------------------------------------ +r13228 | vlefevre | 2018-09-19 12:47:03 +0000 (Wed, 19 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/Makefile.am + +[src/Makefile.am] Added nodist_ for mini-gmp.{c,h} so that these files +(not part of MPFR) are not put in the tarballs by "make dist". +------------------------------------------------------------------------ +r13227 | vlefevre | 2018-09-19 12:17:20 +0000 (Wed, 19 Sep 2018) | 4 lines +Changed paths: + M /trunk/NEWS + M /trunk/configure.ac + M /trunk/doc/mini-gmp + +Removed --enable-mini-gmp configure option. + * NEWS: say that it is replaced by --with-mini-gmp. + * configure.ac: --enable-mini-gmp removed. + * doc/mini-gmp: update. +------------------------------------------------------------------------ +r13226 | vlefevre | 2018-09-19 11:50:17 +0000 (Wed, 19 Sep 2018) | 1 line +Changed paths: + M /trunk/src/mpfr-mini-gmp.c + +[src/mpfr-mini-gmp.c] Missing #else (from r13156). +------------------------------------------------------------------------ +r13225 | vlefevre | 2018-09-19 11:36:03 +0000 (Wed, 19 Sep 2018) | 5 lines +Changed paths: + M /trunk/configure.ac + +[configure.ac] When using --with-mini-gmp, define GMP_NUMB_BITS if this +macro is not already defined in mini-gmp.h (this is done a bit like +with --enable-mini-gmp, but the handling in this option is buggy as +GMP_NUMB_BITS is defined with AC_DEFINE_UNQUOTED unconditionally, +though is most cases the contents of the macros are the same). +------------------------------------------------------------------------ +r13224 | vlefevre | 2018-09-19 10:59:02 +0000 (Wed, 19 Sep 2018) | 3 lines +Changed paths: + M /trunk/configure.ac + +[configure.ac] Do not split "Setup GMP detection". When building +MPFR against mini-gmp, do not run any "Setup GMP detection" test +(in particular, no longer check gmp.h, as it is useless). +------------------------------------------------------------------------ +r13223 | vlefevre | 2018-09-19 10:44:08 +0000 (Wed, 19 Sep 2018) | 4 lines +Changed paths: + M /trunk/src/mpfr-mini-gmp.h + +[src/mpfr-mini-gmp.h] Removed incorrect GMP_NUMB_BITS macro definition, +and this macro needs to be usable in preprocessor tests, and sizeof and +types are not available at this level. GMP_NUMB_BITS must be defined by +mini-gmp.h, by the configure script, or by the user. +------------------------------------------------------------------------ +r13222 | vlefevre | 2018-09-19 00:21:16 +0000 (Wed, 19 Sep 2018) | 1 line +Changed paths: + M /trunk/tools/mpfrlint + +[tools/mpfrlint] Update due to r13221. +------------------------------------------------------------------------ +r13221 | vlefevre | 2018-09-18 13:59:54 +0000 (Tue, 18 Sep 2018) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am + +[tests/Makefile.am] Run tversion at the beginning of the tests, +then show its output and svnversion's output too. +------------------------------------------------------------------------ +r13220 | vlefevre | 2018-09-18 08:10:40 +0000 (Tue, 18 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-mini-gmp.h + +[src/mpfr-mini-gmp.h] Added a FIXME (failure with a mini-gmp that +does not define GMP_NUMB_BITS, such as the official one). +------------------------------------------------------------------------ +r13219 | vlefevre | 2018-09-18 01:47:06 +0000 (Tue, 18 Sep 2018) | 1 line +Changed paths: + M /trunk/tests/random2.c + +[tests/random2.c] Avoid undefined behavior on shift count. +------------------------------------------------------------------------ +r13218 | vlefevre | 2018-09-18 01:45:39 +0000 (Tue, 18 Sep 2018) | 1 line +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Fixed MPFR_LIMB_MASK() macro. +------------------------------------------------------------------------ +r13217 | vlefevre | 2018-09-18 01:17:52 +0000 (Tue, 18 Sep 2018) | 2 lines +Changed paths: + M /trunk/configure.ac + +[configure.ac] Avoid a configure failure with automatic dependency +tracking when --with-mini-gmp is not used (bug in Automake?). +------------------------------------------------------------------------ +r13216 | vlefevre | 2018-09-18 00:00:24 +0000 (Tue, 18 Sep 2018) | 1 line +Changed paths: + M /trunk/NEWS + +[NEWS] + Mini-gmp support via the --with-mini-gmp configure option. +------------------------------------------------------------------------ +r13214 | vlefevre | 2018-09-17 23:55:55 +0000 (Mon, 17 Sep 2018) | 2 lines +Changed paths: + M /trunk + M /trunk/configure.ac + M /trunk/doc/mini-gmp + M /trunk/src/Makefile.am + M /trunk/src/mpfr-impl.h + M /trunk/src/mpfr.h + +Merged the with-mini-gmp branch into the trunk: new --with-mini-gmp +configure option to build MPFR against mini-gmp (instead of GMP). +------------------------------------------------------------------------ +r13211 | vlefevre | 2018-09-17 15:01:51 +0000 (Mon, 17 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/mul_ui.c + +[src/mul_ui.c] Better code organization (with the MPFR_RET at the right +place). Corrected indentation after #else. +------------------------------------------------------------------------ +r13210 | zimmerma | 2018-09-17 14:40:01 +0000 (Mon, 17 Sep 2018) | 3 lines +Changed paths: + M /trunk/src/mpfr-mini-gmp.c + M /trunk/src/mul_ui.c + +[src/mpfr-mini-gmp.c] added #if 0 ... #endif for mpz_dump (unused) +[src/mul_ui.c] fixed compiler warning for limb < long + +------------------------------------------------------------------------ +r13207 | vlefevre | 2018-09-17 10:08:51 +0000 (Mon, 17 Sep 2018) | 1 line +Changed paths: + M /trunk/tests/random2.c + +[tests/random2.c] Fix for 8-bit limb. +------------------------------------------------------------------------ +r13205 | vlefevre | 2018-09-17 09:17:18 +0000 (Mon, 17 Sep 2018) | 1 line +Changed paths: + M /trunk/tests/tests.c + +[tests/tests.c] Define only one buffer in test_version(). +------------------------------------------------------------------------ +r13204 | vlefevre | 2018-09-17 09:14:21 +0000 (Mon, 17 Sep 2018) | 1 line +Changed paths: + M /trunk/tests/random2.c + +[tests/random2.c] Improved code by using MPFR_LIMB_* macros. +------------------------------------------------------------------------ +r13203 | vlefevre | 2018-09-17 09:04:58 +0000 (Mon, 17 Sep 2018) | 3 lines +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Improved MPFR_LIMB_* macros for mp_limb_t < int +(e.g. 16-bit or 8-bit limb), as in such a case, integer promotion +transforms mp_limb_t to int. +------------------------------------------------------------------------ +r13202 | zimmerma | 2018-09-17 07:56:07 +0000 (Mon, 17 Sep 2018) | 2 lines +Changed paths: + M /trunk/tests/tests.c + +[tests/tests.c] fixed compiler warning + +------------------------------------------------------------------------ +r13200 | vlefevre | 2018-09-14 21:46:06 +0000 (Fri, 14 Sep 2018) | 3 lines +Changed paths: + M /trunk/src/get_si.c + +[src/get_si.c] Code refactoring/simplification like what has been +done for get_ui.c in r13185, fixing also an integer overflow when +MPFR_LONG_WITHIN_LIMB is not defined. +------------------------------------------------------------------------ +r13199 | vlefevre | 2018-09-14 15:28:12 +0000 (Fri, 14 Sep 2018) | 1 line +Changed paths: + M /trunk/tests/random2.c + +[tests/random2.c] Fix for 16-bit limb. +------------------------------------------------------------------------ +r13198 | vlefevre | 2018-09-14 15:19:38 +0000 (Fri, 14 Sep 2018) | 1 line +Changed paths: + M /trunk/src/add1.c + +[src/add1.c] Fix for 16-bit limb. +------------------------------------------------------------------------ +r13197 | vlefevre | 2018-09-14 15:04:09 +0000 (Fri, 14 Sep 2018) | 1 line +Changed paths: + M /trunk/src/mpfr-gmp.h + +[src/mpfr-gmp.h] Fixed bug in add_ssaaaa / sub_ddmmss from r13081. +------------------------------------------------------------------------ +r13194 | vlefevre | 2018-09-14 13:03:24 +0000 (Fri, 14 Sep 2018) | 1 line +Changed paths: + M /trunk/src/Makefile.am + +[src/Makefile.am] Moved a comment in a better place. +------------------------------------------------------------------------ +r13191 | vlefevre | 2018-09-14 11:19:31 +0000 (Fri, 14 Sep 2018) | 1 line +Changed paths: + M /trunk/configure.ac + +[configure.ac] Typo. +------------------------------------------------------------------------ +r13189 | vlefevre | 2018-09-14 11:13:50 +0000 (Fri, 14 Sep 2018) | 1 line +Changed paths: + M /trunk/configure.ac + +[configure.ac] Updated comments about configure options for mini-gmp. +------------------------------------------------------------------------ +r13188 | zimmerma | 2018-09-13 16:27:28 +0000 (Thu, 13 Sep 2018) | 2 lines +Changed paths: + M /trunk/tests/tsin.c + +[tests/tsin.c] reduce REDUCE_EMAX with mini-gmp + +------------------------------------------------------------------------ +r13186 | vlefevre | 2018-09-13 13:03:53 +0000 (Thu, 13 Sep 2018) | 1 line +Changed paths: + M /trunk/src/get_ui.c + +[src/get_ui.c] Added assertions. +------------------------------------------------------------------------ +r13185 | vlefevre | 2018-09-13 13:01:05 +0000 (Thu, 13 Sep 2018) | 1 line +Changed paths: + M /trunk/src/get_ui.c + +[src/get_ui.c] Code refactoring/simplification. +------------------------------------------------------------------------ +r13184 | vlefevre | 2018-09-13 11:04:50 +0000 (Thu, 13 Sep 2018) | 1 line +Changed paths: + M /trunk/src/sin_cos.c + +[src/sin_cos.c] Added assertions protecting against buffer overflow. +------------------------------------------------------------------------ +r13183 | zimmerma | 2018-09-13 08:46:01 +0000 (Thu, 13 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/sin_cos.c + +[src/sin_cos.c] fix for small limb size + +------------------------------------------------------------------------ +r13182 | vlefevre | 2018-09-12 14:32:42 +0000 (Wed, 12 Sep 2018) | 3 lines +Changed paths: + M /trunk/src/mpfr-mini-gmp.h + +[src/mpfr-mini-gmp.h] Fix: Since gmp_version is not defined in mini-gmp, +we must not declare it (otherwise one would get a link failure instead +of a compilation failure if gmp_version is used by mistake). +------------------------------------------------------------------------ +r13181 | vlefevre | 2018-09-12 14:28:03 +0000 (Wed, 12 Sep 2018) | 1 line +Changed paths: + M /trunk/tests/tests.c + +[tests/tests.c] Improved change in r13179 for mini-gmp. +------------------------------------------------------------------------ +r13180 | vlefevre | 2018-09-12 13:39:57 +0000 (Wed, 12 Sep 2018) | 3 lines +Changed paths: + M /trunk/configure.ac + +[configure.ac] Do not check for CC and CFLAGS in gmp.h if mini-gmp is +used, i.e. if --enable-mini-gmp (current option) or --with-mini-gmp +(future option) is given. +------------------------------------------------------------------------ +r13179 | zimmerma | 2018-09-12 13:32:33 +0000 (Wed, 12 Sep 2018) | 2 lines +Changed paths: + M /trunk/tests/tests.c + +[tests/tests.c] libgmp is not defined with mini-gmp (issue found with -O0) + +------------------------------------------------------------------------ +r13178 | vlefevre | 2018-09-12 12:48:50 +0000 (Wed, 12 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-mini-gmp.h + +[src/mpfr-mini-gmp.h] Removed #include lines as mpfr-mini-gmp.h is +included only in mpfr-impl.h, which already does these #include's. +------------------------------------------------------------------------ +r13177 | vlefevre | 2018-09-12 12:21:53 +0000 (Wed, 12 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Check that MPFR_HAVE_GMP_IMPL and MPFR_USE_MINI_GMP +are not both defined. +------------------------------------------------------------------------ +r13176 | vlefevre | 2018-09-12 12:19:21 +0000 (Wed, 12 Sep 2018) | 3 lines +Changed paths: + M /trunk/src/mpfr-mini-gmp.c + +[src/mpfr-mini-gmp.c] Removed #include "mpfr-mini-gmp.h" as this include +is already done in mpfr-impl.h (in both cases, when MPFR_USE_MINI_GMP is +defined). +------------------------------------------------------------------------ +r13175 | vlefevre | 2018-09-12 12:11:04 +0000 (Wed, 12 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/rec_sqrt.c + +[src/rec_sqrt.c] Replaced "if (GMP_NUMB_BITS >= 16)" by a preprocessor +test "#if GMP_NUMB_BITS >= 16" like earlier. Use static assertions. +------------------------------------------------------------------------ +r13174 | vlefevre | 2018-09-12 10:43:22 +0000 (Wed, 12 Sep 2018) | 1 line +Changed paths: + M /trunk/src/rec_sqrt.c + +[src/rec_sqrt.c] Fixed types for 8-bit limb. Removed useless casts. +------------------------------------------------------------------------ +r13173 | vlefevre | 2018-09-12 10:26:45 +0000 (Wed, 12 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/rec_sqrt.c + +[src/rec_sqrt.c] Fixed a type from r13172 (int was obviously too short +and was yielding a segmentation fault). +------------------------------------------------------------------------ +r13172 | zimmerma | 2018-09-11 20:59:57 +0000 (Tue, 11 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/rec_sqrt.c + +[src/rec_sqrt.c] fixed for 8-bit limb + +------------------------------------------------------------------------ +r13171 | zimmerma | 2018-09-11 12:01:25 +0000 (Tue, 11 Sep 2018) | 2 lines +Changed paths: + M /trunk/tests/tcan_round.c + +[tests/tcan_round.c] fixed test for small value of GMP_NUMB_BITS + +------------------------------------------------------------------------ +r13170 | zimmerma | 2018-09-11 10:45:39 +0000 (Tue, 11 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] fixed r13168: in case exact=0, mpn_rshift was not done + +------------------------------------------------------------------------ +r13169 | zimmerma | 2018-09-11 09:37:07 +0000 (Tue, 11 Sep 2018) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c + +[tests/tsqrt.c] modified test_sqrt1n() so that it passes with 8-bit limbs + +------------------------------------------------------------------------ +r13168 | vlefevre | 2018-09-11 09:00:21 +0000 (Tue, 11 Sep 2018) | 1 line +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] Replaced "exact &=" by "exact = exact &&" as usual. +------------------------------------------------------------------------ +r13167 | zimmerma | 2018-09-11 08:49:53 +0000 (Tue, 11 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] fix for 8-bit limb + +------------------------------------------------------------------------ +r13166 | zimmerma | 2018-09-11 07:39:16 +0000 (Tue, 11 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] added comment + +------------------------------------------------------------------------ +r13165 | vlefevre | 2018-09-10 23:50:38 +0000 (Mon, 10 Sep 2018) | 1 line +Changed paths: + M /trunk/doc/mpfr.texi + +[doc/mpfr.texi] Updated the month. +------------------------------------------------------------------------ +r13164 | zimmerma | 2018-09-10 19:17:57 +0000 (Mon, 10 Sep 2018) | 3 lines +Changed paths: + M /trunk/src/strtofr.c + M /trunk/tests/tget_str.c + +[src/strtofr.c] fix from r13163 was incorrect +[tests/tget_str.c] added a testcase, and fixed an error message + +------------------------------------------------------------------------ +r13163 | zimmerma | 2018-09-08 17:00:40 +0000 (Sat, 08 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] resolved a FIXME + +------------------------------------------------------------------------ +r13162 | zimmerma | 2018-09-08 14:02:13 +0000 (Sat, 08 Sep 2018) | 2 lines +Changed paths: + M /trunk/tests/tdiv_ui.c + +[tests/tdiv_ui.c] fixed corner_cases() test + +------------------------------------------------------------------------ +r13161 | zimmerma | 2018-09-08 11:39:54 +0000 (Sat, 08 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/int_ceil_log2.c + +[src/int_ceil_log2.c] fixed __gmpfr_int_ceil_log2 for limb < long + +------------------------------------------------------------------------ +r13160 | zimmerma | 2018-09-07 20:26:15 +0000 (Fri, 07 Sep 2018) | 2 lines +Changed paths: + M /trunk/tests/random2.c + +[tests/random2.c] fixed mpfr_random2 for GMP_NUMB_BITS <> 64 + +------------------------------------------------------------------------ +r13159 | zimmerma | 2018-09-07 19:16:34 +0000 (Fri, 07 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-mini-gmp.c + +[src/mpfr-mini-gmp.c] fixed another compiler warning + +------------------------------------------------------------------------ +r13158 | zimmerma | 2018-09-07 19:14:29 +0000 (Fri, 07 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/get_ui.c + +[src/get_ui.c] fixed compiler warning + +------------------------------------------------------------------------ +r13157 | zimmerma | 2018-09-07 17:12:46 +0000 (Fri, 07 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/rec_sqrt.c + M /trunk/src/set_d.c + +some fixes for 8-bit limb support + +------------------------------------------------------------------------ +r13156 | zimmerma | 2018-09-07 15:17:37 +0000 (Fri, 07 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/constant.c + M /trunk/src/get_d64.c + M /trunk/src/get_ld.c + M /trunk/src/get_str.c + M /trunk/src/mpfr-mini-gmp.c + M /trunk/src/mpfr-mini-gmp.h + M /trunk/src/rec_sqrt.c + M /trunk/src/set_d.c + M /trunk/src/set_d64.c + M /trunk/src/set_ld.c + +adapt to 8-bit limbs (work in progress) + +------------------------------------------------------------------------ +r13155 | zimmerma | 2018-09-07 11:59:57 +0000 (Fri, 07 Sep 2018) | 2 lines +Changed paths: + M /trunk/tests/tl2b.c + +[tests/tl2b.c] extend to 8-bit limb + +------------------------------------------------------------------------ +r13154 | zimmerma | 2018-09-07 11:49:13 +0000 (Fri, 07 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-gmp.h + +[src/mpfr-gmp.h] fix for 8-bit limb + +------------------------------------------------------------------------ +r13153 | vlefevre | 2018-09-07 09:23:57 +0000 (Fri, 07 Sep 2018) | 2 lines +Changed paths: + M /trunk/doc/mpfr.texi + +[doc/mpfr.texi] Added @tie{} (normal non-breakable space) at various +places to avoid unwanted line breaking. +------------------------------------------------------------------------ +r13152 | vlefevre | 2018-09-07 08:45:54 +0000 (Fri, 07 Sep 2018) | 4 lines +Changed paths: + M /trunk/doc/mpfr.texi + +[doc/mpfr.texi] mpfr_rootn_ui, mpfr_root: changed k to n in order to +match IEEE 754-2008. Also improved the description of mpfr_rootn_ui, +mentioning the P754/D2.41 draft of the next IEEE 754 standard because +IEEE 754-2008 is incomplete. +------------------------------------------------------------------------ +r13151 | vlefevre | 2018-09-06 10:44:48 +0000 (Thu, 06 Sep 2018) | 1 line +Changed paths: + M /trunk/tests/tdiv.c + +[tests/tdiv.c] !mpfr_equal_p is better than mpfr_cmp. +------------------------------------------------------------------------ +r13150 | zimmerma | 2018-09-06 07:56:44 +0000 (Thu, 06 Sep 2018) | 3 lines +Changed paths: + M /trunk/src/rint.c + +[src/rint.c] fixed bug with 16-bit limb + (found by trint with GMP_CHECK_RANDOMIZE=1536206745598891) + +------------------------------------------------------------------------ +r13149 | zimmerma | 2018-09-06 07:33:45 +0000 (Thu, 06 Sep 2018) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c + +[tests/tdiv.c] fixed test_20151023() + +------------------------------------------------------------------------ +r13148 | vlefevre | 2018-09-06 07:15:25 +0000 (Thu, 06 Sep 2018) | 1 line +Changed paths: + M /trunk/src/get_d64.c + M /trunk/src/mpfr-impl.h + M /trunk/src/mpfr-mini-gmp.c + M /trunk/src/ui_div.c + +Removed trailing whitespace. +------------------------------------------------------------------------ +r13147 | vlefevre | 2018-09-06 06:46:40 +0000 (Thu, 06 Sep 2018) | 3 lines +Changed paths: + M /trunk/src/get_ld.c + +[src/get_ld.c] Removed incorrect and useless assertions (manl +has exactly 32 bits, thus a shift count of 32 bits is invalid, +but also useless). +------------------------------------------------------------------------ +r13146 | zimmerma | 2018-09-05 16:17:58 +0000 (Wed, 05 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/get_ld.c + +[src/get_ld.c] fixed (hopefully definitively) for 16-bit limb + +------------------------------------------------------------------------ +r13145 | vlefevre | 2018-09-05 15:53:50 +0000 (Wed, 05 Sep 2018) | 4 lines +Changed paths: + M /trunk/src/set_d64.c + +[src/set_d64.c] 2 fixes concerning rp[]: + * If GMP_NUMB_BITS >= 64, there is a shift of 32 bits, thus one + uses mp_limb_t (> 32 bits) instead of unsigned int. + * Otherwise use unsigned long as an unsigned int might be on 16 bits. +------------------------------------------------------------------------ +r13144 | vlefevre | 2018-09-05 15:26:46 +0000 (Wed, 05 Sep 2018) | 1 line +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Indentation. +------------------------------------------------------------------------ +r13143 | vlefevre | 2018-09-05 15:23:00 +0000 (Wed, 05 Sep 2018) | 1 line +Changed paths: + M /trunk/src/Makefile.am + M /trunk/src/exp_2.c + A /trunk/src/nbits_ulong.c + +[src] Moved mpfr_nbits_ulong to its own file "nbits_ulong.c". +------------------------------------------------------------------------ +r13142 | vlefevre | 2018-09-05 15:17:56 +0000 (Wed, 05 Sep 2018) | 1 line +Changed paths: + M /trunk/src/pow_si.c + +[src/pow_si.c] MPFR_NEED_LONGLONG_H is still needed. +------------------------------------------------------------------------ +r13141 | vlefevre | 2018-09-05 14:56:48 +0000 (Wed, 05 Sep 2018) | 1 line +Changed paths: + M /trunk/tests/tget_set_d64.c + +[tests/tget_set_d64.c] Removed xxx suffix added in r13139 (by mistake?). +------------------------------------------------------------------------ +r13140 | zimmerma | 2018-09-05 14:30:57 +0000 (Wed, 05 Sep 2018) | 4 lines +Changed paths: + M /trunk/src/exp_2.c + M /trunk/src/mpfr-impl.h + M /trunk/src/pow_si.c + +[src/exp_2.c] export (internally) nbits_ulong (renamed to mpfr_nbits_ulong) +[src/mpfr-impl.h] added prototype for mpfr_nbits_ulong +[src/pow_si.c] fixed for 16-bit limb + +------------------------------------------------------------------------ +r13139 | zimmerma | 2018-09-05 13:18:11 +0000 (Wed, 05 Sep 2018) | 4 lines +Changed paths: + M /trunk/src/get_d64.c + M /trunk/src/set_d64.c + M /trunk/tests/tget_set_d64.c + +[src/get_d64.c] fixed for 16-bit limb +[src/set_d64.c] likewise +[tests/tget_set_d64.c] improved error message + +------------------------------------------------------------------------ +r13137 | vlefevre | 2018-09-05 11:52:06 +0000 (Wed, 05 Sep 2018) | 3 lines +Changed paths: + M /trunk/src/get_ld.c + +[src/get_ld.c] In the case GMP_NUMB_BITS == 16, cast to unsigned long +instead of unsigned int since shift counts can be up to 16 and an int +might be on 16 bits only. +------------------------------------------------------------------------ +r13136 | zimmerma | 2018-09-05 10:36:30 +0000 (Wed, 05 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/get_ld.c + +[src/get_ld.c] when denorm=16, a 32-bit shift on an unsigned int is undefined + +------------------------------------------------------------------------ +r13135 | zimmerma | 2018-09-05 10:20:36 +0000 (Wed, 05 Sep 2018) | 3 lines +Changed paths: + M /trunk/src/exp_2.c + M /trunk/tests/texp.c + +[src/exp_2.c] fix for 16-bit limb +[tests/texp.c] improve error message + +------------------------------------------------------------------------ +r13134 | zimmerma | 2018-09-05 08:25:33 +0000 (Wed, 05 Sep 2018) | 3 lines +Changed paths: + M /trunk/src/mpfr-mini-gmp.c + M /trunk/tests/terandom_chisq.c + +[src/mpfr-mini-gmp.c] fixed gmp_urandomb_ui for 16-bit limb, added mpz_dump +[tests/terandom_chisq.c] more details in case of error + +------------------------------------------------------------------------ +r13133 | zimmerma | 2018-09-05 07:11:49 +0000 (Wed, 05 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/random_deviate.c + +[src/random_deviate.c] fixed typo + +------------------------------------------------------------------------ +r13132 | vlefevre | 2018-09-04 17:29:15 +0000 (Tue, 04 Sep 2018) | 1 line +Changed paths: + M /trunk/tests/tset_z_exp.c + +[tests/tset_z_exp.c] Avoid a GCC bug. +------------------------------------------------------------------------ +r13131 | vlefevre | 2018-09-04 16:41:18 +0000 (Tue, 04 Sep 2018) | 1 line +Changed paths: + M /trunk/tests/tset_z_exp.c + +[tests/tset_z_exp.c] Attempt to fix randexp, but GCC complains. +------------------------------------------------------------------------ +r13130 | vlefevre | 2018-09-04 16:06:38 +0000 (Tue, 04 Sep 2018) | 1 line +Changed paths: + M /trunk/src/mpn_exp.c + +[src/mpn_exp.c] Avoid useless "while" in nbits_mpfr_exp_t. +------------------------------------------------------------------------ +r13129 | zimmerma | 2018-09-04 15:27:36 +0000 (Tue, 04 Sep 2018) | 3 lines +Changed paths: + M /trunk/tests/tget_ld_2exp.c + M /trunk/tests/tset_ld.c + +[tests/tset_ld.c] give more digits in case of error +[tests/tget_ld_2exp.c] added one test (currently fails for 16-bit limb) + +------------------------------------------------------------------------ +r13128 | zimmerma | 2018-09-04 15:20:19 +0000 (Tue, 04 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/set_ld.c + +[src/set_ld.c] partial fix for 16-bit limb (typo + nice bug!) + +------------------------------------------------------------------------ +r13127 | zimmerma | 2018-09-04 14:50:57 +0000 (Tue, 04 Sep 2018) | 2 lines +Changed paths: + M /trunk/tests/tset_z_exp.c + +[tests/tset_z_exp.c] fixed infinite loop in test code for limb < mpfr_exp_t + +------------------------------------------------------------------------ +r13126 | zimmerma | 2018-09-04 14:33:27 +0000 (Tue, 04 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/mpn_exp.c + +[src/mpn_exp.c] adapt to bitsize(mpfr_exp_t) > GMP_NUMB_BITS + +------------------------------------------------------------------------ +r13125 | vlefevre | 2018-09-04 14:19:31 +0000 (Tue, 04 Sep 2018) | 1 line +Changed paths: + M /trunk/src/div.c + +[src/div.c] Code simplification. +------------------------------------------------------------------------ +r13124 | vlefevre | 2018-09-04 14:14:39 +0000 (Tue, 04 Sep 2018) | 1 line +Changed paths: + M /trunk/src/round_prec.c + +[src/round_prec.c] MPFR_LIMB is actually useless now... +------------------------------------------------------------------------ +r13123 | vlefevre | 2018-09-04 14:11:39 +0000 (Tue, 04 Sep 2018) | 1 line +Changed paths: + M /trunk/src/round_prec.c + +[src/round_prec.c] Code style and potential correction for 16-bit limb. +------------------------------------------------------------------------ +r13122 | vlefevre | 2018-09-04 14:06:25 +0000 (Tue, 04 Sep 2018) | 3 lines +Changed paths: + M /trunk/src/sqrt_ui.c + +[src/sqrt_ui.c] Moved MPFR_SAVE_EXPO_FREE after mpfr_sqrt because +the uu argument may be out of range and there is no guarantee that +mpfr_sqrt can handle that. Improved consistency; code refactoring. +------------------------------------------------------------------------ +r13121 | zimmerma | 2018-09-04 13:33:35 +0000 (Tue, 04 Sep 2018) | 3 lines +Changed paths: + M /trunk/src/round_prec.c + M /trunk/tests/tcan_round.c + +[src/round_prec.c] fixed for 16-bit limb +[tests/tcan_round.c] improve error message + +------------------------------------------------------------------------ +r13120 | zimmerma | 2018-09-04 13:33:02 +0000 (Tue, 04 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/sqrt_ui.c + +[src/sqrt_ui.c] fixed for 16-bit limb + +------------------------------------------------------------------------ +r13119 | vlefevre | 2018-09-04 10:44:33 +0000 (Tue, 04 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/get_si.c + +[src/get_si.c] Make sure that a left shift is done on an unsigned type +(as a left shift on a 0 of signed type was not specified by C90). +------------------------------------------------------------------------ +r13118 | zimmerma | 2018-09-04 09:21:29 +0000 (Tue, 04 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/div.c + +[src/div.c] fix for 16-bit limbs, and added comments + +------------------------------------------------------------------------ +r13117 | zimmerma | 2018-09-04 09:13:50 +0000 (Tue, 04 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/rint.c + +[src/rint.c] fix for 16-bit limb + +------------------------------------------------------------------------ +r13116 | zimmerma | 2018-09-04 09:12:07 +0000 (Tue, 04 Sep 2018) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c + +[tests/tdiv.c] more detailed error message + +------------------------------------------------------------------------ +r13115 | zimmerma | 2018-09-04 09:10:34 +0000 (Tue, 04 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/get_si.c + +[src/get_si.c] forgot cast when long > limb + +------------------------------------------------------------------------ +r13114 | zimmerma | 2018-09-04 09:10:11 +0000 (Tue, 04 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/get_ui.c + +[src/get_ui.c] forgot cast when long > limb + +------------------------------------------------------------------------ +r13113 | zimmerma | 2018-09-03 19:35:31 +0000 (Mon, 03 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/odd_p.c + +[src/odd_p.c] fix for 16-bit limb + +------------------------------------------------------------------------ +r13112 | zimmerma | 2018-09-03 19:19:20 +0000 (Mon, 03 Sep 2018) | 2 lines +Changed paths: + M /trunk/tests/tbeta.c + +[tests/tbeta.c] exit at the first error + +------------------------------------------------------------------------ +r13111 | zimmerma | 2018-09-03 15:52:18 +0000 (Mon, 03 Sep 2018) | 3 lines +Changed paths: + M /trunk/src/get_si.c + M /trunk/src/get_ui.c + +[src/get_si.c] adapt to 16-bit limbs +[src/get_ui.c] likewise + +------------------------------------------------------------------------ +r13110 | zimmerma | 2018-09-03 14:05:11 +0000 (Mon, 03 Sep 2018) | 3 lines +Changed paths: + M /trunk/src/cmp_si.c + M /trunk/src/cmp_ui.c + +[src/cmp_si.c] adapt for reduced exponent range for 16-bit limbs +[src/cmp_ui.c] likewise + +------------------------------------------------------------------------ +r13109 | vlefevre | 2018-09-03 13:32:24 +0000 (Mon, 03 Sep 2018) | 3 lines +Changed paths: + M /trunk/doc/README.dev + M /trunk/tests/mpfr-test.h + +[tests/mpfr-test.h] If MPFR_TESTS_ABORT is defined, replace exit(1) by + abort(), thus with a core dump. +[doc/README.dev] Document MPFR_TESTS_ABORT. +------------------------------------------------------------------------ +r13108 | zimmerma | 2018-09-03 13:17:45 +0000 (Mon, 03 Sep 2018) | 3 lines +Changed paths: + M /trunk/src/mul_ui.c + M /trunk/tests/tgeneric.c + +[tests/tgeneric.c] revert 13107 (abort might lose some data in open files) +[src/mul_ui.c] fixed for 16-bit limb and reduced exponent range + +------------------------------------------------------------------------ +r13107 | zimmerma | 2018-09-03 12:38:10 +0000 (Mon, 03 Sep 2018) | 2 lines +Changed paths: + M /trunk/tests/tgeneric.c + +[tests/tgeneric.c] replace exit(1) by abort() to allow debugging with gdb + +------------------------------------------------------------------------ +r13106 | zimmerma | 2018-09-03 12:09:07 +0000 (Mon, 03 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/isinteger.c + +[src/isinteger.c] fix for 16-bit limb + +------------------------------------------------------------------------ +r13105 | zimmerma | 2018-09-03 08:35:17 +0000 (Mon, 03 Sep 2018) | 3 lines +Changed paths: + M /trunk/src/cmp_si.c + M /trunk/src/cmp_ui.c + +[src/cmp_si.c] fixed error for 16-bit limb +[src/cmp_ui.c] adapted to 16-bit limb + +------------------------------------------------------------------------ +r13104 | zimmerma | 2018-09-01 08:15:20 +0000 (Sat, 01 Sep 2018) | 2 lines +Changed paths: + M /trunk/src/cmp_si.c + +[src/cmp_si.c] adapt for 16-bit limb + +------------------------------------------------------------------------ +r13103 | zimmerma | 2018-08-31 19:22:05 +0000 (Fri, 31 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/mul_ui.c + +[src/mul_ui.c] adapt for 16-bit limb + +------------------------------------------------------------------------ +r13102 | vlefevre | 2018-08-31 15:43:48 +0000 (Fri, 31 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-mini-gmp.c + +[src/mpfr-mini-gmp.c] Fixed potential undefined behavior (when mp_limb_t +is defined as an unsigned short) with MPFR_LIMB_LSHIFT. +------------------------------------------------------------------------ +r13101 | vlefevre | 2018-08-31 15:40:23 +0000 (Fri, 31 Aug 2018) | 4 lines +Changed paths: + M /trunk/src/add1.c + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Define MPFR_LIMB_LSHIFT(x,c) macro to do a left shift, +making sure that the shifted argument is unsigned (neeeded due to the +integer promotion rules when mp_limb_t is defined as an unsigned short). +[src/add1.c] Fixed potential undefined behavior with MPFR_LIMB_LSHIFT. +------------------------------------------------------------------------ +r13100 | vlefevre | 2018-08-31 15:12:20 +0000 (Fri, 31 Aug 2018) | 1 line +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Corrected a comment and added a warning. +------------------------------------------------------------------------ +r13099 | zimmerma | 2018-08-31 14:57:31 +0000 (Fri, 31 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] fix MPFR_INT_CEIL_LOG2 for 16-bit limb + +------------------------------------------------------------------------ +r13098 | zimmerma | 2018-08-31 14:47:05 +0000 (Fri, 31 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/set_si_2exp.c + +[src/set_si_2exp.c] support 16-bit limbs + +------------------------------------------------------------------------ +r13097 | vlefevre | 2018-08-31 14:35:07 +0000 (Fri, 31 Aug 2018) | 1 line +Changed paths: + M /trunk/src/set_ui_2exp.c + +[src/set_ui_2exp.c] Code formatting. Removed a FIXME (done in r13078). +------------------------------------------------------------------------ +r13096 | zimmerma | 2018-08-31 14:32:09 +0000 (Fri, 31 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-gmp.h + +[src/mpfr-gmp.h] missing cast + +------------------------------------------------------------------------ +r13095 | zimmerma | 2018-08-31 14:13:52 +0000 (Fri, 31 Aug 2018) | 2 lines +Changed paths: + M /trunk/tests/mpfr-test.h + M /trunk/tests/tadd1sp.c + M /trunk/tests/tgeneric.c + M /trunk/tests/tmul.c + +removed TEST_FLAGS stuff + +------------------------------------------------------------------------ +r13094 | vlefevre | 2018-08-31 12:14:37 +0000 (Fri, 31 Aug 2018) | 1 line +Changed paths: + M /trunk/doc/README.dev + +[doc/README.dev] More correction about the MPFR_TESTS_TIMEOUT macro. +------------------------------------------------------------------------ +r13093 | vlefevre | 2018-08-31 12:09:03 +0000 (Fri, 31 Aug 2018) | 1 line +Changed paths: + M /trunk/doc/README.dev + +[doc/README.dev] Clarification about MPFR_TESTS_TIMEOUT. +------------------------------------------------------------------------ +r13092 | vlefevre | 2018-08-31 11:57:08 +0000 (Fri, 31 Aug 2018) | 2 lines +Changed paths: + M /trunk/doc/README.dev + +[doc/README.dev] Reverted r13090: this was already mentioned at the +right place (do not mix up macros and environment variables). +------------------------------------------------------------------------ +r13091 | zimmerma | 2018-08-31 11:54:51 +0000 (Fri, 31 Aug 2018) | 4 lines +Changed paths: + M /trunk/src/mpfr-gmp.h + M /trunk/src/mul.c + M /trunk/src/ui_div.c + +[src/mpfr-gmp.h] added missing udiv_qrnnd for 16-bit limb +[src/mul.c] fixed for 16-bit limb +[src/ui_div.c] likewise + +------------------------------------------------------------------------ +r13090 | zimmerma | 2018-08-31 11:37:01 +0000 (Fri, 31 Aug 2018) | 2 lines +Changed paths: + M /trunk/doc/README.dev + +[README.dev] mention that MPFR_TESTS_TIMEOUT only works with --enable-tests-timeout + +------------------------------------------------------------------------ +r13089 | vlefevre | 2018-08-31 11:06:40 +0000 (Fri, 31 Aug 2018) | 1 line +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Fix for MS Windows. +------------------------------------------------------------------------ +r13088 | vlefevre | 2018-08-31 10:43:50 +0000 (Fri, 31 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Make sure that MPFR_LONG_WITHIN_LIMB is defined if +__GMP_SHORT_LIMB is not defined, as required by the current code. +------------------------------------------------------------------------ +r13087 | vlefevre | 2018-08-31 10:22:40 +0000 (Fri, 31 Aug 2018) | 1 line +Changed paths: + M /trunk/src/mpfr-gmp.h + +[src/mpfr-gmp.h] Untabified. +------------------------------------------------------------------------ +r13086 | zimmerma | 2018-08-31 09:48:01 +0000 (Fri, 31 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] fixed wrong #ifdef + +------------------------------------------------------------------------ +r13085 | zimmerma | 2018-08-31 09:39:36 +0000 (Fri, 31 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-mini-gmp.c + +[src/mpfr-mini-gmp.c] fix for 16-bit limb + +------------------------------------------------------------------------ +r13084 | zimmerma | 2018-08-31 09:29:16 +0000 (Fri, 31 Aug 2018) | 3 lines +Changed paths: + M /trunk/src/add1.c + M /trunk/tests/tadd.c + +[src/add1.c] fix for 16-bit limb +[tests/tadd.c] more output in case of error + +------------------------------------------------------------------------ +r13083 | zimmerma | 2018-08-31 08:11:01 +0000 (Fri, 31 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/add1.c + +[src/add1.c] fixed compiler warning + +------------------------------------------------------------------------ +r13082 | zimmerma | 2018-08-31 08:07:00 +0000 (Fri, 31 Aug 2018) | 4 lines +Changed paths: + M /trunk/src/mpfr-gmp.h + M /trunk/src/mpfr-impl.h + M /trunk/src/sub1sp.c + +[src/mpfr-gmp.h] removed leftover debug statement +[src/mpfr-impl.h] added MPFR_LIMB macro +[src/sub1sp.c] fix for 16-bit limb + +------------------------------------------------------------------------ +r13081 | zimmerma | 2018-08-30 12:07:56 +0000 (Thu, 30 Aug 2018) | 3 lines +Changed paths: + M /trunk/src/mpfr-gmp.h + M /trunk/src/mpfr-impl.h + +[src/mpfr-gmp.h] more changes for 16-bit limb +[src/mpfr-impl.h] mpfr-longlong.h should not be used for limb < long + +------------------------------------------------------------------------ +r13080 | zimmerma | 2018-08-30 10:56:29 +0000 (Thu, 30 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-gmp.h + +[mpfr-gmp.h] added comment + +------------------------------------------------------------------------ +r13079 | zimmerma | 2018-08-30 08:21:22 +0000 (Thu, 30 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-mini-gmp.c + +[mpfr-mini-gmp.c] fix for 16-bit limb + +------------------------------------------------------------------------ +r13078 | zimmerma | 2018-08-30 08:09:21 +0000 (Thu, 30 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/set_ui_2exp.c + +[src/set_ui_2exp.c] fix for 16-bit limb + +------------------------------------------------------------------------ +r13077 | zimmerma | 2018-08-29 15:41:21 +0000 (Wed, 29 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/round_p.c + +[src/round_p.c] gmp_fprintf is not defined in mini-gmp + +------------------------------------------------------------------------ +r13076 | zimmerma | 2018-08-29 15:28:35 +0000 (Wed, 29 Aug 2018) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + +[tests/tadd.c] fix for 16-bit limb + +------------------------------------------------------------------------ +r13075 | zimmerma | 2018-08-29 15:21:38 +0000 (Wed, 29 Aug 2018) | 6 lines +Changed paths: + M /trunk/src/add1.c + +[src/add1.c] revert previous commit since it does not remove the warning: +add1.c: In function ‘mpfr_add1’: +add1.c:407:30: warning: ‘<<’ in boolean context, did you mean ‘<’ ? [-Wint-in-bool-context] + if (difs && (cprev << (GMP_NUMB_BITS - difs))) + ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ + +------------------------------------------------------------------------ +r13074 | zimmerma | 2018-08-29 15:18:45 +0000 (Wed, 29 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/add1.c + +[src/add1.c] fixed compiler warning (with gcc 8.2.0) + +------------------------------------------------------------------------ +r13073 | vlefevre | 2018-08-29 10:30:11 +0000 (Wed, 29 Aug 2018) | 2 lines +Changed paths: + M /trunk/tests/tdiv_ui.c + +[tests/tdiv_ui.c] Added a comment about a spurious failure +with MPFR_RNDF if RND_LOOP_NO_RNDF were not used. +------------------------------------------------------------------------ +r13072 | vlefevre | 2018-08-28 21:25:46 +0000 (Tue, 28 Aug 2018) | 1 line +Changed paths: + M /trunk/tests/tsinh.c + +[tests/tsinh.c] Fixed test introduced in r13047. +------------------------------------------------------------------------ +r13071 | vlefevre | 2018-08-28 21:06:22 +0000 (Tue, 28 Aug 2018) | 4 lines +Changed paths: + M /trunk/src/add_ui.c + M /trunk/src/sub_ui.c + M /trunk/src/ui_sub.c + +[src/{add_ui.c,sub_ui.c,ui_sub.c}] Fixed the bug introduced in r13066 +for the cases where MPFR_LONG_WITHIN_LIMB is defined (make sure that a +significand allocated in the stack is not freed before the associated +mpfr_t object). +------------------------------------------------------------------------ +r13070 | vlefevre | 2018-08-28 20:41:10 +0000 (Tue, 28 Aug 2018) | 3 lines +Changed paths: + M /trunk/src/div_ui.c + +[src/div_ui.c] Extend the exponent range in the case where +MPFR_LONG_WITHIN_LIMB is not defined, resolving the FIXME. +Note: a test was already there in tdiv_ui via the generic tests. +------------------------------------------------------------------------ +r13069 | vlefevre | 2018-08-28 20:32:34 +0000 (Tue, 28 Aug 2018) | 1 line +Changed paths: + M /trunk/tests/tdiv_ui.c + +[tests/tdiv_ui.c] Disabled rnd=MPFR_RNDF in a loop as this now fails. +------------------------------------------------------------------------ +r13068 | vlefevre | 2018-08-28 20:29:42 +0000 (Tue, 28 Aug 2018) | 1 line +Changed paths: + M /trunk/tests/tdiv_ui.c + +[tests/tdiv_ui.c] Corrected an error message. +------------------------------------------------------------------------ +r13067 | vlefevre | 2018-08-28 20:26:21 +0000 (Tue, 28 Aug 2018) | 4 lines +Changed paths: + M /trunk/src/div.c + M /trunk/src/div_ui.c + +[src/div.c] Avoid an infinite recursion when MPFR_LONG_WITHIN_LIMB +is not defined (mpfr_div calls mpfr_div_ui, which calls mpfr_div). +[src/div_ui.c] Made the preprocessor test on MPFR_LONG_WITHIN_LIMB +consistent with the ones in the other .c files. +------------------------------------------------------------------------ +r13066 | vlefevre | 2018-08-28 20:10:44 +0000 (Tue, 28 Aug 2018) | 3 lines +Changed paths: + M /trunk/src/add_ui.c + M /trunk/src/sub_ui.c + M /trunk/src/ui_sub.c + +[src/{add_ui.c,sub_ui.c,ui_sub.c}] Fixed the cases where +MPFR_LONG_WITHIN_LIMB is not defined (regression in the +latest changes). Also avoid unused variables. +------------------------------------------------------------------------ +r13065 | vlefevre | 2018-08-28 19:44:37 +0000 (Tue, 28 Aug 2018) | 1 line +Changed paths: + M /trunk/tests/tsubnormal.c + +Removed trailing whitespace. +------------------------------------------------------------------------ +r13064 | vlefevre | 2018-08-28 18:25:05 +0000 (Tue, 28 Aug 2018) | 1 line +Changed paths: + M /trunk/src/ui_sub.c + +[src/ui_sub.c] Extend the exponent range early enough. +------------------------------------------------------------------------ +r13063 | vlefevre | 2018-08-28 18:23:38 +0000 (Tue, 28 Aug 2018) | 1 line +Changed paths: + M /trunk/src/add_ui.c + +[src/add_ui.c] Extend the exponent range early enough. +------------------------------------------------------------------------ +r13062 | vlefevre | 2018-08-28 17:39:32 +0000 (Tue, 28 Aug 2018) | 1 line +Changed paths: + M /trunk/src/sub_ui.c + +[src/sub_ui.c] Extend the exponent range early enough. +------------------------------------------------------------------------ +r13061 | zimmerma | 2018-08-28 14:44:47 +0000 (Tue, 28 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/get_ld.c + +[src/get_ld.c] adapt to GMP_NUMB_BITS=16 + +------------------------------------------------------------------------ +r13060 | vlefevre | 2018-08-28 14:41:23 +0000 (Tue, 28 Aug 2018) | 1 line +Changed paths: + M /trunk/src/div_ui.c + +[src/div_ui.c] Added a FIXME. +------------------------------------------------------------------------ +r13059 | zimmerma | 2018-08-28 14:30:57 +0000 (Tue, 28 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/set_ld.c + +[src/set_ld.c] adapt to GMP_NUMB_BITS=16 + +------------------------------------------------------------------------ +r13058 | zimmerma | 2018-08-28 14:23:10 +0000 (Tue, 28 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/set_d.c + +[src/set_d.c] adapt to GMP_NUMB_BITS=16 (not yet tested) + +------------------------------------------------------------------------ +r13057 | zimmerma | 2018-08-28 14:02:06 +0000 (Tue, 28 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/exp_2.c + +[src/exp_2.c] removed a static assertion (duplicate with MPFR_LONG_WITHIN_LIMB) + +------------------------------------------------------------------------ +r13056 | zimmerma | 2018-08-28 14:01:28 +0000 (Tue, 28 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/init2.c + +[src/init2.c] split a static assertion in two + +------------------------------------------------------------------------ +r13055 | zimmerma | 2018-08-28 14:01:02 +0000 (Tue, 28 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-gmp.h + +[src/mpfr-gmp.h] allow GMP_NUMB_BITS=16 (experimental, do not use!) + +------------------------------------------------------------------------ +r13054 | zimmerma | 2018-08-28 14:00:09 +0000 (Tue, 28 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/set_d.c + +[src/set_d.c] make it easier to extend to GMP_NUMB_BITS<32 + +------------------------------------------------------------------------ +r13053 | zimmerma | 2018-08-28 13:48:47 +0000 (Tue, 28 Aug 2018) | 3 lines +Changed paths: + M /trunk/configure.ac + +[configure.ac] read GMP_NUMB_BITS from mini-gmp.h when available + (otherwise assume mp_limb_t == unsigned long) + +------------------------------------------------------------------------ +r13052 | zimmerma | 2018-08-28 13:28:08 +0000 (Tue, 28 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/ui_sub.c + +[src/ui_sub.c] make code work for limb < long + +------------------------------------------------------------------------ +r13051 | zimmerma | 2018-08-28 13:26:28 +0000 (Tue, 28 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/sub_ui.c + +[src/sub_ui.c] make code work for limb < long + +------------------------------------------------------------------------ +r13050 | zimmerma | 2018-08-28 13:24:07 +0000 (Tue, 28 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/div_ui.c + +[src/div_ui.c] make code work for limb < long + +------------------------------------------------------------------------ +r13049 | zimmerma | 2018-08-28 13:18:16 +0000 (Tue, 28 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/add_ui.c + +[src/add_ui.c] make code work for limb < long + +------------------------------------------------------------------------ +r13048 | zimmerma | 2018-08-28 13:01:48 +0000 (Tue, 28 Aug 2018) | 2 lines +Changed paths: + M /trunk/doc/mini-gmp + +[mini-gmp] update + +------------------------------------------------------------------------ +r13047 | zimmerma | 2018-08-28 12:44:48 +0000 (Tue, 28 Aug 2018) | 2 lines +Changed paths: + M /trunk/tests/tsinh.c + +[tests/tsinh.c] improve coverage + +------------------------------------------------------------------------ +r13046 | zimmerma | 2018-08-28 08:05:06 +0000 (Tue, 28 Aug 2018) | 2 lines +Changed paths: + M /trunk/tests/tsubnormal.c + +[tests/tsubnormal.c] improve coverage + +------------------------------------------------------------------------ +r13045 | vlefevre | 2018-08-27 15:45:32 +0000 (Mon, 27 Aug 2018) | 1 line +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] Added a FIXME about cp vs tp. +------------------------------------------------------------------------ +r13044 | zimmerma | 2018-08-27 15:18:25 +0000 (Mon, 27 Aug 2018) | 2 lines +Changed paths: + M /trunk/tests/tmul.c + +[tests/tmul.c] improve coverage + +------------------------------------------------------------------------ +r13043 | vlefevre | 2018-08-27 15:03:05 +0000 (Mon, 27 Aug 2018) | 5 lines +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] Avoid bad usage of tp in the generic code: + * In the case d == 1, two branches were inconsistent: tp not defined + at the same level, with one shadowing the other one. + * In the case 2 <= d < p, tp was reused with a different meanings; + renamed the second one to cp, as this is MPFR_MANT(c). +------------------------------------------------------------------------ +r13042 | vlefevre | 2018-08-27 14:41:32 +0000 (Mon, 27 Aug 2018) | 1 line +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] Re-added/updated FIXME about the long backward goto's. +------------------------------------------------------------------------ +r13041 | vlefevre | 2018-08-27 13:11:02 +0000 (Mon, 27 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/add1sp.c + M /trunk/src/mul.c + +[src/{add1sp.c,mul.c}] Updated the condition to use the formally +extracted code and added a corresponding comment. +------------------------------------------------------------------------ +r13040 | zimmerma | 2018-08-27 13:06:17 +0000 (Mon, 27 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/const_log2.c + +[src/const_log2.c] further improve coverage + +------------------------------------------------------------------------ +r13039 | vlefevre | 2018-08-27 12:51:11 +0000 (Mon, 27 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/cache.c + +[src/cache.c] Improved variable names (→ dprec for the precision of dest +and cprec for the precision of the cache) and added/updated comments. +------------------------------------------------------------------------ +r13038 | vlefevre | 2018-08-27 12:32:49 +0000 (Mon, 27 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/cache.c + +[src/cache.c] Reverted r13036 as what matters is the target precision, +which can be very small. +------------------------------------------------------------------------ +r13037 | zimmerma | 2018-08-27 12:23:42 +0000 (Mon, 27 Aug 2018) | 5 lines +Changed paths: + M /trunk/src/add1sp.c + M /trunk/src/add1sp1_extracted.c + M /trunk/src/mul.c + M /trunk/src/mul_1_extracted.c + +[src/add1sp1_extracted.c] replaced extracted code by new for MPFR_PREC_BITS=64 +[src/mul_1_extracted.c] likewise +[src/add1sp.c] changed condition to use the formally extracted code +[src/mul.c] likewise (but code is still not yet activated here) + +------------------------------------------------------------------------ +r13036 | vlefevre | 2018-08-27 12:20:47 +0000 (Mon, 27 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/cache.c + +[src/cache.c] Comment: In practice, the "overflow handler" of +MPFR_RNDRAW_GEN should never be called. +------------------------------------------------------------------------ +r13035 | zimmerma | 2018-08-27 12:19:51 +0000 (Mon, 27 Aug 2018) | 3 lines +Changed paths: + M /trunk/src/const_log2.c + M /trunk/tests/tconst_log2.c + +[src/const_log2.c] avoid hard-coded values +[tests/tconst_log2.c] improve coverage + +------------------------------------------------------------------------ +r13034 | vlefevre | 2018-08-27 12:12:48 +0000 (Mon, 27 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/cache.c + +[src/cache.c] Replaced a test + mpfr_overflow by a MPFR_ASSERTD since +the cached value (in extended exponent range) cannot overflow. +------------------------------------------------------------------------ +r13033 | zimmerma | 2018-08-27 11:31:15 +0000 (Mon, 27 Aug 2018) | 3 lines +Changed paths: + M /trunk/src/const_euler.c + M /trunk/tests/tconst_euler.c + +[src/const_euler.c] better choice of (initial) working precision +[tests/tconst_euler.c] added coverage test + +------------------------------------------------------------------------ +r13032 | vlefevre | 2018-08-27 11:24:10 +0000 (Mon, 27 Aug 2018) | 6 lines +Changed paths: + M /trunk/tests/tversion.c + +[tests/tversion.c] Update concerning the shared cache, to be consistent +with the other mpfr_buildopt_*_p features: + * check that mpfr_buildopt_sharedcache_p() and MPFR_WANT_SHARED_CACHE + match; + * for the output of the value, test mpfr_buildopt_sharedcache_p() + instead of the macro. +------------------------------------------------------------------------ +r13031 | zimmerma | 2018-08-27 11:11:42 +0000 (Mon, 27 Aug 2018) | 2 lines +Changed paths: + M /trunk/tests/tconst_catalan.c + +[tests/tconst_catalan.c] improve coverage + +------------------------------------------------------------------------ +r13030 | zimmerma | 2018-08-27 09:38:52 +0000 (Mon, 27 Aug 2018) | 2 lines +Changed paths: + M /trunk/tests/tbuildopt.c + +[tests/tbuildopt.c] added check of mpfr_buildopt_sharedcache_p() + +------------------------------------------------------------------------ +r13028 | vlefevre | 2018-08-27 08:57:23 +0000 (Mon, 27 Aug 2018) | 1 line +Changed paths: + M /trunk/src/sub1sp.c + +Removed trailing whitespace. +------------------------------------------------------------------------ +r13027 | zimmerma | 2018-08-27 08:45:41 +0000 (Mon, 27 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] fixed even rule for p=1 + +------------------------------------------------------------------------ +r13026 | vlefevre | 2018-08-27 01:42:20 +0000 (Mon, 27 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Mention WG14/N2270 (proposed maybe_unused attribute), +which could be useful to avoid MPFR_DBGRES. +------------------------------------------------------------------------ +r13024 | zimmerma | 2018-08-24 15:44:10 +0000 (Fri, 24 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] finished simplifying the mpfr_sub1sp code + +------------------------------------------------------------------------ +r13023 | zimmerma | 2018-08-24 14:53:32 +0000 (Fri, 24 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] simplified the computation of sbb + +------------------------------------------------------------------------ +r13022 | zimmerma | 2018-08-24 14:45:06 +0000 (Fri, 24 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] full rewrite of mpfr_sub1sp (work in progress) + +------------------------------------------------------------------------ +r13020 | vlefevre | 2018-08-23 14:31:16 +0000 (Thu, 23 Aug 2018) | 1 line +Changed paths: + M /trunk/tests/tversion.c + +[tests/tversion.c] Output "Enable formally proven code" info. +------------------------------------------------------------------------ +r13019 | vlefevre | 2018-08-23 14:26:09 +0000 (Thu, 23 Aug 2018) | 1 line +Changed paths: + M /trunk/doc/README.dev + +[doc/README.dev] Describe MPFR_WANT_PROVEN_CODE. +------------------------------------------------------------------------ +r13018 | vlefevre | 2018-08-23 14:24:23 +0000 (Thu, 23 Aug 2018) | 3 lines +Changed paths: + M /trunk/configure.ac + M /trunk/src/add1sp.c + M /trunk/src/mul.c + +Renamed WANT_PROVEN_CODE to MPFR_WANT_PROVEN_CODE for consistency with +the other WANT macros (and to avoid potential clashes with foreign .h +files). +------------------------------------------------------------------------ +r13017 | vlefevre | 2018-08-23 11:08:47 +0000 (Thu, 23 Aug 2018) | 1 line +Changed paths: + M /trunk/tools/mpfrlint + +[tools/mpfrlint] For some tests, ignore extracted files (proven code). +------------------------------------------------------------------------ +r13016 | zimmerma | 2018-08-23 10:03:52 +0000 (Thu, 23 Aug 2018) | 2 lines +Changed paths: + M /trunk/AUTHORS + M /trunk/doc/mpfr.texi + M /trunk/src/mul.c + +the mpfr_mul_1 extracted code is not proven yet + +------------------------------------------------------------------------ +r13015 | vlefevre | 2018-08-23 09:57:09 +0000 (Thu, 23 Aug 2018) | 6 lines +Changed paths: + M /trunk/configure.ac + M /trunk/src/add1sp.c + M /trunk/src/mul.c + +For --enable-formally-proven-code, instead of requiring a check of the +type sizes in configure, just enable the proven code only if the types +have the sizes expected by this code. + * configure.ac: removed the FIXME. + * src/add1sp.c, src/mul.c: updated the #if test that enables the + proven code (add1sp1_extracted.c and mul_1_extracted.c). +------------------------------------------------------------------------ +r13014 | vlefevre | 2018-08-23 09:23:21 +0000 (Thu, 23 Aug 2018) | 2 lines +Changed paths: + M /trunk/configure.ac + +[configure.ac] Updated FIXME for --enable-formally-proven-code +(many failures with -m32 due to assumptions on type sizes). +------------------------------------------------------------------------ +r13013 | vlefevre | 2018-08-23 08:54:16 +0000 (Thu, 23 Aug 2018) | 1 line +Changed paths: + M /trunk/configure.ac + +[configure.ac] Added a FIXME for --enable-formally-proven-code. +------------------------------------------------------------------------ +r13012 | vlefevre | 2018-08-23 08:39:47 +0000 (Thu, 23 Aug 2018) | 1 line +Changed paths: + M /trunk/configure.ac + +[configure.ac] Updated message for --enable-formally-proven-code. +------------------------------------------------------------------------ +r13011 | zimmerma | 2018-08-23 07:31:06 +0000 (Thu, 23 Aug 2018) | 2 lines +Changed paths: + M /trunk/AUTHORS + M /trunk/NEWS + M /trunk/configure.ac + M /trunk/doc/mpfr.texi + M /trunk/src/Makefile.am + M /trunk/src/add1sp.c + A /trunk/src/add1sp1_extracted.c + M /trunk/src/mul.c + A /trunk/src/mul_1_extracted.c + +added configure option --enable-formally-proven-code and corresponding code + +------------------------------------------------------------------------ +r13009 | vlefevre | 2018-08-22 12:52:28 +0000 (Wed, 22 Aug 2018) | 1 line +Changed paths: + M /trunk/doc/algorithms.tex + +[doc/algorithms.tex] Ulp calculus: swap Rule 4 and Rule 5. +------------------------------------------------------------------------ +r13008 | vlefevre | 2018-08-22 12:49:45 +0000 (Wed, 22 Aug 2018) | 1 line +Changed paths: + M /trunk/doc/algorithms.tex + +[doc/algorithms.tex] Ulp calculus Rule 4: make the proof much simpler. +------------------------------------------------------------------------ +r13007 | vlefevre | 2018-08-22 12:27:42 +0000 (Wed, 22 Aug 2018) | 1 line +Changed paths: + M /trunk/doc/algorithms.tex + +[doc/algorithms.tex] Error calculus: implicitly assume x ≠ 0 in ulp. +------------------------------------------------------------------------ +r13006 | vlefevre | 2018-08-22 09:31:21 +0000 (Wed, 22 Aug 2018) | 1 line +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] Updated a FIXME. +------------------------------------------------------------------------ +r13005 | vlefevre | 2018-08-22 09:23:04 +0000 (Wed, 22 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] Removed a comment that brings nothing and is not +really correct (this is not a "flag"). +------------------------------------------------------------------------ +r13004 | zimmerma | 2018-08-22 07:47:38 +0000 (Wed, 22 Aug 2018) | 2 lines +Changed paths: + M /trunk/tests/mpfr-test.h + M /trunk/tests/tadd1sp.c + M /trunk/tests/tgeneric.c + M /trunk/tests/tmul.c + +[tests/mpfr-test.h] added macro TEST_FLAGS (debug use only) + +------------------------------------------------------------------------ +r13003 | vlefevre | 2018-08-22 03:01:16 +0000 (Wed, 22 Aug 2018) | 2 lines +Changed paths: + M /trunk/tests/tversion.c + +[tests/tversion.c] Portability corrections related to the use of the +preprocessor / code robustness. +------------------------------------------------------------------------ +r13002 | zimmerma | 2018-08-21 15:36:29 +0000 (Tue, 21 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] revert mpfr_sub1sp to the version of revision 12241 + +------------------------------------------------------------------------ +r13001 | zimmerma | 2018-08-21 14:39:43 +0000 (Tue, 21 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] fixed bug20180813 + +------------------------------------------------------------------------ +r13000 | zimmerma | 2018-08-21 13:50:13 +0000 (Tue, 21 Aug 2018) | 2 lines +Changed paths: + M /trunk/tests/tsub1sp.c + +[tests/tsub1sp.c] improved comment about bug20180813() + +------------------------------------------------------------------------ +r12998 | vlefevre | 2018-08-21 13:04:44 +0000 (Tue, 21 Aug 2018) | 1 line +Changed paths: + M /trunk/doc/mpfr.texi + +[doc/mpfr.texi] Updated the month. +------------------------------------------------------------------------ +r12997 | zimmerma | 2018-08-21 11:01:14 +0000 (Tue, 21 Aug 2018) | 2 lines +Changed paths: + M /trunk/tests/tsub1sp.c + +[tests/tsub1sp.c] added a test for a bug in mpfr_sub1sp (to be fixed) + +------------------------------------------------------------------------ +r12996 | vlefevre | 2018-08-20 15:33:12 +0000 (Mon, 20 Aug 2018) | 1 line +Changed paths: + M /trunk/doc/mpfr.texi + +[doc/mpfr.texi] Replaced "Section ``Rounding''" by "@ref{Rounding}". +------------------------------------------------------------------------ +r12995 | zimmerma | 2018-08-20 14:52:54 +0000 (Mon, 20 Aug 2018) | 2 lines +Changed paths: + M /trunk/doc/mpfr.texi + +[doc/mpfr.texi] renamed Section "Rounding Modes" to "Rounding" + +------------------------------------------------------------------------ +r12991 | vlefevre | 2018-08-18 10:03:58 +0000 (Sat, 18 Aug 2018) | 5 lines +Changed paths: + M /trunk/acinclude.m4 + M /trunk/tests/memory.c + +Avoid a pointer-to-int-cast warning with GCC (e.g. under 32-bit Linux) +by casting pointers to uintptr_t before the cast to mpfr_uintmax_t. + * acinclude.m4: use AC_TYPE_UINTPTR_T to define uintptr_t if + not available. + * tests/memory.c: added casts to uintptr_t. +------------------------------------------------------------------------ +r12990 | vlefevre | 2018-08-16 14:37:13 +0000 (Thu, 16 Aug 2018) | 1 line +Changed paths: + M /trunk/src/invert_limb.h + M /trunk/src/invsqrt_limb.h + +Code robustness in macro definitions. +------------------------------------------------------------------------ +r12989 | vlefevre | 2018-08-16 14:29:34 +0000 (Thu, 16 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/sqr.c + +[src/sqr.c] Changed a variable name to avoid confusion with the function +parameter of the same name, which has a different type. +------------------------------------------------------------------------ +r12988 | vlefevre | 2018-08-16 14:16:36 +0000 (Thu, 16 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Added a cast to mp_bitcnt_t in order to fix potential +integer overflow in MPFR_MPZ_SIZEINBASE2. +------------------------------------------------------------------------ +r12987 | vlefevre | 2018-08-16 13:54:13 +0000 (Thu, 16 Aug 2018) | 1 line +Changed paths: + M /trunk/src/round_raw_generic.c + +[src/round_raw_generic.c] Type consistency. +------------------------------------------------------------------------ +r12986 | vlefevre | 2018-08-16 13:52:02 +0000 (Thu, 16 Aug 2018) | 3 lines +Changed paths: + M /trunk/src/bernoulli.c + M /trunk/src/jn.c + M /trunk/src/mpfr-impl.h + +Added MPFR_INC_PREC definition (similar to MPFR_ADD_PREC) and replaced +some MPFR_ADD_PREC occurrences by MPFR_INC_PREC. In src/bernoulli.c, +replaced += by MPFR_INC_PREC to detect overflow. +------------------------------------------------------------------------ +r12985 | vlefevre | 2018-08-11 00:51:13 +0000 (Sat, 11 Aug 2018) | 1 line +Changed paths: + M /trunk/doc/README.dev + M /trunk/tools/build-patch + +Replaced "TZ=UTC" by "TZ=UTC0" for portability. +------------------------------------------------------------------------ +r12984 | vlefevre | 2018-08-06 13:01:51 +0000 (Mon, 06 Aug 2018) | 3 lines +Changed paths: + M /trunk/src/round_raw_generic.c + +[src/round_raw_generic.c] Avoid a useless variable. This should +also avoid warnings with Windows ICC, reported at: + https://sympa.inria.fr/sympa/arc/mpfr/2018-08/msg00002.html +------------------------------------------------------------------------ +r12983 | vlefevre | 2018-08-06 12:35:06 +0000 (Mon, 06 Aug 2018) | 3 lines +Changed paths: + M /trunk/tests/tcan_round.c + +[tests/tcan_round.c] Added missing casts for printf (error messages). +Bug detected under MS Windows, where size_t > unsigned long. See: + https://sympa.inria.fr/sympa/arc/mpfr/2018-08/msg00002.html +------------------------------------------------------------------------ +r12982 | vlefevre | 2018-08-06 12:17:55 +0000 (Mon, 06 Aug 2018) | 4 lines +Changed paths: + M /trunk/tests/tdiv_ui.c + +[tests/tdiv_ui.c] Improved the conditions for test_20170105(). +In particular, the new preprocessor test can avoid spurious warnings +on large shifts (false positives) with MS Windows. See: + https://sympa.inria.fr/sympa/arc/mpfr/2018-08/msg00002.html +------------------------------------------------------------------------ +r12981 | vlefevre | 2018-08-06 12:00:28 +0000 (Mon, 06 Aug 2018) | 1 line +Changed paths: + M /trunk/doc/README.dev + +[doc/README.dev] More details about intmax_t, mpfr_intmax_t, etc. +------------------------------------------------------------------------ +r12980 | vlefevre | 2018-08-06 10:41:26 +0000 (Mon, 06 Aug 2018) | 4 lines +Changed paths: + M /trunk/tests/memory.c + +[tests/memory.c] To print a size_t or a pointer in error messages, +cast to mpfr_uintmax_t (largest integer type available) instead of +unsigned long, which may be too short (e.g. under MS Windows). +See: https://sympa.inria.fr/sympa/arc/mpfr/2018-08/msg00002.html +------------------------------------------------------------------------ +r12979 | vlefevre | 2018-08-06 10:29:14 +0000 (Mon, 06 Aug 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-intmax.h + +[src/mpfr-intmax.h] Define MPFR_INTMAX_FSPEC macro: length modifier +for printf corresponding to mpfr_intmax_t and mpfr_uintmax_t. +------------------------------------------------------------------------ +r12978 | vlefevre | 2018-08-06 02:04:14 +0000 (Mon, 06 Aug 2018) | 1 line +Changed paths: + M /trunk/doc/README.dev + +[doc/README.dev] Updated/added links about coding standards and C. +------------------------------------------------------------------------ +r12977 | vlefevre | 2018-08-05 21:26:21 +0000 (Sun, 05 Aug 2018) | 2 lines +Changed paths: + M /trunk/tools/mpfrlint + +[tools/mpfrlint] Updated a comment: more details about __GMP_DECLSPEC, +in particular those found in GMP's longlong.h file. +------------------------------------------------------------------------ +r12976 | vlefevre | 2018-08-05 16:03:33 +0000 (Sun, 05 Aug 2018) | 19 lines +Changed paths: + M /trunk/src/mpfr-longlong.h + +[src/mpfr-longlong.h] Replaced __GMP_DECLSPEC by __MPFR_DECLSPEC. + +Otherwise, with Windows DLL, __GMP_DECLSPEC is replaced by +__declspec(dllimport), which is wrong when building MPFR and +yields warning LNK4217 such as: + + eint.obj : warning LNK4217: locally defined symbol mpfr_clz_tab + imported in function mpfr_eint + +due to + + extern const unsigned char __GMP_DECLSPEC __clz_tab[129]; + +(note that mpfr_clz_tab is defined with "#define __clz_tab mpfr_clz_tab" +only without the GMP build). + +See: + https://sympa.inria.fr/sympa/arc/mpfr/2018-08/msg00000.html + https://sympa.inria.fr/sympa/arc/mpfr/2018-08/msg00001.html +------------------------------------------------------------------------ +r12975 | vlefevre | 2018-08-05 15:59:29 +0000 (Sun, 05 Aug 2018) | 1 line +Changed paths: + M /trunk/tools/mpfrlint + +[tools/mpfrlint] Check that __GMP_DECLSPEC is not used by MPFR. +------------------------------------------------------------------------ +r12970 | vlefevre | 2018-07-31 10:58:39 +0000 (Tue, 31 Jul 2018) | 4 lines +Changed paths: + M /trunk + M /trunk/tests/tversion.c + +[tests/tversion.c] Try to detect missing output from the first printf +that occurred once with i586-mingw32msvc-gcc -D__USE_MINGW_ANSI_STDIO +and run under Wine. +(merged changesets r12968-12969 from the 4.0 branch) +------------------------------------------------------------------------ +r12964 | vlefevre | 2018-07-27 16:24:08 +0000 (Fri, 27 Jul 2018) | 4 lines +Changed paths: + M /trunk/acinclude.m4 + M /trunk/configure.ac + M /trunk/tests/tsprintf.c + +[acinclude.m4,configure.ac] Check the support of the group flag for + native integers, which is a Single UNIX Specification extension. +[tests/tsprintf.c] Test the group flag with the P length modifier only + when supported, since the implementation relies on this support. +------------------------------------------------------------------------ +r12963 | vlefevre | 2018-07-27 14:41:02 +0000 (Fri, 27 Jul 2018) | 8 lines +Changed paths: + M /trunk/src/vasprintf.c + M /trunk/tests/tsprintf.c + +[src/vasprintf.c] Fixed bug with the P length modifier (mpfr_prec_t): + a '0' flag was always added when calling gmp_asprintf. This bug + wasn't detected under Linux because the case for which it was + occurring (left space padding without a precision and without a + '0' flag) was not tested. With Wine, tsprintf was failing because + of a bug in the stdio library: the '0' flag added by mistake should + have been ignored in some test with a precision, but it wasn't. +[tests/tsprintf.c] Added a test that made a failure occur under Linux. +------------------------------------------------------------------------ +r12962 | vlefevre | 2018-07-27 12:46:39 +0000 (Fri, 27 Jul 2018) | 1 line +Changed paths: + M /trunk/tests/tsprintf.c + +[tests/tsprintf.c] Added 2 other tests with the P length modifier. +------------------------------------------------------------------------ +r12961 | vlefevre | 2018-07-27 12:37:46 +0000 (Fri, 27 Jul 2018) | 2 lines +Changed paths: + M /trunk/src/vasprintf.c + M /trunk/tests/tsprintf.c + +[src/vasprintf.c] Fixed bug with the P length modifier (mpfr_prec_t). +[tests/tsprintf.c] Corrected/added tests with the P length modifier. +------------------------------------------------------------------------ +r12960 | vlefevre | 2018-07-26 11:33:54 +0000 (Thu, 26 Jul 2018) | 2 lines +Changed paths: + M /trunk/src/vasprintf.c + +[src/vasprintf.c] Fixed various overflow and close-to-overflow issues. +Those with the P length modifier (mpfr_prec_t) will be fixed later. +------------------------------------------------------------------------ +r12959 | vlefevre | 2018-07-26 11:29:36 +0000 (Thu, 26 Jul 2018) | 1 line +Changed paths: + M /trunk/tests/tsprintf.c + +[tests/tsprintf.c] Another failure with the P length modifier. +------------------------------------------------------------------------ +r12958 | vlefevre | 2018-07-26 11:06:35 +0000 (Thu, 26 Jul 2018) | 2 lines +Changed paths: + M /trunk/tests/tsprintf.c + +[tests/tsprintf.c] Added tests with the P length modifier (mpfr_prec_t), +yielding mode failures. +------------------------------------------------------------------------ +r12957 | vlefevre | 2018-07-26 10:12:47 +0000 (Thu, 26 Jul 2018) | 2 lines +Changed paths: + M /trunk/src/vasprintf.c + +[src/vasprintf.c] Fixed "store to null pointer" and free of bad pointer +in case of error. +------------------------------------------------------------------------ +r12956 | vlefevre | 2018-07-26 10:03:13 +0000 (Thu, 26 Jul 2018) | 2 lines +Changed paths: + M /trunk/tests/tsprintf.c + +[tests/tsprintf.c] Added a test that yields a "store to null pointer", +detected by UBsan. +------------------------------------------------------------------------ +r12955 | vlefevre | 2018-07-25 14:04:12 +0000 (Wed, 25 Jul 2018) | 2 lines +Changed paths: + M /trunk/src/vasprintf.c + +[src/vasprintf.c] Bug fix: in case of some errors (via "goto error;"), +va_end wasn't called, yielding undefined behavior. +------------------------------------------------------------------------ +r12951 | vlefevre | 2018-07-23 08:21:11 +0000 (Mon, 23 Jul 2018) | 1 line +Changed paths: + M /trunk/tests + +[tests] Added tget_set_d128 to svn:ignore property. +------------------------------------------------------------------------ +r12949 | vlefevre | 2018-07-23 00:54:17 +0000 (Mon, 23 Jul 2018) | 1 line +Changed paths: + M /trunk/src/erf.c + +[src/erf.c] More security about tauk. +------------------------------------------------------------------------ +r12948 | vlefevre | 2018-07-23 00:09:44 +0000 (Mon, 23 Jul 2018) | 1 line +Changed paths: + M /trunk/src/erf.c + +[src/erf.c] Removed a meaningless cast. +------------------------------------------------------------------------ +r12947 | zimmerma | 2018-07-22 21:31:59 +0000 (Sun, 22 Jul 2018) | 2 lines +Changed paths: + M /trunk/src/erf.c + +[src/erf.c] replaced double's by mpfr_t to fix bug reported by Naoki Shibata + +------------------------------------------------------------------------ +r12946 | vlefevre | 2018-07-22 20:39:00 +0000 (Sun, 22 Jul 2018) | 5 lines +Changed paths: + M /trunk/tests/terf.c + +[tests/terf.c] Added a testcase for bug reported by Naoki Shibata: + https://sympa.inria.fr/sympa/arc/mpfr/2018-07/msg00028.html +(uceil_log2.c:40: MPFR assertion failed: exp < 1023). +Increased the number of generic tests in order to reproduce the bug +there too with the default seed. +------------------------------------------------------------------------ +r12945 | vlefevre | 2018-07-21 01:13:20 +0000 (Sat, 21 Jul 2018) | 1 line +Changed paths: + M /trunk/src/subnormal.c + +[src/subnormal.c] C89 compatibility. +------------------------------------------------------------------------ +r12944 | zimmerma | 2018-07-21 00:55:29 +0000 (Sat, 21 Jul 2018) | 2 lines +Changed paths: + M /trunk/src/subnormal.c + M /trunk/tests/tsubnormal.c + +[src/subnormal.c] experimental support for RNDNA + +------------------------------------------------------------------------ +r12943 | vlefevre | 2018-07-20 13:09:20 +0000 (Fri, 20 Jul 2018) | 2 lines +Changed paths: + M /trunk/Makefile.am + A /trunk/examples/threads.c + +Added examples/threads.c (and updated Makefile.am): multithreading test +to detect scaling issues with MPFR. +------------------------------------------------------------------------ +r12942 | vlefevre | 2018-07-19 09:46:48 +0000 (Thu, 19 Jul 2018) | 1 line +Changed paths: + M /trunk/src/vasprintf.c + +[src/vasprintf.c] Updated a FIXME. +------------------------------------------------------------------------ +r12941 | vlefevre | 2018-07-19 08:32:21 +0000 (Thu, 19 Jul 2018) | 1 line +Changed paths: + M /trunk/src/vasprintf.c + +[src/vasprintf.c] More FIXME's. +------------------------------------------------------------------------ +r12940 | vlefevre | 2018-07-19 07:44:54 +0000 (Thu, 19 Jul 2018) | 1 line +Changed paths: + M /trunk/src/vasprintf.c + +[src/vasprintf.c] Reindentation. +------------------------------------------------------------------------ +r12939 | vlefevre | 2018-07-19 07:35:06 +0000 (Thu, 19 Jul 2018) | 1 line +Changed paths: + M /trunk/src/vasprintf.c + +[src/vasprintf.c] Added a FIXME for MPFR_PREC_ARG handling. +------------------------------------------------------------------------ +r12937 | vlefevre | 2018-07-18 23:59:09 +0000 (Wed, 18 Jul 2018) | 10 lines +Changed paths: + M /trunk/acinclude.m4 + M /trunk/configure.ac + M /trunk/doc/README.dev + M /trunk/src/buildopt.c + M /trunk/src/free_cache.c + M /trunk/src/mpfr-impl.h + M /trunk/src/mpfr-thread.h + M /trunk/tests/tconst_pi.c + M /trunk/tests/tversion.c + +Shared caches: fix and minor changes. + * Fixed detection and use of C11 thread support: the C11 header is + <threads.h>, not <thread.h>. + * Renamed WANT_SHARED_CACHE to MPFR_WANT_SHARED_CACHE for consistency + with the other MPFR_WANT_* macros. + * Added MPFR_THREAD_LOCK_METHOD macro, giving the thread locking + method as a string (when shared caches are enabled). + * doc/README.dev: documented 4 macros for shared caches. + * tests/tversion.c: output MPFR_WANT_SHARED_CACHE and + MPFR_THREAD_LOCK_METHOD information. +------------------------------------------------------------------------ +r12935 | vlefevre | 2018-07-18 23:15:14 +0000 (Wed, 18 Jul 2018) | 3 lines +Changed paths: + M /trunk/tests/tconst_pi.c + +[tests/tconst_pi.c] Removed an incorrect assertion, as the #else would +be applicable when WANT_SHARED_CACHE is defined but not HAVE_PTHREAD +(which may occur when MPFR_HAVE_C11_LOCK is defined). +------------------------------------------------------------------------ +r12934 | vlefevre | 2018-07-18 13:33:13 +0000 (Wed, 18 Jul 2018) | 2 lines +Changed paths: + M /trunk/src/vasprintf.c + +[src/vasprintf.c] Fixed type in partition_number to be consistent with +the end of the function. +------------------------------------------------------------------------ +r12933 | vlefevre | 2018-07-16 14:17:55 +0000 (Mon, 16 Jul 2018) | 2 lines +Changed paths: + M /trunk/src/vasprintf.c + +[src/vasprintf.c] Added 2 FIXME and removed an incorrect MPFR_ASSERTN +(which came from r5236). +------------------------------------------------------------------------ +r12932 | vlefevre | 2018-07-16 13:56:39 +0000 (Mon, 16 Jul 2018) | 3 lines +Changed paths: + M /trunk/tests/tsprintf.c + +[tests/tsprintf.c] Added other tests to check_length_overflow, which +would trigger other bugs in src/vasprintf.c (e.g. when removing the +other failing tests). +------------------------------------------------------------------------ +r12931 | vlefevre | 2018-07-16 13:33:33 +0000 (Mon, 16 Jul 2018) | 4 lines +Changed paths: + M /trunk/tests/tsprintf.c + +[tests/tsprintf.c] Added check_length_overflow to check the behavior +of mpfr_snprintf on a large number of ouput characters (> INT_MAX) with +size = 0. This test is actually done only if INT_MAX == 2147483647 and +currently fails in such a case. +------------------------------------------------------------------------ +r12930 | vlefevre | 2018-07-16 13:22:58 +0000 (Mon, 16 Jul 2018) | 2 lines +Changed paths: + M /trunk/src/vasprintf.c + +[src/vasprintf.c] Updated comment about overflow on the number of output +characters, taking into account the latest ISO C and POSIX standards. +------------------------------------------------------------------------ +r12929 | vlefevre | 2018-07-16 12:45:59 +0000 (Mon, 16 Jul 2018) | 1 line +Changed paths: + M /trunk/tests/tsprintf.c + +[tests/tsprintf.c] Updated a comment. +------------------------------------------------------------------------ +r12928 | vlefevre | 2018-07-13 14:43:40 +0000 (Fri, 13 Jul 2018) | 1 line +Changed paths: + M /trunk/src/vasprintf.c + +[src/vasprintf.c] Simplified mpfr_get_str_wrapper. +------------------------------------------------------------------------ +r12927 | vlefevre | 2018-07-13 13:38:08 +0000 (Fri, 13 Jul 2018) | 1 line +Changed paths: + M /trunk/src/vasprintf.c + +[src/vasprintf.c] Added a log message. +------------------------------------------------------------------------ +r12926 | vlefevre | 2018-07-13 13:15:01 +0000 (Fri, 13 Jul 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Added a FIXME: _Decimal128 code and _MPFR_IEEE_FLOATS +(which is about binary IEEE-754 floating point) should be unrelated. +------------------------------------------------------------------------ +r12925 | vlefevre | 2018-07-13 12:28:36 +0000 (Fri, 13 Jul 2018) | 8 lines +Changed paths: + M /trunk/src/get_d64.c + +[src/get_d64.c] + * Added FIXME's for get_decimal64_nan and get_decimal64_inf internal + functions: possible issue with _MPFR_IEEE_FLOATS code, which also + seems more complex than the generic code. + * Simplified get_decimal64_zero internal function to generate a + decimal zero directly instead of using the fact that a binary64 + zero is also the encoding of a decimal zero (and assuming that + double = binary64 with perfect endianness matching). +------------------------------------------------------------------------ +r12922 | vlefevre | 2018-07-13 10:28:16 +0000 (Fri, 13 Jul 2018) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + +[acinclude.m4] Updated message about the _Float128 support, since +this is not just about the compiler. +------------------------------------------------------------------------ +r12921 | vlefevre | 2018-07-13 10:20:28 +0000 (Fri, 13 Jul 2018) | 3 lines +Changed paths: + M /trunk/acinclude.m4 + +[acinclude.m4] Fixed the _Float128 / __float128 detection for NetBSD: +Optimization made the "undefined reference" error disappear, so that +__float128 was misdetected as being supported. +------------------------------------------------------------------------ +r12915 | vlefevre | 2018-07-12 14:27:50 +0000 (Thu, 12 Jul 2018) | 5 lines +Changed paths: + M /trunk/acinclude.m4 + +[acinclude.m4] For the _Float128 / __float128 detection, changed +AC_COMPILE_IFELSE to AC_LINK_IFELSE since an error may occur only +at link time, such as under NetBSD: + https://mail-index.netbsd.org/pkgsrc-users/2018/02/02/msg026220.html + https://mail-index.netbsd.org/pkgsrc-users/2018/02/05/msg026238.html +------------------------------------------------------------------------ +r12913 | vlefevre | 2018-07-12 12:28:58 +0000 (Thu, 12 Jul 2018) | 4 lines +Changed paths: + M /trunk/src/Makefile.am + +[src/Makefile.am] Corrected check-exported-symbols to avoid a failure +when the default .SHELLFLAGS value is '-ec' (POSIX) instead of '-c' +(GNU Make, which is not in POSIX-conforming mode by default). +Bug found on FreeBSD 11.1 (Compile Farm @ HouseGordon.com). +------------------------------------------------------------------------ +r12912 | vlefevre | 2018-07-11 08:39:58 +0000 (Wed, 11 Jul 2018) | 2 lines +Changed paths: + M /trunk/src/vasprintf.c + +[src/vasprintf.c] In buffer_sandwich, simplified the handling of the +trailing zero (avoid memset and a useless assignment). +------------------------------------------------------------------------ +r12908 | vlefevre | 2018-07-09 14:05:45 +0000 (Mon, 09 Jul 2018) | 2 lines +Changed paths: + M /trunk/doc/mpfr.texi + +[doc/mpfr.texi] More changes to Section "Nomenclature and Types"; +in particular, defined regular numbers and exponents. +------------------------------------------------------------------------ +r12907 | vlefevre | 2018-07-09 13:39:14 +0000 (Mon, 09 Jul 2018) | 3 lines +Changed paths: + M /trunk/doc/mpfr.texi + +[doc/mpfr.texi] In Section "Nomenclature and Types", removed all the +@noindent, whose purpose is unclear (if one needs something special, +an itemized list would be better, or possibly @deffn). +------------------------------------------------------------------------ +r12906 | vlefevre | 2018-07-09 13:30:02 +0000 (Mon, 09 Jul 2018) | 2 lines +Changed paths: + M /trunk/doc/mpfr.texi + +[doc/mpfr.texi] Rewrote the paragraph defining "floating-point number" +in Section "Nomenclature and Types", avoiding ambiguities. +------------------------------------------------------------------------ +r12903 | vlefevre | 2018-07-06 14:01:06 +0000 (Fri, 06 Jul 2018) | 1 line +Changed paths: + M /trunk/tests/tprintf.c + +[tests/tprintf.c] Grrr... again a copy-paste error. Now OK. +------------------------------------------------------------------------ +r12902 | vlefevre | 2018-07-06 13:58:49 +0000 (Fri, 06 Jul 2018) | 2 lines +Changed paths: + M /trunk/tests/tprintf.c + M /trunk/tests/tsprintf.c + +[tests/{tprintf.c,tsprintf.c}] Corrected the tests added in r12898, +but tprintf still fails. +------------------------------------------------------------------------ +r12901 | vlefevre | 2018-07-06 13:53:26 +0000 (Fri, 06 Jul 2018) | 1 line +Changed paths: + M /trunk/tests/tsprintf.c + +[tests/tsprintf.c] Corrected the latest tests. +------------------------------------------------------------------------ +r12900 | vlefevre | 2018-07-06 13:51:41 +0000 (Fri, 06 Jul 2018) | 1 line +Changed paths: + M /trunk/tests/tsprintf.c + +[tests/tsprintf.c] Added tests (failure on "%09.3Rg" for 1000). +------------------------------------------------------------------------ +r12899 | vlefevre | 2018-07-06 13:45:00 +0000 (Fri, 06 Jul 2018) | 1 line +Changed paths: + M /trunk/tests/tsprintf.c + +[tests/tsprintf.c] Corrected comments. +------------------------------------------------------------------------ +r12898 | vlefevre | 2018-07-06 13:41:37 +0000 (Fri, 06 Jul 2018) | 1 line +Changed paths: + M /trunk/tests/tprintf.c + M /trunk/tests/tsprintf.c + +[tests/{tprintf.c,tsprintf.c}] Added tests (both programs fail). +------------------------------------------------------------------------ +r12896 | vlefevre | 2018-07-06 13:26:15 +0000 (Fri, 06 Jul 2018) | 1 line +Changed paths: + M /trunk/doc/mpfr.texi + +[doc/mpfr.texi] Updated the month. +------------------------------------------------------------------------ +r12895 | vlefevre | 2018-07-06 13:25:43 +0000 (Fri, 06 Jul 2018) | 1 line +Changed paths: + M /trunk/src/vasprintf.c + +[src/vasprintf.c] Corrected comments and coding style. +------------------------------------------------------------------------ +r12894 | vlefevre | 2018-07-06 13:17:40 +0000 (Fri, 06 Jul 2018) | 8 lines +Changed paths: + M /trunk/src/vasprintf.c + +[src/vasprintf.c] Resolve the FIXME. + * Renamed ip_trailing_zeros to ip_trailing_digits, since when + spec.size == 0, these can be any digits. + * Simplified the buffer_sandwich function since it can be called + only when spec.size != 0, in which case tz (= ip_trailing_digits) + is either 0 or 1 (a trailing zero must be added only when rounding + to the next power of ten in the %f case). + * Corrected/removed/added comments. +------------------------------------------------------------------------ +r12893 | vlefevre | 2018-07-06 11:49:12 +0000 (Fri, 06 Jul 2018) | 2 lines +Changed paths: + M /trunk/tests/tprintf.c + M /trunk/tests/tsprintf.c + +[tests/{tprintf.c,tsprintf.c}] Added tests with powers of ten in all +rounding modes and powers of ten + 0.5 in rounding to nearest. +------------------------------------------------------------------------ +r12889 | zimmerma | 2018-07-05 07:22:01 +0000 (Thu, 05 Jul 2018) | 2 lines +Changed paths: + M /trunk/doc/mpfr.texi + +[doc/mpfr.texi] typo in Fredrik's name + +------------------------------------------------------------------------ +r12888 | zimmerma | 2018-07-05 07:19:35 +0000 (Thu, 05 Jul 2018) | 2 lines +Changed paths: + M /trunk/AUTHORS + +[AUTHORS] typo in Fredrik's name + +------------------------------------------------------------------------ +r12887 | vlefevre | 2018-07-04 15:14:21 +0000 (Wed, 04 Jul 2018) | 1 line +Changed paths: + M /trunk/tests/tprintf.c + +[tests/tprintf.c] Added a TODO (for the FIXME in src/vasprintf.c). +------------------------------------------------------------------------ +r12886 | vlefevre | 2018-07-04 15:04:00 +0000 (Wed, 04 Jul 2018) | 1 line +Changed paths: + M /trunk/src/vasprintf.c + +[src/vasprintf.c] Updated the FIXME comment. +------------------------------------------------------------------------ +r12885 | vlefevre | 2018-07-04 14:38:04 +0000 (Wed, 04 Jul 2018) | 1 line +Changed paths: + M /trunk/src/vasprintf.c + +[src/vasprintf.c] Added a FIXME comment about an incorrect comment. +------------------------------------------------------------------------ +r12884 | vlefevre | 2018-07-04 14:30:16 +0000 (Wed, 04 Jul 2018) | 1 line +Changed paths: + M /trunk/src/vasprintf.c + +[src/vasprintf.c] Added log messages in buffer_sandwich. +------------------------------------------------------------------------ +r12883 | vlefevre | 2018-07-04 14:20:29 +0000 (Wed, 04 Jul 2018) | 2 lines +Changed paths: + M /trunk/tests/tsprintf.c + +[tests/tsprintf.c] Added more tests of the form 10^i - 1/2 +(like in tprintf.c). +------------------------------------------------------------------------ +r12882 | vlefevre | 2018-07-04 14:00:08 +0000 (Wed, 04 Jul 2018) | 1 line +Changed paths: + M /trunk/tests/tprintf.c + +[tests/tprintf.c] Added more tests of the form 10^i - 1/2. +------------------------------------------------------------------------ +r12881 | vlefevre | 2018-07-04 13:40:12 +0000 (Wed, 04 Jul 2018) | 1 line +Changed paths: + M /trunk/tests/tsprintf.c + +[tests/tsprintf.c] Added test_locale() test based on the tprintf.c one. +------------------------------------------------------------------------ +r12880 | vlefevre | 2018-07-04 13:36:32 +0000 (Wed, 04 Jul 2018) | 1 line +Changed paths: + M /trunk/tests/tprintf.c + +[tests/tprintf.c] Minor correction. +------------------------------------------------------------------------ +r12879 | vlefevre | 2018-07-04 13:27:49 +0000 (Wed, 04 Jul 2018) | 1 line +Changed paths: + M /trunk/tests/tprintf.c + +[tests/tprintf.c] More test_locale() cleanup. +------------------------------------------------------------------------ +r12878 | vlefevre | 2018-07-04 13:11:01 +0000 (Wed, 04 Jul 2018) | 1 line +Changed paths: + M /trunk/src/vasprintf.c + +[src/vasprintf.c] English usage in a comment. +------------------------------------------------------------------------ +r12877 | vlefevre | 2018-07-04 12:57:47 +0000 (Wed, 04 Jul 2018) | 4 lines +Changed paths: + M /trunk/src/vasprintf.c + +[src/vasprintf.c] Renamed mpfr_get_str_aux to mpfr_get_str_wrapper +in order to avoid a confusion with the mpfr_get_str_aux function +from get_str.c (moreover, this is really a wrapper, which is the +reverse of an aux function). +------------------------------------------------------------------------ +r12876 | vlefevre | 2018-07-04 12:35:45 +0000 (Wed, 04 Jul 2018) | 1 line +Changed paths: + M /trunk/tests/tsprintf.c + +[tests/tsprintf.c] locale_da_DK() cleanup. +------------------------------------------------------------------------ +r12875 | zimmerma | 2018-07-04 12:32:17 +0000 (Wed, 04 Jul 2018) | 2 lines +Changed paths: + M /trunk/src/vasprintf.c + +[src/vasprintf.c] partly revert commit 12873 + +------------------------------------------------------------------------ +r12874 | vlefevre | 2018-07-04 12:20:43 +0000 (Wed, 04 Jul 2018) | 4 lines +Changed paths: + M /trunk/tests/tprintf.c + +[tests/tprintf.c] test_locale() cleanup. + * Conditional #include <locale.h> with the other header inclusions. + * Completed a #if (to be like in tsprintf.c). + * Moved a global variable as local to test_locale(). +------------------------------------------------------------------------ +r12873 | zimmerma | 2018-07-04 12:09:44 +0000 (Wed, 04 Jul 2018) | 3 lines +Changed paths: + M /trunk/src/vasprintf.c + M /trunk/tests/tprintf.c + +[src/vasprintf.c] replaced overflow tests by assertions +[tests/tprintf.c] improve test coverage + +------------------------------------------------------------------------ +r12870 | vlefevre | 2018-07-04 08:50:32 +0000 (Wed, 04 Jul 2018) | 3 lines +Changed paths: + M /trunk/doc/README.dev + M /trunk/tests/tprintf.c + M /trunk/tests/tsprintf.c + +Added MPFR_CHECK_LOCALES environment variable for the tests (to be +used by developers): when set, terminate with an error if locales +cannot be tested. +------------------------------------------------------------------------ +r12869 | vlefevre | 2018-07-04 01:23:27 +0000 (Wed, 04 Jul 2018) | 19 lines +Changed paths: + M /trunk/src/vasprintf.c + +[src/vasprintf.c] Fixed several bugs in buffer_sandwich, which could +yield memory corruption with non-default memory allocators and other +undefined behavior; check the return value when this function is called. + +Details: + * check integer overflow on the size computations; + * computation of q and r without tests; + * fixed the case where r > len (e.g. len = 1 and tz = 1); + * in the loop, increase the str pointer only when needed, otherwise + str could be beyond of the end of the string of the digits, which + is undefined behavior. + +The first consequence of the r > len issue was an incorrect generated +string. Moreover, since the generated string was shorter than expected, +mpfr_free_str would provide an incorrect buffer size to the "free" +function of the current GMP memory allocator. By default, this size is +ignored, but it may matter if the memory allocators have been changed +with the mp_set_memory_functions GMP function, in which case a possible +consequence could be memory corruption. +------------------------------------------------------------------------ +r12868 | zimmerma | 2018-07-03 15:34:40 +0000 (Tue, 03 Jul 2018) | 3 lines +Changed paths: + M /trunk/src/vasprintf.c + M /trunk/tests/tprintf.c + +[src/vasprintf.c] added an assertion +[tests/tprintf.c] added two tests (one currently fails) + +------------------------------------------------------------------------ +r12864 | vlefevre | 2018-06-26 18:22:17 +0000 (Tue, 26 Jun 2018) | 1 line +Changed paths: + M /trunk/src/vasprintf.c + +[src/vasprintf.c] C90 compatibility. +------------------------------------------------------------------------ +r12863 | zimmerma | 2018-06-26 15:16:17 +0000 (Tue, 26 Jun 2018) | 2 lines +Changed paths: + M /trunk/tests/tsprintf.c + +[tests/tsprintf.c] fixed another test + +------------------------------------------------------------------------ +r12862 | zimmerma | 2018-06-26 15:15:06 +0000 (Tue, 26 Jun 2018) | 2 lines +Changed paths: + M /trunk/tests/tsprintf.c + +[tests/tsprintf.c] fixed test + +------------------------------------------------------------------------ +r12861 | zimmerma | 2018-06-26 13:20:49 +0000 (Tue, 26 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/vasprintf.c + M /trunk/tests/tprintf.c + +[src/vasprintf.c] improve coverage + +------------------------------------------------------------------------ +r12860 | zimmerma | 2018-06-26 11:37:44 +0000 (Tue, 26 Jun 2018) | 2 lines +Changed paths: + M /trunk/tests/tsprintf.c + +[tests/tsprintf.c] improve coverage + +------------------------------------------------------------------------ +r12859 | zimmerma | 2018-06-26 10:58:03 +0000 (Tue, 26 Jun 2018) | 2 lines +Changed paths: + M /trunk/tests/tsprintf.c + +[tests/tsprintf.c] improve coverage + +------------------------------------------------------------------------ +r12858 | zimmerma | 2018-06-25 13:42:59 +0000 (Mon, 25 Jun 2018) | 2 lines +Changed paths: + M /trunk/tests/tgamma_inc.c + +[tests/tgamma_inc.c] improve coverage + +------------------------------------------------------------------------ +r12857 | zimmerma | 2018-06-25 10:48:05 +0000 (Mon, 25 Jun 2018) | 2 lines +Changed paths: + M /trunk/tests/tgamma_inc.c + +[tests/tgamma_inc.c] added coverage test + +------------------------------------------------------------------------ +r12856 | zimmerma | 2018-06-25 10:13:29 +0000 (Mon, 25 Jun 2018) | 4 lines +Changed paths: + M /trunk/src/gamma.c + M /trunk/src/gamma_inc.c + M /trunk/tests/tgamma_inc.c + +[src/gamma.c] added comment +[src/gamma_inc.c] fixed bug for gamma_inc(-Inf, 0) +[tests/tgamma_inc.c] added coverage tests + +------------------------------------------------------------------------ +r12855 | vlefevre | 2018-06-23 10:40:02 +0000 (Sat, 23 Jun 2018) | 2 lines +Changed paths: + M /trunk/configure.ac + +[configure.ac] Do not do specific CFLAGS settings for MS-Windows ICC. +See <https://sympa.inria.fr/sympa/arc/mpfr/2018-06/msg00027.html>. +------------------------------------------------------------------------ +r12854 | vlefevre | 2018-06-23 06:04:53 +0000 (Sat, 23 Jun 2018) | 1 line +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Spelling in a comment. +------------------------------------------------------------------------ +r12853 | vlefevre | 2018-06-23 00:43:45 +0000 (Sat, 23 Jun 2018) | 1 line +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Fixed change in r12847. +------------------------------------------------------------------------ +r12852 | vlefevre | 2018-06-23 00:23:10 +0000 (Sat, 23 Jun 2018) | 1 line +Changed paths: + M /trunk/tests/tget_set_d64.c + +[tests/tget_set_d64.c] Improved a test. +------------------------------------------------------------------------ +r12851 | vlefevre | 2018-06-23 00:20:00 +0000 (Sat, 23 Jun 2018) | 1 line +Changed paths: + M /trunk/tests/tget_set_d128.c + +[tests/tget_set_d128.c] Replaced d != d by DOUBLE_ISNAN (d). +------------------------------------------------------------------------ +r12850 | vlefevre | 2018-06-23 00:17:09 +0000 (Sat, 23 Jun 2018) | 1 line +Changed paths: + M /trunk/doc/mpfr.texi + +[doc/mpfr.texi] Updated the month. +------------------------------------------------------------------------ +r12849 | vlefevre | 2018-06-23 00:15:33 +0000 (Sat, 23 Jun 2018) | 3 lines +Changed paths: + M /trunk/tests/tget_set_d128.c + M /trunk/tests/tget_set_d64.c + +[tests/tget_set_{d64,d128}.c] When MPFR_ERRDIVZERO is defined, +disable tests that can trigger a FP exception DIVBYZERO or INVALID +(issue detected with -DMPFR_TESTS_FPE_DIV -DMPFR_ERRDIVZERO). +------------------------------------------------------------------------ +r12848 | vlefevre | 2018-06-22 21:44:41 +0000 (Fri, 22 Jun 2018) | 1 line +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Improved a comment about union ieee_decimal128. +------------------------------------------------------------------------ +r12847 | vlefevre | 2018-06-22 21:41:53 +0000 (Fri, 22 Jun 2018) | 4 lines +Changed paths: + M /trunk/acinclude.m4 + M /trunk/src/mpfr-impl.h + M /trunk/src/set_d128.c + M /trunk/tests/tget_set_d128.c + +Do not assume that the bit-field ordering for _Decimal128 is necessarily +little endian or big endian (this is more than the usual endianness +issue). If this cannot be detected, instead of failing or assuming a +possibly wrong default, switch to the portable code. +------------------------------------------------------------------------ +r12846 | zimmerma | 2018-06-22 15:36:25 +0000 (Fri, 22 Jun 2018) | 2 lines +Changed paths: + M /trunk/NEWS + M /trunk/TODO + M /trunk/doc/mpfr.texi + +added mpfr_get_decimal128 and mpfr_set_decimal128 to the manual + +------------------------------------------------------------------------ +r12845 | zimmerma | 2018-06-22 15:04:33 +0000 (Fri, 22 Jun 2018) | 2 lines +Changed paths: + M /trunk/tests/tget_set_d128.c + +[tests/tget_set_d128.c] test some random 16-byte inputs + +------------------------------------------------------------------------ +r12844 | zimmerma | 2018-06-22 15:00:37 +0000 (Fri, 22 Jun 2018) | 2 lines +Changed paths: + M /trunk/tests/tget_set_d64.c + +[tests/tget_set_d64.c] test random inputs + +------------------------------------------------------------------------ +r12843 | zimmerma | 2018-06-22 14:39:39 +0000 (Fri, 22 Jun 2018) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + M /trunk/src/mpfr-impl.h + +[acinclude.m4] added configure test to determine the encoding of _Decimal128 (little or big endian) + +------------------------------------------------------------------------ +r12842 | zimmerma | 2018-06-22 14:01:06 +0000 (Fri, 22 Jun 2018) | 2 lines +Changed paths: + M /trunk/doc/README.dev + +[doc/README.dev] added standard suffixes + +------------------------------------------------------------------------ +r12841 | zimmerma | 2018-06-22 13:56:17 +0000 (Fri, 22 Jun 2018) | 2 lines +Changed paths: + M /trunk/tests/tget_set_d64.c + +[tests/tget_set_d64.c] fixed a test + +------------------------------------------------------------------------ +r12840 | zimmerma | 2018-06-22 13:13:55 +0000 (Fri, 22 Jun 2018) | 3 lines +Changed paths: + M /trunk/tests/tget_set_d128.c + M /trunk/tests/tget_set_d64.c + +[tests/tget_set_d64.c] removed TODO (done), added comment +[tests/tget_set_d128.c] removed TODO (done) + +------------------------------------------------------------------------ +r12839 | zimmerma | 2018-06-22 13:11:53 +0000 (Fri, 22 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/set_d64.c + +[src/set_d64.c] added comment (like for set_d128.c) + +------------------------------------------------------------------------ +r12838 | zimmerma | 2018-06-22 12:44:16 +0000 (Fri, 22 Jun 2018) | 3 lines +Changed paths: + M /trunk/src/get_d128.c + M /trunk/src/get_d64.c + +[src/get_d64.c] improve comment +[src/get_d128.c] likewise + +------------------------------------------------------------------------ +r12837 | zimmerma | 2018-06-22 12:38:26 +0000 (Fri, 22 Jun 2018) | 3 lines +Changed paths: + M /trunk/src/set_d64.c + M /trunk/tests/tget_set_d64.c + +[src/set_d64.c] also deal with non-canonical BID encoding +[tests/tget_set_d64.c] added test with non-canonical BID encoding + +------------------------------------------------------------------------ +r12836 | vlefevre | 2018-06-22 12:19:47 +0000 (Fri, 22 Jun 2018) | 1 line +Changed paths: + M /trunk/src/get_d128.c + +[src/get_d128.c] Bug fix (buffer overflow detected by AddressSanitizer). +------------------------------------------------------------------------ +r12835 | vlefevre | 2018-06-22 12:10:52 +0000 (Fri, 22 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/get_d128.c + M /trunk/src/set_d128.c + +[src] Moved the FIXME comment from set_d128.c to get_d128.c since the +bug occurs in mpfr_get_decimal128 according to the AddressSanitizer. +------------------------------------------------------------------------ +r12834 | vlefevre | 2018-06-22 12:08:14 +0000 (Fri, 22 Jun 2018) | 1 line +Changed paths: + M /trunk/src/set_d128.c + +[src/set_d128.c] Updated FIXME comment. +------------------------------------------------------------------------ +r12833 | vlefevre | 2018-06-22 11:52:45 +0000 (Fri, 22 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/sqrt.c + +[src/sqrt.c] Replaced a umul_ppmm by umul_hi, and removed an unused +variable as a consequence. +------------------------------------------------------------------------ +r12832 | vlefevre | 2018-06-22 11:42:30 +0000 (Fri, 22 Jun 2018) | 1 line +Changed paths: + M /trunk/src/set_d64.c + +[src/set_d64.c] Code improvement (like r12809 and r12828 in set_d128.c). +------------------------------------------------------------------------ +r12831 | vlefevre | 2018-06-22 11:35:36 +0000 (Fri, 22 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/set_ld.c + +[src/set_ld.c] Removed unused variable for +HAVE_LDOUBLE_MAYBE_DOUBLE_DOUBLE (PowerPC). +------------------------------------------------------------------------ +r12830 | vlefevre | 2018-06-22 11:33:33 +0000 (Fri, 22 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/invsqrt_limb.h + +[src/invsqrt_limb.h] Avoid a "variable ‘_l’ set but not used" warning +on some platforms, such as powerpc64le-unknown-linux-gnu. +------------------------------------------------------------------------ +r12829 | vlefevre | 2018-06-22 11:28:46 +0000 (Fri, 22 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/invert_limb.h + +[src/invert_limb.h] Avoid a "variable ‘_l’ set but not used" warning +on some platforms, such as powerpc64le-unknown-linux-gnu. +------------------------------------------------------------------------ +r12828 | vlefevre | 2018-06-22 11:19:27 +0000 (Fri, 22 Jun 2018) | 1 line +Changed paths: + M /trunk/src/set_d128.c + +[src/set_d128.c] Avoid "unused variable" warnings on platforms with DPD. +------------------------------------------------------------------------ +r12827 | vlefevre | 2018-06-22 11:11:02 +0000 (Fri, 22 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] About union ieee_double_decimal64: removed an +incorrect comment and added a TODO. +------------------------------------------------------------------------ +r12826 | vlefevre | 2018-06-22 11:08:20 +0000 (Fri, 22 Jun 2018) | 3 lines +Changed paths: + M /trunk/src/mpfr-impl.h + M /trunk/src/set_d128.c + M /trunk/tests/tget_set_d128.c + +Changed union ieee_double_decimal128 to union ieee_decimal128 since this +has nothing to do with double (unlike union ieee_double_decimal64). Also +refactored code for this union definition. +------------------------------------------------------------------------ +r12825 | vlefevre | 2018-06-22 10:50:47 +0000 (Fri, 22 Jun 2018) | 1 line +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Updated TODO for DPD. +------------------------------------------------------------------------ +r12824 | vlefevre | 2018-06-22 10:47:16 +0000 (Fri, 22 Jun 2018) | 1 line +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Added TODO for DPD (better structure definition). +------------------------------------------------------------------------ +r12823 | vlefevre | 2018-06-22 10:42:20 +0000 (Fri, 22 Jun 2018) | 1 line +Changed paths: + M /trunk/tests/tget_set_d128.c + +[tests/tget_set_d128.c] Execute BID code only with BID. +------------------------------------------------------------------------ +r12822 | vlefevre | 2018-06-22 10:35:07 +0000 (Fri, 22 Jun 2018) | 1 line +Changed paths: + M /trunk/tests/tget_set_d128.c + +[tests/tget_set_d128.c] Simplification and better portability. +------------------------------------------------------------------------ +r12821 | zimmerma | 2018-06-22 10:25:16 +0000 (Fri, 22 Jun 2018) | 2 lines +Changed paths: + M /trunk/tests/tget_set_d128.c + +[tests/tget_set_d128.c] added coverage tests for non-canonical BID encodings + +------------------------------------------------------------------------ +r12820 | zimmerma | 2018-06-22 10:00:40 +0000 (Fri, 22 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/set_d128.c + +[src/set_d128.c] improve last commit + +------------------------------------------------------------------------ +r12819 | zimmerma | 2018-06-22 09:56:32 +0000 (Fri, 22 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/set_d128.c + +[src/set_d128.c] improved a comment + +------------------------------------------------------------------------ +r12818 | vlefevre | 2018-06-22 09:26:00 +0000 (Fri, 22 Jun 2018) | 1 line +Changed paths: + M /trunk/src/set_d128.c + +[src/set_d128.c] Re-added "while (...)" erroneously removed in r12817. +------------------------------------------------------------------------ +r12817 | zimmerma | 2018-06-22 09:14:07 +0000 (Fri, 22 Jun 2018) | 3 lines +Changed paths: + M /trunk/src/set_d128.c + M /trunk/src/set_d64.c + +[src/set_d64.c] added comment +[src/set_d128.c] likewise + +------------------------------------------------------------------------ +r12816 | zimmerma | 2018-06-22 09:00:47 +0000 (Fri, 22 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/set_d128.c + +[src/set_d128.c] avoid variable conflict for DPD + +------------------------------------------------------------------------ +r12815 | zimmerma | 2018-06-22 08:54:53 +0000 (Fri, 22 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/set_d128.c + +[src/set_d128.c] implement for DFD encoding + +------------------------------------------------------------------------ +r12814 | zimmerma | 2018-06-22 08:54:08 +0000 (Fri, 22 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/set_d64.c + +[src/set_d64.c] added comment and space + +------------------------------------------------------------------------ +r12813 | vlefevre | 2018-06-22 02:25:39 +0000 (Fri, 22 Jun 2018) | 1 line +Changed paths: + M /trunk/src/set_d128.c + +[src/set_d128.c] Added a FIXME (stack-buffer-overflow). +------------------------------------------------------------------------ +r12812 | vlefevre | 2018-06-22 01:57:01 +0000 (Fri, 22 Jun 2018) | 1 line +Changed paths: + M /trunk/src/set_d128.c + +[src/set_d128.c] Corrected r12811. +------------------------------------------------------------------------ +r12811 | vlefevre | 2018-06-22 01:09:21 +0000 (Fri, 22 Jun 2018) | 3 lines +Changed paths: + M /trunk/src/set_d128.c + +[src/set_d128.c] _MPFR_IEEE_FLOATS code for BID: correctly support +the decoded significand >= 10^34 cases (non-canonical encodings), +which must be zero. +------------------------------------------------------------------------ +r12810 | vlefevre | 2018-06-22 00:49:07 +0000 (Fri, 22 Jun 2018) | 2 lines +Changed paths: + M /trunk/tests/tget_set_d128.c + M /trunk/tests/tget_set_d64.c + +[tests/{tget_set_d64.c,tget_set_d128.c}] TODO: Also test non-canonical +encodings. +------------------------------------------------------------------------ +r12809 | vlefevre | 2018-06-22 00:31:33 +0000 (Fri, 22 Jun 2018) | 5 lines +Changed paths: + M /trunk/src/set_d128.c + +[src/set_d128.c] + * Enable the _MPFR_IEEE_FLOATS code only for GMP_NUMB_BITS == 32 or 64 + (as the other values are not supported by this code). + * Bug fix for GMP_NUMB_BITS == 32 (→ tget_set_d128 no longer fails). + * Added an assertion corresponding to a comment. +------------------------------------------------------------------------ +r12808 | vlefevre | 2018-06-22 00:21:38 +0000 (Fri, 22 Jun 2018) | 1 line +Changed paths: + M /trunk/src/set_d128.c + +[src/set_d128.c] Fit on 80 columns. +------------------------------------------------------------------------ +r12807 | vlefevre | 2018-06-21 21:47:12 +0000 (Thu, 21 Jun 2018) | 1 line +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Updated a title comment (→ Decimal support). +------------------------------------------------------------------------ +r12806 | vlefevre | 2018-06-21 21:45:01 +0000 (Thu, 21 Jun 2018) | 1 line +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Corrected a comment. +------------------------------------------------------------------------ +r12805 | zimmerma | 2018-06-21 19:26:13 +0000 (Thu, 21 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/set_d128.c + +[src/set_d128.c] added comments + +------------------------------------------------------------------------ +r12804 | zimmerma | 2018-06-21 19:15:09 +0000 (Thu, 21 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/set_d128.c + +[src/set_d128.c] remove debug stuff + +------------------------------------------------------------------------ +r12803 | zimmerma | 2018-06-21 19:13:17 +0000 (Thu, 21 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] assume little-endian double implies little-endian decimal128 + +------------------------------------------------------------------------ +r12802 | vlefevre | 2018-06-21 17:59:46 +0000 (Thu, 21 Jun 2018) | 1 line +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] FIXME for _Decimal128. +------------------------------------------------------------------------ +r12801 | zimmerma | 2018-06-21 13:41:55 +0000 (Thu, 21 Jun 2018) | 3 lines +Changed paths: + M /trunk/src/mpfr-impl.h + M /trunk/src/set_d128.c + M /trunk/tests/tget_set_d128.c + +[src/set_d128.c] (partly) implement the _MPFR_IEEE_FLOATS case (BID only so far) +[tests/tget_set_d128.c] added more tests + +------------------------------------------------------------------------ +r12800 | zimmerma | 2018-06-21 13:20:19 +0000 (Thu, 21 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/set_d64.c + +[src/set_d64.c] added comments + +------------------------------------------------------------------------ +r12799 | zimmerma | 2018-06-21 06:31:29 +0000 (Thu, 21 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/get_d128.c + +[src/get_d128.c] removed useless comment + +------------------------------------------------------------------------ +r12798 | zimmerma | 2018-06-20 17:01:09 +0000 (Wed, 20 Jun 2018) | 3 lines +Changed paths: + M /trunk/src/get_d128.c + M /trunk/tests/tget_set_d128.c + +[src/get_d128.c] avoid using doubles +[tests/tget_set_d128.c] improve test coverage + +------------------------------------------------------------------------ +r12797 | zimmerma | 2018-06-20 14:53:41 +0000 (Wed, 20 Jun 2018) | 2 lines +Changed paths: + M /trunk/tests/tget_set_d128.c + +[tests/tget_set_d128.c] improve test coverage + +------------------------------------------------------------------------ +r12796 | zimmerma | 2018-06-20 14:44:52 +0000 (Wed, 20 Jun 2018) | 2 lines +Changed paths: + M /trunk/tests/tget_set_d128.c + +[tests/tget_set_d128.c] improve coverage + +------------------------------------------------------------------------ +r12795 | zimmerma | 2018-06-20 14:10:04 +0000 (Wed, 20 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/Makefile.am + A /trunk/src/get_d128.c + M /trunk/src/mpfr.h + M /trunk/tests/tget_set_d128.c + +added mpfr_get_decimal128 (still experimental) + +------------------------------------------------------------------------ +r12794 | zimmerma | 2018-06-20 14:08:37 +0000 (Wed, 20 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/get_d64.c + +[get_d64.c] added comments and simplified code + +------------------------------------------------------------------------ +r12792 | vlefevre | 2018-06-20 09:08:16 +0000 (Wed, 20 Jun 2018) | 2 lines +Changed paths: + M /trunk/tests/tget_set_d128.c + M /trunk/tests/tget_set_d64.c + +[tests/{tget_set_d64.c,tget_set_d128.c}] Tests on powers of 10: +test negative numbers too. +------------------------------------------------------------------------ +r12791 | vlefevre | 2018-06-19 23:20:12 +0000 (Tue, 19 Jun 2018) | 1 line +Changed paths: + M /trunk/doc/README.dev + +[doc/README.dev] Added a note about FP constants and native FP. +------------------------------------------------------------------------ +r12790 | vlefevre | 2018-06-19 16:28:21 +0000 (Tue, 19 Jun 2018) | 2 lines +Changed paths: + M /trunk/tools/mpfrlint + +[tools/mpfrlint] Check that preprocessing directives have no spaces +before. +------------------------------------------------------------------------ +r12789 | vlefevre | 2018-06-19 16:18:01 +0000 (Tue, 19 Jun 2018) | 1 line +Changed paths: + M /trunk/src/set_d128.c + +[src/set_d128.c] Modified a comment. +------------------------------------------------------------------------ +r12788 | vlefevre | 2018-06-19 15:12:40 +0000 (Tue, 19 Jun 2018) | 6 lines +Changed paths: + M /trunk/src/set_d128.c + +[src/set_d128.c] Avoid double, which is unreliable with GCC +in non-standard mode (see GCC bug 323 and the discussion in +GCC bug 85957). But the failure in tget_set_d128 probably came from +the fact that (_Decimal128) 0.1 is not 1/10 exactly (the double 0.1 +has about a 17-digit precision only, while _Decimal128 has more); +this test now passes. +------------------------------------------------------------------------ +r12787 | vlefevre | 2018-06-19 14:52:37 +0000 (Tue, 19 Jun 2018) | 1 line +Changed paths: + M /trunk/src/set_d128.c + +[src/set_d128.c] Simplified code and added assertions. +------------------------------------------------------------------------ +r12784 | vlefevre | 2018-06-19 12:53:11 +0000 (Tue, 19 Jun 2018) | 1 line +Changed paths: + M /trunk/src/set_d64.c + +[src/set_d64.c] Added a log message (like in set_d128.c). +------------------------------------------------------------------------ +r12783 | vlefevre | 2018-06-19 12:47:28 +0000 (Tue, 19 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/set_d128.c + M /trunk/src/set_d64.c + +[src/{set_d64.c,set_d128.c}] Bug fix: use mpfr_strtofr instead of +mpfr_set_str to get the ternary value. +------------------------------------------------------------------------ +r12782 | vlefevre | 2018-06-19 12:38:35 +0000 (Tue, 19 Jun 2018) | 3 lines +Changed paths: + M /trunk/tests/tget_set_d128.c + M /trunk/tests/tget_set_d64.c + +[tests/{tget_set_d64.c,tget_set_d128.c}] Added tests on powers of 10. + * tget_set_d64 fails on negative due to a bad ternary value. + * tget_set_d128 fails on negative due to bad value, etc. +------------------------------------------------------------------------ +r12781 | vlefevre | 2018-06-19 11:47:27 +0000 (Tue, 19 Jun 2018) | 1 line +Changed paths: + M /trunk/tests/tget_set_d128.c + +[tests/tget_set_d128.c] Test the flags too. +------------------------------------------------------------------------ +r12780 | vlefevre | 2018-06-19 11:43:53 +0000 (Tue, 19 Jun 2018) | 1 line +Changed paths: + M /trunk/tests/tget_set_d128.c + +[tests/tget_set_d128.c] Test more values. +------------------------------------------------------------------------ +r12779 | vlefevre | 2018-06-19 11:38:05 +0000 (Tue, 19 Jun 2018) | 2 lines +Changed paths: + M /trunk/tests/tget_set_d128.c + +[tests/tget_set_d128.c] Converting an integer into _Decimal128 is better +than converting a double into _Decimal128. +------------------------------------------------------------------------ +r12778 | vlefevre | 2018-06-19 11:33:14 +0000 (Tue, 19 Jun 2018) | 2 lines +Changed paths: + M /trunk/tests/tget_set_d128.c + +[tests/tget_set_d128.c] Simplified the test, avoiding a bug in ICC 15 +at the same time (1.0D was regarded as 0). +------------------------------------------------------------------------ +r12777 | vlefevre | 2018-06-19 11:29:13 +0000 (Tue, 19 Jun 2018) | 1 line +Changed paths: + M /trunk/tests/tget_set_d128.c + +[tests/tget_set_d128.c] Fixed indentation. +------------------------------------------------------------------------ +r12776 | vlefevre | 2018-06-19 11:17:02 +0000 (Tue, 19 Jun 2018) | 1 line +Changed paths: + M /trunk/tests/tversion.c + +[tests/tversion.c] Decimal formats: output the encoding type (DPD/BID). +------------------------------------------------------------------------ +r12775 | vlefevre | 2018-06-19 11:03:01 +0000 (Tue, 19 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/set_d128.c + +[src/set_d128.c] Changed _GMP_IEEE_FLOATS to _MPFR_IEEE_FLOATS as per +r10958 (in set_d128.c, currently in a comment due to r12772). +------------------------------------------------------------------------ +r12774 | vlefevre | 2018-06-19 10:58:40 +0000 (Tue, 19 Jun 2018) | 1 line +Changed paths: + M /trunk/src/set_d128.c + +[src/set_d128.c] Added a log message. +------------------------------------------------------------------------ +r12773 | vlefevre | 2018-06-19 10:51:33 +0000 (Tue, 19 Jun 2018) | 1 line +Changed paths: + M /trunk/tests/tget_set_d128.c + +[tests/tget_set_d128.c] Added an informative error message. +------------------------------------------------------------------------ +r12772 | vlefevre | 2018-06-19 10:05:06 +0000 (Tue, 19 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/set_d128.c + +[src/set_d128.c] Disable the _GMP_IEEE_FLOATS code, which is not +complete yet and makes the compilation fail. +------------------------------------------------------------------------ +r12771 | vlefevre | 2018-06-13 15:31:23 +0000 (Wed, 13 Jun 2018) | 1 line +Changed paths: + M /trunk/src/set_d128.c + +[src/set_d128.c] Corrected year in copyright notice. +------------------------------------------------------------------------ +r12770 | vlefevre | 2018-06-13 15:30:02 +0000 (Wed, 13 Jun 2018) | 1 line +Changed paths: + M /trunk/src/set_d128.c + +[src/set_d128.c] Minor improvements. +------------------------------------------------------------------------ +r12769 | zimmerma | 2018-06-13 10:33:51 +0000 (Wed, 13 Jun 2018) | 3 lines +Changed paths: + M /trunk/tests/tget_set_d128.c + M /trunk/tests/tget_set_d64.c + +[tests/tget_set_d64.c] added -v option to get verbose output +[tests/tget_set_d128.c] likewise + +------------------------------------------------------------------------ +r12768 | vlefevre | 2018-06-13 10:06:15 +0000 (Wed, 13 Jun 2018) | 1 line +Changed paths: + M /trunk/TODO + +[TODO] Missing "r". +------------------------------------------------------------------------ +r12767 | zimmerma | 2018-06-13 08:45:56 +0000 (Wed, 13 Jun 2018) | 2 lines +Changed paths: + M /trunk/TODO + +[TODO] update for mpfr_set_decimal128 + +------------------------------------------------------------------------ +r12766 | zimmerma | 2018-06-13 07:10:29 +0000 (Wed, 13 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/Makefile.am + M /trunk/src/mpfr.h + A /trunk/src/set_d128.c + M /trunk/src/set_d64.c + M /trunk/tests/Makefile.am + A /trunk/tests/tget_set_d128.c + +added mpfr_set_decimal128 (work in progress, not yet fully tested) + +------------------------------------------------------------------------ +r12765 | zimmerma | 2018-06-08 16:16:55 +0000 (Fri, 08 Jun 2018) | 2 lines +Changed paths: + M /trunk/tools/coverage + +[tools/coverage] added branch coverage + +------------------------------------------------------------------------ +r12764 | vlefevre | 2018-06-07 12:17:31 +0000 (Thu, 07 Jun 2018) | 3 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] Moved some computations on the exponents earlier +since they may yield an early overflow or underflow, and computing +the division by b^e would be useless in such a case. +------------------------------------------------------------------------ +r12763 | vlefevre | 2018-06-07 11:21:46 +0000 (Thu, 07 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] Added a MPFR_ASSERTD and a FIXME on things that don't +make much sense in the error analysis (still trying to understand…). +------------------------------------------------------------------------ +r12762 | zimmerma | 2018-06-07 09:34:22 +0000 (Thu, 07 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/const_pi.c + +[src/const_pi.c] missing reference about Brent-Salamin + +------------------------------------------------------------------------ +r12761 | zimmerma | 2018-06-07 09:31:41 +0000 (Thu, 07 Jun 2018) | 2 lines +Changed paths: + M /trunk/doc/algorithms.bib + M /trunk/doc/algorithms.tex + +[doc/algorithms.bib] added reference + +------------------------------------------------------------------------ +r12759 | zimmerma | 2018-06-05 14:37:16 +0000 (Tue, 05 Jun 2018) | 3 lines +Changed paths: + M /trunk/tests/tfmma.c + +[tests/tfmma.c] improve coverage of the UBF case in mpfr_sub + (now coverage of sub.c is 100%) + +------------------------------------------------------------------------ +r12758 | vlefevre | 2018-06-05 10:35:04 +0000 (Tue, 05 Jun 2018) | 1 line +Changed paths: + M /trunk/src/sum.c + +[src/sum.c] Updated TODO from r12755. +------------------------------------------------------------------------ +r12757 | zimmerma | 2018-06-05 06:45:12 +0000 (Tue, 05 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/fmma.c + +[src/fmma.c] now mpfr_fmms calls mpfr_sub for a better coverage + +------------------------------------------------------------------------ +r12756 | vlefevre | 2018-06-04 15:06:35 +0000 (Mon, 04 Jun 2018) | 1 line +Changed paths: + M /trunk/src/sum.c + +[src/sum.c] Updated TODO from r12755. +------------------------------------------------------------------------ +r12755 | vlefevre | 2018-06-04 14:49:50 +0000 (Mon, 04 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/sum.c + +[src/sum.c] Added a comment with a TODO about potentially dead code on +some platforms. +------------------------------------------------------------------------ +r12754 | vlefevre | 2018-06-04 12:18:51 +0000 (Mon, 04 Jun 2018) | 5 lines +Changed paths: + A /trunk/codespell.exclude + M /trunk/codespell.ignore + M /trunk/tools/mpfrlint + +codespell: simplified exceptions. + * Added codespell.exclude file. + * codespell.ignore: removed some words (particular cases). + * tools/mpfrlint: use the codespell.exclude exclude file, and for + the doc directory, replaced -S by an explicit list of files. +------------------------------------------------------------------------ +r12753 | vlefevre | 2018-06-04 09:27:59 +0000 (Mon, 04 Jun 2018) | 1 line +Changed paths: + M /trunk/codespell.ignore + +[codespell.ignore] Also ignore "objext" and "tim" (codespell 1.13). +------------------------------------------------------------------------ +r12752 | zimmerma | 2018-06-04 08:00:22 +0000 (Mon, 04 Jun 2018) | 5 lines +Changed paths: + M /trunk/src/sub1.c + M /trunk/tests/tfmma.c + +[src/sub1.c] fixed a bug and solved a FIXME (underflow for UBFs) +Note: this mostly reverts r12319, r12321, and the remaining FIXME +from r12327. +[tests/tfmma.c] added non-regression tests + +------------------------------------------------------------------------ +r12751 | vlefevre | 2018-06-02 22:39:37 +0000 (Sat, 02 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Concerning r12738, the safer code can be avoided +with GCC in ISO C mode (__STRICT_ANSI__). +------------------------------------------------------------------------ +r12749 | zimmerma | 2018-06-02 18:40:39 +0000 (Sat, 02 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/invert_limb.h + +[src/invert_limb.h] fixed two typos reported by Marco Bodrato + +------------------------------------------------------------------------ +r12748 | vlefevre | 2018-06-02 00:11:28 +0000 (Sat, 02 Jun 2018) | 1 line +Changed paths: + M /trunk/tests/tversion.c + +[tests/tversion.c] For GCC, output __STRICT_ANSI__ when defined. +------------------------------------------------------------------------ +r12747 | zimmerma | 2018-06-01 12:24:43 +0000 (Fri, 01 Jun 2018) | 2 lines +Changed paths: + M /trunk/src/sqrt.c + +[src/sqrt.c] fixed/improved comments + +------------------------------------------------------------------------ +r12746 | zimmerma | 2018-05-31 21:12:05 +0000 (Thu, 31 May 2018) | 2 lines +Changed paths: + M /trunk/src/invsqrt_limb.h + +[src/invsqrt_limb.h] fixed typos in comments + +------------------------------------------------------------------------ +r12745 | vlefevre | 2018-05-31 20:09:45 +0000 (Thu, 31 May 2018) | 1 line +Changed paths: + M /trunk/doc/README.dev + +[doc/README.dev] Updated a URL. +------------------------------------------------------------------------ +r12744 | vlefevre | 2018-05-31 16:04:15 +0000 (Thu, 31 May 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Fixed potential compilation failure with _Decimal64, +detected with r12738. +------------------------------------------------------------------------ +r12742 | vlefevre | 2018-05-31 14:46:31 +0000 (Thu, 31 May 2018) | 1 line +Changed paths: + M /trunk/doc/mpfr.texi + +[doc/mpfr.texi] Updated the month. +------------------------------------------------------------------------ +r12740 | vlefevre | 2018-05-31 14:37:04 +0000 (Thu, 31 May 2018) | 1 line +Changed paths: + M /trunk/AUTHORS + M /trunk/INSTALL + M /trunk/doc/algorithms.tex + M /trunk/doc/mpfr.texi + M /trunk/examples/sample.c + M /trunk/mpfr.pc.in + M /trunk/tests/tests.c + M /trunk/tools/cfarm.sh + M /trunk/tools/update-version + +Updated mpfr.org URL's to use https (except in ChangeLog and NEWS). +------------------------------------------------------------------------ +r12738 | vlefevre | 2018-05-31 00:23:22 +0000 (Thu, 31 May 2018) | 1 line +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] With GCC, select safer code for DOUBLE_ISNAN(x). +------------------------------------------------------------------------ +r12734 | vlefevre | 2018-05-30 17:38:44 +0000 (Wed, 30 May 2018) | 1 line +Changed paths: + M /trunk/tools/announce-text + +[tools/announce-text] http → https (for mpfr.org). +------------------------------------------------------------------------ +r12733 | vlefevre | 2018-05-30 15:54:11 +0000 (Wed, 30 May 2018) | 1 line +Changed paths: + M /trunk/doc/FAQ.html + +[doc] Updated FAQ.html with update-faq. +------------------------------------------------------------------------ +r12732 | vlefevre | 2018-05-30 15:53:47 +0000 (Wed, 30 May 2018) | 4 lines +Changed paths: + M /trunk/doc/faq.xsl + M /trunk/doc/update-faq + +[doc] Workaround due to the lack of https support in libxml2 +and the fact that mpfr.org now uses https with HSTS. + * faq.xsl: for the visual.css, use a local URL. + * update-faq: download visual.css from mpfr.org first. +------------------------------------------------------------------------ +r12731 | vlefevre | 2018-05-30 14:09:36 +0000 (Wed, 30 May 2018) | 1 line +Changed paths: + M /trunk/doc/update-faq + +[doc/update-faq] http → https +------------------------------------------------------------------------ +r12724 | vlefevre | 2018-05-30 09:27:29 +0000 (Wed, 30 May 2018) | 1 line +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Added a FIXME about DOUBLE_ISNAN and GCC. +------------------------------------------------------------------------ +r12723 | vlefevre | 2018-05-28 16:34:37 +0000 (Mon, 28 May 2018) | 6 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] Continued to review the new error analysis and code. +Changes: + * made the code more SSA-like (avoid a "y += ysize; y -= ysize;"); + * clarified comments; + * use MPFR_LIMB_MSB; + * added a FIXME on the error analysis. +------------------------------------------------------------------------ +r12722 | vlefevre | 2018-05-28 13:54:52 +0000 (Mon, 28 May 2018) | 2 lines +Changed paths: + M /trunk/doc/README.dev + +[doc/README.dev] Added info about shell portability, and in particular +about quotes (covering changes in r5659, r6128, r12711 and r12721). +------------------------------------------------------------------------ +r12721 | vlefevre | 2018-05-28 13:52:00 +0000 (Mon, 28 May 2018) | 2 lines +Changed paths: + M /trunk/tools/ck-clz_tab + M /trunk/tools/ck-copyright-notice + M /trunk/tools/ck-mparam + M /trunk/tools/update-version + +[tools/{ck-clz_tab,ck-copyright-notice,ck-mparam,update-version}] Fixed +non-portable quote nesting in backticks. +------------------------------------------------------------------------ +r12717 | vlefevre | 2018-05-28 11:05:54 +0000 (Mon, 28 May 2018) | 3 lines +Changed paths: + M /trunk/examples/can_round.c + M /trunk/examples/divworst.c + M /trunk/examples/rndo-add.c + M /trunk/examples/sample.c + M /trunk/examples/version.c + +[examples] Added "mpfr_free_cache ();" at the end of all programs, +as this is something that should be done systematically (at least +to detect memory leaks with valgrind). +------------------------------------------------------------------------ +r12716 | vlefevre | 2018-05-25 15:25:27 +0000 (Fri, 25 May 2018) | 2 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] Started to review the new error analysis and code +(r12705,12706). Minor improvements. +------------------------------------------------------------------------ +r12715 | vlefevre | 2018-05-25 14:46:42 +0000 (Fri, 25 May 2018) | 3 lines +Changed paths: + M /trunk/src/mpfr-impl.h + M /trunk/src/mpn_exp.c + +[src/{mpfr-impl.h,mpn_exp.c}] Changed the return type of mpfr_mpn_exp +from long to int for consistency with the mpfr_mpn_exp code and with +strtofr.c (which expects an int). +------------------------------------------------------------------------ +r12714 | vlefevre | 2018-05-25 14:40:40 +0000 (Fri, 25 May 2018) | 1 line +Changed paths: + M /trunk/src/mpn_exp.c + +[src/mpn_exp.c] Code cleanup and protection against integer overflow. +------------------------------------------------------------------------ +r12713 | vlefevre | 2018-05-24 14:35:51 +0000 (Thu, 24 May 2018) | 1 line +Changed paths: + M /trunk/src/hypot.c + +[src/hypot.c] Do bitwise operations in unsigned arithmetic. +------------------------------------------------------------------------ +r12712 | vlefevre | 2018-05-24 14:28:57 +0000 (Thu, 24 May 2018) | 1 line +Changed paths: + M /trunk/src/hypot.c + +[src/hypot.c] Added 2 TODO. +------------------------------------------------------------------------ +r12711 | vlefevre | 2018-05-23 14:34:10 +0000 (Wed, 23 May 2018) | 3 lines +Changed paths: + M /trunk/tools/ck-clz_tab + M /trunk/tools/ck-copyright-notice + +[tools/{ck-clz_tab,ck-copyright-notice}] Changed the POSIX $(…) to `…` +for Bourne shell compatibility (as under Solaris 10). +Note: these scripts are called via dist-hook for "make dist". +------------------------------------------------------------------------ +r12710 | vlefevre | 2018-05-22 07:41:58 +0000 (Tue, 22 May 2018) | 1 line +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Added a comment for UBF. +------------------------------------------------------------------------ +r12709 | vlefevre | 2018-05-22 07:32:18 +0000 (Tue, 22 May 2018) | 1 line +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Added a comment about UBF and alignment requirements. +------------------------------------------------------------------------ +r12708 | vlefevre | 2018-05-17 00:42:02 +0000 (Thu, 17 May 2018) | 1 line +Changed paths: + M /trunk/tests/tstrtofr.c + +[tests/tstrtofr.c] Removed TODO added in r12681, now obsolete. +------------------------------------------------------------------------ +r12707 | vlefevre | 2018-05-16 15:17:09 +0000 (Wed, 16 May 2018) | 1 line +Changed paths: + M /trunk/src/strtofr.c + +Removed trailing whitespace. +------------------------------------------------------------------------ +r12706 | zimmerma | 2018-05-16 14:43:31 +0000 (Wed, 16 May 2018) | 2 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] revisit error analysis in the division case (end) + +------------------------------------------------------------------------ +r12705 | zimmerma | 2018-05-15 16:10:08 +0000 (Tue, 15 May 2018) | 3 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] revisit error analysis in the division case (work in progress, + not yet finished) + +------------------------------------------------------------------------ +r12702 | vlefevre | 2018-05-09 11:21:11 +0000 (Wed, 09 May 2018) | 1 line +Changed paths: + M /trunk/tests/tsub.c + +[tests/tsub.c] Updated the comment added in r12701. +------------------------------------------------------------------------ +r12701 | vlefevre | 2018-05-09 11:16:19 +0000 (Wed, 09 May 2018) | 2 lines +Changed paths: + M /trunk/tests/tsub.c + +[tests/tsub.c] Added a comment about the bug fixed in r10697: +bug20180217 is a non-regression test for this bug. +------------------------------------------------------------------------ +r12698 | vlefevre | 2018-05-02 15:14:32 +0000 (Wed, 02 May 2018) | 4 lines +Changed paths: + M /trunk/tests/tstckintc.c + +[tests/tstckintc.c] Avoid false warnings with -Wcast-align=strict from +GCC 8.1 by adding casts "(long *) (void *)", still allowing checks of +other alignment requirements (which are not handled by the tstckintc.c +code). +------------------------------------------------------------------------ +r12697 | vlefevre | 2018-05-02 14:16:58 +0000 (Wed, 02 May 2018) | 1 line +Changed paths: + M /trunk/TODO + +[TODO] + Use GCC's nonnull and returns_nonnull attributes. +------------------------------------------------------------------------ +r12696 | vlefevre | 2018-05-02 12:31:59 +0000 (Wed, 02 May 2018) | 1 line +Changed paths: + M /trunk/acinclude.m4 + +[acinclude.m4] Added a note on _Decimal64 detection. +------------------------------------------------------------------------ +r12691 | vlefevre | 2018-04-30 15:24:36 +0000 (Mon, 30 Apr 2018) | 1 line +Changed paths: + M /trunk/doc/README.dev + +[doc/README.dev] Added info about spelling. +------------------------------------------------------------------------ +r12690 | vlefevre | 2018-04-30 15:18:16 +0000 (Mon, 30 Apr 2018) | 5 lines +Changed paths: + M /trunk/doc/README.dev + M /trunk/src/random_deviate.c + M /trunk/tests/teint.c + M /trunk/tests/tversion.c + +Corrected "runtime" to "run time" (noun) or "run-time" (adjective) +when it means the time at which the program is run. +See: + https://gcc.gnu.org/codingconventions.html#Spelling + https://en.wikipedia.org/wiki/Run_time +------------------------------------------------------------------------ +r12689 | vlefevre | 2018-04-27 15:39:52 +0000 (Fri, 27 Apr 2018) | 1 line +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] Potentially unnecessary code: comes from r8384. +------------------------------------------------------------------------ +r12688 | vlefevre | 2018-04-27 15:20:11 +0000 (Fri, 27 Apr 2018) | 1 line +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] Updated TODO about potentially unnecessary code. +------------------------------------------------------------------------ +r12687 | vlefevre | 2018-04-27 15:07:18 +0000 (Fri, 27 Apr 2018) | 3 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] Updated TODO about potentially unnecessary code, +showing that this code probably increases the error bound (errors +accumulate instead of compensating without this code). +------------------------------------------------------------------------ +r12686 | vlefevre | 2018-04-27 11:17:16 +0000 (Fri, 27 Apr 2018) | 1 line +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] Added a TODO about potentially unnecessary code. +------------------------------------------------------------------------ +r12685 | vlefevre | 2018-04-27 08:50:28 +0000 (Fri, 27 Apr 2018) | 1 line +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] Corrected/updated comments and added a log message. +------------------------------------------------------------------------ +r12684 | vlefevre | 2018-04-27 08:34:58 +0000 (Fri, 27 Apr 2018) | 1 line +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] Corrected a comment (exp_base and exp_bin description). +------------------------------------------------------------------------ +r12683 | vlefevre | 2018-04-27 08:22:59 +0000 (Fri, 27 Apr 2018) | 2 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] Added a FIXME: possible bug in very special cases with +large exponents, 32-bit mpfr_exp_t and very long strings. +------------------------------------------------------------------------ +r12682 | vlefevre | 2018-04-27 07:40:21 +0000 (Fri, 27 Apr 2018) | 1 line +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] Added/clarified comments. +------------------------------------------------------------------------ +r12681 | vlefevre | 2018-04-27 01:36:48 +0000 (Fri, 27 Apr 2018) | 1 line +Changed paths: + M /trunk/tests/tstrtofr.c + +[tests/tstrtofr.c] Added a TODO related to the bug fixed in r12573. +------------------------------------------------------------------------ +r12678 | vlefevre | 2018-04-26 15:10:36 +0000 (Thu, 26 Apr 2018) | 1 line +Changed paths: + M /trunk/tests/tgmpop.c + +[tests/tgmpop.c] Coding style. +------------------------------------------------------------------------ +r12677 | vlefevre | 2018-04-26 15:07:36 +0000 (Thu, 26 Apr 2018) | 5 lines +Changed paths: + M /trunk/tests/tgmpop.c + +[tests/tgmpop.c] For mpfr_cmp_q, improved the test where x is NaN by +checking all the flags (not just erange) and added a test where y is +a NaN rational. +Note: this could be used to detect 2 bugs, fixed in r12343 and r12499, +respectively. +------------------------------------------------------------------------ +r12676 | vlefevre | 2018-04-26 14:08:10 +0000 (Thu, 26 Apr 2018) | 2 lines +Changed paths: + M /trunk/tests/tcan_round.c + +[tests/tcan_round.c] Removed a r2 != MPFR_RNDF test and added 3 TODO's +to support r2 == MPFR_RNDF in some other tests. +------------------------------------------------------------------------ +r12646 | vlefevre | 2018-04-24 09:46:03 +0000 (Tue, 24 Apr 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-gmp.h + +[src/mpfr-gmp.h] Clarified a comment (the "if" is part of the code, +not the English word). +------------------------------------------------------------------------ +r12645 | zimmerma | 2018-04-24 08:57:53 +0000 (Tue, 24 Apr 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-gmp.h + +[src/mpfr-gmp.h] added comment about MPN_FILL + +------------------------------------------------------------------------ +r12644 | vlefevre | 2018-04-20 09:17:15 +0000 (Fri, 20 Apr 2018) | 1 line +Changed paths: + M /trunk/src/out_str.c + +[src/out_str.c] Check for integer overflow (here, a minor issue). +------------------------------------------------------------------------ +r12643 | vlefevre | 2018-04-20 09:10:27 +0000 (Fri, 20 Apr 2018) | 1 line +Changed paths: + M /trunk/src/out_str.c + +[src/out_str.c] Support mpfr_exp_t larger than long (with mpfr_eexp_t). +------------------------------------------------------------------------ +r12641 | vlefevre | 2018-04-19 15:13:10 +0000 (Thu, 19 Apr 2018) | 1 line +Changed paths: + M /trunk/tests + +[tests] Added tdot to svn:ignore property. +------------------------------------------------------------------------ +r12640 | vlefevre | 2018-04-19 15:10:52 +0000 (Thu, 19 Apr 2018) | 1 line +Changed paths: + M /trunk/tests/tdot.c + +[tests/tdot.c] Various improvements. +------------------------------------------------------------------------ +r12639 | vlefevre | 2018-04-19 14:57:05 +0000 (Thu, 19 Apr 2018) | 4 lines +Changed paths: + M /trunk/doc/mpfr.texi + M /trunk/src/dot.c + +[doc/mpfr.texi] Note that mpfr_dot does not yet handle intermediate +underflows either. +[src/dot.c] Changed an MPFR_ASSERTD to MPFR_ASSERTN since the assertion +is not satisfied on some user inputs. Minor improvements. +------------------------------------------------------------------------ +r12638 | vlefevre | 2018-04-19 14:42:21 +0000 (Thu, 19 Apr 2018) | 1 line +Changed paths: + M /trunk/NEWS + +[NEWS] Added mpfr_dot. +------------------------------------------------------------------------ +r12637 | vlefevre | 2018-04-19 14:41:42 +0000 (Thu, 19 Apr 2018) | 2 lines +Changed paths: + M /trunk/doc/mpfr.texi + +[doc/mpfr.texi] In the added functions, note that mpfr_dot is incomplete +and experimental. +------------------------------------------------------------------------ +r12636 | vlefevre | 2018-04-19 14:31:39 +0000 (Thu, 19 Apr 2018) | 1 line +Changed paths: + M /trunk/tests/tsum.c + +[tests/tsum.c] Code style. +------------------------------------------------------------------------ +r12635 | vlefevre | 2018-04-19 14:30:19 +0000 (Thu, 19 Apr 2018) | 1 line +Changed paths: + M /trunk/doc/mpfr.texi + +[doc/mpfr.texi] Updated the month. +------------------------------------------------------------------------ +r12634 | vlefevre | 2018-04-19 14:29:41 +0000 (Thu, 19 Apr 2018) | 1 line +Changed paths: + M /trunk/tests/tdot.c + +[tests/tdot.c] Code style. +------------------------------------------------------------------------ +r12633 | zimmerma | 2018-04-19 14:21:48 +0000 (Thu, 19 Apr 2018) | 2 lines +Changed paths: + M /trunk/doc/mpfr.texi + M /trunk/src/Makefile.am + A /trunk/src/dot.c + M /trunk/src/mpfr.h + M /trunk/tests/Makefile.am + A /trunk/tests/tdot.c + +added mpfr_dot + +------------------------------------------------------------------------ +r12631 | vlefevre | 2018-04-19 13:32:03 +0000 (Thu, 19 Apr 2018) | 2 lines +Changed paths: + M /trunk/tests/tget_flt.c + +[tests/tget_flt.c] Correction about the use of mpfr_signbit, in case +the implementation would change. +------------------------------------------------------------------------ +r12628 | vlefevre | 2018-04-19 13:09:19 +0000 (Thu, 19 Apr 2018) | 1 line +Changed paths: + M /trunk/src/sqr.c + +[src/sqr.c] Minor code improvement. +------------------------------------------------------------------------ +r12627 | vlefevre | 2018-04-19 12:56:07 +0000 (Thu, 19 Apr 2018) | 1 line +Changed paths: + M /trunk/src/sqr.c + +[src/sqr.c] Code formatting. +------------------------------------------------------------------------ +r12626 | vlefevre | 2018-04-19 12:55:10 +0000 (Thu, 19 Apr 2018) | 1 line +Changed paths: + M /trunk/src/sqr.c + +[src/sqr.c] Clarified a comment and slightly improved code. +------------------------------------------------------------------------ +r12625 | vlefevre | 2018-04-19 12:37:50 +0000 (Thu, 19 Apr 2018) | 1 line +Changed paths: + M /trunk/src/sqr.c + +[src/sqr.c] Typo in a comment. +------------------------------------------------------------------------ +r12623 | vlefevre | 2018-04-19 10:15:25 +0000 (Thu, 19 Apr 2018) | 1 line +Changed paths: + M /trunk/tests/tfma.c + +[tests/tfma.c] Added test_underflow5. +------------------------------------------------------------------------ +r12622 | vlefevre | 2018-04-19 10:09:44 +0000 (Thu, 19 Apr 2018) | 1 line +Changed paths: + M /trunk/tests/tfma.c + +[tests/tfma.c] Minor correction for test_underflow4. +------------------------------------------------------------------------ +r12620 | vlefevre | 2018-04-19 07:01:09 +0000 (Thu, 19 Apr 2018) | 1 line +Changed paths: + M /trunk/tests/tfma.c + +[tests/tfma.c] Added a comment. +------------------------------------------------------------------------ +r12619 | vlefevre | 2018-04-18 23:24:57 +0000 (Wed, 18 Apr 2018) | 6 lines +Changed paths: + M /trunk/tests/tfma.c + +[tests/tfma.c] Added test_underflow4. This allows to show that the +bound MAX (MPFR_PREC (z), MPFR_PREC (s) + 1) in fma.c is optimal: + * If one subtract 1 from the 1st term MPFR_PREC (z), a failure + occurs in test_underflow4. + * If one subtract 1 from the 2nd term MPFR_PREC (s) + 1, a failure + occurs in test_underflow2. +------------------------------------------------------------------------ +r12618 | vlefevre | 2018-04-18 15:19:33 +0000 (Wed, 18 Apr 2018) | 1 line +Changed paths: + M /trunk/configure.ac + +[configure.ac] For the ICC check, also test __INTEL_COMPILER. +------------------------------------------------------------------------ +r12617 | vlefevre | 2018-04-18 15:15:25 +0000 (Wed, 18 Apr 2018) | 2 lines +Changed paths: + M /trunk/configure.ac + +[configure.ac] Corrected comment for the ICC check (GCC is no longer +disabled since r5720). +------------------------------------------------------------------------ +r12616 | zimmerma | 2018-04-18 12:16:49 +0000 (Wed, 18 Apr 2018) | 3 lines +Changed paths: + M /trunk/TODO + M /trunk/src/mpfr.h + +[src/mpfr.h] enable some code that now works with ICC (tested with ICC 14) +[TODO] removed item + +------------------------------------------------------------------------ +r12615 | vlefevre | 2018-04-18 11:58:30 +0000 (Wed, 18 Apr 2018) | 1 line +Changed paths: + M /trunk/tests/tversion.c + +[tests/tversion.c] Updated a comment about __ICC. +------------------------------------------------------------------------ +r12614 | zimmerma | 2018-04-18 11:32:15 +0000 (Wed, 18 Apr 2018) | 2 lines +Changed paths: + M /trunk/TODO + +[TODO] removed item that we won't implement + +------------------------------------------------------------------------ +r12613 | zimmerma | 2018-04-18 11:25:44 +0000 (Wed, 18 Apr 2018) | 2 lines +Changed paths: + M /trunk/TODO + +[TODO] removed done item (UBF) + +------------------------------------------------------------------------ +r12612 | zimmerma | 2018-04-17 19:50:44 +0000 (Tue, 17 Apr 2018) | 2 lines +Changed paths: + M /trunk/TODO + +[TODO] RNDF is done + +------------------------------------------------------------------------ +r12611 | zimmerma | 2018-04-17 19:46:45 +0000 (Tue, 17 Apr 2018) | 2 lines +Changed paths: + M /trunk/TODO + +[TODO] removed an obsolete item + +------------------------------------------------------------------------ +r12610 | zimmerma | 2018-04-17 19:42:39 +0000 (Tue, 17 Apr 2018) | 2 lines +Changed paths: + M /trunk/TODO + +[TODO] log_ui is done + +------------------------------------------------------------------------ +r12609 | vlefevre | 2018-04-17 09:30:16 +0000 (Tue, 17 Apr 2018) | 1 line +Changed paths: + M /trunk/tools/mpfrlint + +[tools/mpfrlint] Detect the use of mpfr_div_2exp and mpfr_mul_2exp. +------------------------------------------------------------------------ +r12608 | vlefevre | 2018-04-17 01:57:39 +0000 (Tue, 17 Apr 2018) | 2 lines +Changed paths: + M /trunk/tests/reuse.c + M /trunk/tests/taway.c + +[tests/{reuse.c,taway.c}] Added mpfr_div_2ui and mpfr_mul_2ui. +Note: si functions are not tested yet. +------------------------------------------------------------------------ +r12607 | vlefevre | 2018-04-17 01:51:13 +0000 (Tue, 17 Apr 2018) | 4 lines +Changed paths: + M /trunk/src/atan.c + M /trunk/src/bernoulli.c + M /trunk/src/const_euler.c + M /trunk/src/digamma.c + M /trunk/src/log_ui.c + M /trunk/src/sin_cos.c + M /trunk/src/zeta.c + M /trunk/tests/tacos.c + M /trunk/tests/tacosh.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd1sp.c + M /trunk/tests/tasin.c + M /trunk/tests/tatan.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tconst_catalan.c + M /trunk/tests/tdiv.c + M /trunk/tests/texceptions.c + M /trunk/tests/tfits.c + M /trunk/tests/tgamma.c + M /trunk/tests/tget_d.c + M /trunk/tests/tget_d_2exp.c + M /trunk/tests/tget_f.c + M /trunk/tests/tget_flt.c + M /trunk/tests/tget_ld_2exp.c + M /trunk/tests/tget_set_d64.c + M /trunk/tests/tget_str.c + M /trunk/tests/tget_z.c + M /trunk/tests/tmul.c + M /trunk/tests/tpow.c + M /trunk/tests/tremquo.c + M /trunk/tests/trint.c + M /trunk/tests/tset_float128.c + M /trunk/tests/tsqr.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub1sp.c + +Replaced mpfr_mul_2exp & mpfr_div_2exp by mpfr_mul_2ui & mpfr_div_2ui, +respectively (for the tests, except in reuse.c and in taway.c). +Note: As documented, mpfr_mul_2exp & mpfr_div_2exp are only kept for +compatibility with MPF; mpfr_mul_2ui & mpfr_div_2ui are preferred. +------------------------------------------------------------------------ +r12606 | vlefevre | 2018-04-16 15:07:16 +0000 (Mon, 16 Apr 2018) | 2 lines +Changed paths: + M /trunk/TODO + +[TODO] + function to reduce the precision of a variable, with a +ternary value in input, i.e. taking care of double rounding. +------------------------------------------------------------------------ +r12605 | vlefevre | 2018-04-16 14:48:20 +0000 (Mon, 16 Apr 2018) | 1 line +Changed paths: + M /trunk/tests/tfma.c + +[tests/tfma.c] More tests for test_underflow2. +------------------------------------------------------------------------ +r12604 | vlefevre | 2018-04-16 14:41:06 +0000 (Mon, 16 Apr 2018) | 1 line +Changed paths: + M /trunk/tests/tfma.c + +[tests/tfma.c] Corrected r12603 for test_underflow2. +------------------------------------------------------------------------ +r12603 | vlefevre | 2018-04-16 14:20:23 +0000 (Mon, 16 Apr 2018) | 1 line +Changed paths: + M /trunk/tests/tfma.c + +[tests/tfma.c] More tests for test_underflow2. +------------------------------------------------------------------------ +r12602 | vlefevre | 2018-04-16 13:54:22 +0000 (Mon, 16 Apr 2018) | 1 line +Changed paths: + M /trunk/src/fma.c + +[src/fma.c] Updated easy case of underflow. +------------------------------------------------------------------------ +r12601 | vlefevre | 2018-04-16 11:43:32 +0000 (Mon, 16 Apr 2018) | 1 line +Changed paths: + M /trunk/tests/tfma.c + +[tests/tfma.c] Updated a comment for test_underflow2. +------------------------------------------------------------------------ +r12600 | vlefevre | 2018-04-16 11:37:23 +0000 (Mon, 16 Apr 2018) | 1 line +Changed paths: + M /trunk/tests/tfma.c + +[tests/tfma.c] In test_underflow2, also test different signs. +------------------------------------------------------------------------ +r12599 | vlefevre | 2018-04-16 10:36:12 +0000 (Mon, 16 Apr 2018) | 1 line +Changed paths: + M /trunk/tests + +[tests] Updated svn:ignore property. +------------------------------------------------------------------------ +r12598 | vlefevre | 2018-04-16 09:31:24 +0000 (Mon, 16 Apr 2018) | 2 lines +Changed paths: + M /trunk/doc/README.dev + +[doc/README.dev] "To make a release": check also with +-DMPFR_GROUP_STATIC_SIZE=0 to detect memory leaks. +------------------------------------------------------------------------ +r12597 | vlefevre | 2018-04-16 09:09:00 +0000 (Mon, 16 Apr 2018) | 1 line +Changed paths: + M /trunk/src/fma.c + +[src/fma.c] Forgot a MPFR_GROUP_CLEAR. +------------------------------------------------------------------------ +r12596 | vlefevre | 2018-04-16 09:05:01 +0000 (Mon, 16 Apr 2018) | 2 lines +Changed paths: + M /trunk/src/fma.c + +[src/fma.c] Simplified the underflow case by using UBF in the +difficult cases, resolving the remaining FIXME's. +------------------------------------------------------------------------ +r12595 | vlefevre | 2018-04-13 14:44:41 +0000 (Fri, 13 Apr 2018) | 1 line +Changed paths: + M /trunk/tests/tfma.c + +[tests/tfma.c] More tests for test_overflow3 by adding loops on j and k. +------------------------------------------------------------------------ +r12594 | vlefevre | 2018-04-13 13:43:49 +0000 (Fri, 13 Apr 2018) | 1 line +Changed paths: + M /trunk/tests/tfma.c + +[tests/tfma.c] Extended test_overflow3 to reversed signs. +------------------------------------------------------------------------ +r12593 | vlefevre | 2018-04-13 13:29:31 +0000 (Fri, 13 Apr 2018) | 2 lines +Changed paths: + M /trunk/tests/tfma.c + +[tests/tfma.c] Do all the overflow/underflow tests in exponent ranges +[-1024,1024], [MPFR_EMIN_MIN,MPFR_EMAX_MAX], and the default one. +------------------------------------------------------------------------ +r12592 | vlefevre | 2018-04-13 10:17:33 +0000 (Fri, 13 Apr 2018) | 1 line +Changed paths: + M /trunk/src/mpfr-sassert.h + +[src/mpfr-sassert.h] Added a comment. +------------------------------------------------------------------------ +r12591 | vlefevre | 2018-04-12 19:04:45 +0000 (Thu, 12 Apr 2018) | 1 line +Changed paths: + M /trunk/tests/tfma.c + +[tests/tfma.c] Forgot a cast for C++ compatibility. +------------------------------------------------------------------------ +r12590 | vlefevre | 2018-04-12 14:50:25 +0000 (Thu, 12 Apr 2018) | 4 lines +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Reverted r12588: there should be no alignment issues +with UBF, since an UBF (__mpfr_ubf_struct) is sometimes regarded as a +MPFR number (__mpfr_struct) but not the opposite (or this is just back +to __mpfr_ubf_struct). +------------------------------------------------------------------------ +r12589 | vlefevre | 2018-04-12 14:17:55 +0000 (Thu, 12 Apr 2018) | 2 lines +Changed paths: + M /trunk/src/fma.c + +[src/fma.c] Simplified the difficult part of the overflow case by +using UBF (this also fixes corner cases in huge precision). +------------------------------------------------------------------------ +r12588 | vlefevre | 2018-04-12 13:46:10 +0000 (Thu, 12 Apr 2018) | 1 line +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Added a note about alignment constraints for UBF. +------------------------------------------------------------------------ +r12587 | vlefevre | 2018-04-12 13:34:16 +0000 (Thu, 12 Apr 2018) | 2 lines +Changed paths: + M /trunk/src/fma.c + M /trunk/tests/tfma.c + +[src/fma.c] Fixed sign related bug in overflow case. +[tests/tfma.c] Added test_overflow5 test for this bug. +------------------------------------------------------------------------ +r12586 | vlefevre | 2018-04-12 12:52:20 +0000 (Thu, 12 Apr 2018) | 1 line +Changed paths: + M /trunk/tests/tfma.c + +[tests/tfma.c] In test_overflow4, also test different signs. +------------------------------------------------------------------------ +r12585 | vlefevre | 2018-04-12 10:27:59 +0000 (Thu, 12 Apr 2018) | 2 lines +Changed paths: + M /trunk/src/fma.c + +[src/fma.c] Correction for the FIXME from r12403 concerning r12396. +The test added in tests/tfma.c r12584 no longer fails. +------------------------------------------------------------------------ +r12584 | vlefevre | 2018-04-12 10:21:00 +0000 (Thu, 12 Apr 2018) | 2 lines +Changed paths: + M /trunk/tests/tfma.c + +[tests/tfma.c] Added a test that fails. It corresponds to the FIXME +in src/fma.c about the test on MPFR_GET_EXP (u) - MPFR_GET_EXP (z). +------------------------------------------------------------------------ +r12583 | vlefevre | 2018-04-12 08:29:47 +0000 (Thu, 12 Apr 2018) | 4 lines +Changed paths: + M /trunk/src/fma.c + +[src/fma.c] Removed a redundant test since the second condition of +the && expression implies the first one. +Note: This test came from the time when the precision type was unsigned, +in order to make sure that the result of the subtraction was positive. +------------------------------------------------------------------------ +r12575 | vlefevre | 2018-04-11 12:40:33 +0000 (Wed, 11 Apr 2018) | 1 line +Changed paths: + M /trunk/tests/tversion.c + +[tests/tversion.c] Output "Generic ABI code" info (MPFR_GENERIC_ABI). +------------------------------------------------------------------------ +r12574 | vlefevre | 2018-04-11 09:12:00 +0000 (Wed, 11 Apr 2018) | 1 line +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] English usage in a comment. +------------------------------------------------------------------------ +r12573 | zimmerma | 2018-04-11 06:51:30 +0000 (Wed, 11 Apr 2018) | 2 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] fixed bug in corner cases + +------------------------------------------------------------------------ +r12572 | vlefevre | 2018-04-10 15:51:23 +0000 (Tue, 10 Apr 2018) | 1 line +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] Reverted r12569: this is wrong with a 32-bit ABI. +------------------------------------------------------------------------ +r12571 | vlefevre | 2018-04-10 13:12:40 +0000 (Tue, 10 Apr 2018) | 1 line +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] Added a FIXME. +------------------------------------------------------------------------ +r12570 | zimmerma | 2018-04-10 12:34:44 +0000 (Tue, 10 Apr 2018) | 2 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] added more comments + +------------------------------------------------------------------------ +r12569 | zimmerma | 2018-04-10 08:31:31 +0000 (Tue, 10 Apr 2018) | 3 lines +Changed paths: + M /trunk/src/strtofr.c + M /trunk/tests/tstrtofr.c + +[src/strtofr.c] replaced dead code by an assert +[tests/tstrtofr.c] fixed bug20170308 and added coverage test + +------------------------------------------------------------------------ +r12568 | zimmerma | 2018-04-09 14:49:32 +0000 (Mon, 09 Apr 2018) | 2 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] removed dead code (and added explanation) + +------------------------------------------------------------------------ +r12567 | zimmerma | 2018-04-09 08:02:45 +0000 (Mon, 09 Apr 2018) | 2 lines +Changed paths: + M /trunk/src/strtofr.c + +[src/strtofr.c] completed a comment + +------------------------------------------------------------------------ +r12566 | zimmerma | 2018-04-06 16:19:29 +0000 (Fri, 06 Apr 2018) | 3 lines +Changed paths: + M /trunk/src/strtofr.c + M /trunk/tests/tstrtofr.c + +[src/strtofr.c] added comment +[tests/tstrtofr.c] improve coverage + +------------------------------------------------------------------------ +r12565 | vlefevre | 2018-04-06 15:21:45 +0000 (Fri, 06 Apr 2018) | 1 line +Changed paths: + M /trunk/src/round_prec.c + +[src/round_prec.c] Replaced an incorrect comment by an assertion. +------------------------------------------------------------------------ +r12564 | vlefevre | 2018-04-06 15:12:54 +0000 (Fri, 06 Apr 2018) | 1 line +Changed paths: + M /trunk/src/round_raw_generic.c + +[src/round_raw_generic.c] Check validity of flag. +------------------------------------------------------------------------ +r12563 | zimmerma | 2018-04-06 15:11:13 +0000 (Fri, 06 Apr 2018) | 2 lines +Changed paths: + M /trunk/NEWS + +[NEWS] now 98.2% of test coverage + +------------------------------------------------------------------------ +r12562 | vlefevre | 2018-04-06 15:07:51 +0000 (Fri, 06 Apr 2018) | 1 line +Changed paths: + M /trunk/tests/Makefile.am + +[tests/Makefile.am] Tests in lexicographic order. +------------------------------------------------------------------------ +r12561 | zimmerma | 2018-04-06 15:02:12 +0000 (Fri, 06 Apr 2018) | 4 lines +Changed paths: + M /trunk/src/round_prec.c + M /trunk/src/round_raw_generic.c + M /trunk/tests/tcan_round.c + +[src/round_prec.c] added comments +[src/round_raw_generic.c] removed dead code +[tests/tcan_round.c] improve coverage + +------------------------------------------------------------------------ +r12560 | zimmerma | 2018-04-06 14:46:04 +0000 (Fri, 06 Apr 2018) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am + A /trunk/tests/tprec_round.c (from /trunk/tests/tround_prec.c:12559) + D /trunk/tests/tround_prec.c + +renamed tround_prec.c to tprec_round.c + +------------------------------------------------------------------------ +r12559 | zimmerma | 2018-04-06 13:43:27 +0000 (Fri, 06 Apr 2018) | 3 lines +Changed paths: + M /trunk/src/round_prec.c + +[src/round_prec.c] removed some dead code (if rnd1 = rnd2 and the case + rnd2 = RNDN was already treated, we cannot have rnd1 = RNDN) + +------------------------------------------------------------------------ +r12558 | vlefevre | 2018-04-06 10:02:31 +0000 (Fri, 06 Apr 2018) | 5 lines +Changed paths: + M /trunk/tests/tpow.c + +[tests/tpow.c] Fixed a test: + * For this test, unsigned long and mpfr_exp_t must both have at least + 64 bits. + * Use a hardcoded emax, otherwise the test could fail for mpfr_exp_t + larger than 64 bits (one would not have an overflow as expected). +------------------------------------------------------------------------ +r12557 | vlefevre | 2018-04-06 09:43:31 +0000 (Fri, 06 Apr 2018) | 2 lines +Changed paths: + M /trunk/src/pow.c + +[src/pow.c] Fixed the code in case the size of the mpfr_exp_t type +would be larger than 256 bits. This is also semantically better. +------------------------------------------------------------------------ +r12556 | vlefevre | 2018-04-06 09:40:57 +0000 (Fri, 06 Apr 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-impl.h + M /trunk/tests/mpfr-test.h + +Moved the MAX, MIN and ABS macros from tests/mpfr-test.h to +src/mpfr-impl.h (they can be useful...). +------------------------------------------------------------------------ +r12555 | vlefevre | 2018-04-06 09:20:56 +0000 (Fri, 06 Apr 2018) | 1 line +Changed paths: + M /trunk/tests/tpow.c + +[tests/tpow.c] More tests for (-2)^(2^i + 1), not just with i = 256. +------------------------------------------------------------------------ +r12554 | zimmerma | 2018-04-06 08:57:26 +0000 (Fri, 06 Apr 2018) | 2 lines +Changed paths: + M /trunk/tests/tpow.c + +[tests/tpow.c] modified a test for better coverage + +------------------------------------------------------------------------ +r12553 | vlefevre | 2018-04-06 08:47:09 +0000 (Fri, 06 Apr 2018) | 1 line +Changed paths: + M /trunk/tests/tpow.c + +[tests/tpow.c] Corrected a comment (again). +------------------------------------------------------------------------ +r12552 | vlefevre | 2018-04-06 08:45:56 +0000 (Fri, 06 Apr 2018) | 1 line +Changed paths: + M /trunk/tests/tpow.c + +[tests/tpow.c] Corrected a comment. +------------------------------------------------------------------------ +r12551 | zimmerma | 2018-04-06 08:11:21 +0000 (Fri, 06 Apr 2018) | 2 lines +Changed paths: + M /trunk/src/pow.c + +[src/pow.c] simplified case x=2^b and y < 0 + +------------------------------------------------------------------------ +r12550 | vlefevre | 2018-04-05 14:29:38 +0000 (Thu, 05 Apr 2018) | 1 line +Changed paths: + M /trunk/src/pow.c + +[src/pow.c] Updated comments. +------------------------------------------------------------------------ +r12549 | vlefevre | 2018-04-05 14:15:16 +0000 (Thu, 05 Apr 2018) | 2 lines +Changed paths: + M /trunk/src/pow.c + +[src/pow.c] Reverted r12541 (which yielded a failure in tpow_all), +re-indented, and added a comment concerning the failing case. +------------------------------------------------------------------------ +r12548 | zimmerma | 2018-04-05 07:28:05 +0000 (Thu, 05 Apr 2018) | 3 lines +Changed paths: + M /trunk/src/round_prec.c + M /trunk/tests/tcan_round.c + +[src/round_prec.c] fixed a bug (to be reviewed) +[tests/tcan_round.c] added coverage tests + +------------------------------------------------------------------------ +r12547 | zimmerma | 2018-04-05 06:32:30 +0000 (Thu, 05 Apr 2018) | 2 lines +Changed paths: + M /trunk/tests/ttan.c + +[tests/ttan.c] improve coverage (and also of round_near_x) + +------------------------------------------------------------------------ +r12546 | zimmerma | 2018-04-05 06:01:20 +0000 (Thu, 05 Apr 2018) | 2 lines +Changed paths: + M /trunk/src/pow.c + +[src/pow.c] fixed typo + +------------------------------------------------------------------------ +r12545 | vlefevre | 2018-04-04 16:47:10 +0000 (Wed, 04 Apr 2018) | 1 line +Changed paths: + M /trunk/NEWS + +[NEWS] Coverage is specific to x86_64 due to the various #if. +------------------------------------------------------------------------ +r12544 | vlefevre | 2018-04-04 16:44:54 +0000 (Wed, 04 Apr 2018) | 1 line +Changed paths: + M /trunk/src/pow.c + +[src/pow.c] Corrected indentation. +------------------------------------------------------------------------ +r12543 | zimmerma | 2018-04-04 16:34:31 +0000 (Wed, 04 Apr 2018) | 2 lines +Changed paths: + M /trunk/NEWS + +[NEWS] coverage is now 98.1% + +------------------------------------------------------------------------ +r12542 | zimmerma | 2018-04-04 16:31:38 +0000 (Wed, 04 Apr 2018) | 2 lines +Changed paths: + M /trunk/src/pow.c + +[src/pow.c] added a comment + +------------------------------------------------------------------------ +r12541 | zimmerma | 2018-04-04 16:21:33 +0000 (Wed, 04 Apr 2018) | 3 lines +Changed paths: + M /trunk/src/pow.c + M /trunk/tests/tpow.c + +[src/pow.c] removed some dead code (with comment explaning why) +[tests/tpow.c] added a test + +------------------------------------------------------------------------ +r12540 | zimmerma | 2018-04-04 15:31:32 +0000 (Wed, 04 Apr 2018) | 3 lines +Changed paths: + M /trunk/src/pow.c + M /trunk/tests/tpow.c + +[src/pow.c] simplify code for prec=1 +[tests/tpow.c] added tests for prec=1 + +------------------------------------------------------------------------ +r12539 | zimmerma | 2018-04-03 15:28:21 +0000 (Tue, 03 Apr 2018) | 2 lines +Changed paths: + M /trunk/src/mparam_h.in + +[src/mparam_h.in] added macros for Microsoft compiler + +------------------------------------------------------------------------ +r12538 | vlefevre | 2018-04-03 13:25:29 +0000 (Tue, 03 Apr 2018) | 1 line +Changed paths: + M /trunk/tools/check_mparam.c + +[tools/check_mparam.c] Added a copyright notice. +------------------------------------------------------------------------ +r12537 | vlefevre | 2018-04-03 13:20:13 +0000 (Tue, 03 Apr 2018) | 2 lines +Changed paths: + M /trunk/Makefile.am + +[Makefile.am] Added tools/check_mparam.c and tools/ck-mparam +to EXTRA_DIST since tools/ck-mparam is now run in dist-hook. +------------------------------------------------------------------------ +r12536 | vlefevre | 2018-04-03 13:09:08 +0000 (Tue, 03 Apr 2018) | 1 line +Changed paths: + M /trunk/tests/Makefile.am + +[tests/Makefile.am] Do not output a useless "PASS ..." line at the end. +------------------------------------------------------------------------ +r12535 | vlefevre | 2018-04-03 13:07:14 +0000 (Tue, 03 Apr 2018) | 3 lines +Changed paths: + M /trunk/tests/Makefile.am + +[tests/Makefile.am] Update of the "check" rule: + * Output svnversion info when applicable. + * Do not echo "cat tversion.log 2> /dev/null || true". +------------------------------------------------------------------------ +r12534 | vlefevre | 2018-04-03 11:08:38 +0000 (Tue, 03 Apr 2018) | 1 line +Changed paths: + M /trunk/Makefile.am + +[Makefile.am] Added missing comments for dist-hook. +------------------------------------------------------------------------ +r12533 | vlefevre | 2018-04-03 11:05:23 +0000 (Tue, 03 Apr 2018) | 1 line +Changed paths: + M /trunk/Makefile.am + +[Makefile.am] Run ck-mparam in dist-hook (for "make dist"). +------------------------------------------------------------------------ +r12532 | vlefevre | 2018-04-03 11:02:41 +0000 (Tue, 03 Apr 2018) | 2 lines +Changed paths: + M /trunk/tools/ck-mparam + +[tools/ck-mparam] Commented out the old gcc-specific test since the +new one is strictly more powerful. No longer depend on gcc. +------------------------------------------------------------------------ +r12531 | vlefevre | 2018-04-03 10:57:37 +0000 (Tue, 03 Apr 2018) | 1 line +Changed paths: + M /trunk/tools/ck-mparam + +[tools/ck-mparam] Also check the mparam.h files with check_mparam.c. +------------------------------------------------------------------------ +r12530 | vlefevre | 2018-04-03 10:48:34 +0000 (Tue, 03 Apr 2018) | 2 lines +Changed paths: + M /trunk/tools/check_mparam.c + +[tools/check_mparam.c] C89 compatibility. Return an error code +(useful for scripts). +------------------------------------------------------------------------ +r12529 | vlefevre | 2018-04-03 10:45:20 +0000 (Tue, 03 Apr 2018) | 2 lines +Changed paths: + M /trunk/tools/check_mparam.c + +[tools/check_mparam.c] A pathname of the mparam.h file can now be +provided with -DMPARAM='"..."' when compiling. +------------------------------------------------------------------------ +r12528 | vlefevre | 2018-04-03 10:38:15 +0000 (Tue, 03 Apr 2018) | 3 lines +Changed paths: + D /misc/check_mparam.c + A /trunk/tools/check_mparam.c (from /misc/check_mparam.c:12527) + +Moved misc/check_mparam.c into trunk/tools: it will be useful for +"make dist" in order to make sure that all mparam.h files are OK +before a release. +------------------------------------------------------------------------ +r12527 | vlefevre | 2018-04-03 10:31:30 +0000 (Tue, 03 Apr 2018) | 3 lines +Changed paths: + M /trunk/src/mulders.c + +[src/mulders.c] Re-enable the change done in r12382. This is allowed +after the fix in generic/mparam.h r12525 (this file was hand written +and did not satisfy the current constraints). +------------------------------------------------------------------------ +r12525 | zimmerma | 2018-04-03 09:39:30 +0000 (Tue, 03 Apr 2018) | 3 lines +Changed paths: + M /trunk/src/generic/mparam.h + +[generic/mparam.h] ensure divhigh_ktab[n] is 0 or < n-1, as now required + since commit r12382 + +------------------------------------------------------------------------ +r12524 | vlefevre | 2018-04-02 23:22:02 +0000 (Mon, 02 Apr 2018) | 1 line +Changed paths: + M /trunk/src/mulders.c + +[src/mulders.c] Code style / indentation. Added a comment. +------------------------------------------------------------------------ +r12523 | vlefevre | 2018-04-02 23:04:08 +0000 (Mon, 02 Apr 2018) | 3 lines +Changed paths: + M /trunk/src/mulders.c + +[src/mulders.c] Reverting r12382 because divhigh_ktab[n] == n can +happen. Note: this probably lacks documentation; moreover, testing +that these tables satisfy the requirements would be useful. +------------------------------------------------------------------------ +r12522 | vlefevre | 2018-03-31 01:07:26 +0000 (Sat, 31 Mar 2018) | 2 lines +Changed paths: + M /trunk/src/inp_str.c + +[src/inp_str.c] Handle size_t overflow, empty string (after skipping +spaces), and I/O errors (as opposed to end-of-file). +------------------------------------------------------------------------ +r12521 | zimmerma | 2018-03-30 12:28:40 +0000 (Fri, 30 Mar 2018) | 2 lines +Changed paths: + M /trunk/src/inp_str.c + +[src/inp_str.c] disallow stream=NULL (cf r12520) + +------------------------------------------------------------------------ +r12520 | zimmerma | 2018-03-30 09:16:17 +0000 (Fri, 30 Mar 2018) | 2 lines +Changed paths: + M /trunk/src/out_str.c + +[src/out_str.c] the behavior on a null stream is unspecified (cf r12519) + +------------------------------------------------------------------------ +r12519 | vlefevre | 2018-03-30 08:51:22 +0000 (Fri, 30 Mar 2018) | 1 line +Changed paths: + M /trunk/tests/tout_str.c + +Reverted r12516: the behavior on a null stream is unspecified. +------------------------------------------------------------------------ +r12518 | zimmerma | 2018-03-30 07:09:45 +0000 (Fri, 30 Mar 2018) | 2 lines +Changed paths: + M /trunk/tests/tpow.c + +[tests/tpow.c] restrict a test to 64-bit exponent + +------------------------------------------------------------------------ +r12517 | zimmerma | 2018-03-29 15:42:09 +0000 (Thu, 29 Mar 2018) | 3 lines +Changed paths: + M /trunk/src/pow.c + M /trunk/tests/tpow.c + +[src/pow.c] added comment +[tests/tpow.c] improve coverage + +------------------------------------------------------------------------ +r12516 | zimmerma | 2018-03-29 14:18:14 +0000 (Thu, 29 Mar 2018) | 5 lines +Changed paths: + M /trunk/tests/tout_str.c + +[tests/tout_str.c] improve coverage (I don't know how to avoid printing to + stdout, but since "make check" no longer shows the test + outputs, this should be fine). However I don't know how + to do the same for mpfr_inp_str... + +------------------------------------------------------------------------ +r12515 | zimmerma | 2018-03-29 13:24:17 +0000 (Thu, 29 Mar 2018) | 2 lines +Changed paths: + M /trunk/tests/tconst_pi.c + +[tests/tconst_pi.c] forgotten line in commit 12512 + +------------------------------------------------------------------------ +r12514 | zimmerma | 2018-03-29 13:17:23 +0000 (Thu, 29 Mar 2018) | 2 lines +Changed paths: + M /trunk/src/grandom.c + M /trunk/tests/tgrandom.c + +[tests/tgrandom.c] improve coverage + +------------------------------------------------------------------------ +r12513 | zimmerma | 2018-03-29 12:54:34 +0000 (Thu, 29 Mar 2018) | 2 lines +Changed paths: + M /trunk/src/grandom.c + +[src/grandom.c] improve coverage, and solved a FIXME + +------------------------------------------------------------------------ +r12512 | zimmerma | 2018-03-29 12:20:33 +0000 (Thu, 29 Mar 2018) | 2 lines +Changed paths: + M /trunk/tests/tconst_pi.c + +[tests/tconst_pi.c] improve coverage of mpfr_free_cache2 + +------------------------------------------------------------------------ +r12511 | vlefevre | 2018-03-29 12:01:38 +0000 (Thu, 29 Mar 2018) | 1 line +Changed paths: + M /trunk/src/fpif.c + +[src/fpif.c] Reverted another incorrect change done in r12509. +------------------------------------------------------------------------ +r12510 | vlefevre | 2018-03-29 11:59:48 +0000 (Thu, 29 Mar 2018) | 1 line +Changed paths: + M /trunk/src/fpif.c + +[src/fpif.c] Reverted an incorrect change done in r12509. +------------------------------------------------------------------------ +r12509 | zimmerma | 2018-03-29 10:22:38 +0000 (Thu, 29 Mar 2018) | 2 lines +Changed paths: + M /trunk/src/fpif.c + +[src/fpif.c] simplify code and improve coverage to 100% + +------------------------------------------------------------------------ +r12508 | zimmerma | 2018-03-29 10:04:50 +0000 (Thu, 29 Mar 2018) | 2 lines +Changed paths: + M /trunk/src/fpif.c + +[src/fpif.c] removed dead code and simplify code + +------------------------------------------------------------------------ +r12507 | zimmerma | 2018-03-29 09:38:22 +0000 (Thu, 29 Mar 2018) | 2 lines +Changed paths: + M /trunk/tests/tfpif.c + +[tests/tfpif.c] improve coverage + +------------------------------------------------------------------------ +r12506 | zimmerma | 2018-03-29 08:28:14 +0000 (Thu, 29 Mar 2018) | 2 lines +Changed paths: + M /trunk/src/fpif.c + M /trunk/tests/tfpif.c + +[tests/tfpif.c] improve coverage + +------------------------------------------------------------------------ +r12505 | vlefevre | 2018-03-29 08:09:58 +0000 (Thu, 29 Mar 2018) | 1 line +Changed paths: + M /trunk/tests/tfpif.c + +[tests/tfpif.c] Really fixed the badData test, completing r12504. +------------------------------------------------------------------------ +r12504 | vlefevre | 2018-03-29 08:08:58 +0000 (Thu, 29 Mar 2018) | 3 lines +Changed paths: + M /trunk/tests/tfpif.c + +[tests/tfpif.c] Fixed a test: for the huge-precision badData case, +make sure that the data are valid so that we really check that the +precision does not fit (and not a read error). +------------------------------------------------------------------------ +r12503 | vlefevre | 2018-03-29 07:26:11 +0000 (Thu, 29 Mar 2018) | 1 line +Changed paths: + M /trunk/tests/tfpif.c + +[tests/tfpif.c] Correction just in case MPFR_PREC_BITS > 64. +------------------------------------------------------------------------ +r12502 | vlefevre | 2018-03-29 00:02:43 +0000 (Thu, 29 Mar 2018) | 1 line +Changed paths: + M /trunk/tests/tgmpop.c + +Removed trailing whitespace. +------------------------------------------------------------------------ +r12501 | vlefevre | 2018-03-28 23:57:49 +0000 (Wed, 28 Mar 2018) | 5 lines +Changed paths: + M /trunk/src/fpif.c + +[src/fpif.c] + * Replaced an incorrect comment from r12500 by a correct assertion. + * Fixed a theoretical bug coming from this incorrect comment. + * Added a MPFR_ASSERTN assertion to double-check correctness. + * Added a comment explaining a ... >= 0x80 test. +------------------------------------------------------------------------ +r12500 | zimmerma | 2018-03-28 10:35:33 +0000 (Wed, 28 Mar 2018) | 3 lines +Changed paths: + M /trunk/src/fpif.c + M /trunk/tests/tfpif.c + +[src/fpif.c] removed dead code +[tests/tfpif.c] improve coverage + +------------------------------------------------------------------------ +r12499 | zimmerma | 2018-03-28 09:44:59 +0000 (Wed, 28 Mar 2018) | 3 lines +Changed paths: + M /trunk/src/gmp_op.c + M /trunk/tests/tgmpop.c + +[src/gmp_op.c] fixed bug in mpfr_cmp_q for den(q)=0 +[tests/tgmpop.c] improve coverage + +------------------------------------------------------------------------ +r12498 | vlefevre | 2018-03-24 01:52:02 +0000 (Sat, 24 Mar 2018) | 1 line +Changed paths: + M /trunk/doc/mpfr.texi + +[doc/mpfr.texi] Typographic correction (texinfo rule). +------------------------------------------------------------------------ +r12497 | vlefevre | 2018-03-24 01:48:38 +0000 (Sat, 24 Mar 2018) | 2 lines +Changed paths: + M /trunk/tools/mpfrlint + +[tools/mpfrlint] For codespell, skip mpfr.t2p (directory created +in doc by "make pdf"). +------------------------------------------------------------------------ +r12496 | vlefevre | 2018-03-24 01:45:59 +0000 (Sat, 24 Mar 2018) | 1 line +Changed paths: + M /trunk/src/total_order.c + +[src/total_order.c] Simplified the code (shorter code). +------------------------------------------------------------------------ +r12495 | vlefevre | 2018-03-24 01:34:17 +0000 (Sat, 24 Mar 2018) | 2 lines +Changed paths: + M /trunk/tests/ttotal_order.c + +[tests/ttotal_order.c] Rewrote the tests to test every combination +of classes of values. +------------------------------------------------------------------------ +r12494 | vlefevre | 2018-03-24 00:28:27 +0000 (Sat, 24 Mar 2018) | 1 line +Changed paths: + M /trunk/tests/Makefile.am + D /trunk/tests/total_order.c + A /trunk/tests/ttotal_order.c (from /trunk/tests/total_order.c:12493) + +[tests] Renamed total_order.c to ttotal_order.c. +------------------------------------------------------------------------ +r12493 | vlefevre | 2018-03-23 18:17:37 +0000 (Fri, 23 Mar 2018) | 1 line +Changed paths: + M /trunk/src/total_order.c + +[src/total_order.c] Suggest to test the sign bit first. +------------------------------------------------------------------------ +r12492 | vlefevre | 2018-03-23 18:15:22 +0000 (Fri, 23 Mar 2018) | 1 line +Changed paths: + M /trunk/doc/mpfr.texi + +[doc/mpfr.texi] Added mpfr_total_order in "Added Functions". +------------------------------------------------------------------------ +r12491 | vlefevre | 2018-03-23 18:14:05 +0000 (Fri, 23 Mar 2018) | 1 line +Changed paths: + M /trunk/doc/mpfr.texi + +[doc/mpfr.texi] Improved mpfr_total_order description. +------------------------------------------------------------------------ +r12490 | zimmerma | 2018-03-23 17:42:06 +0000 (Fri, 23 Mar 2018) | 2 lines +Changed paths: + M /trunk/TODO + +[TODO] totalOrder is done + +------------------------------------------------------------------------ +r12489 | zimmerma | 2018-03-23 17:03:58 +0000 (Fri, 23 Mar 2018) | 2 lines +Changed paths: + M /trunk/doc/mpfr.texi + M /trunk/src/Makefile.am + M /trunk/src/mpfr.h + A /trunk/src/total_order.c + M /trunk/tests/Makefile.am + A /trunk/tests/total_order.c + +added mpfr_total_order + +------------------------------------------------------------------------ +r12488 | vlefevre | 2018-03-23 10:06:33 +0000 (Fri, 23 Mar 2018) | 7 lines +Changed paths: + M /trunk/tests/terf.c + M /trunk/tests/tpow.c + M /trunk/tests/tpow_z.c + +[tests] Removed some useless #include's, in particular all the +unconditional #include <math.h> occurrences. +Note: There is an incompatibility between glibc 2.27 and the math.h +provided by ICC 15 (at least), and this solves a compilation failure +in the build of the tests. +Moreover, <math.h> is not required by freestanding implementations, +so that it may be better to avoid it if possible. +------------------------------------------------------------------------ +r12487 | zimmerma | 2018-03-21 11:02:23 +0000 (Wed, 21 Mar 2018) | 2 lines +Changed paths: + M /trunk/TODO + +added 2 suggestions from Patrick Pelissier + +------------------------------------------------------------------------ +r12486 | vlefevre | 2018-03-20 15:33:54 +0000 (Tue, 20 Mar 2018) | 1 line +Changed paths: + M /trunk/tools/mpfrlint + +[tools/mpfrlint] For codespell, skip all the algorithms.* files. +------------------------------------------------------------------------ +r12485 | vlefevre | 2018-03-15 11:31:10 +0000 (Thu, 15 Mar 2018) | 1 line +Changed paths: + M /trunk/tools/mpfrlint + +[tools/mpfrlint] Added a comment for the mul/sqr test. +------------------------------------------------------------------------ +r12484 | vlefevre | 2018-03-15 11:27:38 +0000 (Thu, 15 Mar 2018) | 1 line +Changed paths: + M /trunk/tools/mpfrlint + +[tools/mpfrlint] In the mul/sqr test (r12482), exclude mul.c and sqr.c. +------------------------------------------------------------------------ +r12483 | zimmerma | 2018-03-15 10:21:18 +0000 (Thu, 15 Mar 2018) | 2 lines +Changed paths: + M /trunk/src/acosh.c + M /trunk/src/asinh.c + M /trunk/src/atanh.c + M /trunk/src/cos.c + M /trunk/src/digamma.c + M /trunk/src/erf.c + M /trunk/src/erfc.c + M /trunk/src/jn.c + M /trunk/src/lngamma.c + M /trunk/src/mul.c + M /trunk/src/pow_ui.c + M /trunk/src/pow_z.c + M /trunk/src/sin.c + M /trunk/src/sqr.c + M /trunk/src/ui_pow_ui.c + M /trunk/src/yn.c + +changed mpfr_mul (a, b, b, ...) into mpfr_sqr (a, b, ...) whenever possible + +------------------------------------------------------------------------ +r12482 | vlefevre | 2018-03-14 15:59:35 +0000 (Wed, 14 Mar 2018) | 2 lines +Changed paths: + M /trunk/tools/mpfrlint + +[tools/mpfrlint] Detect mpfr_mul with identical 2nd and 3rd arguments, +which can be replaced by mpfr_sqr (suggestion by PZ). +------------------------------------------------------------------------ +r12481 | zimmerma | 2018-03-14 15:06:00 +0000 (Wed, 14 Mar 2018) | 2 lines +Changed paths: + M /trunk/src/const_pi.c + +[src/const_pi.c] added a reference, and replace mpfr_mul by mpfr_sqr + +------------------------------------------------------------------------ +r12478 | vlefevre | 2018-03-10 00:40:13 +0000 (Sat, 10 Mar 2018) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c + +[tests/tget_str.c] Fixed failure from r12473 when mpfr_prec_t is an int +(missing casts for sprintf / printf). +------------------------------------------------------------------------ +r12477 | vlefevre | 2018-03-09 23:58:15 +0000 (Fri, 09 Mar 2018) | 1 line +Changed paths: + M /trunk/tests/tget_str.c + +[tests/tget_str.c] C++ compatibility. +------------------------------------------------------------------------ +r12476 | vlefevre | 2018-03-09 23:17:29 +0000 (Fri, 09 Mar 2018) | 1 line +Changed paths: + M /trunk/tests/tget_str.c + +[tests/tget_str.c] Use tests_allocate / tests_free. +------------------------------------------------------------------------ +r12474 | vlefevre | 2018-03-09 23:10:41 +0000 (Fri, 09 Mar 2018) | 1 line +Changed paths: + M /trunk/TODO + M /trunk/doc/mpfr.texi + M /trunk/src/atan.c + M /trunk/src/cache.c + M /trunk/src/fpif.c + M /trunk/src/get_flt.c + M /trunk/src/mpfr.h + M /trunk/src/sum.c + M /trunk/tests/terandom_chisq.c + M /trunk/tests/tnrandom_chisq.c + +Fixed spelling mistakes found by codespell 1.12.0. +------------------------------------------------------------------------ +r12473 | zimmerma | 2018-03-09 16:55:48 +0000 (Fri, 09 Mar 2018) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c + +[tests/tget_str.c] added tests for corner cases of mpfr_set_str o mpfr_get_str + +------------------------------------------------------------------------ +r12472 | vlefevre | 2018-03-08 11:32:31 +0000 (Thu, 08 Mar 2018) | 1 line +Changed paths: + M /trunk/src/Makefile.am + +[src/Makefile.am] In EXTRA_DIST, put the mparam.h in alphabetic order. +------------------------------------------------------------------------ +r12471 | vlefevre | 2018-03-08 11:27:21 +0000 (Thu, 08 Mar 2018) | 1 line +Changed paths: + M /trunk/src/Makefile.am + +[src/Makefile.am] Updated EXTRA_DIST for amd due to r12387. +------------------------------------------------------------------------ +r12469 | vlefevre | 2018-03-08 02:33:34 +0000 (Thu, 08 Mar 2018) | 1 line +Changed paths: + M /trunk/doc/README.dev + M /trunk/src/li2.c + M /trunk/src/mpfr-gmp.h + M /trunk/src/mpfr-thread.h + M /trunk/src/vasprintf.c + M /trunk/tests/tgmpop.c + M /trunk/tests/tset_ld.c + +Fixed spelling mistakes found by codespell 1.11.0. +------------------------------------------------------------------------ +r12468 | vlefevre | 2018-03-08 02:29:43 +0000 (Thu, 08 Mar 2018) | 1 line +Changed paths: + M /trunk/codespell.ignore + +[codespell.ignore] Also ignore "cas". +------------------------------------------------------------------------ +r12467 | vlefevre | 2018-03-08 02:27:22 +0000 (Thu, 08 Mar 2018) | 4 lines +Changed paths: + A /trunk/codespell.ignore + M /trunk/tools/mpfrlint + +Added codespell.ignore file with simple words to ignore with codespell +("iff" as used in math; "nd" as the n comes from \n in printf, but nd +could also be a variable name; "te" as used as a variable name). +Updated tools/mpfrlint to use this file with codespell. +------------------------------------------------------------------------ +r12466 | vlefevre | 2018-03-05 14:44:44 +0000 (Mon, 05 Mar 2018) | 1 line +Changed paths: + M /trunk/doc/mpfr.texi + +[doc/mpfr.texi] Updated the month. +------------------------------------------------------------------------ +r12464 | zimmerma | 2018-03-05 13:04:37 +0000 (Mon, 05 Mar 2018) | 4 lines +Changed paths: + M /trunk/src/get_str.c + M /trunk/tests/tget_str.c + +[tests/tget_str.c] added tests for mpfr_get_str_ndigits +[src/get_str.c] fixed bugs in mpfr_get_str_ndigits for b=2^k (value was 1 too + large) and very large p (value was 1 too small) + +------------------------------------------------------------------------ +r12462 | vlefevre | 2018-03-05 10:40:43 +0000 (Mon, 05 Mar 2018) | 1 line +Changed paths: + M /trunk/doc/mpfr.texi + +[doc/mpfr.texi] Typographic corrections for mpfr_subnormalize. +------------------------------------------------------------------------ +r12461 | vlefevre | 2018-03-05 10:31:40 +0000 (Mon, 05 Mar 2018) | 2 lines +Changed paths: + M /trunk/NEWS + M /trunk/doc/mpfr.texi + +[NEWS] Added mpfr_get_str_ndigits. +[doc/mpfr.texi] Added mpfr_get_str_ndigits in "Added Functions". +------------------------------------------------------------------------ +r12460 | vlefevre | 2018-03-05 10:26:34 +0000 (Mon, 05 Mar 2018) | 1 line +Changed paths: + M /trunk/doc/mpfr.texi + +[doc/mpfr.texi] Minor corrections concerning mpfr_get_str. +------------------------------------------------------------------------ +r12459 | vlefevre | 2018-03-05 10:05:37 +0000 (Mon, 05 Mar 2018) | 1 line +Changed paths: + M /trunk/src/mpfr.h + +[src/mpfr.h] Added a note about a mpfr_prec_t limitation. +------------------------------------------------------------------------ +r12458 | vlefevre | 2018-03-05 09:59:19 +0000 (Mon, 05 Mar 2018) | 6 lines +Changed paths: + M /trunk/src/get_str.c + +[src/get_str.c] Simplified mpfr_get_str_ndigits (changes from r12455): + * MPFR_PREC_BITS is used to exactly do what is wanted. + * Removed dead code as currently, mpfr_prec_t <= unsigned long. + Note: if in the future we support mpfr_prec_t > unsigned long + (e.g. to have a 64-bit precision on MS Windows), the generic code + could be retrieved back from r12455. +------------------------------------------------------------------------ +r12457 | zimmerma | 2018-03-05 09:35:32 +0000 (Mon, 05 Mar 2018) | 3 lines +Changed paths: + M /trunk/doc/mpfr.texi + M /trunk/src/get_str.c + M /trunk/src/mpfr.h + +[src/get_str.c,src/mpfr.h] mpfr_get_str_digits -> mpfr_get_str_ndigits +[doc/mpfr.texi] updated documentation of mpfr_get_str + +------------------------------------------------------------------------ +r12456 | zimmerma | 2018-03-05 09:29:42 +0000 (Mon, 05 Mar 2018) | 2 lines +Changed paths: + M /trunk/src/get_str.c + +[src/get_str.c] fixed FIXME + +------------------------------------------------------------------------ +r12455 | vlefevre | 2018-03-05 09:19:42 +0000 (Mon, 05 Mar 2018) | 1 line +Changed paths: + M /trunk/src/get_str.c + +[src/get_str.c] Portability corrections in mpfr_get_str_digits. +------------------------------------------------------------------------ +r12454 | zimmerma | 2018-03-05 08:22:18 +0000 (Mon, 05 Mar 2018) | 3 lines +Changed paths: + M /trunk/doc/mpfr.texi + M /trunk/src/get_str.c + M /trunk/src/mpfr.h + +[src/get_str.c] new function mpfr_get_str_digits +[doc/mpfr.texi] added documentation for mpfr_get_str_digits + +------------------------------------------------------------------------ +r12453 | vlefevre | 2018-03-03 01:19:24 +0000 (Sat, 03 Mar 2018) | 2 lines +Changed paths: + M /trunk/tests/tfma.c + +[tests/tfma.c] Fixed bug from r12407 with 32-bit long and 64-bit limbs +(e.g. as under 64-bit MS Windows). +------------------------------------------------------------------------ +r12452 | vlefevre | 2018-02-26 23:52:34 +0000 (Mon, 26 Feb 2018) | 3 lines +Changed paths: + M /trunk/acinclude.m4 + +[acinclude.m4] Correction for test of the fallback to __float128: +in the test program, define the variable outside main() in order to +avoid an error when the -Werror=unused-variable GCC option is used. +------------------------------------------------------------------------ +r12451 | vlefevre | 2018-02-26 19:17:17 +0000 (Mon, 26 Feb 2018) | 1 line +Changed paths: + M /trunk/src/get_sj.c + +[src/get_sj.c] Avoid an unused variable. +------------------------------------------------------------------------ +r12450 | vlefevre | 2018-02-26 18:00:38 +0000 (Mon, 26 Feb 2018) | 1 line +Changed paths: + M /trunk/doc/README.dev + +[doc/README.dev] Updated description of MPFR_WANT_FLOAT128. +------------------------------------------------------------------------ +r12449 | vlefevre | 2018-02-26 17:56:40 +0000 (Mon, 26 Feb 2018) | 2 lines +Changed paths: + M /trunk/doc/README.dev + +[doc/README.dev] Recommend AC_LINK_IFELSE rather than AC_COMPILE_IFELSE +(see r12448 as an example of an issue with AC_COMPILE_IFELSE). +------------------------------------------------------------------------ +r12448 | vlefevre | 2018-02-26 17:55:14 +0000 (Mon, 26 Feb 2018) | 4 lines +Changed paths: + M /trunk/acinclude.m4 + +[acinclude.m4] Fixed a test, which could define MPFR_INTMAX_WITHIN_LIMB +even when not true (MPFR_STAT_STATIC_ASSERT() was just regarded as a +function call since the macro was not defined, thus did not yield an +error). +------------------------------------------------------------------------ +r12447 | vlefevre | 2018-02-26 17:31:19 +0000 (Mon, 26 Feb 2018) | 1 line +Changed paths: + M /trunk/tests/tversion.c + +[tests/tversion.c] Output the sizes of long and intmax_t. +------------------------------------------------------------------------ +r12446 | vlefevre | 2018-02-26 16:36:42 +0000 (Mon, 26 Feb 2018) | 1 line +Changed paths: + M /trunk/acinclude.m4 + +[acinclude.m4] Fixed incorrect test from r12426. +------------------------------------------------------------------------ +r12445 | vlefevre | 2018-02-26 15:08:10 +0000 (Mon, 26 Feb 2018) | 1 line +Changed paths: + M /trunk/src/mulders.c + M /trunk/tests/tfma.c + M /trunk/tune/tuneup.c + +Removed trailing spaces. +------------------------------------------------------------------------ +r12444 | vlefevre | 2018-02-26 12:43:22 +0000 (Mon, 26 Feb 2018) | 18 lines +Changed paths: + M /trunk/NEWS + M /trunk/acinclude.m4 + M /trunk/src/set_float128.c + +Updated support for binary128: + * __float128 was changed to _Float128 (ISO/IEC TS 18661) in r12391; + also changed the suffix of the constants from "q" to "f128". + * Use __float128 with the "q" suffix as a fallback in order to avoid + regressions with GCC 6- and with C++ mode (g++). + As documented in the GCC manual, this is entirely compatible on most + platforms where both are supported: _Float128 and __float128 are the + same type, and it could be checked that the following prototypes are + equivalent (as expected): + _Float128 f (__float128) + __float128 f (_Float128) + The only potential issues would be on hppa and IA-64 HP-UX, where + __float128 is an alias for "long double" instead of _Float128, in + case the ABI would be different (I have no information about this) + and both would be mixed up with software using the MPFR conversion + functions for binary128 via __float128 or "long double". The worst + thing that could happen is a link error. If the link is accepted, + everything should be fine as the representation doesn't change. +------------------------------------------------------------------------ +r12443 | vlefevre | 2018-02-26 11:41:08 +0000 (Mon, 26 Feb 2018) | 1 line +Changed paths: + M /trunk/src/set_float128.c + +[src/set_float128.c] Removed a useless #include and corrected a comment. +------------------------------------------------------------------------ +r12442 | vlefevre | 2018-02-25 01:53:11 +0000 (Sun, 25 Feb 2018) | 1 line +Changed paths: + M /trunk/src/get_z_exp.c + +[src/get_z_exp.c] Portability. +------------------------------------------------------------------------ +r12441 | vlefevre | 2018-02-25 01:19:07 +0000 (Sun, 25 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tdiv_ui.c + +[tests/tdiv_ui.c] Avoid a compilation error with +gcc -std=c90 -pedantic -Werror in 32-bit ABI. +------------------------------------------------------------------------ +r12440 | vlefevre | 2018-02-25 01:02:44 +0000 (Sun, 25 Feb 2018) | 1 line +Changed paths: + M /trunk/tests/tget_str.c + +[tests/tget_str.c] Fixed a return type. +------------------------------------------------------------------------ +r12439 | zimmerma | 2018-02-24 10:02:40 +0000 (Sat, 24 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/get_z_exp.c + +[src/get_z_exp.c] new try for r12437. If that still does not work, we should + define macros BITS_PER_EXP_T, BITS_PER_PREC_T, ... + +------------------------------------------------------------------------ +r12438 | vlefevre | 2018-02-23 22:13:53 +0000 (Fri, 23 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/get_z_exp.c + +[src/get_z_exp.c] Reverted r12437: the size of mpfr_exp_t is not +always related to the size of mp_limb_t. +------------------------------------------------------------------------ +r12437 | zimmerma | 2018-02-23 22:04:30 +0000 (Fri, 23 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/get_z_exp.c + +[src/get_z_exp.c] removed dead code on 64-bit computer + +------------------------------------------------------------------------ +r12436 | zimmerma | 2018-02-23 20:45:32 +0000 (Fri, 23 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/get_str.c + M /trunk/tests/tget_str.c + +[src/get_str.c] improved case m < g +[tests/tget_str.c] improve coverage + +------------------------------------------------------------------------ +r12435 | vlefevre | 2018-02-23 18:15:42 +0000 (Fri, 23 Feb 2018) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + +[acinclude.m4] Correction: for AC_COMPILE_IFELSE, there are only +2 cases: TRUE and FALSE. +------------------------------------------------------------------------ +r12434 | zimmerma | 2018-02-23 17:59:56 +0000 (Fri, 23 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c + +[tests/tget_str.c] fixed not enough allocation issue + +------------------------------------------------------------------------ +r12433 | vlefevre | 2018-02-23 17:36:49 +0000 (Fri, 23 Feb 2018) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + +[acinclude.m4] Correction: for AC_COMPILE_IFELSE, there are only +2 cases: TRUE and FALSE. +------------------------------------------------------------------------ +r12432 | zimmerma | 2018-02-23 17:02:14 +0000 (Fri, 23 Feb 2018) | 4 lines +Changed paths: + M /trunk/doc/mpfr.texi + M /trunk/src/get_str.c + M /trunk/tests/tget_str.c + +[doc/mpfr.texi] m=1 is now valid in get_str +[src/get_str.c] allow m=1 for b=2^k +[tests/tget_str.c] added test for m=1 and b=2 + +------------------------------------------------------------------------ +r12430 | zimmerma | 2018-02-23 16:40:33 +0000 (Fri, 23 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/get_str.c + M /trunk/tests/tget_str.c + +[src/get_str.c] added a comment +[tests/tget_str.c] improved coverage (finding this example was quite hard!) + +------------------------------------------------------------------------ +r12429 | vlefevre | 2018-02-23 16:34:06 +0000 (Fri, 23 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/get_sj.c + +[src/get_sj.c] Removed two assertions, including an incorrect one. +Added an assertion. +------------------------------------------------------------------------ +r12427 | vlefevre | 2018-02-23 15:37:08 +0000 (Fri, 23 Feb 2018) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + +[acinclude.m4] Correction: if we cannot test, the portable code must be +selected. +------------------------------------------------------------------------ +r12426 | zimmerma | 2018-02-23 15:24:59 +0000 (Fri, 23 Feb 2018) | 3 lines +Changed paths: + M /trunk/acinclude.m4 + M /trunk/configure.ac + M /trunk/src/get_sj.c + +[configure.ac,acinclude.m4] added new macro MPFR_INTMAX_WITHIN_LIMB +[src/get_sj.c] optimized the code when MPFR_INTMAX_WITHIN_LIMB=1 + +------------------------------------------------------------------------ +r12425 | vlefevre | 2018-02-23 15:19:12 +0000 (Fri, 23 Feb 2018) | 6 lines +Changed paths: + M /trunk/src/mpfr-impl.h + M /trunk/src/set_ld.c + +[src/mpfr-impl.h] Removed MPFR_LIMBS_PER_LONG_DOUBLE as it was not + properly specified in the general case and was actually used only + in src/set_ld.c with HAVE_LDOUBLE_IEEE_EXT_LITTLE. +[src/set_ld.c] Simplified code. Moreover, the hypothetical case + GMP_NUMB_BITS == 16 will trigger a compilation error instead of + yielding incorrect code. +------------------------------------------------------------------------ +r12424 | vlefevre | 2018-02-23 15:08:54 +0000 (Fri, 23 Feb 2018) | 4 lines +Changed paths: + M /trunk/tests/tbuildopt.c + +[tests/tbuildopt.c] + * Added missing const. + * Use the variable s to avoid a warning and also to detect potential + undefined behavior with debugging tools if s is not a string. +------------------------------------------------------------------------ +r12423 | zimmerma | 2018-02-23 15:00:55 +0000 (Fri, 23 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/get_sj.c + +[src/get_sj.c] fixed typo + +------------------------------------------------------------------------ +r12422 | zimmerma | 2018-02-23 14:48:40 +0000 (Fri, 23 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/get_sj.c + +[src/get_sj.c] added comments and simplified the code + +------------------------------------------------------------------------ +r12421 | vlefevre | 2018-02-23 14:31:59 +0000 (Fri, 23 Feb 2018) | 1 line +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Typo in a comment. +------------------------------------------------------------------------ +r12420 | zimmerma | 2018-02-23 14:12:09 +0000 (Fri, 23 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tget_q.c + +[tests/tget_q.c] improved coverage + +------------------------------------------------------------------------ +r12419 | vlefevre | 2018-02-23 13:59:02 +0000 (Fri, 23 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/get_d64.c + +[src/get_d64.c] Parsing in the portable version of string_to_Decimal64: +similar changes as in r12416 for the _MPFR_IEEE_FLOATS version. +------------------------------------------------------------------------ +r12418 | zimmerma | 2018-02-23 13:37:33 +0000 (Fri, 23 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/get_ld.c + +[src/get_ld.c] removed dead code (as in r12413 for mpfr_get_d) + +------------------------------------------------------------------------ +r12417 | zimmerma | 2018-02-23 13:35:35 +0000 (Fri, 23 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/get_flt.c + M /trunk/tests/tget_flt.c + +[src/get_flt.c] optimized code when MPFR_LIMBS_PER_FLT=1 +[tests/tget_flt.c] improved coverage + +------------------------------------------------------------------------ +r12416 | zimmerma | 2018-02-23 12:02:51 +0000 (Fri, 23 Feb 2018) | 4 lines +Changed paths: + M /trunk/src/get_d64.c + M /trunk/src/mpfr-impl.h + M /trunk/tests/tget_set_d64.c + +[src/get_d64.c] simplified code, and removed dead code +[src/mpfr-impl.h] added comment +[tests/tget_set_d64.c] improve coverage + +------------------------------------------------------------------------ +r12415 | vlefevre | 2018-02-23 09:50:25 +0000 (Fri, 23 Feb 2018) | 1 line +Changed paths: + M /trunk/src/set_q.c + +[src/set_q.c] Simplified code. +------------------------------------------------------------------------ +r12414 | zimmerma | 2018-02-23 08:59:39 +0000 (Fri, 23 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/get_d.c + +[src/get_d.c] removed dead code + +------------------------------------------------------------------------ +r12413 | zimmerma | 2018-02-23 08:56:52 +0000 (Fri, 23 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/get_d.c + +[src/get_d.c] optimized for common case MPFR_LIMBS_PER_DOUBLE=1 + +------------------------------------------------------------------------ +r12412 | zimmerma | 2018-02-23 08:38:33 +0000 (Fri, 23 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tset_z_exp.c + +[tests/tset_z_exp.c] improved coverage + +------------------------------------------------------------------------ +r12411 | zimmerma | 2018-02-23 08:28:09 +0000 (Fri, 23 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/set_q.c + +[src/set_q.c] removed dead code on 64-bit processor + +------------------------------------------------------------------------ +r12410 | zimmerma | 2018-02-23 07:40:36 +0000 (Fri, 23 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/mpfr-impl.h + M /trunk/src/set_ld.c + +[src/set_ld.c] improve code when HAVE_LDOUBLE_IEEE_EXT_LITTLE is defined + +------------------------------------------------------------------------ +r12409 | vlefevre | 2018-02-22 22:45:19 +0000 (Thu, 22 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/set_ld.c + +[src/set_ld.c] Reverted r12408: MPFR_LIMBS_PER_LONG_DOUBLE cannot be +used with the preprocessor due to the use of "sizeof". +------------------------------------------------------------------------ +r12408 | zimmerma | 2018-02-22 19:24:40 +0000 (Thu, 22 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/set_ld.c + +[src/set_ld.c] improve code for MPFR_LIMBS_PER_LONG_DOUBLE=1 + +------------------------------------------------------------------------ +r12407 | zimmerma | 2018-02-22 19:06:22 +0000 (Thu, 22 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tfma.c + +[tests/tfma.c] improved coverage of mpfr_set_1_2 + +------------------------------------------------------------------------ +r12406 | zimmerma | 2018-02-22 18:11:44 +0000 (Thu, 22 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tbuildopt.c + +[tests/tbuildopt.c] improve coverage + +------------------------------------------------------------------------ +r12405 | vlefevre | 2018-02-22 16:11:57 +0000 (Thu, 22 Feb 2018) | 1 line +Changed paths: + M /trunk/tests/tfma.c + +[tests/tfma.c] Corrected a comment. +------------------------------------------------------------------------ +r12404 | vlefevre | 2018-02-22 16:08:46 +0000 (Thu, 22 Feb 2018) | 3 lines +Changed paths: + M /trunk/tests/tfma.c + +[tests/tfma.c] Joined test_overflow3 and test_overflow4 by using a loop. +Improved the corresponding test and error message. Also run this test +with the default exponent range. +------------------------------------------------------------------------ +r12403 | vlefevre | 2018-02-22 15:49:53 +0000 (Thu, 22 Feb 2018) | 1 line +Changed paths: + M /trunk/src/fma.c + +[src/fma.c] Added FIXME for r12396, which still seems incorrect. +------------------------------------------------------------------------ +r12402 | vlefevre | 2018-02-22 13:30:11 +0000 (Thu, 22 Feb 2018) | 1 line +Changed paths: + M /trunk/src/mpfr-impl.h + +[src/mpfr-impl.h] Typo in a comment. +------------------------------------------------------------------------ +r12401 | vlefevre | 2018-02-22 13:25:25 +0000 (Thu, 22 Feb 2018) | 3 lines +Changed paths: + M /trunk/NEWS + +[NEWS] Update about the change of __float128 to _Float128: clarification +that it is from ISO/IEC TS 18661 ("standard" was too vague); added FIXME +on a possible fallback to __float128 and ABI considerations. +------------------------------------------------------------------------ +r12400 | vlefevre | 2018-02-22 13:08:15 +0000 (Thu, 22 Feb 2018) | 4 lines +Changed paths: + M /trunk/configure.ac + +[configure.ac] For --enable-float128, this is still autodetect, e.g.: + checking if compiler knows _Float128 with C99 constants... no +Added a FIXME: a fallback to __float128 is necessary to avoid +regressions. +------------------------------------------------------------------------ +r12399 | zimmerma | 2018-02-22 13:07:01 +0000 (Thu, 22 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/sqr.c + M /trunk/tests/tsqr.c + +[src/sqr.c] added comments +[tests/tsqr.c] improve coverage of sqr.c to 100% + +------------------------------------------------------------------------ +r12398 | zimmerma | 2018-02-22 12:48:52 +0000 (Thu, 22 Feb 2018) | 6 lines +Changed paths: + M /trunk/src/sqr.c + M /trunk/tests/tsqr.c + +[src/sqr.c] fixed a bug in mpfr_sqr_1n in a rare case near underflow, + only use mpfr_sqr_1, mpfr_sqr_1n, mpfr_sqr_2, mpfr_sqr_3 + when all numbers have same precision (like for mpfr_mul), + and added comments +[tests/tsqr.c] added tests, including non-regression for above bug + +------------------------------------------------------------------------ +r12397 | zimmerma | 2018-02-22 10:45:53 +0000 (Thu, 22 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/fma.c + +[src/fma.c] added comments and a FIXME + +------------------------------------------------------------------------ +r12396 | zimmerma | 2018-02-22 10:30:25 +0000 (Thu, 22 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/fma.c + M /trunk/tests/tfma.c + +[src/fma.c] fixed last failure +[tests/tfma.c] removed debug stuff + +------------------------------------------------------------------------ +r12395 | zimmerma | 2018-02-22 10:27:29 +0000 (Thu, 22 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tfma.c + +[tests/tfma.c] added new failing test + +------------------------------------------------------------------------ +r12394 | zimmerma | 2018-02-22 10:23:39 +0000 (Thu, 22 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/fma.c + +[src/fma.c] fix failure from last test + +------------------------------------------------------------------------ +r12393 | zimmerma | 2018-02-22 10:19:52 +0000 (Thu, 22 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/fma.c + M /trunk/tests/tfma.c + +[src/fma.c] added comments +[tests/tfma.c] added a test (currently failing) + +------------------------------------------------------------------------ +r12392 | zimmerma | 2018-02-22 10:01:46 +0000 (Thu, 22 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/mips/mparam.h + +[mips/mparam.h] updated + +------------------------------------------------------------------------ +r12391 | zimmerma | 2018-02-22 09:18:55 +0000 (Thu, 22 Feb 2018) | 2 lines +Changed paths: + M /trunk/NEWS + M /trunk/acinclude.m4 + M /trunk/configure.ac + M /trunk/doc/README.dev + M /trunk/doc/mpfr.texi + M /trunk/src/get_float128.c + M /trunk/src/mpfr-impl.h + M /trunk/src/mpfr.h + M /trunk/src/set_float128.c + M /trunk/tests/tset_float128.c + +changed __float128 (gcc specific) into the standard type _Float128 + +------------------------------------------------------------------------ +r12390 | zimmerma | 2018-02-22 08:50:12 +0000 (Thu, 22 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/arm/mparam.h + +[arm/mparam.h] updated + +------------------------------------------------------------------------ +r12389 | zimmerma | 2018-02-22 08:27:54 +0000 (Thu, 22 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/x86/mparam.h + +[x86/mparam.h] updated + +------------------------------------------------------------------------ +r12388 | zimmerma | 2018-02-22 08:14:41 +0000 (Thu, 22 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/mparam_h.in + +[src/mparam_h.in] amd/k8/mparam.h -> amd/mparam.h + +------------------------------------------------------------------------ +r12387 | zimmerma | 2018-02-22 08:14:07 +0000 (Thu, 22 Feb 2018) | 2 lines +Changed paths: + D /trunk/src/amd/amdfam10 + D /trunk/src/amd/k8 + A /trunk/src/amd/mparam.h (from /trunk/src/amd/k8/mparam.h:12386) + +[amd/mparam.h] updated + +------------------------------------------------------------------------ +r12386 | zimmerma | 2018-02-22 08:06:23 +0000 (Thu, 22 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/sparc64/mparam.h + +[sparc64/mparam.h] updated + +------------------------------------------------------------------------ +r12385 | zimmerma | 2018-02-22 08:04:27 +0000 (Thu, 22 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/x86_64/core2/mparam.h + +[x86_64/core2/mparam.h] updated + +------------------------------------------------------------------------ +r12384 | zimmerma | 2018-02-22 08:02:12 +0000 (Thu, 22 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/powerpc64/mparam.h + +[powerpc64/mparam.h] updated + +------------------------------------------------------------------------ +r12383 | zimmerma | 2018-02-22 07:42:49 +0000 (Thu, 22 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/x86_64/mparam.h + +[x86_64/mparam.h] updated + +------------------------------------------------------------------------ +r12382 | zimmerma | 2018-02-22 07:36:02 +0000 (Thu, 22 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/mulders.c + +[src/mulders.c] removed dead code + +------------------------------------------------------------------------ +r12381 | zimmerma | 2018-02-21 20:52:31 +0000 (Wed, 21 Feb 2018) | 2 lines +Changed paths: + M /trunk/tune/tuneup.c + +[tune/tuneup.c] ensure k < n in mpfr_divhigh_n[] + +------------------------------------------------------------------------ +r12380 | zimmerma | 2018-02-21 17:01:07 +0000 (Wed, 21 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/mparam_h.in + +[src/mparam_h.in] added __tune_znver1__ for AMD64 (e.g., gcc67.fsffrance.org) + +------------------------------------------------------------------------ +r12379 | zimmerma | 2018-02-21 16:08:54 +0000 (Wed, 21 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/mips/mparam.h + +[src/mips/mparam.h] updated on gcc22 + +------------------------------------------------------------------------ +r12378 | zimmerma | 2018-02-21 15:07:41 +0000 (Wed, 21 Feb 2018) | 2 lines +Changed paths: + M /trunk/NEWS + +[NEWS] added item + +------------------------------------------------------------------------ +r12377 | zimmerma | 2018-02-21 15:03:32 +0000 (Wed, 21 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/Makefile.am + M /trunk/src/mparam_h.in + D /trunk/src/x86/core2 + M /trunk/src/x86/mparam.h + +removed tuning for x86/core2, updated tuning for generic x86 + +------------------------------------------------------------------------ +r12376 | zimmerma | 2018-02-21 14:57:59 +0000 (Wed, 21 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/arm/mparam.h + M /trunk/src/mparam_h.in + M /trunk/src/sparc64/mparam.h + +[src/sparc64/mparam.h] updated tuning parameters for sparc64 + +------------------------------------------------------------------------ +r12375 | vlefevre | 2018-02-21 14:32:43 +0000 (Wed, 21 Feb 2018) | 1 line +Changed paths: + M /trunk/src/mparam_h.in + +[src/mparam_h.in] Use the generic parameters for x86_64 with Clang. +------------------------------------------------------------------------ +r12374 | zimmerma | 2018-02-21 14:24:44 +0000 (Wed, 21 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/Makefile.am + A /trunk/src/arm + A /trunk/src/arm/mparam.h + M /trunk/src/mparam_h.in + +added tuning for ARM + +------------------------------------------------------------------------ +r12373 | vlefevre | 2018-02-21 14:13:28 +0000 (Wed, 21 Feb 2018) | 1 line +Changed paths: + M /trunk/src/Makefile.am + M /trunk/src/mparam_h.in + A /trunk/src/sparc64 (from /trunk/src/sparc64:12367) + +Reverted r12368: sparc64 tuning should be updated on gcc202. +------------------------------------------------------------------------ +r12372 | zimmerma | 2018-02-21 14:09:31 +0000 (Wed, 21 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/mparam_h.in + +[src/mparam_h.in] generic case for all remaining i386's + +------------------------------------------------------------------------ +r12371 | zimmerma | 2018-02-21 13:58:35 +0000 (Wed, 21 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/mparam_h.in + +[src/mparam_h.in] put back __tune_k8__ + +------------------------------------------------------------------------ +r12370 | zimmerma | 2018-02-21 13:48:37 +0000 (Wed, 21 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/mparam_h.in + +[src/mparam_h.in] check __amd64__ before generic __x86_64__ + +------------------------------------------------------------------------ +r12369 | zimmerma | 2018-02-21 13:25:44 +0000 (Wed, 21 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/Makefile.am + D /trunk/src/hppa + M /trunk/src/mparam_h.in + +removed tuning for hppa (gcc61 is offline) + +------------------------------------------------------------------------ +r12368 | zimmerma | 2018-02-21 13:24:22 +0000 (Wed, 21 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/Makefile.am + M /trunk/src/mparam_h.in + D /trunk/src/sparc64 + +removed tuning parameters for sparc64 (gcc64, gcc200 and gcc201 are offline) + +------------------------------------------------------------------------ +r12367 | zimmerma | 2018-02-21 13:23:16 +0000 (Wed, 21 Feb 2018) | 2 lines +Changed paths: + M /trunk/tune/tuneup.c + +[tune/tuneup.c] for mpfr_div_threshold, start from 3 limbs again + +------------------------------------------------------------------------ +r12366 | zimmerma | 2018-02-21 13:06:31 +0000 (Wed, 21 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/Makefile.am + M /trunk/src/mparam_h.in + D /trunk/src/powerpc32 + +removed tuning for powerpc32 (no such machine available any more) + +------------------------------------------------------------------------ +r12365 | zimmerma | 2018-02-21 12:55:42 +0000 (Wed, 21 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/powerpc64/mparam.h + +[src/powerpc64/mparam.h] updated tuning parameters for powerpc64 + +------------------------------------------------------------------------ +r12364 | zimmerma | 2018-02-21 11:17:39 +0000 (Wed, 21 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/amd/k8/mparam.h + +[src/amd/k8/mparam.h] fixed MPFR_DIV_THRESHOLD + +------------------------------------------------------------------------ +r12363 | zimmerma | 2018-02-21 11:16:20 +0000 (Wed, 21 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/amd/k8/mparam.h + M /trunk/src/x86/core2/mparam.h + +updated tuning parameters for amd/k8 and x86/core2 + +------------------------------------------------------------------------ +r12362 | vlefevre | 2018-02-21 11:14:29 +0000 (Wed, 21 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/Makefile.am + M /trunk/src/mparam_h.in + A /trunk/src/x86/mparam.h (from /trunk/src/x86/mparam.h:12358) + +Reverted r12359 and added a comment: tuning for x86 is used when +building GMP/MPFR with a 32-bit ABI (ABI=32 / -m32). +------------------------------------------------------------------------ +r12361 | zimmerma | 2018-02-21 11:14:27 +0000 (Wed, 21 Feb 2018) | 2 lines +Changed paths: + M /trunk/tune/tuneup.c + +[tuneup.c] start from 4 limbs for mpfr_div_threshold + +------------------------------------------------------------------------ +r12360 | zimmerma | 2018-02-21 10:45:20 +0000 (Wed, 21 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/Makefile.am + D /trunk/src/ia64 + M /trunk/src/mparam_h.in + +removed tuning for ia64 (gcc60.fsffrance.org is now offline) + +------------------------------------------------------------------------ +r12359 | zimmerma | 2018-02-21 10:42:40 +0000 (Wed, 21 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/Makefile.am + M /trunk/src/mparam_h.in + D /trunk/src/x86/mparam.h + +removed tuning for x86 (no more access to such machine) + +------------------------------------------------------------------------ +r12358 | zimmerma | 2018-02-21 10:35:31 +0000 (Wed, 21 Feb 2018) | 2 lines +Changed paths: + M /trunk/tune/tuneup.c + +[tune/tuneup.c] make tune_simple_func more robust for small precisions + +------------------------------------------------------------------------ +r12357 | zimmerma | 2018-02-21 10:32:43 +0000 (Wed, 21 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/x86_64/mparam.h + +[src/x86_64/mparam.h] fixed MPFR_DIV_THRESHOLD + +------------------------------------------------------------------------ +r12356 | zimmerma | 2018-02-21 10:29:58 +0000 (Wed, 21 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/x86_64/core2/mparam.h + +[x86_64/core2/mparam.h] updated on gcc14 + +------------------------------------------------------------------------ +r12355 | vlefevre | 2018-02-21 09:47:29 +0000 (Wed, 21 Feb 2018) | 3 lines +Changed paths: + M /trunk/acinclude.m4 + +[acinclude.m4] In the "long double" format recognition, added +size information for IEEE extended (not used by MPFR, but this +may be useful information for the user). +------------------------------------------------------------------------ +r12354 | zimmerma | 2018-02-21 09:44:15 +0000 (Wed, 21 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/Makefile.am + D /trunk/src/amd/athlon + M /trunk/src/mparam_h.in + +removed tuning parameters for amd/athlon (we have no access to such machine +any more) + +------------------------------------------------------------------------ +r12353 | zimmerma | 2018-02-21 09:32:10 +0000 (Wed, 21 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/Makefile.am + M /trunk/src/mparam_h.in + D /trunk/src/x86_64/pentium4 + +removed tuning for pentium4 + +------------------------------------------------------------------------ +r12352 | zimmerma | 2018-02-21 09:16:47 +0000 (Wed, 21 Feb 2018) | 2 lines +Changed paths: + D /trunk/src/x86_64/corei5 + +removed tuning for corei5 (was not used) + +------------------------------------------------------------------------ +r12351 | zimmerma | 2018-02-21 09:09:32 +0000 (Wed, 21 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/Makefile.am + M /trunk/src/mparam_h.in + A /trunk/src/x86_64/mparam.h + M /trunk/tune/tuneup.c + +[src/x86_64/mparam.h] added tuning for generic x86_64 +[tune/tuneup.c] mpfr_divhigh now wants n >= 2 + +------------------------------------------------------------------------ +r12350 | zimmerma | 2018-02-21 07:19:56 +0000 (Wed, 21 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/Makefile.am + D /trunk/src/arm + M /trunk/src/mparam_h.in + +removed thresholds for arm since gcc57 is no longer available, thus we cannot +tune on an ARM machine + +------------------------------------------------------------------------ +r12349 | vlefevre | 2018-02-21 02:34:18 +0000 (Wed, 21 Feb 2018) | 1 line +Changed paths: + M /trunk/src/mulders.c + +[src/mulders.c] Removed unused variable dinv. +------------------------------------------------------------------------ +r12348 | zimmerma | 2018-02-20 17:11:58 +0000 (Tue, 20 Feb 2018) | 6 lines +Changed paths: + M /trunk/src/div.c + M /trunk/src/mpfr-gmp.h + M /trunk/src/mulders.c + M /trunk/tests/tmul.c + M /trunk/tune/tuneup.c + +[src/div.c] added comment +[src/mpfr-gmp.h] moved definition of MUL_FFT_THRESHOLD +[src/mulders.c] removed unused code, and force n>=2 in mpfr_divhigh_n_basecase +[tests/tmul.c] improve coverage +[tune/tuneup.c] forbid k = n-1 in divhigh_ktab[] + +------------------------------------------------------------------------ +r12347 | zimmerma | 2018-02-20 16:37:55 +0000 (Tue, 20 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c + +[tests/tdiv.c] improve coverage, now 100% for div.c + +------------------------------------------------------------------------ +r12346 | zimmerma | 2018-02-20 16:16:40 +0000 (Tue, 20 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/ai.c + M /trunk/tests/tai.c + +[src/ai.c] revert part of r12312 +[tests/tai.c] added coverage test provided by Sylvain Chevillard + +------------------------------------------------------------------------ +r12345 | zimmerma | 2018-02-20 15:36:05 +0000 (Tue, 20 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/sub1.c + +[src/sub1.c] revert r12317 since it did not consider UBFs. For the record, + tfmma was failing with GMP_CHECK_RANDOMIZE=1519138438006416. + +------------------------------------------------------------------------ +r12344 | zimmerma | 2018-02-20 15:19:40 +0000 (Tue, 20 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/div.c + M /trunk/tests/tdiv.c + +[src/div.c] get rid of mpfr_div_with_mpz_tdiv_q + +------------------------------------------------------------------------ +r12343 | vlefevre | 2018-02-20 14:54:05 +0000 (Tue, 20 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/gmp_op.c + +[src/gmp_op.c] Fixed a bug in mpfr_cmp_q on NaN rational: the NaN flag +was set by mpfr_set_q, but the flags were not restored just after. +------------------------------------------------------------------------ +r12342 | vlefevre | 2018-02-20 14:45:35 +0000 (Tue, 20 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/gmp_op.c + +[src/gmp_op.c] Reverted incorrect change in r12337 for mpfr_cmp_q. +Explanation in comment. If the code was not tested, it should be by +using mpq_set_num and mpq_set_den to construct such rationals. +------------------------------------------------------------------------ +r12341 | zimmerma | 2018-02-20 14:27:22 +0000 (Tue, 20 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c + +[tests/tdiv.c] improve coverage + +------------------------------------------------------------------------ +r12340 | zimmerma | 2018-02-20 14:08:20 +0000 (Tue, 20 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c + +[tests/tdiv.c] improve coverage of mpfr_div_2 + +------------------------------------------------------------------------ +r12339 | vlefevre | 2018-02-20 13:55:40 +0000 (Tue, 20 Feb 2018) | 1 line +Changed paths: + M /trunk/src/add1sp.c + M /trunk/src/sub1sp.c + +[src/{add,sub}1sp.c] Updated/added comments for MPFR_WANT_ASSERT >= 2. +------------------------------------------------------------------------ +r12338 | zimmerma | 2018-02-20 13:53:51 +0000 (Tue, 20 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/div.c + +[src/div.c] removed dead code + +------------------------------------------------------------------------ +r12337 | zimmerma | 2018-02-20 13:45:08 +0000 (Tue, 20 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/gmp_op.c + M /trunk/tests/tgmpop.c + +[src/gmp_op.c] removed dead code +[tests/tgmpop.c] improve coverage of gmp_op.c to 100% + +------------------------------------------------------------------------ +r12336 | vlefevre | 2018-02-20 12:33:38 +0000 (Tue, 20 Feb 2018) | 1 line +Changed paths: + M /trunk/acinclude.m4 + +[acinclude.m4] Added missing ";;" before "esac" for code robustness. +------------------------------------------------------------------------ +r12335 | vlefevre | 2018-02-20 12:31:34 +0000 (Tue, 20 Feb 2018) | 1 line +Changed paths: + M /trunk/acinclude.m4 + +[acinclude.m4] Added a FIXME. Added a ";;" for safety. +------------------------------------------------------------------------ +r12334 | zimmerma | 2018-02-20 11:48:29 +0000 (Tue, 20 Feb 2018) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + +[acinclude.m4] added comment, and define MPFR_LONG_WITHIN_LIMB when cannot test + +------------------------------------------------------------------------ +r12333 | vlefevre | 2018-02-20 09:33:38 +0000 (Tue, 20 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/random_deviate.c + +[src/random_deviate.c] Improved highest_bit_idx in the case where +MPFR_LONG_WITHIN_LIMB is not defined (tested with GCC). +------------------------------------------------------------------------ +r12332 | zimmerma | 2018-02-20 09:17:15 +0000 (Tue, 20 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/mul.c + +[src/mul.c] resolved FIXME and removed dead code + +------------------------------------------------------------------------ +r12331 | zimmerma | 2018-02-20 08:45:20 +0000 (Tue, 20 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tmul.c + +[tests/tmul.c] improve coverage + +------------------------------------------------------------------------ +r12330 | zimmerma | 2018-02-20 08:31:14 +0000 (Tue, 20 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/random_deviate.c + +[src/random_deviate.c] highest_bit_idx() assumes x > 0 + +------------------------------------------------------------------------ +r12329 | zimmerma | 2018-02-20 08:27:35 +0000 (Tue, 20 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/random_deviate.c + +[src/random_deviate.c] fixed comment + +------------------------------------------------------------------------ +r12328 | zimmerma | 2018-02-20 08:24:24 +0000 (Tue, 20 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/random_deviate.c + +[src/random_deviate.c] redo change r12315 using MPFR_LONG_WITHIN_LIMB + +------------------------------------------------------------------------ +r12327 | zimmerma | 2018-02-20 08:09:46 +0000 (Tue, 20 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/sub1.c + +[src/sub1.c] added 2 FIXME + +------------------------------------------------------------------------ +r12326 | vlefevre | 2018-02-19 23:32:38 +0000 (Mon, 19 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tai.c + +[tests/tai.c] Renamed test_near_zero to test_near_m2e, since this is +"exercise mpfr_ai near m*2^e", as documented. Corrected comments. +------------------------------------------------------------------------ +r12325 | vlefevre | 2018-02-19 23:29:35 +0000 (Mon, 19 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tai.c + +[tests/tai.c] For test_near_zero(), check that the NaN flag was not set +(useful since such tests don't really check that the result is not NaN). +------------------------------------------------------------------------ +r12324 | zimmerma | 2018-02-19 20:53:27 +0000 (Mon, 19 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tmul.c + +[tests/tmul.c] improve coverage + +------------------------------------------------------------------------ +r12323 | zimmerma | 2018-02-19 18:22:00 +0000 (Mon, 19 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tmul.c + +[tests/tmul.c] improve coverage + +------------------------------------------------------------------------ +r12322 | vlefevre | 2018-02-19 17:35:09 +0000 (Mon, 19 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/random_deviate.c + +[src/random_deviate.c] Reverted incorrect change r12315: MPFR_LIMB_MAX +cannot be used with the preprocessor due to the cast. The test should +be done in "pure" C and the middle-end of the compiler should optimize. +------------------------------------------------------------------------ +r12321 | vlefevre | 2018-02-19 17:27:03 +0000 (Mon, 19 Feb 2018) | 1 line +Changed paths: + M /trunk/src/sub1.c + +[src/sub1.c] Removed an unused label. +------------------------------------------------------------------------ +r12320 | vlefevre | 2018-02-19 16:36:39 +0000 (Mon, 19 Feb 2018) | 3 lines +Changed paths: + M /trunk/tests/tzeta.c + +[tests/tzeta.c] Check that the NaN flag was not set in some tests +that do not involve NaN (useful since such tests don't really check +that the result is not NaN). +------------------------------------------------------------------------ +r12319 | zimmerma | 2018-02-19 16:28:34 +0000 (Mon, 19 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/sub1.c + +[src/sub1.c] removed dead code, now coverage should be 100% + +------------------------------------------------------------------------ +r12318 | vlefevre | 2018-02-19 16:26:51 +0000 (Mon, 19 Feb 2018) | 1 line +Changed paths: + M /trunk/src/ai.c + +[src/ai.c] Avoid more integer overflows. +------------------------------------------------------------------------ +r12317 | zimmerma | 2018-02-19 16:24:11 +0000 (Mon, 19 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/sub1.c + M /trunk/tests/tsub.c + +[src/sub1.c] removed dead code +[tests/tsub.c] added coverage test + +------------------------------------------------------------------------ +r12316 | vlefevre | 2018-02-19 16:17:03 +0000 (Mon, 19 Feb 2018) | 1 line +Changed paths: + M /trunk/src/ai.c + +[src/ai.c] Detect some potential integer overflows. +------------------------------------------------------------------------ +r12315 | zimmerma | 2018-02-19 16:02:44 +0000 (Mon, 19 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/random_deviate.c + +[src/random_deviate.c] don't compile alternate code if not needed + +------------------------------------------------------------------------ +r12314 | vlefevre | 2018-02-19 16:00:44 +0000 (Mon, 19 Feb 2018) | 1 line +Changed paths: + M /trunk/src/ai.c + +[src/ai.c] Coding style. Corrected comments. +------------------------------------------------------------------------ +r12313 | zimmerma | 2018-02-19 15:52:02 +0000 (Mon, 19 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tzeta.c + +[tests/tzeta.c] improve coverage (and also uceil_exp2.c) + +------------------------------------------------------------------------ +r12312 | zimmerma | 2018-02-19 14:37:07 +0000 (Mon, 19 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/ai.c + M /trunk/tests/tai.c + +[src/ai.c] removed dead code, and improved coverage +[tests/tai.c] exercise mpfr_ai near (negative) zeroes + +------------------------------------------------------------------------ +r12311 | zimmerma | 2018-02-19 10:38:48 +0000 (Mon, 19 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/ai.c + +[src/ai.c] fixed recomputation of wprec (to be confirmed) + +------------------------------------------------------------------------ +r12310 | zimmerma | 2018-02-19 07:10:52 +0000 (Mon, 19 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/ai.c + +[src/ai.c] removed dead code + +------------------------------------------------------------------------ +r12309 | vlefevre | 2018-02-19 03:01:53 +0000 (Mon, 19 Feb 2018) | 1 line +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] Fixed indentation. +------------------------------------------------------------------------ +r12308 | vlefevre | 2018-02-19 02:55:05 +0000 (Mon, 19 Feb 2018) | 1 line +Changed paths: + M /trunk/tests/tsqrt.c + +Removed trailing whitespace. +------------------------------------------------------------------------ +r12307 | vlefevre | 2018-02-19 02:54:12 +0000 (Mon, 19 Feb 2018) | 1 line +Changed paths: + M /trunk/src/sqrt.c + +[src/sqrt.c] Coding style. +------------------------------------------------------------------------ +r12306 | vlefevre | 2018-02-19 02:46:30 +0000 (Mon, 19 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/expm1.c + +[src/expm1.c] Avoid a potential integer overflow in a type conversion +for 32-bit mpfr_exp_t and 64-bit long (e.g. with -D_MPFR_PREC_FORMAT=2 +on a 64-bit Linux machine). +------------------------------------------------------------------------ +r12305 | vlefevre | 2018-02-19 02:19:29 +0000 (Mon, 19 Feb 2018) | 4 lines +Changed paths: + M /trunk/src/div_2ui.c + M /trunk/tests/tmul_2exp.c + +[src/div_2ui.c] Reverted incorrect change in r12272 and added comments + and assertions. +[tests/tmul_2exp.c] Improved a test to trigger the bug in r12272 also + when mpfr_exp_t > 32 bits (e.g. on 64-bit Linux machines). +------------------------------------------------------------------------ +r12304 | vlefevre | 2018-02-19 01:46:30 +0000 (Mon, 19 Feb 2018) | 1 line +Changed paths: + M /trunk/tests/tmul_2exp.c + +[tests/tmul_2exp.c] Improved output if mpfr_exp_t > long (for positive). +------------------------------------------------------------------------ +r12303 | vlefevre | 2018-02-19 01:43:20 +0000 (Mon, 19 Feb 2018) | 1 line +Changed paths: + M /trunk/tests/tmul_2exp.c + +[tests/tmul_2exp.c] Improved output if mpfr_exp_t > long (for negative). +------------------------------------------------------------------------ +r12302 | vlefevre | 2018-02-19 01:10:13 +0000 (Mon, 19 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tset_ld.c + M /trunk/tests/tsub1sp.c + +[tests] Fixed type errors with -D_MPFR_PREC_FORMAT=2 in CFLAGS and the +--enable-assert=full configure option (signaled by GCC's -Wformat). +------------------------------------------------------------------------ +r12301 | vlefevre | 2018-02-19 01:00:48 +0000 (Mon, 19 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/mul.c + +[src/mul.c] Fixed type error with -D_MPFR_PREC_FORMAT=2 in CFLAGS and +the --enable-assert=full configure option (signaled by GCC's -Wformat). +------------------------------------------------------------------------ +r12300 | vlefevre | 2018-02-19 00:38:01 +0000 (Mon, 19 Feb 2018) | 6 lines +Changed paths: + M /trunk/doc/README.dev + +[doc/README.dev] Removed the mention of MPFR_EXT_EMIN and MPFR_EXT_EMAX, +replacing them by MPFR_EMIN_MIN and MPFR_EMAX_MAX, as done in r12298. +Note: These old macros had been introduced in r7863 so that one could +choose different values for the extended exponent range for debugging +purpose, but they were not used in practice and were adding complexity +(and potential inconsistency) for no really good reason. +------------------------------------------------------------------------ +r12299 | zimmerma | 2018-02-18 17:53:00 +0000 (Sun, 18 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/agm.c + M /trunk/tests/tagm.c + +[src/agm.c] added comment about line of code impossible to cover + +------------------------------------------------------------------------ +r12298 | zimmerma | 2018-02-18 14:23:01 +0000 (Sun, 18 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/agm.c + M /trunk/src/div.c + M /trunk/src/mpfr-impl.h + +[src/agm.c,src/div.c,src/mpfr-impl.h] replaced MPFR_EXT_EMIN by MPFR_EMIN_MIN, + and MPFR_EXT_EMAX by MPFR_EMAX_MAX + +------------------------------------------------------------------------ +r12297 | zimmerma | 2018-02-18 14:09:55 +0000 (Sun, 18 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/sqrt.c + M /trunk/tests/tsqrt.c + +[src/sqrt.c] removed dead code +[tests/tsqrt.c] improve coverage of mpfr_sqrt, now at 100% + +------------------------------------------------------------------------ +r12296 | zimmerma | 2018-02-18 12:48:51 +0000 (Sun, 18 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c + +[tests/tsqrt.c] improve coverage + +------------------------------------------------------------------------ +r12295 | zimmerma | 2018-02-18 12:31:53 +0000 (Sun, 18 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c + +[tests/tsqrt.c] improve coverage + +------------------------------------------------------------------------ +r12294 | zimmerma | 2018-02-17 19:30:39 +0000 (Sat, 17 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/sqrt.c + +[src/sqrt.c] removed dead code + +------------------------------------------------------------------------ +r12293 | zimmerma | 2018-02-17 16:53:57 +0000 (Sat, 17 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c + +[tests/tsqrt.c] improve coverage + +------------------------------------------------------------------------ +r12292 | zimmerma | 2018-02-17 12:53:46 +0000 (Sat, 17 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/sqrt.c + M /trunk/tests/tsqrt.c + +[tests/tsqrt.c] improved coverage +[src/sqrt.c] added comments + +------------------------------------------------------------------------ +r12291 | vlefevre | 2018-02-17 12:26:01 +0000 (Sat, 17 Feb 2018) | 1 line +Changed paths: + M /trunk/src/expm1.c + +[src/expm1.c] Added a FIXME comment. +------------------------------------------------------------------------ +r12290 | zimmerma | 2018-02-17 11:53:07 +0000 (Sat, 17 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c + +[tests/tsqrt.c] improve coverage + +------------------------------------------------------------------------ +r12289 | zimmerma | 2018-02-17 11:01:10 +0000 (Sat, 17 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/sqrt.c + +[src/sqrt.c] removed dead code + +------------------------------------------------------------------------ +r12287 | vlefevre | 2018-02-17 10:28:33 +0000 (Sat, 17 Feb 2018) | 1 line +Changed paths: + M /trunk/tests/tsub.c + +[tests/tsub.c] Improved a comment. +------------------------------------------------------------------------ +r12286 | vlefevre | 2018-02-17 10:27:19 +0000 (Sat, 17 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tsub.c + +[tests/tsub.c] Check reuse of arguments for all mpfr_sub tests, when +possible. +------------------------------------------------------------------------ +r12285 | zimmerma | 2018-02-17 09:39:57 +0000 (Sat, 17 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/sub1sp.c + M /trunk/tests/tsub1sp.c + +[src/sub1sp.c] fixed bug in mpfr_sub1sp1n (corner case when a=c) +[tests/tsub1sp.c] added non-regression test + +------------------------------------------------------------------------ +r12284 | zimmerma | 2018-02-17 08:52:47 +0000 (Sat, 17 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] fixed case 2e + +------------------------------------------------------------------------ +r12283 | vlefevre | 2018-02-17 03:25:38 +0000 (Sat, 17 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tsub.c + +[tests/tsub.c] Updated bug20180217 to trigger the bug: one needs to +reuse the smallest input variable as the output variable. +------------------------------------------------------------------------ +r12282 | vlefevre | 2018-02-17 03:03:09 +0000 (Sat, 17 Feb 2018) | 1 line +Changed paths: + M /trunk/tests/tsub.c + +[tests/tsub.c] Added a test. +------------------------------------------------------------------------ +r12281 | vlefevre | 2018-02-17 01:36:28 +0000 (Sat, 17 Feb 2018) | 1 line +Changed paths: + M /trunk/src/expm1.c + +[src/expm1.c] Updated a comment. +------------------------------------------------------------------------ +r12280 | vlefevre | 2018-02-17 01:29:43 +0000 (Sat, 17 Feb 2018) | 1 line +Changed paths: + M /trunk/src/expm1.c + +[src/expm1.c] Fixed an integer overflow from r12276. +------------------------------------------------------------------------ +r12279 | vlefevre | 2018-02-17 01:12:49 +0000 (Sat, 17 Feb 2018) | 1 line +Changed paths: + M /trunk/src/expm1.c + +[src/expm1.c] Added a log message. +------------------------------------------------------------------------ +r12278 | zimmerma | 2018-02-16 19:10:57 +0000 (Fri, 16 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tfmma.c + +[tests/tfmma.c] added coverage test + +------------------------------------------------------------------------ +r12277 | zimmerma | 2018-02-16 16:30:09 +0000 (Fri, 16 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tfmma.c + +[tests/tfmma.c] improve coverage of add.c (ubf case) + +------------------------------------------------------------------------ +r12276 | vlefevre | 2018-02-16 16:11:17 +0000 (Fri, 16 Feb 2018) | 9 lines +Changed paths: + M /trunk/src/expm1.c + +[src/expm1.c] It seems that code removed in r12273 wasn't necessarily +dead code with mpfr_exp_t > long (-D_MPFR_EXP_FORMAT=4 needed) because +for MPFR_SMALL_INPUT_AFTER_SAVE_EXPO, err would be limited to -LONG_MAX +and precisions larger than LONG_MAX could be problems. The -LONG_MAX +bound from r4127 was arbitrary and only used to simplify the code due +to the fact that mpfr_cmp_si compares to a "long" argument. But now we +have the internal mpfr_get_exp_t function, allowing us to avoid this +arbitrary bound (fixing the code and making it more efficient for these +extreme cases) and simplify the code even more. +------------------------------------------------------------------------ +r12275 | zimmerma | 2018-02-16 15:54:26 +0000 (Fri, 16 Feb 2018) | 2 lines +Changed paths: + M /trunk/tools/mbench/mfv5.cc + M /trunk/tools/mbench/mfv5.h + +[mbench] added new option to usage + +------------------------------------------------------------------------ +r12274 | zimmerma | 2018-02-16 15:39:59 +0000 (Fri, 16 Feb 2018) | 4 lines +Changed paths: + M /trunk/tools/mbench/mfv5.cc + M /trunk/tools/mbench/mfv5.h + +[mbench] added option -d to fix the exponent difference between operands + (useful for mpfr_add and mpfr_sub, for example use -d0 for operands + with same exponent, -d1 for operands differing by 1, ...) + +------------------------------------------------------------------------ +r12273 | zimmerma | 2018-02-16 15:09:38 +0000 (Fri, 16 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/expm1.c + +[src/expm1.c] improve coverage (by removing dead code) + +------------------------------------------------------------------------ +r12272 | vlefevre | 2018-02-16 14:35:38 +0000 (Fri, 16 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/div_2ui.c + +[src/div_2ui.c] No need for mpfr_uexp_t, due to the constraints on +the valid exponents. +------------------------------------------------------------------------ +r12271 | vlefevre | 2018-02-16 14:32:58 +0000 (Fri, 16 Feb 2018) | 1 line +Changed paths: + M /trunk/doc/README.dev + +[doc/README.dev] Update about mpfr_exp_t. +------------------------------------------------------------------------ +r12270 | vlefevre | 2018-02-16 14:13:15 +0000 (Fri, 16 Feb 2018) | 1 line +Changed paths: + M /trunk/src/mul_2ui.c + +[src/mul_2ui.c] Simplified mpfr_mul_2ui (like mpfr_div_2ui). +------------------------------------------------------------------------ +r12269 | vlefevre | 2018-02-16 14:09:39 +0000 (Fri, 16 Feb 2018) | 1 line +Changed paths: + M /trunk/src/div_2ui.c + +[src/div_2ui.c] Simplified justification. +------------------------------------------------------------------------ +r12268 | vlefevre | 2018-02-16 13:50:07 +0000 (Fri, 16 Feb 2018) | 1 line +Changed paths: + M /trunk/src/div_2ui.c + +[src/div_2ui.c] Simplified code as suggested by PZ; added justification. +------------------------------------------------------------------------ +r12267 | zimmerma | 2018-02-16 12:37:56 +0000 (Fri, 16 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/add1.c + M /trunk/src/div_ui.c + M /trunk/src/sub1sp.c + +GNU style: https://www.gnu.org/prep/standards/standards.html#Formatting + +------------------------------------------------------------------------ +r12266 | zimmerma | 2018-02-16 12:35:19 +0000 (Fri, 16 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/div_2ui.c + M /trunk/tests/tmul_2exp.c + +[src/div_2ui.c] added comment +[tests/tmul_2exp.c] added coverage test + +------------------------------------------------------------------------ +r12265 | vlefevre | 2018-02-16 11:31:31 +0000 (Fri, 16 Feb 2018) | 1 line +Changed paths: + M /trunk/src/div_2ui.c + +[src/div_2ui.c] Replaced FIXME by an explanation. +------------------------------------------------------------------------ +r12264 | zimmerma | 2018-02-16 10:55:46 +0000 (Fri, 16 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/div_2ui.c + +[src/div_2ui.c] added FIXME + +------------------------------------------------------------------------ +r12263 | zimmerma | 2018-02-16 10:43:49 +0000 (Fri, 16 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/cmp_ld.c + +[src/cmp_ld.c] simplified code (and avoid useless test when long double is not + double-double) + +------------------------------------------------------------------------ +r12262 | zimmerma | 2018-02-16 10:32:47 +0000 (Fri, 16 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tsub1sp.c + +[tests/tsub1sp.c] improve coverage + +------------------------------------------------------------------------ +r12261 | zimmerma | 2018-02-16 09:31:31 +0000 (Fri, 16 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tadd1sp.c + +[tests/tadd1sp.c] improve coverage of add1sp + +------------------------------------------------------------------------ +r12260 | zimmerma | 2018-02-16 08:23:06 +0000 (Fri, 16 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] fixed bug20180216 + +------------------------------------------------------------------------ +r12259 | zimmerma | 2018-02-16 07:53:26 +0000 (Fri, 16 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tadd1sp.c + +[tests/tadd1sp.c] added coverage test + +------------------------------------------------------------------------ +r12257 | vlefevre | 2018-02-16 02:22:30 +0000 (Fri, 16 Feb 2018) | 1 line +Changed paths: + M /trunk/tests/tsub.c + +[tests/tsub.c] More tests in bug20180216. +------------------------------------------------------------------------ +r12256 | vlefevre | 2018-02-16 02:08:03 +0000 (Fri, 16 Feb 2018) | 3 lines +Changed paths: + M /trunk/tests/tsub.c + +[tests/tsub.c] Added bug20180216 test currently failing (corresponding +to the failure mentioned in r12253, r12254 and r12255, but reproducible +with a simple "./configure"). +------------------------------------------------------------------------ +r12255 | vlefevre | 2018-02-16 01:39:57 +0000 (Fri, 16 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/exp_2.c + +[src/exp_2.c] Note that the internal behavior depends on whether +MPFR_LONG_WITHIN_LIMB is defined or not (see also r12253). This +should not matter, possibly except in case of bug, like currently. +------------------------------------------------------------------------ +r12254 | vlefevre | 2018-02-16 01:29:24 +0000 (Fri, 16 Feb 2018) | 1 line +Changed paths: + M /trunk/acinclude.m4 + +[acinclude.m4] Updated FIXME for MPFR_CHECK_MP_LIMB_T_VS_LONG. +------------------------------------------------------------------------ +r12253 | vlefevre | 2018-02-16 01:23:07 +0000 (Fri, 16 Feb 2018) | 1 line +Changed paths: + M /trunk/acinclude.m4 + +[acinclude.m4] Added a FIXME for MPFR_CHECK_MP_LIMB_T_VS_LONG. +------------------------------------------------------------------------ +r12252 | vlefevre | 2018-02-16 00:00:13 +0000 (Fri, 16 Feb 2018) | 1 line +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] Squeezed useless double-space. +------------------------------------------------------------------------ +r12251 | zimmerma | 2018-02-15 18:42:18 +0000 (Thu, 15 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] fixed bug20180215() + +------------------------------------------------------------------------ +r12250 | vlefevre | 2018-02-15 15:10:10 +0000 (Thu, 15 Feb 2018) | 1 line +Changed paths: + M /trunk/tests/tsub.c + +[tests/tsub.c] Updated comment for bug20180215. +------------------------------------------------------------------------ +r12249 | vlefevre | 2018-02-15 14:51:02 +0000 (Thu, 15 Feb 2018) | 1 line +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] Use "else" for symmetry with above code. +------------------------------------------------------------------------ +r12248 | vlefevre | 2018-02-15 14:39:54 +0000 (Thu, 15 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tsub.c + +[tests/tsub.c] Added a comment for bug20180215 (bug in the case +2 <= d < p in generic code mpfr_sub1sp() introduced in r12242). +------------------------------------------------------------------------ +r12246 | vlefevre | 2018-02-15 14:27:08 +0000 (Thu, 15 Feb 2018) | 5 lines +Changed paths: + M /trunk/tests/tsub.c + +[tests/tsub.c] Added bug20180215 test currently failing, found from a +failure using -DMPFR_GENERIC_ABI in CFLAGS and the --enable-assert=full +configure option; but the test had to be extended so that it also fails +with a simple "configure", i.e. without -DMPFR_GENERIC_ABI in CFLAGS +and without the --enable-assert=full configure option. +------------------------------------------------------------------------ +r12245 | vlefevre | 2018-02-15 14:13:52 +0000 (Thu, 15 Feb 2018) | 1 line +Changed paths: + M /trunk/src/sub1sp.c + +Removed trailing whitespace. +------------------------------------------------------------------------ +r12243 | zimmerma | 2018-02-14 16:11:04 +0000 (Wed, 14 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] review of case 2 <= d < p in generic code mpfr_sub1sp() + +------------------------------------------------------------------------ +r12242 | zimmerma | 2018-02-14 14:41:48 +0000 (Wed, 14 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/div_ui.c + M /trunk/src/sub1sp.c + +[src/div_ui.c] GNU style +[src/sub1sp.c] reviewed the code for d>=p in mpfr_sub1sp() + +------------------------------------------------------------------------ +r12241 | vlefevre | 2018-02-14 11:10:09 +0000 (Wed, 14 Feb 2018) | 1 line +Changed paths: + M /trunk/tools/mpfrlint + +[tools/mpfrlint] Much improved the check of the use of GMP internals. +------------------------------------------------------------------------ +r12240 | zimmerma | 2018-02-14 10:06:46 +0000 (Wed, 14 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] fixed a FIXME + +------------------------------------------------------------------------ +r12239 | zimmerma | 2018-02-14 09:50:02 +0000 (Wed, 14 Feb 2018) | 3 lines +Changed paths: + M /trunk/src/mpfr-gmp.h + M /trunk/src/sub1sp.c + +[src/mpfr-gmp.h] define prototype of __gmpn_rsblsh1_n +[src/sub1sp.c] changed names of variables to something more readable + +------------------------------------------------------------------------ +r12238 | zimmerma | 2018-02-14 09:36:58 +0000 (Wed, 14 Feb 2018) | 3 lines +Changed paths: + M /trunk/configure.ac + M /trunk/src/sub1sp.c + +[configure.ac] detect mpn_rsblsh1_n instead of mpn_rsblsh_n +[src/sub1sp.c] use mpn_rsblsh1_n instead of mpn_rsblsh_n with k=1 + +------------------------------------------------------------------------ +r12237 | vlefevre | 2018-02-14 03:17:10 +0000 (Wed, 14 Feb 2018) | 1 line +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] Added 2 FIXME's. +------------------------------------------------------------------------ +r12236 | vlefevre | 2018-02-14 03:03:16 +0000 (Wed, 14 Feb 2018) | 4 lines +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] In mpfr_sub1sp, initialize k only once. This slightly +simplifies the code and avoids a -Wmaybe-uninitialized warning from +GCC. The only failure on a 64-bit Linux machine is tsub1sp, due to +an assertion failure in mpfr_sub1sp, as before this change. +------------------------------------------------------------------------ +r12235 | vlefevre | 2018-02-14 02:49:07 +0000 (Wed, 14 Feb 2018) | 1 line +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] Avoid the swapping of the exponents when they are equal. +------------------------------------------------------------------------ +r12234 | zimmerma | 2018-02-13 16:06:18 +0000 (Tue, 13 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] review of case d=1 in generic code + +------------------------------------------------------------------------ +r12233 | zimmerma | 2018-02-13 15:42:28 +0000 (Tue, 13 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/add1sp.c + +[src/add1sp.c] no need of MPFR_TMP_MARK any more + +------------------------------------------------------------------------ +r12232 | zimmerma | 2018-02-13 15:19:27 +0000 (Tue, 13 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] end of review of case d=0 in generic code + +------------------------------------------------------------------------ +r12231 | zimmerma | 2018-02-13 15:01:34 +0000 (Tue, 13 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] work in progress + +------------------------------------------------------------------------ +r12230 | vlefevre | 2018-02-13 14:49:52 +0000 (Tue, 13 Feb 2018) | 1 line +Changed paths: + M /trunk/src/add1sp.c + +[src/add1sp.c] Moved a MPFR_ASSERTD to the right place. +------------------------------------------------------------------------ +r12229 | zimmerma | 2018-02-13 14:26:57 +0000 (Tue, 13 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] re-enable __gmpn_rsblsh_n (with WANT_GMP_INTERNALS) + +------------------------------------------------------------------------ +r12228 | zimmerma | 2018-02-13 14:13:23 +0000 (Tue, 13 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/sub1sp.c + +[src/sub1sp.c] small improvement + +------------------------------------------------------------------------ +r12227 | zimmerma | 2018-02-13 13:59:18 +0000 (Tue, 13 Feb 2018) | 2 lines +Changed paths: + M /trunk/tools/cfarm.sh + +[tools/cfarm.sh] updated for 4.0.1-rc2 + +------------------------------------------------------------------------ +r12226 | zimmerma | 2018-02-13 13:53:19 +0000 (Tue, 13 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/add1sp.c + +[src/add1sp.c] mp_ptr -> mp_limb_t* + +------------------------------------------------------------------------ +r12225 | zimmerma | 2018-02-13 13:49:43 +0000 (Tue, 13 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/add1sp.c + +[src/add1sp.c] get rid of MPN_COPY/MPN_ZERO in generic code + +------------------------------------------------------------------------ +r12223 | vlefevre | 2018-02-13 02:48:00 +0000 (Tue, 13 Feb 2018) | 1 line +Changed paths: + M /trunk/src/add1sp.c + +[src/add1sp.c] Improved comments and other minor changes. +------------------------------------------------------------------------ +r12222 | vlefevre | 2018-02-13 02:39:54 +0000 (Tue, 13 Feb 2018) | 6 lines +Changed paths: + M /trunk/src/add1sp.c + +[src/add1sp.c] In the generic code of mpfr_add1sp, fixed the computation +of the round and sticky bits from r12220. At the same time, improved the +handling of MPFR_RNDF in this part of the code: + * The "while" loop to compute the sticky bit is no longer done in this + case (the sticky bit does not matter). + * The "goto" is avoided. +------------------------------------------------------------------------ +r12221 | vlefevre | 2018-02-13 01:22:50 +0000 (Tue, 13 Feb 2018) | 1 line +Changed paths: + M /trunk/tests/tadd.c + +[tests/tadd.c] Added 2 tests that fail starting with r12220. +------------------------------------------------------------------------ +r12220 | zimmerma | 2018-02-12 15:40:42 +0000 (Mon, 12 Feb 2018) | 2 lines +Changed paths: + M /trunk/src/add1sp.c + +[src/add1sp.c] cleanup generic code mpfr_add1sp() + +------------------------------------------------------------------------ +r12219 | vlefevre | 2018-02-09 14:17:18 +0000 (Fri, 09 Feb 2018) | 7 lines +Changed paths: + M /trunk/src/fma.c + M /trunk/src/hypot.c + +[src/fma.c] Added a FIXME comment about overflow/underflow issues in + corner cases (already caught with MPFR_ASSERTN), fixable with UBF + like in mpfr_fmma. +[src/hypot.c] Updated a comment: The problem that would come from an + underflow in y^2, in particular because x was scaled in order to + avoid an overflow in x^2, has been avoided by using a FMA (though + still buggy for these cases, as mentioned just above). +------------------------------------------------------------------------ +r12215 | vlefevre | 2018-02-08 01:20:13 +0000 (Thu, 08 Feb 2018) | 1 line +Changed paths: + M /trunk/tests/tfits.c + M /trunk/tests/tfprintf.c + M /trunk/tests/tget_set_d64.c + M /trunk/tests/tget_sj.c + M /trunk/tests/tprintf.c + M /trunk/tests/tset_float128.c + M /trunk/tests/tset_sj.c + M /trunk/tests/tsprintf.c + M /trunk/tests/tversion.c + +[tests] Added/updated comments about the config.h inclusion. +------------------------------------------------------------------------ +r12214 | vlefevre | 2018-02-08 01:07:46 +0000 (Thu, 08 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tset_float128.c + M /trunk/tests/tset_ld.c + +[tests/{tset_float128.c,tset_ld.c}] Removed obsolete WITH_FPU_CONTROL +related code (this should have been done in r12185). +------------------------------------------------------------------------ +r12212 | vlefevre | 2018-02-07 23:37:29 +0000 (Wed, 07 Feb 2018) | 1 line +Changed paths: + M /trunk/INSTALL + +[INSTALL] Updated GMP URL. +------------------------------------------------------------------------ +r12210 | vlefevre | 2018-02-07 23:32:29 +0000 (Wed, 07 Feb 2018) | 1 line +Changed paths: + M /trunk/doc/mpfr.texi + +[doc/mpfr.texi] Updated the month. +------------------------------------------------------------------------ +r12208 | vlefevre | 2018-02-07 23:30:03 +0000 (Wed, 07 Feb 2018) | 2 lines +Changed paths: + M /trunk/doc/mpfr.texi + M /trunk/tools/mpfrlint + +[doc/mpfr.texi] Corrected minimal GMP version. +[tools/mpfrlint] Updated test to detect minimal GMP version mismatch. +------------------------------------------------------------------------ +r12206 | vlefevre | 2018-02-07 23:21:02 +0000 (Wed, 07 Feb 2018) | 2 lines +Changed paths: + M /trunk/INSTALL + M /trunk/tools/mpfrlint + +[INSTALL] Corrected minimal GMP version (thanks to David Edelsohn). +[tools/mpfrlint] Added a test to detect minimal GMP version mismatch. +------------------------------------------------------------------------ +r12198 | vlefevre | 2018-02-07 11:59:15 +0000 (Wed, 07 Feb 2018) | 1 line +Changed paths: + M /trunk/tools/announce-text + +[tools/announce-text] For releases, check the VERSION file of the tag. +------------------------------------------------------------------------ +r12197 | vlefevre | 2018-02-07 11:39:23 +0000 (Wed, 07 Feb 2018) | 1 line +Changed paths: + M /trunk/doc/README.dev + +[doc/README.dev] "To make a release": moved a sentence. +------------------------------------------------------------------------ +r12194 | vlefevre | 2018-02-02 13:06:29 +0000 (Fri, 02 Feb 2018) | 2 lines +Changed paths: + M /trunk/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). +------------------------------------------------------------------------ +r12193 | vlefevre | 2018-02-02 12:46:28 +0000 (Fri, 02 Feb 2018) | 1 line +Changed paths: + M /trunk/tests/tdiv_ui.c + +[tests/tdiv_ui.c] Corrected comments. +------------------------------------------------------------------------ +r12190 | vlefevre | 2018-02-02 11:47:35 +0000 (Fri, 02 Feb 2018) | 3 lines +Changed paths: + M /trunk/tests/terandom_chisq.c + M /trunk/tests/tnrandom_chisq.c + M /trunk/tests/trandom.c + M /trunk/tests/turandom.c + +[tests/t*random*.c] + * Replaced calloc + free by tests_allocate + tests_free as usual. + * trandom.c, turandom.c: do bitwise operations in unsigned arithmetic. +------------------------------------------------------------------------ +r12189 | vlefevre | 2018-02-02 11:27:03 +0000 (Fri, 02 Feb 2018) | 5 lines +Changed paths: + M /trunk/tests/terandom.c + M /trunk/tests/terandom_chisq.c + M /trunk/tests/tgrandom.c + M /trunk/tests/tnrandom.c + M /trunk/tests/tnrandom_chisq.c + M /trunk/tests/trandom.c + M /trunk/tests/trandom_deviate.c + +[tests/t*random*.c] + * Replaced some fprintf with stderr by printf (but not those + concerning memory allocation errors). + * Do bitwise operations in unsigned arithmetic. + * Formatting. +------------------------------------------------------------------------ +r12188 | vlefevre | 2018-02-02 11:08:16 +0000 (Fri, 02 Feb 2018) | 1 line +Changed paths: + M /trunk/tests/tset_ld.c + M /trunk/tests/tsub_d.c + +[tests] Formatting. +------------------------------------------------------------------------ +r12186 | vlefevre | 2018-02-02 10:53:26 +0000 (Fri, 02 Feb 2018) | 7 lines +Changed paths: + M /trunk/tests/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. +------------------------------------------------------------------------ +r12185 | vlefevre | 2018-02-02 10:36:50 +0000 (Fri, 02 Feb 2018) | 6 lines +Changed paths: + M /trunk/tests/tremquo.c + M /trunk/tests/tset_float128.c + M /trunk/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). +------------------------------------------------------------------------ +r12183 | vlefevre | 2018-02-02 10:12:38 +0000 (Fri, 02 Feb 2018) | 2 lines +Changed paths: + M /trunk/tests/tabort_defalloc1.c + M /trunk/tests/tabort_defalloc2.c + M /trunk/tests/tabort_prec_max.c + +Reverse-merged r12181 since tests_start_mpfr disables stdout buffering, +so that the fflush() are unnecessary. +------------------------------------------------------------------------ +r12181 | vlefevre | 2018-02-02 09:52:45 +0000 (Fri, 02 Feb 2018) | 3 lines +Changed paths: + M /trunk/tests/tabort_defalloc1.c + M /trunk/tests/tabort_defalloc2.c + M /trunk/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. +------------------------------------------------------------------------ +r12178 | vlefevre | 2018-02-01 14:27:11 +0000 (Thu, 01 Feb 2018) | 1 line +Changed paths: + M /trunk/NEWS + +[NEWS] Mention "make check-exported-symbols" (experimental). +------------------------------------------------------------------------ +r12172 | vlefevre | 2018-02-01 13:28:12 +0000 (Thu, 01 Feb 2018) | 1 line +Changed paths: + M /trunk/tests/tdiv_ui.c + +[tests/tdiv_ui.c] Portability update, in case MPFR_PREC_MIN > 1. +------------------------------------------------------------------------ +r12169 | vlefevre | 2018-01-31 15:15:01 +0000 (Wed, 31 Jan 2018) | 3 lines +Changed paths: + M /trunk/tests/tdiv_ui.c + +[tests/tdiv_ui.c] In corner_cases, test larger values for xn, +as suggested by Paul, allowing one to cover case 2 for both +sb=0 and sb=1. Value coverage is now complete. +------------------------------------------------------------------------ +r12168 | vlefevre | 2018-01-31 15:02:18 +0000 (Wed, 31 Jan 2018) | 2 lines +Changed paths: + M /trunk/tests/tdiv_ui.c + +[tests/tdiv_ui.c] Updated midpoint_exact to also test the divisor +ULONG_MAX, allowing one to cover cases 3 and 4. +------------------------------------------------------------------------ +r12167 | vlefevre | 2018-01-31 14:55:17 +0000 (Wed, 31 Jan 2018) | 2 lines +Changed paths: + M /trunk/tests/tdiv_ui.c + +[tests/tdiv_ui.c] Added tests with simple midpoint and exact cases. +This covers case 9, sb=0. +------------------------------------------------------------------------ +r12166 | vlefevre | 2018-01-31 13:45:02 +0000 (Wed, 31 Jan 2018) | 7 lines +Changed paths: + M /trunk/src/div_ui.c + M /trunk/src/mpfr-impl.h + +Added a case for the value coverage for tdiv_ui. +→ Now, on a 64-bit Linux machine: + mpfr_div_ui not tested on case 2, sb=0 + mpfr_div_ui not tested on case 2, sb=1 + mpfr_div_ui not tested on case 3, sb=0 + mpfr_div_ui not tested on case 4, sb=0 + mpfr_div_ui not tested on case 9, sb=0 +------------------------------------------------------------------------ +r12165 | vlefevre | 2018-01-31 13:34:35 +0000 (Wed, 31 Jan 2018) | 6 lines +Changed paths: + M /trunk/src/div_ui.c + M /trunk/src/mpfr-impl.h + M /trunk/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). +→ Currently on a 64-bit Linux machine: + mpfr_div_ui not tested on case 2, sb=0 + mpfr_div_ui not tested on case 3, sb=0 + mpfr_div_ui not tested on case 8, sb=0 +------------------------------------------------------------------------ +r12163 | vlefevre | 2018-01-31 02:37:05 +0000 (Wed, 31 Jan 2018) | 1 line +Changed paths: + M /trunk/src/div_ui.c + +[src/div_ui.c] Case tmp[yn] != 0: simplified code since u ≥ 2. +------------------------------------------------------------------------ +r12162 | vlefevre | 2018-01-31 02:30:02 +0000 (Wed, 31 Jan 2018) | 5 lines +Changed paths: + M /trunk/src/div_ui.c + +[src/div_ui.c] Case tmp[yn] == 0: + * corrected/improved comments; + * simplified condition rb && sb to rb (since if rb ≠ 0, then r ≠ 0, + so that the current sb ≠ 0); + * replaced "& (~MPFR_LIMB_HIGHBIT)" by "<< 1" (should be simpler). +------------------------------------------------------------------------ +r12161 | zimmerma | 2018-01-30 20:31:58 +0000 (Tue, 30 Jan 2018) | 2 lines +Changed paths: + M /trunk/src/div_ui.c + +[src/div_ui.c] fixed corner case (hopefully) + +------------------------------------------------------------------------ +r12160 | vlefevre | 2018-01-30 17:17:11 +0000 (Tue, 30 Jan 2018) | 1 line +Changed paths: + M /trunk/tools/mpfrlint + +[tools/mpfrlint] Improved a regexp (avoiding false positives). +------------------------------------------------------------------------ +r12159 | vlefevre | 2018-01-30 16:57:55 +0000 (Tue, 30 Jan 2018) | 1 line +Changed paths: + M /trunk/tests/tdiv_ui.c + +[tests/tdiv_ui.c] corner_cases() requires limbs to fit in unsigned long. +------------------------------------------------------------------------ +r12158 | vlefevre | 2018-01-30 16:52:57 +0000 (Tue, 30 Jan 2018) | 2 lines +Changed paths: + M /trunk/tests/tdiv_ui.c + +[tests/tdiv_ui.c] Back to a decimal constant (the UL suffix was +incorrect, but just a U is OK). +------------------------------------------------------------------------ +r12157 | zimmerma | 2018-01-30 16:38:20 +0000 (Tue, 30 Jan 2018) | 2 lines +Changed paths: + M /trunk/tests/tdiv_ui.c + +[tests/tdiv_ui.c] added test for corner case (currently fails) + +------------------------------------------------------------------------ +r12156 | vlefevre | 2018-01-30 16:25:08 +0000 (Tue, 30 Jan 2018) | 1 line +Changed paths: + M /trunk/tests/tdiv_ui.c + +[tests/tdiv_ui.c] Fixed a value (from a zsh bug). +------------------------------------------------------------------------ +r12155 | vlefevre | 2018-01-30 16:21:13 +0000 (Tue, 30 Jan 2018) | 1 line +Changed paths: + M /trunk/src/div_ui.c + +[src/div_ui.c] Comment: now, "i.e." is correct. +------------------------------------------------------------------------ +r12154 | vlefevre | 2018-01-30 16:17:53 +0000 (Tue, 30 Jan 2018) | 1 line +Changed paths: + M /trunk/tests/tdiv_ui.c + +[tests/tdiv_ui.c] Added ABI-independent bug20180126 tests. +------------------------------------------------------------------------ +r12153 | zimmerma | 2018-01-30 15:55:58 +0000 (Tue, 30 Jan 2018) | 2 lines +Changed paths: + M /trunk/src/div_ui.c + +[src/div_ui.c] fixed a comment + +------------------------------------------------------------------------ +r12152 | vlefevre | 2018-01-30 13:22:48 +0000 (Tue, 30 Jan 2018) | 1 line +Changed paths: + M /trunk/src/div_ui.c + +[src/div_ui.c] Typo in a comment. +------------------------------------------------------------------------ +r12151 | vlefevre | 2018-01-30 13:14:13 +0000 (Tue, 30 Jan 2018) | 1 line +Changed paths: + M /trunk/src/div_ui.c + +[src/div_ui.c] Updated a comment. +------------------------------------------------------------------------ +r12150 | vlefevre | 2018-01-30 13:05:10 +0000 (Tue, 30 Jan 2018) | 2 lines +Changed paths: + M /trunk/src/div_ui.c + +[src/div_ui.c] Clarified the notation (this was ambiguous, with two +possible interpretations). Added comments about mpn_divrem_1. +------------------------------------------------------------------------ +r12149 | vlefevre | 2018-01-30 09:15:21 +0000 (Tue, 30 Jan 2018) | 1 line +Changed paths: + M /trunk/src/div_ui.c + +[src/div_ui.c] Added a FIXME. +------------------------------------------------------------------------ +r12148 | zimmerma | 2018-01-30 06:35:31 +0000 (Tue, 30 Jan 2018) | 2 lines +Changed paths: + M /trunk/src/div_ui.c + +[src/div_ui.c] fixed a comment, and added a FIXME + +------------------------------------------------------------------------ +r12146 | vlefevre | 2018-01-29 14:11:54 +0000 (Mon, 29 Jan 2018) | 1 line +Changed paths: + M /trunk/src/div_ui.c + +[src/div_ui.c] Clarified a comment. +------------------------------------------------------------------------ +r12145 | vlefevre | 2018-01-29 14:05:24 +0000 (Mon, 29 Jan 2018) | 1 line +Changed paths: + M /trunk/src/div_ui.c + +[src/div_ui.c] Started to review the code; minor changes. +------------------------------------------------------------------------ +r12142 | vlefevre | 2018-01-29 01:23:41 +0000 (Mon, 29 Jan 2018) | 1 line +Changed paths: + M /trunk/src/div_ui.c + +[src/div_ui.c] Minor update of comments. +------------------------------------------------------------------------ +r12141 | vlefevre | 2018-01-29 01:06:44 +0000 (Mon, 29 Jan 2018) | 1 line +Changed paths: + M /trunk/src/div_ui.c + +[src/div_ui.c] Fixed the exact case, which used nexttoinf uninitialized. +------------------------------------------------------------------------ +r12140 | vlefevre | 2018-01-29 01:03:34 +0000 (Mon, 29 Jan 2018) | 2 lines +Changed paths: + M /trunk/tests/tdiv_ui.c + +[tests/tdiv_ui.c] bug20180126: enable the test only when a limb fits in +an unsigned long; clarified a comment. +------------------------------------------------------------------------ +r12139 | zimmerma | 2018-01-28 09:05:30 +0000 (Sun, 28 Jan 2018) | 4 lines +Changed paths: + M /trunk/src/div_ui.c + M /trunk/tests/tdiv_ui.c + +[src/div_ui.c] fixed bug20180126 (from tdiv.c), with a complete rewrite of + mpfr_div_ui using the round and sticky bits +[tests/tdiv_ui.c] added more tests + +------------------------------------------------------------------------ +r12137 | vlefevre | 2018-01-27 03:50:48 +0000 (Sat, 27 Jan 2018) | 1 line +Changed paths: + M /trunk/tests/tdiv.c + +[tests/tdiv.c] mpfr_div bug bug20180126: also test negative values. +------------------------------------------------------------------------ +r12136 | vlefevre | 2018-01-27 03:40:19 +0000 (Sat, 27 Jan 2018) | 1 line +Changed paths: + M /trunk/tests/tdiv.c + +[tests/tdiv.c] Updated comment about mpfr_div bug bug20180126. +------------------------------------------------------------------------ +r12134 | vlefevre | 2018-01-27 03:19:43 +0000 (Sat, 27 Jan 2018) | 1 line +Changed paths: + M /trunk/tests/tdiv.c + +[tests/tdiv.c] mpfr_div bug bug20180126 was introduced by r9086. +------------------------------------------------------------------------ +r12132 | vlefevre | 2018-01-26 17:03:19 +0000 (Fri, 26 Jan 2018) | 1 line +Changed paths: + M /trunk/tests/tdiv.c + +[tests/tdiv.c] Completed r12128 test with new comments and an assert. +------------------------------------------------------------------------ +r12128 | vlefevre | 2018-01-26 15:23:39 +0000 (Fri, 26 Jan 2018) | 1 line +Changed paths: + M /trunk/tests/tdiv.c + +[tests/tdiv.c] Added test case for a mpfr_div bug of MPFR 4. +------------------------------------------------------------------------ +r12126 | vlefevre | 2018-01-25 15:17:55 +0000 (Thu, 25 Jan 2018) | 1 line +Changed paths: + M /trunk/doc/README.dev + +[doc/README.dev] Added information about symbol checking. +------------------------------------------------------------------------ +r12122 | vlefevre | 2018-01-23 09:40:06 +0000 (Tue, 23 Jan 2018) | 3 lines +Changed paths: + M /trunk/tests/tests.c + +[tests/tests.c] Mention a libtool 2.4.6 bug concerning Solaris, yielding +potential failures if a compatible MPFR version is already installed: +this MPFR library is tested instead of the one that has just been built. +------------------------------------------------------------------------ +r12117 | vlefevre | 2018-01-22 12:20:14 +0000 (Mon, 22 Jan 2018) | 1 line +Changed paths: + M /trunk/NEWS + +[NEWS] + Improved __GMP_CC and __GMP_CFLAGS retrieval. +------------------------------------------------------------------------ +r12115 | vlefevre | 2018-01-22 01:48:07 +0000 (Mon, 22 Jan 2018) | 3 lines +Changed paths: + M /trunk/configure.ac + +[configure.ac] In the CC and CFLAGS setup from gmp.h, added to the +cpp list: "clang -E"; "cl -E" and "icl -E" for Windows ICC and MSVC +(suggested by Alexander). +------------------------------------------------------------------------ +r12114 | vlefevre | 2018-01-20 13:15:43 +0000 (Sat, 20 Jan 2018) | 2 lines +Changed paths: + M /trunk/doc/README.dev + +[doc/README.dev] "To make a release": mention "make check-gmp-symbols" +and "make check-exported-symbols". +------------------------------------------------------------------------ +r12113 | vlefevre | 2018-01-20 13:11:23 +0000 (Sat, 20 Jan 2018) | 1 line +Changed paths: + M /trunk/Makefile.am + +[Makefile.am] Updated comments. +------------------------------------------------------------------------ +r12112 | vlefevre | 2018-01-20 12:59:47 +0000 (Sat, 20 Jan 2018) | 3 lines +Changed paths: + M /trunk/src/Makefile.am + +[src/Makefile.am] For check-gmp-symbols and check-exported-symbols, if +the library is not $(top_builddir)/src/.libs/libmpfr.so, these rules +do nothing instead of potentially failing. +------------------------------------------------------------------------ +r12111 | vlefevre | 2018-01-20 12:38:52 +0000 (Sat, 20 Jan 2018) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/src/Makefile.am + +Added check-exported-symbols make rule to check that MPFR does not +define symbols with a GMP reserved prefix. +------------------------------------------------------------------------ +r12108 | vlefevre | 2018-01-18 12:29:58 +0000 (Thu, 18 Jan 2018) | 1 line +Changed paths: + M /trunk/src/mp_clz_tab.c + +[src/mp_clz_tab.c] Fixed a condition (see bug mentioned at r12107). +------------------------------------------------------------------------ +r12107 | vlefevre | 2018-01-18 12:27:19 +0000 (Thu, 18 Jan 2018) | 11 lines +Changed paths: + M /trunk/src/mpfr-gmp.h + +[src/mpfr-gmp.h] Reverse-merged r11969, which yields a build failure +under MinGW when GMP is built with "--disable-shared --enable-static +--enable-assert --disable-assembly" and MPFR is built using the GMP +build. Indeed, this commit was incorrect, as if the GMP build is used, +then this is GMP's longlong.h that is used and GMP's __clz_tab version +that should be used. +The real cause of the "multiple definition of `__gmpn_clz_tab'" error +reported at + https://sympa.inria.fr/sympa/arc/mpfr/2017-12/msg00061.html +is that MPFR defines its own __gmpn_clz_tab while this is not needed +(and must not be done) when the GMP build is used. +------------------------------------------------------------------------ +r12104 | vlefevre | 2018-01-16 11:12:30 +0000 (Tue, 16 Jan 2018) | 2 lines +Changed paths: + M /trunk/doc/texinfo.tex + +Eliding mergeinfo from 'doc/texinfo.tex' (as done after a +"svn merge -c -12102 .", though this was an unrelated commit). +------------------------------------------------------------------------ +r12103 | vlefevre | 2018-01-16 11:09:03 +0000 (Tue, 16 Jan 2018) | 1 line +Changed paths: + M /trunk/TODO + +[TODO] - Decide whether multiple calls to mpfr_clear should be allowed. +------------------------------------------------------------------------ +r12102 | vlefevre | 2018-01-16 08:58:00 +0000 (Tue, 16 Jan 2018) | 1 line +Changed paths: + M /trunk/TODO + +[TODO] + Decide whether multiple calls to mpfr_clear should be allowed. +------------------------------------------------------------------------ +r12101 | vlefevre | 2018-01-13 13:57:53 +0000 (Sat, 13 Jan 2018) | 1 line +Changed paths: + M /trunk/ChangeLog + +ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v". +------------------------------------------------------------------------ r12100 | vlefevre | 2018-01-13 13:50:28 +0000 (Sat, 13 Jan 2018) | 1 line Changed paths: M /trunk/NEWS @@ -3617,7 +12399,7 @@ Changed paths: [configure.ac] Under Linux, make sure that the old dtags are used if LD_LIBRARY_PATH is defined, avoiding the following issue: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859732 - http://lists.gnu.org/archive/html/libtool/2017-05/msg00000.html + https://lists.gnu.org/archive/html/libtool/2017-05/msg00000.html (merged changeset r11587 from the 3.1 branch) ------------------------------------------------------------------------ r11586 | vlefevre | 2017-07-10 11:53:17 +0000 (Mon, 10 Jul 2017) | 1 line @@ -17533,7 +26315,7 @@ Changed paths: A /trunk/libtool-tcc-rpath.patch Added libtool-tcc-rpath.patch from - http://lists.gnu.org/archive/html/libtool-patches/2015-05/msg00000.html + https://lists.gnu.org/archive/html/libtool-patches/2015-05/msg00000.html so that tcc can be used with libtool 2.4.3 to 2.4.6. In doc/README.dev, documented how to use this patch (before a release). ------------------------------------------------------------------------ @@ -19564,8 +28346,8 @@ Changed paths: M /trunk/doc/README.dev [doc/README.dev] Completed the note about GCC's sanitizer. See - http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44786 (sanitizer) - http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60275 (no recover) + https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44786 (sanitizer) + https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60275 (no recover) ------------------------------------------------------------------------ r9043 | vlefevre | 2014-04-25 08:30:38 +0000 (Fri, 25 Apr 2014) | 1 line Changed paths: @@ -22708,7 +31490,7 @@ Changed paths: [src/mpfr-sassert.h] Get rid of annoying warnings typedef 'MPFR_ASSERT_xxx' locally defined but not used with GCC 4.8+ (better than the non-portable solution r8618). Thanks to -Jonathan Wakely: http://gcc.gnu.org/ml/gcc-help/2013-07/msg00142.html +Jonathan Wakely: https://gcc.gnu.org/ml/gcc-help/2013-07/msg00142.html ------------------------------------------------------------------------ r8624 | zimmerma | 2013-07-22 12:06:18 +0000 (Mon, 22 Jul 2013) | 4 lines Changed paths: @@ -39040,7 +47822,7 @@ Changed paths: M /trunk/tests/Makefile.am Makefile.am, tests/Makefile.am: patch from Ralf Wildenhues. -http://lists.gnu.org/archive/html/bug-automake/2009-09/msg00033.html +https://lists.gnu.org/archive/html/bug-automake/2009-09/msg00033.html ------------------------------------------------------------------------ r6475 | vlefevre | 2009-09-18 15:00:09 +0000 (Fri, 18 Sep 2009) | 1 line Changed paths: @@ -44540,7 +53322,7 @@ Changed paths: M /trunk/INSTALL INSTALL: TLS on darwin may work, but I don't know anything more. -See thread <http://gcc.gnu.org/ml/gcc/2008-12/msg00107.html>. +See thread <https://gcc.gnu.org/ml/gcc/2008-12/msg00107.html>. ------------------------------------------------------------------------ r5702 | vlefevre | 2008-12-08 16:02:29 +0000 (Mon, 08 Dec 2008) | 1 line Changed paths: @@ -44875,7 +53657,7 @@ Changed paths: configure.in: replaced $(...) quoting style by "`...`" since the former is not supported everywhere (and indeed is not used by the autotools): -http://swox.com/list-archives/gmp-bugs/2008-October/001185.html +https://gmplib.org/list-archives/gmp-bugs/2008-October/001185.html ------------------------------------------------------------------------ r5658 | vlefevre | 2008-10-29 01:21:29 +0000 (Wed, 29 Oct 2008) | 2 lines Changed paths: @@ -46666,7 +55448,7 @@ Changed paths: M /trunk/INSTALL INSTALL: updated GMP's URL (the old one no longer worked), using -https://www.gnu.org/software/gmp/ as suggested by Karl Berry (see +http://www.gnu.org/software/gmp/ as suggested by Karl Berry (see GNU policies). ------------------------------------------------------------------------ |