/
niceSOFT
/
mpfr
Обзор
Документация
Войти
/
niceSOFT
/
mpfr
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
emptycommit-12104
ChangeLog
92 131 строка
3 MB
Vincent Lefèvre
ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v".
13 янв 2018, 16:57
13 янв 2018, 16:57
7a44e51
Код
Авторство
О чём код?
------------------------------------------------------------------------ r12100 | vlefevre | 2018-01-13 13:50:28 +0000 (Sat, 13 Jan 2018) | 1 line Changed paths: M /trunk/NEWS [NEWS] Update. Prepare for new version 4.1.0. ------------------------------------------------------------------------ r12099 | vlefevre | 2018-01-13 13:43:02 +0000 (Sat, 13 Jan 2018) | 1 line Changed paths: M /trunk/doc/FAQ.html [doc] Updated FAQ.html with update-faq. ------------------------------------------------------------------------ r12092 | vlefevre | 2018-01-10 13:40:31 +0000 (Wed, 10 Jan 2018) | 1 line Changed paths: M /trunk/tests/tlgamma.c [tests/tlgamma.c] bug20180110: test the ternary value and the flags. ------------------------------------------------------------------------ r12091 | vlefevre | 2018-01-10 13:32:58 +0000 (Wed, 10 Jan 2018) | 3 lines Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] Fixed mpfr_lgamma bug for tiny negative x, in case emax < exponent of the result (the issue was an overflow in the "fast" algorithm, which made it loop with more and more working precision). ------------------------------------------------------------------------ r12090 | vlefevre | 2018-01-10 13:24:29 +0000 (Wed, 10 Jan 2018) | 1 line Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] Removed a useless cast. ------------------------------------------------------------------------ r12089 | vlefevre | 2018-01-10 13:17:50 +0000 (Wed, 10 Jan 2018) | 2 lines Changed paths: M /trunk/tests/tlgamma.c [tests/tlgamma.c] Added a test case for a bug found from the tgeneric change done in r12088. ------------------------------------------------------------------------ r12088 | vlefevre | 2018-01-10 12:22:11 +0000 (Wed, 10 Jan 2018) | 5 lines Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Do several overflow/underflow tests instead of 1, and this for each precision. This allows one to detect the mpfr_ai bug found and fixed on 2018-01-07 (with 32-bit *and* 64-bit ABI): https://sympa.inria.fr/sympa/arc/mpfr/2018-01/msg00001.html Moreover, this makes tlgamma loop with a 32-bit ABI (x86). To be fixed. ------------------------------------------------------------------------ r12087 | vlefevre | 2018-01-10 11:49:52 +0000 (Wed, 10 Jan 2018) | 1 line Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Added comments for tests in a reduced exponent range. ------------------------------------------------------------------------ r12085 | vlefevre | 2018-01-10 10:12:19 +0000 (Wed, 10 Jan 2018) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] About r12084, simplified the code, without needing strncpy. ------------------------------------------------------------------------ r12084 | vlefevre | 2018-01-10 09:59:30 +0000 (Wed, 10 Jan 2018) | 3 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Fixed strncpy usage, in particular to ensure a null-terminated string (bug detected by gcc-snapshot 20180107-1 under Debian with -Werror=stringop-truncation). ------------------------------------------------------------------------ r12082 | vlefevre | 2018-01-09 14:44:43 +0000 (Tue, 09 Jan 2018) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Fixed the @GMPabs macro in tex mode: due to the use of the OT1 encoding, the pipe character "|" was giving a wide dash. ------------------------------------------------------------------------ r12081 | vlefevre | 2018-01-09 14:06:43 +0000 (Tue, 09 Jan 2018) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] For mpfr_custom_get_exp, restored the spec for NaN, infinity and zero, with more details. ------------------------------------------------------------------------ r12080 | vlefevre | 2018-01-09 13:51:51 +0000 (Tue, 09 Jan 2018) | 5 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved description of mpfr_custom_init_set. Note: For the versions of the manual generated with TeX (PDF/DVI/PS), "|kind|" appears as "—kind—", and the description of mpfr_ai has the same issue (since its introduction in MPFR 3.0.0). The cause is unclear, and this will be fixed later. ------------------------------------------------------------------------ r12079 | zimmerma | 2018-01-09 13:28:21 +0000 (Tue, 09 Jan 2018) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] for mpfr_custom_get_exp, explain the significand is considered in [1/2,1) as for mpfr_get_exp ------------------------------------------------------------------------ r12076 | vlefevre | 2018-01-09 12:19:03 +0000 (Tue, 09 Jan 2018) | 4 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/doc/texinfo.tex [doc] * texinfo.tex: update to the latest version 2018-01-09.11, which supports @var with script font size without any drawback. * mpfr.texi: replaced the now useless @svar by @var. ------------------------------------------------------------------------ r12075 | vlefevre | 2018-01-07 20:45:25 +0000 (Sun, 07 Jan 2018) | 1 line Changed paths: M /trunk/tests/tai.c [tests/tai.c] In bug20180107, also check the flags. ------------------------------------------------------------------------ r12074 | vlefevre | 2018-01-07 20:06:18 +0000 (Sun, 07 Jan 2018) | 1 line Changed paths: M /trunk/src/ai.c [src/ai.c] Really fixed the bug. ------------------------------------------------------------------------ r12073 | vlefevre | 2018-01-07 19:51:21 +0000 (Sun, 07 Jan 2018) | 1 line Changed paths: M /trunk/src/check.c [src/check.c] Typo. ------------------------------------------------------------------------ r12072 | zimmerma | 2018-01-07 19:51:20 +0000 (Sun, 07 Jan 2018) | 2 lines Changed paths: M /trunk/src/ai.c [src/ai.c] missing call to mpfr_check_range ------------------------------------------------------------------------ r12071 | zimmerma | 2018-01-07 19:47:02 +0000 (Sun, 07 Jan 2018) | 2 lines Changed paths: M /trunk/tests/tai.c [tests/tai.c] added test that fails on x86_64 ------------------------------------------------------------------------ r12070 | zimmerma | 2018-01-07 18:51:13 +0000 (Sun, 07 Jan 2018) | 3 lines Changed paths: M /trunk/tests/tai.c [tests/tai.c] added test for bug in mpfr_ai (see thread https://sympa.inria.fr/sympa/arc/mpfr/2018-01/msg00001.html) ------------------------------------------------------------------------ r12069 | vlefevre | 2018-01-03 10:58:06 +0000 (Wed, 03 Jan 2018) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r12068 | vlefevre | 2018-01-03 10:56:21 +0000 (Wed, 03 Jan 2018) | 2 lines Changed paths: M /trunk/tools/ck-mparam [tools/ck-mparam] In the copyright notice, just keep the year 2011 since this file is not part of the tarball (just used by mpfrlint). ------------------------------------------------------------------------ r12067 | vlefevre | 2018-01-03 10:53:21 +0000 (Wed, 03 Jan 2018) | 6 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/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/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c M /trunk/src/amd/amdfam10/mparam.h M /trunk/src/amd/athlon/mparam.h M /trunk/src/amd/k8/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/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_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/hppa/mparam.h M /trunk/src/hypot.c M /trunk/src/ia64/mparam.h 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_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/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/powerpc32/mparam.h 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_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/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/core2/mparam.h M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/corei5/mparam.h M /trunk/src/x86_64/pentium4/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/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_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/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/tround_prec.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/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/ck-clz_tab M /trunk/tools/ck-copyright-notice 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 2018 with perl -pi -e 's/ (\d{4}-)?(2017)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh, reverting the ck-mparam and timings-mpfr.c files and the mbench directory under "tools" (not distributed with MPFR). Removed 2017 from the example in the doc/README.dev file. ------------------------------------------------------------------------ r12066 | zimmerma | 2018-01-03 10:20:46 +0000 (Wed, 03 Jan 2018) | 2 lines Changed paths: M /trunk/src/zeta.c [src/zeta.c] added comments and FIXME ------------------------------------------------------------------------ r12056 | vlefevre | 2017-12-25 11:15:53 +0000 (Mon, 25 Dec 2017) | 1 line Changed paths: M /trunk/NEWS [NEWS] Minor corrections for GNU MPFR 4.0.0. ------------------------------------------------------------------------ r12055 | vlefevre | 2017-12-23 21:38:16 +0000 (Sat, 23 Dec 2017) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Added a note about gettimeofday() and a cast. ------------------------------------------------------------------------ r12054 | vlefevre | 2017-12-23 21:17:25 +0000 (Sat, 23 Dec 2017) | 2 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] Fixed a potential integer overflow from r12053 with GMP_CHECK_RANDOMIZE=1, in particular under a 32-bit Linux. ------------------------------------------------------------------------ r12053 | zimmerma | 2017-12-23 17:08:06 +0000 (Sat, 23 Dec 2017) | 2 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] decrease probability of collision with random seed ------------------------------------------------------------------------ r12048 | zimmerma | 2017-12-23 08:46:50 +0000 (Sat, 23 Dec 2017) | 3 lines Changed paths: M /trunk/src/exp_2.c M /trunk/src/subnormal.c [src/exp_2.c] fixed bug from previous commit [src/subnormal.c] added assert ------------------------------------------------------------------------ r12047 | zimmerma | 2017-12-23 08:38:01 +0000 (Sat, 23 Dec 2017) | 2 lines Changed paths: M /trunk/tests/texp.c [tests/texp.c] added test for new bug ------------------------------------------------------------------------ r12045 | vlefevre | 2017-12-22 11:01:53 +0000 (Fri, 22 Dec 2017) | 1 line Changed paths: M /trunk/tests/tlngamma.c Removed trailing whitespace. ------------------------------------------------------------------------ r12044 | vlefevre | 2017-12-22 10:54:49 +0000 (Fri, 22 Dec 2017) | 1 line Changed paths: M /trunk/src/subnormal.c [src/subnormal.c] Replaced FIXME. ------------------------------------------------------------------------ r12043 | vlefevre | 2017-12-22 10:48:08 +0000 (Fri, 22 Dec 2017) | 1 line Changed paths: M /trunk/tests/tj1.c [tests/tj1.c] Avoid a potential integer overflow. ------------------------------------------------------------------------ r12042 | zimmerma | 2017-12-22 08:10:22 +0000 (Fri, 22 Dec 2017) | 2 lines Changed paths: M /trunk/src/subnormal.c [src/subnormal.c] added FIXME ------------------------------------------------------------------------ r12041 | zimmerma | 2017-12-22 08:06:04 +0000 (Fri, 22 Dec 2017) | 2 lines Changed paths: M /trunk/src/sin.c [src/sin.c] simplified code with RNDA ------------------------------------------------------------------------ r12040 | zimmerma | 2017-12-22 08:03:49 +0000 (Fri, 22 Dec 2017) | 2 lines Changed paths: M /trunk/src/hypot.c [src/hypot.c] mimic mpfr_round_near_x ------------------------------------------------------------------------ r12039 | zimmerma | 2017-12-22 07:54:59 +0000 (Fri, 22 Dec 2017) | 2 lines Changed paths: M /trunk/tests/tj1.c [tests/tj1.c] exercise corner case ------------------------------------------------------------------------ r12038 | zimmerma | 2017-12-22 07:38:25 +0000 (Fri, 22 Dec 2017) | 2 lines Changed paths: M /trunk/tests/tj1.c [tests/tj1.c] added test for j1(z) with small z ------------------------------------------------------------------------ r12037 | zimmerma | 2017-12-22 07:36:41 +0000 (Fri, 22 Dec 2017) | 2 lines Changed paths: M /trunk/src/hypot.c [src/hypot.c] fixed issue with overflow flag not correctly set ------------------------------------------------------------------------ r12036 | vlefevre | 2017-12-21 09:17:04 +0000 (Thu, 21 Dec 2017) | 2 lines Changed paths: M /trunk/src/next.c [src/next.c] Reverted r12035 as per documentation, which follows IEEE 754 (with the usual special treatment for the single NaN). ------------------------------------------------------------------------ r12035 | zimmerma | 2017-12-21 07:37:30 +0000 (Thu, 21 Dec 2017) | 3 lines Changed paths: M /trunk/src/next.c M /trunk/tests/thypot.c [src/next.c] fixed nextinf (missing overflow flag) [tests/thypot.c] removed debug call to mpfr_dump in previous commit ------------------------------------------------------------------------ r12034 | zimmerma | 2017-12-21 07:29:57 +0000 (Thu, 21 Dec 2017) | 2 lines Changed paths: M /trunk/tests/thypot.c [tests/thypot.c] another fix... ------------------------------------------------------------------------ r12033 | zimmerma | 2017-12-21 07:21:29 +0000 (Thu, 21 Dec 2017) | 2 lines Changed paths: M /trunk/tests/thypot.c [tests/thypot.c] fixed bug20171221() ------------------------------------------------------------------------ r12032 | zimmerma | 2017-12-21 07:12:14 +0000 (Thu, 21 Dec 2017) | 2 lines Changed paths: M /trunk/tests/thypot.c [tests/thypot.c] new failing test ------------------------------------------------------------------------ r12031 | zimmerma | 2017-12-21 06:18:05 +0000 (Thu, 21 Dec 2017) | 4 lines Changed paths: M /trunk/src/lngamma.c M /trunk/tests/tlngamma.c [src/lngamma.c] fixed bug when u=0 in case z0 < 1 [tests/tlngamma.c] fixed test case which was wrong ------------------------------------------------------------------------ r12030 | zimmerma | 2017-12-20 20:28:49 +0000 (Wed, 20 Dec 2017) | 2 lines Changed paths: M /trunk/tests/tlngamma.c [tests/tlngamma.c] added test for new failure ------------------------------------------------------------------------ r12029 | zimmerma | 2017-12-20 10:48:26 +0000 (Wed, 20 Dec 2017) | 2 lines Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] fixed bug found in previous commit ------------------------------------------------------------------------ r12028 | zimmerma | 2017-12-20 10:40:34 +0000 (Wed, 20 Dec 2017) | 2 lines Changed paths: M /trunk/tests/tlngamma.c [tests/tlngamma.c] added failing test with mpfr-4.0.0-rc2 ------------------------------------------------------------------------ r12025 | vlefevre | 2017-12-20 01:54:18 +0000 (Wed, 20 Dec 2017) | 1 line Changed paths: M /trunk/INSTALL M /trunk/VERSION M /trunk/configure.ac M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h M /trunk/src/version.c Updated version to 4.1.0-dev again. ------------------------------------------------------------------------ r12023 | vlefevre | 2017-12-20 01:52:21 +0000 (Wed, 20 Dec 2017) | 1 line Changed paths: M /trunk/INSTALL M /trunk/VERSION M /trunk/configure.ac M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h M /trunk/src/version.c Updated version to 4.0.0-rc2 for an attempt to replace the 4.0 branch. ------------------------------------------------------------------------ r12022 | vlefevre | 2017-12-20 01:34:49 +0000 (Wed, 20 Dec 2017) | 1 line Changed paths: M /trunk/src/fma.c [src/fma.c] Minor improvements. Added an assert. ------------------------------------------------------------------------ r12021 | vlefevre | 2017-12-20 01:17:36 +0000 (Wed, 20 Dec 2017) | 1 line Changed paths: M /trunk/src/tanh.c [src/tanh.c] GNU coding style. ------------------------------------------------------------------------ r12020 | vlefevre | 2017-12-20 01:13:09 +0000 (Wed, 20 Dec 2017) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Reindentation. ------------------------------------------------------------------------ r12019 | vlefevre | 2017-12-20 01:10:54 +0000 (Wed, 20 Dec 2017) | 1 line Changed paths: M /trunk/src/exp2.c [src/exp2.c] Replaced two MPFR_ASSERTN by MPFR_STAT_STATIC_ASSERT. ------------------------------------------------------------------------ r12018 | vlefevre | 2017-12-19 16:30:09 +0000 (Tue, 19 Dec 2017) | 2 lines Changed paths: M /trunk/src/exp2.c [src/exp2.c] Fixed the double rounding problem in an underflow case, triggered by the test added in r12017. ------------------------------------------------------------------------ r12017 | vlefevre | 2017-12-19 16:13:48 +0000 (Tue, 19 Dec 2017) | 2 lines Changed paths: M /trunk/tests/texp2.c [tests/texp2.c] Added test of underflow in MPFR_RNDN with exact value close to 2^(emin-2). Currently fails due to double rounding. ------------------------------------------------------------------------ r12016 | vlefevre | 2017-12-19 14:45:00 +0000 (Tue, 19 Dec 2017) | 3 lines Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] Added new non-regression test: the was the real cause of the ttanh failure in r11993 without the tanh.c fix in this same commit. But this mpfr_div was fixed in r12002. ------------------------------------------------------------------------ r12015 | vlefevre | 2017-12-19 08:56:43 +0000 (Tue, 19 Dec 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added a comment about a bug/limitation in makeinfo 5.2. ------------------------------------------------------------------------ r12014 | vlefevre | 2017-12-19 08:21:55 +0000 (Tue, 19 Dec 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved svar macro for nottex, in case it is used in the future. ------------------------------------------------------------------------ r12013 | vlefevre | 2017-12-19 08:20:18 +0000 (Tue, 19 Dec 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Define svar even for nottex, though it is not used (attempt to avoid a failure with makeinfo 5.2). ------------------------------------------------------------------------ r12012 | zimmerma | 2017-12-19 06:51:47 +0000 (Tue, 19 Dec 2017) | 3 lines Changed paths: M /trunk/src/fma.c M /trunk/tests/tfma.c [src/fma.c] fixed bug in mpfr_fma [tests/tfma.c] added non-regression test ------------------------------------------------------------------------ r12011 | vlefevre | 2017-12-19 03:38:58 +0000 (Tue, 19 Dec 2017) | 2 lines Changed paths: M /trunk/src/exp2.c [src/exp2.c] Update concerning the underflow/overflow cases. Still incomplete. ------------------------------------------------------------------------ r12010 | vlefevre | 2017-12-19 02:32:33 +0000 (Tue, 19 Dec 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated a comment. ------------------------------------------------------------------------ r12009 | vlefevre | 2017-12-19 02:29:51 +0000 (Tue, 19 Dec 2017) | 8 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/doc/texinfo.tex [doc] * texinfo.tex: update to the latest version 2017-12-18.20, which reverts the change done in 2017-12-01.13 attempting to support @var with script font size (e.g. in exponent); but this change didn't work correctly. * mpfr.texi: introduced a @svar macro to handle this case. It currently disables the use of @var, the other workaround being worse. ------------------------------------------------------------------------ r12008 | vlefevre | 2017-12-18 17:59:35 +0000 (Mon, 18 Dec 2017) | 1 line Changed paths: M /trunk/src/mul.c Removed trailing whitespace. ------------------------------------------------------------------------ r12007 | vlefevre | 2017-12-18 17:05:28 +0000 (Mon, 18 Dec 2017) | 2 lines Changed paths: M /trunk/doc/algorithms.tex M /trunk/src/tanh.c [doc/algorithms.tex,src/tanh.c] Fixed the bound, in particular from the recent improvements in the error analysis. ------------------------------------------------------------------------ r12006 | zimmerma | 2017-12-18 16:21:36 +0000 (Mon, 18 Dec 2017) | 3 lines Changed paths: M /trunk/src/mul.c [src/mul.c] we should compare the smaller size and not the larger one to MPFR_MUL_THRESHOLD or MPFR_SQR_THRESHOLD for Mulders' short product ------------------------------------------------------------------------ r12005 | zimmerma | 2017-12-18 16:17:19 +0000 (Mon, 18 Dec 2017) | 3 lines Changed paths: M /trunk/src/mul.c M /trunk/tests/tmul_d.c [src/mul.c] with Mulders', convert RNDF to RNDZ [tests/tmul_d.c] added a non-regression test ------------------------------------------------------------------------ r12004 | vlefevre | 2017-12-18 16:04:59 +0000 (Mon, 18 Dec 2017) | 1 line Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] mpfr_tanh: corrected bounds (thanks to Paul). ------------------------------------------------------------------------ r12003 | vlefevre | 2017-12-18 15:54:05 +0000 (Mon, 18 Dec 2017) | 1 line Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] mpfr_tanh: detailed some inequalities. ------------------------------------------------------------------------ r12002 | zimmerma | 2017-12-18 15:06:45 +0000 (Mon, 18 Dec 2017) | 4 lines Changed paths: M /trunk/src/div.c M /trunk/tests/tdiv.c M /trunk/tests/ttan.c [src/div.c] fixed bug in mpfr_div2_approx() [tests/tdiv.c] added non-regression test [tests/ttan.c] added test triggering bug in mpfr_div2_approx() ------------------------------------------------------------------------ r12001 | vlefevre | 2017-12-18 14:44:33 +0000 (Mon, 18 Dec 2017) | 1 line Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] mpfr_tanh: resolved both FIXME's. ------------------------------------------------------------------------ r12000 | vlefevre | 2017-12-18 13:37:07 +0000 (Mon, 18 Dec 2017) | 4 lines Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] mpfr_tanh: corrected a part of the error analysis (2^k+4 ≤ |theta_4|^(−1/2) was not necessarily true, since theta_4 can be very small). As a consequence, the lemma can be simplified/improved (first FIXME). Added a second FIXME on a condition that is not checked. ------------------------------------------------------------------------ r11999 | vlefevre | 2017-12-18 12:22:26 +0000 (Mon, 18 Dec 2017) | 1 line Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] mpfr_tanh: missing absolute value; added a \cdot. ------------------------------------------------------------------------ r11998 | vlefevre | 2017-12-18 12:15:31 +0000 (Mon, 18 Dec 2017) | 1 line Changed paths: M /trunk/src/exp2.c M /trunk/tests/texp2.c Removed trailing whitespace. ------------------------------------------------------------------------ r11997 | vlefevre | 2017-12-18 12:08:36 +0000 (Mon, 18 Dec 2017) | 1 line Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] Added another \cdot for readability. ------------------------------------------------------------------------ r11996 | zimmerma | 2017-12-18 12:01:41 +0000 (Mon, 18 Dec 2017) | 2 lines Changed paths: M /trunk/src/exp2.c [src/exp2.c] added FIXME ------------------------------------------------------------------------ r11995 | vlefevre | 2017-12-18 11:55:11 +0000 (Mon, 18 Dec 2017) | 7 lines Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] Minor corrections for hyperbolic tangent function: * "e" had two different meanings (BTW, the constant e should actually be written \mathrm{e} everywhere in the document). * Use \left...\right instead of |...| when it contains an expression starting with \log (the latter was confusing pdflatex, which added a spurious space before \log). * Added some \cdot for better readability. ------------------------------------------------------------------------ r11994 | zimmerma | 2017-12-18 11:36:15 +0000 (Mon, 18 Dec 2017) | 3 lines Changed paths: M /trunk/src/exp2.c M /trunk/tests/texp2.c [src/exp2.c] fixed bug near underflow [tests/texp2.c] added non-regression test ------------------------------------------------------------------------ r11993 | zimmerma | 2017-12-18 08:51:06 +0000 (Mon, 18 Dec 2017) | 9 lines Changed paths: M /trunk/doc/algorithms.tex M /trunk/src/tanh.c M /trunk/tests/ttanh.c [tests/ttanh.c] added test for bug in mpfr_tanh [doc/algorithms.tex] fixed error analysis for mpfr_tanh [src/tanh.c] fixed error analysis Note after r12016: Even though mpfr_tanh was incorrect, the failure of the test added in ttanh.c was actually *only* due to a bug in the mpfr_div code specific to the trunk (fixed in r12002), i.e. this was not a non-regression test for the mpfr_tanh bug itself (in particular, this test does not introduce a failure in the 3.1 branch, which still has the same incorrect mpfr_tanh code but a correct mpfr_div). ------------------------------------------------------------------------ r11991 | vlefevre | 2017-12-18 00:04:58 +0000 (Mon, 18 Dec 2017) | 1 line Changed paths: M /trunk/INSTALL M /trunk/VERSION M /trunk/configure.ac M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h M /trunk/src/version.c Updated version to 4.1.0-dev again. ------------------------------------------------------------------------ r11989 | vlefevre | 2017-12-17 23:57:39 +0000 (Sun, 17 Dec 2017) | 1 line Changed paths: M /trunk/INSTALL M /trunk/VERSION M /trunk/configure.ac M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h M /trunk/src/version.c Updated version to 4.0.0-rc2 for an attempt to replace the 4.0 branch. ------------------------------------------------------------------------ r11988 | vlefevre | 2017-12-17 23:52:26 +0000 (Sun, 17 Dec 2017) | 1 line Changed paths: M /trunk/ChangeLog ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v". ------------------------------------------------------------------------ r11987 | zimmerma | 2017-12-17 16:23:21 +0000 (Sun, 17 Dec 2017) | 2 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] fix bug in mpfr_add1sp3() in case d=GMP_NUMB_BITS ------------------------------------------------------------------------ r11986 | zimmerma | 2017-12-17 15:16:48 +0000 (Sun, 17 Dec 2017) | 14 lines Changed paths: M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] added test for new bug (still to be fixed): Seed GMP_CHECK_RANDOMIZE=1514385177 (include this in bug reports) add1 & add1sp return different values for MPFR_RNDN Prec_a = 137, Prec_b = 137, Prec_c = 137 B = 0.11111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000E-66 C = 0.11111111111111111111111111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000110000E-2 add1 : 0.10000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000001000E-1 add1sp: 0.11111111111111111111111111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000010000E-2 Inexact sp = 0 | Inexact = 0 Flags sp = 8 | Flags = 8 add1sp.c:89: MPFR assertion failed: 0 ------------------------------------------------------------------------ r11981 | vlefevre | 2017-12-15 02:44:49 +0000 (Fri, 15 Dec 2017) | 1 line Changed paths: M /trunk/src/root.c [src/root.c] Minor comment correction. ------------------------------------------------------------------------ r11980 | vlefevre | 2017-12-15 02:36:50 +0000 (Fri, 15 Dec 2017) | 4 lines Changed paths: M /trunk/src/root.c M /trunk/tests/troot.c [src/root.c] Completed fix from r11978, as x=-1 was affected too. Also added comments explaining that mpfr_root_aux assumes |x| ≠ 1 and why. Hence the need of a filter on |x| = 1. [tests/troot.c] Added test for x = -1. ------------------------------------------------------------------------ r11979 | vlefevre | 2017-12-15 01:44:11 +0000 (Fri, 15 Dec 2017) | 1 line Changed paths: M /trunk/tests/troot.c [tests/troot.c] Replaced mpfr_root by TF (like in the other tests). ------------------------------------------------------------------------ r11978 | zimmerma | 2017-12-14 10:22:32 +0000 (Thu, 14 Dec 2017) | 3 lines Changed paths: M /trunk/src/root.c M /trunk/tests/troot.c [src/root.c] fixed bug when x=1 [tests/troot.c] added non-regression test ------------------------------------------------------------------------ r11977 | vlefevre | 2017-12-14 07:57:05 +0000 (Thu, 14 Dec 2017) | 2 lines Changed paths: M /trunk/tests/tsub1sp.c [tests/tsub1sp.c] Corrected a type. And mpfr_equal_p being a predicate function, it's better to use Boolean operators on it. ------------------------------------------------------------------------ r11976 | zimmerma | 2017-12-14 07:35:35 +0000 (Thu, 14 Dec 2017) | 2 lines Changed paths: M /trunk/tests/tsub1sp.c [tests/tsub1sp.c] added a generic test for bug20171213() ------------------------------------------------------------------------ r11975 | vlefevre | 2017-12-14 02:17:05 +0000 (Thu, 14 Dec 2017) | 7 lines Changed paths: M /trunk/src/mul.c M /trunk/src/sqr.c [src/{mul.c,sqr.c}] Minor changes, making code similar to sub1sp.c. Checked with grep -A 1 'sb *>>' src/*.c that the bug fixed in r11974 does not occur in other parts of the code. BTW, there is much duplicate code, as shown by the grep output, and using macros could have avoided that, making bugs easier to reproduce (since a same bug would be duplicate several times). ------------------------------------------------------------------------ r11974 | zimmerma | 2017-12-13 21:18:23 +0000 (Wed, 13 Dec 2017) | 3 lines Changed paths: M /trunk/src/sub1sp.c M /trunk/tests/tsub1sp.c [src/sub1sp.c] fixed bug in mpfr_sub1sp2() [tests/tsub1sp.c] added non-regression test ------------------------------------------------------------------------ r11973 | vlefevre | 2017-12-13 18:00:00 +0000 (Wed, 13 Dec 2017) | 1 line Changed paths: M /trunk/src/mpf2mpfr.h [src/mpf2mpfr.h] Added a comment. ------------------------------------------------------------------------ r11972 | zimmerma | 2017-12-13 17:25:07 +0000 (Wed, 13 Dec 2017) | 2 lines Changed paths: M /trunk/src/mpf2mpfr.h [src/mpf2mpfr.h] missing mpf_inits/mpf_clears ------------------------------------------------------------------------ r11969 | zimmerma | 2017-12-13 07:05:01 +0000 (Wed, 13 Dec 2017) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] redefine __clz_tab also with gmp-build ------------------------------------------------------------------------ r11968 | vlefevre | 2017-12-12 22:20:41 +0000 (Tue, 12 Dec 2017) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Improved error message. ------------------------------------------------------------------------ r11967 | vlefevre | 2017-12-12 15:38:37 +0000 (Tue, 12 Dec 2017) | 1 line Changed paths: M /trunk/tests/talloc.c [tests/talloc.c] Added a comment about why talloc requires ISO C99. ------------------------------------------------------------------------ r11966 | vlefevre | 2017-12-12 15:35:34 +0000 (Tue, 12 Dec 2017) | 4 lines Changed paths: M /trunk/src/mpfr-cvers.h [src/mpfr-cvers.h] Removed a useless test for __MPFR_STDC, as one just needs to check whether we have a C99, C11, etc. implementation (if not done via a configure test). Particular incompatibilities with the C90 standard should always be checked via a configure test. ------------------------------------------------------------------------ r11965 | vlefevre | 2017-12-12 12:04:01 +0000 (Tue, 12 Dec 2017) | 1 line Changed paths: M /trunk/tests [tests] Added *.exe to svn:ignore property (files from MinGW builds). ------------------------------------------------------------------------ r11964 | zimmerma | 2017-12-12 11:07:36 +0000 (Tue, 12 Dec 2017) | 2 lines Changed paths: M /trunk/tools/timings-mpfr.c [tools/timings-mpfr.c] always use clock() [now very accurate under Linux] ------------------------------------------------------------------------ r11963 | vlefevre | 2017-12-12 10:15:50 +0000 (Tue, 12 Dec 2017) | 1 line Changed paths: M /trunk/tools/timings-mpfr.c [tools/timings-mpfr.c] Updated years in copyright notice. ------------------------------------------------------------------------ r11962 | vlefevre | 2017-12-12 10:14:08 +0000 (Tue, 12 Dec 2017) | 1 line Changed paths: M /trunk/tools/timings-mpfr.c [tools/timings-mpfr.c] Fixed prototypes. ------------------------------------------------------------------------ r11961 | vlefevre | 2017-12-12 10:12:48 +0000 (Tue, 12 Dec 2017) | 2 lines Changed paths: M /trunk/tools/timings-mpfr.c [tools/timings-mpfr.c] Added a defined(_MSC_VER). But clock() is standard, so why not always using it? ------------------------------------------------------------------------ r11960 | vlefevre | 2017-12-12 01:17:00 +0000 (Tue, 12 Dec 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Correction. ------------------------------------------------------------------------ r11959 | vlefevre | 2017-12-12 01:11:31 +0000 (Tue, 12 Dec 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Made formatting consistent (same as configure --help). ------------------------------------------------------------------------ r11958 | vlefevre | 2017-12-12 00:58:43 +0000 (Tue, 12 Dec 2017) | 5 lines Changed paths: M /trunk/tests/reuse.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tsum.c Completed r11955: There were also DEBUG macros under the "tests" directory. Since such macros can still be useful in case a test failure, replaced them by MPFR_DEBUG to avoid issues with CI builds that define the DEBUG macro. But an environment variable would be a better solution (see MPFR_DEBUG_BADCASES as an example). ------------------------------------------------------------------------ r11957 | vlefevre | 2017-12-12 00:44:45 +0000 (Tue, 12 Dec 2017) | 1 line Changed paths: M /trunk/TODO [TODO] Removed item on the DEBUG macro (done in r11955). ------------------------------------------------------------------------ r11956 | zimmerma | 2017-12-11 17:36:36 +0000 (Mon, 11 Dec 2017) | 3 lines Changed paths: M /trunk/doc/README.dev M /trunk/src/mpfr-impl.h M /trunk/tests/tgeneric.c DEBUG_TGENERIC -> MPFR_DEBUG_TGENERIC XDEBUG -> MPFR_DISABLE_IEEE_FLOATS ------------------------------------------------------------------------ r11955 | zimmerma | 2017-12-11 17:02:05 +0000 (Mon, 11 Dec 2017) | 3 lines Changed paths: M /trunk/src/add1sp.c M /trunk/src/div.c M /trunk/src/exp.c M /trunk/src/exp_2.c M /trunk/src/mpfr-impl.h M /trunk/src/sub1.c M /trunk/src/sub1sp.c M /trunk/src/zeta.c get rid of DEBUG macro (but keep corresponding commands in comment to help understanding of the code and debugging) ------------------------------------------------------------------------ r11954 | vlefevre | 2017-12-11 15:33:31 +0000 (Mon, 11 Dec 2017) | 1 line Changed paths: M /trunk/tests/tget_q.c [tests/tget_q.c] Removed trailing whitespace. ------------------------------------------------------------------------ r11953 | zimmerma | 2017-12-10 07:42:03 +0000 (Sun, 10 Dec 2017) | 2 lines Changed paths: M /trunk/tests/tget_q.c [tests/tget_q.c] replaced MPFR_ASSERTN(0) by exit(1) ------------------------------------------------------------------------ r11952 | vlefevre | 2017-12-10 02:02:43 +0000 (Sun, 10 Dec 2017) | 2 lines Changed paths: M /trunk/src/get_q.c [src/get_q.c] Optimization of r11951 suggested by Trevor Spiteri: https://sympa.inria.fr/sympa/arc/mpfr/2017-12/msg00040.html ------------------------------------------------------------------------ r11951 | zimmerma | 2017-12-09 21:59:21 +0000 (Sat, 09 Dec 2017) | 3 lines Changed paths: M /trunk/src/get_q.c M /trunk/tests/tget_q.c [src/get_q.c] make result of mpfr_get_q in canonical form [tests/tget_q.c] added non-regression test ------------------------------------------------------------------------ r11950 | zimmerma | 2017-12-09 21:46:01 +0000 (Sat, 09 Dec 2017) | 2 lines Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] replace call to __gmpfr_ceil_log2 by __gmpfr_int_ceil_log2 ------------------------------------------------------------------------ r11949 | vlefevre | 2017-12-09 11:18:20 +0000 (Sat, 09 Dec 2017) | 1 line Changed paths: M /trunk/TODO [TODO] Rename the DEBUG macro to MPFR_DEBUG? ------------------------------------------------------------------------ r11945 | vlefevre | 2017-12-08 16:15:36 +0000 (Fri, 08 Dec 2017) | 2 lines Changed paths: M /trunk/src/Makefile.am [src/Makefile.am] Also distribute generic/coverage/mparam.h (at least useful for testing the distributed tarballs). ------------------------------------------------------------------------ r11942 | vlefevre | 2017-12-08 14:53:52 +0000 (Fri, 08 Dec 2017) | 1 line Changed paths: M /trunk/doc/FAQ.html [doc] Updated FAQ.html with update-faq. ------------------------------------------------------------------------ r11939 | vlefevre | 2017-12-08 14:30:37 +0000 (Fri, 08 Dec 2017) | 1 line Changed paths: M /trunk/doc/FAQ.html [doc] Updated FAQ.html with update-faq. ------------------------------------------------------------------------ r11934 | vlefevre | 2017-12-08 13:56:42 +0000 (Fri, 08 Dec 2017) | 5 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": * Note that this needs to be done in a branch. * Swapped (1) and (2), in particular because the coverage might be different in -dev versions and it is better to give results closer to the release. ------------------------------------------------------------------------ r11933 | vlefevre | 2017-12-08 13:40:19 +0000 (Fri, 08 Dec 2017) | 1 line Changed paths: M /trunk/INSTALL M /trunk/VERSION M /trunk/configure.ac M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h M /trunk/src/version.c Updated version to 4.1.0-dev. ------------------------------------------------------------------------ r11931 | vlefevre | 2017-12-08 13:17:51 +0000 (Fri, 08 Dec 2017) | 1 line Changed paths: M /trunk/ChangeLog ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v". ------------------------------------------------------------------------ r11930 | vlefevre | 2017-12-08 13:09:08 +0000 (Fri, 08 Dec 2017) | 2 lines Changed paths: D /trunk/tests/timings-mpfr.c A /trunk/tools/timings-mpfr.c (from /trunk/tests/timings-mpfr.c:11929) Moved tests/timings-mpfr.c into directory "tools" as it is not part of the test suite. ------------------------------------------------------------------------ r11929 | vlefevre | 2017-12-07 15:10:29 +0000 (Thu, 07 Dec 2017) | 2 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] Removed FIXME about the sign bit of NaN: done in r11910 and r11920 (documentation + tests). ------------------------------------------------------------------------ r11928 | vlefevre | 2017-12-07 14:58:38 +0000 (Thu, 07 Dec 2017) | 4 lines Changed paths: M /trunk/src/div.c M /trunk/src/mul.c M /trunk/src/sqr.c M /trunk/src/sqrt.c M /trunk/src/sub1sp.c [src] Replaced some "return 0" by "MPFR_RET (0)" (the generated code is the same as shown by gcc, thanks to an obvious optimization; this is semantically better, which could help provers, and would allow code instrumentation in the future, if need be). ------------------------------------------------------------------------ r11927 | zimmerma | 2017-12-06 19:54:25 +0000 (Wed, 06 Dec 2017) | 2 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr-mini-gmp.h M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c got rid of mpz_dump (undocumented in GMP) ------------------------------------------------------------------------ r11926 | zimmerma | 2017-12-06 17:14:27 +0000 (Wed, 06 Dec 2017) | 2 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c [src/mpfr-mini-gmp.c] updated with GMP 6.1.2 ------------------------------------------------------------------------ r11925 | vlefevre | 2017-12-06 17:01:14 +0000 (Wed, 06 Dec 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Corrected a Texinfo typography issue. ------------------------------------------------------------------------ r11924 | vlefevre | 2017-12-06 16:45:15 +0000 (Wed, 06 Dec 2017) | 2 lines Changed paths: M /trunk/src/pool.c [src/pool.c] Updated description. Corrected copyright years as the pool code itself was introduced in 2014. ------------------------------------------------------------------------ r11923 | vlefevre | 2017-12-06 16:41:54 +0000 (Wed, 06 Dec 2017) | 2 lines Changed paths: M /trunk/tests/timings-mpfr.c [tests/timings-mpfr.c] Removed trailing whitespace, untabified, changed GMP_RNDN to MPFR_RNDN. ------------------------------------------------------------------------ r11922 | vlefevre | 2017-12-06 16:34:16 +0000 (Wed, 06 Dec 2017) | 15 lines Changed paths: M /trunk/NEWS M /trunk/doc/README.dev M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am M /trunk/src/free_cache.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h A /trunk/src/pool.c (from /trunk/src/free_cache.c:11921) Cleanup and fixes for the mpz_t pool. * Split src/free_cache.c to itself and a new source file src/pool.c containing pool related code. * src/mpfr-impl.h, src/pool.c: cleanup and fixes. In particular: - renamed MPFR_MY_MPZ_INIT to MPFR_POOL_NENTRIES; - no longer use GMP's symbols __gmpz_init, etc. directly; - improved the condition for mpfr_mpz_init2; - fixed the condition in mpfr_mpz_clear (we want to consider the allocated size, not the size of the current number). * src/Makefile.am: added pool.c. * src/mpfr.h: added mpfr_free_pool prototype. * doc/mpfr.texi: updated pool description in "Memory Handling"; new function mpfr_free_pool. * doc/README.dev: update due to the rename of MPFR_MY_MPZ_INIT. * NEWS: better announcement of the mpz_t pool. ------------------------------------------------------------------------ r11921 | vlefevre | 2017-12-06 14:45:08 +0000 (Wed, 06 Dec 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Small correction concerning the caches. ------------------------------------------------------------------------ r11920 | vlefevre | 2017-12-06 14:06:06 +0000 (Wed, 06 Dec 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] More details for mpfr_fpif_export and mpfr_fpif_import. ------------------------------------------------------------------------ r11919 | zimmerma | 2017-12-06 12:58:31 +0000 (Wed, 06 Dec 2017) | 2 lines Changed paths: A /trunk/tests/timings-mpfr.c [timings-mpfr.c] test file for measuring timings (added -p option) ------------------------------------------------------------------------ r11918 | vlefevre | 2017-12-06 12:45:40 +0000 (Wed, 06 Dec 2017) | 1 line Changed paths: M /trunk/INSTALL M /trunk/src/rec_sqrt.c Updated the remaining www.loria.fr URL's. ------------------------------------------------------------------------ r11917 | vlefevre | 2017-12-06 12:44:04 +0000 (Wed, 06 Dec 2017) | 1 line Changed paths: M /trunk/doc/algorithms.bib [doc/algorithms.bib] Updated URL's. ------------------------------------------------------------------------ r11916 | vlefevre | 2017-12-06 12:37:48 +0000 (Wed, 06 Dec 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] References: typography; updated a URL. ------------------------------------------------------------------------ r11914 | zimmerma | 2017-12-06 10:15:40 +0000 (Wed, 06 Dec 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [mpfr.texi] updated reference to "Modern Computer Arithmetic" ------------------------------------------------------------------------ r11913 | zimmerma | 2017-12-06 09:59:31 +0000 (Wed, 06 Dec 2017) | 2 lines Changed paths: M /trunk/src/free_cache.c [free_cache.c] limit the size of objects in the mpz_t pool ------------------------------------------------------------------------ r11912 | vlefevre | 2017-12-06 09:43:02 +0000 (Wed, 06 Dec 2017) | 3 lines Changed paths: M /trunk/src/free_cache.c [src/free_cache.c] Added a comment for the mpz_t pool, and a suggestion for mpfr_mpz_clear so that the pool will not take too much memory while keeping a possible benefit for very small precision. ------------------------------------------------------------------------ r11911 | vlefevre | 2017-12-05 23:33:58 +0000 (Tue, 05 Dec 2017) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Made box around code examples for clarity and grep. ------------------------------------------------------------------------ r11910 | vlefevre | 2017-12-05 16:17:36 +0000 (Tue, 05 Dec 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/tests/tfpif.c [doc/mpfr.texi] For mpfr_fpif_export: the sign of a NaN is stored. [tests/tfpif.c] Test the sign of NaN (in particular). ------------------------------------------------------------------------ r11909 | vlefevre | 2017-12-05 15:57:33 +0000 (Tue, 05 Dec 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated references. ------------------------------------------------------------------------ r11908 | vlefevre | 2017-12-05 15:00:52 +0000 (Tue, 05 Dec 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Update about 0 of type without signed zeros, as in mpfr_div_ui. ------------------------------------------------------------------------ r11907 | vlefevre | 2017-12-05 13:43:39 +0000 (Tue, 05 Dec 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Document the behavior of mpfr_ui_pow and mpfr_ui_pow_ui on the integer 0 (0 does not have a sign here). ------------------------------------------------------------------------ r11906 | zimmerma | 2017-12-05 10:24:20 +0000 (Tue, 05 Dec 2017) | 2 lines Changed paths: M /trunk/doc/mini-gmp [doc/mini-gmp] added information about result of "make check" ------------------------------------------------------------------------ r11905 | vlefevre | 2017-12-05 10:21:46 +0000 (Tue, 05 Dec 2017) | 1 line Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Removed old code for pre-GMP-5 versions. ------------------------------------------------------------------------ r11904 | vlefevre | 2017-12-05 10:20:06 +0000 (Tue, 05 Dec 2017) | 2 lines Changed paths: M /trunk/src/urandomb.c [src/urandomb.c] Removed an obsolete "#if __MPFR_GMP(5,0,0)" as we now require GMP 5.0+ and mp_bitcnt_t is also defined by mini-gmp. ------------------------------------------------------------------------ r11902 | vlefevre | 2017-12-05 10:01:32 +0000 (Tue, 05 Dec 2017) | 4 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Removed the code that defined mpn_copyi and mpn_copyd macros for GMP < 5, since MPFR now requires GMP 5.0+ and these functions are also defined by mini-gmp (these macros were used by mini-gmp only because mini-gmp does not define GMP_VERSION). ------------------------------------------------------------------------ r11901 | vlefevre | 2017-12-05 09:52:56 +0000 (Tue, 05 Dec 2017) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Missing parentheses around parameters in mpn_copyi and mpn_copyd macro definitions. ------------------------------------------------------------------------ r11900 | zimmerma | 2017-12-05 09:44:49 +0000 (Tue, 05 Dec 2017) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h fixed bug in replacement function for copyi and copyd (found with mini-gmp) ------------------------------------------------------------------------ r11899 | zimmerma | 2017-12-05 09:43:54 +0000 (Tue, 05 Dec 2017) | 2 lines Changed paths: M /trunk/doc/mini-gmp add --disable-shared for mini-gmp (not tested yet with dynamic linking) ------------------------------------------------------------------------ r11898 | vlefevre | 2017-12-05 09:09:16 +0000 (Tue, 05 Dec 2017) | 2 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Explain how to avoid the "... is deprecated" warning when testing a deprecated function. ------------------------------------------------------------------------ r11897 | vlefevre | 2017-12-05 08:52:43 +0000 (Tue, 05 Dec 2017) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Removed a -Wno-error=deprecated-declarations as the specific warnings are now avoided (r11896). ------------------------------------------------------------------------ r11896 | vlefevre | 2017-12-05 08:47:25 +0000 (Tue, 05 Dec 2017) | 2 lines Changed paths: M /trunk/src/mpfr.h M /trunk/tests/tgrandom.c M /trunk/tests/tpow.c M /trunk/tests/troot.c Disable the "deprecated" attribute of deprecated functions *only* for the tests of these functions, to avoid the corresponding warnings. ------------------------------------------------------------------------ r11895 | vlefevre | 2017-12-05 08:34:13 +0000 (Tue, 05 Dec 2017) | 1 line Changed paths: M /trunk/src/dump.c M /trunk/tests/trint.c Removed trailing whietespace. ------------------------------------------------------------------------ r11894 | zimmerma | 2017-12-05 08:16:00 +0000 (Tue, 05 Dec 2017) | 2 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr-mini-gmp.h M /trunk/tests/terandom.c M /trunk/tests/tgrandom.c M /trunk/tests/tnrandom.c M /trunk/tests/trandom.c M /trunk/tests/turandom.c fixed compiler warnings with mini-gmp ------------------------------------------------------------------------ r11893 | vlefevre | 2017-12-04 22:47:09 +0000 (Mon, 04 Dec 2017) | 2 lines Changed paths: M /trunk/src/dump.c M /trunk/src/fpif.c M /trunk/src/inp_str.c M /trunk/src/mpfr-impl.h M /trunk/src/out_str.c M /trunk/tests/mpfr-test.h M /trunk/tests/tvalist.c Simplified the use of MPFR_USE_FILE since <stdio.h> (<cstdio> for C++) is unconditionally included. ------------------------------------------------------------------------ r11892 | vlefevre | 2017-12-04 22:20:08 +0000 (Mon, 04 Dec 2017) | 1 line Changed paths: R /trunk/doc/texinfo.tex (from /trunk/doc/texinfo.tex:11890) Restored the history (and mergedinfo) of doc/texinfo.tex ------------------------------------------------------------------------ r11891 | zimmerma | 2017-12-04 19:01:20 +0000 (Mon, 04 Dec 2017) | 2 lines Changed paths: M /trunk/doc/mini-gmp R /trunk/doc/texinfo.tex M /trunk/src/dump.c M /trunk/src/fpif.c M /trunk/src/get_q.c M /trunk/src/gmp_op.c M /trunk/src/inp_str.c M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr-mini-gmp.h M /trunk/src/mpfr.h M /trunk/src/out_str.c M /trunk/src/set_q.c M /trunk/tests/mpfr-test.h M /trunk/tests/tget_q.c M /trunk/tests/tget_z.c M /trunk/tests/trint.c make compilation work again (make + make check) with mini-gmp ------------------------------------------------------------------------ r11890 | vlefevre | 2017-12-04 15:05:05 +0000 (Mon, 04 Dec 2017) | 1 line Changed paths: M /trunk/src/Makefile.am Improved portability of the check-gmp-symbols make rule. ------------------------------------------------------------------------ r11889 | vlefevre | 2017-12-04 13:43:59 +0000 (Mon, 04 Dec 2017) | 1 line Changed paths: M /trunk/src/fpif.c [src/fpif.c] Clarification. ------------------------------------------------------------------------ r11888 | vlefevre | 2017-12-04 13:37:19 +0000 (Mon, 04 Dec 2017) | 3 lines Changed paths: M /trunk/tests/tfpif.c M /trunk/tests/tfpif_r1.dat [tests] * tfpif.c: in doit(), also test the negative versions of the numbers. * tfpif_r1.dat: update. ------------------------------------------------------------------------ r11887 | vlefevre | 2017-12-04 11:36:07 +0000 (Mon, 04 Dec 2017) | 3 lines Changed paths: M /trunk/src/get_str.c M /trunk/src/vasprintf.c [src] Update about the internal use of mpfr_get_str. * get_str.c: updated a comment. * vasprintf.c: added assertions. ------------------------------------------------------------------------ r11886 | vlefevre | 2017-12-04 11:11:37 +0000 (Mon, 04 Dec 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r11885 | vlefevre | 2017-12-04 10:28:55 +0000 (Mon, 04 Dec 2017) | 1 line Changed paths: M /trunk/src/get_str.c [src/get_str.c] Corrected a comment. ------------------------------------------------------------------------ r11884 | vlefevre | 2017-12-04 10:20:34 +0000 (Mon, 04 Dec 2017) | 3 lines Changed paths: M /trunk M /trunk/doc/mpfr.texi [doc/mpfr.texi] Update about the memory allocation (added references to Section "Memory Handling"). (merged changeset r11632 from the 3.1 branch) ------------------------------------------------------------------------ r11883 | vlefevre | 2017-12-04 10:09:02 +0000 (Mon, 04 Dec 2017) | 4 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Update for mpfr_get_str: * Added a texi comment explaining why m+1 (so that if the mpfr_get_str implementation is improved, we know whether this is still the case). * Improved the documentation for the case str = null pointer. ------------------------------------------------------------------------ r11882 | vlefevre | 2017-12-03 14:16:40 +0000 (Sun, 03 Dec 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated comments about the latest change (r11881). ------------------------------------------------------------------------ r11881 | vlefevre | 2017-12-03 14:14:18 +0000 (Sun, 03 Dec 2017) | 5 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Typography fixes for TeX (DVI/PS/PDF) in math mode. * Corrected the use of \lceil and \rceil. * Added missing @var, including 2 in exponent, as allowed by texinfo.tex 2017-12-01.13. * Removed old comments about Texinfo. ------------------------------------------------------------------------ r11880 | vlefevre | 2017-12-03 13:55:51 +0000 (Sun, 03 Dec 2017) | 2 lines Changed paths: M /trunk/doc/texinfo.tex [doc/texinfo.tex] Update to the latest version 2017-12-01.13 from <https://ftp.gnu.org/gnu/texinfo/>. ------------------------------------------------------------------------ r11878 | vlefevre | 2017-12-01 16:27:09 +0000 (Fri, 01 Dec 2017) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] In r11876, forgot to define MPFR_WANT_DECIMAL_FLOATS in the cross-compiling case. ------------------------------------------------------------------------ r11877 | vlefevre | 2017-12-01 15:04:21 +0000 (Fri, 01 Dec 2017) | 6 lines Changed paths: M /trunk/doc/README.dev M /trunk/tests/tests.c M /trunk/tests/tversion.c Solved an output issue on AIX due to the use of setbuf() after output in tversion. Indeed, this is disallowed by ISO C. * doc/README.dev: added a note about tests_start_mpfr and this issue. * tests/tests.c: moved test_version() after setbuf(). * tests/tversion.c: moved tests_start_mpfr() earlier, before any printf(). ------------------------------------------------------------------------ r11876 | vlefevre | 2017-12-01 14:06:07 +0000 (Fri, 01 Dec 2017) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Attempt to fix detection of decimal floats: if _Decimal64 is known but does not work, no longer fail when --enable-decimal-float has not been used; just disable decimal floats. ------------------------------------------------------------------------ r11875 | vlefevre | 2017-12-01 13:37:40 +0000 (Fri, 01 Dec 2017) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Attempt to fix detection of decimal floats (BID was incorrectly assumed in case of link failure, if ld returned 1, which was observed on powerpc-ibm-aix7.2.0.0 [gcc119.fsffrance.org]). ------------------------------------------------------------------------ r11874 | vlefevre | 2017-12-01 12:28:45 +0000 (Fri, 01 Dec 2017) | 1 line Changed paths: M /trunk/src/fpif.c [src/fpif.c] Updated comments about the format. ------------------------------------------------------------------------ r11871 | vlefevre | 2017-11-30 17:27:20 +0000 (Thu, 30 Nov 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Typo. ------------------------------------------------------------------------ r11870 | vlefevre | 2017-11-30 17:13:25 +0000 (Thu, 30 Nov 2017) | 5 lines Changed paths: M /trunk/Makefile.am M /trunk/src/Makefile.am Two fixes for the check-gmp-symbols make rule: * Use $(COMPILE) instead of $(CC) to get the usual compilation flags (in particular, the -I flags may be important to find gmp.h and to get the correct one). * Run the test only if libmpfr.so exists. ------------------------------------------------------------------------ r11869 | vlefevre | 2017-11-30 15:32:33 +0000 (Thu, 30 Nov 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Internal GMP symbols: mention "make check-gmp-symbols". ------------------------------------------------------------------------ r11868 | vlefevre | 2017-11-30 15:30:30 +0000 (Thu, 30 Nov 2017) | 1 line Changed paths: M /trunk/NEWS [NEWS] Mention "make check-gmp-symbols" (experimental). ------------------------------------------------------------------------ r11867 | vlefevre | 2017-11-30 15:27:00 +0000 (Thu, 30 Nov 2017) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] Added an optional step "make check-gmp-symbols" to check that MPFR does not use GMP internal symbols. ------------------------------------------------------------------------ r11866 | vlefevre | 2017-11-30 15:17:10 +0000 (Thu, 30 Nov 2017) | 1 line Changed paths: M /trunk/Makefile.am M /trunk/src/Makefile.am Added comment about the check-gmp-symbols make rule (added in r11865). ------------------------------------------------------------------------ r11865 | vlefevre | 2017-11-30 15:12:20 +0000 (Thu, 30 Nov 2017) | 2 lines Changed paths: M /trunk/Makefile.am M /trunk/src/Makefile.am Added check-gmp-symbols make rule to check that MPFR does not use GMP internal symbols. ------------------------------------------------------------------------ r11864 | vlefevre | 2017-11-30 13:57:29 +0000 (Thu, 30 Nov 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Detailed the note about the list of GMP symbols. ------------------------------------------------------------------------ r11863 | vlefevre | 2017-11-30 13:44:10 +0000 (Thu, 30 Nov 2017) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Document how to get the list of GMP symbols used by MPFR and how to detect GMP internal symbols used by MPFR. ------------------------------------------------------------------------ r11862 | vlefevre | 2017-11-30 13:19:03 +0000 (Thu, 30 Nov 2017) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] Added a paragraph about the potential incorrect use of GMP internals. ------------------------------------------------------------------------ r11861 | vlefevre | 2017-11-29 15:26:52 +0000 (Wed, 29 Nov 2017) | 1 line Changed paths: M /trunk/src/fpif.c [src/fpif.c] Fixed the sign bug for mpfr_fpif_import. ------------------------------------------------------------------------ r11860 | vlefevre | 2017-11-29 15:05:28 +0000 (Wed, 29 Nov 2017) | 4 lines Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] In doit(), before the call to mpfr_fpif_import(), set the sign of the target to the opposite of the expected sign. Thus, if mpfr_fpif_import forgets to set the sign, this will be detected. And a failure actually occurs now! ------------------------------------------------------------------------ r11859 | vlefevre | 2017-11-29 14:59:03 +0000 (Wed, 29 Nov 2017) | 1 line Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] For mpfr_fpif_import, check the precision too. ------------------------------------------------------------------------ r11858 | vlefevre | 2017-11-29 02:37:57 +0000 (Wed, 29 Nov 2017) | 3 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/fpif.c [doc/mpfr.texi,src/fpif.c] For mpfr_fpif_import, in case of failure, the argument x is either unchanged or set to NaN, to make sure that x has valid contents (otherwise this could yield erratic behavior). ------------------------------------------------------------------------ r11857 | vlefevre | 2017-11-29 02:25:19 +0000 (Wed, 29 Nov 2017) | 3 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] For mpfr_fpif_import, replaced an assertion by a failure (since the full format is not described in the manual and MPFR cannot currently generate such a case, this is OK). ------------------------------------------------------------------------ r11856 | vlefevre | 2017-11-29 02:06:02 +0000 (Wed, 29 Nov 2017) | 1 line Changed paths: M /trunk/tests/tfpif_r1.dat [tests/tfpif_r1.dat] Fixed an obvious error (incorrect sign of 0). ------------------------------------------------------------------------ r11855 | vlefevre | 2017-11-29 01:49:34 +0000 (Wed, 29 Nov 2017) | 1 line Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Output more information in case of error. ------------------------------------------------------------------------ r11853 | vlefevre | 2017-11-28 16:46:55 +0000 (Tue, 28 Nov 2017) | 2 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] Fixed some bugs (though unlikely to occur in practice). Added comments. Minor code improvement. ------------------------------------------------------------------------ r11852 | vlefevre | 2017-11-28 15:41:17 +0000 (Tue, 28 Nov 2017) | 7 lines Changed paths: M /trunk/acinclude.m4 D /trunk/m4/size_max.m4 M /trunk/src/vasprintf.c Got rid of the useless SIZE_MAX macro. * src/vasprintf.c: replaced SIZE_MAX by (size_t) -1, already used in some other files. * acinclude.m4: no longer use gl_SIZE_MAX (from m4/size_max.m4). * Removed m4/size_max.m4 as it is no longer needed (note that the definition of SIZE_MAX by this file was unnecessarily complex and potentially incorrect on some platforms). ------------------------------------------------------------------------ r11851 | vlefevre | 2017-11-28 15:07:33 +0000 (Tue, 28 Nov 2017) | 1 line Changed paths: M /trunk/src/fpif.c [src/fpif.c] Added static assertions in mpfr_fpif_import(). ------------------------------------------------------------------------ r11850 | vlefevre | 2017-11-28 14:41:45 +0000 (Tue, 28 Nov 2017) | 1 line Changed paths: M /trunk/src/fpif.c [src/fpif.c] Improved a test (mpfr_regular_p → !MPFR_IS_SINGULAR). ------------------------------------------------------------------------ r11849 | vlefevre | 2017-11-28 14:38:47 +0000 (Tue, 28 Nov 2017) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added a note about the use of the MPFR_IS_PURE_*(x) and MPFR_IS_SINGULAR*(x) macros. ------------------------------------------------------------------------ r11848 | vlefevre | 2017-11-27 16:07:23 +0000 (Mon, 27 Nov 2017) | 2 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] Added format description from past mail messages, to be checked in case of change (+ FIXME for NaN). Minor code improvement. ------------------------------------------------------------------------ r11847 | vlefevre | 2017-11-27 15:04:59 +0000 (Mon, 27 Nov 2017) | 1 line Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Added TODO's (but the failure should be fixed first). ------------------------------------------------------------------------ r11846 | vlefevre | 2017-11-27 14:33:53 +0000 (Mon, 27 Nov 2017) | 1 line Changed paths: M /trunk/src/fpif.c [src/fpif.c] Clarified sign variable. ------------------------------------------------------------------------ r11845 | vlefevre | 2017-11-27 14:17:52 +0000 (Mon, 27 Nov 2017) | 2 lines Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Use SAME_VAL instead of mpfr_cmp. This triggers a bug that was not detected yet. ------------------------------------------------------------------------ r11844 | vlefevre | 2017-11-27 14:15:52 +0000 (Mon, 27 Nov 2017) | 3 lines Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Split the main test function into: * doit(): keep only the tests that depend on the precisions. * check_bad(): tests for bad file/data; precisions are not involved. ------------------------------------------------------------------------ r11843 | vlefevre | 2017-11-27 13:58:24 +0000 (Mon, 27 Nov 2017) | 1 line Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Improved a test (NaN checking). Added comments. ------------------------------------------------------------------------ r11842 | vlefevre | 2017-11-27 13:53:43 +0000 (Mon, 27 Nov 2017) | 1 line Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Removed a TODO done in r10326 and r10338. ------------------------------------------------------------------------ r11841 | vlefevre | 2017-11-27 10:31:33 +0000 (Mon, 27 Nov 2017) | 1 line Changed paths: M /trunk/autogen.sh Updated autogen.sh so that doc/texinfo.tex isn't replaced. ------------------------------------------------------------------------ r11840 | vlefevre | 2017-11-27 10:25:01 +0000 (Mon, 27 Nov 2017) | 3 lines Changed paths: A /trunk/doc/texinfo.tex Added doc/texinfo.tex file from Texinfo 6.5 since the version installed by Automake (via "autoreconf -i" as called by autogen.sh) is obsolete: more than 4 years older than the current version! ------------------------------------------------------------------------ r11839 | vlefevre | 2017-11-27 09:17:37 +0000 (Mon, 27 Nov 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated a comment about a bug in Texinfo. ------------------------------------------------------------------------ r11838 | vlefevre | 2017-11-23 14:33:18 +0000 (Thu, 23 Nov 2017) | 2 lines Changed paths: M /trunk/tests/tset_exp.c [tests/tset_exp.c] Check mpfr_get_exp too (with two additional tests for mpfr_set_exp). ------------------------------------------------------------------------ r11837 | vlefevre | 2017-11-23 13:58:12 +0000 (Thu, 23 Nov 2017) | 1 line Changed paths: M /trunk/tests/texceptions.c [tests/texceptions.c] Minor improvements. ------------------------------------------------------------------------ r11836 | vlefevre | 2017-11-23 13:53:24 +0000 (Thu, 23 Nov 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] For mpfr_get_exp, document that x can be outside of the current range of acceptable values (this was ambiguous). ------------------------------------------------------------------------ r11835 | vlefevre | 2017-11-21 15:03:59 +0000 (Tue, 21 Nov 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Corrected Texinfo typography issues. ------------------------------------------------------------------------ r11834 | zimmerma | 2017-11-21 14:11:23 +0000 (Tue, 21 Nov 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi added another example where we can have an overflow ------------------------------------------------------------------------ r11833 | zimmerma | 2017-11-21 13:14:23 +0000 (Tue, 21 Nov 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi added pointer to mpfr_subnormalize ------------------------------------------------------------------------ r11832 | vlefevre | 2017-11-21 12:52:40 +0000 (Tue, 21 Nov 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Major update of "MPFR and the IEEE 754 Standard". ------------------------------------------------------------------------ r11831 | vlefevre | 2017-11-21 11:44:50 +0000 (Tue, 21 Nov 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added "MPFR and the IEEE 754 Standard" to the main menu as required. Title capitalization. ------------------------------------------------------------------------ r11830 | vlefevre | 2017-11-21 11:41:29 +0000 (Tue, 21 Nov 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Correction of a @node. ------------------------------------------------------------------------ r11829 | zimmerma | 2017-11-21 10:27:43 +0000 (Tue, 21 Nov 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi added section "MPFR and the IEEE 754 standard" ------------------------------------------------------------------------ r11828 | vlefevre | 2017-11-20 17:48:30 +0000 (Mon, 20 Nov 2017) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] mpfr_can_round: corrected the example; removed a reference to "ternary value" as there is already one in the previous sentence; clarification. ------------------------------------------------------------------------ r11827 | vlefevre | 2017-11-20 17:37:54 +0000 (Mon, 20 Nov 2017) | 4 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Faithful rounding (MPFR_RNDF): * Document that this feature is experimental and partially supported. * Update Section "API Compatibility". Note: the NEWS file was up-to-date. ------------------------------------------------------------------------ r11822 | vlefevre | 2017-11-15 16:17:14 +0000 (Wed, 15 Nov 2017) | 5 lines Changed paths: M /trunk/tests/talloc-cache.c [tests/talloc-cache.c] * Replaced test + abort() by the more informative MPFR_ASSERTN(). * Also check that the allocator is the current GMP one (this would fail with MPFR 3.1.6, where the allocation functions are memorized the first time they are seen). ------------------------------------------------------------------------ r11821 | vlefevre | 2017-11-15 12:35:39 +0000 (Wed, 15 Nov 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/free_cache.c M /trunk/src/mpfr.h M /trunk/tests/talloc-cache.c mpfr_mp_memory_cleanup() now returns an error code (currently always 0) to avoid a future prototype change in case errors would be possible. ------------------------------------------------------------------------ r11820 | vlefevre | 2017-11-10 16:48:39 +0000 (Fri, 10 Nov 2017) | 6 lines Changed paths: M /trunk/TODO M /trunk/src/ai.c M /trunk/src/bernoulli.c M /trunk/src/clear.c M /trunk/src/exp3.c M /trunk/src/fpif.c M /trunk/src/get_str.c M /trunk/src/init2.c M /trunk/src/inp_str.c M /trunk/src/lngamma.c M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/out_str.c M /trunk/src/rndna.c M /trunk/src/round_prec.c M /trunk/src/set_prec.c M /trunk/src/strtofr.c M /trunk/src/vasprintf.c M /trunk/src/zeta.c M /trunk/tests/tabort_defalloc1.c M /trunk/tests/tabort_defalloc2.c Cleanup: In src/mpfr-gmp.h, exchanged mpfr_allocate_func and *__gmp_allocate_func mpfr_reallocate_func and *__gmp_reallocate_func mpfr_free_func and *__gmp_free_func and in the code, replaced *__gmp_{allocate,reallocate,free}_func by mpfr_{allocate,reallocate,free}_func; updated TODO file. ------------------------------------------------------------------------ r11819 | vlefevre | 2017-11-10 13:58:25 +0000 (Fri, 10 Nov 2017) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] The sign bit of a NaN is now specified for mpfr_abs, mpfr_neg and mpfr_set, in order to mimic the IEEE-754 abs, negate and copy operations. ------------------------------------------------------------------------ r11818 | vlefevre | 2017-11-10 13:13:13 +0000 (Fri, 10 Nov 2017) | 2 lines Changed paths: M /trunk/tests/tabs.c [tests/tabs.c] More tests on mpfr_abs, including the ternary value and the NaN flag and sign bit for ±NaN. ------------------------------------------------------------------------ r11817 | vlefevre | 2017-11-10 12:53:48 +0000 (Fri, 10 Nov 2017) | 1 line Changed paths: M /trunk/tests/tabs.c [tests/tabs.c] Coding style. ------------------------------------------------------------------------ r11816 | vlefevre | 2017-11-10 12:47:09 +0000 (Fri, 10 Nov 2017) | 2 lines Changed paths: M /trunk/tests/tset.c [tests/tset.c] For mpfr_neg on NaN, also check that the variable is set to NaN and that the ternary value is 0. ------------------------------------------------------------------------ r11815 | vlefevre | 2017-11-10 12:43:04 +0000 (Fri, 10 Nov 2017) | 1 line Changed paths: M /trunk/tests/tset.c [tests/tset.c] More NaN tests for mpfr_set. ------------------------------------------------------------------------ r11814 | vlefevre | 2017-11-10 12:34:17 +0000 (Fri, 10 Nov 2017) | 2 lines Changed paths: M /trunk/tests/tset.c [tests/tset.c] More tests of the NaN flag and the sign bit for mpfr_neg on NaN. ------------------------------------------------------------------------ r11813 | vlefevre | 2017-11-10 12:22:26 +0000 (Fri, 10 Nov 2017) | 1 line Changed paths: M /trunk/tests/tset.c [tests/tset.c] The global variable "error" is better as static. ------------------------------------------------------------------------ r11812 | vlefevre | 2017-11-10 12:17:15 +0000 (Fri, 10 Nov 2017) | 2 lines Changed paths: M /trunk/tests/tset.c [tests/tset.c] For mpfr_neg on NaN, check that the sign bit is flipped in both ways. ------------------------------------------------------------------------ r11811 | vlefevre | 2017-11-10 12:02:02 +0000 (Fri, 10 Nov 2017) | 1 line Changed paths: M /trunk/tests [tests] Added talloc-cache to svn:ignore property. ------------------------------------------------------------------------ r11810 | vlefevre | 2017-11-09 14:49:39 +0000 (Thu, 09 Nov 2017) | 3 lines Changed paths: M /trunk/tests/tset.c [tests/tset.c] In the mpfr_neg test on the sign of NaN: C90 compatibility; improved robustness since as specified, mpfr_signbit can return any value (not just 0 or 1). ------------------------------------------------------------------------ r11809 | vlefevre | 2017-11-09 14:35:17 +0000 (Thu, 09 Nov 2017) | 2 lines Changed paths: M /trunk/src/neg.c [src/neg.c] Refactored code (BTW, this was not a bug as the sign of NaN is currently unspecified for mpfr_neg). ------------------------------------------------------------------------ r11808 | zimmerma | 2017-11-09 13:57:40 +0000 (Thu, 09 Nov 2017) | 3 lines Changed paths: M /trunk/src/neg.c M /trunk/tests/tset.c fixed bug reported by Trevor Spiteri (https://sympa.inria.fr/sympa/arc/mpfr/2017-11/msg00003.html) ------------------------------------------------------------------------ r11807 | vlefevre | 2017-11-08 17:04:45 +0000 (Wed, 08 Nov 2017) | 7 lines Changed paths: M /trunk/NEWS M /trunk/TODO M /trunk/doc/mpfr.texi M /trunk/src/free_cache.c M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/tests/talloc-cache.c Change the way memory is allocated (as discussed partly in private). * src/mpfr-gmp.c, src/mpfr-gmp.h, src/mpfr-impl.h: update. * src/free_cache.c, src/mpfr.h: added mpfr_mp_memory_cleanup function. * NEWS: describe API change. * TODO: added 2 related items (future clean-up and feature). * doc/mpfr.texi: update. * tests/talloc-cache.c: take API change into account. ------------------------------------------------------------------------ r11806 | vlefevre | 2017-11-07 15:59:03 +0000 (Tue, 07 Nov 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated Section "Compatibility With MPF". ------------------------------------------------------------------------ r11805 | vlefevre | 2017-11-07 15:34:11 +0000 (Tue, 07 Nov 2017) | 4 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Removed a paragraph from r2962 concerning mpf2mpfr.h and mpf_init / mpf_init2: since r2985, the mpf_init / mpf_init2 macros initialize to 0 like MPF, so that users shouldn't see differences from MPF. ------------------------------------------------------------------------ r11804 | zimmerma | 2017-11-07 15:33:40 +0000 (Tue, 07 Nov 2017) | 2 lines Changed paths: M /trunk/TODO added reference ------------------------------------------------------------------------ r11803 | vlefevre | 2017-11-07 09:21:02 +0000 (Tue, 07 Nov 2017) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Formatting. ------------------------------------------------------------------------ r11802 | vlefevre | 2017-11-07 09:14:30 +0000 (Tue, 07 Nov 2017) | 2 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] mpfr_free_cache_t: added comments to show that these are flags. ------------------------------------------------------------------------ r11801 | vlefevre | 2017-11-07 09:09:03 +0000 (Tue, 07 Nov 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated mpfr_free_cache / mpfr_free_cache2 description. ------------------------------------------------------------------------ r11800 | vlefevre | 2017-11-07 08:31:45 +0000 (Tue, 07 Nov 2017) | 2 lines Changed paths: M /trunk/src/free_cache.c [src/free_cache.c] Minor portability improvement for mpfr_free_cache2 to accept way = 0 (no effect on two's complement machines). ------------------------------------------------------------------------ r11799 | vlefevre | 2017-11-06 16:39:40 +0000 (Mon, 06 Nov 2017) | 8 lines Changed paths: M /trunk/tests/talloc-cache.c M /trunk/tests/tests.c [tests] * tests.c: for test programs that use GMP's mp_set_memory_functions, tests_rand_start and tests_rand_end also need to be disabled; to do that, require that tests_memory_disabled be set to 2 in this case (the value 1 is already used for the use with mini-gmp, where only tests_memory_start and tests_memory_end need to be disabled). * talloc-cache.c: call tests_start_mpfr and tests_end_mpfr as usual, with tests_memory_disabled set to 2. ------------------------------------------------------------------------ r11798 | vlefevre | 2017-11-06 16:01:32 +0000 (Mon, 06 Nov 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r11797 | vlefevre | 2017-11-06 14:22:11 +0000 (Mon, 06 Nov 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Minor change. ------------------------------------------------------------------------ r11796 | vlefevre | 2017-11-06 14:17:51 +0000 (Mon, 06 Nov 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] + explicit information on pools (in addition to caches). ------------------------------------------------------------------------ r11795 | vlefevre | 2017-11-06 12:19:43 +0000 (Mon, 06 Nov 2017) | 2 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi [NEWS,doc/mpfr.texi] mpfr_free_cache2 is a new function in MPFR 4.0, as a consequence of shared caches for multithreaded applications. ------------------------------------------------------------------------ r11794 | vlefevre | 2017-11-06 12:07:28 +0000 (Mon, 06 Nov 2017) | 1 line Changed paths: M /trunk/src/free_cache.c [src/free_cache.c] GNU coding style. ------------------------------------------------------------------------ r11793 | vlefevre | 2017-11-06 12:03:04 +0000 (Mon, 06 Nov 2017) | 7 lines Changed paths: M /trunk/tests/Makefile.am M /trunk/tests/talloc-cache.c [tests] * Makefile.am: added talloc-cache to check_PROGRAMS. * talloc-cache.c: improved the test allocators so that an incorrect use is detected by this code instead of relying on the C library checking bad use of malloc/realloc/free (which was UB). NOTE: The test currently fails in the trunk due to the mpz_t pool. But anyway, the memory allocation method will change soon. ------------------------------------------------------------------------ r11792 | vlefevre | 2017-11-06 10:29:06 +0000 (Mon, 06 Nov 2017) | 1 line Changed paths: M /trunk/tests/talloc-cache.c [tests/talloc-cache.c] Corrected indentation. ------------------------------------------------------------------------ r11791 | vlefevre | 2017-10-30 12:46:57 +0000 (Mon, 30 Oct 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved the mpfr_nexttoward description w.r.t. flags. ------------------------------------------------------------------------ r11790 | zimmerma | 2017-10-27 19:12:45 +0000 (Fri, 27 Oct 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi added note about mpfr_beta ------------------------------------------------------------------------ r11788 | vlefevre | 2017-10-26 14:39:53 +0000 (Thu, 26 Oct 2017) | 2 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi [NEWS,doc/mpfr.texi] mpfr_beta is incomplete, experimental. See <https://sympa.inria.fr/sympa/arc/mpfr/2017-10/msg00007.html>. ------------------------------------------------------------------------ r11787 | zimmerma | 2017-10-26 09:06:02 +0000 (Thu, 26 Oct 2017) | 2 lines Changed paths: M /trunk/TODO added functions from C++17 ------------------------------------------------------------------------ r11784 | zimmerma | 2017-10-23 07:18:05 +0000 (Mon, 23 Oct 2017) | 2 lines Changed paths: M /trunk/doc/README.dev fixed typo ------------------------------------------------------------------------ r11782 | vlefevre | 2017-10-11 13:13:32 +0000 (Wed, 11 Oct 2017) | 4 lines Changed paths: M /trunk/src/get_float128.c M /trunk/tests/tset_float128.c [src/get_float128.c] Fixed failure in mpfr_get_float128 when called with a very reduced exponent range. [tests/tset_float128.c] Also test mpfr_get_float128 in reduced exponent range (triggering a failure before the fix). ------------------------------------------------------------------------ r11781 | vlefevre | 2017-10-10 08:09:02 +0000 (Tue, 10 Oct 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": + Check the generic code. ------------------------------------------------------------------------ r11779 | vlefevre | 2017-10-09 15:02:46 +0000 (Mon, 09 Oct 2017) | 3 lines Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] Fixed the generic code when called with a very reduced exponent range. The tset_ld failure could be triggered on x86 by running "./configure ... mpfr_cv_c_long_double_format=unknown". ------------------------------------------------------------------------ r11778 | vlefevre | 2017-10-09 12:17:18 +0000 (Mon, 09 Oct 2017) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Also test mpfr_get_ld in reduced exponent range (no failures on x86). ------------------------------------------------------------------------ r11777 | vlefevre | 2017-10-09 11:39:32 +0000 (Mon, 09 Oct 2017) | 6 lines Changed paths: M /trunk/src/get_z.c M /trunk/tests/tget_z.c [src/get_z.c] Fixed failure in mpfr_get_z when called with a very reduced exponent range. [tests/tget_z.c] Added tests in the various rounding modes (triggering a failure before the above fix). Also call check_one() on an integer congruent to 1 mod 4 (useful to check even rounding). Fixed 2 issues in the error message (for inex and the flags). ------------------------------------------------------------------------ r11776 | vlefevre | 2017-10-09 09:17:50 +0000 (Mon, 09 Oct 2017) | 2 lines Changed paths: M /trunk/tests/tget_z.c [tests/tget_z.c] Also test mpfr_get_z in reduced exponent range (no failures though its code seems incorrect). ------------------------------------------------------------------------ r11775 | vlefevre | 2017-10-06 15:08:25 +0000 (Fri, 06 Oct 2017) | 2 lines Changed paths: M /trunk/src/get_si.c M /trunk/src/get_sj.c [src/{get_si.c,get_sj.c}] Minor improvement, removing an obsolete note in get_sj.c at the same time. ------------------------------------------------------------------------ r11774 | vlefevre | 2017-10-06 14:17:38 +0000 (Fri, 06 Oct 2017) | 3 lines Changed paths: M /trunk/src/get_sj.c M /trunk/src/get_uj.c M /trunk/tests/tget_sj.c [src/{get_sj.c,get_uj.c}] Fixed failure in mpfr_get_sj and mpfr_get_uj when called with a very reduced exponent range. [tests/tget_sj.c] Added corresponding test cases. ------------------------------------------------------------------------ r11773 | vlefevre | 2017-10-06 13:52:29 +0000 (Fri, 06 Oct 2017) | 1 line Changed paths: M /trunk/tests/tset_si.c [tests/tset_si.c] Minor correction in error message. ------------------------------------------------------------------------ r11772 | vlefevre | 2017-10-05 12:52:59 +0000 (Thu, 05 Oct 2017) | 1 line Changed paths: M /trunk/TODO [TODO] Function multiversioning (FMV): more details. ------------------------------------------------------------------------ r11771 | vlefevre | 2017-10-05 12:47:27 +0000 (Thu, 05 Oct 2017) | 1 line Changed paths: M /trunk/TODO [TODO] Mention function multiversioning (FMV). ------------------------------------------------------------------------ r11770 | vlefevre | 2017-10-04 15:25:26 +0000 (Wed, 04 Oct 2017) | 2 lines Changed paths: M /trunk/src/get_si.c M /trunk/src/get_ui.c [src/{get_si.c,get_ui.c}] Fixed failure in mpfr_get_si and mpfr_get_ui when called with a very reduced exponent range. ------------------------------------------------------------------------ r11769 | vlefevre | 2017-10-04 15:07:56 +0000 (Wed, 04 Oct 2017) | 2 lines Changed paths: M /trunk/tests/tset_si.c [tests/tset_si.c] get_tests: added comments and tests in a reduced exponent range, which currently trigger an assertion failure. ------------------------------------------------------------------------ r11768 | vlefevre | 2017-10-02 08:53:14 +0000 (Mon, 02 Oct 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r11767 | vlefevre | 2017-10-02 08:39:52 +0000 (Mon, 02 Oct 2017) | 1 line Changed paths: M /trunk/NEWS [NEWS] Mention mpfr_dump. ------------------------------------------------------------------------ r11766 | vlefevre | 2017-10-02 08:37:28 +0000 (Mon, 02 Oct 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Describe the current output format of mpfr_dump. ------------------------------------------------------------------------ r11765 | vlefevre | 2017-10-02 08:22:37 +0000 (Mon, 02 Oct 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Replaced @code by @samp for things that are not actually code, but parts of character strings. ------------------------------------------------------------------------ r11764 | vlefevre | 2017-09-29 15:58:51 +0000 (Fri, 29 Sep 2017) | 2 lines Changed paths: M /trunk/src/dump.c M /trunk/tests/toutimpl.c [src/dump.c] mpfr_dump now outputs specific info for invalid data. [tests/toutimpl.c] Added mpfr_dump tests. ------------------------------------------------------------------------ r11763 | vlefevre | 2017-09-29 13:44:52 +0000 (Fri, 29 Sep 2017) | 6 lines Changed paths: M /trunk/src/dump.c [src/dump.c] * Output the sign even for NaN, since this can be useful information (the sign of a NaN has an effect with some functions, following IEEE 754-2008). * This changes allows one to get rid of the mpfr_fprint_binary static function at the same time. ------------------------------------------------------------------------ r11762 | vlefevre | 2017-09-29 13:31:25 +0000 (Fri, 29 Sep 2017) | 1 line Changed paths: M /trunk/src/dump.c M /trunk/src/print_raw.c [src/{dump.c,print_raw.c}] Updated the description. ------------------------------------------------------------------------ r11761 | vlefevre | 2017-09-29 13:25:34 +0000 (Fri, 29 Sep 2017) | 20 lines Changed paths: M /trunk/src/add1sp.c M /trunk/src/dump.c M /trunk/src/mpfr-impl.h M /trunk/src/mul.c M /trunk/src/print_raw.c M /trunk/src/sub1sp.c [src] Clean up of debugging output functions: * Replaced the internal function mpfr_fprint_binary by a new internal function mpfr_fdump, similar to mpfr_dump, but with a FILE * argument. * Got rid of mpfr_print_binary entirely (it became internal in r2466 for MPFR 2.0.2, released in 2003). Details: * print_raw.c: - moved the mpfr_fprint_binary code to dump.c; - removed mpfr_print_binary. * dump.c: - mpfr_fprint_binary (from print_raw.c) is now defined as static; - added function mpfr_fdump, using mpfr_fprint_binary; - mpfr_dump: use mpfr_fdump instead of the old mpfr_print_binary. * mpfr-impl.h: - replaced mpfr_fprint_binary declaration by mpfr_fdump; - removed mpfr_print_binary declaration. * add1sp.c, mul.c, sub1sp.c: replaced mpfr_fprint_binary by mpfr_fdump and removed the '\n', now output by mpfr_fdump. ------------------------------------------------------------------------ r11759 | vlefevre | 2017-09-28 11:27:54 +0000 (Thu, 28 Sep 2017) | 1 line Changed paths: M /trunk/tests [tests] Added trootn_ui to svn:ignore property. ------------------------------------------------------------------------ r11758 | vlefevre | 2017-09-20 14:11:30 +0000 (Wed, 20 Sep 2017) | 3 lines Changed paths: M /trunk/tests/toutimpl.c [tests/toutimpl.c] * Check mpfr_print_mant_binary() too. * GNU coding style. ------------------------------------------------------------------------ r11757 | vlefevre | 2017-09-20 13:57:58 +0000 (Wed, 20 Sep 2017) | 4 lines Changed paths: M /trunk/src/print_raw.c [src/print_raw.c] Changes in mpfr_print_mant_binary(): * Output a ']' when a '[' was output earlier. * Correction: putchar() takes an int (or unsigned char), not a char. * GNU coding style. ------------------------------------------------------------------------ r11756 | zimmerma | 2017-09-18 14:02:23 +0000 (Mon, 18 Sep 2017) | 2 lines Changed paths: M /trunk/tools/mbench/timp.h changed .align 64 into .p2align 6 (cf https://trac.sagemath.org/ticket/19233) ------------------------------------------------------------------------ r11755 | vlefevre | 2017-09-15 11:51:18 +0000 (Fri, 15 Sep 2017) | 21 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tacos.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatanh.c M /trunk/tests/tcbrt.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/terf.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tgmpop.c M /trunk/tests/tmul.c M /trunk/tests/tset.c M /trunk/tests/tset_str.c M /trunk/tests/tsgn.c M /trunk/tests/tui_div.c [tests] Solve issues with the incorrect use of mpfr_sgn, and make sure that this cannot happen again without being detected: on zero, +1 or -1 was sometimes expected to check the sign of zero, but mpfr_sgn actually returned 0, so that the check always succeeded whatever the sign of the null result. * mpfr-test.h: define a new mpfr_sgn macro that fails when used on NaN or zero (whose sign is not +1 or -1), except when MPFR_TESTS_TSGN is defined. * tacos.c, tasin.c, tasinh.c, tatanh.c, tcbrt.c, tdim.c, terf.c, texp.c, texp10.c, texp2.c, texpm1.c, tset.c, tset_str.c: replaced the incorrect use of mpfr_sgn; some other related improvements. Note: in tset.c, a "mpfr_sgn (x) < 0" test had to be replaced by "MPFR_IS_POS (x)" since we really want to test whether the sign is positive (not negative). * tdiv.c, tmul.c, tui_div.c: simplified some tests, in particular to avoid a failure with the new mpfr_sgn macro for the tests; here, the use of mpfr_sgn was correct, but one could do simpler. * tgmpop.c: replaced "mpfr_sgn (z)" by "(mpfr_sgn) (z)" to avoid the new mpfr_sgn macro (here, we really want the mathematical sign). * tsgn.c: define MPFR_TESTS_TSGN as the goal of this program is to test mpfr_sgn itself (both the function and the macro in mpfr.h). ------------------------------------------------------------------------ r11754 | vlefevre | 2017-09-15 07:45:21 +0000 (Fri, 15 Sep 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": Enhanced step 5 (tarballs). ------------------------------------------------------------------------ r11753 | zimmerma | 2017-09-14 18:55:02 +0000 (Thu, 14 Sep 2017) | 2 lines Changed paths: M /trunk/tools/mbench/Makefile patch to avoid using the system mpfr.h ------------------------------------------------------------------------ r11752 | vlefevre | 2017-09-14 15:41:35 +0000 (Thu, 14 Sep 2017) | 4 lines Changed paths: M /trunk/tests/tfms.c [tests/tfms.c] Similar changes to what was done in tfma.c: * replaced "mpfr_cmp" by "! mpfr_equal_p"; * code formatting (mainly reindentation); * use of SAME_SIGN for better clarity. ------------------------------------------------------------------------ r11751 | vlefevre | 2017-09-14 15:39:24 +0000 (Thu, 14 Sep 2017) | 2 lines Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Similar change to what was done in tfms.c (may be useful in the future). ------------------------------------------------------------------------ r11750 | vlefevre | 2017-09-14 15:28:21 +0000 (Thu, 14 Sep 2017) | 4 lines Changed paths: M /trunk/tests/tabs.c M /trunk/tests/tcmp2.c M /trunk/tests/tconst_euler.c M /trunk/tests/tcos.c M /trunk/tests/tcoth.c M /trunk/tests/tdiv.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/tfactorial.c M /trunk/tests/tfma.c M /trunk/tests/tfms.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tgmpop.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow3.c M /trunk/tests/trint.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset_d.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsqrt.c M /trunk/tests/tsub.c M /trunk/tests/tsub_ui.c M /trunk/tests/ttan.c M /trunk/tests/tui_pow.c M /trunk/tests/tzeta.c [tests] Got rid of the use of mpfr_print_binary, in general with mpfr_dump. Replaced some "mpfr_out_str (stdout, 2, ...)" by mpfr_dump for consistency or as improvements. Some other corrections in the related error messages. ------------------------------------------------------------------------ r11749 | zimmerma | 2017-09-14 14:03:59 +0000 (Thu, 14 Sep 2017) | 2 lines Changed paths: M /trunk/doc/README.dev added info about autoconf-archive ------------------------------------------------------------------------ r11748 | vlefevre | 2017-09-14 09:23:39 +0000 (Thu, 14 Sep 2017) | 1 line Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h Old, deprecated macros mpfr_add_one_ulp and mpfr_sub_one_ulp removed. ------------------------------------------------------------------------ r11747 | vlefevre | 2017-09-13 15:06:51 +0000 (Wed, 13 Sep 2017) | 3 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Do the tests_start_mpfr / tests_end_mpfr check only if the .c file has a main() function; this avoids an error on trootn_ui.c, which just does a #include. ------------------------------------------------------------------------ r11746 | vlefevre | 2017-09-13 14:46:00 +0000 (Wed, 13 Sep 2017) | 4 lines Changed paths: M /trunk/tests/troot.c [tests/troot.c] * Use mpfr_set_zero instead of mpfr_set_ui / mpfr_neg (like what was done for the infinity, using mpfr_set_inf). * For exact cases (NaN, ±Inf, ±0), check that the ternary value is 0. ------------------------------------------------------------------------ r11745 | vlefevre | 2017-09-13 14:36:25 +0000 (Wed, 13 Sep 2017) | 3 lines Changed paths: M /trunk/tests/troot.c [tests/troot.c] For the root(±0,k) tests, before calling the function, we set the target y to NaN with the wrong sign, so that if the code of the function forgets to do something, this will be detected. ------------------------------------------------------------------------ r11744 | vlefevre | 2017-09-13 14:17:46 +0000 (Wed, 13 Sep 2017) | 1 line Changed paths: M /trunk/tests/troot.c [tests/troot.c] Also check root(+0,42) and root(-0,17) for completeness. ------------------------------------------------------------------------ r11743 | vlefevre | 2017-09-13 14:11:35 +0000 (Wed, 13 Sep 2017) | 2 lines Changed paths: M /trunk/tests/troot.c [tests/troot.c] Really check the sign of the result 0 (the old test was always false, thus useless!). ------------------------------------------------------------------------ r11742 | vlefevre | 2017-09-13 14:00:15 +0000 (Wed, 13 Sep 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r11741 | vlefevre | 2017-09-13 13:59:20 +0000 (Wed, 13 Sep 2017) | 11 lines Changed paths: M /trunk/NEWS M /trunk/TODO M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h M /trunk/src/root.c M /trunk/tests/Makefile.am M /trunk/tests/troot.c A /trunk/tests/trootn_ui.c New mpfr_rootn_ui function; mpfr_root deprecated. * src/root.c: mpfr_rootn_ui is now the main code, and mpfr_root calls mpfr_rootn_ui. * src/mpfr.h: added mpfr_rootn_ui prototype; marked mpfr_root as deprecated. * Added tests/trootn_ui.c (includes troot.c). * tests/troot.c: made it usable (via #include) by the new trootn_ui.c test. * tests/Makefile.am: added trootn_ui; at the same time, corrected the order of the test programs (lexicographic, with exceptions). * NEWS, TODO, doc/mpfr.texi: update. ------------------------------------------------------------------------ r11740 | vlefevre | 2017-09-13 13:28:05 +0000 (Wed, 13 Sep 2017) | 1 line Changed paths: M /trunk/doc/add-with-carry.c M /trunk/tests/talloc-cache.c Removed the text/x-csrc svn:mime-type property present on 2 files. ------------------------------------------------------------------------ r11739 | vlefevre | 2017-09-13 13:22:33 +0000 (Wed, 13 Sep 2017) | 2 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tgeneric.c M /trunk/tests/tversion.c [tests] Avoid duplicate code by defining the MAKE_STR() macro in mpfr-test.h only instead of tgeneric.c and tversion.c. ------------------------------------------------------------------------ r11734 | vlefevre | 2017-09-08 10:26:37 +0000 (Fri, 08 Sep 2017) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": Updated the warning, as the issue concerns the .ps file only (the .dvi file has no papersize info). ------------------------------------------------------------------------ r11733 | vlefevre | 2017-09-08 10:07:03 +0000 (Fri, 08 Sep 2017) | 3 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": Added a warning to check the papersize of the generated dvi and ps files, which may be incorrect (bug in texinfo(?) reported as Debian bug 874632). ------------------------------------------------------------------------ r11729 | vlefevre | 2017-09-08 08:34:24 +0000 (Fri, 08 Sep 2017) | 1 line Changed paths: M /trunk/NEWS M /trunk/configure.ac M /trunk/tests/tstrtofr.c Switched other gmplib.org URL's to https. ------------------------------------------------------------------------ r11728 | vlefevre | 2017-09-08 08:31:36 +0000 (Fri, 08 Sep 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated URL: http://gmplib.org → https://gmplib.org/ ------------------------------------------------------------------------ r11727 | vlefevre | 2017-09-08 08:29:52 +0000 (Fri, 08 Sep 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated URL: ftp://ftp.gnu.org/gnu/mpfr/ → https://ftp.gnu.org/gnu/mpfr/ ------------------------------------------------------------------------ r11726 | vlefevre | 2017-09-08 08:25:49 +0000 (Fri, 08 Sep 2017) | 1 line Changed paths: M /trunk/tools/announce-text [tools/announce-text] Switched to https for ftp.gnu.org. ------------------------------------------------------------------------ r11724 | vlefevre | 2017-09-07 14:20:45 +0000 (Thu, 07 Sep 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": update about the uploads. ------------------------------------------------------------------------ r11715 | vlefevre | 2017-09-06 15:30:04 +0000 (Wed, 06 Sep 2017) | 1 line Changed paths: M /trunk/NEWS [NEWS] Completed item on thread-safe DLL (shared library) support. ------------------------------------------------------------------------ r11714 | vlefevre | 2017-09-06 13:49:07 +0000 (Wed, 06 Sep 2017) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Completed the fix in r11713. ------------------------------------------------------------------------ r11713 | vlefevre | 2017-09-06 13:47:45 +0000 (Wed, 06 Sep 2017) | 4 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Fixed thread-safe DLL support with ICC and MSVC on MS Windows without the GMP build directory (r11712 contained inconsistent function names, yielding "unresolved external symbol" errors in tabort_defalloc1.obj), second try. ------------------------------------------------------------------------ r11712 | vlefevre | 2017-09-06 11:48:21 +0000 (Wed, 06 Sep 2017) | 7 lines Changed paths: M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h [src] Attempt to fix thread-safe DLL support with ICC and MSVC on MS Windows without the GMP build directory. See: https://sympa.inria.fr/sympa/arc/mpfr/2017-09/msg00009.html https://sympa.inria.fr/sympa/arc/mpfr/2017-09/msg00014.html i.e. for the mpfr_allocate_func, mpfr_reallocate_func & mpfr_free_func external TLS variables, one does the same thing as what had been done for the other ones (__gmpfr_flags, __gmpfr_emin, __gmpfr_emax, etc.). ------------------------------------------------------------------------ r11711 | vlefevre | 2017-09-06 11:11:13 +0000 (Wed, 06 Sep 2017) | 1 line Changed paths: M /trunk/tests [tests] Added tget_q to svn:ignore property. ------------------------------------------------------------------------ r11706 | vlefevre | 2017-09-05 12:48:04 +0000 (Tue, 05 Sep 2017) | 3 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] With MPFR_CHECK_LIBC_PRINTF, disable the test of the "'" flag with a non-glibc C library (SUS extension in printf). In particular, it is not supported by AIX 7.2. ------------------------------------------------------------------------ r11705 | vlefevre | 2017-09-05 12:37:19 +0000 (Tue, 05 Sep 2017) | 4 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] In case decimal_point and/or thousands_sep are non-single-byte characters (as found on FreeBSD 11 in fr_FR.UTF-8), revert to the default value. Added a FIXME to support multibyte decimal_point and thousands_sep. ------------------------------------------------------------------------ r11704 | vlefevre | 2017-09-05 11:46:44 +0000 (Tue, 05 Sep 2017) | 1 line Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Formatting. ------------------------------------------------------------------------ r11702 | vlefevre | 2017-09-05 10:33:34 +0000 (Tue, 05 Sep 2017) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a paragraph about temporary result files created by test programs. ------------------------------------------------------------------------ r11701 | vlefevre | 2017-09-05 10:19:58 +0000 (Tue, 05 Sep 2017) | 1 line Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] Added tfpif_rw.dat to CLEANFILES. ------------------------------------------------------------------------ r11700 | vlefevre | 2017-09-05 10:17:34 +0000 (Tue, 05 Sep 2017) | 2 lines Changed paths: M /trunk/tests/Makefile.am D /trunk/tests/mpfrtest.dat D /trunk/tests/mpfrtest2.dat M /trunk/tests/tfpif.c A /trunk/tests/tfpif_r1.dat (from /trunk/tests/mpfrtest.dat:11699) A /trunk/tests/tfpif_r2.dat (from /trunk/tests/mpfrtest2.dat:11699) [tests] Renamed mpfrtest.txt, mpfrtest.dat and mpfrtest2.dat to tfpif_rw.dat, tfpif_r1.dat and tfpif_r2.dat respectively. ------------------------------------------------------------------------ r11699 | vlefevre | 2017-09-05 09:32:11 +0000 (Tue, 05 Sep 2017) | 8 lines Changed paths: M /trunk/tests/Makefile.am M /trunk/tests/toutimpl.c [tests] * toutimpl.c: Changed the filename of the result file like what has been done in other test programs, to make sure that it will not be reused by mistake. Removed comments about tmpname (which does not exist). * Makefile.am: Added this filename to CLEANFILES (even though the file is removed by the test program, an error could occur before its actual removal). ------------------------------------------------------------------------ r11698 | vlefevre | 2017-09-05 09:13:13 +0000 (Tue, 05 Sep 2017) | 10 lines Changed paths: M /trunk/tests/Makefile.am M /trunk/tests/tfprintf.c M /trunk/tests/tout_str.c M /trunk/tests/tprintf.c [tests] * tfprintf.c, tout_str.c, tprintf.c: Do not use the same filename for result files created in these test programs, as this breaks parallel tests (note that such files are used only if /dev/null does not work, so that Unix-like systems were not affected). This should fix the bug reported in https://sympa.inria.fr/sympa/arc/mpfr/2017-09/msg00000.html as said in https://sympa.inria.fr/sympa/arc/mpfr/2017-09/msg00005.html * Makefile.am: added a CLEANFILES line with these files. ------------------------------------------------------------------------ r11695 | vlefevre | 2017-09-01 15:24:42 +0000 (Fri, 01 Sep 2017) | 2 lines Changed paths: M /trunk M /trunk/tests/turandom.c [tests/turandom.c] Added test_underflow(). (merged changesets r11691-11694 from the 3.1 branch) ------------------------------------------------------------------------ r11690 | zimmerma | 2017-08-29 12:26:42 +0000 (Tue, 29 Aug 2017) | 2 lines Changed paths: M /trunk/tools/cfarm.sh update ------------------------------------------------------------------------ r11688 | zimmerma | 2017-08-29 12:00:05 +0000 (Tue, 29 Aug 2017) | 2 lines Changed paths: M /trunk/tools/cfarm.sh updated for mpfr-3.1.6-rc1 ------------------------------------------------------------------------ r11679 | vlefevre | 2017-08-28 10:29:23 +0000 (Mon, 28 Aug 2017) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Run tools/ck-version-info. ------------------------------------------------------------------------ r11678 | vlefevre | 2017-08-28 10:27:04 +0000 (Mon, 28 Aug 2017) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Updated a message due to the change in r11673. ------------------------------------------------------------------------ r11677 | vlefevre | 2017-08-28 10:22:44 +0000 (Mon, 28 Aug 2017) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": The DLL version may need to be updated too. ------------------------------------------------------------------------ r11676 | vlefevre | 2017-08-28 10:18:44 +0000 (Mon, 28 Aug 2017) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Added a comment about the DLL version. ------------------------------------------------------------------------ r11675 | vlefevre | 2017-08-28 10:12:35 +0000 (Mon, 28 Aug 2017) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Updated DLL version to 6 (cur - age). ------------------------------------------------------------------------ r11674 | vlefevre | 2017-08-28 10:04:47 +0000 (Mon, 28 Aug 2017) | 2 lines Changed paths: M /trunk/tools/ck-copyright-notice M /trunk/tools/ck-inits-clears [tools/{ck-copyright-notice,ck-inits-clears}] Ignore Emacs lock files (symbolic links) to avoid a failure when a file is being edited. ------------------------------------------------------------------------ r11673 | vlefevre | 2017-08-28 09:53:35 +0000 (Mon, 28 Aug 2017) | 5 lines Changed paths: D /trunk/tools/check_inits_clears A /trunk/tools/ck-inits-clears (from /trunk/tools/check_inits_clears:11672) M /trunk/tools/mpfrlint [tools] Clean up. * Renamed check_inits_clears to ck-inits-clears (the other "check" scripts have a name starting with "ck-"). * mpfrlint: updated the invocation of this test, simplifying it to make it similar to the other ones (it was based on old code). ------------------------------------------------------------------------ r11669 | vlefevre | 2017-08-27 22:06:31 +0000 (Sun, 27 Aug 2017) | 2 lines Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Disabled the reprod_abi test with GMP < 4.2.0 since the hardcoded values would be different. ------------------------------------------------------------------------ r11664 | vlefevre | 2017-08-25 14:11:40 +0000 (Fri, 25 Aug 2017) | 6 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Replaced (MPFR_LIKELY(expr)) || (ASSERT_FAIL(expr),0) by (MPFR_LIKELY(expr)) || (ASSERT_FAIL(expr),MPFR_ASSUME(expr),0) as a workaround to the fact that mpfr_assert_fail is not marked as "no return" (bug 21415). Thus, after this code, expr must be true. ------------------------------------------------------------------------ r11663 | vlefevre | 2017-08-25 12:23:31 +0000 (Fri, 25 Aug 2017) | 2 lines Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Check that the behavior does not depend on the platform ABI or MPFR version. ------------------------------------------------------------------------ r11662 | vlefevre | 2017-08-25 12:19:08 +0000 (Fri, 25 Aug 2017) | 1 line Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Corrected error messages after r11661. ------------------------------------------------------------------------ r11661 | vlefevre | 2017-08-25 11:42:36 +0000 (Fri, 25 Aug 2017) | 3 lines Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Renamed "reprod" to "reprod_rnd_exp" (reproducibility test with several rounding modes and exponent ranges), because a second reproducibility test will be added. ------------------------------------------------------------------------ r11660 | vlefevre | 2017-08-25 10:41:21 +0000 (Fri, 25 Aug 2017) | 7 lines Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] * In underflow_tests, test the flags in all cases (not just when the returned result is 0), possibly by first computing the result in a large exponent range. * Since the flags are now well tested in underflow_tests, no longer test them in the second test of test_urandom for k = 0, which was the incorrect test that was failing (see r11659). ------------------------------------------------------------------------ r11659 | vlefevre | 2017-08-25 08:00:19 +0000 (Fri, 25 Aug 2017) | 6 lines Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Do some test several times in order to trigger a "mpfr_urandom() returns incorrect flags for emin = 1" failure when GMP_CHECK_RANDOMIZE is not set (default). Note: It is this test that is actually wrong (it corresponds to the old behavior, currently found in the 3.1 branch, and was not updated after the mpfr_urandom code was fixed). ------------------------------------------------------------------------ r11658 | vlefevre | 2017-08-25 07:56:42 +0000 (Fri, 25 Aug 2017) | 1 line Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Code formatting. Added an assertion. ------------------------------------------------------------------------ r11657 | vlefevre | 2017-08-24 14:34:33 +0000 (Thu, 24 Aug 2017) | 2 lines Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Check that the behavior of mpfr_urandom() does not depend on the rounding mode. ------------------------------------------------------------------------ r11656 | vlefevre | 2017-08-24 07:38:38 +0000 (Thu, 24 Aug 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Completed the description of mpfr_urandom. ------------------------------------------------------------------------ r11655 | vlefevre | 2017-08-24 07:32:30 +0000 (Thu, 24 Aug 2017) | 1 line Changed paths: M /trunk/src/urandom.c [src/urandom.c] Completed comment. ------------------------------------------------------------------------ r11654 | vlefevre | 2017-08-23 14:30:59 +0000 (Wed, 23 Aug 2017) | 2 lines Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] In bug20170123, use a local gmp_randstate_t variable instead of mpfr_rands, due to the gmp_randseed_ui (see r11653). ------------------------------------------------------------------------ r11653 | vlefevre | 2017-08-23 14:26:42 +0000 (Wed, 23 Aug 2017) | 4 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Detect the use of gmp_randseed* functions on mpfr_rands (this is bad practice: this would affect later tests, defeating the purpose of GMP_CHECK_RANDOMIZE; another gmp_randstate_t variable should be used instead of mpfr_rands). ------------------------------------------------------------------------ r11652 | vlefevre | 2017-08-23 14:09:13 +0000 (Wed, 23 Aug 2017) | 3 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tests.c [tests/{mpfr-test.h,tests.c}] Got rid of __gmp_randstate_struct, which is internal to GMP: its use came from very old code (r2330 in 2003-06) and it is no longer needed. ------------------------------------------------------------------------ r11651 | vlefevre | 2017-08-23 13:40:39 +0000 (Wed, 23 Aug 2017) | 3 lines Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Disabled a test with GMP < 4.2.0 since it depends on a specific behavior of the random generator, which changed in GMP 4.2.0 (the test would probably fail with such old GMP versions). ------------------------------------------------------------------------ r11650 | vlefevre | 2017-08-23 10:08:57 +0000 (Wed, 23 Aug 2017) | 8 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/urandom.c [src/urandom.c] Partly rewrote mpfr_urandom() so that the next random state no longer depends on the current exponent range and the rounding mode, and that the exceptions due to the rounding of the random number are now correctly generated. [doc/mpfr.texi] Updated the mpfr_urandom() documentation and updated Section "API Compatibility / Changed Functions" to mention the change in MPFR 4.0. [NEWS] Mentioned the change for MPFR 4.0. ------------------------------------------------------------------------ r11647 | vlefevre | 2017-08-22 09:24:45 +0000 (Tue, 22 Aug 2017) | 1 line Changed paths: M /trunk/src/urandom.c [src/urandom.c] Minor change about underflow, following the usage. ------------------------------------------------------------------------ r11646 | vlefevre | 2017-08-22 09:08:38 +0000 (Tue, 22 Aug 2017) | 1 line Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Added inex test for the underflow & overflow tests. ------------------------------------------------------------------------ r11645 | vlefevre | 2017-08-22 08:00:54 +0000 (Tue, 22 Aug 2017) | 1 line Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Added overflow tests. ------------------------------------------------------------------------ r11644 | vlefevre | 2017-08-22 07:46:21 +0000 (Tue, 22 Aug 2017) | 1 line Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Indentation. ------------------------------------------------------------------------ r11643 | vlefevre | 2017-08-22 07:44:38 +0000 (Tue, 22 Aug 2017) | 1 line Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Added underflow tests. ------------------------------------------------------------------------ r11642 | vlefevre | 2017-08-22 07:11:23 +0000 (Tue, 22 Aug 2017) | 2 lines Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] With mini-gmp, omit another test that assumes a deterministic random generator. ------------------------------------------------------------------------ r11641 | vlefevre | 2017-08-22 06:57:27 +0000 (Tue, 22 Aug 2017) | 1 line Changed paths: M /trunk/src/urandom.c [src/urandom.c] Bug fix: the inexact flag was not set on underflow. ------------------------------------------------------------------------ r11640 | vlefevre | 2017-08-22 06:55:11 +0000 (Tue, 22 Aug 2017) | 2 lines Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Added tests of the flags. This currently yields a failure (inexact flag not set on underflow). ------------------------------------------------------------------------ r11639 | vlefevre | 2017-08-22 06:40:13 +0000 (Tue, 22 Aug 2017) | 1 line Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Added a test of the underflow flag. ------------------------------------------------------------------------ r11638 | vlefevre | 2017-08-21 15:12:51 +0000 (Mon, 21 Aug 2017) | 10 lines Changed paths: M /trunk/src/urandom.c [src/urandom.c] Set the underflow flag if the drawn exponent is less than emin. This corresponds to "underflow before rounding" while the normal rule in MPFR is "underflow after rounding". Thus this needs to be fixed. Note: This simple change has been done so that it can be merged with the 3.1 branch. But this will not be fixable in the 3.1 branch since the significand is not drawn in this case, and drawing the significand to determine whether there is an underflow would change the state of the PRNG at the end of the function, breaking the ABI and the users' expectations. ------------------------------------------------------------------------ r11637 | vlefevre | 2017-08-21 14:17:20 +0000 (Mon, 21 Aug 2017) | 1 line Changed paths: M /trunk/src/urandom.c [src/urandom.c] Updated comments about overflow and its flag. ------------------------------------------------------------------------ r11636 | vlefevre | 2017-08-21 14:12:20 +0000 (Mon, 21 Aug 2017) | 5 lines Changed paths: M /trunk/src/urandom.c [src/urandom.c] Simplified the code, but, except for precision 1, without changing the state of the PRNG. Note: The code could be simplified even further, but the goal of the current change is to allow it to be merged with the 3.1 branch (where precision 1 is not supported) without too many conflicts. ------------------------------------------------------------------------ r11635 | vlefevre | 2017-08-21 13:54:51 +0000 (Mon, 21 Aug 2017) | 1 line Changed paths: M /trunk/src/urandom.c [src/urandom.c] Moved some code without consequences. Updated comments. ------------------------------------------------------------------------ r11634 | vlefevre | 2017-08-21 13:08:47 +0000 (Mon, 21 Aug 2017) | 1 line Changed paths: M /trunk/src/urandom.c [src/urandom.c] Useless parentheses; reformatting. ------------------------------------------------------------------------ r11629 | vlefevre | 2017-08-17 11:17:51 +0000 (Thu, 17 Aug 2017) | 6 lines Changed paths: M /trunk/src/set_float128.c [src/set_float128.c] No longer depend on the native FP type "double" (via mpfr_set_d), avoiding the usual precision issues with the x87 traditional FPU in particular. Use the internal representation with limbs, instead. The code is simpler and should also be faster. Note: together with r11627, this avoids the tset_float128 failure with the "-m32 -mpc32" GCC options. ------------------------------------------------------------------------ r11628 | vlefevre | 2017-08-17 08:49:11 +0000 (Thu, 17 Aug 2017) | 1 line Changed paths: M /trunk/src/get_float128.c [src/get_float128.c] Removed variable z (no longer useful). ------------------------------------------------------------------------ r11627 | vlefevre | 2017-08-17 08:34:45 +0000 (Thu, 17 Aug 2017) | 4 lines Changed paths: M /trunk/src/get_float128.c [src/get_float128.c] No longer depend on the native FP type "double" (via mpfr_get_d), avoiding the usual precision issues with the x87 traditional FPU in particular. Use the internal representation with limbs, instead. The code is simpler and should also be faster. ------------------------------------------------------------------------ r11626 | vlefevre | 2017-08-14 18:19:46 +0000 (Mon, 14 Aug 2017) | 2 lines Changed paths: M /trunk/src/get_float128.c [src/get_float128.c] Fixed the remaining cases of mpfr_get_float128 (when the value is below the smallest subnormal in absolute value). ------------------------------------------------------------------------ r11625 | vlefevre | 2017-08-14 17:31:33 +0000 (Mon, 14 Aug 2017) | 3 lines Changed paths: M /trunk/src/get_float128.c M /trunk/tests/tset_float128.c [src/get_float128.c] Partly fixed mpfr_get_float128 when it underflows. [tests/tset_float128.c] Added tests for small values, in particular involving underflows (and subnormals). ------------------------------------------------------------------------ r11624 | vlefevre | 2017-08-13 00:35:17 +0000 (Sun, 13 Aug 2017) | 2 lines Changed paths: M /trunk/src/get_float128.c [src/get_float128.c] Reverted r11623 (a note mainly for the 3.1 branch, which actually doesn't support __float128). ------------------------------------------------------------------------ r11623 | vlefevre | 2017-08-12 15:54:07 +0000 (Sat, 12 Aug 2017) | 1 line Changed paths: M /trunk/src/get_float128.c [src/get_float128.c] Updated the FIXME. ------------------------------------------------------------------------ r11622 | vlefevre | 2017-08-08 14:46:54 +0000 (Tue, 08 Aug 2017) | 2 lines Changed paths: M /trunk/src/get_float128.c [src/get_float128.c] Added a FIXME after a bug report by Rob: https://sympa.inria.fr/sympa/arc/mpfr/2017-08/msg00003.html ------------------------------------------------------------------------ r11621 | vlefevre | 2017-08-03 16:12:26 +0000 (Thu, 03 Aug 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Section "Getting the Best Efficiency Out of MPFR" moved from "Installing MPFR" to "MPFR Basics". Added corresponding node. ------------------------------------------------------------------------ r11620 | zimmerma | 2017-08-03 14:21:38 +0000 (Thu, 03 Aug 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi new section "How to get the best out of MPFR" ------------------------------------------------------------------------ r11619 | vlefevre | 2017-08-03 08:27:12 +0000 (Thu, 03 Aug 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added a FIXME about memory allocation. ------------------------------------------------------------------------ r11617 | vlefevre | 2017-08-03 08:16:17 +0000 (Thu, 03 Aug 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r11615 | vlefevre | 2017-08-03 08:06:38 +0000 (Thu, 03 Aug 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Removed obsolete comments. ------------------------------------------------------------------------ r11614 | vlefevre | 2017-08-03 08:04:20 +0000 (Thu, 03 Aug 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated paragraph on the MPFR formatted output functions and overflow on the return type int. ------------------------------------------------------------------------ r11612 | vlefevre | 2017-08-02 11:15:01 +0000 (Wed, 02 Aug 2017) | 1 line Changed paths: M /trunk/NEWS [NEWS] Mention the use of the old dtags under Linux (see r11588). ------------------------------------------------------------------------ r11611 | vlefevre | 2017-08-02 09:20:39 +0000 (Wed, 02 Aug 2017) | 3 lines Changed paths: M /trunk/src/printf.c M /trunk/src/vasprintf.c [src] Moved mpfr_vasprintf from vasprintf.c to printf.c and updated file descriptions for consistency (vasprintf.c should probably be renamed later to something like printf_aux.c). ------------------------------------------------------------------------ r11610 | vlefevre | 2017-08-02 09:05:11 +0000 (Wed, 02 Aug 2017) | 1 line Changed paths: M /trunk/src/printf.c [src/printf.c] Updated a comment (taking r11269 into account). ------------------------------------------------------------------------ r11609 | vlefevre | 2017-08-02 08:55:34 +0000 (Wed, 02 Aug 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added an assertion. ------------------------------------------------------------------------ r11608 | vlefevre | 2017-08-02 08:53:13 +0000 (Wed, 02 Aug 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Completed mpfr_vasnprintf_aux description. ------------------------------------------------------------------------ r11604 | vlefevre | 2017-08-01 09:31:49 +0000 (Tue, 01 Aug 2017) | 2 lines Changed paths: M /trunk/tests/tstdint.c M /trunk/tests/tvalist.c [tests/{tstdint.c,tvalist.c}] Include "mpfr-test.h" instead of "mpfr-impl.h" (this is done only when compiling with mini-gmp). ------------------------------------------------------------------------ r11603 | vlefevre | 2017-08-01 09:29:27 +0000 (Tue, 01 Aug 2017) | 3 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Detect "mpfr-impl.h" inclusion by the test programs: "mpfr-test.h" should be included instead; otherwise __MPFR_WITHIN_MPFR will be defined, yielding failures under MS Windows with DLL. ------------------------------------------------------------------------ r11601 | zimmerma | 2017-07-28 10:30:27 +0000 (Fri, 28 Jul 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi fixed typo ------------------------------------------------------------------------ r11600 | vlefevre | 2017-07-28 10:12:10 +0000 (Fri, 28 Jul 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added important details for the example from r11595. ------------------------------------------------------------------------ r11599 | vlefevre | 2017-07-27 17:27:03 +0000 (Thu, 27 Jul 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Minor changes. ------------------------------------------------------------------------ r11598 | vlefevre | 2017-07-27 06:30:53 +0000 (Thu, 27 Jul 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r11597 | zimmerma | 2017-07-27 06:24:49 +0000 (Thu, 27 Jul 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi fixed FIXME related to r11595 ------------------------------------------------------------------------ r11596 | vlefevre | 2017-07-27 00:23:22 +0000 (Thu, 27 Jul 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added FIXME on example from r11595. ------------------------------------------------------------------------ r11595 | zimmerma | 2017-07-26 10:07:35 +0000 (Wed, 26 Jul 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [mpfr.texi] added example showing how to emulate fixed-point arithmetic ------------------------------------------------------------------------ r11590 | vlefevre | 2017-07-17 23:10:45 +0000 (Mon, 17 Jul 2017) | 3 lines Changed paths: M /trunk/src/sin_cos.c [src/sin_cos.c] Avoid integer overflows with precision 1100000 and the 32-bit ABI (32-bit long), fixing bug reported by Simon Byrne: https://sympa.inria.fr/sympa/arc/mpfr/2017-07/msg00002.html ------------------------------------------------------------------------ r11589 | vlefevre | 2017-07-17 13:55:35 +0000 (Mon, 17 Jul 2017) | 1 line Changed paths: M /trunk/tests/tcos.c M /trunk/tests/texp.c M /trunk/tests/tget_f.c M /trunk/tests/tsub1sp.c M /trunk/tests/tui_sub.c [tests] Re-indented some RND_LOOP / RND_LOOP_NO_RNDF blocks. ------------------------------------------------------------------------ r11588 | vlefevre | 2017-07-17 12:33:27 +0000 (Mon, 17 Jul 2017) | 5 lines Changed paths: M /trunk M /trunk/configure.ac [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 (merged changeset r11587 from the 3.1 branch) ------------------------------------------------------------------------ r11586 | vlefevre | 2017-07-10 11:53:17 +0000 (Mon, 10 Jul 2017) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Forgot casts for printf in r11585. ------------------------------------------------------------------------ r11585 | vlefevre | 2017-07-10 11:17:31 +0000 (Mon, 10 Jul 2017) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Added ABI information & tests. ------------------------------------------------------------------------ r11584 | vlefevre | 2017-06-20 23:25:49 +0000 (Tue, 20 Jun 2017) | 1 line Changed paths: M /trunk/src/subnormal.c [src/subnormal.c] Correction in comment (English). ------------------------------------------------------------------------ r11583 | vlefevre | 2017-06-19 13:09:48 +0000 (Mon, 19 Jun 2017) | 4 lines Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] * Better organization; moved MPFR patches info below MPFR version. * Output __GMP_CC and __GMP_CFLAGS values. * Output GMP ABI info (to be completed with MPFR ABI info). ------------------------------------------------------------------------ r11578 | vlefevre | 2017-06-03 09:43:37 +0000 (Sat, 03 Jun 2017) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Improved some AC_DEFINE comments. ------------------------------------------------------------------------ r11577 | vlefevre | 2017-06-03 00:34:15 +0000 (Sat, 03 Jun 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added quotes for clarity. ------------------------------------------------------------------------ r11576 | vlefevre | 2017-06-03 00:11:12 +0000 (Sat, 03 Jun 2017) | 1 line Changed paths: M /trunk/tests/mpf_compat.h [tests/mpf_compat.h] Always use stdout for failure messages. ------------------------------------------------------------------------ r11575 | vlefevre | 2017-06-03 00:04:19 +0000 (Sat, 03 Jun 2017) | 2 lines Changed paths: M /trunk/src/get_str.c [src/get_str.c] Improved comments (avoid the confusion between a negative base argument and a negative base). ------------------------------------------------------------------------ r11574 | vlefevre | 2017-06-02 23:52:24 +0000 (Fri, 02 Jun 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Punctuation. ------------------------------------------------------------------------ r11573 | zimmerma | 2017-06-02 20:49:29 +0000 (Fri, 02 Jun 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi added mpfr_get_q in Added Functions ------------------------------------------------------------------------ r11572 | zimmerma | 2017-06-02 15:36:52 +0000 (Fri, 02 Jun 2017) | 3 lines Changed paths: M /trunk/src/get_str.c M /trunk/tests/tget_str.c src/get_str.c: fixed for negative base tests/tget_str.c: added tests for negative base ------------------------------------------------------------------------ r11571 | zimmerma | 2017-06-02 15:11:50 +0000 (Fri, 02 Jun 2017) | 2 lines Changed paths: M /trunk/tests/mpf_compat.h tests/mpf_compat.h: non-regression tests for bugs fixed in revision 11565 ------------------------------------------------------------------------ r11570 | zimmerma | 2017-06-02 14:52:45 +0000 (Fri, 02 Jun 2017) | 3 lines Changed paths: M /trunk/src/get_str.c src/get_str.c: allow -36 <= b <= -2 too (work in progress) with the same meaning as in mpf_get_str ------------------------------------------------------------------------ r11569 | zimmerma | 2017-06-02 14:12:17 +0000 (Fri, 02 Jun 2017) | 3 lines Changed paths: M /trunk/src/mul.c M /trunk/tests/tmul.c fixed a bug in mpfr_mul for RNDF when Mulders' algorithm is used (and resolved a FIXME) ------------------------------------------------------------------------ r11568 | vlefevre | 2017-06-02 14:03:58 +0000 (Fri, 02 Jun 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Corrected mpfr_get_q documentation. ------------------------------------------------------------------------ r11567 | vlefevre | 2017-06-02 13:58:47 +0000 (Fri, 02 Jun 2017) | 2 lines Changed paths: M /trunk/src/get_q.c [src/get_q.c] Added assertions to detect integer overflows, in case mpfr_exp_t is larger than mp_bitcnt_t. ------------------------------------------------------------------------ r11566 | zimmerma | 2017-06-02 12:15:59 +0000 (Fri, 02 Jun 2017) | 2 lines Changed paths: M /trunk/src/mpf2mpfr.h src/mpf2mpfr.h: replaced __MPFR_GMP (requires internal mpfr-gmp.h) ------------------------------------------------------------------------ r11565 | zimmerma | 2017-06-02 11:43:32 +0000 (Fri, 02 Jun 2017) | 2 lines Changed paths: M /trunk/src/mpf2mpfr.h src/mpf2mpfr.h: fixed fits_s* functions and get_si ------------------------------------------------------------------------ r11564 | zimmerma | 2017-06-02 11:22:07 +0000 (Fri, 02 Jun 2017) | 2 lines Changed paths: M /trunk/src/mpf2mpfr.h use macro __MPFR_GMP ------------------------------------------------------------------------ r11563 | zimmerma | 2017-06-02 10:44:12 +0000 (Fri, 02 Jun 2017) | 2 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am A /trunk/src/get_q.c M /trunk/src/mpf2mpfr.h M /trunk/src/mpfr.h M /trunk/tests/Makefile.am A /trunk/tests/tget_q.c added new function mpfr_get_q ------------------------------------------------------------------------ r11562 | zimmerma | 2017-06-02 07:03:25 +0000 (Fri, 02 Jun 2017) | 2 lines Changed paths: M /trunk/src/mpf2mpfr.h src/mpf2mpfr.h: added mpf_cmp_z (appeared in GMP 6.1.0) ------------------------------------------------------------------------ r11561 | vlefevre | 2017-06-01 15:03:24 +0000 (Thu, 01 Jun 2017) | 5 lines Changed paths: M /trunk/Makefile.am M /trunk/README [Makefile.am] Put doc/README.dev in EXTRA_DIST to provide this file in tarballs too (it is not installed by "make install", though), since it contains information that may be useful for users of tarballs and various distributed files mention it. [README] Update about the "doc" directory and "doc/README.dev". ------------------------------------------------------------------------ r11560 | vlefevre | 2017-06-01 09:15:31 +0000 (Thu, 01 Jun 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] More information about the DEBUG macro. ------------------------------------------------------------------------ r11559 | vlefevre | 2017-06-01 00:26:46 +0000 (Thu, 01 Jun 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r11558 | vlefevre | 2017-06-01 00:25:16 +0000 (Thu, 01 Jun 2017) | 6 lines Changed paths: M /trunk/NEWS M /trunk/TODO M /trunk/doc/mpfr.texi Update about MPFR_RNDF (faithful rounding): * NEWS: mention that it is partially supported (should be updated once MPFR_RNDF is completely supported). * TODO: moved an item to the right place (MPFR_RNDF is not removed from the TODO because it is not completely supported yet). * doc/mpfr.texi: added a FIXME about the partial support. ------------------------------------------------------------------------ r11557 | vlefevre | 2017-05-31 23:59:06 +0000 (Wed, 31 May 2017) | 4 lines Changed paths: M /trunk/src/atanh.c M /trunk/src/log1p.c [src/{atanh.c,log1p.c}] * Replaced mpfr_get_exp by MPFR_GET_EXP (so that the exponent is checked with --enable-assert). * For a test, doing the division first should be better. ------------------------------------------------------------------------ r11556 | zimmerma | 2017-05-31 20:37:02 +0000 (Wed, 31 May 2017) | 2 lines Changed paths: M /trunk/NEWS M /trunk/src/atanh.c M /trunk/src/log1p.c improved log1p and atanh for small inputs ------------------------------------------------------------------------ r11555 | zimmerma | 2017-05-31 12:39:19 +0000 (Wed, 31 May 2017) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5-mpfr.cc added expm1 to mbench ------------------------------------------------------------------------ r11554 | zimmerma | 2017-05-31 12:33:48 +0000 (Wed, 31 May 2017) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5-mpfr.cc added log1p to mbench ------------------------------------------------------------------------ r11553 | vlefevre | 2017-05-29 22:55:34 +0000 (Mon, 29 May 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r11552 | vlefevre | 2017-05-29 22:54:46 +0000 (Mon, 29 May 2017) | 1 line Changed paths: M /trunk/tests/tfmma.c Removed trailing spaces. ------------------------------------------------------------------------ r11551 | vlefevre | 2017-05-29 22:48:06 +0000 (Mon, 29 May 2017) | 1 line Changed paths: M /trunk/tests/tdiv.c M /trunk/tests/tests.c M /trunk/tests/tpow_all.c M /trunk/tests/tsum.c [tests] Code simplification and improvement by using SAME_VAL(). ------------------------------------------------------------------------ r11550 | vlefevre | 2017-05-29 22:39:49 +0000 (Mon, 29 May 2017) | 1 line Changed paths: M /trunk/tests/tbeta.c [tests/tbeta.c] Replaced not_same() by the simpler ! SAME_VAL(). ------------------------------------------------------------------------ r11549 | vlefevre | 2017-05-29 21:48:21 +0000 (Mon, 29 May 2017) | 2 lines Changed paths: M /trunk/src/sum.c [src/sum.c] Code reindentation due to a new test for MPFR_RNDF support, and other minor changes in formatting and comments. ------------------------------------------------------------------------ r11548 | vlefevre | 2017-05-29 21:37:27 +0000 (Mon, 29 May 2017) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Typo in the MPFR_RNDF text. ------------------------------------------------------------------------ r11546 | vlefevre | 2017-05-29 17:26:28 +0000 (Mon, 29 May 2017) | 2 lines Changed paths: M /trunk M /trunk/TODO M /trunk/doc/mpfr.texi M /trunk/doc/sum.txt M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/div.c M /trunk/src/div_ui.c M /trunk/src/fits_intmax.c M /trunk/src/fits_s.h M /trunk/src/fits_u.h M /trunk/src/get_str.c M /trunk/src/hypot.c M /trunk/src/jyn_asympt.c M /trunk/src/li2.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/src/mul.c M /trunk/src/print_rnd_mode.c M /trunk/src/round_near_x.c M /trunk/src/round_prec.c M /trunk/src/round_raw_generic.c M /trunk/src/sqr.c M /trunk/src/sqrt.c M /trunk/src/sub1.c M /trunk/src/sub1sp.c M /trunk/src/sum.c M /trunk/src/vasprintf.c M /trunk/src/zeta_ui.c M /trunk/tests/mpfr-test.h M /trunk/tests/reuse.c M /trunk/tests/tabs.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tcan_round.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcos.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tdiv.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmma.c M /trunk/tests/tfms.c M /trunk/tests/tgamma.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_f.c M /trunk/tests/tget_sj.c M /trunk/tests/tgmpop.c M /trunk/tests/tinternals.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_ui.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_si.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsum.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/tzeta_ui.c Merged the "faithful" branch into the trunk: faithful rounding (MPFR_RNDF). ------------------------------------------------------------------------ r11542 | zimmerma | 2017-05-29 09:04:44 +0000 (Mon, 29 May 2017) | 2 lines Changed paths: M /trunk/TODO added new reference ------------------------------------------------------------------------ r11533 | vlefevre | 2017-05-24 11:33:50 +0000 (Wed, 24 May 2017) | 4 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Fixed setlocale usage (problem detected with MinGW) by not using the returned string any longer. Indeed, ISO C99 says that this string "may be overwritten by a subsequent call to the setlocale function". ------------------------------------------------------------------------ r11532 | vlefevre | 2017-05-24 09:15:54 +0000 (Wed, 24 May 2017) | 4 lines Changed paths: M /trunk/src/printf.c M /trunk/src/vasprintf.c [src] Moved "#include <errno.h>" from printf.c to vasprintf.c (this should have been done in r5230, where EOVERFLOW was moved). This fixes the "Got r = -1, errno = 0" errors in tprintf with MPFR_CHECK_LARGEMEM=1. ------------------------------------------------------------------------ r11531 | vlefevre | 2017-05-24 09:09:53 +0000 (Wed, 24 May 2017) | 6 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added overflow detection at the end (due to the switch to mpfr_intmax_t for the string length in the string_buffer structure, it was no longer detected; however, this bug was not normally visible in the tests because here, a negative value was returned thanks to wrapping in a type conversion and the negative value was changed to the expected -1 value in printf.c). ------------------------------------------------------------------------ r11530 | vlefevre | 2017-05-24 08:47:36 +0000 (Wed, 24 May 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added log messages. ------------------------------------------------------------------------ r11529 | vlefevre | 2017-05-24 08:30:55 +0000 (Wed, 24 May 2017) | 2 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] In case of overflow, do not stop before everything has been processed, allowing the %...n arguments to be filled, as decided. ------------------------------------------------------------------------ r11528 | vlefevre | 2017-05-24 08:12:56 +0000 (Wed, 24 May 2017) | 2 lines Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] check_long_string() error handling: initialize n2 to an invalid value and do all tests before exiting. ------------------------------------------------------------------------ r11527 | vlefevre | 2017-05-24 08:01:28 +0000 (Wed, 24 May 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Fixed some parts of overflow tracking. ------------------------------------------------------------------------ r11526 | vlefevre | 2017-05-24 07:49:39 +0000 (Wed, 24 May 2017) | 1 line Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] More detailed error message. ------------------------------------------------------------------------ r11525 | vlefevre | 2017-05-24 07:46:26 +0000 (Wed, 24 May 2017) | 1 line Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] Added tests with %ln. ------------------------------------------------------------------------ r11524 | vlefevre | 2017-05-24 07:15:40 +0000 (Wed, 24 May 2017) | 1 line Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] Improved check_vprintf_failure(). ------------------------------------------------------------------------ r11523 | vlefevre | 2017-05-24 07:10:21 +0000 (Wed, 24 May 2017) | 7 lines Changed paths: M /trunk/src/vasprintf.c M /trunk/tests/tprintf.c [src/vasprintf.c] Fixed the handling of the 'n' format specifier for size = 0, still allowing its support in case of overflow on the return value (i.e. when the number of characters that would have been output is > INT_MAX). Note: full support in case of overflow is still limited by GMP and the C library. [tests/tprintf.c] Increased the memory needed in check_long_string(). ------------------------------------------------------------------------ r11522 | vlefevre | 2017-05-23 13:17:12 +0000 (Tue, 23 May 2017) | 5 lines Changed paths: M /trunk/src/mpfr-intmax.h [src/mpfr-intmax.h] Define mpfr_uintmax_t and MPFR_INTMAX_MAX too. However, this will not necessarily be used by src/vasprintf.c, as this can be regarded as an EOVERFLOW error for which the behavior on the %...n values is not specified, i.e. we may not need to support size values larger than INT_MAX. ------------------------------------------------------------------------ r11521 | vlefevre | 2017-05-22 15:07:36 +0000 (Mon, 22 May 2017) | 2 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] In a macro definition, changed a parameter to lowercase so that it doesn't look like a constant to mpfrlint. ------------------------------------------------------------------------ r11520 | vlefevre | 2017-05-22 14:08:07 +0000 (Mon, 22 May 2017) | 4 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added a FIXME for the percent_n() / mixed() bug due to the 'n' format specifier with size = 0. The way to fix this issue depends on the specifications in case of overflow on the return value, and for POSIX, they are unclear. Waiting for comments... ------------------------------------------------------------------------ r11519 | vlefevre | 2017-05-22 12:33:48 +0000 (Mon, 22 May 2017) | 7 lines Changed paths: M /trunk/src/mpfr-intmax.h [src/mpfr-intmax.h] Define mpfr_intmax_t as being the largest signed integer type available for the MPFR build. It will be useful for the formatted output functions (src/vasprintf.c) to handle the 'n' format specifier, assuming that the value may be larger than INT_MAX, which is possible assuming that the C standard has a defect in the corresponding specification: https://sourceware.org/bugzilla/show_bug.cgi?id=21360 ------------------------------------------------------------------------ r11518 | vlefevre | 2017-05-22 11:38:10 +0000 (Mon, 22 May 2017) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added explanation for the bugs triggered by percent_n() and mixed(). ------------------------------------------------------------------------ r11517 | vlefevre | 2017-05-22 11:31:16 +0000 (Mon, 22 May 2017) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added percent_n() test to reproduce the bug found in mixed(), test without random data. ------------------------------------------------------------------------ r11516 | vlefevre | 2017-05-22 10:53:50 +0000 (Mon, 22 May 2017) | 2 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] In partition_number(), complete check for overflow on total. ------------------------------------------------------------------------ r11515 | vlefevre | 2017-05-22 09:29:51 +0000 (Mon, 22 May 2017) | 2 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Partially fixed check for integer overflow when the long and int types have the same size. ------------------------------------------------------------------------ r11514 | vlefevre | 2017-05-22 09:23:57 +0000 (Mon, 22 May 2017) | 3 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] With assertions enabled, check that the number of characters to be written computed in partition_number() corresponds to what is really written. ------------------------------------------------------------------------ r11513 | vlefevre | 2017-05-22 09:17:51 +0000 (Mon, 22 May 2017) | 7 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Fixed the bug triggered by the da_DK locale test: the computation of the number of characters to be written was incorrect in partition_number() when the thousands separator was not empty. This bug was visible with size = 0 and could be visible near overflow on the number of characters. Note: the buggy code was introduced in r5288 (2008-02-15), which fixed other issues with the thousands separator. ------------------------------------------------------------------------ r11512 | vlefevre | 2017-05-22 09:13:33 +0000 (Mon, 22 May 2017) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Do more tests in the da_DK locale (these are the only tests for which the thousands separator is not empty). ------------------------------------------------------------------------ r11511 | vlefevre | 2017-05-22 08:56:55 +0000 (Mon, 22 May 2017) | 3 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Do more tests involving check_sprintf() in a loop (to test mpfr_snprintf with size = 0 more often), and call mixed() later in order to get failures without the use of %n first. ------------------------------------------------------------------------ r11510 | zimmerma | 2017-05-19 15:04:24 +0000 (Fri, 19 May 2017) | 2 lines Changed paths: M /trunk/src/zeta.c get rid of computations with 'double' in mpfr_zeta ------------------------------------------------------------------------ r11509 | vlefevre | 2017-05-19 14:47:51 +0000 (Fri, 19 May 2017) | 1 line Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added a TODO about %n test. ------------------------------------------------------------------------ r11508 | vlefevre | 2017-05-19 14:04:46 +0000 (Fri, 19 May 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added MPFR_TESTS_FPE_TRAP documentation. ------------------------------------------------------------------------ r11507 | vlefevre | 2017-05-19 13:59:19 +0000 (Fri, 19 May 2017) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Corrected comment about MPFR_TESTS_FPE_TRAP. ------------------------------------------------------------------------ r11506 | vlefevre | 2017-05-19 13:57:15 +0000 (Fri, 19 May 2017) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/doc/README.dev M /trunk/tests/tests.c Renamed MPFR_TESTS_DIVBYZERO to MPFR_TESTS_FPE_DIV (less confusing). In doc/README.dev, updated the corresponding description. ------------------------------------------------------------------------ r11505 | vlefevre | 2017-05-19 13:49:50 +0000 (Fri, 19 May 2017) | 1 line Changed paths: M /trunk/tests/tests.c [tests] Renamed MPFR_RAISE_EXCEPTIONS to MPFR_TESTS_FPE_TRAP. ------------------------------------------------------------------------ r11504 | vlefevre | 2017-05-19 13:45:10 +0000 (Fri, 19 May 2017) | 13 lines Changed paths: M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/td_div.c M /trunk/tests/tests.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_flt.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tset_d.c M /trunk/tests/tset_float128.c M /trunk/tests/tset_ld.c [tests] Got rid of MPFR_TESTS_EXCEPTIONS (added in r11489 and above), which is redundant with MPFR_TESTS_DIVBYZERO and MPFR_ERRDIVZERO. The code related to these exceptions is now like r11488 (see the output of "svn diff -r11488"), but keeping the following changes: * Missing !defined(MPFR_ERRDIVZERO) tests added in r11498,11499. * In tests.c: - code related to traps (macro MPFR_RAISE_EXCEPTIONS, which will be renamed); - more detailed output about which FP exceptions occurred; - removal of "#ifdef MPFR_ERRDIVZERO" (as in r11493), as this is better with Automake 1.13+ (required by MPFR since r9375). Note: EXCEPTIONS_FLAG renamed to FPE_FLAGS, since EXCEPTIONS_FLAG is reserved by ISO C when <errno.h> is included. ------------------------------------------------------------------------ r11503 | vlefevre | 2017-05-19 11:54:29 +0000 (Fri, 19 May 2017) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Do the locale_da_DK() test several times to yield a failure by default once the bug triggered by mixed() is fixed. ------------------------------------------------------------------------ r11502 | vlefevre | 2017-05-19 11:24:03 +0000 (Fri, 19 May 2017) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Updated comment about r11501: the failure occurs with %n when the size argument of mpfr_vsnprintf is 0. ------------------------------------------------------------------------ r11501 | vlefevre | 2017-05-19 11:08:14 +0000 (Fri, 19 May 2017) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Do more tests with %n. One now gets a failure by default (which occurs when one gets randsize <= 0). ------------------------------------------------------------------------ r11500 | vlefevre | 2017-05-19 10:45:25 +0000 (Fri, 19 May 2017) | 4 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Fixed portability issues: The va_end(3) man page of Linux Programmer's Manual says: "On some systems, va_end contains a closing '}' matching a '{' in va_start, so that both macros must occur in the same function, and in a way that allows this." ------------------------------------------------------------------------ r11499 | vlefevre | 2017-05-19 09:26:18 +0000 (Fri, 19 May 2017) | 2 lines Changed paths: M /trunk/tests/tget_set_d64.c [tests/tget_set_d64.c] Disable tests with a division by 0 (which now occurs only with -DXDEBUG) if MPFR_ERRDIVZERO is defined. ------------------------------------------------------------------------ r11498 | vlefevre | 2017-05-19 09:20:19 +0000 (Fri, 19 May 2017) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Disable an overflow test with a division by 0 (now occurs only with -DXDEBUG) if MPFR_ERRDIVZERO is defined. ------------------------------------------------------------------------ r11497 | vlefevre | 2017-05-19 08:54:32 +0000 (Fri, 19 May 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Details for "-DMPFR_TESTS_DIVBYZERO -DMPFR_ERRDIVZERO". ------------------------------------------------------------------------ r11496 | vlefevre | 2017-05-19 08:34:00 +0000 (Fri, 19 May 2017) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] In mixed(), initialize n2 to an invalid value in order to ease failure analysis. ------------------------------------------------------------------------ r11495 | zimmerma | 2017-05-19 08:15:46 +0000 (Fri, 19 May 2017) | 2 lines Changed paths: M /trunk/src/set_d.c removed leftover debug statement in last commit ------------------------------------------------------------------------ r11494 | zimmerma | 2017-05-19 08:14:58 +0000 (Fri, 19 May 2017) | 2 lines Changed paths: M /trunk/src/set_d.c fix for clang bug (https://bugs.llvm.org//show_bug.cgi?id=17686) ------------------------------------------------------------------------ r11493 | vlefevre | 2017-05-19 08:04:05 +0000 (Fri, 19 May 2017) | 8 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] Change for MPFR_TESTS_DIVBYZERO: in case of FE_DIVBYZERO or FE_INVALID, fail unconditionally, not just when MPFR_ERRDIVZERO is defined, otherwise one cannot see the output about the floating-point exceptions with "make check" (the test of MPFR_ERRDIVZERO here should have been removed after switching to Automake 1.13, which discards the output when the test program succeeds). Note: defining MPFR_TESTS_DIVBYZERO without MPFR_ERRDIVZERO is just for debugging. ------------------------------------------------------------------------ r11492 | zimmerma | 2017-05-19 08:03:19 +0000 (Fri, 19 May 2017) | 2 lines Changed paths: M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/td_div.c M /trunk/tests/tests.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_flt.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tset_d.c M /trunk/tests/tset_float128.c M /trunk/tests/tset_ld.c more work on MPFR_TESTS_EXCEPTIONS ------------------------------------------------------------------------ r11491 | vlefevre | 2017-05-19 07:29:24 +0000 (Fri, 19 May 2017) | 3 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] Re-added code testing FE_DIVBYZERO and FE_INVALID with -DMPFR_TESTS_DIVBYZERO -DMPFR_ERRDIVZERO, because MPFR_TESTS_EXCEPTIONS is not ready yet. ------------------------------------------------------------------------ r11490 | vlefevre | 2017-05-19 07:04:23 +0000 (Fri, 19 May 2017) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Output IEEE floats status. ------------------------------------------------------------------------ r11489 | zimmerma | 2017-05-19 06:09:23 +0000 (Fri, 19 May 2017) | 2 lines Changed paths: M /trunk/tests/tests.c check for fp exceptions (experimental) ------------------------------------------------------------------------ r11488 | vlefevre | 2017-05-17 14:08:40 +0000 (Wed, 17 May 2017) | 1 line Changed paths: M /trunk/src/cmp2.c [src/cmp2.c] Added/updated comments. ------------------------------------------------------------------------ r11487 | vlefevre | 2017-05-17 13:34:28 +0000 (Wed, 17 May 2017) | 2 lines Changed paths: M /trunk/tests/tcmp2.c [tests/tcmp2.c] Added tests with equal numbers, possibly of different sizes. ------------------------------------------------------------------------ r11486 | vlefevre | 2017-05-17 10:15:30 +0000 (Wed, 17 May 2017) | 1 line Changed paths: M /trunk/src/cmp2.c [src/cmp2.c] Corrected comments. ------------------------------------------------------------------------ r11485 | vlefevre | 2017-05-17 06:46:27 +0000 (Wed, 17 May 2017) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] In the detection of reserved macro names, skip ERR from src/mpfr-gmp.h (this is a special case). ------------------------------------------------------------------------ r11484 | vlefevre | 2017-05-17 06:31:23 +0000 (Wed, 17 May 2017) | 1 line Changed paths: M /trunk/tests/tget_set_d64.c [tests/tget_set_d64.c] Made PRINT_ERR_MISC more robust. ------------------------------------------------------------------------ r11483 | vlefevre | 2017-05-17 06:27:14 +0000 (Wed, 17 May 2017) | 2 lines Changed paths: M /trunk/tests/tfma.c M /trunk/tests/tfms.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tsi_op.c [tests/*.c] Renamed the remaining macros whose names are reserved by ISO C when <errno.h> is included. ------------------------------------------------------------------------ r11482 | vlefevre | 2017-05-16 13:44:56 +0000 (Tue, 16 May 2017) | 1 line Changed paths: M /trunk/tests/texceptions.c [tests/texceptions.c] Made code formatting consistent. ------------------------------------------------------------------------ r11481 | vlefevre | 2017-05-16 13:41:49 +0000 (Tue, 16 May 2017) | 3 lines Changed paths: M /trunk/tests/tcmpabs.c M /trunk/tests/texceptions.c M /trunk/tests/tpow_z.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c [tests/*.c] Renamed "ERROR" macro (macro name reserved by ISO C when <errno.h> is included) to "PRINT_ERROR", and made the macro more robust. ------------------------------------------------------------------------ r11480 | vlefevre | 2017-05-16 13:21:15 +0000 (Tue, 16 May 2017) | 2 lines Changed paths: M /trunk/src/get_f.c M /trunk/src/mpfr-gmp.h M /trunk/src/set_f.c M /trunk/tests/tget_f.c Define the EXP() macro in src/mpfr-gmp.h only when needed (macro name reserved by ISO C when <errno.h> is included). ------------------------------------------------------------------------ r11479 | vlefevre | 2017-05-16 10:35:35 +0000 (Tue, 16 May 2017) | 5 lines Changed paths: M /trunk/src/gamma.c [src/gamma.c] Got rid of the EXPM1_STR macro (macro name reserved by ISO C when <errno.h> is included), made no longer interesting by using mpfr_set_str_binary only once and another temporary variable. At the same time, replaced the usual allocation by a GROUP allocation (more efficient). ------------------------------------------------------------------------ r11478 | vlefevre | 2017-05-15 15:39:18 +0000 (Mon, 15 May 2017) | 1 line Changed paths: M /trunk/tests/tcheck.c [tests/tcheck.c] Code reformatting (GNU coding style). ------------------------------------------------------------------------ r11477 | vlefevre | 2017-05-15 15:27:29 +0000 (Mon, 15 May 2017) | 2 lines Changed paths: M /trunk/tests/tcheck.c [tests/tcheck.c] Renamed "ERROR" macro (macro name reserved by ISO C when <errno.h> is included) to "PRINT_ERROR". ------------------------------------------------------------------------ r11476 | vlefevre | 2017-05-15 15:19:11 +0000 (Mon, 15 May 2017) | 8 lines Changed paths: M /trunk/src/jn.c M /trunk/src/mpfr-impl.h M /trunk/tests/mpfr-test.h M /trunk/tests/tabs.c M /trunk/tests/tagm.c M /trunk/tests/tasin.c M /trunk/tests/tatan.c M /trunk/tests/terf.c M /trunk/tests/tgamma.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tpow_all.c M /trunk/tests/tsin_cos.c M /trunk/tests/tstckintc.c M /trunk/tests/tstrtofr.c Do not define macro names starting with "SIG" (+ uppercase letter) as they are reserved when <signal.h> is included (ISO C, 7.31.7), which happens to be the case in tests/tests.c, which also includes tests/mpfr-test.h and src/mpfr-impl.h indirectly. * src/mpfr-impl.h, tests/mpfr-test.h: renamed macros: SIGN → VSIGN SIGN_RAND → RAND_SIGN * {src,tests}/*.{c,h}: updated the names in the use of these macros. ------------------------------------------------------------------------ r11475 | vlefevre | 2017-05-15 14:53:04 +0000 (Mon, 15 May 2017) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Added a comment about the definition of reserved identifiers (in particular, macro names). ------------------------------------------------------------------------ r11474 | vlefevre | 2017-05-15 14:47:06 +0000 (Mon, 15 May 2017) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Detect the definition of reserved macro names. ------------------------------------------------------------------------ r11473 | vlefevre | 2017-05-15 14:20:37 +0000 (Mon, 15 May 2017) | 4 lines Changed paths: M /trunk/src/bernoulli.c [src/bernoulli.c] Changed isprime to is_prime in order to avoid obscure problems if <ctype.h> is added to mpfr-impl.h in the future (or if this function is made external). See ISO C "Future library directions", Clause 7.31.2 "Character handling <ctype.h>". ------------------------------------------------------------------------ r11472 | vlefevre | 2017-05-12 13:01:17 +0000 (Fri, 12 May 2017) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Improved comments about assertions and MPFR_ASSUME(). ------------------------------------------------------------------------ r11471 | vlefevre | 2017-05-09 15:33:20 +0000 (Tue, 09 May 2017) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] Mention the problem when almost all the tests fails with a message "Incorrect MPFR version! ...". ------------------------------------------------------------------------ r11470 | vlefevre | 2017-05-09 13:02:22 +0000 (Tue, 09 May 2017) | 3 lines Changed paths: M /trunk/tests/tl2b.c M /trunk/tests/tpow_all.c Increase the buffer sizes even more, and added a comment. This may be better in case of quick future changes (possibly for debugging), without checking carefully. For the tests, optimal code is useless. ------------------------------------------------------------------------ r11469 | zimmerma | 2017-05-09 10:47:36 +0000 (Tue, 09 May 2017) | 3 lines Changed paths: M /trunk/tests/tl2b.c M /trunk/tests/tpow_all.c fixed bugs found by gcc 7.1.0 (-Werror=format-overflow=) [VL] The MPFR code was correct. This is actually a bug in GCC: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79257 ------------------------------------------------------------------------ r11468 | vlefevre | 2017-05-09 09:11:57 +0000 (Tue, 09 May 2017) | 1 line Changed paths: M /trunk/doc/FAQ.html [doc] Updated FAQ.html with update-faq. ------------------------------------------------------------------------ r11461 | vlefevre | 2017-05-05 08:17:09 +0000 (Fri, 05 May 2017) | 6 lines Changed paths: M /trunk/tools/mbench/timp.h [tools/mbench/timp.h] Updated TIMP_MEASURE() to handle the case where the return value is 0: this probably means that timp_overhead was too large and incorrect. In this case, TIMP_OVERHEAD() is called again to recompute timp_overhead and the timing is redone. Note: if we do not call TIMP_OVERHEAD() again, then TIMP_MEASURE() loops indefinitely, meaning that timp_overhead was really too large. ------------------------------------------------------------------------ r11460 | vlefevre | 2017-05-05 07:42:06 +0000 (Fri, 05 May 2017) | 1 line Changed paths: M /trunk/tools/mbench/timp.h [tools/mbench/timp.h] Comment at the wrong place. Fixed. ------------------------------------------------------------------------ r11459 | vlefevre | 2017-05-05 07:40:54 +0000 (Fri, 05 May 2017) | 1 line Changed paths: M /trunk/tools/mbench/timp.h [tools/mbench/timp.h] Added a comment about r11458. ------------------------------------------------------------------------ r11458 | vlefevre | 2017-05-04 17:07:27 +0000 (Thu, 04 May 2017) | 1 line Changed paths: M /trunk/tools/mbench/timp.h [tools/mbench/timp.h] Fixed overflows on unsigned arithmetic. ------------------------------------------------------------------------ r11457 | vlefevre | 2017-05-04 16:56:59 +0000 (Thu, 04 May 2017) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5.h [tools/mbench/mfv5.h] Increased values from 2^60-1 to 2^64-1 (it is possible to get more than 2^60-1 cycles in practice!). ------------------------------------------------------------------------ r11452 | vlefevre | 2017-05-02 14:28:40 +0000 (Tue, 02 May 2017) | 1 line Changed paths: M /trunk/src/gamma.c [src/gamma.c] Clarified proof for tiny arguments again. ------------------------------------------------------------------------ r11451 | vlefevre | 2017-05-02 14:07:25 +0000 (Tue, 02 May 2017) | 1 line Changed paths: M /trunk/src/gamma.c [src/gamma.c] Clarified proof for tiny arguments. ------------------------------------------------------------------------ r11450 | vlefevre | 2017-05-02 12:38:02 +0000 (Tue, 02 May 2017) | 3 lines Changed paths: M /trunk/src/gamma.c [src/gamma.c] In the proof for tiny arguments: * Simplification suggested by Paul. * Attempt to clarify the end. ------------------------------------------------------------------------ r11449 | zimmerma | 2017-05-02 09:23:25 +0000 (Tue, 02 May 2017) | 2 lines Changed paths: M /trunk/tools/mbench/timp.h added comment ------------------------------------------------------------------------ r11448 | zimmerma | 2017-05-02 08:10:53 +0000 (Tue, 02 May 2017) | 2 lines Changed paths: M /trunk/tools/mbench/timp.h added reference for mbench (rdtsc vs rdtscp) ------------------------------------------------------------------------ r11447 | vlefevre | 2017-04-28 15:41:36 +0000 (Fri, 28 Apr 2017) | 2 lines Changed paths: M /trunk/src/gamma.c [src/gamma.c] Tiny arguments: corrected a typo and added a TODO (one might get a better condition). ------------------------------------------------------------------------ r11446 | vlefevre | 2017-04-28 15:19:16 +0000 (Fri, 28 Apr 2017) | 1 line Changed paths: M /trunk/src/gamma.c [src/gamma.c] Corrections in a proof for tiny arguments. Added a TODO. ------------------------------------------------------------------------ r11445 | vlefevre | 2017-04-27 12:00:50 +0000 (Thu, 27 Apr 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update about the MPFR_GENERIC_ABI macro. ------------------------------------------------------------------------ r11444 | vlefevre | 2017-04-27 11:45:24 +0000 (Thu, 27 Apr 2017) | 1 line Changed paths: M /trunk/src/sqr.c [src/sqr.c] Corrected a comment. ------------------------------------------------------------------------ r11443 | vlefevre | 2017-04-27 11:44:22 +0000 (Thu, 27 Apr 2017) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Blank line like in add1sp.c, sub1sp.c, etc. ------------------------------------------------------------------------ r11442 | vlefevre | 2017-04-27 11:42:50 +0000 (Thu, 27 Apr 2017) | 1 line Changed paths: M /trunk/src/sqr.c [src/sqr.c] Blank lines and comment like in add1sp.c, sub1sp.c, etc. ------------------------------------------------------------------------ r11441 | vlefevre | 2017-04-27 11:38:51 +0000 (Thu, 27 Apr 2017) | 3 lines Changed paths: M /trunk/src/mul.c [src/mul.c] Like in add1sp.c and sub1sp.c, do not define the specific functions for low precision if MPFR_GENERIC_ABI is defined (they are not called in such a case). ------------------------------------------------------------------------ r11440 | vlefevre | 2017-04-27 11:31:50 +0000 (Thu, 27 Apr 2017) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Added blank lines for readability (like in add1sp.c). ------------------------------------------------------------------------ r11439 | vlefevre | 2017-04-27 11:12:24 +0000 (Thu, 27 Apr 2017) | 1 line Changed paths: M /trunk/tools/mbench/timp.h s/interruption/interrupt/ ------------------------------------------------------------------------ r11438 | vlefevre | 2017-04-27 09:23:51 +0000 (Thu, 27 Apr 2017) | 1 line Changed paths: M /trunk/tools/mbench/Makefile M /trunk/tools/mbench/timp.h [mbench] Updated copyright years. Added a comment. ------------------------------------------------------------------------ r11437 | zimmerma | 2017-04-27 08:22:31 +0000 (Thu, 27 Apr 2017) | 2 lines Changed paths: M /trunk/tools/mbench/Makefile M /trunk/tools/mbench/timp.h better detection of rdtscp ------------------------------------------------------------------------ r11436 | vlefevre | 2017-04-18 17:18:54 +0000 (Tue, 18 Apr 2017) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Updated a comment, with reference to GCC bug 80454. ------------------------------------------------------------------------ r11434 | vlefevre | 2017-04-09 13:06:36 +0000 (Sun, 09 Apr 2017) | 1 line Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] Avoid integer overflow from r11411 with 32-bit long. ------------------------------------------------------------------------ r11433 | vlefevre | 2017-04-07 15:15:34 +0000 (Fri, 07 Apr 2017) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Updated test to check that the snprintf function (C99) is not used. ------------------------------------------------------------------------ r11430 | vlefevre | 2017-04-07 14:52:12 +0000 (Fri, 07 Apr 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Corrected an English error. ------------------------------------------------------------------------ r11429 | vlefevre | 2017-04-07 13:59:03 +0000 (Fri, 07 Apr 2017) | 3 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Fixed bug triggered by the test added in r11428: the size field of struct printf_spec must have type size_t, not int, because the size argument of mpfr_snprintf has type size_t. ------------------------------------------------------------------------ r11428 | vlefevre | 2017-04-07 13:53:58 +0000 (Fri, 07 Apr 2017) | 3 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added a test that fails on 64-bit machines (4-byte int, 8-byte size_t), due to the use of mpfr_snprintf with required size = (size_t) UINT_MAX + 1. ------------------------------------------------------------------------ r11427 | vlefevre | 2017-04-07 08:18:47 +0000 (Fri, 07 Apr 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Minor changes. ------------------------------------------------------------------------ r11426 | vlefevre | 2017-04-07 08:09:46 +0000 (Fri, 07 Apr 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Comment re-indentation. ------------------------------------------------------------------------ r11425 | vlefevre | 2017-04-07 07:21:47 +0000 (Fri, 07 Apr 2017) | 1 line Changed paths: M /trunk/src/ubf.c [src/ubf.c] Renamed mpfr_get_zexp to mpfr_init_get_zexp for clarity. ------------------------------------------------------------------------ r11424 | vlefevre | 2017-04-06 23:37:51 +0000 (Thu, 06 Apr 2017) | 3 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Fixed silly typo in MPFR_UBF_CLEAR_EXP() yielding either an obscure memory leak or a crash in some mpfr_fmma calls. We would really need formal proofs on the code... Or avoid macros. ------------------------------------------------------------------------ r11423 | zimmerma | 2017-04-06 17:51:39 +0000 (Thu, 06 Apr 2017) | 2 lines Changed paths: M /trunk/tests/tfmma.c [tests/tfmma.c] added one test ------------------------------------------------------------------------ r11422 | zimmerma | 2017-04-06 17:15:03 +0000 (Thu, 06 Apr 2017) | 2 lines Changed paths: M /trunk/tests/tfmma.c [tests/tfmma.c] fixed test ------------------------------------------------------------------------ r11421 | vlefevre | 2017-04-06 17:06:12 +0000 (Thu, 06 Apr 2017) | 1 line Changed paths: M /trunk/src/add1.c [src/add1.c] Updated comment about underflow. ------------------------------------------------------------------------ r11420 | vlefevre | 2017-04-06 17:01:59 +0000 (Thu, 06 Apr 2017) | 3 lines Changed paths: M /trunk/src/add1.c [src/add1.c] Handling of UBF and overflow/underflow. * Added a MPFR_ASSERTD related to the overflow code. * Bug fix: handle underflow, possible if UBF input(s). ------------------------------------------------------------------------ r11419 | zimmerma | 2017-04-06 16:02:27 +0000 (Thu, 06 Apr 2017) | 2 lines Changed paths: M /trunk/tests/tfmma.c [tests/tfmma.c] added another test (currently fails) ------------------------------------------------------------------------ r11418 | vlefevre | 2017-04-06 15:24:33 +0000 (Thu, 06 Apr 2017) | 2 lines Changed paths: M /trunk/src/sub1.c [src/sub1.c] Bug fix: underflow was not detected in the case cancel = 0 with UBF numbers. At the same time, refactored the related code a bit. ------------------------------------------------------------------------ r11417 | vlefevre | 2017-04-06 13:45:27 +0000 (Thu, 06 Apr 2017) | 1 line Changed paths: M /trunk/tests [tests] Added tbeta to svn:ignore property. ------------------------------------------------------------------------ r11416 | vlefevre | 2017-04-06 13:24:35 +0000 (Thu, 06 Apr 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Formatting of the mpfr_can_round example for 80-column terminals + GNU coding style. ------------------------------------------------------------------------ r11415 | vlefevre | 2017-04-06 12:53:23 +0000 (Thu, 06 Apr 2017) | 1 line Changed paths: M /trunk/tests/tfmma.c [tests/tfmma.c] Updated comment about bug20170405 (fixed in r11414). ------------------------------------------------------------------------ r11414 | vlefevre | 2017-04-06 12:47:03 +0000 (Thu, 06 Apr 2017) | 1 line Changed paths: M /trunk/src/sub1.c [src/sub1.c] Also corrected the comment about overflow detection. ------------------------------------------------------------------------ r11413 | vlefevre | 2017-04-06 12:45:14 +0000 (Thu, 06 Apr 2017) | 1 line Changed paths: M /trunk/src/sub1.c [src/sub1.c] Really fixed overflow detection (r11412 is broken). ------------------------------------------------------------------------ r11412 | vlefevre | 2017-04-06 12:43:01 +0000 (Thu, 06 Apr 2017) | 4 lines Changed paths: M /trunk/src/sub1.c [src/sub1.c] Fixed/improved UBF cases. * Added an assertion (usual MPFR limitation with huge precisions, affecting 32-bit ABI only in practice). * Fixed overflow detection. ------------------------------------------------------------------------ r11411 | vlefevre | 2017-04-06 11:56:58 +0000 (Thu, 06 Apr 2017) | 3 lines Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] In check_long_string(), which is called when MPFR_CHECK_LARGEMEM is defined, increase tests_memory_limit if need be in order to avoid an obvious failure due to insufficient memory. ------------------------------------------------------------------------ r11410 | vlefevre | 2017-04-06 11:47:59 +0000 (Thu, 06 Apr 2017) | 3 lines Changed paths: M /trunk/tests/memory.c [tests/memory.c] Write all error messages to stderr in order to make sure that they remain visible when the standard output is redirected (e.g. in tprintf). Rewrote the messages in a consistent way. ------------------------------------------------------------------------ r11409 | vlefevre | 2017-04-06 11:20:31 +0000 (Thu, 06 Apr 2017) | 1 line Changed paths: M /trunk/tests/tfmma.c [tests/tfmma.c] Fixed return type of test added in r11407. ------------------------------------------------------------------------ r11408 | vlefevre | 2017-04-06 11:18:53 +0000 (Thu, 06 Apr 2017) | 3 lines Changed paths: M /trunk/tests/tinits.c [tests/tinits.c] When MPFR_CHECK_LARGEMEM is defined, increase tests_memory_limit if need be in order to avoid an obvious failure due to insufficient memory. ------------------------------------------------------------------------ r11407 | zimmerma | 2017-04-06 11:00:38 +0000 (Thu, 06 Apr 2017) | 3 lines Changed paths: M /trunk/tests/tfmma.c added test that triggers an error (see https://sympa.inria.fr/sympa/arc/mpfr/2017-04/msg00016.html) ------------------------------------------------------------------------ r11406 | vlefevre | 2017-04-05 12:46:15 +0000 (Wed, 05 Apr 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r11405 | vlefevre | 2017-04-05 08:35:18 +0000 (Wed, 05 Apr 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] More details about errno. ------------------------------------------------------------------------ r11404 | vlefevre | 2017-04-04 14:43:40 +0000 (Tue, 04 Apr 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a paragraph about the use of errno. ------------------------------------------------------------------------ r11403 | vlefevre | 2017-04-04 14:19:31 +0000 (Tue, 04 Apr 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Details about EOVERFLOW. ------------------------------------------------------------------------ r11402 | zimmerma | 2017-04-04 06:22:46 +0000 (Tue, 04 Apr 2017) | 2 lines Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] added test in bug20161217() ------------------------------------------------------------------------ r11401 | vlefevre | 2017-04-03 13:04:23 +0000 (Mon, 03 Apr 2017) | 2 lines Changed paths: M /trunk/TODO [TODO] Update about functions returning a native floating-point value and underflow/overflow. ------------------------------------------------------------------------ r11400 | vlefevre | 2017-04-03 11:46:48 +0000 (Mon, 03 Apr 2017) | 2 lines Changed paths: M /trunk/src/atanh.c [src/atanh.c] Removed comment giving the "optimal" working precision (I do not see any proof in algorithms.tex, and it seems incorrect). ------------------------------------------------------------------------ r11399 | vlefevre | 2017-04-03 11:28:24 +0000 (Mon, 03 Apr 2017) | 2 lines Changed paths: M /trunk/TODO M /trunk/src/log1p.c [TODO,src/log1p.c] log1p(x) on small x should also be improved instead of computing log(1+x). ------------------------------------------------------------------------ r11398 | vlefevre | 2017-04-03 09:16:27 +0000 (Mon, 03 Apr 2017) | 1 line Changed paths: M /trunk/TODO M /trunk/src/atanh.c [TODO,src/atanh.c] Suggest a faster formula for atanh(x) on small x. ------------------------------------------------------------------------ r11397 | vlefevre | 2017-04-03 09:04:04 +0000 (Mon, 03 Apr 2017) | 1 line Changed paths: M /trunk/src/atanh.c [src/atanh.c] Cosmetic changes (comments and whitespace). ------------------------------------------------------------------------ r11396 | vlefevre | 2017-04-03 08:24:03 +0000 (Mon, 03 Apr 2017) | 1 line Changed paths: M /trunk/TODO [TODO] Update about ERANGE. ------------------------------------------------------------------------ r11395 | vlefevre | 2017-03-27 14:57:20 +0000 (Mon, 27 Mar 2017) | 1 line Changed paths: M /trunk/tests/tbeta.c [tests/tbeta.c] Fixed a macro (use of mpfr_printf, missing cast). ------------------------------------------------------------------------ r11390 | vlefevre | 2017-03-09 10:58:49 +0000 (Thu, 09 Mar 2017) | 1 line Changed paths: M /trunk/NEWS [NEWS] Mention how to find the full list of bug fixes. ------------------------------------------------------------------------ r11388 | vlefevre | 2017-03-09 09:45:02 +0000 (Thu, 09 Mar 2017) | 1 line Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Updated comments about bug20161217 and bug20170308. ------------------------------------------------------------------------ r11386 | vlefevre | 2017-03-09 09:28:47 +0000 (Thu, 09 Mar 2017) | 1 line Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Added comments about bug20161217 and bug20170308. ------------------------------------------------------------------------ r11385 | vlefevre | 2017-03-09 01:34:37 +0000 (Thu, 09 Mar 2017) | 2 lines Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Updated comment: bug20170308 checks the same bug as bug20161217. ------------------------------------------------------------------------ r11384 | vlefevre | 2017-03-09 01:27:39 +0000 (Thu, 09 Mar 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r11383 | zimmerma | 2017-03-08 20:58:00 +0000 (Wed, 08 Mar 2017) | 2 lines Changed paths: M /trunk/tests/tstrtofr.c added non-regression test ------------------------------------------------------------------------ r11382 | zimmerma | 2017-03-07 14:12:39 +0000 (Tue, 07 Mar 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] results should not depend on machine rounding mode/precision ------------------------------------------------------------------------ r11381 | vlefevre | 2017-03-06 10:55:45 +0000 (Mon, 06 Mar 2017) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Minor corrections. ------------------------------------------------------------------------ r11380 | vlefevre | 2017-03-05 02:11:52 +0000 (Sun, 05 Mar 2017) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Added a comment about shiftq. ------------------------------------------------------------------------ r11379 | vlefevre | 2017-02-28 11:11:29 +0000 (Tue, 28 Feb 2017) | 1 line Changed paths: M /trunk/tests/tbeta.c [tests/tbeta.c] C89 compatibility and some code reformatting. ------------------------------------------------------------------------ r11378 | vlefevre | 2017-02-28 10:10:44 +0000 (Tue, 28 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Slightly improved comments. ------------------------------------------------------------------------ r11377 | vlefevre | 2017-02-28 10:06:10 +0000 (Tue, 28 Feb 2017) | 2 lines Changed paths: M /trunk/src/beta.c [src/beta.c] Fixed a bug in reduced exponent range (not detected by the current tests). ------------------------------------------------------------------------ r11376 | vlefevre | 2017-02-28 10:02:51 +0000 (Tue, 28 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Added a comment for Beta(0,negative integer). ------------------------------------------------------------------------ r11375 | vlefevre | 2017-02-28 09:53:31 +0000 (Tue, 28 Feb 2017) | 2 lines Changed paths: M /trunk/src/beta.c [src/beta.c] Eventually fixed the case z or w is 0 (note: r11374 did also other unwanted changes, reverted here). ------------------------------------------------------------------------ r11374 | vlefevre | 2017-02-28 09:40:01 +0000 (Tue, 28 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Reverted my changes (this was incorrect). ------------------------------------------------------------------------ r11373 | vlefevre | 2017-02-28 09:32:01 +0000 (Tue, 28 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Fixed special cases. ------------------------------------------------------------------------ r11372 | vlefevre | 2017-02-28 09:10:28 +0000 (Tue, 28 Feb 2017) | 2 lines Changed paths: M /trunk/src/beta.c [src/beta.c] Added comments and some corrections (incomplete) for the case "z or w is 0". ------------------------------------------------------------------------ r11371 | zimmerma | 2017-02-28 08:06:05 +0000 (Tue, 28 Feb 2017) | 2 lines Changed paths: M /trunk/src/beta.c [src/beta.c] fixed case z or w is 0 ------------------------------------------------------------------------ r11370 | zimmerma | 2017-02-28 07:11:09 +0000 (Tue, 28 Feb 2017) | 4 lines Changed paths: M /trunk/tests/tbeta.c [tests/tbeta.c] patch from Cade Brown - signed zeros are checked in is_same - the case above (summing non-integer negative z, w which sum to a negative integer) ------------------------------------------------------------------------ r11369 | zimmerma | 2017-02-27 22:00:55 +0000 (Mon, 27 Feb 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] added mpfr_beta in "Added Functions" ------------------------------------------------------------------------ r11368 | vlefevre | 2017-02-27 15:48:12 +0000 (Mon, 27 Feb 2017) | 1 line Changed paths: M /trunk/src/jn.c [src/jn.c] Use MPFR_ADD_PREC. ------------------------------------------------------------------------ r11367 | vlefevre | 2017-02-27 15:42:30 +0000 (Mon, 27 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Updated comments; added a FIXME. ------------------------------------------------------------------------ r11366 | zimmerma | 2017-02-27 15:10:45 +0000 (Mon, 27 Feb 2017) | 3 lines Changed paths: M /trunk/src/jn.c [src/jn.c] in case the first Ziv loop failed, take into account the number of lost bits ------------------------------------------------------------------------ r11365 | vlefevre | 2017-02-27 15:06:41 +0000 (Mon, 27 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Use MPFR_ARE_SINGULAR. ------------------------------------------------------------------------ r11364 | zimmerma | 2017-02-27 14:22:29 +0000 (Mon, 27 Feb 2017) | 2 lines Changed paths: M /trunk/src/beta.c [src/beta.c] fix in case z and w are not integers and z+w is a nonpositive integer ------------------------------------------------------------------------ r11363 | zimmerma | 2017-02-27 12:07:35 +0000 (Mon, 27 Feb 2017) | 2 lines Changed paths: A /trunk/src/odd_p.c [src/odd_p.c] new source file ------------------------------------------------------------------------ r11362 | zimmerma | 2017-02-27 12:07:15 +0000 (Mon, 27 Feb 2017) | 5 lines Changed paths: M /trunk/src/Makefile.am M /trunk/src/beta.c M /trunk/src/mpfr-impl.h M /trunk/src/pow.c [src/Makefile.am] new file odd_p.c [src/beta.c] fixed bug [src/mpfr-impl.h] renamed mpfr_is_odd into mpfr_odd_p [src/pow.c] moved mpfr_is_odd (renamed mpfr_odd_p) into separate file ------------------------------------------------------------------------ r11361 | vlefevre | 2017-02-27 11:10:11 +0000 (Mon, 27 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Added a FIXME (test failure with assertions). ------------------------------------------------------------------------ r11360 | vlefevre | 2017-02-27 10:48:32 +0000 (Mon, 27 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Removed an unusual space. ------------------------------------------------------------------------ r11359 | vlefevre | 2017-02-27 10:42:30 +0000 (Mon, 27 Feb 2017) | 1 line Changed paths: M /trunk/tests/tbuildopt.c [tests/tbuildopt.c] Added calls to tests_start_mpfr and tests_end_mpfr. ------------------------------------------------------------------------ r11358 | vlefevre | 2017-02-27 10:35:25 +0000 (Mon, 27 Feb 2017) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Added a test to check that the usual test programs call tests_start_mpfr and tests_end_mpfr. ------------------------------------------------------------------------ r11357 | zimmerma | 2017-02-27 10:27:40 +0000 (Mon, 27 Feb 2017) | 5 lines Changed paths: M /trunk/src/beta.c M /trunk/src/mpfr-impl.h M /trunk/src/pow.c M /trunk/tests/tbeta.c [src/beta.c] several fixes [src/pow.c] renamed is_odd to mpfr_is_odd, and export it [src/mpfr-impl.h] export mpfr_is_odd as internal function [tests/tbeta.c] added generic tests ------------------------------------------------------------------------ r11356 | vlefevre | 2017-02-27 09:43:46 +0000 (Mon, 27 Feb 2017) | 1 line Changed paths: M /trunk/tests/tbeta.c [tests/tbeta.c] Added missing void in prototype. ------------------------------------------------------------------------ r11355 | vlefevre | 2017-02-27 09:32:39 +0000 (Mon, 27 Feb 2017) | 1 line Changed paths: M /trunk/NEWS M /trunk/src/set.c Removed trailing spaces. ------------------------------------------------------------------------ r11354 | vlefevre | 2017-02-27 08:30:31 +0000 (Mon, 27 Feb 2017) | 1 line Changed paths: M /trunk/tests/tbeta.c [tests/tbeta.c] Fixed the usage of MPFR types. ------------------------------------------------------------------------ r11353 | vlefevre | 2017-02-27 08:28:03 +0000 (Mon, 27 Feb 2017) | 1 line Changed paths: M /trunk/tests/tbeta.c [tests/tbeta.c] Minor correction. Added a FIXME and a TODO. ------------------------------------------------------------------------ r11352 | zimmerma | 2017-02-27 07:11:05 +0000 (Mon, 27 Feb 2017) | 2 lines Changed paths: M /trunk/tests/tbeta.c [tests/tbeta.c] GNU style and C89 portability ------------------------------------------------------------------------ r11351 | zimmerma | 2017-02-27 06:56:40 +0000 (Mon, 27 Feb 2017) | 2 lines Changed paths: M /trunk/TODO [TODO] removed beta entry ------------------------------------------------------------------------ r11350 | zimmerma | 2017-02-27 06:56:03 +0000 (Mon, 27 Feb 2017) | 2 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am M /trunk/src/mpfr.h M /trunk/tests/Makefile.am new function mpfr_beta ------------------------------------------------------------------------ r11349 | zimmerma | 2017-02-27 06:55:23 +0000 (Mon, 27 Feb 2017) | 4 lines Changed paths: A /trunk/tests/tbeta.c [tests/tbeta.c] test file for mpfr_beta, contributed by Cade Brown from ChemicalDevelopment (this commit is the file as it was contributed, except the mpfr-test.h include) ------------------------------------------------------------------------ r11348 | vlefevre | 2017-02-27 02:25:55 +0000 (Mon, 27 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Portability corrections. ------------------------------------------------------------------------ r11347 | zimmerma | 2017-02-26 22:13:00 +0000 (Sun, 26 Feb 2017) | 2 lines Changed paths: M /trunk/src/beta.c [src/beta.c] fix for exact case beta(1,2^k) for k negative integer ------------------------------------------------------------------------ r11346 | zimmerma | 2017-02-26 15:47:17 +0000 (Sun, 26 Feb 2017) | 2 lines Changed paths: M /trunk/src/beta.c [src/beta.c] special values are now implemented (should be reviewed) ------------------------------------------------------------------------ r11343 | vlefevre | 2017-02-25 22:52:23 +0000 (Sat, 25 Feb 2017) | 1 line Changed paths: M /trunk/TODO [TODO] mpfr_root: replace "obsolete" by "deprecated" (the right word). ------------------------------------------------------------------------ r11342 | vlefevre | 2017-02-25 22:46:23 +0000 (Sat, 25 Feb 2017) | 1 line Changed paths: M /trunk/TODO [TODO] Update about rootn. ------------------------------------------------------------------------ r11341 | vlefevre | 2017-02-25 22:31:48 +0000 (Sat, 25 Feb 2017) | 1 line Changed paths: M /trunk/TODO [TODO] Added some propositions about rootn. ------------------------------------------------------------------------ r11340 | zimmerma | 2017-02-25 13:58:10 +0000 (Sat, 25 Feb 2017) | 2 lines Changed paths: M /trunk/src/root.c [src/root.c] added comment ------------------------------------------------------------------------ r11339 | zimmerma | 2017-02-25 07:21:08 +0000 (Sat, 25 Feb 2017) | 2 lines Changed paths: M /trunk/doc/algorithms.tex added reference ------------------------------------------------------------------------ r11338 | vlefevre | 2017-02-23 13:00:06 +0000 (Thu, 23 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Call mpfr_check_range as usual. ------------------------------------------------------------------------ r11337 | vlefevre | 2017-02-23 12:18:10 +0000 (Thu, 23 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Extended the exponent range for the generic case. ------------------------------------------------------------------------ r11336 | vlefevre | 2017-02-23 12:15:45 +0000 (Thu, 23 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Added a comment. ------------------------------------------------------------------------ r11335 | vlefevre | 2017-02-23 12:14:19 +0000 (Thu, 23 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Various code improvement / fixes. ------------------------------------------------------------------------ r11334 | vlefevre | 2017-02-23 11:49:35 +0000 (Thu, 23 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Added a FIXME. ------------------------------------------------------------------------ r11333 | zimmerma | 2017-02-23 11:10:39 +0000 (Thu, 23 Feb 2017) | 3 lines Changed paths: M /trunk/src/Makefile.am A /trunk/src/beta.c M /trunk/src/mpfr.h [src/beta.c] added beta function (work in progress, not yet fully implemented, and not tested) ------------------------------------------------------------------------ r11332 | zimmerma | 2017-02-21 14:06:56 +0000 (Tue, 21 Feb 2017) | 2 lines Changed paths: M /trunk/src/fmma.c M /trunk/src/set.c M /trunk/src/ubf.c [src/fmma.c] speedup of mpfr_fmma and mpfr_fmms ------------------------------------------------------------------------ r11331 | zimmerma | 2017-02-21 12:40:52 +0000 (Tue, 21 Feb 2017) | 3 lines Changed paths: M /trunk/src/fma.c M /trunk/src/mpfr-impl.h M /trunk/src/set.c [src/fma.c] speedup of mpfr_fma when all operands have the same precision (less than one full limb) ------------------------------------------------------------------------ r11330 | vlefevre | 2017-02-21 10:28:04 +0000 (Tue, 21 Feb 2017) | 2 lines Changed paths: M /trunk/NEWS [NEWS] Note that the position of "const" in the mpfr_sum prototype has been fixed (in case writers of interfaces for MPFR use that). ------------------------------------------------------------------------ r11328 | vlefevre | 2017-02-21 09:44:35 +0000 (Tue, 21 Feb 2017) | 1 line Changed paths: M /trunk/src/get_d64.c M /trunk/src/set_d64.c "a IEEE 754r decimal64 float" → "an IEEE 754-2008 decimal64 float". ------------------------------------------------------------------------ r11327 | zimmerma | 2017-02-20 18:03:00 +0000 (Mon, 20 Feb 2017) | 2 lines Changed paths: M /trunk/src/fma.c [src/fma.c] speedup mpfr_fma for 1 limb ------------------------------------------------------------------------ r11326 | zimmerma | 2017-02-20 18:01:15 +0000 (Mon, 20 Feb 2017) | 2 lines Changed paths: M /trunk/src/fms.c 754R -> 754-2008 ------------------------------------------------------------------------ r11325 | vlefevre | 2017-02-20 02:36:50 +0000 (Mon, 20 Feb 2017) | 1 line Changed paths: M /trunk/src/sqrt.c Removed trailing spaces. ------------------------------------------------------------------------ r11324 | vlefevre | 2017-02-20 02:32:10 +0000 (Mon, 20 Feb 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Solved the FIXME for %g on easy cases. ------------------------------------------------------------------------ r11323 | vlefevre | 2017-02-17 12:54:47 +0000 (Fri, 17 Feb 2017) | 2 lines Changed paths: M /trunk/src/zeta.c [src/zeta.c] mpfr_reflection_overflow: reverted r11322 as the rounding direction was correct; it was a comment that was incorrect, now fixed. ------------------------------------------------------------------------ r11322 | vlefevre | 2017-02-17 12:47:41 +0000 (Fri, 17 Feb 2017) | 1 line Changed paths: M /trunk/src/zeta.c [src/zeta.c] mpfr_reflection_overflow: fixed a rounding direction. ------------------------------------------------------------------------ r11321 | vlefevre | 2017-02-17 12:39:56 +0000 (Fri, 17 Feb 2017) | 5 lines Changed paths: M /trunk/src/zeta.c [src/zeta.c] Improvements of mpfr_reflection_overflow: * Moved identical parts of the code at the beginning of if/else blocks as a single part before the "if". * When the rounding mode doesn't matter (exact result), use MPFR_RNDN. * Updated comments (making them more consistent at the same time). ------------------------------------------------------------------------ r11320 | zimmerma | 2017-02-16 19:16:58 +0000 (Thu, 16 Feb 2017) | 2 lines Changed paths: M /trunk/src/zeta.c [src/zeta.c] added more comments for the overflow case ------------------------------------------------------------------------ r11319 | vlefevre | 2017-02-14 15:37:03 +0000 (Tue, 14 Feb 2017) | 3 lines Changed paths: M /trunk/doc/sum.txt M /trunk/src/sum.c [src/sum.c] Added a note about why one uses "const mpfr_ptr *x" in the prototypes instead of "const mpfr_srcptr *x" (old info from r5381). [doc/sum.txt] Fixed the const position (see r11316) and added this note. ------------------------------------------------------------------------ r11318 | vlefevre | 2017-02-14 11:57:11 +0000 (Tue, 14 Feb 2017) | 1 line Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h [src/{mpfr-impl.h,mpfr.h}] Code reformatting and other cosmetic changes. ------------------------------------------------------------------------ r11317 | vlefevre | 2017-02-14 11:30:50 +0000 (Tue, 14 Feb 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] For mpfr_sum, changed "mpfr_ptr const" to the equivalent "const mpfr_ptr" (usual style, less confusing). ------------------------------------------------------------------------ r11316 | vlefevre | 2017-02-14 11:28:28 +0000 (Tue, 14 Feb 2017) | 3 lines Changed paths: M /trunk/src/mpfr.h M /trunk/src/sum.c For mpfr_sum and its auxiliary functions, moved the const type qualifier to the right place (mpfr_ptr *const → const mpfr_ptr *). This bug had been introduced in r3642 (2005-06-10). ------------------------------------------------------------------------ r11315 | vlefevre | 2017-02-13 17:03:16 +0000 (Mon, 13 Feb 2017) | 2 lines Changed paths: M /trunk/src/zeta.c [src/zeta.c] mpfr_reflection_overflow: added comments and FIXME's; fixed obvious typos in a comment and the code. ------------------------------------------------------------------------ r11314 | vlefevre | 2017-02-13 15:44:56 +0000 (Mon, 13 Feb 2017) | 1 line Changed paths: M /trunk/src/zeta.c [src/zeta.c] mpfr_reflection_overflow: typo in a comment. ------------------------------------------------------------------------ r11313 | vlefevre | 2017-02-13 12:13:11 +0000 (Mon, 13 Feb 2017) | 1 line Changed paths: M /trunk/src/zeta.c [src/zeta.c] Untabified. ------------------------------------------------------------------------ r11312 | vlefevre | 2017-02-13 12:11:18 +0000 (Mon, 13 Feb 2017) | 1 line Changed paths: M /trunk/src/zeta.c [src/zeta.c] mpfr_reflection_overflow: added an assertion and a comment. ------------------------------------------------------------------------ r11311 | vlefevre | 2017-02-13 09:37:17 +0000 (Mon, 13 Feb 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added a comment in a FIXME. ------------------------------------------------------------------------ r11310 | vlefevre | 2017-02-13 09:28:06 +0000 (Mon, 13 Feb 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added MPFR_ASSERTD's. ------------------------------------------------------------------------ r11309 | vlefevre | 2017-02-13 09:17:03 +0000 (Mon, 13 Feb 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Avoid some potential integer overflows. ------------------------------------------------------------------------ r11308 | zimmerma | 2017-02-13 09:11:19 +0000 (Mon, 13 Feb 2017) | 2 lines Changed paths: M /trunk/src/zeta.c [src/zeta.c] improved overflow detection ------------------------------------------------------------------------ r11307 | vlefevre | 2017-02-13 08:57:06 +0000 (Mon, 13 Feb 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added FIXME's: possible integer overflows. ------------------------------------------------------------------------ r11306 | zimmerma | 2017-02-12 08:06:55 +0000 (Sun, 12 Feb 2017) | 2 lines Changed paths: M /trunk/src/zeta.c fix for mpfr_zeta overflow on 32-bit computers ------------------------------------------------------------------------ r11305 | zimmerma | 2017-02-11 15:26:07 +0000 (Sat, 11 Feb 2017) | 3 lines Changed paths: M /trunk/src/sqr.c [src/sqr.c] revert detection of leading bit in sqr_1 and sqr_2 (not clear it is faster) ------------------------------------------------------------------------ r11304 | vlefevre | 2017-02-10 18:25:21 +0000 (Fri, 10 Feb 2017) | 3 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added a mpfr_snprintf test with a null pointer, "%#.*RDg" and a large precision (it currently takes too much memory, like the similar ones). ------------------------------------------------------------------------ r11303 | vlefevre | 2017-02-10 16:03:47 +0000 (Fri, 10 Feb 2017) | 2 lines Changed paths: M /trunk/src/vasprintf.c M /trunk/tests/tsprintf.c [src/vasprintf.c] Added a FIXME for %g on easy cases (too much memory). [tests/tsprintf.c] Added corresponding tests. ------------------------------------------------------------------------ r11302 | vlefevre | 2017-02-09 17:47:38 +0000 (Thu, 09 Feb 2017) | 4 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Fix for mpfr_snprintf with size=0: do not allocate a buffer for the output if not needed. This really fixes bug #21056. The case size_t < unsigned int could not be solved completely due to limitations from the C standard and GMP. ------------------------------------------------------------------------ r11301 | vlefevre | 2017-02-09 17:04:03 +0000 (Thu, 09 Feb 2017) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Avoid a warning due to an unused variable with MPFR_GENERIC_ABI defined or GMP_NUMB_BITS != 64. ------------------------------------------------------------------------ r11300 | vlefevre | 2017-02-09 13:45:53 +0000 (Thu, 09 Feb 2017) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Added MPFR_ASSERTD's from comments. ------------------------------------------------------------------------ r11299 | zimmerma | 2017-02-09 12:03:41 +0000 (Thu, 09 Feb 2017) | 2 lines Changed paths: M /trunk/tests/tzeta.c [tests/tzeta.c] interm_overflow -> intermediate_overflow ------------------------------------------------------------------------ r11298 | vlefevre | 2017-02-09 11:34:52 +0000 (Thu, 09 Feb 2017) | 1 line Changed paths: M /trunk/src/zeta.c [src/zeta.c] Updated a FIXME. ------------------------------------------------------------------------ r11297 | zimmerma | 2017-02-09 10:48:50 +0000 (Thu, 09 Feb 2017) | 2 lines Changed paths: M /trunk/tools/mbench/Makefile M /trunk/tools/mbench/mfv5-mpfr.cc improved detection of fmma and fmms ------------------------------------------------------------------------ r11296 | zimmerma | 2017-02-09 10:21:54 +0000 (Thu, 09 Feb 2017) | 2 lines Changed paths: M /trunk/src/zeta.c [src/zeta.c] fixed long-standing failure in tzeta ------------------------------------------------------------------------ r11295 | zimmerma | 2017-02-08 20:55:18 +0000 (Wed, 08 Feb 2017) | 2 lines Changed paths: M /trunk/src/sqrt.c M /trunk/tests/tsqrt.c [src/sqrt.c] fixed a bug, and simplified code (sb=0 implies rb=0) ------------------------------------------------------------------------ r11294 | vlefevre | 2017-02-08 17:36:48 +0000 (Wed, 08 Feb 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Updated FIXME. ------------------------------------------------------------------------ r11293 | zimmerma | 2017-02-08 17:22:22 +0000 (Wed, 08 Feb 2017) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] new code for prec=GMP_NUMB_BITS ------------------------------------------------------------------------ r11292 | vlefevre | 2017-02-08 17:00:18 +0000 (Wed, 08 Feb 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Moved the size_t vs int FIXME, with details added. ------------------------------------------------------------------------ r11291 | vlefevre | 2017-02-08 16:51:51 +0000 (Wed, 08 Feb 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added a MPFR_ASSERTN for security. ------------------------------------------------------------------------ r11290 | vlefevre | 2017-02-08 16:44:16 +0000 (Wed, 08 Feb 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added a FIXME for the case size_t < unsigned int. ------------------------------------------------------------------------ r11289 | vlefevre | 2017-02-08 16:34:31 +0000 (Wed, 08 Feb 2017) | 4 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Solved the r11288 FIXME, introducing new ones with a more visible failure. Not fixed yet because there seems to be another issue (already present at the beginning in r4993), which should be considered first. ------------------------------------------------------------------------ r11288 | vlefevre | 2017-02-08 16:00:28 +0000 (Wed, 08 Feb 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added a FIXME (related to the cause of the failure). ------------------------------------------------------------------------ r11287 | vlefevre | 2017-02-08 15:44:53 +0000 (Wed, 08 Feb 2017) | 7 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added some precondition assertions, as the buffer_cat implementation requires that the current buffer position contains \0. Note[VL]: tsprintf is still failing with assertions on my machine in the 32-bit Linux/x86 ABI, but now on the new precondition instead of postcondition. The behavior with size = 0 actually depends on the state of uninitialized memory (even in the 64-bit ABI), so that the failures may be random; the problem is detected by valgrind. ------------------------------------------------------------------------ r11286 | vlefevre | 2017-02-08 15:33:32 +0000 (Wed, 08 Feb 2017) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] Declare variables used by GMP_NUMB_BITS == 64 only in the related code. ------------------------------------------------------------------------ r11285 | zimmerma | 2017-02-08 15:07:28 +0000 (Wed, 08 Feb 2017) | 3 lines Changed paths: M /trunk/src/div.c M /trunk/src/mul.c [src/mul.c] simplified logic for special code [src/div.c] fixed bug in mpfr_div_1n when extra=0 ------------------------------------------------------------------------ r11284 | zimmerma | 2017-02-08 14:28:56 +0000 (Wed, 08 Feb 2017) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] special code for prec=GMP_NUMB_BITS ------------------------------------------------------------------------ r11283 | zimmerma | 2017-02-08 14:04:11 +0000 (Wed, 08 Feb 2017) | 3 lines Changed paths: M /trunk/src/mul.c M /trunk/src/sqr.c [src/sqr.c] new code for p = GMP_NUMB_BITS, and small improvement in mpfr_sqr_1 [src/mul.c] cosmetic changes ------------------------------------------------------------------------ r11282 | vlefevre | 2017-02-08 13:28:21 +0000 (Wed, 08 Feb 2017) | 1 line Changed paths: M /trunk/tests/tsub1sp.c [tests/tsub1sp.c] Fix: C++ compatibility. ------------------------------------------------------------------------ r11281 | zimmerma | 2017-02-08 13:17:45 +0000 (Wed, 08 Feb 2017) | 4 lines Changed paths: M /trunk/src/add1sp.c M /trunk/src/mul.c M /trunk/src/sub1sp.c [src/mul.c] added special code for prec=GMP_NUMB_BITS [src/add1sp.c] use special code only when MPFR_GENERIC_ABI is not defined [src/sub1sp.c] idem as above ------------------------------------------------------------------------ r11280 | vlefevre | 2017-02-08 13:09:44 +0000 (Wed, 08 Feb 2017) | 5 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Declare the mpfr_vasnprintf_aux prototype (which uses va_list) only if <stdarg.h> has been included, otherwise the build was failing with GCC in C90 mode under Linux (and could fail with other C implementations where this header isn't automatically included as a consequence of the inclusion of some other header). ------------------------------------------------------------------------ r11279 | zimmerma | 2017-02-08 12:58:43 +0000 (Wed, 08 Feb 2017) | 3 lines Changed paths: M /trunk/src/sub1sp.c M /trunk/tests/tsub1sp.c [src/sub1sp.c] new function for p=GMP_NUMB_BITS, fixed bug in mpfr_sub1sp3 [tests/tsub1sp.c] added new tests ------------------------------------------------------------------------ r11278 | vlefevre | 2017-02-08 12:02:40 +0000 (Wed, 08 Feb 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Fixed bug introduced in r11273. ------------------------------------------------------------------------ r11277 | vlefevre | 2017-02-08 11:54:14 +0000 (Wed, 08 Feb 2017) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Updated the "simple mp_limb_t constants" test. ------------------------------------------------------------------------ r11276 | vlefevre | 2017-02-08 11:51:37 +0000 (Wed, 08 Feb 2017) | 1 line Changed paths: M /trunk/src/add_ui.c M /trunk/src/div_ui.c M /trunk/src/exp_2.c M /trunk/src/sub_ui.c M /trunk/src/ui_sub.c Made some assertions a bit more readable. ------------------------------------------------------------------------ r11275 | vlefevre | 2017-02-08 11:18:51 +0000 (Wed, 08 Feb 2017) | 1 line Changed paths: M /trunk/tests/tsub1sp.c [tests/tsub1sp.c] Fixed mpfr_inits2/mpfr_clears sentinel → (mpfr_ptr) 0 ------------------------------------------------------------------------ r11274 | vlefevre | 2017-02-08 11:13:57 +0000 (Wed, 08 Feb 2017) | 1 line Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] C90 compatibility. ------------------------------------------------------------------------ r11273 | zimmerma | 2017-02-08 10:28:58 +0000 (Wed, 08 Feb 2017) | 2 lines Changed paths: M /trunk/src/vasprintf.c M /trunk/tests/tsprintf.c [src/vasprintf.c] avoid memory allocation for snprintf with size=0 ------------------------------------------------------------------------ r11272 | zimmerma | 2017-02-08 08:42:49 +0000 (Wed, 08 Feb 2017) | 3 lines Changed paths: M /trunk/src/sub1sp.c M /trunk/tests/tsub1sp.c [src/sub1sp.c] fixed a bug in mpfr_sub1sp1 and mpfr_sub1sp2 (corner case) [tests/tsub1sp.c] added non-regression test ------------------------------------------------------------------------ r11271 | zimmerma | 2017-02-07 18:42:53 +0000 (Tue, 07 Feb 2017) | 2 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] added special code for p=GMP_NUMB_BITS ------------------------------------------------------------------------ r11270 | zimmerma | 2017-02-07 16:35:29 +0000 (Tue, 07 Feb 2017) | 2 lines Changed paths: M /trunk/src/vasprintf.c M /trunk/tests/tsprintf.c [src/vasprintf.c] improved also %a and %e ------------------------------------------------------------------------ r11269 | zimmerma | 2017-02-07 15:07:28 +0000 (Tue, 07 Feb 2017) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/printf.c M /trunk/src/vasprintf.c M /trunk/tests/tsprintf.c [src/vasprintf.c] fixed bug #21056 ------------------------------------------------------------------------ r11268 | vlefevre | 2017-02-07 10:44:03 +0000 (Tue, 07 Feb 2017) | 1 line Changed paths: M /trunk/TODO [TODO] More about the mpz_t pool. ------------------------------------------------------------------------ r11267 | vlefevre | 2017-02-07 10:13:35 +0000 (Tue, 07 Feb 2017) | 1 line Changed paths: M /trunk/src/free_cache.c [src/free_cache.c] Better file description (keeping it short). ------------------------------------------------------------------------ r11266 | vlefevre | 2017-02-07 10:10:10 +0000 (Tue, 07 Feb 2017) | 1 line Changed paths: M /trunk/src/free_cache.c [src/free_cache.c] Updated comments (mpz_t cache → mpz_t pool). ------------------------------------------------------------------------ r11265 | vlefevre | 2017-02-07 01:47:16 +0000 (Tue, 07 Feb 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r11264 | vlefevre | 2017-02-07 01:46:14 +0000 (Tue, 07 Feb 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Clarified mpfr_asprintf & mpfr_vasprintf specification in case of error. ------------------------------------------------------------------------ r11263 | vlefevre | 2017-02-07 00:59:37 +0000 (Tue, 07 Feb 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Code cleanup. ------------------------------------------------------------------------ r11262 | zimmerma | 2017-02-06 17:24:23 +0000 (Mon, 06 Feb 2017) | 2 lines Changed paths: M /trunk/src/vasprintf.c M /trunk/tests/tsprintf.c partial solution of bug #21056: a test of mpfr_sprintf still fails ------------------------------------------------------------------------ r11261 | zimmerma | 2017-02-06 15:09:39 +0000 (Mon, 06 Feb 2017) | 2 lines Changed paths: M /trunk/tests/tmul.c [tests/tmul.c] added test for underflow corner case ------------------------------------------------------------------------ r11260 | zimmerma | 2017-02-06 13:48:40 +0000 (Mon, 06 Feb 2017) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] simplified underflow in div_1 and div_2 (one case is not possible) ------------------------------------------------------------------------ r11259 | zimmerma | 2017-02-06 13:10:24 +0000 (Mon, 06 Feb 2017) | 2 lines Changed paths: M /trunk/src/sqr.c M /trunk/tests/tsqr.c [tests/tsqr.c] added another corner case for underflow and mpfr_sqr_2 ------------------------------------------------------------------------ r11258 | zimmerma | 2017-02-06 12:58:48 +0000 (Mon, 06 Feb 2017) | 2 lines Changed paths: M /trunk/src/sqr.c M /trunk/tests/tsqr.c [tests/tsqr.c] added a corner underflow case ------------------------------------------------------------------------ r11257 | vlefevre | 2017-02-06 12:45:49 +0000 (Mon, 06 Feb 2017) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added missing function prototype after r11256. ------------------------------------------------------------------------ r11256 | zimmerma | 2017-02-06 12:04:33 +0000 (Mon, 06 Feb 2017) | 2 lines Changed paths: M /trunk/src/free_cache.c M /trunk/src/mpfr-impl.h [mpfr-impl.h] now mpz_init2 uses the mpz spool too ------------------------------------------------------------------------ r11255 | vlefevre | 2017-02-03 14:10:51 +0000 (Fri, 03 Feb 2017) | 1 line Changed paths: M /trunk/TODO [TODO] Added: check the small-precision tables in the tests? ------------------------------------------------------------------------ r11254 | vlefevre | 2017-02-03 01:28:43 +0000 (Fri, 03 Feb 2017) | 1 line Changed paths: M /trunk/src/sqrt.c M /trunk/tests/tdiv.c Removed trailing whitespace. ------------------------------------------------------------------------ r11253 | vlefevre | 2017-02-03 01:09:38 +0000 (Fri, 03 Feb 2017) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Fixed code for the _mulx_u64 test. ------------------------------------------------------------------------ r11252 | vlefevre | 2017-02-02 17:59:51 +0000 (Thu, 02 Feb 2017) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Output whether _mulx_u64 is available. ------------------------------------------------------------------------ r11251 | vlefevre | 2017-02-02 17:23:20 +0000 (Thu, 02 Feb 2017) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Fixed _mulx_u64 detection to avoid failures in tests with ICC 15: we need an AC_RUN_IFELSE, not just an AC_LINK_IFELSE. ------------------------------------------------------------------------ r11250 | vlefevre | 2017-01-31 13:43:30 +0000 (Tue, 31 Jan 2017) | 2 lines Changed paths: M /trunk/src/invsqrt_limb.h [src/invsqrt_limb.h] Improved constants: make their meaning explicit; portability with 32-bit long (and 64-bit limb). ------------------------------------------------------------------------ r11249 | zimmerma | 2017-01-31 13:08:48 +0000 (Tue, 31 Jan 2017) | 3 lines Changed paths: M /trunk/src/invsqrt_limb.h M /trunk/src/sqrt.c [src/invsqrt_limb.h] new macro __gmpfr_sqrt_limb_approx [src/sqrt.c] new sqrt1 code using __gmpfr_sqrt_limb_approx ------------------------------------------------------------------------ r11248 | zimmerma | 2017-01-30 17:52:19 +0000 (Mon, 30 Jan 2017) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] improved slow branch of mpfr_sqrt2 ------------------------------------------------------------------------ r11247 | zimmerma | 2017-01-30 16:43:19 +0000 (Mon, 30 Jan 2017) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] improved slow branch of mpfr_div_2 ------------------------------------------------------------------------ r11246 | zimmerma | 2017-01-30 16:06:27 +0000 (Mon, 30 Jan 2017) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] fixed TODO: replaced two if-statements by while-loop ------------------------------------------------------------------------ r11245 | vlefevre | 2017-01-30 15:15:44 +0000 (Mon, 30 Jan 2017) | 1 line Changed paths: M /trunk/src/div.c [src/div.c] Added TODO's. ------------------------------------------------------------------------ r11244 | vlefevre | 2017-01-30 14:04:33 +0000 (Mon, 30 Jan 2017) | 1 line Changed paths: M /trunk/src/div.c [src/div.c] Added a MPFR_ASSERTD. ------------------------------------------------------------------------ r11243 | zimmerma | 2017-01-28 20:16:52 +0000 (Sat, 28 Jan 2017) | 2 lines Changed paths: M /trunk/src/atan.c [src/atan.c] added comment ------------------------------------------------------------------------ r11242 | zimmerma | 2017-01-28 17:38:56 +0000 (Sat, 28 Jan 2017) | 2 lines Changed paths: M /trunk/src/invsqrt_limb.h [src/invsqrt_limb.h] fixed __gmpfr_sqrt_limb macro ------------------------------------------------------------------------ r11241 | zimmerma | 2017-01-28 09:20:50 +0000 (Sat, 28 Jan 2017) | 2 lines Changed paths: M /trunk/src/atan.c [src/atan.c] small optimization ------------------------------------------------------------------------ r11240 | zimmerma | 2017-01-27 20:45:45 +0000 (Fri, 27 Jan 2017) | 2 lines Changed paths: M /trunk/src/atan.c [src/atan.c] speedup for small precision ------------------------------------------------------------------------ r11239 | vlefevre | 2017-01-27 10:44:37 +0000 (Fri, 27 Jan 2017) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Disable mpfr_mul_{1,2,3} if MPFR_GENERIC_ABI is defined. ------------------------------------------------------------------------ r11238 | vlefevre | 2017-01-27 10:39:47 +0000 (Fri, 27 Jan 2017) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Removed useless parentheses that can inhibit warnings. ------------------------------------------------------------------------ r11237 | vlefevre | 2017-01-26 16:19:34 +0000 (Thu, 26 Jan 2017) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Updated TODO. ------------------------------------------------------------------------ r11236 | vlefevre | 2017-01-26 16:17:55 +0000 (Thu, 26 Jan 2017) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Added a TODO about an optimization. ------------------------------------------------------------------------ r11235 | zimmerma | 2017-01-26 10:03:11 +0000 (Thu, 26 Jan 2017) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] fixed error bound for mpfr_sqrt2_approx ------------------------------------------------------------------------ r11234 | vlefevre | 2017-01-25 17:55:47 +0000 (Wed, 25 Jan 2017) | 1 line Changed paths: M /trunk/TODO [TODO] Added optimization of test + shift for some processors. ------------------------------------------------------------------------ r11233 | vlefevre | 2017-01-25 16:04:38 +0000 (Wed, 25 Jan 2017) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Added MPFR_FULLSUB code for mpfr_sub1sp2. ------------------------------------------------------------------------ r11232 | zimmerma | 2017-01-25 13:49:11 +0000 (Wed, 25 Jan 2017) | 2 lines Changed paths: M /trunk/src/invsqrt_limb.h M /trunk/src/sqrt.c [src/sqrt.c] changed error bound back from 16 to 15 ------------------------------------------------------------------------ r11231 | vlefevre | 2017-01-25 13:44:42 +0000 (Wed, 25 Jan 2017) | 2 lines Changed paths: M /trunk/doc/add-with-carry.c [doc/add-with-carry.c] Added reference to my bug report about Clang's carry detection missed optimization in chained add-with-carry. ------------------------------------------------------------------------ r11230 | zimmerma | 2017-01-25 13:16:19 +0000 (Wed, 25 Jan 2017) | 2 lines Changed paths: M /trunk/src/invsqrt_limb.h M /trunk/src/sqrt.c [src/sqrt.c] updated error bound for __gmpfr_invsqrt_limb_approx ------------------------------------------------------------------------ r11229 | vlefevre | 2017-01-25 12:40:00 +0000 (Wed, 25 Jan 2017) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Added refs to missed/broken optimization with Clang/LLVM. ------------------------------------------------------------------------ r11228 | vlefevre | 2017-01-25 09:23:08 +0000 (Wed, 25 Jan 2017) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Use the FULLSUB only. Added a comment about the change in r11227. ------------------------------------------------------------------------ r11227 | zimmerma | 2017-01-25 07:20:57 +0000 (Wed, 25 Jan 2017) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] changed MPFR_FULLSUB variant into faster code ------------------------------------------------------------------------ r11226 | vlefevre | 2017-01-24 15:46:52 +0000 (Tue, 24 Jan 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Texinfo typography correction. ------------------------------------------------------------------------ r11225 | vlefevre | 2017-01-24 14:37:58 +0000 (Tue, 24 Jan 2017) | 7 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improvements concerning the exponent range. * mpfr_get_exp: added a FIXME in a comment (documented behavior?). * mpfr_set_emin / mpfr_set_emax: more specification and details. * mpfr_subnormalize: clarification; added a warning about emin. * Example of mpfr_subnormalize: added a note. In particular, this follows a confusion: https://sympa.inria.fr/sympa/arc/mpfr/2017-01/msg00024.html ------------------------------------------------------------------------ r11224 | zimmerma | 2017-01-24 10:34:36 +0000 (Tue, 24 Jan 2017) | 3 lines Changed paths: M /trunk/src/invsqrt_limb.h [src/invsqrt_limb.h] changed slightly definition of d10 and d37 (does not change final error analysis) ------------------------------------------------------------------------ r11223 | vlefevre | 2017-01-23 15:41:35 +0000 (Mon, 23 Jan 2017) | 3 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Updated comments about subtraction with borrow; the first one from r11213 was incorrect (bad interpretation of the generated code for GCC, potentially on a different alternate source code for Clang). ------------------------------------------------------------------------ r11222 | zimmerma | 2017-01-23 14:11:17 +0000 (Mon, 23 Jan 2017) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] simplified mpfr_sub1sp1() ------------------------------------------------------------------------ r11221 | zimmerma | 2017-01-23 11:38:04 +0000 (Mon, 23 Jan 2017) | 2 lines Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] added non-regression test ------------------------------------------------------------------------ r11220 | vlefevre | 2017-01-23 10:23:40 +0000 (Mon, 23 Jan 2017) | 1 line Changed paths: M /trunk/src/urandom.c [src/urandom.c] Added a FIXME as mpfr_urandom does not always set flags. ------------------------------------------------------------------------ r11219 | vlefevre | 2017-01-23 09:46:50 +0000 (Mon, 23 Jan 2017) | 1 line Changed paths: M /trunk/src/urandom.c [src/urandom.c] Simplified code (no changes in the behavior). ------------------------------------------------------------------------ r11218 | zimmerma | 2017-01-23 07:27:10 +0000 (Mon, 23 Jan 2017) | 3 lines Changed paths: M /trunk/src/urandom.c [src/urandom.c] fixed bug reported by Trevor Spiteri (https://sympa.inria.fr/sympa/arc/mpfr/2017-01/msg00020.html) ------------------------------------------------------------------------ r11217 | zimmerma | 2017-01-21 12:58:34 +0000 (Sat, 21 Jan 2017) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h M /trunk/src/mpn_exp.c M /trunk/src/mulders.c M /trunk/src/sqr.c changed mpn_sqr_n into mpn_sqr ------------------------------------------------------------------------ r11216 | zimmerma | 2017-01-20 17:21:15 +0000 (Fri, 20 Jan 2017) | 2 lines Changed paths: M /trunk/src/Makefile.am M /trunk/src/invsqrt_limb.h M /trunk/src/sqrt.c D /trunk/src/sqrt_tab.h new version of mpfr_sqrt2_approx (no longer needs sqrt_tab.h) ------------------------------------------------------------------------ r11215 | vlefevre | 2017-01-20 16:24:56 +0000 (Fri, 20 Jan 2017) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Updated TODO, mentioning an optimization bug in LLVM. ------------------------------------------------------------------------ r11214 | vlefevre | 2017-01-20 16:13:45 +0000 (Fri, 20 Jan 2017) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Updated TODO about full subtraction with borrow. ------------------------------------------------------------------------ r11213 | vlefevre | 2017-01-20 13:58:11 +0000 (Fri, 20 Jan 2017) | 3 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Added alternate code (enabled with -DMPFR_FULLSUB, until fully tested) to replace a test + correction by a 2-limb subtraction, recognized by GCC and Clang. ------------------------------------------------------------------------ r11212 | zimmerma | 2017-01-20 13:56:05 +0000 (Fri, 20 Jan 2017) | 3 lines Changed paths: M /trunk/src/invsqrt_limb.h M /trunk/src/sqrt.c renamed __gmpfr_invsqrt_limb into __gmpfr_invsqrt_limb_approx to better reflect it only gives an approximation ------------------------------------------------------------------------ r11211 | vlefevre | 2017-01-20 11:59:39 +0000 (Fri, 20 Jan 2017) | 2 lines Changed paths: M /trunk/src/invert_limb.h [src/invert_limb.h] Just like for invsqrt_limb.h (r11210), in 1UL << 60, replaced 1UL by MPFR_LIMB_ONE to make the code valid with 32-bit long. ------------------------------------------------------------------------ r11210 | vlefevre | 2017-01-20 11:54:33 +0000 (Fri, 20 Jan 2017) | 4 lines Changed paths: M /trunk/src/invsqrt_limb.h [src/invsqrt_limb.h] Bug fix: replaced 1UL by MPFR_LIMB_ONE since the computations are done on limbs, which are expected to have 64 bits in this context (the old code would fail on MS Windows / MinGW, where limbs are 64-bit unsigned long long and unsigned long is a 32-bit type). ------------------------------------------------------------------------ r11209 | vlefevre | 2017-01-20 11:47:59 +0000 (Fri, 20 Jan 2017) | 2 lines Changed paths: M /trunk/src/invsqrt_limb.h [src/invsqrt_limb.h] Portability correction: avoid lines longer than the POSIX line-length limit of 2047 characters; actually fit on 80 columns. ------------------------------------------------------------------------ r11208 | zimmerma | 2017-01-20 11:15:54 +0000 (Fri, 20 Jan 2017) | 2 lines Changed paths: M /trunk/src/Makefile.am M /trunk/src/invert_limb.h A /trunk/src/invsqrt_limb.h M /trunk/src/sqrt.c M /trunk/src/sqrt_tab.h faster version of mpfr_sqrt1(), with smaller table ------------------------------------------------------------------------ r11207 | zimmerma | 2017-01-20 08:09:20 +0000 (Fri, 20 Jan 2017) | 2 lines Changed paths: M /trunk/src/invert_limb.h [src/invert_limb.h] improved __gmpfr_invert_limb* for 64-bit limb ------------------------------------------------------------------------ r11206 | zimmerma | 2017-01-17 11:04:25 +0000 (Tue, 17 Jan 2017) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] use ADD_LIMB macro, and fixed comment ------------------------------------------------------------------------ r11205 | vlefevre | 2017-01-17 10:51:28 +0000 (Tue, 17 Jan 2017) | 5 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] MPFR_PARSE_DIRECTORY macro definition: workaround if the realpath command is not found. Suggestion by Trevor Spiteri: https://sympa.inria.fr/sympa/arc/mpfr/2017-01/msg00013.html Note: I had to modify the patch to use quadrigraphs, otherwise the generated configure file was invalid. ------------------------------------------------------------------------ r11204 | zimmerma | 2017-01-17 10:35:43 +0000 (Tue, 17 Jan 2017) | 2 lines Changed paths: M /trunk/tests/tdiv.c [tdiv.c] added code to exercise mpfr_div2_approx ------------------------------------------------------------------------ r11203 | zimmerma | 2017-01-16 16:49:01 +0000 (Mon, 16 Jan 2017) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] new variant of mpfr_div2_approx() ------------------------------------------------------------------------ r11202 | vlefevre | 2017-01-13 23:59:23 +0000 (Fri, 13 Jan 2017) | 2 lines Changed paths: M /trunk/src/invert_limb.h [src/invert_limb.h] Fit on 80 columns (one line was over the POSIX line-length limit of 2047 characters). ------------------------------------------------------------------------ r11201 | vlefevre | 2017-01-13 23:43:26 +0000 (Fri, 13 Jan 2017) | 2 lines Changed paths: M /trunk/src/invert_limb.h [src/invert_limb.h] Correction in __gmpfr_invert_limb for 32-bit ABI: _d was used before being defined. ------------------------------------------------------------------------ r11200 | zimmerma | 2017-01-13 23:24:20 +0000 (Fri, 13 Jan 2017) | 2 lines Changed paths: M /trunk/src/invert_limb.h [invert_limb.h] added invert_limb code for 32-bit ------------------------------------------------------------------------ r11199 | vlefevre | 2017-01-13 15:18:34 +0000 (Fri, 13 Jan 2017) | 4 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] Improved a line based on analysis (+ timings I've done on x86_64 with GCC and Clang give better results, though they cannot be conclusive since the gain is too small compared to other possible causes of variations). ------------------------------------------------------------------------ r11198 | vlefevre | 2017-01-13 14:40:29 +0000 (Fri, 13 Jan 2017) | 3 lines Changed paths: M /trunk/tools/mbench/Makefile [tools/mbench/Makefile] Added -static to CFLAGS in order to avoid a link error when MPFR has been built with Clang (linking is done with .a libraries, i.e. static libraries). ------------------------------------------------------------------------ r11197 | vlefevre | 2017-01-13 10:53:51 +0000 (Fri, 13 Jan 2017) | 4 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] Replaced "return 0;" by "MPFR_RET(0);" to emphasize on the fact that we return a ternary value (code instrumentation may also be easier later). Note: this is equivalent since the macro expands to 0 != 0 ? ... : 0, which gives 0 via trivial optimization. ------------------------------------------------------------------------ r11196 | vlefevre | 2017-01-13 10:44:44 +0000 (Fri, 13 Jan 2017) | 3 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] Improvements in mpfr_add1sp1; added a TODO. Note for rb -> bp[0]: the generated code is the same, but the source is more readable (-> rb has only one meaning). ------------------------------------------------------------------------ r11195 | vlefevre | 2017-01-13 00:51:29 +0000 (Fri, 13 Jan 2017) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] C90 compatibility (avoid initializer elements not computable at load time). ------------------------------------------------------------------------ r11194 | zimmerma | 2017-01-12 23:20:22 +0000 (Thu, 12 Jan 2017) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] added some alternate code for mpfr_div2_approx (disabled for now) ------------------------------------------------------------------------ r11193 | zimmerma | 2017-01-12 21:40:50 +0000 (Thu, 12 Jan 2017) | 4 lines Changed paths: M /trunk/src/frac.c M /trunk/src/mpfr-gmp.h M /trunk/src/round_raw_generic.c M /trunk/src/set_uj.c M /trunk/src/strtofr.c M /trunk/src/sub1sp.c M /trunk/src/sum.c fixed bug in urandomb.c reported by Dominic Chen (https://sympa.inria.fr/sympa/arc/mpfr/2017-01/msg00011.html) and replaced MPN_COPY_INCR/MPN_COPY_DECR by mpn_copyi/mpn_copyd ------------------------------------------------------------------------ r11192 | zimmerma | 2017-01-12 21:19:12 +0000 (Thu, 12 Jan 2017) | 3 lines Changed paths: M /trunk/src/div.c [src/div.c] small improvement in div_1 and div_2: force all precisions to be equal, then we cannot have rb <> 0 and sb = 0 ------------------------------------------------------------------------ r11191 | zimmerma | 2017-01-12 17:24:36 +0000 (Thu, 12 Jan 2017) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] improved case p=127 (or two-limb case with hard to round case) ------------------------------------------------------------------------ r11190 | vlefevre | 2017-01-12 14:26:36 +0000 (Thu, 12 Jan 2017) | 1 line Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] Added a TODO: slightly better code? ------------------------------------------------------------------------ r11189 | zimmerma | 2017-01-12 13:30:28 +0000 (Thu, 12 Jan 2017) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] improve mpfr_div_1 for precision 63 ------------------------------------------------------------------------ r11188 | vlefevre | 2017-01-12 10:17:49 +0000 (Thu, 12 Jan 2017) | 1 line Changed paths: M /trunk/src/rndna.c [src/rndna.c] Updated comments. ------------------------------------------------------------------------ r11187 | zimmerma | 2017-01-12 10:16:40 +0000 (Thu, 12 Jan 2017) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] improved mpfr_sqrt2_approx() ------------------------------------------------------------------------ r11186 | vlefevre | 2017-01-12 08:59:23 +0000 (Thu, 12 Jan 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Typographic correction (including generated spaces). ------------------------------------------------------------------------ r11185 | vlefevre | 2017-01-10 16:17:05 +0000 (Tue, 10 Jan 2017) | 5 lines Changed paths: A /trunk/doc/add-with-carry.c M /trunk/src/mpfr-impl.h M /trunk/src/sqr.c Improvement of additions with carry. * Added doc/add-with-carry.c showing how to do an addition with carry in C (to make the compiler understand the code). * src/mpfr-impl.h: added ADD_LIMB macro (addition with carry). * src/sqr.c: use this ADD_LIMB macro to improve the generated code. ------------------------------------------------------------------------ r11184 | zimmerma | 2017-01-10 15:20:00 +0000 (Tue, 10 Jan 2017) | 2 lines Changed paths: M /trunk/src/sqr.c [src/sqr.c] 2 calls to umul_ppmm are enough in mpfr_sqr_2 in most cases ------------------------------------------------------------------------ r11183 | zimmerma | 2017-01-10 13:56:38 +0000 (Tue, 10 Jan 2017) | 3 lines Changed paths: M /trunk/src/div.c M /trunk/src/sub1sp.c [src/div.c] added FIXME [src/sub1sp.c] added comments ------------------------------------------------------------------------ r11182 | zimmerma | 2017-01-10 10:10:32 +0000 (Tue, 10 Jan 2017) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] made code coherent with comment ------------------------------------------------------------------------ r11181 | vlefevre | 2017-01-10 09:58:49 +0000 (Tue, 10 Jan 2017) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Improved comment from r11180. ------------------------------------------------------------------------ r11180 | zimmerma | 2017-01-10 09:48:30 +0000 (Tue, 10 Jan 2017) | 3 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] improved error bound for mpfr_sqrt2_approx, with known direction of error ------------------------------------------------------------------------ r11178 | vlefevre | 2017-01-10 02:35:23 +0000 (Tue, 10 Jan 2017) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Fixed other two bugs in special code for 3 limbs. TODO: non-regression tests should be added for both. ------------------------------------------------------------------------ r11177 | vlefevre | 2017-01-10 02:17:03 +0000 (Tue, 10 Jan 2017) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Fixed some bugs in special code for 3 limbs. ------------------------------------------------------------------------ r11176 | vlefevre | 2017-01-10 01:17:54 +0000 (Tue, 10 Jan 2017) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Simplified a test. ------------------------------------------------------------------------ r11173 | zimmerma | 2017-01-09 21:10:56 +0000 (Mon, 09 Jan 2017) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] added special code for 3 limbs ------------------------------------------------------------------------ r11171 | vlefevre | 2017-01-09 16:58:51 +0000 (Mon, 09 Jan 2017) | 1 line Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] Fixed too large shift count in r11170 (code for 3 limbs). ------------------------------------------------------------------------ r11170 | zimmerma | 2017-01-09 16:32:29 +0000 (Mon, 09 Jan 2017) | 2 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] added special code for 3 limbs ------------------------------------------------------------------------ r11169 | zimmerma | 2017-01-09 14:41:14 +0000 (Mon, 09 Jan 2017) | 2 lines Changed paths: M /trunk/src/sqr.c [src/sqr.c] added special code for 3 limbs ------------------------------------------------------------------------ r11167 | vlefevre | 2017-01-09 13:57:41 +0000 (Mon, 09 Jan 2017) | 1 line Changed paths: M /trunk/tests/tsub1sp.c [tests/tsub1sp.c] Fixed a return type. ------------------------------------------------------------------------ r11166 | vlefevre | 2017-01-09 13:46:44 +0000 (Mon, 09 Jan 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated note added in r11165. ------------------------------------------------------------------------ r11165 | vlefevre | 2017-01-09 13:44:44 +0000 (Mon, 09 Jan 2017) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a note about cross-compilation and test under Wine, with references to bugs in autoconf and dash. ------------------------------------------------------------------------ r11164 | zimmerma | 2017-01-09 10:53:20 +0000 (Mon, 09 Jan 2017) | 2 lines Changed paths: M /trunk/tests/tmul.c [tests/tmul.c] fixed typo ------------------------------------------------------------------------ r11162 | zimmerma | 2017-01-09 08:51:42 +0000 (Mon, 09 Jan 2017) | 3 lines Changed paths: M /trunk/src/sub1sp.c M /trunk/tests/tsub1sp.c [src/sub1sp.c] fixed bug in mpfr_sub1sp2 when exponent diff. is GMP_NUMB_BITS [tests/tsub1sp.c] added testcase ------------------------------------------------------------------------ r11161 | vlefevre | 2017-01-09 01:22:26 +0000 (Mon, 09 Jan 2017) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Bug fix in mpfr_mul_3; tmul no longer fails (64-bit ABI). ------------------------------------------------------------------------ r11160 | vlefevre | 2017-01-09 01:17:03 +0000 (Mon, 09 Jan 2017) | 1 line Changed paths: M /trunk/tests/tmul.c [tests/tmul.c] Added test of mpfr_mul on 1 to 3 limbs. Currently fails. ------------------------------------------------------------------------ r11159 | vlefevre | 2017-01-08 23:45:49 +0000 (Sun, 08 Jan 2017) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Define aq = MPFR_GET_PREC (a), and use this. ------------------------------------------------------------------------ r11158 | zimmerma | 2017-01-08 22:22:36 +0000 (Sun, 08 Jan 2017) | 4 lines Changed paths: M /trunk/src/mul.c M /trunk/src/sqrt.c M /trunk/src/sub1sp.c [src/mul.c] added mpfr_mul_3 [src/sqrt.c] renamed internal functions [src/sub1sp.c] cosmetic change ------------------------------------------------------------------------ r11157 | zimmerma | 2017-01-07 07:57:37 +0000 (Sat, 07 Jan 2017) | 3 lines Changed paths: M /trunk/src/exp.c M /trunk/src/sqrt.c [src/exp.c] avoid using a full limb as precision [src/sqrt.c] removed obsolete comment ------------------------------------------------------------------------ r11156 | zimmerma | 2017-01-07 07:46:02 +0000 (Sat, 07 Jan 2017) | 2 lines Changed paths: M /trunk/src/get_str.c [src/get_str.c] avoid precision = GMP_NUMB_BITS ------------------------------------------------------------------------ r11155 | zimmerma | 2017-01-07 07:26:12 +0000 (Sat, 07 Jan 2017) | 2 lines Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] added comment ------------------------------------------------------------------------ r11154 | vlefevre | 2017-01-06 15:17:12 +0000 (Fri, 06 Jan 2017) | 1 line Changed paths: M /trunk/tools/mbench/README [tools/mbench/README] Say how to disable a non-working library. ------------------------------------------------------------------------ r11152 | zimmerma | 2017-01-06 06:59:41 +0000 (Fri, 06 Jan 2017) | 3 lines Changed paths: M /trunk/src/div.c [src/div.c] fixed previous commit: mpfr_div_1 and mpfr_div_2 also work for GMP_NUMB_BITS <> 64, only some fast code inside is not defined ------------------------------------------------------------------------ r11150 | vlefevre | 2017-01-05 23:29:35 +0000 (Thu, 05 Jan 2017) | 1 line Changed paths: M /trunk/src/div.c [src/div.c] Use mpfr_limb_ptr instead of mp_ptr. ------------------------------------------------------------------------ r11149 | vlefevre | 2017-01-05 23:27:43 +0000 (Thu, 05 Jan 2017) | 1 line Changed paths: M /trunk/src/div.c [src/div.c] Fix for GMP_NUMB_BITS != 64. ------------------------------------------------------------------------ r11148 | zimmerma | 2017-01-05 21:13:50 +0000 (Thu, 05 Jan 2017) | 2 lines Changed paths: M /trunk/src/div.c M /trunk/src/invert_limb.h [src/div.c] faster division for 2 limbs ------------------------------------------------------------------------ r11147 | vlefevre | 2017-01-05 12:28:53 +0000 (Thu, 05 Jan 2017) | 1 line Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] Coding style. ------------------------------------------------------------------------ r11146 | vlefevre | 2017-01-05 12:25:59 +0000 (Thu, 05 Jan 2017) | 1 line Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] Simplification. ------------------------------------------------------------------------ r11145 | vlefevre | 2017-01-05 12:22:47 +0000 (Thu, 05 Jan 2017) | 1 line Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] Replaced a MPFR_ASSERTN by MPFR_STAT_STATIC_ASSERT. ------------------------------------------------------------------------ r11144 | vlefevre | 2017-01-05 12:17:32 +0000 (Thu, 05 Jan 2017) | 1 line Changed paths: M /trunk/tests/tdiv_ui.c [tests/tdiv_ui.c] Correction for 64-bit limb with 32-bit unsigned long. ------------------------------------------------------------------------ r11143 | vlefevre | 2017-01-05 11:27:53 +0000 (Thu, 05 Jan 2017) | 1 line Changed paths: M /trunk/tests/tdiv_ui.c [tests/tdiv_ui.c] Fix when GMP_NUMB_BITS != 64. ------------------------------------------------------------------------ r11142 | zimmerma | 2017-01-05 10:38:44 +0000 (Thu, 05 Jan 2017) | 2 lines Changed paths: M /trunk/src/div_ui.c M /trunk/tests/tdiv_ui.c last fix was incomplete ------------------------------------------------------------------------ r11141 | zimmerma | 2017-01-05 09:43:59 +0000 (Thu, 05 Jan 2017) | 3 lines Changed paths: M /trunk/src/div_ui.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_ui.c [src/div_ui.c] fixed a bug in mpfr_div_ui (also affects mpfr_div since it calls mpfr_div_ui when the divisor has a few bits) ------------------------------------------------------------------------ r11140 | zimmerma | 2017-01-05 07:51:15 +0000 (Thu, 05 Jan 2017) | 4 lines Changed paths: M /trunk/src/div.c M /trunk/src/mpfr-impl.h M /trunk/src/mul.c M /trunk/src/round_near_x.c M /trunk/src/sqr.c M /trunk/src/sqrt.c M /trunk/tests/tdiv_ui.c fixed underflow bug by replacing !MPFR_IS_LIKE_RNDZ by new macro MPFR_IS_LIKE_RNDA: for RNDN, !MPFR_IS_LIKE_RNDZ was true, while new macro MPFR_IS_LIKE_RNDA is false ------------------------------------------------------------------------ r11139 | vlefevre | 2017-01-04 19:39:41 +0000 (Wed, 04 Jan 2017) | 3 lines Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] Added a test that triggers an assertion failure in a reduced exponent range (found from the generic tests with GMP_CHECK_RANDOMIZE=1483628702). ------------------------------------------------------------------------ r11138 | vlefevre | 2017-01-04 19:28:48 +0000 (Wed, 04 Jan 2017) | 1 line Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Added debug messages for overflow & underflow tests. ------------------------------------------------------------------------ r11137 | vlefevre | 2017-01-04 19:03:49 +0000 (Wed, 04 Jan 2017) | 1 line Changed paths: M /trunk/tests/tdiv_ui.c [tests/tdiv_ui.c] Added a comment on new test (doesn't fail). ------------------------------------------------------------------------ r11136 | zimmerma | 2017-01-04 18:04:18 +0000 (Wed, 04 Jan 2017) | 2 lines Changed paths: M /trunk/tests/tdiv_ui.c [tdiv_ui.c] added new test ------------------------------------------------------------------------ r11130 | vlefevre | 2017-01-03 11:46:41 +0000 (Tue, 03 Jan 2017) | 1 line Changed paths: M /trunk/src/invert_limb.h [src/invert_limb.h] Removed an unused variable. ------------------------------------------------------------------------ r11129 | zimmerma | 2017-01-03 10:58:02 +0000 (Tue, 03 Jan 2017) | 3 lines Changed paths: M /trunk/src/Makefile.am M /trunk/src/div.c D /trunk/src/invert_limb.c A /trunk/src/invert_limb.h M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h use a macro instead of a function for __gmpfr_invert_limb and __gmpfr_invert_limb_approx saves 2-3 cycles ------------------------------------------------------------------------ r11118 | vlefevre | 2017-01-01 01:35:42 +0000 (Sun, 01 Jan 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r11117 | vlefevre | 2017-01-01 01:34:35 +0000 (Sun, 01 Jan 2017) | 5 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/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/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c M /trunk/src/amd/amdfam10/mparam.h M /trunk/src/amd/athlon/mparam.h M /trunk/src/amd/k8/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/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/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_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_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/hppa/mparam.h M /trunk/src/hypot.c M /trunk/src/ia64/mparam.h 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.c 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_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/neg.c M /trunk/src/next.c M /trunk/src/nrandom.c M /trunk/src/out_str.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/powerpc32/mparam.h 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_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_tab.h 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/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/core2/mparam.h M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/corei5/mparam.h M /trunk/src/x86_64/pentium4/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/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/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_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/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/tround_prec.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/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/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 2017 with perl -pi -e 's/ (\d{4}-)?(2016)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh, reverting the tools/mbench directory (not distributed with MPFR). Removed 2016 from the example in the doc/README.dev file. ------------------------------------------------------------------------ r11116 | vlefevre | 2016-12-31 04:01:05 +0000 (Sat, 31 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqr.c [src/sqr.c] Bug fixes (portability): replaced left shift of a value that can be negative by a multiplication by 2. ------------------------------------------------------------------------ r11115 | vlefevre | 2016-12-31 03:40:00 +0000 (Sat, 31 Dec 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] C90 compatibility. ------------------------------------------------------------------------ r11114 | vlefevre | 2016-12-31 03:28:01 +0000 (Sat, 31 Dec 2016) | 1 line Changed paths: M /trunk/src/div.c [src/div.c] C90 compatibility. ------------------------------------------------------------------------ r11113 | vlefevre | 2016-12-31 03:17:51 +0000 (Sat, 31 Dec 2016) | 1 line Changed paths: M /trunk/src/invert_limb.c [src/invert_limb.c] Removed unused variable. ------------------------------------------------------------------------ r11112 | zimmerma | 2016-12-30 17:23:49 +0000 (Fri, 30 Dec 2016) | 2 lines Changed paths: M /trunk/src/mul.c [src/mul.c] small speedup in mpfr_mul_2 by not computing the product b0*c0 ------------------------------------------------------------------------ r11111 | zimmerma | 2016-12-30 16:39:13 +0000 (Fri, 30 Dec 2016) | 3 lines Changed paths: M /trunk/src/mul.c M /trunk/src/sqr.c [src/mul.c] fixed typo in comment [src/sqr.c] likewise ------------------------------------------------------------------------ r11110 | zimmerma | 2016-12-30 15:56:31 +0000 (Fri, 30 Dec 2016) | 4 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/mul.c M /trunk/src/sqr.c [src/mul.c] fixed regression for 1/2 limbs introduced in revision 11098: critical routines should not be exported, otherwise we lose a few cycles (maybe they are inlined by the compiler) ------------------------------------------------------------------------ r11109 | zimmerma | 2016-12-30 14:25:47 +0000 (Fri, 30 Dec 2016) | 2 lines Changed paths: M /trunk/src/div.c M /trunk/src/invert_limb.c M /trunk/src/mpfr-impl.h [src/div.c] further improvement in mpfr_div_1() ------------------------------------------------------------------------ r11108 | zimmerma | 2016-12-30 13:16:21 +0000 (Fri, 30 Dec 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] use an approximate quotient in mpfr_div_1() ------------------------------------------------------------------------ r11107 | zimmerma | 2016-12-30 12:19:40 +0000 (Fri, 30 Dec 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] simplify mpfr_div_1() ------------------------------------------------------------------------ r11106 | zimmerma | 2016-12-30 09:10:24 +0000 (Fri, 30 Dec 2016) | 5 lines Changed paths: M /trunk/src/Makefile.am M /trunk/src/div.c A /trunk/src/invert_limb.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h [src/invert_limb.c] new file for __gmpfr_invert_limb internal function (only provided so far for 64-bit limb) [src/div.c] mpfr_div_1 and mpfr_div_2 don't require --enable-gmp-internals any more ------------------------------------------------------------------------ r11105 | zimmerma | 2016-12-30 07:51:35 +0000 (Fri, 30 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqrt_tab.h [sqrt_tab.h] better file description ------------------------------------------------------------------------ r11104 | vlefevre | 2016-12-29 15:32:45 +0000 (Thu, 29 Dec 2016) | 1 line Changed paths: M /trunk/acinclude.m4 M /trunk/src/div.c Improvement concerning the _mulx_u64 intrinsic. ------------------------------------------------------------------------ r11103 | zimmerma | 2016-12-29 11:05:18 +0000 (Thu, 29 Dec 2016) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/div.c [src/div.c] replace GMP's invert_limb (internal) by own code ------------------------------------------------------------------------ r11101 | vlefevre | 2016-12-29 03:06:30 +0000 (Thu, 29 Dec 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Replaced constant MPFR_ASSERTD by MPFR_STAT_STATIC_ASSERT. ------------------------------------------------------------------------ r11098 | zimmerma | 2016-12-28 12:24:13 +0000 (Wed, 28 Dec 2016) | 3 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/mul.c M /trunk/src/sqr.c M /trunk/tools/mbench/mfv5-mpfr.cc [src/sqr.c] use special code for 1 and 2 limbs [mbench] added mpfr_sqr ------------------------------------------------------------------------ r11097 | zimmerma | 2016-12-28 10:25:31 +0000 (Wed, 28 Dec 2016) | 4 lines Changed paths: M /trunk/src/sqrt.c M /trunk/src/sqrt_tab.h [src/sqrt.c] faster sqrt code for 2 limbs and 64-bit limb (removed special code for 32-bit limb) [src/sqrt_tab.h] new table for mpn_sqrtrem4_approx ------------------------------------------------------------------------ r11096 | zimmerma | 2016-12-28 09:20:24 +0000 (Wed, 28 Dec 2016) | 2 lines Changed paths: M /trunk/tests/tlog.c [tlog.c] missing printf() ------------------------------------------------------------------------ r11095 | vlefevre | 2016-12-27 10:53:16 +0000 (Tue, 27 Dec 2016) | 2 lines Changed paths: M /trunk/NEWS [NEWS] Mention that mpfr_get_str now also sets the inexact flag when the conversion is inexact (completing r11073). ------------------------------------------------------------------------ r11094 | vlefevre | 2016-12-27 10:33:09 +0000 (Tue, 27 Dec 2016) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [mpfr.texi] Be stronger in mpfr_round_nearest_away documentation (as the ternary value is used each time the last bit on p+1 bits is not 0, i.e. in about half cases). ------------------------------------------------------------------------ r11093 | zimmerma | 2016-12-27 08:18:54 +0000 (Tue, 27 Dec 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [mpfr.texi] added stuff in mpfr_round_nearest_away documentation ------------------------------------------------------------------------ r11092 | vlefevre | 2016-12-27 02:33:59 +0000 (Tue, 27 Dec 2016) | 1 line Changed paths: M /trunk/src/log.c [src/log.c] Added another FIXME concerning the error analysis. ------------------------------------------------------------------------ r11091 | vlefevre | 2016-12-27 02:20:57 +0000 (Tue, 27 Dec 2016) | 2 lines Changed paths: M /trunk/src/log.c [src/log.c] Added an assertion and a FIXME: error in the MPFR code or in the proof (error analysis). ------------------------------------------------------------------------ r11090 | vlefevre | 2016-12-27 01:58:54 +0000 (Tue, 27 Dec 2016) | 1 line Changed paths: M /trunk/src/log.c [src/log.c] Slight simplification / improvement. ------------------------------------------------------------------------ r11089 | vlefevre | 2016-12-27 01:16:53 +0000 (Tue, 27 Dec 2016) | 7 lines Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] In Section "The logarithm function" (from r9046), removed everything concerning the AGM since this is not what is done in the MPFR code, where mpfr_agm is simply called (and this function already has its own description later). Note: The error analysis of mpfr_log can only be found in log.c, but seems incorrect (though the bounds may be valid); it was introduced in r416. ------------------------------------------------------------------------ r11087 | vlefevre | 2016-12-26 02:43:56 +0000 (Mon, 26 Dec 2016) | 2 lines Changed paths: M /trunk/src/log.c [src/log.c] Group constant terms together (GCC takes advantage of this, at least on x86_64). ------------------------------------------------------------------------ r11086 | vlefevre | 2016-12-26 02:30:02 +0000 (Mon, 26 Dec 2016) | 2 lines Changed paths: M /trunk/src/log.c [src/log.c] Check for integer overflow (no visible changes in standard configuration) + explanations. ------------------------------------------------------------------------ r11085 | vlefevre | 2016-12-26 02:17:10 +0000 (Mon, 26 Dec 2016) | 1 line Changed paths: M /trunk/src/log.c [src/log.c] Get the exponent of the input only once. ------------------------------------------------------------------------ r11075 | vlefevre | 2016-12-20 12:57:31 +0000 (Tue, 20 Dec 2016) | 2 lines Changed paths: M /trunk/src/sum.c [src/sum.c] Delay some assignments so that they are done just before the variables are used (this should have been done in r10467). ------------------------------------------------------------------------ r11073 | vlefevre | 2016-12-20 11:41:54 +0000 (Tue, 20 Dec 2016) | 4 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] For mpfr_get_str, explicitly say that the inexact flag is set iff the result is inexact (since this may not be obvious and this wasn't the case until now). In the compatibility section, mention this change. ------------------------------------------------------------------------ r11072 | vlefevre | 2016-12-20 11:35:11 +0000 (Tue, 20 Dec 2016) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] For mpfr_get_str, removed the note saying that the inexact flag is not set when the conversion is inexact: this is fixed in r11071. ------------------------------------------------------------------------ r11071 | vlefevre | 2016-12-20 11:17:31 +0000 (Tue, 20 Dec 2016) | 2 lines Changed paths: M /trunk/src/get_str.c [src/get_str.c] Corrected a comment and a test for inexactness (→ the new tget_str.c test no longer fails). ------------------------------------------------------------------------ r11068 | vlefevre | 2016-12-19 16:05:20 +0000 (Mon, 19 Dec 2016) | 1 line Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Added a comment. ------------------------------------------------------------------------ r11067 | vlefevre | 2016-12-19 15:46:38 +0000 (Mon, 19 Dec 2016) | 1 line Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Better indentation. ------------------------------------------------------------------------ r11066 | vlefevre | 2016-12-19 15:36:30 +0000 (Mon, 19 Dec 2016) | 1 line Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Replaced mpfr_cmp() == 0 by mpfr_equal_p(). ------------------------------------------------------------------------ r11065 | vlefevre | 2016-12-19 15:04:12 +0000 (Mon, 19 Dec 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r11064 | vlefevre | 2016-12-19 14:17:11 +0000 (Mon, 19 Dec 2016) | 3 lines Changed paths: M /trunk/src/get_str.c [src/get_str.c] Removed an obsolete comment, which came from r2757 (and even before, under another form); this comment no longer made any sense as the sign of dir is no longer tested. ------------------------------------------------------------------------ r11063 | vlefevre | 2016-12-19 14:00:20 +0000 (Mon, 19 Dec 2016) | 1 line Changed paths: M /trunk/src/get_str.c [src/get_str.c] Indentation fixed. ------------------------------------------------------------------------ r11062 | vlefevre | 2016-12-19 13:59:35 +0000 (Mon, 19 Dec 2016) | 6 lines Changed paths: M /trunk/src/get_str.c [src/get_str.c] Setting the inexact flag as done in r11060 was incorrect since the flags are restored. Moreover, this was done even when the Ziv loop was going to fail (it's not clear whether this was expected). Moved the test out of the Ziv loop, and update the copy of the flags instead of the flags that will be overwritten. Note: this still fails, but now for another reason. ------------------------------------------------------------------------ r11061 | vlefevre | 2016-12-19 13:36:28 +0000 (Mon, 19 Dec 2016) | 2 lines Changed paths: M /trunk/tests/tget_str.c [tests/tget_str.c] Check the inexact flag for mpfr_get_str. The test currently fails. ------------------------------------------------------------------------ r11060 | zimmerma | 2016-12-19 08:26:26 +0000 (Mon, 19 Dec 2016) | 2 lines Changed paths: M /trunk/src/get_str.c [get_str.c] inexact flag should now be correct in mpfr_get_str ------------------------------------------------------------------------ r11059 | zimmerma | 2016-12-19 08:08:19 +0000 (Mon, 19 Dec 2016) | 2 lines Changed paths: M /trunk/src/strtofr.c [strtofr.c] updated comment ------------------------------------------------------------------------ r11058 | vlefevre | 2016-12-18 22:47:20 +0000 (Sun, 18 Dec 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added a short note about the default precision for Re. ------------------------------------------------------------------------ r11057 | zimmerma | 2016-12-18 18:27:18 +0000 (Sun, 18 Dec 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [mpfr.texi] added emin in comment about mpfr_round_nearest_away ------------------------------------------------------------------------ r11056 | zimmerma | 2016-12-18 09:01:59 +0000 (Sun, 18 Dec 2016) | 2 lines Changed paths: M /trunk/src/get_str.c M /trunk/src/strtofr.c fixed bug in mpfr_strtofr (and likely similar bug in mpfr_get_str) ------------------------------------------------------------------------ r11055 | zimmerma | 2016-12-17 22:22:54 +0000 (Sat, 17 Dec 2016) | 2 lines Changed paths: M /trunk/tests/tstrtofr.c [tstrtofr.c] added test for bug in mpfr_strtofr() ------------------------------------------------------------------------ r11054 | vlefevre | 2016-12-17 02:27:05 +0000 (Sat, 17 Dec 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Added "do ... while (0)" in macro definition. ------------------------------------------------------------------------ r11053 | vlefevre | 2016-12-16 15:04:26 +0000 (Fri, 16 Dec 2016) | 1 line Changed paths: M /trunk/src/div.c Removed trailing whitespace. ------------------------------------------------------------------------ r11052 | vlefevre | 2016-12-16 14:54:14 +0000 (Fri, 16 Dec 2016) | 2 lines Changed paths: M /trunk/src/round_raw_generic.c [src/round_raw_generic.c] Completed the support for MPFR_RNDNA (set *inexp if use_inexp is true), from a patch by John P. Hartmann. ------------------------------------------------------------------------ r11051 | zimmerma | 2016-12-16 11:15:14 +0000 (Fri, 16 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c M /trunk/src/sqrt_tab.h new mpn_sqrtrem4_approx function (unused so far) ------------------------------------------------------------------------ r11048 | vlefevre | 2016-12-15 15:18:42 +0000 (Thu, 15 Dec 2016) | 1 line Changed paths: M /trunk/src/sin.c [src/sin.c] Handled a FIXME. ------------------------------------------------------------------------ r11047 | vlefevre | 2016-12-15 14:53:27 +0000 (Thu, 15 Dec 2016) | 1 line Changed paths: M /trunk/src/sqrt_tab.h [src/sqrt_tab.h] Added copyright notice. ------------------------------------------------------------------------ r11044 | zimmerma | 2016-12-15 08:28:05 +0000 (Thu, 15 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [sqrt.c] simplify code for GMP_NUMB_BITS = 64 ------------------------------------------------------------------------ r11042 | zimmerma | 2016-12-14 21:07:34 +0000 (Wed, 14 Dec 2016) | 2 lines Changed paths: M /trunk/src/mpfr-longlong.h better fix than r11025 ------------------------------------------------------------------------ r11041 | zimmerma | 2016-12-14 16:42:32 +0000 (Wed, 14 Dec 2016) | 3 lines Changed paths: M /trunk/src/Makefile.am M /trunk/src/sqrt.c A /trunk/src/sqrt_tab.h [sqrt_tab.h] new header file with table for mpn_sqrtrem2_approx() [sqrt.c] new version of mpn_sqrtrem2_approx() ------------------------------------------------------------------------ r11039 | zimmerma | 2016-12-14 10:52:58 +0000 (Wed, 14 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [sqrt.c] added mathematical error in mpn_sqrtrem2_approx() ------------------------------------------------------------------------ r11038 | zimmerma | 2016-12-14 07:40:46 +0000 (Wed, 14 Dec 2016) | 2 lines Changed paths: M /trunk/tests/tsprintf.c added non-regression test for bug fix in r11037 ------------------------------------------------------------------------ r11037 | vlefevre | 2016-12-14 03:22:12 +0000 (Wed, 14 Dec 2016) | 4 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Fixed a bug as spec.prec can be a negative number other than -1 (if such a value is given as an argument with ".*"). This is the probable cause of the assertion failure on: https://gforge.inria.fr/tracker/?func=detail&atid=619&aid=21056&group_id=136 ------------------------------------------------------------------------ r11036 | zimmerma | 2016-12-13 17:42:05 +0000 (Tue, 13 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [sqrt.c] faster version of mpn_sqrtrem2 for 64-bit limb ------------------------------------------------------------------------ r11035 | zimmerma | 2016-12-13 11:36:56 +0000 (Tue, 13 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [sqrt.c] approximate version of mpn_sqrtrem2, saves a few cycles in mpfr_sqrt1 ------------------------------------------------------------------------ r11034 | zimmerma | 2016-12-13 08:09:07 +0000 (Tue, 13 Dec 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c M /trunk/src/sub1sp.c [add/sub] added MPFR_UNLIKELY when adding one ulp changes the binade ------------------------------------------------------------------------ r11033 | vlefevre | 2016-12-12 17:53:57 +0000 (Mon, 12 Dec 2016) | 1 line Changed paths: M /trunk/src/sin.c [src/sin.c] Added missing word in r11032 comment. ------------------------------------------------------------------------ r11032 | vlefevre | 2016-12-12 17:53:02 +0000 (Mon, 12 Dec 2016) | 1 line Changed paths: M /trunk/src/sin.c [src/sin.c] Common/related subexpressions. Added a FIXME. ------------------------------------------------------------------------ r11031 | zimmerma | 2016-12-12 17:32:09 +0000 (Mon, 12 Dec 2016) | 2 lines Changed paths: M /trunk/src/cos.c M /trunk/src/exp_2.c M /trunk/src/log.c [cos.c,exp_2.c,log.c] improved initial precision for Ziv's strategy ------------------------------------------------------------------------ r11030 | zimmerma | 2016-12-12 17:01:19 +0000 (Mon, 12 Dec 2016) | 2 lines Changed paths: M /trunk/src/sin.c [sin.c] improved strategy for initial precision ------------------------------------------------------------------------ r11029 | zimmerma | 2016-12-12 16:43:39 +0000 (Mon, 12 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [sqrt.c] updated code and comments ------------------------------------------------------------------------ r11028 | zimmerma | 2016-12-12 15:26:22 +0000 (Mon, 12 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [sqrt.c] slightly improve mpn_rsqrtrem1() (and detailed error analysis) ------------------------------------------------------------------------ r11027 | zimmerma | 2016-12-12 10:25:51 +0000 (Mon, 12 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [sqrt.c] removed mpn_sqrtrem1 (no longer needed since r11023) ------------------------------------------------------------------------ r11026 | zimmerma | 2016-12-12 10:23:39 +0000 (Mon, 12 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [sqrt.c] fixed comments to be coherent with the code ------------------------------------------------------------------------ r11025 | zimmerma | 2016-12-12 09:04:19 +0000 (Mon, 12 Dec 2016) | 2 lines Changed paths: M /trunk/src/mpfr-longlong.h fixed https://gforge.inria.fr/tracker/?func=detail&atid=619&aid=21053&group_id=136 ------------------------------------------------------------------------ r11024 | vlefevre | 2016-12-09 19:55:12 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Corrected a comment (1 has exponent 1 and we support precision 1). ------------------------------------------------------------------------ r11023 | zimmerma | 2016-12-09 16:59:46 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [sqrt.c] no more special case for prec <= GMP_NUMB_BITS/2, and added comments ------------------------------------------------------------------------ r11022 | vlefevre | 2016-12-09 15:13:10 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Bug fix (replaced = by ==). Note: this kind of bug could be detected by avoiding extra parentheses. ------------------------------------------------------------------------ r11021 | vlefevre | 2016-12-09 15:01:25 +0000 (Fri, 09 Dec 2016) | 1 line Changed paths: M /trunk/src/div.c M /trunk/src/sqrt.c [src] Simplified ~MPFR_LIMB_ZERO to MPFR_LIMB_MAX. ------------------------------------------------------------------------ r11020 | zimmerma | 2016-12-09 14:55:31 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/div.c [div.c] simplified mpfr_div_1 and mpfr_div_2 ------------------------------------------------------------------------ r11019 | zimmerma | 2016-12-09 14:34:20 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/div.c [div.c] added comments and simplified code ------------------------------------------------------------------------ r11018 | zimmerma | 2016-12-09 13:53:45 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/div.c [div.c] simplified code ------------------------------------------------------------------------ r11017 | zimmerma | 2016-12-09 13:50:55 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/mul.c M /trunk/tests/tmul.c likewise for mpfr_mul_2() ------------------------------------------------------------------------ r11016 | zimmerma | 2016-12-09 13:44:45 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/mul.c M /trunk/tests/tmul.c fixed bug in mpfr_mul_1() introduced in r11004 and added test case ------------------------------------------------------------------------ r11015 | zimmerma | 2016-12-09 13:14:56 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/div.c [div.c] simplified underflow test in mpfr_div_1() ------------------------------------------------------------------------ r11014 | vlefevre | 2016-12-09 12:51:17 +0000 (Fri, 09 Dec 2016) | 1 line Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] underflow is unlikely! ------------------------------------------------------------------------ r11013 | vlefevre | 2016-12-09 12:48:20 +0000 (Fri, 09 Dec 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] overflow and underflow are unlikely! ------------------------------------------------------------------------ r11012 | zimmerma | 2016-12-09 12:42:08 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/div.c [div.c] overflow and underflow are unlikely! ------------------------------------------------------------------------ r11011 | zimmerma | 2016-12-09 12:30:39 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/div.c [div.c] slightly better code (less dependencies) for mpfr_div_1 when u0 >= v0 ------------------------------------------------------------------------ r11010 | zimmerma | 2016-12-09 12:02:19 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/div.c [div.c] simplified mpfr_div_1() code ------------------------------------------------------------------------ r11009 | zimmerma | 2016-12-09 11:52:44 +0000 (Fri, 09 Dec 2016) | 3 lines Changed paths: M /trunk/src/div.c [div.c] in mpfr_div_1, do not deal with the case where the precision is <= GMP_NUMB_BITS/2, to not slow down the general case ------------------------------------------------------------------------ r11008 | vlefevre | 2016-12-09 11:45:35 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/mul.c [src/mul.c] Slight improvement (but shouldn't affect the generated code with an optimizing compiler). ------------------------------------------------------------------------ r11007 | zimmerma | 2016-12-09 11:34:58 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/mul.c [mul.c] likewise for mpfr_mul_2() ------------------------------------------------------------------------ r11006 | zimmerma | 2016-12-09 11:31:52 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/mul.c [mul.c] simplified mpfr_mul_1() ------------------------------------------------------------------------ r11005 | zimmerma | 2016-12-09 10:50:30 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/mul.c M /trunk/tests/tmul.c fixed similar bug in mpfr_mul_2() + non-regression test ------------------------------------------------------------------------ r11004 | zimmerma | 2016-12-09 10:30:53 +0000 (Fri, 09 Dec 2016) | 3 lines Changed paths: M /trunk/src/mul.c M /trunk/tests/tmul.c [mul.c] simplified the code and fixed a bug [tmul.c] added non-regression test for fixed bug ------------------------------------------------------------------------ r11003 | zimmerma | 2016-12-09 10:10:42 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [sub1sp.c] added comment + assert ------------------------------------------------------------------------ r11002 | vlefevre | 2016-12-09 08:59:15 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h [src] Fixed bug introduced in r10964 with --with-gmp-build: move the numberof_const() definition from mpfr-gmp.h to mpfr-impl.h. ------------------------------------------------------------------------ r11001 | zimmerma | 2016-12-09 08:46:20 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c [add1sp.c] added comment ------------------------------------------------------------------------ r11000 | zimmerma | 2016-12-09 08:26:54 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c [add1sp.c] simplified mpfr_add1sp2() ------------------------------------------------------------------------ r10999 | zimmerma | 2016-12-09 07:54:55 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [sub1sp.c] in mpfr_sub1sp2(), compute a0 before a1 whenever possible ------------------------------------------------------------------------ r10998 | vlefevre | 2016-12-09 00:33:52 +0000 (Fri, 09 Dec 2016) | 1 line Changed paths: M /trunk/tools/mbench/mfv5.cc [tools/mbench/mfv5.cc] Fixed type. ------------------------------------------------------------------------ r10997 | zimmerma | 2016-12-08 17:16:48 +0000 (Thu, 08 Dec 2016) | 2 lines Changed paths: M /trunk/tools/mbench/timp.h [mbench] fixed typo ------------------------------------------------------------------------ r10995 | vlefevre | 2016-12-08 12:34:52 +0000 (Thu, 08 Dec 2016) | 1 line Changed paths: M /trunk/src/sub1sp.c M /trunk/tests/tcheck.c Replaced two ~0 with mp_limb_t target by MPFR_LIMB_MAX. ------------------------------------------------------------------------ r10994 | vlefevre | 2016-12-08 12:25:17 +0000 (Thu, 08 Dec 2016) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Added a test detecting code like ~0 (either an error or poorly written code). ------------------------------------------------------------------------ r10993 | zimmerma | 2016-12-08 11:00:19 +0000 (Thu, 08 Dec 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c M /trunk/src/sub1sp.c improved add1sp.c and sub1sp.c like in r10991 ------------------------------------------------------------------------ r10992 | zimmerma | 2016-12-08 10:59:09 +0000 (Thu, 08 Dec 2016) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5.cc [mbench] set default max_exp to 1 (independent of number of bits per limb) ------------------------------------------------------------------------ r10991 | zimmerma | 2016-12-08 10:32:38 +0000 (Thu, 08 Dec 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [sub1sp.c] improved further ------------------------------------------------------------------------ r10990 | zimmerma | 2016-12-08 08:46:31 +0000 (Thu, 08 Dec 2016) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5.cc [mbench] use mpfr_printf to print test numbers ------------------------------------------------------------------------ r10989 | zimmerma | 2016-12-08 08:23:26 +0000 (Thu, 08 Dec 2016) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5.cc fixed bug in mfv5 (numbers used were 10 times too large) ------------------------------------------------------------------------ r10987 | zimmerma | 2016-12-07 16:21:48 +0000 (Wed, 07 Dec 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [sub1sp.c] corrected a comment, added another one ------------------------------------------------------------------------ r10986 | vlefevre | 2016-12-07 15:46:22 +0000 (Wed, 07 Dec 2016) | 1 line Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] Typo in a comment. ------------------------------------------------------------------------ r10985 | vlefevre | 2016-12-07 15:35:15 +0000 (Wed, 07 Dec 2016) | 1 line Changed paths: M /trunk/src/pow.c [src/pow.c] Punctuation to make clear that there are 2 sentences. ------------------------------------------------------------------------ r10984 | zimmerma | 2016-12-07 15:29:27 +0000 (Wed, 07 Dec 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c M /trunk/src/sub1sp.c likewise r10983 ------------------------------------------------------------------------ r10983 | zimmerma | 2016-12-07 15:06:48 +0000 (Wed, 07 Dec 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c [add1sp.c] improved a conditional (if compiler is not smart enough) ------------------------------------------------------------------------ r10982 | zimmerma | 2016-12-07 13:14:33 +0000 (Wed, 07 Dec 2016) | 2 lines Changed paths: M /trunk/src/exp_2.c [exp_2.c] small improvements ------------------------------------------------------------------------ r10981 | vlefevre | 2016-12-07 12:13:21 +0000 (Wed, 07 Dec 2016) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] MPFR_INT_CEIL_LOG2(x) macro: added a FIXME and an assertion concerning whether x <= ULONG_MAX or not. ------------------------------------------------------------------------ r10980 | vlefevre | 2016-12-07 11:52:48 +0000 (Wed, 07 Dec 2016) | 1 line Changed paths: M /trunk/src/pow.c [src/pow.c] Added an assertion. ------------------------------------------------------------------------ r10979 | zimmerma | 2016-12-07 11:51:24 +0000 (Wed, 07 Dec 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [algorithms.tex] fixed typo ------------------------------------------------------------------------ r10978 | zimmerma | 2016-12-07 11:10:01 +0000 (Wed, 07 Dec 2016) | 2 lines Changed paths: M /trunk/src/pow.c [pow.c] tuned starting precision (and removed obsolete comment) ------------------------------------------------------------------------ r10977 | zimmerma | 2016-12-07 10:42:04 +0000 (Wed, 07 Dec 2016) | 2 lines Changed paths: M /trunk/src/pow.c use MPFR_INT_CEIL_LOG2 ------------------------------------------------------------------------ r10973 | zimmerma | 2016-12-06 17:12:59 +0000 (Tue, 06 Dec 2016) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5.cc M /trunk/tools/mbench/mfv5.h [mfv5] added option -e, for example use -e1 to avoid over/underflow in mpfr_pow ------------------------------------------------------------------------ r10972 | zimmerma | 2016-12-06 17:11:42 +0000 (Tue, 06 Dec 2016) | 3 lines Changed paths: M /trunk/src/pow.c [pow.c] reduced overhead of special cases (gives speedup of a factor of two for 53 bits of precision) ------------------------------------------------------------------------ r10970 | zimmerma | 2016-12-06 14:16:33 +0000 (Tue, 06 Dec 2016) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5-mpfr.cc added mpfr_pow ------------------------------------------------------------------------ r10969 | vlefevre | 2016-12-06 08:22:02 +0000 (Tue, 06 Dec 2016) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Correction for zsh change after v5.2 (POSIX compat: "set -e; f() { false && true; }; f; echo OK" no longer prints OK). ------------------------------------------------------------------------ r10964 | vlefevre | 2016-11-29 16:06:33 +0000 (Tue, 29 Nov 2016) | 8 lines Changed paths: M /trunk/src/mpfr-gmp.h M /trunk/src/mulders.c Check that the numberof() macro is used on an array. * src/mpfr-gmp.h: define numberof_const() macro, equivalent to the old numberof() macro: no check, but constant expression; improved the numberof() macro to check that it is used on an array (since an array can silently be converted to a pointer in C). Note that potential failures are currently reported at run time. * src/mulders.c: replaced numberof by numberof_const in #define's (also removed a useless cast at the same time). ------------------------------------------------------------------------ r10963 | vlefevre | 2016-11-17 22:28:27 +0000 (Thu, 17 Nov 2016) | 2 lines Changed paths: M /trunk/src/set_ld.c M /trunk/tests/tset_ld.c [src/set_ld.c,tests/tset_ld.c] Updated comments, in particular concerning LDBL_MAX. ------------------------------------------------------------------------ r10961 | vlefevre | 2016-11-15 13:59:58 +0000 (Tue, 15 Nov 2016) | 3 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Added an overflow test that triggers a bug for double-double (IBM long double format). See: https://sympa.inria.fr/sympa/arc/mpfr/2016-11/msg00006.html ------------------------------------------------------------------------ r10960 | vlefevre | 2016-11-15 13:48:27 +0000 (Tue, 15 Nov 2016) | 5 lines Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] Fixed bugs for double-double (IBM long double format): * one from r8650, which could yield a spurious assertion failure in debug mode in case of underflow (with result 0); * one from r8972, which used the variable sign uninitialized and could yield a result with an incorrect sign. ------------------------------------------------------------------------ r10959 | vlefevre | 2016-11-15 13:16:04 +0000 (Tue, 15 Nov 2016) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Added a missing exit(1). ------------------------------------------------------------------------ r10958 | vlefevre | 2016-11-15 09:44:27 +0000 (Tue, 15 Nov 2016) | 7 lines Changed paths: M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tset_ld.c [tests] _GMP_IEEE_FLOATS was got rid of in r10150, but still used in the tests, meaning that some tests were no longer done. So, get rid of _GMP_IEEE_FLOATS also in the tests. Testing !defined(MPFR_ERRDIVZERO) or defined(HAVE_SIGNEDZ) should be sufficient, depending on the context (they were already used alone at some other places, so that new failures are unlikely); anyway, _GMP_IEEE_FLOATS was not the right macro to test. Only tget_set_d64.c has a specific change to use _MPFR_IEEE_FLOATS. ------------------------------------------------------------------------ r10957 | vlefevre | 2016-11-15 08:43:19 +0000 (Tue, 15 Nov 2016) | 2 lines Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] For double-double (IBM long double format): test other special values, as this may be useful. ------------------------------------------------------------------------ r10956 | vlefevre | 2016-11-15 07:41:32 +0000 (Tue, 15 Nov 2016) | 4 lines Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] For double-double (IBM long double format), the code was incorrect on large finite values, which are infinite as a double: (+inf) + (-inf) was computed, which is NaN (thanks to Rob for the report). Fixed this bug, with code clean up (not tested). ------------------------------------------------------------------------ r10954 | vlefevre | 2016-11-10 15:45:24 +0000 (Thu, 10 Nov 2016) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] Added a note about MinGW and libtool error "libobj name ... may not contain shell special characters.", with a solution. ------------------------------------------------------------------------ r10953 | vlefevre | 2016-11-09 04:27:57 +0000 (Wed, 09 Nov 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Final corrections. ------------------------------------------------------------------------ r10952 | vlefevre | 2016-11-09 03:52:03 +0000 (Wed, 09 Nov 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Another correction due to the rewrite for reuse support. ------------------------------------------------------------------------ r10951 | vlefevre | 2016-11-09 03:20:29 +0000 (Wed, 09 Nov 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Correction. ------------------------------------------------------------------------ r10944 | vlefevre | 2016-11-08 10:07:52 +0000 (Tue, 08 Nov 2016) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Added a short explanation for halfway cases. ------------------------------------------------------------------------ r10943 | vlefevre | 2016-11-08 01:04:49 +0000 (Tue, 08 Nov 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Improved an example (from my ARITH-23 slides). ------------------------------------------------------------------------ r10942 | vlefevre | 2016-11-08 00:59:47 +0000 (Tue, 08 Nov 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] English usage. ------------------------------------------------------------------------ r10941 | vlefevre | 2016-11-07 14:17:28 +0000 (Mon, 07 Nov 2016) | 2 lines Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Explained the handling of halfway cases for sq = 1 (since the explanations for sq ≥ 2 are not valid for sq = 1). ------------------------------------------------------------------------ r10940 | vlefevre | 2016-11-07 14:06:50 +0000 (Mon, 07 Nov 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Minor update. ------------------------------------------------------------------------ r10939 | vlefevre | 2016-11-07 03:47:24 +0000 (Mon, 07 Nov 2016) | 2 lines Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Last corrections. Concerning the setting of the sign of the result, this changed with the support for precision 1 (see r10068). ------------------------------------------------------------------------ r10938 | vlefevre | 2016-11-07 03:03:06 +0000 (Mon, 07 Nov 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Correction (English). ------------------------------------------------------------------------ r10937 | vlefevre | 2016-11-07 02:41:11 +0000 (Mon, 07 Nov 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Correction about neg / sgn. ------------------------------------------------------------------------ r10936 | vlefevre | 2016-11-07 01:47:17 +0000 (Mon, 07 Nov 2016) | 2 lines Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Added details about the handling of halfway cases, as the rule is not obvious due to two's complement representation. ------------------------------------------------------------------------ r10935 | vlefevre | 2016-11-06 23:46:57 +0000 (Sun, 06 Nov 2016) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Cosmetic change for consistency between lbit and rbit. ------------------------------------------------------------------------ r10934 | vlefevre | 2016-11-06 22:39:38 +0000 (Sun, 06 Nov 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Minor update. ------------------------------------------------------------------------ r10933 | vlefevre | 2016-11-04 13:55:53 +0000 (Fri, 04 Nov 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] A bit more explanations. ------------------------------------------------------------------------ r10932 | vlefevre | 2016-11-04 12:52:58 +0000 (Fri, 04 Nov 2016) | 3 lines Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Corrected the usage of the HYPHEN-MINUS character (-): * If it is a minus sign, use U+2212 MINUS SIGN (as already done). * Do not use "-" after the "non" and "pre" prefixes. ------------------------------------------------------------------------ r10931 | vlefevre | 2016-11-04 10:32:55 +0000 (Fri, 04 Nov 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Minor improvement. ------------------------------------------------------------------------ r10929 | vlefevre | 2016-10-27 15:25:34 +0000 (Thu, 27 Oct 2016) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Replaced "TZ=UTC" by "TZ=GMT0" for portability. ------------------------------------------------------------------------ r10928 | vlefevre | 2016-10-27 13:54:43 +0000 (Thu, 27 Oct 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Added a note. ------------------------------------------------------------------------ r10927 | vlefevre | 2016-10-27 13:51:11 +0000 (Thu, 27 Oct 2016) | 2 lines Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Update for the current code (support of reused arguments); some other improvements. ------------------------------------------------------------------------ r10926 | vlefevre | 2016-10-27 13:47:16 +0000 (Thu, 27 Oct 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Corrected 2 typos. ------------------------------------------------------------------------ r10925 | vlefevre | 2016-10-27 12:30:01 +0000 (Thu, 27 Oct 2016) | 5 lines Changed paths: M /trunk/src/sum.c [src/sum.c] Changed a MPN_COPY_DECR to MPN_COPY, which may be more efficient: as of r10464 (support for reused arguments), the memory used by the accumulator for the TMD resolution is no longer a part of the main accumulator, so that we now know that the memory blocks do not overlap. ------------------------------------------------------------------------ r10924 | vlefevre | 2016-10-26 13:46:28 +0000 (Wed, 26 Oct 2016) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Corrected a comment from r10503. ------------------------------------------------------------------------ r10923 | vlefevre | 2016-10-26 13:39:20 +0000 (Wed, 26 Oct 2016) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Moved/rewrote a comment (should have been done in r10467). ------------------------------------------------------------------------ r10922 | vlefevre | 2016-10-25 14:49:00 +0000 (Tue, 25 Oct 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Started the update for the code supporting reuse. ------------------------------------------------------------------------ r10920 | vlefevre | 2016-10-25 06:57:56 +0000 (Tue, 25 Oct 2016) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Fixed r10916 (thanks to Eli Zaretskii for the report). ------------------------------------------------------------------------ r10918 | vlefevre | 2016-10-24 13:30:10 +0000 (Mon, 24 Oct 2016) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Improved a macro from r10916 (just in case...). ------------------------------------------------------------------------ r10916 | vlefevre | 2016-10-24 12:53:55 +0000 (Mon, 24 Oct 2016) | 7 lines Changed paths: 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/exceptions.c M /trunk/src/mpfr-impl.h M /trunk/src/set_dfl_prec.c M /trunk/src/set_rnd.c [src] Support build as thread-safe DLL on Windows: clean-up. * Increased the use of macros to avoid some code duplication (with risks of typos) and to prevent the problems related to thread-safe DLL from appearing in the .c files. * The prototypes of the functions to access the address of a TLS variable are now defined. Otherwise one gets warnings: https://sympa.inria.fr/sympa/arc/mpfr/2016-10/msg00004.html ------------------------------------------------------------------------ r10915 | vlefevre | 2016-10-20 15:00:30 +0000 (Thu, 20 Oct 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Minor correction and improvement (English). ------------------------------------------------------------------------ r10914 | vlefevre | 2016-10-20 14:22:35 +0000 (Thu, 20 Oct 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] "a" → "an" before "additional iteration". ------------------------------------------------------------------------ r10912 | vlefevre | 2016-10-18 08:06:35 +0000 (Tue, 18 Oct 2016) | 1 line Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Updated a comment about bit-fields. ------------------------------------------------------------------------ r10902 | vlefevre | 2016-09-27 15:10:30 +0000 (Tue, 27 Sep 2016) | 8 lines Changed paths: M /trunk/src/init2.c M /trunk/src/mpfr-impl.h M /trunk/src/round_prec.c M /trunk/src/set_prec.c [src] * mpfr-impl.h: document the memory allocated for a significand; added a cast to avoid a direct conversion from mp_limb_t * to mp_size_t *. * init2.c, round_prec.c, set_prec.c: code clean-up by correcting the type expected for the second argument of MPFR_SET_MANT_PTR (this macro has a cast, so that this should not change anything, but the old type mpfr_limb_ptr was meaningless and confusing). ------------------------------------------------------------------------ r10890 | vlefevre | 2016-09-23 14:19:16 +0000 (Fri, 23 Sep 2016) | 1 line Changed paths: M /trunk/examples/version.c [examples/version.c] For MPFR >= 4, output float128 support info. ------------------------------------------------------------------------ r10888 | vlefevre | 2016-09-23 14:06:48 +0000 (Fri, 23 Sep 2016) | 1 line Changed paths: M /trunk/examples/version.c [examples/version.c] A bit more output. ------------------------------------------------------------------------ r10886 | vlefevre | 2016-09-23 13:47:14 +0000 (Fri, 23 Sep 2016) | 4 lines Changed paths: M /trunk/examples/version.c [examples/version.c] * Really support C++ compilers (tested with g++ 6.2.0). * Output information about the C implementation. * Detect MPIR (→ output information on MPIR instead of GMP). ------------------------------------------------------------------------ r10885 | vlefevre | 2016-09-23 13:14:12 +0000 (Fri, 23 Sep 2016) | 5 lines Changed paths: M /trunk/examples/version.c [examples/version.c] * Code simplification: support for MPFR versions less than 3.0 had already been dropped with the use of MPFR_RNDN. * For MPFR patches, output "[none]" when there are no patches. * Output mpfr_ptr size. ------------------------------------------------------------------------ r10884 | vlefevre | 2016-09-21 15:11:16 +0000 (Wed, 21 Sep 2016) | 2 lines Changed paths: M /trunk/src/sin_cos.c [src/sin_cos.c] Avoid the reuse of variables for two completely different things (with different orders of magnitude)! Changed types. ------------------------------------------------------------------------ r10883 | vlefevre | 2016-09-21 15:06:52 +0000 (Wed, 21 Sep 2016) | 3 lines Changed paths: M /trunk/src/exp3.c [src/exp3.c] Avoid the reuse of variables for two completely different things (with different orders of magnitude)! Added a cast to avoid a potential integer overflow (like in r10881). ------------------------------------------------------------------------ r10882 | vlefevre | 2016-09-21 15:05:07 +0000 (Wed, 21 Sep 2016) | 2 lines Changed paths: M /trunk/src/atan.c [src/atan.c] Avoid the reuse of variables for two completely different things (with different orders of magnitude)! Changed types. ------------------------------------------------------------------------ r10881 | vlefevre | 2016-09-21 13:54:01 +0000 (Wed, 21 Sep 2016) | 6 lines Changed paths: M /trunk/src/atan.c M /trunk/src/sin_cos.c [src/{atan.c,sin_cos.c}] Added casts to avoid potential integer overflows. Possible issue reported by David Binderman: https://sympa.inria.fr/sympa/arc/mpfr/2016-09/msg00029.html Note: From tests I've done on mpfr_atan, there would be issues with 16-bit int, but for 32-bit int, one could need several hundreds of billions of bits for the target precision. ------------------------------------------------------------------------ r10880 | vlefevre | 2016-09-21 11:34:52 +0000 (Wed, 21 Sep 2016) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": updated paragraph about warnings. ------------------------------------------------------------------------ r10879 | vlefevre | 2016-09-21 11:12:23 +0000 (Wed, 21 Sep 2016) | 4 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] In the MPFR_RET macro, avoid the use of an integer in a boolean context (even though that this is not wrong in C). Fix after a bug report from David Binderman. Explanations: https://sympa.inria.fr/sympa/arc/mpfr/2016-09/msg00028.html ------------------------------------------------------------------------ r10878 | vlefevre | 2016-09-16 13:34:49 +0000 (Fri, 16 Sep 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] Riemann Zeta function, case s < 1/2: added a paragraph on the sin(...) term of the reflection formula. ------------------------------------------------------------------------ r10877 | vlefevre | 2016-09-16 13:05:04 +0000 (Fri, 16 Sep 2016) | 1 line Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] More work on the Riemann Zeta function. ------------------------------------------------------------------------ r10876 | vlefevre | 2016-09-15 13:31:39 +0000 (Thu, 15 Sep 2016) | 4 lines Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] Riemann Zeta function, case s < 1/2: added a paragraph briefly describing how the precisions of the variables will be chosen (this is much more efficient than the current code when the target precision is much lower than the input precision). ------------------------------------------------------------------------ r10875 | vlefevre | 2016-09-15 13:17:58 +0000 (Thu, 15 Sep 2016) | 10 lines Changed paths: M /trunk/doc/algorithms.tex M /trunk/src/zeta.c Some improvements / corrections in the description / proof of the algorithm for the Riemann Zeta function. * doc/algorithms.tex, section on the Riemann Zeta function: the case s < 1/2 (reflection formula) is now in a new section, which needs to be completed (with the detailed algorithm and error analysis); case "s close to 0" added and now properly proved. * src/zeta.c: update of the comment for s close to 0 (the brief explanations were wrong for precision 1, and this was apparently not checked when we allowed this precision!), adding a reference to algorithms.tex for details. ------------------------------------------------------------------------ r10874 | vlefevre | 2016-09-14 14:35:33 +0000 (Wed, 14 Sep 2016) | 3 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] In "[[…]]" conditional expressions, replaced "=" by the preferred (and equivalent) form "==". Discussion: http://www.zsh.org/mla/workers/2016/msg01711.html ------------------------------------------------------------------------ r10872 | vlefevre | 2016-09-14 07:59:27 +0000 (Wed, 14 Sep 2016) | 1 line Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] Improved code readability (related to r10871). ------------------------------------------------------------------------ r10871 | zimmerma | 2016-09-14 06:39:43 +0000 (Wed, 14 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] improved code (found by David Binderman using cppcheck) ------------------------------------------------------------------------ r10870 | vlefevre | 2016-09-14 01:09:00 +0000 (Wed, 14 Sep 2016) | 3 lines Changed paths: M /trunk/tools/announce-text [tools/announce-text] Use the 64-bit key ID instead of the 32-bit one since there are known collisions for 32-bit key ID's: https://evil32.com/ ------------------------------------------------------------------------ r10865 | vlefevre | 2016-09-13 15:11:11 +0000 (Tue, 13 Sep 2016) | 4 lines Changed paths: M /trunk/src/zeta.c M /trunk/tests/tzeta.c [src/zeta.c] Added a FIXME: bug in the error computation due to the use of the native double C type, which can yield an overflow. [tests/tzeta.c] Added a corresponding test case, which gives an assertion failure. ------------------------------------------------------------------------ r10864 | vlefevre | 2016-09-13 14:53:46 +0000 (Tue, 13 Sep 2016) | 3 lines Changed paths: M /trunk/src/uceil_log2.c M /trunk/src/ufloor_log2.c [src/{uceil_log2.c,ufloor_log2.c}] Added "MPFR_ASSERTN (exp < 1023);" to get an assertion failure on infinities (which do not have an exponent). ------------------------------------------------------------------------ r10863 | vlefevre | 2016-09-13 14:50:38 +0000 (Tue, 13 Sep 2016) | 1 line Changed paths: M /trunk/src/uceil_log2.c [src/uceil_log2.c] Code style. ------------------------------------------------------------------------ r10862 | vlefevre | 2016-09-13 14:46:08 +0000 (Tue, 13 Sep 2016) | 1 line Changed paths: M /trunk/src/ufloor_log2.c [src/ufloor_log2.c] Code style. ------------------------------------------------------------------------ r10861 | vlefevre | 2016-09-13 14:05:24 +0000 (Tue, 13 Sep 2016) | 1 line Changed paths: M /trunk/src/zeta.c [src/zeta.c] Make explicit that we need to use lngamma. ------------------------------------------------------------------------ r10860 | vlefevre | 2016-09-13 13:58:51 +0000 (Tue, 13 Sep 2016) | 1 line Changed paths: M /trunk/src/zeta.c [src/zeta.c] Updated comments on overflows / underflows. ------------------------------------------------------------------------ r10859 | vlefevre | 2016-09-13 09:02:16 +0000 (Tue, 13 Sep 2016) | 3 lines Changed paths: M /trunk/src/zeta.c [src/zeta.c] About internal underflows / cancellation: * Added comments to FIXME's. * Detect a potential integer overflow with MPFR_ASSERTN. ------------------------------------------------------------------------ r10851 | vlefevre | 2016-09-12 10:11:31 +0000 (Mon, 12 Sep 2016) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Moved a comment. ------------------------------------------------------------------------ r10850 | vlefevre | 2016-09-12 10:05:12 +0000 (Mon, 12 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Fixed print_binary (and no longer any failure with gcc -mpc64 on x86). ------------------------------------------------------------------------ r10849 | vlefevre | 2016-09-12 09:44:19 +0000 (Mon, 12 Sep 2016) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Corrected note in print_binary. ------------------------------------------------------------------------ r10848 | vlefevre | 2016-09-12 09:42:56 +0000 (Mon, 12 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Reverted r10847 (it was incomplete and I was testing the wrong code). ------------------------------------------------------------------------ r10847 | vlefevre | 2016-09-12 09:40:34 +0000 (Mon, 12 Sep 2016) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Fixed print_binary. ------------------------------------------------------------------------ r10846 | vlefevre | 2016-09-12 09:13:52 +0000 (Mon, 12 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Added a FIXME in print_binary, which can yield an incorrect output and return a wrong precision (causing the failure). ------------------------------------------------------------------------ r10845 | vlefevre | 2016-09-12 09:08:38 +0000 (Mon, 12 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Added a test that triggers a failure with gcc -mpc64 on x86 (64-bit ABI). ------------------------------------------------------------------------ r10844 | vlefevre | 2016-09-12 08:48:04 +0000 (Mon, 12 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Added some tests in case the rounding precision is smaller than MPFR_LDBL_MANT_DIG (e.g. with gcc -mpc64 on x86). ------------------------------------------------------------------------ r10843 | vlefevre | 2016-09-12 08:09:24 +0000 (Mon, 12 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] In print_binary, added an assertion that may fail with flush-to-zero on underflow (avoiding an infinite loop). ------------------------------------------------------------------------ r10842 | vlefevre | 2016-09-12 08:03:58 +0000 (Mon, 12 Sep 2016) | 4 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Simplified a condition in print_binary (BTW, the old condition was based on the fact that the rounding depended only on the exact result, which may not be the case when rounding is not completely specified, e.g. with double-double arithmetic like on PowerPC). ------------------------------------------------------------------------ r10841 | vlefevre | 2016-09-12 07:15:30 +0000 (Mon, 12 Sep 2016) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Replaced a condition by a simpler, equivalent one. ------------------------------------------------------------------------ r10840 | zimmerma | 2016-09-10 05:55:31 +0000 (Sat, 10 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] added note ------------------------------------------------------------------------ r10839 | zimmerma | 2016-09-09 14:41:49 +0000 (Fri, 09 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] get rid of C99-only stuff ------------------------------------------------------------------------ r10838 | vlefevre | 2016-09-09 14:32:14 +0000 (Fri, 09 Sep 2016) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Removed a variable that is no longer used. ------------------------------------------------------------------------ r10837 | vlefevre | 2016-09-09 12:49:59 +0000 (Fri, 09 Sep 2016) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] FIXME: nextafterl and ilogbl are C99 only. ------------------------------------------------------------------------ r10836 | zimmerma | 2016-09-09 11:13:31 +0000 (Fri, 09 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] fixed computation of smallest subnormal using nextafterl ------------------------------------------------------------------------ r10835 | zimmerma | 2016-09-09 11:09:48 +0000 (Fri, 09 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] added warning ------------------------------------------------------------------------ r10834 | zimmerma | 2016-09-09 10:52:27 +0000 (Fri, 09 Sep 2016) | 3 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] fixed print_binary() for when the rounding precision is less than the precision of long double ------------------------------------------------------------------------ r10833 | vlefevre | 2016-09-09 09:02:16 +0000 (Fri, 09 Sep 2016) | 2 lines Changed paths: M /trunk/src/get_ld.c M /trunk/tests/tset_ld.c [src/get_ld.c] Replaced FIXME by an explanation of the current behavior. [tests/tset_ld.c] Added a FIXME as a consequence. ------------------------------------------------------------------------ r10832 | vlefevre | 2016-09-09 00:23:59 +0000 (Fri, 09 Sep 2016) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update about NetBSD. ------------------------------------------------------------------------ r10829 | vlefevre | 2016-09-08 16:37:56 +0000 (Thu, 08 Sep 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Corrected a spelling mistake. ------------------------------------------------------------------------ r10828 | vlefevre | 2016-09-08 16:15:18 +0000 (Thu, 08 Sep 2016) | 1 line Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] Updated FIXME (mention subnormals). ------------------------------------------------------------------------ r10827 | vlefevre | 2016-09-08 15:48:59 +0000 (Thu, 08 Sep 2016) | 1 line Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] Updated FIXME (this is NetBSD 5.1). ------------------------------------------------------------------------ r10826 | vlefevre | 2016-09-08 15:35:19 +0000 (Thu, 08 Sep 2016) | 1 line Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] Added a FIXME, in particular for NetBSD. ------------------------------------------------------------------------ r10825 | vlefevre | 2016-09-08 15:17:10 +0000 (Thu, 08 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Avoid a freeze in print_binary under NetBSD due to excess precision in LDBL_MAX (we do not run the test in this case). ------------------------------------------------------------------------ r10824 | zimmerma | 2016-09-08 14:22:04 +0000 (Thu, 08 Sep 2016) | 3 lines Changed paths: M /trunk/src/sqrt.c M /trunk/tests/tsqrt.c [src/sqrt.c] fixed bug in mpfr_sqrt2 [tests/tsqrt.c] added non-regression test ------------------------------------------------------------------------ r10823 | vlefevre | 2016-09-08 13:57:26 +0000 (Thu, 08 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] The print_binary function is freezing on a NetBSD machine; let's start with some improvements (assertions...). ------------------------------------------------------------------------ r10822 | vlefevre | 2016-09-08 13:31:38 +0000 (Thu, 08 Sep 2016) | 1 line Changed paths: M /trunk/tests/tabs.c [tests/tabs.c] Removed mpfr_test_init (not needed here). ------------------------------------------------------------------------ r10821 | vlefevre | 2016-09-08 13:30:35 +0000 (Thu, 08 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Moved mpfr_test_init at the right place (like tget_d.c, tset_d.c, etc.). ------------------------------------------------------------------------ r10820 | zimmerma | 2016-09-08 13:30:14 +0000 (Thu, 08 Sep 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] divsp1 -> div_1 ------------------------------------------------------------------------ r10819 | vlefevre | 2016-09-08 13:24:00 +0000 (Thu, 08 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Fixed a loop in case an extended range is used (there are issues on a NetBSD machine, and this could be a cause). ------------------------------------------------------------------------ r10818 | vlefevre | 2016-09-08 13:19:12 +0000 (Thu, 08 Sep 2016) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Corrected a type (due to a printf with %ld). ------------------------------------------------------------------------ r10817 | zimmerma | 2016-09-08 13:14:30 +0000 (Thu, 08 Sep 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] divsp1 -> div_1, divsp2 -> div_2 (not necessarily same precision) ------------------------------------------------------------------------ r10816 | zimmerma | 2016-09-08 13:12:14 +0000 (Thu, 08 Sep 2016) | 3 lines Changed paths: M /trunk/src/mul.c [src/mul.c] mulsp1 -> mul_1, mulsp2 -> mul_2 (the precision of operands is not necessarily the same) ------------------------------------------------------------------------ r10813 | vlefevre | 2016-09-08 00:15:19 +0000 (Thu, 08 Sep 2016) | 1 line Changed paths: M /trunk/src/get_d.c M /trunk/src/get_ld.c [src/{get_d,get_ld}.c] Use MPFR_ALIAS. ------------------------------------------------------------------------ r10812 | vlefevre | 2016-09-07 12:35:33 +0000 (Wed, 07 Sep 2016) | 9 lines Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] Improved the fix done in r10808: The mpfr_set_emin value is not changed, but let's make the LDBL_MIN_EXP and LDBL_MAX_EXP values appear as expected. Note: The code for x86 extended precision first appeared in r3226 with the usual emin and emax values, as found in the IEEE 754-1985 standard (bounds) or on <https://en.wikipedia.org/wiki/IEEE_floating_point>. But MPFR uses a different convention, with a significand between 1/2 and 1 instead of between 1 and 2, so that these values were off by 1. The emax one was fixed in r6101, but the error on emin remained undetected. ------------------------------------------------------------------------ r10811 | vlefevre | 2016-09-07 09:39:52 +0000 (Wed, 07 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] The bug_20160907 test is valid only with HAVE_LDOUBLE_IEEE_EXT_LITTLE. ------------------------------------------------------------------------ r10810 | vlefevre | 2016-09-07 08:20:28 +0000 (Wed, 07 Sep 2016) | 1 line Changed paths: M /trunk/src/zeta.c [src/zeta.c] Updated FIXME: also suggest a scaling. ------------------------------------------------------------------------ r10809 | zimmerma | 2016-09-07 07:58:43 +0000 (Wed, 07 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] check more numbers in bug_20160907() ------------------------------------------------------------------------ r10808 | zimmerma | 2016-09-07 07:38:09 +0000 (Wed, 07 Sep 2016) | 2 lines Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] fixed bug reported by Walter Mascarenhas ------------------------------------------------------------------------ r10807 | zimmerma | 2016-09-07 07:28:32 +0000 (Wed, 07 Sep 2016) | 3 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] added test that triggers bug in mpfr_get_ld (https://sympa.inria.fr/sympa/arc/mpfr/2016-09/msg00005.html) ------------------------------------------------------------------------ r10806 | vlefevre | 2016-09-07 01:12:06 +0000 (Wed, 07 Sep 2016) | 1 line Changed paths: M /trunk/src/zeta.c [src/zeta.c] Updated FIXME with a suggestion. ------------------------------------------------------------------------ r10805 | vlefevre | 2016-09-07 01:05:34 +0000 (Wed, 07 Sep 2016) | 3 lines Changed paths: M /trunk/src/zeta.c M /trunk/tests/tzeta.c [src/zeta.c] Added a FIXME: An overflow in gamma(s1) does not imply that Zeta(s) will overflow. [tests/tzeta.c] Added a test that triggers this bug with a 32-bit ABI. ------------------------------------------------------------------------ r10804 | vlefevre | 2016-09-07 00:25:25 +0000 (Wed, 07 Sep 2016) | 3 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Concerning GCC's AddressSanitizer (-fsanitize=address), mention that LD_PRELOAD needs to be unset (or -static-libasan needs to be used, but does not work yet). ------------------------------------------------------------------------ r10802 | zimmerma | 2016-09-06 14:04:02 +0000 (Tue, 06 Sep 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] l -> \ell ------------------------------------------------------------------------ r10801 | zimmerma | 2016-09-06 13:58:27 +0000 (Tue, 06 Sep 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] du -> {\mathrm d}u ------------------------------------------------------------------------ r10800 | zimmerma | 2016-09-06 13:45:18 +0000 (Tue, 06 Sep 2016) | 2 lines Changed paths: M /trunk/src/log_ui.c [src/log_ui.c] added FIXME ------------------------------------------------------------------------ r10799 | vlefevre | 2016-09-06 13:08:38 +0000 (Tue, 06 Sep 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Avoid a warning due to an unused variable with GMP_NUMB_BITS == 32. ------------------------------------------------------------------------ r10798 | vlefevre | 2016-09-06 12:33:16 +0000 (Tue, 06 Sep 2016) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Fixed m4_pattern_forbid argument to avoid an error with recent ax_pthread.m4 (such as in Debian's autoconf-archive 20160320-1, which has just appeared in unstable). ------------------------------------------------------------------------ r10797 | vlefevre | 2016-09-06 11:46:31 +0000 (Tue, 06 Sep 2016) | 1 line Changed paths: M /trunk/src/zeta.c [src/zeta.c] Updated FIXME. ------------------------------------------------------------------------ r10796 | zimmerma | 2016-09-06 11:10:56 +0000 (Tue, 06 Sep 2016) | 2 lines Changed paths: M /trunk/src/zeta.c [src/zeta.c] added FIXME ------------------------------------------------------------------------ r10795 | zimmerma | 2016-09-06 06:57:17 +0000 (Tue, 06 Sep 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] added alternate code for mpn_sqrtrem4 (disabled for now) ------------------------------------------------------------------------ r10794 | zimmerma | 2016-09-05 15:46:32 +0000 (Mon, 05 Sep 2016) | 2 lines Changed paths: M /trunk/src/div.c M /trunk/src/mpfr-gmp.h move macros from div.c to mpfr-gmp.h ------------------------------------------------------------------------ r10790 | vlefevre | 2016-09-05 09:07:28 +0000 (Mon, 05 Sep 2016) | 3 lines Changed paths: M /trunk/TODO M /trunk/tests/tzeta.c About the tzeta timing issue (since r9848): * TODO: updated item on tzeta. * tests/tzeta.c: updated FIXME for test_generic. ------------------------------------------------------------------------ r10789 | vlefevre | 2016-09-05 08:50:16 +0000 (Mon, 05 Sep 2016) | 7 lines Changed paths: M /trunk/TODO [TODO] Updated item on tzeta: * removed the old problem: the fact that the traces for the trunk and for r9954 are different is normal (fixes in mpfr_can_round affecting tgeneric.c), and the timings depend on GMP_CHECK_RANDOMIZE and seem equivalent in average with "test_generic (..., 5);" in both cases; * added the fact that tzeta has been much slower since r9848, at least with the x86 32-bit ABI. ------------------------------------------------------------------------ r10775 | vlefevre | 2016-09-02 07:07:31 +0000 (Fri, 02 Sep 2016) | 1 line Changed paths: M /trunk/src/sqrt.c Removed trailing whitespace. ------------------------------------------------------------------------ r10774 | zimmerma | 2016-09-01 08:45:19 +0000 (Thu, 01 Sep 2016) | 13 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] new code for 2 limbs on 64-bit machines, giving speedup of almost a factor of two: bavette.loria.fr (Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz) numactl --physcpubind=0 ./mfv5 -p113 mpfr_sqrt 3.1.4: mpfr_sqrt: 234 / 243.72 / 258 4.0-dev: mpfr_sqrt: 122 / 127.63 / 136 ------------------------------------------------------------------------ r10773 | zimmerma | 2016-08-31 08:54:41 +0000 (Wed, 31 Aug 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] fixed error triggered by previous commit ------------------------------------------------------------------------ r10772 | zimmerma | 2016-08-31 08:50:17 +0000 (Wed, 31 Aug 2016) | 3 lines Changed paths: M /trunk/src/div.c M /trunk/tests/tdiv.c [src/div.c] added missing assertion [tests/tdiv.c] added test case that make new assertion fail (with --enable-assert --enable-gmp-internals on a 64-bit machine) ------------------------------------------------------------------------ r10771 | zimmerma | 2016-08-31 06:38:33 +0000 (Wed, 31 Aug 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] fixed bug found by Vincent ------------------------------------------------------------------------ r10770 | vlefevre | 2016-08-31 00:06:31 +0000 (Wed, 31 Aug 2016) | 2 lines Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] Added a test triggering an assertion failure with "--enable-assert --enable-gmp-internals". ------------------------------------------------------------------------ r10769 | vlefevre | 2016-08-30 23:01:03 +0000 (Tue, 30 Aug 2016) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Update. ------------------------------------------------------------------------ r10768 | vlefevre | 2016-08-30 22:58:50 +0000 (Tue, 30 Aug 2016) | 1 line Changed paths: M /trunk/src/div.c [src/div.c] Untabified. Clarified a comment. ------------------------------------------------------------------------ r10767 | zimmerma | 2016-08-30 14:18:00 +0000 (Tue, 30 Aug 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] document mpn_sqrtrem2() ------------------------------------------------------------------------ r10766 | zimmerma | 2016-08-30 14:09:59 +0000 (Tue, 30 Aug 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] don't use mpfr_divsp1 and mpfr_divsp2 when MPFR_GENERIC_ABI is defined ------------------------------------------------------------------------ r10765 | zimmerma | 2016-08-30 12:10:24 +0000 (Tue, 30 Aug 2016) | 3 lines Changed paths: M /trunk/src/div.c M /trunk/tests/tdiv.c [src/div.c] faster code for 2 limbs [tests/tdiv.c] added special test for 2 limbs ------------------------------------------------------------------------ r10764 | vlefevre | 2016-08-30 07:21:07 +0000 (Tue, 30 Aug 2016) | 7 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tests.c [tests] Define global variable tests_memory_disabled, which needs to be set when the memory.c allocators (to track memory leaks) must not be used; i.e., setting it disables the calls to tests_memory_start() and tests_memory_end(). In tests.c, it is initialized to 0 (unset), except when mini-gmp is used (same behavior as before this commit). Programs that test GMP's mp_set_memory_functions() need to set this variable before calling tests_start_mpfr(). ------------------------------------------------------------------------ r10763 | vlefevre | 2016-08-29 15:35:16 +0000 (Mon, 29 Aug 2016) | 4 lines Changed paths: A /trunk/tests/talloc-cache.c Added tests/talloc-cache.c (not run by "make check") testing multiple calls to mp_set_memory_functions. It yields a crash in the MPFR trunk, which is unexpected with the current code. However, in the 3.1 branch, r9467 fixed the crash as expected. ------------------------------------------------------------------------ r10762 | zimmerma | 2016-08-29 14:20:09 +0000 (Mon, 29 Aug 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] added Sage code used to generate the bipartite tables ------------------------------------------------------------------------ r10761 | vlefevre | 2016-08-29 13:50:47 +0000 (Mon, 29 Aug 2016) | 1 line Changed paths: M /trunk/tests/talloc.c [tests/talloc.c] Added a warning about new tests. ------------------------------------------------------------------------ r10760 | zimmerma | 2016-08-29 13:20:14 +0000 (Mon, 29 Aug 2016) | 2 lines Changed paths: M /trunk/src/atan.c [src/atan.c] fixed TODOs, and simplified code ------------------------------------------------------------------------ r10759 | vlefevre | 2016-08-29 13:09:50 +0000 (Mon, 29 Aug 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added a FIXME comment about memory allocation. ------------------------------------------------------------------------ r10758 | vlefevre | 2016-08-29 12:55:26 +0000 (Mon, 29 Aug 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r10757 | vlefevre | 2016-08-29 12:54:47 +0000 (Mon, 29 Aug 2016) | 1 line Changed paths: M /trunk/TODO [TODO] Done in r10756: unify is_power_of_two() and mpfr_powerof2_raw(). ------------------------------------------------------------------------ r10756 | zimmerma | 2016-08-29 08:15:17 +0000 (Mon, 29 Aug 2016) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/powerof2.c M /trunk/src/round_prec.c unified is_power_of_two() and mpfr_powerof2_raw() ------------------------------------------------------------------------ r10755 | zimmerma | 2016-08-29 07:49:12 +0000 (Mon, 29 Aug 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] improved documentation of mpfr_free_cache() ------------------------------------------------------------------------ r10754 | vlefevre | 2016-08-28 17:48:57 +0000 (Sun, 28 Aug 2016) | 1 line Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] Improved a test now that mpfr_can_round is exact. ------------------------------------------------------------------------ r10753 | vlefevre | 2016-08-28 00:12:04 +0000 (Sun, 28 Aug 2016) | 1 line Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Added a warning about r10749. ------------------------------------------------------------------------ r10752 | vlefevre | 2016-08-27 23:53:19 +0000 (Sat, 27 Aug 2016) | 6 lines Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] Various corrections/improvements: * Unified the return, making sure that temporary memory is no longer used after MPFR_TMP_FREE(marker), which was not the case in some places. * C90 compatibility. * Minor improvements (use of MPFR_PREC2LIMBS, code on 78 columns...). ------------------------------------------------------------------------ r10751 | vlefevre | 2016-08-27 23:01:59 +0000 (Sat, 27 Aug 2016) | 1 line Changed paths: M /trunk/TODO [TODO] Added: unify is_power_of_two() and mpfr_powerof2_raw()? ------------------------------------------------------------------------ r10750 | vlefevre | 2016-08-27 22:58:07 +0000 (Sat, 27 Aug 2016) | 3 lines Changed paths: M /trunk/src/atan2.c M /trunk/src/mpfr-impl.h [src/atan2.c] Replaced the use of the MPFR_IS_POWER_OF_2(x) macro by a more efficient solution based on mpfr_powerof2_raw(). [src/mpfr-impl.h] Removed the now obsolete MPFR_IS_POWER_OF_2 macro. ------------------------------------------------------------------------ r10749 | zimmerma | 2016-08-26 12:49:48 +0000 (Fri, 26 Aug 2016) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] added comment about GMP memory allocation functions ------------------------------------------------------------------------ r10748 | zimmerma | 2016-08-25 07:22:38 +0000 (Thu, 25 Aug 2016) | 3 lines Changed paths: M /trunk/src/round_p.c [src/round_p.c] since mpfr_can_round is now always correct, we cannot compare it blindly to mpfr_round_p any more ------------------------------------------------------------------------ r10747 | zimmerma | 2016-08-24 15:48:39 +0000 (Wed, 24 Aug 2016) | 2 lines Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] fixed mpfr_can_round() so that all tests of tcan_round pass ------------------------------------------------------------------------ r10746 | zimmerma | 2016-08-23 12:38:22 +0000 (Tue, 23 Aug 2016) | 2 lines Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] more information in case of error in check_can_round() ------------------------------------------------------------------------ r10744 | vlefevre | 2016-08-22 18:53:46 +0000 (Mon, 22 Aug 2016) | 1 line Changed paths: M /trunk/tools/mbench/mfv5.cc [tools/mbench/mfv5.cc] Fixed code (C++11 compatibility). ------------------------------------------------------------------------ r10743 | vlefevre | 2016-08-22 13:57:53 +0000 (Mon, 22 Aug 2016) | 4 lines Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] Added a comprehensive test of mpfr_can_round, based on a naive implementation. Note: if the exit() is removed, many cases are failing, for both kinds of answers (there might also remain an error in my test...). ------------------------------------------------------------------------ r10741 | vlefevre | 2016-08-19 14:34:01 +0000 (Fri, 19 Aug 2016) | 1 line Changed paths: M /trunk/TODO [TODO] More thoughts about mpz_t caching (mpz_t pool). ------------------------------------------------------------------------ r10740 | vlefevre | 2016-08-19 13:59:11 +0000 (Fri, 19 Aug 2016) | 1 line Changed paths: M /trunk/TODO [TODO] Issues with mpz_t caching. ------------------------------------------------------------------------ r10739 | vlefevre | 2016-08-19 12:07:55 +0000 (Fri, 19 Aug 2016) | 1 line Changed paths: M /trunk/TODO [TODO] Update about mpz_t caching (mpz_t pool). ------------------------------------------------------------------------ r10738 | vlefevre | 2016-08-19 11:55:31 +0000 (Fri, 19 Aug 2016) | 2 lines Changed paths: M /trunk/src/atan.c [src/atan.c] Added TODO's to use mpz_init2 instead mpz_init: I could check that without "mpz_t cache" (pool), this makes the code faster. ------------------------------------------------------------------------ r10737 | vlefevre | 2016-08-19 11:52:01 +0000 (Fri, 19 Aug 2016) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a note about memory reallocations; recommend mpz_init2 with the estimated maximum size instead of mpz_init. ------------------------------------------------------------------------ r10736 | vlefevre | 2016-08-19 08:54:30 +0000 (Fri, 19 Aug 2016) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Updated the error message on incorrect MPFR version. ------------------------------------------------------------------------ r10735 | vlefevre | 2016-08-19 08:36:16 +0000 (Fri, 19 Aug 2016) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Added note on Solaris and the LD_OPTIONS environment variable. ------------------------------------------------------------------------ r10734 | vlefevre | 2016-08-11 16:32:23 +0000 (Thu, 11 Aug 2016) | 3 lines Changed paths: M /trunk/tools/coverage [tools/coverage] Added a warning: on a machine shared with other users, by running this script, the account can easily be compromised due to a libtool bug. ------------------------------------------------------------------------ r10732 | vlefevre | 2016-08-06 23:24:24 +0000 (Sat, 06 Aug 2016) | 3 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Moved MPFR_DEPRECATED before __MPFR_DECLSPEC for compatibility with MSVC (and documented this requirement). Thanks to Brian Gladman for the information. ------------------------------------------------------------------------ r10731 | vlefevre | 2016-08-04 23:31:17 +0000 (Thu, 04 Aug 2016) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a note about the C++11 compatibility issue with a string literal immediately followed by a macro name. ------------------------------------------------------------------------ r10727 | vlefevre | 2016-08-04 15:06:52 +0000 (Thu, 04 Aug 2016) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-longlong.h M /trunk/src/rec_sqrt.c M /trunk/tests/reuse.c M /trunk/tests/tadd1sp.c M /trunk/tests/taway.c Fixed remaining macros with missing "do" … "while (0)", detected with mpfrlint. There were no consequences except spurious null statements. ------------------------------------------------------------------------ r10726 | vlefevre | 2016-08-04 15:02:00 +0000 (Thu, 04 Aug 2016) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Added a comment. ------------------------------------------------------------------------ r10725 | vlefevre | 2016-08-04 13:43:31 +0000 (Thu, 04 Aug 2016) | 5 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Added a test detecting (unsafe) macros of the form: #define FOO { ... } The following form is preferred in most of the cases to avoid spurious null statements: #define FOO do { ... } while (0) ------------------------------------------------------------------------ r10724 | vlefevre | 2016-08-04 13:17:31 +0000 (Thu, 04 Aug 2016) | 2 lines Changed paths: M /trunk/tests/tsi_op.c [tests/tsi_op.c] Fixed a macro. There were no consequences except spurious null statements. ------------------------------------------------------------------------ r10723 | vlefevre | 2016-08-04 12:30:53 +0000 (Thu, 04 Aug 2016) | 1 line Changed paths: M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c [tests/tset_{si,sj}.c] Style improvements. Added a comment. ------------------------------------------------------------------------ r10721 | vlefevre | 2016-08-04 12:17:34 +0000 (Thu, 04 Aug 2016) | 2 lines Changed paths: M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c [tests/tset_{si,sj}.c] Fixed macros. There were no consequences except spurious null statements. ------------------------------------------------------------------------ r10719 | vlefevre | 2016-08-04 01:48:33 +0000 (Thu, 04 Aug 2016) | 5 lines Changed paths: M /trunk/tests/tpow_z.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tsi_op.c [tests] C++ compatibility: avoid errors with "g++ -std=c++11" or later. Note that as of GCC 6, "the default mode for C++ is now -std=gnu++14 instead of -std=gnu++98" <https://gcc.gnu.org/gcc-6/changes.html>. So, this fixes the failures in the build of the MPFR tests with g++ from GCC 6 without particular options. ------------------------------------------------------------------------ r10718 | vlefevre | 2016-08-03 16:23:55 +0000 (Wed, 03 Aug 2016) | 1 line Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] mpfr_can_round_raw: added another FIXME. ------------------------------------------------------------------------ r10717 | vlefevre | 2016-08-03 16:02:40 +0000 (Wed, 03 Aug 2016) | 2 lines Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] mpfr_can_round_raw: added an assertion, corrected a condition in a comment, and added comments, showing a new bug. ------------------------------------------------------------------------ r10716 | vlefevre | 2016-08-02 15:25:58 +0000 (Tue, 02 Aug 2016) | 1 line Changed paths: M /trunk/tests/tmul.c [tests/tmul.c] Various corrections and improvements in test_underflow. ------------------------------------------------------------------------ r10714 | vlefevre | 2016-08-02 11:04:48 +0000 (Tue, 02 Aug 2016) | 2 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Mark mpfr_grandom as deprecated (this had already been done in mpfr.texi r8548). ------------------------------------------------------------------------ r10713 | vlefevre | 2016-08-02 10:29:36 +0000 (Tue, 02 Aug 2016) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Suggest MPFR_EXPERIMENTAL for experimental functions. ------------------------------------------------------------------------ r10712 | vlefevre | 2016-08-01 12:40:38 +0000 (Mon, 01 Aug 2016) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Correction in the info about the C implementation. ------------------------------------------------------------------------ r10711 | vlefevre | 2016-08-01 12:26:15 +0000 (Mon, 01 Aug 2016) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Corrections in the info about the C implementation. ------------------------------------------------------------------------ r10710 | vlefevre | 2016-08-01 09:56:19 +0000 (Mon, 01 Aug 2016) | 3 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Corrected a bound in the proof of mpfr_sqrt1 (one-limb precisions), related to the right shift of a negative value. Added a warning and a TODO about such an operation. ------------------------------------------------------------------------ r10709 | vlefevre | 2016-08-01 09:06:06 +0000 (Mon, 01 Aug 2016) | 6 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Enable mpfr_sqrt1 code for one-limb precisions (which depends on implementation-defined features of the C standard) only when __GNUC__ is defined, as it is known to be correct with GCC and compatible compilers, but nothing is known yet for other compilers. Removed the corresponding FIXME and added a note. In the future, a configure test could be used as an alternative solution. ------------------------------------------------------------------------ r10708 | vlefevre | 2016-08-01 08:37:09 +0000 (Mon, 01 Aug 2016) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Output more information about the C implementation. ------------------------------------------------------------------------ r10707 | vlefevre | 2016-07-31 17:39:38 +0000 (Sun, 31 Jul 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Fixed some portability issues. ------------------------------------------------------------------------ r10706 | vlefevre | 2016-07-31 17:32:32 +0000 (Sun, 31 Jul 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Fix if mp_limb_t > unsigned long (this fixed failures with mingw-w64). ------------------------------------------------------------------------ r10705 | vlefevre | 2016-07-31 17:30:28 +0000 (Sun, 31 Jul 2016) | 3 lines Changed paths: M /trunk/src/cos.c M /trunk/src/lngamma.c [src/lngamma.c] Fix in case mp_limb_t is more than twice as large as unsigned long (that would make it at least 128 bits). [src/cos.c] Made code similar to the rest of the code. ------------------------------------------------------------------------ r10704 | vlefevre | 2016-07-31 17:19:43 +0000 (Sun, 31 Jul 2016) | 2 lines Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] Improved a comment (to make it closer to what correct C code should be), avoiding a false positive with mpfrlint. ------------------------------------------------------------------------ r10703 | vlefevre | 2016-07-31 17:15:31 +0000 (Sun, 31 Jul 2016) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Detect possibly wrong code with some C/GMP implementations, related to shifts and integer types. ------------------------------------------------------------------------ r10702 | vlefevre | 2016-07-31 16:17:46 +0000 (Sun, 31 Jul 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Completed the FIXME (another portability issue). ------------------------------------------------------------------------ r10701 | vlefevre | 2016-07-31 00:39:14 +0000 (Sun, 31 Jul 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Added a FIXME. The current code for prec < GMP_NUMB_BITS is not portable. ------------------------------------------------------------------------ r10700 | vlefevre | 2016-07-31 00:27:31 +0000 (Sun, 31 Jul 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Fixed code for implementations with 16-bit int's. ------------------------------------------------------------------------ r10699 | vlefevre | 2016-07-31 00:23:11 +0000 (Sun, 31 Jul 2016) | 1 line Changed paths: M /trunk/tests/tsqrt.c [tests/tsqrt.c] Fixed output bug in a test. ------------------------------------------------------------------------ r10698 | zimmerma | 2016-07-29 13:46:09 +0000 (Fri, 29 Jul 2016) | 10 lines Changed paths: M /trunk/NEWS M /trunk/src/mul.c [src/mul.c] speedup for 2 limbs: numactl --physcpubind=0 ./mfv5 -p113 mpfr_mul 3.1.5-dev: mpfr_mul: 45 / 61.60 / 84 4.0-dev: mpfr_mul: 30 / 32.15 / 36 [NEWS] mention that speedup ------------------------------------------------------------------------ r10697 | zimmerma | 2016-07-29 13:42:10 +0000 (Fri, 29 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] fixed bug in mpfr_sub1sp2 ------------------------------------------------------------------------ r10696 | zimmerma | 2016-07-29 12:44:56 +0000 (Fri, 29 Jul 2016) | 2 lines Changed paths: M /trunk/src/mul.c [src/mul.c] removed useless code ------------------------------------------------------------------------ r10695 | zimmerma | 2016-07-29 12:33:12 +0000 (Fri, 29 Jul 2016) | 2 lines Changed paths: M /trunk/src/mul.c [src/mul.c] code simplification ------------------------------------------------------------------------ r10694 | zimmerma | 2016-07-29 12:21:15 +0000 (Fri, 29 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] another code simplification ------------------------------------------------------------------------ r10693 | zimmerma | 2016-07-29 12:16:38 +0000 (Fri, 29 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] code simplification ------------------------------------------------------------------------ r10692 | zimmerma | 2016-07-29 12:06:05 +0000 (Fri, 29 Jul 2016) | 2 lines Changed paths: M /trunk/NEWS [NEWS] mention speedup in mpfr_add and mpfr_sub for 2 limbs ------------------------------------------------------------------------ r10691 | zimmerma | 2016-07-29 12:03:28 +0000 (Fri, 29 Jul 2016) | 10 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] faster code for 2 limbs. Results with mbench (numactl --physcpubind=0 ./mfv5 -p113 mpfr_sub): 3.1.5-dev: mpfr_sub: 36 / 65.33 / 81 4.0-dev: mpfr_sub: 24 / 33.00 / 36 ------------------------------------------------------------------------ r10690 | zimmerma | 2016-07-28 15:09:21 +0000 (Thu, 28 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tmul.c [tests/tmul.c] fixed wrong test ------------------------------------------------------------------------ r10689 | vlefevre | 2016-07-28 13:50:35 +0000 (Thu, 28 Jul 2016) | 3 lines Changed paths: M /trunk/tests/reuse.c [tests/reuse.c] Perform each reuse test on 1 to 5 limbs, with a random number of trailing bits. This allows one to test code specific to 1 or 2 limbs. ------------------------------------------------------------------------ r10688 | zimmerma | 2016-07-28 11:39:10 +0000 (Thu, 28 Jul 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] fixed issues found with --enable-assert=full ------------------------------------------------------------------------ r10687 | zimmerma | 2016-07-27 19:53:02 +0000 (Wed, 27 Jul 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] new code to deal with p in [GMP_NUMB_BITS+1,2*GMP_NUMB_BITS-1] ------------------------------------------------------------------------ r10686 | vlefevre | 2016-07-27 15:05:21 +0000 (Wed, 27 Jul 2016) | 9 lines Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] Various minor improvements: * Added a MPFR_ASSERTN since mpfr_can_round is a function in the API. * Changed error variables to be more consistent with the context. * Removed unnecessary code (casts...) about the error: it came from round.c r1574, where types were different at that time. * Made err2 (the old err) local to a small block to make sure that it will not be used by mistake instead of err in future changes. * Made equivalent expressions appear under the same form: (rnd1 == rnd2 || rnd2 == MPFR_RNDN) && err - 2 >= prec ------------------------------------------------------------------------ r10685 | vlefevre | 2016-07-27 14:28:44 +0000 (Wed, 27 Jul 2016) | 1 line Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] Changed precision variables to be like SSA. ------------------------------------------------------------------------ r10684 | vlefevre | 2016-07-27 14:17:36 +0000 (Wed, 27 Jul 2016) | 2 lines Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] Simplified code, making it more similar to code that has just been fixed. ------------------------------------------------------------------------ r10683 | vlefevre | 2016-07-27 14:08:48 +0000 (Wed, 27 Jul 2016) | 1 line Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] Removed useless parentheses. ------------------------------------------------------------------------ r10682 | vlefevre | 2016-07-27 14:05:16 +0000 (Wed, 27 Jul 2016) | 1 line Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] Added an assertion for "default:". ------------------------------------------------------------------------ r10681 | vlefevre | 2016-07-27 13:28:39 +0000 (Wed, 27 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] In test_simple, output p (which is variable), not prec (which is always 4). ------------------------------------------------------------------------ r10680 | zimmerma | 2016-07-27 13:21:14 +0000 (Wed, 27 Jul 2016) | 3 lines Changed paths: M /trunk/src/round_prec.c M /trunk/tests/tcan_round.c [src/round_prec.c] fixed bug in mpfr_can_round for 2^e when rnd1=rnd2 and err > prec + 1 (was returning 0 instead of 1) ------------------------------------------------------------------------ r10679 | vlefevre | 2016-07-27 09:30:13 +0000 (Wed, 27 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] Added a simple test that fails as a consequence of r9883 (this could be observed on tzeta before r10678 in tgeneric.c). ------------------------------------------------------------------------ r10678 | vlefevre | 2016-07-27 02:36:08 +0000 (Wed, 27 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Improvement: When the result is exact, it can always be rounded (while mpfr_can_round can fail). ------------------------------------------------------------------------ r10677 | vlefevre | 2016-07-27 01:47:43 +0000 (Wed, 27 Jul 2016) | 1 line Changed paths: M /trunk/TODO [TODO] Updated item about tzeta. ------------------------------------------------------------------------ r10676 | zimmerma | 2016-07-26 18:03:08 +0000 (Tue, 26 Jul 2016) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] update (feedback from Bill Hart) ------------------------------------------------------------------------ r10675 | vlefevre | 2016-07-26 17:12:59 +0000 (Tue, 26 Jul 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Replaced mp_ptr by mpfr_limb_ptr (as usual). ------------------------------------------------------------------------ r10674 | zimmerma | 2016-07-26 16:24:09 +0000 (Tue, 26 Jul 2016) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5-mpfr.cc [mbench/mfv5-mpfr.cc] patch to allow using it with older versions of MPFR (say branch 3.1) ------------------------------------------------------------------------ r10673 | zimmerma | 2016-07-26 15:04:35 +0000 (Tue, 26 Jul 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] fixed mpn_sqrtrem2 for 32-bit limb ------------------------------------------------------------------------ r10672 | vlefevre | 2016-07-26 14:26:58 +0000 (Tue, 26 Jul 2016) | 1 line Changed paths: M /trunk/tests/tzeta.c [tests/tzeta.c] Added a FIXME so that r10667 can be reverted. ------------------------------------------------------------------------ r10671 | vlefevre | 2016-07-26 14:24:04 +0000 (Tue, 26 Jul 2016) | 1 line Changed paths: M /trunk/TODO [TODO] Updated item about tzeta. ------------------------------------------------------------------------ r10670 | vlefevre | 2016-07-26 14:06:10 +0000 (Tue, 26 Jul 2016) | 1 line Changed paths: M /trunk/TODO [TODO] Added item about the fix of mpfr_can_round in r9883 and tzeta. ------------------------------------------------------------------------ r10669 | vlefevre | 2016-07-26 12:26:57 +0000 (Tue, 26 Jul 2016) | 7 lines Changed paths: M /trunk/doc/README.dev M /trunk/src/sqrt.c New MPFR_GENERIC_ABI macro to test the generic code, not tied to a particular ABI (e.g. GMP_NUMB_BITS value), so that such code has a chance to be tested on current machines. * doc/README.dev: added brief documentation. * src/sqrt.c: enable mpfr_sqrt1 (optimization for one-limb precisions, currently when GMP_NUMB_BITS is 32 or 64) only when MPFR_GENERIC_ABI is not defined. ------------------------------------------------------------------------ r10668 | vlefevre | 2016-07-26 12:16:38 +0000 (Tue, 26 Jul 2016) | 3 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] * Changed mp_ptr to mpfr_limb_ptr. * Untabified and removed trailing spaces. ------------------------------------------------------------------------ r10667 | zimmerma | 2016-07-26 11:34:38 +0000 (Tue, 26 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tzeta.c [tests/tzeta.c] reduced test time ------------------------------------------------------------------------ r10666 | zimmerma | 2016-07-26 11:30:00 +0000 (Tue, 26 Jul 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] adapted mpn_sqrtrem1 for GMP_NUMB_BITS=32 ------------------------------------------------------------------------ r10665 | vlefevre | 2016-07-25 14:36:06 +0000 (Mon, 25 Jul 2016) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Corrected hint for mingw (use --build instead of --host). ------------------------------------------------------------------------ r10664 | zimmerma | 2016-07-25 13:22:25 +0000 (Mon, 25 Jul 2016) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] added hint for mingw ------------------------------------------------------------------------ r10662 | zimmerma | 2016-07-25 11:51:11 +0000 (Mon, 25 Jul 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] fixed temporary patch for 32-bit computers ------------------------------------------------------------------------ r10661 | vlefevre | 2016-07-25 10:01:24 +0000 (Mon, 25 Jul 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Typo in comment. ------------------------------------------------------------------------ r10660 | vlefevre | 2016-07-25 09:58:38 +0000 (Mon, 25 Jul 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Updated FIXME's. This is still incorrect with 32-bit limbs. ------------------------------------------------------------------------ r10659 | zimmerma | 2016-07-25 08:18:29 +0000 (Mon, 25 Jul 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] temporary fix for 32-bit limbs ------------------------------------------------------------------------ r10657 | vlefevre | 2016-07-22 15:17:56 +0000 (Fri, 22 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tadd.c [tests/tadd.c] Improved coding style and messages (do not mix up "inexact flag" and "ternary value"!). ------------------------------------------------------------------------ r10642 | vlefevre | 2016-07-22 10:34:40 +0000 (Fri, 22 Jul 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Added another FIXME comment for 32-bit machines. ------------------------------------------------------------------------ r10641 | vlefevre | 2016-07-22 10:32:47 +0000 (Fri, 22 Jul 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Added other FIXME comments for 32-bit machines. ------------------------------------------------------------------------ r10640 | vlefevre | 2016-07-20 15:26:40 +0000 (Wed, 20 Jul 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Added FIXME comments for 32-bit machines. ------------------------------------------------------------------------ r10639 | vlefevre | 2016-07-20 15:11:11 +0000 (Wed, 20 Jul 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] C90 compatibility. ------------------------------------------------------------------------ r10638 | vlefevre | 2016-07-20 14:47:22 +0000 (Wed, 20 Jul 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Fixed minor (mainly style) issues found by mpfrlint. ------------------------------------------------------------------------ r10637 | vlefevre | 2016-07-20 14:35:16 +0000 (Wed, 20 Jul 2016) | 5 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] * Added --msg option to err-if-output function to optionally output a message explaining what to do in case of error. * Added this option to 3 err-if-output calls (errors with src/sqrt.c r10636). ------------------------------------------------------------------------ r10636 | zimmerma | 2016-07-20 13:57:32 +0000 (Wed, 20 Jul 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] new speedup for 1/2 and 1 limb ------------------------------------------------------------------------ r10632 | zimmerma | 2016-07-19 16:09:37 +0000 (Tue, 19 Jul 2016) | 2 lines Changed paths: M /trunk/NEWS [NEWS] mention speedup in mpfr_sqrt ------------------------------------------------------------------------ r10631 | zimmerma | 2016-07-19 16:08:38 +0000 (Tue, 19 Jul 2016) | 4 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] faster code for small precision (on tomate.loria.fr, 45 cycles for prec=24 instead of 161 before, and 108 cycles for prec=53 instead of 165 with 3.1.4) ------------------------------------------------------------------------ r10628 | zimmerma | 2016-07-18 08:10:24 +0000 (Mon, 18 Jul 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] removed duplicate prototype (cf revision 10625) ------------------------------------------------------------------------ r10627 | zimmerma | 2016-07-18 08:04:21 +0000 (Mon, 18 Jul 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] yet another speedup ------------------------------------------------------------------------ r10626 | zimmerma | 2016-07-18 07:19:29 +0000 (Mon, 18 Jul 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] small improvement ------------------------------------------------------------------------ r10625 | vlefevre | 2016-07-18 00:46:29 +0000 (Mon, 18 Jul 2016) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Declare __gmpn_invert_limb if used (in order to avoid an error with g++ for the tests). ------------------------------------------------------------------------ r10624 | zimmerma | 2016-07-17 19:46:38 +0000 (Sun, 17 Jul 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] removed wrong assertions (and added comments to explain why) ------------------------------------------------------------------------ r10623 | vlefevre | 2016-07-15 12:57:18 +0000 (Fri, 15 Jul 2016) | 1 line Changed paths: M /trunk/src/div.c [src/div.c] Added a FIXME (assertion failure). ------------------------------------------------------------------------ r10622 | vlefevre | 2016-07-15 12:43:03 +0000 (Fri, 15 Jul 2016) | 1 line Changed paths: M /trunk/src/div.c [src/div.c] Untabified. ------------------------------------------------------------------------ r10621 | vlefevre | 2016-07-15 12:40:22 +0000 (Fri, 15 Jul 2016) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Update concerning GMP internals. ------------------------------------------------------------------------ r10620 | zimmerma | 2016-07-15 10:07:06 +0000 (Fri, 15 Jul 2016) | 2 lines Changed paths: M /trunk/configure.ac M /trunk/src/sub1sp.c [src/sub1sp.c] implement use of __gmpn_rsblsh_n (disabled for now) ------------------------------------------------------------------------ r10619 | zimmerma | 2016-07-15 09:12:54 +0000 (Fri, 15 Jul 2016) | 2 lines Changed paths: M /trunk/NEWS M /trunk/configure.ac M /trunk/src/div.c [src/div.c] only use __gmpn_invert_limb with --enable-gmp-internals ------------------------------------------------------------------------ r10618 | vlefevre | 2016-07-14 20:54:00 +0000 (Thu, 14 Jul 2016) | 4 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/tests/tcmp_ld.c [src/mpfr-impl.h] Require <float.h> to be included in order to be able to use the "long double macros and typedef" part. Moved the IEEE_FLOAT128_MANT_DIG macro definition out of this part. [tests/tcmp_ld.c] Added missing #include <float.h>. ------------------------------------------------------------------------ r10617 | vlefevre | 2016-07-14 16:04:42 +0000 (Thu, 14 Jul 2016) | 1 line Changed paths: M /trunk/src/div.c [src/div.c] Added a FIXME as __gmpn_invert_limb is a GMP internal. ------------------------------------------------------------------------ r10616 | zimmerma | 2016-07-14 14:56:00 +0000 (Thu, 14 Jul 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] speedup for precision < GMP_NUMB_BITS/2 (by almost a factor 2) ------------------------------------------------------------------------ r10615 | zimmerma | 2016-07-14 14:31:21 +0000 (Thu, 14 Jul 2016) | 2 lines Changed paths: M /trunk/src/mul.c [src/mul.c] added comment ------------------------------------------------------------------------ r10614 | zimmerma | 2016-07-14 14:14:48 +0000 (Thu, 14 Jul 2016) | 2 lines Changed paths: M /trunk/src/div.c M /trunk/src/mpfr-longlong.h [src/div.c] new faster code for 1 limb ------------------------------------------------------------------------ r10613 | zimmerma | 2016-07-14 07:44:07 +0000 (Thu, 14 Jul 2016) | 3 lines Changed paths: M /trunk/src/cmp_ld.c M /trunk/src/get_ld.c M /trunk/src/set_ld.c [src/cmp_ld.c] include float.h so that MPFR_LDBL_MANT_DIG is correcly defined [src/get_ld.c,src/set_ld.c] added comment ------------------------------------------------------------------------ r10612 | zimmerma | 2016-07-13 15:03:21 +0000 (Wed, 13 Jul 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] removed obsolete comment since we no longer use __udiv_qrnnd_ld ------------------------------------------------------------------------ r10611 | zimmerma | 2016-07-13 14:22:34 +0000 (Wed, 13 Jul 2016) | 3 lines Changed paths: M /trunk/src/div.c M /trunk/src/mpfr-longlong.h [src/div.c] changed __udiv_qrnnd_ld into __udiv_qrnnd_preinv (no dependency any more on long double) ------------------------------------------------------------------------ r10610 | vlefevre | 2016-07-09 07:38:22 +0000 (Sat, 09 Jul 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] Do not use __udiv_qrnnd_ld for MPFR_LDBL_MANT_DIG > 64. Added a comment about __udiv_qrnnd_ld. ------------------------------------------------------------------------ r10609 | vlefevre | 2016-07-09 07:27:06 +0000 (Sat, 09 Jul 2016) | 1 line Changed paths: M /trunk/src/mpfr-longlong.h [src/mpfr-longlong.h] Typo. ------------------------------------------------------------------------ r10608 | vlefevre | 2016-07-09 07:24:15 +0000 (Sat, 09 Jul 2016) | 1 line Changed paths: M /trunk/src/mpfr-longlong.h [src/mpfr-longlong.h] C89 compatibility. ------------------------------------------------------------------------ r10607 | zimmerma | 2016-07-08 15:34:15 +0000 (Fri, 08 Jul 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] speedup using __udiv_qrnnd_ld ------------------------------------------------------------------------ r10606 | zimmerma | 2016-07-08 15:26:19 +0000 (Fri, 08 Jul 2016) | 2 lines Changed paths: M /trunk/src/mpfr-longlong.h [src/mpfr-longlong.h] contributed __udiv_qrnnd_ld variant ------------------------------------------------------------------------ r10605 | zimmerma | 2016-07-08 13:50:01 +0000 (Fri, 08 Jul 2016) | 3 lines Changed paths: M /trunk/src/div.c M /trunk/src/mul.c [src/div.c] new special code for 1 limb [src/mul.c] fixed corner case near underflow ------------------------------------------------------------------------ r10604 | zimmerma | 2016-07-08 13:10:12 +0000 (Fri, 08 Jul 2016) | 2 lines Changed paths: M /trunk/src/mul.c [src/mul.c] fixed detection of rounding away ------------------------------------------------------------------------ r10603 | zimmerma | 2016-07-08 12:50:31 +0000 (Fri, 08 Jul 2016) | 3 lines Changed paths: M /trunk/src/mul.c M /trunk/tests/tmul.c [src/mul.c] fixed underflow *after* rounding [tests/tmul.c] fixed a test ------------------------------------------------------------------------ r10602 | zimmerma | 2016-07-08 12:45:05 +0000 (Fri, 08 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tmul.c [tests/tmul.c] added underflow test for directed rounding too ------------------------------------------------------------------------ r10601 | zimmerma | 2016-07-08 12:24:28 +0000 (Fri, 08 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tmul.c [tests/tmul.c] added test for underflow after rounding (reveals bug in mul.c) ------------------------------------------------------------------------ r10600 | vlefevre | 2016-07-08 11:57:26 +0000 (Fri, 08 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Clarified comment (it's better not to mention underflow before rounding because it is not considered at all in MPFR). ------------------------------------------------------------------------ r10599 | zimmerma | 2016-07-08 11:36:15 +0000 (Fri, 08 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] added comment about underflow before/after rounding ------------------------------------------------------------------------ r10598 | zimmerma | 2016-07-08 08:27:48 +0000 (Fri, 08 Jul 2016) | 2 lines Changed paths: M /trunk/src/mul.c [src/mul.c] changed MPFR_PREC into MPFR_GET_PREC ------------------------------------------------------------------------ r10597 | zimmerma | 2016-07-07 12:35:28 +0000 (Thu, 07 Jul 2016) | 2 lines Changed paths: M /trunk/src/mul.c [src/mul.c] removed a call to MPFR_LIKELY which is unlikely... ------------------------------------------------------------------------ r10596 | vlefevre | 2016-07-07 11:36:33 +0000 (Thu, 07 Jul 2016) | 1 line Changed paths: M /trunk/NEWS [NEWS] i.e. → e.g. ------------------------------------------------------------------------ r10595 | vlefevre | 2016-07-07 11:26:32 +0000 (Thu, 07 Jul 2016) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Replaced mp_ptr by mpfr_limb_ptr (as usual). ------------------------------------------------------------------------ r10594 | vlefevre | 2016-07-07 11:22:04 +0000 (Thu, 07 Jul 2016) | 4 lines Changed paths: M /trunk/src/add1sp.c M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] Added tests with EXP(b) < EXP(c), as there are no such restrictions on the exponents for mpfr_add1sp. [src/add1sp.c] Fixed mpfr_add1sp when b and c have different signs and EXP(b) < EXP(c). ------------------------------------------------------------------------ r10593 | zimmerma | 2016-07-07 11:08:04 +0000 (Thu, 07 Jul 2016) | 2 lines Changed paths: M /trunk/NEWS [NEWS] speedup in mpfr_mul for one limb (minus 1 bit) ------------------------------------------------------------------------ r10592 | zimmerma | 2016-07-07 11:01:33 +0000 (Thu, 07 Jul 2016) | 9 lines Changed paths: M /trunk/src/mul.c [src/mul.c] speed-up of mpfr_mul for 1 limb (1 limb - 1 bit for the result). Results of mbench for 53 bits on Intel i5-4590: before: mpfr_mul: 33 / 37.12 / 42 after: mpfr_mul: 18 / 20.63 / 24 ------------------------------------------------------------------------ r10591 | vlefevre | 2016-07-07 10:23:34 +0000 (Thu, 07 Jul 2016) | 2 lines Changed paths: M /trunk/src/add1.c [src/add1.c] Corrected a comment as in practice, b and c do not necessarily have the same sign (when called by mpfr_sub). ------------------------------------------------------------------------ r10590 | zimmerma | 2016-07-07 08:15:00 +0000 (Thu, 07 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] added assertions ------------------------------------------------------------------------ r10589 | vlefevre | 2016-07-06 23:32:19 +0000 (Wed, 06 Jul 2016) | 1 line Changed paths: M /trunk/tests/tadd.c [tests/tadd.c] C++ compatibility. ------------------------------------------------------------------------ r10588 | vlefevre | 2016-07-06 23:29:08 +0000 (Wed, 06 Jul 2016) | 1 line Changed paths: M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] Do not use != 0 on predicate function. ------------------------------------------------------------------------ r10587 | zimmerma | 2016-07-06 20:03:26 +0000 (Wed, 06 Jul 2016) | 3 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] removed special code for n = 1, now that we have a special function mpfr_sub1sp1 ------------------------------------------------------------------------ r10586 | zimmerma | 2016-07-06 14:30:09 +0000 (Wed, 06 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tadd.c [tests/tadd.c] revert mpfr_add to test_add ------------------------------------------------------------------------ r10585 | zimmerma | 2016-07-06 14:16:37 +0000 (Wed, 06 Jul 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] fixed two bugs in mpfr_add1sp1 ------------------------------------------------------------------------ r10584 | zimmerma | 2016-07-06 14:15:43 +0000 (Wed, 06 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] added one hard-coded test ------------------------------------------------------------------------ r10583 | zimmerma | 2016-07-06 14:07:34 +0000 (Wed, 06 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tadd.c [tests/tadd.c] last commit was wrong ------------------------------------------------------------------------ r10582 | zimmerma | 2016-07-06 13:54:52 +0000 (Wed, 06 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tadd.c improved check_overflow() ------------------------------------------------------------------------ r10581 | vlefevre | 2016-07-06 13:38:53 +0000 (Wed, 06 Jul 2016) | 2 lines Changed paths: M /trunk/src/urandom.c [src/urandom.c] Fixed uninitialized emin for nbits == 1 (thanks GCC's -Werror=maybe-uninitialized). ------------------------------------------------------------------------ r10580 | zimmerma | 2016-07-06 13:02:48 +0000 (Wed, 06 Jul 2016) | 2 lines Changed paths: M /trunk/src/urandom.c [src/urandom.c] should now be ok for nbits = 1 ------------------------------------------------------------------------ r10579 | vlefevre | 2016-07-06 12:30:34 +0000 (Wed, 06 Jul 2016) | 1 line Changed paths: M /trunk/TODO [TODO] Change most mpfr_urandomb to mpfr_urandom in the tests? ------------------------------------------------------------------------ r10578 | vlefevre | 2016-07-06 12:16:04 +0000 (Wed, 06 Jul 2016) | 1 line Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Improved an error message. ------------------------------------------------------------------------ r10577 | vlefevre | 2016-07-06 12:13:03 +0000 (Wed, 06 Jul 2016) | 1 line Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Corrected English usage in error message. ------------------------------------------------------------------------ r10576 | vlefevre | 2016-07-06 12:03:37 +0000 (Wed, 06 Jul 2016) | 1 line Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Small precision check: replaced 2 by MPFR_PREC_MIN. ------------------------------------------------------------------------ r10575 | zimmerma | 2016-07-06 11:47:20 +0000 (Wed, 06 Jul 2016) | 2 lines Changed paths: M /trunk/src/urandom.c [src/urandom.c] fixed urandom for a precision of 1 bit ------------------------------------------------------------------------ r10574 | vlefevre | 2016-07-06 11:14:42 +0000 (Wed, 06 Jul 2016) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] About random tests: avoid mpfr_urandomb!!! ------------------------------------------------------------------------ r10573 | vlefevre | 2016-07-06 11:09:59 +0000 (Wed, 06 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] Use mpfr_urandom instead of mpfr_urandomb. This triggers an assertion failure in urandomb.c. ------------------------------------------------------------------------ r10572 | vlefevre | 2016-07-06 11:03:20 +0000 (Wed, 06 Jul 2016) | 1 line Changed paths: M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] Reordered variables. Removed a redundant test. ------------------------------------------------------------------------ r10571 | vlefevre | 2016-07-06 10:30:13 +0000 (Wed, 06 Jul 2016) | 1 line Changed paths: M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] In check_random, check the flags too. ------------------------------------------------------------------------ r10570 | vlefevre | 2016-07-06 10:26:40 +0000 (Wed, 06 Jul 2016) | 1 line Changed paths: M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] Test negative numbers too. ------------------------------------------------------------------------ r10569 | vlefevre | 2016-07-06 10:15:17 +0000 (Wed, 06 Jul 2016) | 1 line Changed paths: M /trunk/src/sub1sp.c M /trunk/tests/tsub1sp.c Removed trailing spaces. ------------------------------------------------------------------------ r10568 | zimmerma | 2016-07-06 09:02:12 +0000 (Wed, 06 Jul 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c added comment ------------------------------------------------------------------------ r10567 | zimmerma | 2016-07-06 08:58:06 +0000 (Wed, 06 Jul 2016) | 3 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] removed special cases for n=1 in mpfr_add1sp, now that we have a special routine mpfr_add1sp1 ------------------------------------------------------------------------ r10566 | zimmerma | 2016-07-06 07:31:04 +0000 (Wed, 06 Jul 2016) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5.cc [mbench/mfv5.cc] added RNDA and fixed typo ------------------------------------------------------------------------ r10565 | vlefevre | 2016-07-06 01:52:11 +0000 (Wed, 06 Jul 2016) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5-mpfr.cc M /trunk/tools/mbench/mfv5.cc M /trunk/tools/mbench/mfv5.h The rounding mode can now be passed in argument with the -r option (patch by Patrick Pélissier). ------------------------------------------------------------------------ r10564 | vlefevre | 2016-07-06 01:43:45 +0000 (Wed, 06 Jul 2016) | 1 line Changed paths: M /trunk/src/add1sp.c M /trunk/src/sub1sp.c Removed MPFR_HOT_FUNCTION_ATTR for mpfr_add1sp1 and mpfr_sub1sp1. ------------------------------------------------------------------------ r10563 | vlefevre | 2016-07-05 19:15:18 +0000 (Tue, 05 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tadd.c [tests/tadd.c] Added FIXME comment: there are many tests, but the ternary value and the flags are not tested! ------------------------------------------------------------------------ r10562 | vlefevre | 2016-07-05 19:06:28 +0000 (Tue, 05 Jul 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c M /trunk/src/mpfr-impl.h M /trunk/src/sub1sp.c Functions mpfr_add1sp1 and mpfr_sub1sp1 are called only from the files where they are defined, thus can be static. ------------------------------------------------------------------------ r10561 | vlefevre | 2016-07-05 19:02:43 +0000 (Tue, 05 Jul 2016) | 1 line Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] Removed unused variable. ------------------------------------------------------------------------ r10560 | zimmerma | 2016-07-05 15:09:25 +0000 (Tue, 05 Jul 2016) | 9 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] new special code for 1 limb. In 3.1.4 we add with mfv5: mpfr_add: 30 / 49.30 / 90 now we have: mpfr_add: 24 / 28.18 / 30 ------------------------------------------------------------------------ r10559 | zimmerma | 2016-07-05 15:07:58 +0000 (Tue, 05 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] added comment ------------------------------------------------------------------------ r10558 | vlefevre | 2016-07-05 14:08:11 +0000 (Tue, 05 Jul 2016) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Another improvement (suggested by Paul). ------------------------------------------------------------------------ r10557 | vlefevre | 2016-07-05 13:34:01 +0000 (Tue, 05 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Improved readability. With Debian's gcc-snapshot, this is equivalent, and with tcc, the generated code is shorter. ------------------------------------------------------------------------ r10556 | vlefevre | 2016-07-05 13:19:11 +0000 (Tue, 05 Jul 2016) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] No longer depend on the representation of 0. ------------------------------------------------------------------------ r10555 | vlefevre | 2016-07-05 13:15:10 +0000 (Tue, 05 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Various improvements in the coding style: readability, consistency, GNU coding style. ------------------------------------------------------------------------ r10554 | zimmerma | 2016-07-05 12:38:42 +0000 (Tue, 05 Jul 2016) | 2 lines Changed paths: M /trunk/doc/README.dev [README.dev] added documentation about mpfr-gfx ------------------------------------------------------------------------ r10553 | zimmerma | 2016-07-05 12:35:00 +0000 (Tue, 05 Jul 2016) | 2 lines Changed paths: M /trunk/tools/mbench/mpfr-gfx.c [mbench/mpfr-gfx.c] change of syntax of gnuplot ------------------------------------------------------------------------ r10552 | zimmerma | 2016-07-05 12:07:48 +0000 (Tue, 05 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c M /trunk/tests/tsub1sp.c [src/sub1sp.c] removed dead code, and improved coverage to 100% ------------------------------------------------------------------------ r10551 | vlefevre | 2016-07-05 09:45:01 +0000 (Tue, 05 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Removed incorrect MPFR_SET_EXP (the value was incorrect and the real MPFR_SET_EXP is done later, after underflow checking). ------------------------------------------------------------------------ r10550 | vlefevre | 2016-07-05 09:35:33 +0000 (Tue, 05 Jul 2016) | 1 line Changed paths: M /trunk/tests/tsub1sp.c [tests/tsub1sp.c] Added missing printf arguments. ------------------------------------------------------------------------ r10548 | zimmerma | 2016-07-05 06:58:19 +0000 (Tue, 05 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] fixed some FIXMEs ------------------------------------------------------------------------ r10547 | vlefevre | 2016-07-04 23:05:29 +0000 (Mon, 04 Jul 2016) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Added a FIXME. ------------------------------------------------------------------------ r10546 | vlefevre | 2016-07-04 22:58:52 +0000 (Mon, 04 Jul 2016) | 3 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Avoid a -Wmaybe-uninitialized warning from GCC by declaring a variable as initialized (the code is correct, GCC isn't just smart enough). ------------------------------------------------------------------------ r10545 | vlefevre | 2016-07-04 22:28:43 +0000 (Mon, 04 Jul 2016) | 1 line Changed paths: M /trunk/src/sub1sp.c Removed trailing spaces. ------------------------------------------------------------------------ r10544 | vlefevre | 2016-07-04 22:27:44 +0000 (Mon, 04 Jul 2016) | 3 lines Changed paths: M /trunk/Makefile.am A /trunk/tools/ck-clz_tab M /trunk/tools/mpfrlint Added tools/ck-clz_tab sh script to check the __clz_tab sizes (to detect issues like the one fixed in r10542). Run this script in dist-hook (Makefile.am) and in mpfrlint. ------------------------------------------------------------------------ r10543 | zimmerma | 2016-07-04 16:00:22 +0000 (Mon, 04 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c resolved a FIXME ------------------------------------------------------------------------ r10542 | zimmerma | 2016-07-04 14:50:53 +0000 (Mon, 04 Jul 2016) | 2 lines Changed paths: M /trunk/src/mp_clz_tab.c fixed bug reported by <sisyphus1@optusnet.com.au> ------------------------------------------------------------------------ r10541 | vlefevre | 2016-07-04 13:39:10 +0000 (Mon, 04 Jul 2016) | 2 lines Changed paths: M /trunk/src/exceptions.c [src/exceptions.c] Added a comment for mpfr_underflow: historical reason for the choice of the behavior with MPFR_RNDN. ------------------------------------------------------------------------ r10540 | zimmerma | 2016-07-04 11:09:26 +0000 (Mon, 04 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c code simplification (suggested by Vincent) ------------------------------------------------------------------------ r10539 | zimmerma | 2016-07-04 10:36:16 +0000 (Mon, 04 Jul 2016) | 2 lines Changed paths: M /trunk/NEWS M /trunk/src/mpfr-impl.h M /trunk/src/sub1sp.c M /trunk/tests/texceptions.c M /trunk/tests/tsub1sp.c speedup of mpfr_sub for same precision < GMP_NUMB_BITS ------------------------------------------------------------------------ r10538 | vlefevre | 2016-07-01 00:56:37 +0000 (Fri, 01 Jul 2016) | 1 line Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] Corrected indentation. ------------------------------------------------------------------------ r10537 | vlefevre | 2016-07-01 00:51:59 +0000 (Fri, 01 Jul 2016) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Added comments. ------------------------------------------------------------------------ r10536 | vlefevre | 2016-07-01 00:47:19 +0000 (Fri, 01 Jul 2016) | 1 line Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] Added comments. ------------------------------------------------------------------------ r10535 | zimmerma | 2016-06-30 07:57:08 +0000 (Thu, 30 Jun 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c M /trunk/src/sub1sp.c optimize mpfr_add (and mpfr_sub, not yet finished) for 1 limb ------------------------------------------------------------------------ r10534 | vlefevre | 2016-06-29 12:17:49 +0000 (Wed, 29 Jun 2016) | 1 line Changed paths: M /trunk/src/add.c M /trunk/src/add1.c M /trunk/src/mpfr-impl.h M /trunk/src/sub.c Renamed macro MPFR_EXP_LESS_P to MPFR_UBF_EXP_LESS_P. ------------------------------------------------------------------------ r10533 | vlefevre | 2016-06-29 12:16:16 +0000 (Wed, 29 Jun 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] Fixed bug introduced in r10530 when MPFR_WANT_ASSERT >= 2 (--enable-assert=full). ------------------------------------------------------------------------ r10532 | vlefevre | 2016-06-29 12:11:44 +0000 (Wed, 29 Jun 2016) | 1 line Changed paths: M /trunk/src/add1.c [src/add1.c] Re-added the MPFR_ASSERTD. The culprit seems to be r10530. ------------------------------------------------------------------------ r10531 | vlefevre | 2016-06-29 12:09:05 +0000 (Wed, 29 Jun 2016) | 1 line Changed paths: M /trunk/src/add1.c [src/add1.c] Reverted r10529, which now fails. That's strange. ------------------------------------------------------------------------ r10530 | zimmerma | 2016-06-29 12:00:06 +0000 (Wed, 29 Jun 2016) | 2 lines Changed paths: M /trunk/src/add.c M /trunk/src/add1sp.c mpfr_add1sp does not assume any more EXP(b) >= EXP(c) ------------------------------------------------------------------------ r10529 | vlefevre | 2016-06-29 11:49:30 +0000 (Wed, 29 Jun 2016) | 1 line Changed paths: M /trunk/src/add1.c [src/add1.c] Added a MPFR_ASSERTD. ------------------------------------------------------------------------ r10528 | zimmerma | 2016-06-29 09:56:17 +0000 (Wed, 29 Jun 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c still faster code for 1 limb ------------------------------------------------------------------------ r10527 | zimmerma | 2016-06-29 09:14:57 +0000 (Wed, 29 Jun 2016) | 3 lines Changed paths: M /trunk/src/add1sp.c merged r10522 from faithful branch + other special-code for 1 limb: the worst case for mpfr_add in 53 limbs decreases from 70 to 60 cycles ------------------------------------------------------------------------ r10525 | zimmerma | 2016-06-29 08:08:35 +0000 (Wed, 29 Jun 2016) | 2 lines Changed paths: M /trunk/src/add1.c added comment that EXP(b) >= EXP(c) ------------------------------------------------------------------------ r10523 | vlefevre | 2016-06-27 17:08:25 +0000 (Mon, 27 Jun 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Changed "hole" to "gap". ------------------------------------------------------------------------ r10519 | vlefevre | 2016-06-25 00:47:35 +0000 (Sat, 25 Jun 2016) | 1 line Changed paths: M /trunk/autogen.sh [autogen.sh] Treat autoreconf warnings as errors. ------------------------------------------------------------------------ r10518 | vlefevre | 2016-06-24 23:55:21 +0000 (Fri, 24 Jun 2016) | 3 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Some improvements. In particular, avoid two successive calls to mpfr_cmpabs on the same arguments (the compiler doesn't know that it could optimize, as the function is not pure). ------------------------------------------------------------------------ r10509 | vlefevre | 2016-06-24 14:21:13 +0000 (Fri, 24 Jun 2016) | 1 line Changed paths: M /trunk/src/add1sp.c M /trunk/src/sub1sp.c Cosmetic change (whitespace). ------------------------------------------------------------------------ r10506 | vlefevre | 2016-06-24 14:06:17 +0000 (Fri, 24 Jun 2016) | 3 lines Changed paths: M /trunk/src/add1sp.c M /trunk/src/sub1sp.c [src/add1sp.c] For MPFR_WANT_ASSERT >= 2 (--enable-assert=full), test the flags too and replaced "mpfr_cmp" by "! mpfr_equal_p". [src/sub1sp.c] Make it similar to add1sp.c for MPFR_WANT_ASSERT >= 2. ------------------------------------------------------------------------ r10504 | vlefevre | 2016-06-24 13:44:21 +0000 (Fri, 24 Jun 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r10503 | vlefevre | 2016-06-24 12:17:25 +0000 (Fri, 24 Jun 2016) | 3 lines Changed paths: M /trunk/src/sum.c [src/sum.c] Made the code a bit more natural: change of pos to neg (an indirect consequence of the support of reused arguments). Some other minor related changes. ------------------------------------------------------------------------ r10501 | vlefevre | 2016-06-24 10:17:40 +0000 (Fri, 24 Jun 2016) | 5 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/sum.c The support of reused arguments in mpfr_sum is now complete, without any visible regressions in the timings (which are unfortunately too inaccurate to see anything). * doc/mpfr.texi: removed sentences about the previous limitation. * src/sum.c: removed the corresponding FIXME/TODO comment. ------------------------------------------------------------------------ r10500 | vlefevre | 2016-06-24 10:11:10 +0000 (Fri, 24 Jun 2016) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Test the support of reused arguments. ------------------------------------------------------------------------ r10493 | vlefevre | 2016-06-23 11:17:51 +0000 (Thu, 23 Jun 2016) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added a comment for MPFR_RNDRAW_GEN about the use of the exponent field of the destination. ------------------------------------------------------------------------ r10477 | vlefevre | 2016-06-17 15:38:51 +0000 (Fri, 17 Jun 2016) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Coding style: added spaces. ------------------------------------------------------------------------ r10476 | vlefevre | 2016-06-17 15:17:34 +0000 (Fri, 17 Jun 2016) | 3 lines Changed paths: M /trunk/TODO [TODO] Suggest the use the keyword "static" in array indices of parameter declarations with C99 compilers (6.7.5.3p7) when the pointer is expected not to be null. ------------------------------------------------------------------------ r10468 | vlefevre | 2016-06-15 09:46:29 +0000 (Wed, 15 Jun 2016) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update (GCC trunk → GCC 5). ------------------------------------------------------------------------ r10467 | vlefevre | 2016-06-13 09:06:29 +0000 (Mon, 13 Jun 2016) | 2 lines Changed paths: M /trunk/src/sum.c [src/sum.c] Copy the significand to the destination after resolving the TMD in order to support reused arguments. ------------------------------------------------------------------------ r10466 | vlefevre | 2016-06-13 06:40:25 +0000 (Mon, 13 Jun 2016) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Improved a comment. ------------------------------------------------------------------------ r10465 | vlefevre | 2016-06-10 13:58:34 +0000 (Fri, 10 Jun 2016) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Corrected a MPFR_LOG_MSG modified in the latest change. ------------------------------------------------------------------------ r10464 | vlefevre | 2016-06-10 13:47:29 +0000 (Fri, 10 Jun 2016) | 5 lines Changed paths: M /trunk/doc/sum.txt M /trunk/src/sum.c [src/sum.c] For the future support of reused arguments: TMD resolution is now done in a specific TMD accumulator, allocated at the same time as the main accumulator. This TMD accumulator currently just takes at most 2 limbs in practice, so that's not a problem. [doc/sum.txt] Added TODO for things that will change. ------------------------------------------------------------------------ r10463 | vlefevre | 2016-06-09 14:30:32 +0000 (Thu, 09 Jun 2016) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Define mpfr_ueexp_t (needed for r10462). ------------------------------------------------------------------------ r10462 | vlefevre | 2016-06-09 14:09:11 +0000 (Thu, 09 Jun 2016) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Do not use "%zu" with printf (added in r10460). ------------------------------------------------------------------------ r10461 | vlefevre | 2016-06-09 12:41:16 +0000 (Thu, 09 Jun 2016) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Document environment variables that affect the tests. ------------------------------------------------------------------------ r10460 | vlefevre | 2016-06-09 12:15:14 +0000 (Thu, 09 Jun 2016) | 6 lines Changed paths: M /trunk/tests/memory.c M /trunk/tests/mpfr-test.h M /trunk/tests/tversion.c Other changes concerning the memory limit for the tests. * Export the tests_memory_limit variable so that it can be accessed in test programs (e.g. read by tversion as mentioned below, or modified by a test program when executed with particular arguments). * In tversion, print a warning when the memory limit has been modified (with the MPFR_TESTS_MEMORY_LIMIT environment variable). ------------------------------------------------------------------------ r10459 | vlefevre | 2016-06-09 11:51:52 +0000 (Thu, 09 Jun 2016) | 3 lines Changed paths: M /trunk/tests/memory.c [tests/memory.c] The MPFR_TESTS_MEMORY_LIMIT environment variable can now contain an integer specifying the memory limit for the tests, or 0 for unlimited, the default still being 2^22 = 4 MB. ------------------------------------------------------------------------ r10457 | vlefevre | 2016-06-08 12:28:43 +0000 (Wed, 08 Jun 2016) | 4 lines Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Improved check3: * Also do the tests with output precision MPFR_PREC_MIN; this completes the value coverage for tsum. * Also compare the flags. ------------------------------------------------------------------------ r10456 | vlefevre | 2016-06-08 12:06:57 +0000 (Wed, 08 Jun 2016) | 4 lines Changed paths: M /trunk/tests/tsum.c Value coverage for tsum: After r9984 to differentiate sq > MPFR_PREC_MIN and sq == MPFR_PREC_MIN, 42 tests were not done for sq == MPFR_PREC_MIN on a 64-bit machine. In the check4 test, changed a 2 to MPFR_PREC_MIN. This reduces to 12 tests that are not done. ------------------------------------------------------------------------ r10454 | vlefevre | 2016-06-07 17:27:04 +0000 (Tue, 07 Jun 2016) | 18 lines Changed paths: M /trunk M /trunk/src/Makefile.am M /trunk/src/add.c M /trunk/src/add1.c M /trunk/src/cmp2.c M /trunk/src/fmma.c M /trunk/src/log_ui.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/src/print_raw.c M /trunk/src/sub.c M /trunk/src/sub1.c A /trunk/src/ubf.c (from /branches/ubf/src/ubf.c:10453) M /trunk/src/vasprintf.c M /trunk/tests/tacosh.c M /trunk/tests/texp.c M /trunk/tests/tfmma.c M /trunk/tests/tpow.c M /trunk/tests/tpow_z.c M /trunk/tests/tsprintf.c M /trunk/tests/tsub1sp.c Merged the "ubf" branch into the trunk: * limited implementation of "unbounded floats" (numbers with a mpz_t exponent), which could be completed in the future, in particular to handle intermediate overflows/underflows in polynomial evaluation; * rewrote mpfr_fmma and mpfr_fmms to use them, and added tests; * restored the MPFR 3.1- exponent range for compatibility; * restored some tests that were based on this exponent range. The choice for the UBF implementation was to use a compatible structure: the same as the mpfr_t one, with an additional field at the end, used only when the exponent field _mpfr_exp has some special value. Thus some functions such as addition and subtraction just needed minor changes to support UBF, and no code was duplicated. This means that on MPFR numbers (the usual case), one has a few more tests than before, but with known branch probabilities. In practice, this should not be visible, at least in most applications. This was more or less confirmed by timings (even with many additions/subtractions in low precision, this was difficult to say, as timings were influenced by various parameters that we cannot control). ------------------------------------------------------------------------ r10452 | vlefevre | 2016-06-07 10:22:03 +0000 (Tue, 07 Jun 2016) | 1 line Changed paths: M /trunk/tools/mbench/Makefile [tools/mbench/Makefile] Added multiarch support for GMP. ------------------------------------------------------------------------ r10449 | vlefevre | 2016-06-07 07:26:52 +0000 (Tue, 07 Jun 2016) | 3 lines Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] Removed tests of native %'g and %'f (from r8292) as the ' flag is an extension from Single UNIX Specification and in particular, they fail with MinGW under Wine. ------------------------------------------------------------------------ r10447 | vlefevre | 2016-06-07 00:44:17 +0000 (Tue, 07 Jun 2016) | 1 line Changed paths: M /trunk/tests/tlgamma.c [tests/tlgamma.c] Typo in comment. ------------------------------------------------------------------------ r10446 | vlefevre | 2016-06-07 00:23:13 +0000 (Tue, 07 Jun 2016) | 1 line Changed paths: M /trunk/src/uceil_log2.c [src/uceil_log2.c] Added a comment. Cosmetic changes. ------------------------------------------------------------------------ r10445 | vlefevre | 2016-06-07 00:18:47 +0000 (Tue, 07 Jun 2016) | 1 line Changed paths: M /trunk/tests/tlgamma.c [tests/tlgamma.c] Corrected updated comment from r10444. ------------------------------------------------------------------------ r10444 | vlefevre | 2016-06-06 23:45:31 +0000 (Mon, 06 Jun 2016) | 1 line Changed paths: M /trunk/tests/tlgamma.c [tests/tlgamma.c] Updated comment of the test added in r10442. ------------------------------------------------------------------------ r10443 | vlefevre | 2016-06-06 23:43:44 +0000 (Mon, 06 Jun 2016) | 7 lines Changed paths: M /trunk/src/uceil_log2.c [src/uceil_log2.c] Correction in __gmpfr_ceil_log2, avoiding an incorrect result with tcc: x.s.exp is declared as an unsigned bit-field, so that tcc considers that x.s.exp - 1023 is unsigned. However, since all the values of x.s.exp are representable in an int, according to the integer promotion rules, x.s.exp should be converted to an int, so that the subtraction is signed. So, this appears to be a bug in tcc. ------------------------------------------------------------------------ r10442 | vlefevre | 2016-06-06 23:09:17 +0000 (Mon, 06 Jun 2016) | 3 lines Changed paths: M /trunk/tests/tlgamma.c [tests/tlgamma.c] Added a test causing a "too much memory" error with tcc 0.9.27~git20151227.933c223-1 (there's already one in special(), but this one is a simpler, standalone test). ------------------------------------------------------------------------ r10440 | vlefevre | 2016-06-06 16:19:21 +0000 (Mon, 06 Jun 2016) | 4 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] When checking if __float128 is available, we now also check whether C99 constants (in particular the __float128 ones, such as 0x1.fp+16383q) are supported since this is now required with the __float128 support. ------------------------------------------------------------------------ r10435 | vlefevre | 2016-06-06 12:15:56 +0000 (Mon, 06 Jun 2016) | 2 lines Changed paths: M /trunk/src/add1.c [src/add1.c] Simplified code: removed fb = 1 since it was already 1 in the "if (fb > 0)" branch. ------------------------------------------------------------------------ r10434 | vlefevre | 2016-06-06 10:59:02 +0000 (Mon, 06 Jun 2016) | 3 lines Changed paths: M /trunk/src/set_float128.c [src/set_float128.c] Fix: removed the divisions by zero, replacing them by comparisons with the maximum finite binary128 number. Changes to be similar to the handling of infinities in "src/set_ld.c". ------------------------------------------------------------------------ r10433 | vlefevre | 2016-06-06 10:07:47 +0000 (Mon, 06 Jun 2016) | 1 line Changed paths: M /trunk/TODO [TODO] Faithful rounding: small correction. ------------------------------------------------------------------------ r10432 | vlefevre | 2016-06-06 09:28:17 +0000 (Mon, 06 Jun 2016) | 2 lines Changed paths: M /trunk/TODO [TODO] Added "faithful rounding", with information about its definition and implementation. ------------------------------------------------------------------------ r10431 | vlefevre | 2016-06-03 15:51:24 +0000 (Fri, 03 Jun 2016) | 1 line Changed paths: M /trunk/src/fits_intmax.c M /trunk/src/fits_s.h [src/{fits_intmax.c,fits_s.h}] In comments, fit → fits. ------------------------------------------------------------------------ r10430 | vlefevre | 2016-06-03 15:30:53 +0000 (Fri, 03 Jun 2016) | 3 lines Changed paths: M /trunk/src/set_float128.c [src/set_float128.c] Added FIXME comment: The mpfr_set_float128 code generates a divide-by-zero exception. Suggest a solution. Note: this is detected with "-DMPFR_TESTS_DIVBYZERO -DMPFR_ERRDIVZERO". ------------------------------------------------------------------------ r10429 | vlefevre | 2016-06-03 15:02:05 +0000 (Fri, 03 Jun 2016) | 3 lines Changed paths: M /trunk/tests/tset_float128.c [tests/tset_float128.c] Take into account failures in division by 0 and absence of signed zeros. Also fixed the code checking the sign of 0 (mpfr_sgn cannot be used for that since it returns 0 for ±0). ------------------------------------------------------------------------ r10426 | vlefevre | 2016-06-03 14:19:33 +0000 (Fri, 03 Jun 2016) | 2 lines Changed paths: M /trunk/src/set_d.c [src/set_d.c] Added some assertions and fixed a 32-bit shift count when GMP_NUMB_BITS == 32. ------------------------------------------------------------------------ r10424 | vlefevre | 2016-06-03 13:54:29 +0000 (Fri, 03 Jun 2016) | 1 line Changed paths: M /trunk/tests/tset_float128.c [tests/tset_float128.c] C++ compatibility. ------------------------------------------------------------------------ r10423 | vlefevre | 2016-06-03 13:50:17 +0000 (Fri, 03 Jun 2016) | 1 line Changed paths: M /trunk/tests/tlog.c [tests/tlog.c] Added a cast to mpfr_rnd_t for C++ compatibility. ------------------------------------------------------------------------ r10417 | zimmerma | 2016-06-03 12:26:21 +0000 (Fri, 03 Jun 2016) | 2 lines Changed paths: M /trunk/TODO added reference for Lambert W function ------------------------------------------------------------------------ r10396 | vlefevre | 2016-06-02 14:34:35 +0000 (Thu, 02 Jun 2016) | 2 lines Changed paths: M /trunk/src/exceptions.c [src/exceptions.c] Fixed the MPFR_LOG_FUNC in mpfr_underflow and mpfr_overflow (x is not an input in these functions). ------------------------------------------------------------------------ r10395 | vlefevre | 2016-06-02 14:26:51 +0000 (Thu, 02 Jun 2016) | 4 lines Changed paths: M /trunk/src/sub1.c [src/sub1.c] In r10347, logging was introduced instead of #ifdef DEBUG and printf. Removed 2 MPFR_LOG_VAR, as the variable is not normalized yet. Re-added #ifdef DEBUG for the MPFR_LOG_MSG's since this may be too low level and not much useful except in case of bugs. ------------------------------------------------------------------------ r10390 | zimmerma | 2016-05-30 14:06:51 +0000 (Mon, 30 May 2016) | 2 lines Changed paths: M /trunk/src/sub1.c fixed typos ------------------------------------------------------------------------ r10386 | vlefevre | 2016-05-30 07:53:27 +0000 (Mon, 30 May 2016) | 2 lines Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] Added comments for check_max_almosteven (latest test case, added in r10383). ------------------------------------------------------------------------ r10383 | vlefevre | 2016-05-29 18:40:42 +0000 (Sun, 29 May 2016) | 10 lines Changed paths: M /trunk/src/sub1.c M /trunk/tests/tsub.c [src/sub1.c] Fixed bug in mpfr_sub1 (real subtraction a = b - c, with |b| > |c|): In MPFR_RNDN (round-to-nearest mode), when * |b| is the midpoint between the maximum finite number in the precision of a and 2^emax (the maximum finite number + 1 ulp), which is possible only if PREC(b) > PREC(a), * c is small enough (i.e. no overlap with a and b), mpfr_sub1 returns an infinity (with overflow flag set) instead of ± the maximum number (no overflow). The cause is that an overflow is generated too early, in an intermediate rounding. [tests/tsub.c] Added test cases. ------------------------------------------------------------------------ r10378 | vlefevre | 2016-05-25 20:16:08 +0000 (Wed, 25 May 2016) | 1 line Changed paths: M /trunk/src/log_ui.c [src/log_ui.c] Changes for ISO C90 compatibility. ------------------------------------------------------------------------ r10377 | vlefevre | 2016-05-25 20:13:30 +0000 (Wed, 25 May 2016) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] For _MPFR_IEEE_FLOATS, changed bit-field type from unsigned long, which is implementation-defined, to unsigned int. ------------------------------------------------------------------------ r10376 | vlefevre | 2016-05-25 19:46:12 +0000 (Wed, 25 May 2016) | 1 line Changed paths: M /trunk/src/log_ui.c [src/log_ui.c] Added an assertion. ------------------------------------------------------------------------ r10375 | vlefevre | 2016-05-25 19:44:17 +0000 (Wed, 25 May 2016) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Fixed bug introduced in r10327, giving: error: ISO C does not allow extra ';' outside of a function [-Wpedantic] ------------------------------------------------------------------------ r10374 | zimmerma | 2016-05-25 18:39:24 +0000 (Wed, 25 May 2016) | 2 lines Changed paths: M /trunk/src/log_ui.c improved mpfr_log_ui ------------------------------------------------------------------------ r10373 | zimmerma | 2016-05-25 17:26:55 +0000 (Wed, 25 May 2016) | 2 lines Changed paths: M /trunk/tests/memory.c added comment ------------------------------------------------------------------------ r10372 | vlefevre | 2016-05-25 11:46:34 +0000 (Wed, 25 May 2016) | 2 lines Changed paths: M /trunk/TODO [TODO] mpfr_ai efficiency: also mention mpfr.texi (the issue with large arguments has always been documented). ------------------------------------------------------------------------ r10371 | vlefevre | 2016-05-25 11:42:32 +0000 (Wed, 25 May 2016) | 2 lines Changed paths: M /trunk/TODO [TODO] mpfr_ai efficiency: mention tests/tai.c (the REDUCE_EMAX was added in r6734). ------------------------------------------------------------------------ r10370 | zimmerma | 2016-05-25 09:59:51 +0000 (Wed, 25 May 2016) | 2 lines Changed paths: M /trunk/TODO added item about efficiency of mpfr_ai for large arguments ------------------------------------------------------------------------ r10369 | vlefevre | 2016-05-25 07:57:59 +0000 (Wed, 25 May 2016) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Also clarified the use of "configure". ------------------------------------------------------------------------ r10368 | vlefevre | 2016-05-25 07:55:48 +0000 (Wed, 25 May 2016) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Clarified the use of "autogen.sh". ------------------------------------------------------------------------ r10367 | zimmerma | 2016-05-25 07:32:01 +0000 (Wed, 25 May 2016) | 2 lines Changed paths: M /trunk/tools/nightly-test use autogen.sh ------------------------------------------------------------------------ r10366 | zimmerma | 2016-05-25 07:03:11 +0000 (Wed, 25 May 2016) | 2 lines Changed paths: M /trunk/tools/nightly-test added libtoolize (needed for AX_PTHREAD) ------------------------------------------------------------------------ r10365 | vlefevre | 2016-05-24 23:44:24 +0000 (Tue, 24 May 2016) | 1 line Changed paths: M /trunk/tests/tlog_ui.c [tests/tlog_ui.c] Improved a test function. ------------------------------------------------------------------------ r10364 | vlefevre | 2016-05-24 23:01:42 +0000 (Tue, 24 May 2016) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Fixed the use of m4_pattern_forbid: the argument must be quoted, otherwise the macro is expanded when defined. ------------------------------------------------------------------------ r10363 | zimmerma | 2016-05-24 21:37:31 +0000 (Tue, 24 May 2016) | 2 lines Changed paths: M /trunk/src/log_ui.c small improvements to log_ui (still slower than log for large precision) ------------------------------------------------------------------------ r10362 | vlefevre | 2016-05-24 20:47:59 +0000 (Tue, 24 May 2016) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Detect whether the AX_PTHREAD macro is left unexpanded. ------------------------------------------------------------------------ r10361 | zimmerma | 2016-05-24 19:27:42 +0000 (Tue, 24 May 2016) | 2 lines Changed paths: M /trunk/tests/tconst_log2.c use rounding to nearest by default in "tconst_log2 prec" ------------------------------------------------------------------------ r10360 | zimmerma | 2016-05-24 19:02:07 +0000 (Tue, 24 May 2016) | 2 lines Changed paths: M /trunk/tests/tlog.c minor changes to allow ./tlog xxx prec ------------------------------------------------------------------------ r10359 | zimmerma | 2016-05-24 18:46:35 +0000 (Tue, 24 May 2016) | 2 lines Changed paths: M /trunk/tests/tgeneric.c M /trunk/tests/tlog_ui.c added generic tests for mpfr_log_ui + compare with mpfr_log ------------------------------------------------------------------------ r10356 | vlefevre | 2016-05-24 15:48:56 +0000 (Tue, 24 May 2016) | 4 lines Changed paths: M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/src/random_deviate.h M /trunk/tests/mpfr-test.h Removed _MPFR_PROTO with the following Perl script on the .h files. while (<>) { if ($c) { die if /_MPFR_PROTO/; s/^( {$c}) */$1/; s/\) *\)/)/ and undef $c } elsif (s/^(.*)(_MPFR_PROTO *\()\(/$1(/) { s/\) *\)/)/ or $c = 1 + length $1 } print } ------------------------------------------------------------------------ r10355 | vlefevre | 2016-05-24 15:26:21 +0000 (Tue, 24 May 2016) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Re-added AM_PROG_AR in case Microsoft lib.exe is used (without this, "automake --warnings=all" gives a warning). ------------------------------------------------------------------------ r10354 | vlefevre | 2016-05-24 15:13:15 +0000 (Tue, 24 May 2016) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Replaced the obsolete ACX_PTHREAD by AX_PTHREAD (done with "autoupdate acinclude.m4"). ------------------------------------------------------------------------ r10353 | vlefevre | 2016-05-24 15:03:30 +0000 (Tue, 24 May 2016) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] Moved LT_INIT near the top for --enable-lto, and removed AM_PROG_AR (no longer needed as done by LT_INIT) and AC_PROG_RANLIB (obsoleted by LT_INIT). ------------------------------------------------------------------------ r10352 | vlefevre | 2016-05-24 14:41:52 +0000 (Tue, 24 May 2016) | 1 line Changed paths: M /trunk/src/ieee_floats.h M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h Avoid some warnings with "gcc -Wundef". ------------------------------------------------------------------------ r10351 | vlefevre | 2016-05-24 14:27:06 +0000 (Tue, 24 May 2016) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Removed a FIXME fixed in r4482. ------------------------------------------------------------------------ r10349 | vlefevre | 2016-05-24 13:58:57 +0000 (Tue, 24 May 2016) | 1 line Changed paths: M /trunk/src/mpfr-longlong.h [src/mpfr-longlong.h] Update from GMP 6.1.0. ------------------------------------------------------------------------ r10348 | vlefevre | 2016-05-24 12:55:15 +0000 (Tue, 24 May 2016) | 1 line Changed paths: M /trunk/src/mpfr-cvers.h [src/mpfr-cvers.h] Fixed typo in a macro (thanks to Patrick Pélissier). ------------------------------------------------------------------------ r10347 | vlefevre | 2016-05-24 12:47:22 +0000 (Tue, 24 May 2016) | 4 lines Changed paths: M /trunk/src/sub1.c [src/sub1.c] Various minor improvements: * Some changes related to the exponents and diff_exp. * Coding style + use of IS_POW2. * Use logging instead of #ifdef DEBUG and printf. ------------------------------------------------------------------------ r10346 | zimmerma | 2016-05-24 12:26:13 +0000 (Tue, 24 May 2016) | 2 lines Changed paths: M /trunk/doc/README.dev M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/cmp2.c M /trunk/src/mpfr-impl.h M /trunk/src/mul.c M /trunk/src/mul_2ui.c M /trunk/src/mul_ui.c M /trunk/src/rint.c M /trunk/src/round_raw_generic.c M /trunk/src/set.c M /trunk/src/set_prec.c M /trunk/src/sub1.c M /trunk/src/sub1sp.c removed too aggressive MPFR_LIKELY/MPFR_UNLIKELY (see README.dev) ------------------------------------------------------------------------ r10345 | vlefevre | 2016-05-24 10:47:12 +0000 (Tue, 24 May 2016) | 1 line Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac Added optional LTO support (from a patch by Patrick Pélissier). ------------------------------------------------------------------------ r10344 | vlefevre | 2016-05-24 10:27:33 +0000 (Tue, 24 May 2016) | 3 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/free_cache.c Corrected mpfr_free_cache behavior when WANT_SHARED_CACHE is defined to make it consistent with the behavior when WANT_SHARED_CACHE is not defined (patch by Patrick Pélissier). ------------------------------------------------------------------------ r10342 | vlefevre | 2016-05-24 10:00:00 +0000 (Tue, 24 May 2016) | 2 lines Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Correction on r10338: use src_fopen instead of fopen and check fp (just like with FILE_NAME_R). ------------------------------------------------------------------------ r10339 | zimmerma | 2016-05-24 09:19:44 +0000 (Tue, 24 May 2016) | 2 lines Changed paths: M /trunk/tests/Makefile.am A /trunk/tests/mpfrtest2.dat added new (read-only) test file for mpfr_fpif_import ------------------------------------------------------------------------ r10338 | zimmerma | 2016-05-24 09:18:36 +0000 (Tue, 24 May 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/tests/tfpif.c added tests for mpfr_fpif_import with precision > MPFR_PREC_MAX ------------------------------------------------------------------------ r10336 | vlefevre | 2016-05-24 08:19:17 +0000 (Tue, 24 May 2016) | 1 line Changed paths: M /trunk/NEWS Updated NEWS about shared caches. ------------------------------------------------------------------------ r10335 | vlefevre | 2016-05-24 08:17:02 +0000 (Tue, 24 May 2016) | 1 line Changed paths: M /trunk/INSTALL M /trunk/NEWS M /trunk/VERSION M /trunk/configure.ac M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am M /trunk/src/mpfr.h M /trunk/src/version.c MPFR 3.2(.x) → 4.0(.x) ------------------------------------------------------------------------ r10334 | vlefevre | 2016-05-24 00:31:26 +0000 (Tue, 24 May 2016) | 2 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi [NEWS] New function mpfr_buildopt_sharedcache_p in MPFR 3.2. [doc/mpfr.texi] New function mpfr_buildopt_sharedcache_p. Minor changes. ------------------------------------------------------------------------ r10333 | vlefevre | 2016-05-23 23:52:58 +0000 (Mon, 23 May 2016) | 4 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] About the MPFR_DECL_INIT_CACHE macro: * Added a FIXME comment about a possible warning due to a missing field initializer; suggest 2 possible solutions. * Improved code readability. ------------------------------------------------------------------------ r10332 | vlefevre | 2016-05-23 22:41:26 +0000 (Mon, 23 May 2016) | 1 line Changed paths: M /trunk/src/free_cache.c [src/free_cache.c] Avoid duplicated source code for maintainability. ------------------------------------------------------------------------ r10331 | vlefevre | 2016-05-23 22:27:29 +0000 (Mon, 23 May 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Corrections about caches. ------------------------------------------------------------------------ r10330 | vlefevre | 2016-05-23 22:13:44 +0000 (Mon, 23 May 2016) | 2 lines Changed paths: M /trunk/src/mpfr-thread.h [src/mpfr-thread.h] For #error, use a string literal as a single preprocessing-token. ------------------------------------------------------------------------ r10329 | vlefevre | 2016-05-23 22:06:24 +0000 (Mon, 23 May 2016) | 1 line Changed paths: M /trunk/src/mpfr-thread.h [src/mpfr-thread.h] Coding style. ------------------------------------------------------------------------ r10328 | vlefevre | 2016-05-23 22:02:48 +0000 (Mon, 23 May 2016) | 1 line Changed paths: M /trunk/src/cache.c M /trunk/src/free_cache.c M /trunk/tests/tconst_pi.c Minor comment & coding style corrections on r10327. ------------------------------------------------------------------------ r10327 | vlefevre | 2016-05-23 16:12:32 +0000 (Mon, 23 May 2016) | 1 line Changed paths: M /trunk/TODO M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/doc/README.dev M /trunk/doc/mpfr.texi M /trunk/src/buildopt.c M /trunk/src/cache.c M /trunk/src/free_cache.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-thread.h M /trunk/src/mpfr.h M /trunk/tests/memory.c M /trunk/tests/tconst_pi.c M /trunk/tests/tests.c Added shared cache support (from a patch by Patrick Pélissier). ------------------------------------------------------------------------ r10326 | zimmerma | 2016-05-23 15:55:42 +0000 (Mon, 23 May 2016) | 2 lines Changed paths: M /trunk/tests/tfpif.c added tests for mpfr_fpif in precision 1 ------------------------------------------------------------------------ r10321 | vlefevre | 2016-05-23 14:17:58 +0000 (Mon, 23 May 2016) | 1 line Changed paths: M /trunk/src/gmp_op.c M /trunk/src/pow_z.c M /trunk/src/set_f.c M /trunk/src/set_q.c M /trunk/src/set_z_exp.c ABS(SIZ(x)) → ABSIZ(x) ------------------------------------------------------------------------ r10319 | zimmerma | 2016-05-23 13:08:04 +0000 (Mon, 23 May 2016) | 3 lines Changed paths: M /trunk/src/mpfr-impl.h redefine mpfr_init_set_xxx with mpz_t pool, otherwise the pool is not used for those calls ------------------------------------------------------------------------ r10313 | zimmerma | 2016-05-23 09:59:58 +0000 (Mon, 23 May 2016) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h added comment about MPFR_MY_MPZ_INIT ------------------------------------------------------------------------ r10312 | vlefevre | 2016-05-23 09:54:47 +0000 (Mon, 23 May 2016) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Replaced a comment by a MPFR_ASSERTD. ------------------------------------------------------------------------ r10311 | vlefevre | 2016-05-23 09:46:33 +0000 (Mon, 23 May 2016) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Code simplification. ------------------------------------------------------------------------ r10310 | vlefevre | 2016-05-23 09:36:14 +0000 (Mon, 23 May 2016) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Replaced a comment by a MPFR_ASSERTD. ------------------------------------------------------------------------ r10309 | vlefevre | 2016-05-23 08:28:07 +0000 (Mon, 23 May 2016) | 5 lines Changed paths: M /trunk/src/print_raw.c [src/print_raw.c] Changes for mpfr_print_binary / mpfr_dump: * Support out-of-range exponents as this function is mainly for debugging purpose (TODO: add some warning for such exponents). See: https://sympa.inria.fr/sympa/arc/mpfr/2016-01/msg00061.html * Support _MPFR_EXP_FORMAT == 4 (format used for testing). ------------------------------------------------------------------------ r10308 | vlefevre | 2016-05-22 22:27:26 +0000 (Sun, 22 May 2016) | 3 lines Changed paths: M /trunk/AUTHORS M /trunk/BUGS M /trunk/COPYING M /trunk/COPYING.LESSER M /trunk/ChangeLog M /trunk/INSTALL M /trunk/Makefile.am M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/VERSION M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/doc/FAQ.html M /trunk/doc/README.dev M /trunk/doc/algorithms.bib M /trunk/doc/algorithms.tex M /trunk/doc/faq.xsl M /trunk/doc/fdl.texi M /trunk/doc/mpfr.texi M /trunk/doc/update-faq M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.c M /trunk/examples/version.c M /trunk/other/cputime.h M /trunk/other/div-short.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/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c 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/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/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/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/gammaonethird.c M /trunk/src/gen_inverse.h M /trunk/src/get_d.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_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/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/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/logging.c M /trunk/src/min_prec.c M /trunk/src/minmax.c 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-longlong.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_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/neg.c M /trunk/src/next.c M /trunk/src/out_str.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/print_raw.c M /trunk/src/print_rnd_mode.c M /trunk/src/printf.c M /trunk/src/rec_sqrt.c M /trunk/src/reldiff.c M /trunk/src/rem1.c M /trunk/src/rint.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_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_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/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/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/yn.c M /trunk/src/zeta.c M /trunk/src/zeta_ui.c M /trunk/tests/Makefile.am M /trunk/tests/RRTest.c M /trunk/tests/cmp_str.c M /trunk/tests/inp_str.dat 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/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.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.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/teint.c M /trunk/tests/teq.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/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.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_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/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/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/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/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.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_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/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/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/check_inits_clears M /trunk/tools/coverage M /trunk/tools/mbench/generate.c 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/update-version M /trunk/tune/speed.c M /trunk/tune/tuneup.c Removed svn:keywords properties: they are not used, we do not plan to use them (such a feature does not exist in other VCS), and they may break things if used by mistake. ------------------------------------------------------------------------ r10307 | vlefevre | 2016-05-22 22:06:00 +0000 (Sun, 22 May 2016) | 1 line Changed paths: M /trunk/tests/tfmma.c [tests/tfmma.c] Corrections and improvements in random_test. ------------------------------------------------------------------------ r10306 | vlefevre | 2016-05-22 21:55:56 +0000 (Sun, 22 May 2016) | 1 line Changed paths: M /trunk/tests/tfmma.c [tests/tfmma.c] Replaced mpfr_cmp by the stronger mpfr_equal_p. ------------------------------------------------------------------------ r10303 | vlefevre | 2016-05-22 09:58:51 +0000 (Sun, 22 May 2016) | 3 lines Changed paths: M /trunk/tests/tadd_ui.c M /trunk/tests/tsub_ui.c [tests] * tadd_ui.c: clean-up (a boolean test doesn't need "!= 0"). * tsub_ui.c: check that the NaN flag is set on NaN. ------------------------------------------------------------------------ r10302 | vlefevre | 2016-05-22 09:31:34 +0000 (Sun, 22 May 2016) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added IS_SIGNED macro to check whether an integer type (after integer promotion) is signed; and use it for MPFR_EXP_IN_RANGE. ------------------------------------------------------------------------ r10301 | vlefevre | 2016-05-20 14:26:39 +0000 (Fri, 20 May 2016) | 2 lines Changed paths: M /trunk/src/ui_sub.c [src/ui_sub.c] Improved code style and assertions, making mpfr_ui_sub more like mpfr_add_ui and mpfr_sub_ui. Added comments. ------------------------------------------------------------------------ r10300 | vlefevre | 2016-05-20 14:17:57 +0000 (Fri, 20 May 2016) | 2 lines Changed paths: M /trunk/src/add_ui.c M /trunk/src/sub_ui.c Partly rewrote mpfr_add_ui and mpfr_sub_ui (more similar to the mpfr_ui_sub code), solving the failures. ------------------------------------------------------------------------ r10299 | vlefevre | 2016-05-20 11:43:07 +0000 (Fri, 20 May 2016) | 3 lines Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Check NaN argument, mainly in order to check the NaN flag when the result is NaN (almost all cases). This makes both tadd_ui (ignoring the new test done in r10298) and tsub_ui fail. ------------------------------------------------------------------------ r10298 | zimmerma | 2016-05-19 15:52:25 +0000 (Thu, 19 May 2016) | 2 lines Changed paths: M /trunk/tests/tadd_ui.c added test case for bug reported by Rob (sisyphus1@optusnet.com.au) ------------------------------------------------------------------------ r10297 | vlefevre | 2016-05-19 14:34:44 +0000 (Thu, 19 May 2016) | 1 line Changed paths: M /trunk/src/fmma.c [src/fmma.c] Added FIXME comments. ------------------------------------------------------------------------ r10296 | vlefevre | 2016-05-18 15:31:02 +0000 (Wed, 18 May 2016) | 1 line Changed paths: M /trunk/src/check.c M /trunk/src/fpif.c M /trunk/src/mpfr-impl.h M /trunk/src/urandomb.c Added MPFR_EXP_IN_RANGE macro, and replaced some tests to use it. ------------------------------------------------------------------------ r10295 | vlefevre | 2016-05-18 15:26:17 +0000 (Wed, 18 May 2016) | 1 line Changed paths: M /trunk/src/fma.c [src/fma.c] Minor code simplification. ------------------------------------------------------------------------ r10294 | vlefevre | 2016-05-17 23:34:48 +0000 (Tue, 17 May 2016) | 4 lines Changed paths: M /trunk/src/exp.c M /trunk/src/get_str.c M /trunk/src/mpfr-impl.h M /trunk/src/pow.c Improved code related to mpfr_set_exp_t: * Define MPFR_EXP_LIMB_SIZE macro (size of mpfr_exp_t in limbs) and use it. * src/pow.c: replaced a mpfr_init2 by MPFR_TMP_INIT1. ------------------------------------------------------------------------ r10293 | zimmerma | 2016-05-17 09:40:21 +0000 (Tue, 17 May 2016) | 2 lines Changed paths: M /trunk/tests/tget_set_d64.c added comment about printing decimal floats ------------------------------------------------------------------------ r10292 | vlefevre | 2016-05-13 15:24:50 +0000 (Fri, 13 May 2016) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Minor improvements. ------------------------------------------------------------------------ r10291 | vlefevre | 2016-05-12 00:29:43 +0000 (Thu, 12 May 2016) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Added a comment about GMP CC/CFLAGS detection. ------------------------------------------------------------------------ r10290 | vlefevre | 2016-05-12 00:16:35 +0000 (Thu, 12 May 2016) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Better GMP CC/CFLAGS detection (based on a patch by Patrick Pélissier). ------------------------------------------------------------------------ r10289 | zimmerma | 2016-05-11 14:38:59 +0000 (Wed, 11 May 2016) | 2 lines Changed paths: M /trunk/configure.ac add -P option to cpp when detecting CC/CFLAGS in gmp.h (workaround for gcc-5) ------------------------------------------------------------------------ r10288 | vlefevre | 2016-05-04 15:54:30 +0000 (Wed, 04 May 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r10286 | vlefevre | 2016-05-04 14:14:23 +0000 (Wed, 04 May 2016) | 3 lines Changed paths: M /trunk/Makefile.am M /trunk/doc/Makefile.am [doc/Makefile.am] Reverted the change done in r10283 as the mpfr.info file was always rebuilt. [Makefile.am] Execute check-typography from dist-hook instead. ------------------------------------------------------------------------ r10285 | vlefevre | 2016-05-04 14:01:31 +0000 (Wed, 04 May 2016) | 3 lines Changed paths: M /trunk/Makefile.am M /trunk/doc/check-typography [Makefile.am] Add doc/check-typography to the tarball as it is needed to rebuild the mpfr.info file if the mpfr.texi file is modified. [doc/check-typography] Added copyright notice and explanations. ------------------------------------------------------------------------ r10284 | vlefevre | 2016-05-04 13:44:59 +0000 (Wed, 04 May 2016) | 1 line Changed paths: M /trunk/doc/check-typography [doc/check-typography] Removed useless parentheses. ------------------------------------------------------------------------ r10283 | vlefevre | 2016-05-04 13:41:11 +0000 (Wed, 04 May 2016) | 10 lines Changed paths: M /trunk/doc/Makefile.am A /trunk/doc/check-typography M /trunk/doc/mpfr.texi M /trunk/tools/mpfrlint Detect typography ambiguities in doc/mpfr.texi ASAP: to avoid errors due to implicit rules, it is better to explicitly make clear whether a punctuation mark ends or does not end a sentence. * Added doc/check-typography sh script to detect such typography ambiguities. * doc/Makefile.am: automatically execute this script before mpfr.info is rebuilt; fail with explanations in case there are ambiguities. * doc/mpfr.texi: avoid typography ambiguities. * tools/mpfrlint: replaced the old typography check by a call to the check-typography script (which does more checks). ------------------------------------------------------------------------ r10282 | vlefevre | 2016-05-04 11:20:28 +0000 (Wed, 04 May 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Typographic correction on the latest addition. ------------------------------------------------------------------------ r10281 | vlefevre | 2016-05-04 11:17:11 +0000 (Wed, 04 May 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] The MPFR_ and mpfr_ prefixes are reserved for MPFR. ------------------------------------------------------------------------ r10278 | vlefevre | 2016-04-25 13:11:11 +0000 (Mon, 25 Apr 2016) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Clean-up. ------------------------------------------------------------------------ r10276 | vlefevre | 2016-04-21 12:36:10 +0000 (Thu, 21 Apr 2016) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] Improved the GMP CC/CFLAGS detection: the test for $cpp was not checking whether gmp.h could actually be included, so that the code was outputting "yes" even when gmp.h was not installed. ------------------------------------------------------------------------ r10273 | vlefevre | 2016-04-21 09:23:27 +0000 (Thu, 21 Apr 2016) | 1 line Changed paths: M /trunk/NEWS [NEWS] Added: Limited pkg-config support. ------------------------------------------------------------------------ r10272 | vlefevre | 2016-04-21 08:37:29 +0000 (Thu, 21 Apr 2016) | 1 line Changed paths: M /trunk M /trunk/Makefile.am M /trunk/README M /trunk/configure.ac M /trunk/doc/mpfr.texi A /trunk/mpfr.pc.in Added pkg-config support (patch from Kip Warner + some changes). ------------------------------------------------------------------------ r10271 | zimmerma | 2016-04-20 11:48:14 +0000 (Wed, 20 Apr 2016) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h typo ------------------------------------------------------------------------ r10270 | vlefevre | 2016-04-20 11:47:20 +0000 (Wed, 20 Apr 2016) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Improved warning message for the "long double" test. ------------------------------------------------------------------------ r10269 | vlefevre | 2016-04-20 11:44:45 +0000 (Wed, 20 Apr 2016) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] "double format" test: changed the AC_MSG_ERROR (when not recognized) to AC_MSG_WARN (like with long double). ------------------------------------------------------------------------ r10268 | vlefevre | 2016-04-20 11:39:31 +0000 (Wed, 20 Apr 2016) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] No longer include <stdint.h> in the "double format" test (it is unnecessary and doesn't exist everywhere). ------------------------------------------------------------------------ r10267 | vlefevre | 2016-04-20 11:35:26 +0000 (Wed, 20 Apr 2016) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Typo. ------------------------------------------------------------------------ r10263 | vlefevre | 2016-04-13 19:37:36 +0000 (Wed, 13 Apr 2016) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Updated a comment about Cygwin and Unix. ------------------------------------------------------------------------ r10262 | vlefevre | 2016-04-09 11:20:32 +0000 (Sat, 09 Apr 2016) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Fixed bug triggered when the command for err-if-output has empty arguments (this does not occur yet). ------------------------------------------------------------------------ r10261 | vlefevre | 2016-04-08 23:39:28 +0000 (Fri, 08 Apr 2016) | 3 lines Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Output the status of the __GMP_LIBGMP_DLL and MPFR_WIN_THREAD_SAFE_DLL macros (since unreliable consistency checks have been removed in r10260). ------------------------------------------------------------------------ r10260 | vlefevre | 2016-04-08 23:17:07 +0000 (Fri, 08 Apr 2016) | 8 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Removed the detection of possible inconsistencies under Unix because the tests could yield spurious errors with Cygwin32 or other similar implementations. Moreover, such tests were used for debugging purpose or to detect potential problems in the environment, thus were not really useful for the end user. They were initially added in the win-thread-safe-dll branch (r9682, following a problem found in r9680). One alternative for checking by the MPFR developers would be to output the status of some internal macros in tversion. ------------------------------------------------------------------------ r10259 | vlefevre | 2016-04-08 16:02:39 +0000 (Fri, 08 Apr 2016) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Use err-if-output also for external checkers. ------------------------------------------------------------------------ r10258 | vlefevre | 2016-04-08 15:56:20 +0000 (Fri, 08 Apr 2016) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Better choice of a variable name. ------------------------------------------------------------------------ r10257 | zimmerma | 2016-04-08 15:55:03 +0000 (Fri, 08 Apr 2016) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h revert changeset 10255 ------------------------------------------------------------------------ r10256 | vlefevre | 2016-04-08 15:28:59 +0000 (Fri, 08 Apr 2016) | 4 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] * Switched to zsh. * Much more meaningful error messages. * Fix: in the mpfr.texi punctuation test, ignore the comments. ------------------------------------------------------------------------ r10255 | zimmerma | 2016-04-08 14:10:47 +0000 (Fri, 08 Apr 2016) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h patch for Cygwin (cf http://trac.sagemath.org/ticket/20380) ------------------------------------------------------------------------ r10254 | vlefevre | 2016-04-08 07:58:49 +0000 (Fri, 08 Apr 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r10253 | vlefevre | 2016-04-07 15:10:30 +0000 (Thu, 07 Apr 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/dump.c [doc/mpfr.texi] Document mpfr_dump (which has always been there). [src/dump.c] Added a comment (with TODO). ------------------------------------------------------------------------ r10252 | vlefevre | 2016-04-07 13:59:37 +0000 (Thu, 07 Apr 2016) | 2 lines Changed paths: M /trunk/src/sub1.c M /trunk/tests/reuse.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tasin.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.c M /trunk/tests/tcmp2.c M /trunk/tests/tcos.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teq.c M /trunk/tests/terf.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/tfactorial.c M /trunk/tests/tgamma.c M /trunk/tests/tgmpop.c M /trunk/tests/tlgamma.c M /trunk/tests/tlngamma.c M /trunk/tests/tmul_ui.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/trandom.c M /trunk/tests/tset_d.c M /trunk/tests/tset_str.c M /trunk/tests/tsqrt.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_ui.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_pow.c M /trunk/tests/turandom.c M /trunk/tests/tzeta.c Replaced various instances of mpfr_print_binary + newline (sometimes missing) by mpfr_dump. ------------------------------------------------------------------------ r10251 | vlefevre | 2016-04-07 13:43:13 +0000 (Thu, 07 Apr 2016) | 1 line Changed paths: M /trunk/tests/tgmpop.c M /trunk/tests/tset_q.c [tests] Fixed typo in error messages. ------------------------------------------------------------------------ r10249 | vlefevre | 2016-04-01 13:44:10 +0000 (Fri, 01 Apr 2016) | 1 line Changed paths: M /trunk/TODO [TODO] Mention ISO/IEC JTC 1/SC 22/WG 21 N3060 (C++ special functions). ------------------------------------------------------------------------ r10247 | vlefevre | 2016-03-29 01:37:38 +0000 (Tue, 29 Mar 2016) | 9 lines Changed paths: M /trunk/INSTALL [INSTALL] Removed incorrect note about NetBSD/alpha: The configure script distributed with the MPFR 3.1.4 tarball does not contain anything related to the -mieee GCC option; this just seems to be a particular pkgsrc issue for NetBSD: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/mk/platform/NetBSD.mk?rev=1.48&content-type=text/x-cvsweb-markup https://www.google.fr/search?q=pkgsrc+%22mieee%22 where -mieee is added. The -mieee-with-inexact option added in the MPFR 3.1 branch might yield the same error with the buggy GCC versions, but this is now obsolete in the trunk (the code was removed in r10152). ------------------------------------------------------------------------ r10246 | zimmerma | 2016-03-25 09:09:41 +0000 (Fri, 25 Mar 2016) | 2 lines Changed paths: M /trunk/INSTALL added note about NetBSD/alpha ------------------------------------------------------------------------ r10245 | vlefevre | 2016-03-16 15:22:31 +0000 (Wed, 16 Mar 2016) | 2 lines Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Added a summary of the timings, copied from: ^/misc/sum-timings/results/ReadMe@10244 ------------------------------------------------------------------------ r10235 | vlefevre | 2016-03-15 12:28:46 +0000 (Tue, 15 Mar 2016) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Updated comment of bug20160315 after fix in 3.1 branch. ------------------------------------------------------------------------ r10233 | vlefevre | 2016-03-15 11:58:47 +0000 (Tue, 15 Mar 2016) | 2 lines Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Added bug20160315 (this bug appears when porting sum.c for MPFR 3.1.4 but does not appear in the trunk). ------------------------------------------------------------------------ r10232 | vlefevre | 2016-03-14 16:11:12 +0000 (Mon, 14 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Some clarification in the TMD case. ------------------------------------------------------------------------ r10231 | vlefevre | 2016-03-14 13:59:53 +0000 (Mon, 14 Mar 2016) | 2 lines Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Added a proof that the choice for the size ts of the temporary area is sufficient. ------------------------------------------------------------------------ r10230 | vlefevre | 2016-03-14 01:48:55 +0000 (Mon, 14 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Replaced e by ε for the error (e is already used). ------------------------------------------------------------------------ r10229 | vlefevre | 2016-03-14 01:24:52 +0000 (Mon, 14 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Update about t' in the error analysis. ------------------------------------------------------------------------ r10228 | vlefevre | 2016-03-14 00:43:03 +0000 (Mon, 14 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] More about the notion of exponent in two's complement. ------------------------------------------------------------------------ r10227 | vlefevre | 2016-03-13 23:59:54 +0000 (Sun, 13 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Update about sum_raw (with a correction of a typo). ------------------------------------------------------------------------ r10226 | vlefevre | 2016-03-10 17:05:09 +0000 (Thu, 10 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Rewrote paragraph about limitations. ------------------------------------------------------------------------ r10225 | vlefevre | 2016-03-10 16:33:10 +0000 (Thu, 10 Mar 2016) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Corrected comment: 32/64-bit machine → 32/64-bit ABI. ------------------------------------------------------------------------ r10224 | vlefevre | 2016-03-10 16:20:29 +0000 (Thu, 10 Mar 2016) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Use UPDATE_MINEXP when necessary; added comments. ------------------------------------------------------------------------ r10223 | vlefevre | 2016-03-10 16:09:38 +0000 (Thu, 10 Mar 2016) | 2 lines Changed paths: M /trunk/src/sum.c [src/sum.c] Added a comment about corner cases involving huge precisions, which should never occur in practice. ------------------------------------------------------------------------ r10222 | vlefevre | 2016-03-10 15:10:51 +0000 (Thu, 10 Mar 2016) | 5 lines Changed paths: M /trunk/src/sum.c [src/sum.c] * Added some MPFR_ASSERTD that correspond to properties used in the proof corrected in doc/sum.txt r10221. * Added a test for corner cases that will/can probably never occur in practice. ------------------------------------------------------------------------ r10221 | vlefevre | 2016-03-10 15:05:04 +0000 (Thu, 10 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Improved explanations and corrected a proof. ------------------------------------------------------------------------ r10220 | vlefevre | 2016-03-10 12:47:09 +0000 (Thu, 10 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Added a figure. ------------------------------------------------------------------------ r10219 | vlefevre | 2016-03-10 10:37:18 +0000 (Thu, 10 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Clarifications. ------------------------------------------------------------------------ r10218 | vlefevre | 2016-03-09 16:21:44 +0000 (Wed, 09 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] GMP → the current version of GMP (6.1.0). ------------------------------------------------------------------------ r10217 | vlefevre | 2016-03-09 15:48:16 +0000 (Wed, 09 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Another clarification. ------------------------------------------------------------------------ r10216 | vlefevre | 2016-03-09 15:44:38 +0000 (Wed, 09 Mar 2016) | 2 lines Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Clarification about a reiteration in sum_raw with explanation closer to the code. ------------------------------------------------------------------------ r10215 | vlefevre | 2016-03-09 15:07:02 +0000 (Wed, 09 Mar 2016) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Clarification of comments about "sum.txt". ------------------------------------------------------------------------ r10214 | vlefevre | 2016-03-09 14:59:16 +0000 (Wed, 09 Mar 2016) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Added comments and an MPFR_ASSERTD for sum_raw(). ------------------------------------------------------------------------ r10213 | vlefevre | 2016-03-09 14:37:33 +0000 (Wed, 09 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Clarification. ------------------------------------------------------------------------ r10212 | vlefevre | 2016-03-09 13:34:09 +0000 (Wed, 09 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Update (mainly related to two's complement). ------------------------------------------------------------------------ r10211 | vlefevre | 2016-03-09 09:17:27 +0000 (Wed, 09 Mar 2016) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] More information about MinGW and __USE_MINGW_ANSI_STDIO. ------------------------------------------------------------------------ r10210 | vlefevre | 2016-03-08 15:57:43 +0000 (Tue, 08 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Corrected 2 typos found by PZ. ------------------------------------------------------------------------ r10209 | vlefevre | 2016-03-08 14:50:02 +0000 (Tue, 08 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Added commas. ------------------------------------------------------------------------ r10208 | vlefevre | 2016-03-08 14:45:41 +0000 (Tue, 08 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Added info about an exact zero result and IEEE 754 / 1788. ------------------------------------------------------------------------ r10207 | vlefevre | 2016-03-08 09:55:59 +0000 (Tue, 08 Mar 2016) | 2 lines Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] A bit more about the choice of two's complement for the accumulator. ------------------------------------------------------------------------ r10206 | vlefevre | 2016-03-08 09:22:27 +0000 (Tue, 08 Mar 2016) | 2 lines Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Explanation concerning the choice of two's complement for the accumulator. ------------------------------------------------------------------------ r10198 | vlefevre | 2016-03-04 14:30:37 +0000 (Fri, 04 Mar 2016) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update about MinGW and __USE_MINGW_ANSI_STDIO. ------------------------------------------------------------------------ r10196 | vlefevre | 2016-03-04 14:07:22 +0000 (Fri, 04 Mar 2016) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Some improvement about MinGW and __USE_MINGW_ANSI_STDIO. ------------------------------------------------------------------------ r10195 | vlefevre | 2016-03-04 13:58:05 +0000 (Fri, 04 Mar 2016) | 1 line Changed paths: M /trunk/TODO [TODO] With MinGW, build with -D__USE_MINGW_ANSI_STDIO by default? ------------------------------------------------------------------------ r10194 | vlefevre | 2016-03-03 10:13:32 +0000 (Thu, 03 Mar 2016) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Improved --help messages for decimal-float and float128 (a bit like what was done for thread-safe). ------------------------------------------------------------------------ r10193 | zimmerma | 2016-03-03 10:00:06 +0000 (Thu, 03 Mar 2016) | 2 lines Changed paths: M /trunk/NEWS updated NEWS for decimal floats and __float128 ------------------------------------------------------------------------ r10192 | zimmerma | 2016-03-03 09:56:24 +0000 (Thu, 03 Mar 2016) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac set --enable-float128 to "autodetect" by default (like --enable-decimal-float) ------------------------------------------------------------------------ r10191 | vlefevre | 2016-03-02 17:15:13 +0000 (Wed, 02 Mar 2016) | 1 line Changed paths: M /trunk/TODO [TODO] For testing the lack of subnormal support. ------------------------------------------------------------------------ r10190 | vlefevre | 2016-03-02 16:56:27 +0000 (Wed, 02 Mar 2016) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Also fixed the test for subnormal double-precision numbers, in case an extended precision / exponent range is used (however the test is not guaranteed with non-conforming compilers). ------------------------------------------------------------------------ r10189 | vlefevre | 2016-03-02 16:51:19 +0000 (Wed, 02 Mar 2016) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Fixed test for subnormal single-precision numbers. ------------------------------------------------------------------------ r10188 | zimmerma | 2016-03-02 16:47:54 +0000 (Wed, 02 Mar 2016) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/tests/tget_flt.c added a separate configure test for subnormals in the "float" format ------------------------------------------------------------------------ r10187 | vlefevre | 2016-03-02 16:39:38 +0000 (Wed, 02 Mar 2016) | 1 line Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac [acinclude.m4,configure.ac] Various fixes in error messages. ------------------------------------------------------------------------ r10186 | vlefevre | 2016-03-02 15:52:47 +0000 (Wed, 02 Mar 2016) | 1 line Changed paths: M /trunk/TODO [TODO] Update ICC detection. ------------------------------------------------------------------------ r10185 | zimmerma | 2016-03-02 15:24:12 +0000 (Wed, 02 Mar 2016) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac autodetect support for decimal floats (as suggested in revision 10179) ------------------------------------------------------------------------ r10183 | vlefevre | 2016-03-02 14:56:01 +0000 (Wed, 02 Mar 2016) | 1 line Changed paths: M /trunk/src/ieee_floats.h [src/ieee_floats.h] Comment update. ------------------------------------------------------------------------ r10182 | vlefevre | 2016-03-02 14:47:32 +0000 (Wed, 02 Mar 2016) | 2 lines Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Another improvement, just in case Clang no longer defines __GNUC__ in the future. ------------------------------------------------------------------------ r10181 | vlefevre | 2016-03-02 14:43:31 +0000 (Wed, 02 Mar 2016) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Improved output of compiler information. ------------------------------------------------------------------------ r10180 | vlefevre | 2016-03-02 14:18:27 +0000 (Wed, 02 Mar 2016) | 4 lines Changed paths: M /trunk/src/ieee_floats.h [src/ieee_floats.h] No longer use a NaN memory representation because it was fixed thus could be either a qNaN or a sNaN, depending on the machine. Moreover the choice is to generate a qNaN, in particular due to lack of sNaN support by compilers. ------------------------------------------------------------------------ r10179 | vlefevre | 2016-03-02 13:59:12 +0000 (Wed, 02 Mar 2016) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac Do not build with decimal float by default as it is not standard (a better behavior could be to auto-detect). ------------------------------------------------------------------------ r10178 | vlefevre | 2016-03-02 10:02:37 +0000 (Wed, 02 Mar 2016) | 1 line Changed paths: M /trunk/src/ieee_floats.h M /trunk/src/mpfr-impl.h Updated comments about DBL_NAN, dbl_nan.d and qNaN / sNaN encoding. ------------------------------------------------------------------------ r10177 | vlefevre | 2016-03-02 01:03:56 +0000 (Wed, 02 Mar 2016) | 1 line Changed paths: M /trunk/src/get_flt.c [src/get_flt.c] Updated FIXME comment: idea of a solution... ------------------------------------------------------------------------ r10175 | vlefevre | 2016-03-02 00:49:43 +0000 (Wed, 02 Mar 2016) | 2 lines Changed paths: M /trunk/src/get_flt.c [src/get_flt.c] FIXME: The code assumes the IEEE-754 binary32 format with subnormal support. ------------------------------------------------------------------------ r10173 | vlefevre | 2016-03-02 00:29:46 +0000 (Wed, 02 Mar 2016) | 2 lines Changed paths: M /trunk/tests/tget_flt.c [tests/tget_flt.c] Do tests that may involve subnormals only if HAVE_DENORMS is defined. ------------------------------------------------------------------------ r10172 | vlefevre | 2016-03-01 17:17:13 +0000 (Tue, 01 Mar 2016) | 5 lines Changed paths: M /trunk/src/set_d64.c M /trunk/src/set_float128.c M /trunk/src/set_ld.c [src/set_*.c] Use the DOUBLE_ISNAN macro for _Decimal64, __float128 and long double like what is done for double; on platforms where d != d is not wrongly optimized to false, this should not change anything. Also added some MPFR_UNLIKELY for special cases of _Decimal64 and __float128, as this is already done for double and long double. ------------------------------------------------------------------------ r10171 | vlefevre | 2016-03-01 16:59:07 +0000 (Tue, 01 Mar 2016) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Detect some uses of "x != x" and "x == x". ------------------------------------------------------------------------ r10170 | zimmerma | 2016-03-01 16:34:35 +0000 (Tue, 01 Mar 2016) | 2 lines Changed paths: M /trunk/tests/tversion.c recognize icc (which might define __GNUC__) ------------------------------------------------------------------------ r10169 | vlefevre | 2016-03-01 16:07:33 +0000 (Tue, 01 Mar 2016) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added a comment about non-IEEE-754 environment. ------------------------------------------------------------------------ r10168 | zimmerma | 2016-03-01 15:46:05 +0000 (Tue, 01 Mar 2016) | 2 lines Changed paths: M /trunk/src/ieee_floats.h HAVE_DOUBLE_IEEE_LITTLE_SWAPPED is not supported ------------------------------------------------------------------------ r10165 | vlefevre | 2016-03-01 15:37:17 +0000 (Tue, 01 Mar 2016) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] Quote the argument of all AC_MSG_RESULT and AC_MSG_ERROR when it is longer than a word, as already done in most cases (this is safer in case we modify the text and add a comma). ------------------------------------------------------------------------ r10164 | vlefevre | 2016-03-01 15:19:46 +0000 (Tue, 01 Mar 2016) | 1 line Changed paths: M /trunk/tests/tset_float128.c [tests/tset_float128.c] Better cast. ------------------------------------------------------------------------ r10163 | zimmerma | 2016-03-01 15:08:50 +0000 (Tue, 01 Mar 2016) | 2 lines Changed paths: M /trunk/tests/tget_flt.c M /trunk/tests/tset_float128.c use DOUBLE_ISNAN() instead of f == f ------------------------------------------------------------------------ r10162 | zimmerma | 2016-03-01 14:31:01 +0000 (Tue, 01 Mar 2016) | 2 lines Changed paths: M /trunk/tools/cfarm.sh updated ------------------------------------------------------------------------ r10161 | zimmerma | 2016-03-01 14:23:02 +0000 (Tue, 01 Mar 2016) | 2 lines Changed paths: M /trunk/INSTALL updated paragraph on AIX/PowerPC ------------------------------------------------------------------------ r10160 | zimmerma | 2016-03-01 14:19:57 +0000 (Tue, 01 Mar 2016) | 2 lines Changed paths: M /trunk/tests/tget_flt.c added more details in case of error ------------------------------------------------------------------------ r10159 | zimmerma | 2016-03-01 14:08:10 +0000 (Tue, 01 Mar 2016) | 2 lines Changed paths: M /trunk/configure.ac harmonize configure message against GMP ------------------------------------------------------------------------ r10158 | zimmerma | 2016-03-01 12:16:25 +0000 (Tue, 01 Mar 2016) | 2 lines Changed paths: M /trunk/tools/cfarm.sh updated with mpfr-3.1.4-rc2 ------------------------------------------------------------------------ r10157 | zimmerma | 2016-03-01 10:48:18 +0000 (Tue, 01 Mar 2016) | 3 lines Changed paths: M /trunk/configure.ac M /trunk/src/mpfr-gmp.h fixed detection of "double" format, and removed HAVE_DOUBLE_IEEE_LITTLE_SWAPPED, since we have no machine to test it ------------------------------------------------------------------------ r10156 | zimmerma | 2016-03-01 10:19:54 +0000 (Tue, 01 Mar 2016) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h removed leftover debug statement ------------------------------------------------------------------------ r10155 | vlefevre | 2016-03-01 10:14:28 +0000 (Tue, 01 Mar 2016) | 2 lines Changed paths: M /trunk/doc/README.dev Removed "The IEEE code for double needs GMP internal files." from doc/README.dev as this is no longer the case since r10150. ------------------------------------------------------------------------ r10154 | zimmerma | 2016-03-01 08:53:40 +0000 (Tue, 01 Mar 2016) | 2 lines Changed paths: M /trunk/NEWS speedup in mpfr_set_d and mpfr_get_d ------------------------------------------------------------------------ r10153 | zimmerma | 2016-03-01 08:52:21 +0000 (Tue, 01 Mar 2016) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h improved detection of decimal floats removed (obsolete?) #define XDEBUG in mpfr-gmp.h ------------------------------------------------------------------------ r10152 | vlefevre | 2016-03-01 02:11:41 +0000 (Tue, 01 Mar 2016) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Removed old code for Alpha (as suggested by Paul). It was no longer tested. ------------------------------------------------------------------------ r10151 | vlefevre | 2016-03-01 02:00:47 +0000 (Tue, 01 Mar 2016) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Added a FIXME comment about a possible misuse of AC_RUN_IFELSE programs that can return several values. ------------------------------------------------------------------------ r10150 | zimmerma | 2016-02-29 20:57:06 +0000 (Mon, 29 Feb 2016) | 3 lines Changed paths: M /trunk/configure.ac M /trunk/src/get_d64.c M /trunk/src/ieee_floats.h M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/scale2.c M /trunk/src/set_d.c M /trunk/src/set_d64.c M /trunk/src/uceil_exp2.c M /trunk/src/uceil_log2.c M /trunk/src/ufloor_log2.c get rid of dependency from GMP for _GMP_IEEE_FLOATS and ieee_double_extract enable decimal float by default ------------------------------------------------------------------------ r10147 | vlefevre | 2016-02-29 17:56:38 +0000 (Mon, 29 Feb 2016) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Also detect the use of ASSERT_ALWAYS (forbidden). ------------------------------------------------------------------------ r10145 | vlefevre | 2016-02-29 17:44:12 +0000 (Mon, 29 Feb 2016) | 1 line Changed paths: M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_ld_2exp.c Replaced the remaining ASSERT_ALWAYS by MPFR_ASSERTN. ------------------------------------------------------------------------ r10141 | vlefevre | 2016-02-29 09:49:50 +0000 (Mon, 29 Feb 2016) | 1 line Changed paths: M /trunk/NEWS [NEWS] Removed a useless note (as the ABI has already changed). ------------------------------------------------------------------------ r10137 | vlefevre | 2016-02-29 04:06:04 +0000 (Mon, 29 Feb 2016) | 2 lines Changed paths: M /trunk/NEWS [NEWS] Update about MinGW: "Added support for thread-safe DLL" as this was more than a fix of the test suite with r9684,9778. ------------------------------------------------------------------------ r10135 | vlefevre | 2016-02-29 03:52:18 +0000 (Mon, 29 Feb 2016) | 2 lines Changed paths: M /trunk/NEWS [NEWS] Added "MinGW: Avoid failures in the test suite for shared builds with TLS." (fix in r9891). ------------------------------------------------------------------------ r10134 | vlefevre | 2016-02-29 03:48:45 +0000 (Mon, 29 Feb 2016) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] Removed an obsolete sentence about MinGW and shared builds with TLS (the failures in the test suite were avoided in r9891). ------------------------------------------------------------------------ r10132 | vlefevre | 2016-02-29 00:55:52 +0000 (Mon, 29 Feb 2016) | 1 line Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] Comment update. ------------------------------------------------------------------------ r10128 | vlefevre | 2016-02-25 15:24:32 +0000 (Thu, 25 Feb 2016) | 1 line Changed paths: M /trunk/src/clears.c M /trunk/src/fits_intmax.c M /trunk/src/fits_uintmax.c M /trunk/src/get_sj.c M /trunk/src/get_uj.c M /trunk/src/inits.c M /trunk/src/inits2.c M /trunk/src/printf.c M /trunk/src/set_sj.c M /trunk/src/set_uj.c M /trunk/src/vasprintf.c M /trunk/tests/tests.c M /trunk/tests/tfits.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tset_float128.c M /trunk/tests/tset_sj.c About "config.h" inclusion: code consistency; removed obsolete comment. ------------------------------------------------------------------------ r10127 | vlefevre | 2016-02-25 15:10:34 +0000 (Thu, 25 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Output availability of intmax_t/uintmax_t based functions and *printf functions. ------------------------------------------------------------------------ r10126 | vlefevre | 2016-02-25 15:02:06 +0000 (Thu, 25 Feb 2016) | 1 line Changed paths: M /trunk/src/printf.c [src/printf.c] Added a blank line for more readability. ------------------------------------------------------------------------ r10125 | vlefevre | 2016-02-25 14:52:16 +0000 (Thu, 25 Feb 2016) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a note about the "config.h" inclusion. ------------------------------------------------------------------------ r10124 | vlefevre | 2016-02-25 14:37:12 +0000 (Thu, 25 Feb 2016) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Let's group the features together. ------------------------------------------------------------------------ r10123 | vlefevre | 2016-02-25 14:35:26 +0000 (Thu, 25 Feb 2016) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Output support status of modifiers in gmp_printf. ------------------------------------------------------------------------ r10122 | vlefevre | 2016-02-25 10:36:36 +0000 (Thu, 25 Feb 2016) | 1 line Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/buildopt.c M /trunk/src/mpfr.h M /trunk/tests/tversion.c Added mpfr_buildopt_float128_p function. ------------------------------------------------------------------------ r10121 | vlefevre | 2016-02-25 10:25:46 +0000 (Thu, 25 Feb 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Removed old comments. ------------------------------------------------------------------------ r10118 | vlefevre | 2016-02-24 16:21:47 +0000 (Wed, 24 Feb 2016) | 1 line Changed paths: M /trunk/tests/tset_str.c [tests/tset_str.c] Correction (with no noticeable effect). ------------------------------------------------------------------------ r10115 | vlefevre | 2016-02-24 14:11:12 +0000 (Wed, 24 Feb 2016) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] For codespell, skip the openout.* files, which are created by "make pdf". ------------------------------------------------------------------------ r10113 | vlefevre | 2016-02-24 11:15:44 +0000 (Wed, 24 Feb 2016) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Minor FIXME comment update. ------------------------------------------------------------------------ r10112 | vlefevre | 2016-02-24 10:36:02 +0000 (Wed, 24 Feb 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Updated introduction. ------------------------------------------------------------------------ r10111 | vlefevre | 2016-02-24 03:10:09 +0000 (Wed, 24 Feb 2016) | 1 line Changed paths: M /trunk/tools/announce-text [tools/announce-text] Check the files on the mpfr.org web server. ------------------------------------------------------------------------ r10110 | vlefevre | 2016-02-24 02:41:10 +0000 (Wed, 24 Feb 2016) | 1 line Changed paths: M /trunk/tools/announce-text [tools/announce-text] Added a comment. ------------------------------------------------------------------------ r10109 | vlefevre | 2016-02-24 02:34:29 +0000 (Wed, 24 Feb 2016) | 1 line Changed paths: M /trunk/tools/announce-text [tools/announce-text] Update for release candidates. ------------------------------------------------------------------------ r10105 | vlefevre | 2016-02-24 01:39:52 +0000 (Wed, 24 Feb 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Fixed a warning with "make info". ------------------------------------------------------------------------ r10101 | vlefevre | 2016-02-24 01:15:08 +0000 (Wed, 24 Feb 2016) | 4 lines Changed paths: M /trunk/Makefile.am A /trunk/tools/ck-news Added tools/ck-news Perl script to check the NEWS file. In Makefile.am: * run this script in dist-hook for "make dist"; * added this script to EXTRA_DIST as it is used in dist-hook. ------------------------------------------------------------------------ r10100 | vlefevre | 2016-02-24 00:14:35 +0000 (Wed, 24 Feb 2016) | 1 line Changed paths: M /trunk/tools/announce-text [tools/announce-text] Take into account $vers setting. ------------------------------------------------------------------------ r10099 | vlefevre | 2016-02-24 00:05:37 +0000 (Wed, 24 Feb 2016) | 1 line Changed paths: M /trunk/tools/announce-text [tools/announce-text] Replaced MD5 by SHA256. ------------------------------------------------------------------------ r10093 | vlefevre | 2016-02-23 22:08:16 +0000 (Tue, 23 Feb 2016) | 1 line Changed paths: M /trunk/tools/update-version [tools/update-version] Correction for new perl versions. ------------------------------------------------------------------------ r10092 | zimmerma | 2016-02-23 14:41:11 +0000 (Tue, 23 Feb 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi unified description of mpfr_eint ------------------------------------------------------------------------ r10089 | vlefevre | 2016-02-23 12:15:16 +0000 (Tue, 23 Feb 2016) | 4 lines Changed paths: M /trunk/src/cmp_d.c M /trunk/src/cmp_ld.c [src/{cmp_d.c,cmp_ld.c}] Bug fixes: mpfr_cmp_d (resp. mpfr_cmp_ld) was setting the NaN flag when the double (resp. long double) was a NaN and could return an incorrect result (assertion failure in debug mode) in reduced exponent range. ------------------------------------------------------------------------ r10088 | vlefevre | 2016-02-23 12:05:41 +0000 (Tue, 23 Feb 2016) | 1 line Changed paths: M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c [tests/{tcmp_d.c,tcmp_ld.c}] Added a test in reduced exponent range. ------------------------------------------------------------------------ r10087 | vlefevre | 2016-02-23 11:56:19 +0000 (Tue, 23 Feb 2016) | 1 line Changed paths: M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c [tests/{tcmp_d.c,tcmp_ld.c}] Full test of the flags for NaN → failure. ------------------------------------------------------------------------ r10086 | vlefevre | 2016-02-23 09:28:01 +0000 (Tue, 23 Feb 2016) | 1 line Changed paths: M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c [tests/{tcmp_d.c,tcmp_ld.c}] GNU coding style. ------------------------------------------------------------------------ r10085 | vlefevre | 2016-02-23 09:24:50 +0000 (Tue, 23 Feb 2016) | 1 line Changed paths: M /trunk/tests/tcmp_d.c [tests/tcmp_d.c] GNU coding style. ------------------------------------------------------------------------ r10084 | vlefevre | 2016-02-23 08:38:47 +0000 (Tue, 23 Feb 2016) | 2 lines Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Update about the suggestion to split the inputs for Demmel's algorithm. ------------------------------------------------------------------------ r10082 | vlefevre | 2016-02-22 14:13:07 +0000 (Mon, 22 Feb 2016) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a reference to the build-multi script. ------------------------------------------------------------------------ r10080 | vlefevre | 2016-02-22 14:03:36 +0000 (Mon, 22 Feb 2016) | 1 line Changed paths: D /trunk/tools/build-multi Removed the tools/build-multi script (already in ^/misc). ------------------------------------------------------------------------ r10079 | vlefevre | 2016-02-22 13:59:11 +0000 (Mon, 22 Feb 2016) | 2 lines Changed paths: A /trunk/tools/build-multi Added tools/build-multi zsh script to build and install multiple MPFR versions, and add XML library descriptors for ABI Compliance Checker. ------------------------------------------------------------------------ r10077 | vlefevre | 2016-02-22 12:34:37 +0000 (Mon, 22 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tagm.c [tests/tagm.c] Also do the test with a = b in precision 2 (since the same bug occurs in the 3.1 branch, which doesn't support precision 1). ------------------------------------------------------------------------ r10076 | zimmerma | 2016-02-22 11:00:48 +0000 (Mon, 22 Feb 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex fixed error analysis for gamma_inc continued fraction ------------------------------------------------------------------------ r10074 | vlefevre | 2016-02-19 16:53:29 +0000 (Fri, 19 Feb 2016) | 3 lines Changed paths: M /trunk/tests/tfmod.c [tests/tfmod.c] Test that triggers the bug fixed in r10054: run it also in the extended exponent range in order to make the test fail when ported to the 3.1 branch. ------------------------------------------------------------------------ r10073 | vlefevre | 2016-02-19 16:35:48 +0000 (Fri, 19 Feb 2016) | 1 line Changed paths: M /trunk/tests/tfmod.c [tests/tfmod.c] Renamed a variable since it is not always NaN. ------------------------------------------------------------------------ r10072 | vlefevre | 2016-02-19 16:29:37 +0000 (Fri, 19 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tfmod.c [tests/tfmod.c] Added a test that triggers the bug fixed in r10054 without relying on test_generic failure. ------------------------------------------------------------------------ r10070 | zimmerma | 2016-02-19 08:02:46 +0000 (Fri, 19 Feb 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex added references in comment ------------------------------------------------------------------------ r10069 | zimmerma | 2016-02-18 17:52:47 +0000 (Thu, 18 Feb 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.bib M /trunk/doc/algorithms.tex added error analysis for gamma_inc with continued fraction (to be reviewed) ------------------------------------------------------------------------ r10068 | vlefevre | 2016-02-18 13:52:16 +0000 (Thu, 18 Feb 2016) | 1 line Changed paths: M /trunk/doc/sum.txt M /trunk/src/sum.c [doc/sum.txt,src/sum.c] mpfr_sum: added support for precision 1. ------------------------------------------------------------------------ r10067 | zimmerma | 2016-02-18 12:08:46 +0000 (Thu, 18 Feb 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi more precision about gamma_inc ------------------------------------------------------------------------ r10066 | zimmerma | 2016-02-18 09:31:53 +0000 (Thu, 18 Feb 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex added reference to series for incomplete gamma function ------------------------------------------------------------------------ r10065 | zimmerma | 2016-02-17 19:36:55 +0000 (Wed, 17 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tgamma_inc.c added tests for negative integer a ------------------------------------------------------------------------ r10064 | vlefevre | 2016-02-17 17:51:14 +0000 (Wed, 17 Feb 2016) | 3 lines Changed paths: M /trunk/tests/tfmod.c [tests/tfmod.c] Do not use a variable named nan to avoid confusion with the nan function of C99 (and possible obscure failures in the future, if we include <math.h>). ------------------------------------------------------------------------ r10063 | zimmerma | 2016-02-17 17:46:17 +0000 (Wed, 17 Feb 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex added reference to gamma_inc(-n,x) for current code ------------------------------------------------------------------------ r10062 | zimmerma | 2016-02-17 17:29:31 +0000 (Wed, 17 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tremquo.c added test to exercise bug fixed in revision 10056 ------------------------------------------------------------------------ r10061 | zimmerma | 2016-02-17 17:28:47 +0000 (Wed, 17 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tfmod.c fixed one test ------------------------------------------------------------------------ r10060 | zimmerma | 2016-02-17 16:25:25 +0000 (Wed, 17 Feb 2016) | 3 lines Changed paths: M /trunk/src/agm.c M /trunk/tests/tagm.c fixed bug in mpfr_agm in case a=b but result cannot be exactly represented in the target precision: ternary value was wrongly set to 0 ------------------------------------------------------------------------ r10059 | vlefevre | 2016-02-17 16:12:57 +0000 (Wed, 17 Feb 2016) | 1 line Changed paths: M /trunk/src/rem1.c Removed trailing spaces. ------------------------------------------------------------------------ r10058 | zimmerma | 2016-02-17 15:53:37 +0000 (Wed, 17 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tgamma_inc.c reduce the time of tgamma_inc ------------------------------------------------------------------------ r10057 | zimmerma | 2016-02-17 15:53:24 +0000 (Wed, 17 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tgeneric.c fixed the number of special tests for 2-argument functions ------------------------------------------------------------------------ r10056 | zimmerma | 2016-02-17 15:39:49 +0000 (Wed, 17 Feb 2016) | 2 lines Changed paths: M /trunk/src/rem1.c fixed stupid error in revision 10054 ------------------------------------------------------------------------ r10055 | vlefevre | 2016-02-17 15:23:25 +0000 (Wed, 17 Feb 2016) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Removed mpfr_sum_sort declaration, as this internal function had been removed in r9370. ------------------------------------------------------------------------ r10054 | zimmerma | 2016-02-17 15:17:20 +0000 (Wed, 17 Feb 2016) | 2 lines Changed paths: M /trunk/src/rem1.c M /trunk/tests/tfmod.c avoid computing with huge integers in mpfr_fmod when x/y is very small ------------------------------------------------------------------------ r10053 | vlefevre | 2016-02-17 15:00:01 +0000 (Wed, 17 Feb 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Update about the old mpfr_sum implementation. ------------------------------------------------------------------------ r10052 | zimmerma | 2016-02-17 14:19:48 +0000 (Wed, 17 Feb 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi Clarify the status of mpfr_gamma_inc for the MPFR 3.2 release. ------------------------------------------------------------------------ r10051 | vlefevre | 2016-02-17 13:06:46 +0000 (Wed, 17 Feb 2016) | 3 lines Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Fixed a typo in latest commit, and added min/max and max/min special tests for functions with 2 arguments. This triggers a failure in tfmod on 64-bit machines at least. ------------------------------------------------------------------------ r10050 | vlefevre | 2016-02-17 12:47:48 +0000 (Wed, 17 Feb 2016) | 1 line Changed paths: M /trunk/src/gamma_inc.c [src/gamma_inc.c] Improved assertions. ------------------------------------------------------------------------ r10049 | zimmerma | 2016-02-17 12:34:05 +0000 (Wed, 17 Feb 2016) | 4 lines Changed paths: M /trunk/src/gamma_inc.c M /trunk/tests/tgamma_inc.c M /trunk/tests/tgeneric.c now mpfr_gamma_inc(a,x) also works for 'a' a negative integer (however a and x should not be too large, we should implement Legendre's continued fraction for the general case) ------------------------------------------------------------------------ r10048 | zimmerma | 2016-02-17 12:26:53 +0000 (Wed, 17 Feb 2016) | 2 lines Changed paths: M /trunk/src/eint.c M /trunk/tests/teint.c fixed issue in mpfr_eint ------------------------------------------------------------------------ r10047 | vlefevre | 2016-02-17 12:25:30 +0000 (Wed, 17 Feb 2016) | 1 line Changed paths: M /trunk/src/gamma.c [src/gamma.c] Added another assertion. ------------------------------------------------------------------------ r10046 | vlefevre | 2016-02-17 12:17:27 +0000 (Wed, 17 Feb 2016) | 1 line Changed paths: M /trunk/src/gamma.c [src/gamma.c] Added assertions and a comment. ------------------------------------------------------------------------ r10045 | vlefevre | 2016-02-17 12:07:49 +0000 (Wed, 17 Feb 2016) | 4 lines Changed paths: M /trunk/src/gamma.c [src/gamma.c] Removed useless saved_flags as flags are already saved by MPFR_SAVE_EXPO_MARK. Removed the comment about about emin/emax as emin <= 2 <= emax may not be sufficient (or may be suboptimal). After all, MPFR_SAVE_EXPO_* is the usual thing to do... ------------------------------------------------------------------------ r10044 | zimmerma | 2016-02-17 11:42:15 +0000 (Wed, 17 Feb 2016) | 2 lines Changed paths: M /trunk/src/gamma.c previous commit was incomplete ------------------------------------------------------------------------ r10043 | zimmerma | 2016-02-17 11:09:33 +0000 (Wed, 17 Feb 2016) | 3 lines Changed paths: M /trunk/src/gamma.c M /trunk/tests/tgamma.c fixed bug in mpfr_gamma: flags might be corrupted in case the argument was an integer fitting in an unsigned long ------------------------------------------------------------------------ r10042 | vlefevre | 2016-02-15 19:12:11 +0000 (Mon, 15 Feb 2016) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update about patches. ------------------------------------------------------------------------ r10038 | vlefevre | 2016-02-15 12:17:30 +0000 (Mon, 15 Feb 2016) | 1 line Changed paths: M /trunk/tests/troot.c [tests/troot.c] Compare root(x,2^h) with pow(x,2^(-h)). ------------------------------------------------------------------------ r10037 | vlefevre | 2016-02-15 11:45:26 +0000 (Mon, 15 Feb 2016) | 1 line Changed paths: M /trunk/tests/tpow.c Added bad_cases tests for mpfr_pow_ui and mpfr_pow_si. ------------------------------------------------------------------------ r10036 | vlefevre | 2016-02-15 11:37:34 +0000 (Mon, 15 Feb 2016) | 1 line Changed paths: M /trunk/tests/troot.c Added bad_cases tests for mpfr_root. ------------------------------------------------------------------------ r10034 | vlefevre | 2016-02-15 09:39:49 +0000 (Mon, 15 Feb 2016) | 3 lines Changed paths: M /trunk/src/fits_intmax.c M /trunk/src/fits_s.h M /trunk/src/fits_u.h [src/{fits_intmax.c,fits_s.h,fits_u.h}] Fixed mpfr_fits_* functions in a reduced exponent range and debug mode for non-integer numbers just above the positive limit. ------------------------------------------------------------------------ r10033 | vlefevre | 2016-02-15 09:36:58 +0000 (Mon, 15 Feb 2016) | 1 line Changed paths: M /trunk/tests/tfits.c [tests/tfits.c] Check a non-integer number just below a power of two. ------------------------------------------------------------------------ r10032 | vlefevre | 2016-02-15 09:17:47 +0000 (Mon, 15 Feb 2016) | 1 line Changed paths: M /trunk/tests/tfits.c [tests/tfits.c] Also run the tests in reduced exponent range. ------------------------------------------------------------------------ r10031 | vlefevre | 2016-02-15 01:50:08 +0000 (Mon, 15 Feb 2016) | 3 lines Changed paths: M /trunk/tests/tfits.c [tests/tfits.c] Added tests of non-integer values near the type limits. This triggers a flags failure for src/fits_* r9649, corresponding to the bug fixed in r9650 (there were no tests for this bug yet). ------------------------------------------------------------------------ r10030 | vlefevre | 2016-02-15 01:23:34 +0000 (Mon, 15 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tfits.c [tests/tfits.c] Increased code reuse so that tests could be improved more easily (not everything is tested yet). ------------------------------------------------------------------------ r10028 | vlefevre | 2016-02-12 13:52:48 +0000 (Fri, 12 Feb 2016) | 1 line Changed paths: M /trunk/tests/tconst_log2.c [tests/tconst_log2.c] Correction for C++ compilers. ------------------------------------------------------------------------ r10027 | vlefevre | 2016-02-12 13:50:03 +0000 (Fri, 12 Feb 2016) | 1 line Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] Correction for C++ compilers. Code formatting. ------------------------------------------------------------------------ r10025 | vlefevre | 2016-02-12 13:20:59 +0000 (Fri, 12 Feb 2016) | 1 line Changed paths: M /trunk/src/div.c [src/div.c] Coding style. ------------------------------------------------------------------------ r10024 | vlefevre | 2016-02-12 13:18:16 +0000 (Fri, 12 Feb 2016) | 1 line Changed paths: M /trunk/src/div.c [src/div.c] Added a TODO for value coverage tests. ------------------------------------------------------------------------ r10022 | vlefevre | 2016-02-12 11:42:12 +0000 (Fri, 12 Feb 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added a comment about mpfr_gamma_inc. ------------------------------------------------------------------------ r10021 | vlefevre | 2016-02-12 10:33:13 +0000 (Fri, 12 Feb 2016) | 1 line Changed paths: M /trunk/tests/tgamma_inc.c [tests/tgamma_inc.c] Added a TODO. ------------------------------------------------------------------------ r10020 | vlefevre | 2016-02-12 10:07:36 +0000 (Fri, 12 Feb 2016) | 4 lines Changed paths: M /trunk/src/gamma_inc.c [src/gamma_inc.c] Detect internal overflow in order to avoid taking all the memory of the machine, but it is currently not supported: assertion failure. This was occurring with a = 2^32 and x = 2^(-32) on 32-bit machines (see change in r10019). ------------------------------------------------------------------------ r10019 | zimmerma | 2016-02-12 09:21:57 +0000 (Fri, 12 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tgamma_inc.c reduced a test with large arguments ------------------------------------------------------------------------ r10018 | vlefevre | 2016-02-11 13:59:33 +0000 (Thu, 11 Feb 2016) | 1 line Changed paths: M /trunk/src/gamma_inc.c [src/gamma_inc.c] Improved type consistency to avoid integer overflow. ------------------------------------------------------------------------ r10017 | vlefevre | 2016-02-11 13:54:47 +0000 (Thu, 11 Feb 2016) | 1 line Changed paths: M /trunk/src/gamma_inc.c [src/gamma_inc.c] Added some assertions to detect integer overflow. ------------------------------------------------------------------------ r10016 | vlefevre | 2016-02-11 12:46:30 +0000 (Thu, 11 Feb 2016) | 1 line Changed paths: M /trunk/tests/tgamma_inc.c [tests/tgamma_inc.c] C++/C99 comment → C89 comment. ------------------------------------------------------------------------ r10015 | vlefevre | 2016-02-11 12:44:49 +0000 (Thu, 11 Feb 2016) | 2 lines Changed paths: M /trunk/src/gmp_op.c [src/gmp_op.c] Fixed an assertion that made tgmpop fail on 32-bit machines (it became wrong with r9964 and --enable-assert). ------------------------------------------------------------------------ r10014 | vlefevre | 2016-02-10 09:31:39 +0000 (Wed, 10 Feb 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Added a FIXME for precision 1 (recently added). ------------------------------------------------------------------------ r10013 | zimmerma | 2016-02-10 08:39:20 +0000 (Wed, 10 Feb 2016) | 2 lines Changed paths: M /trunk/src/gamma_inc.c added formula for gamma_inc(-n,x) ------------------------------------------------------------------------ r10012 | zimmerma | 2016-02-09 14:16:17 +0000 (Tue, 09 Feb 2016) | 4 lines Changed paths: M /trunk/TODO removed item about speeding up const_euler: done since now for x=1.1, prec=16610, mpfr_const_euler takes only about 40% of the total time. For x=1.1 and prec=100000 it takes only about 14% of the total time. ------------------------------------------------------------------------ r10011 | zimmerma | 2016-02-09 14:06:42 +0000 (Tue, 09 Feb 2016) | 2 lines Changed paths: M /trunk/src/gamma_inc.c M /trunk/tests/tgamma_inc.c fixed the call to mpfr_eint() in gamma_inc, added some tests for gamma_inc ------------------------------------------------------------------------ r10010 | zimmerma | 2016-02-09 13:35:39 +0000 (Tue, 09 Feb 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/eint.c M /trunk/tests/teint.c now mpfr_eint() returns -E1(-x) for x < 0 ------------------------------------------------------------------------ r10008 | vlefevre | 2016-02-09 09:55:51 +0000 (Tue, 09 Feb 2016) | 2 lines Changed paths: M /trunk/src/eint.c M /trunk/tests/teint.c [src/eint.c] Fixed eint(-inf). [tests/teint.c] Added a corresponding test. ------------------------------------------------------------------------ r10007 | vlefevre | 2016-02-09 02:17:21 +0000 (Tue, 09 Feb 2016) | 1 line Changed paths: M /trunk/src/si_op.c [src/si_op.c] Unified coding style and added logging. ------------------------------------------------------------------------ r10006 | vlefevre | 2016-02-09 02:10:22 +0000 (Tue, 09 Feb 2016) | 1 line Changed paths: M /trunk/src/div_ui.c M /trunk/src/mul_ui.c M /trunk/src/si_op.c M /trunk/src/ui_div.c [src] Moved si ops from mul_ui.c, div_ui.c and ui_div.c to si_op.c. ------------------------------------------------------------------------ r10005 | vlefevre | 2016-02-09 02:07:23 +0000 (Tue, 09 Feb 2016) | 4 lines Changed paths: M /trunk/src/ui_div.c [src/ui_div.c] Fixed bug in mpfr_si_div when the integer is LONG_MIN, visible when using an UB sanitizer (see r9999). Note: this integer value is not tested yet in the test suite due to the lack of generic tests for mpfr_si_div. ------------------------------------------------------------------------ r10004 | vlefevre | 2016-02-09 02:03:32 +0000 (Tue, 09 Feb 2016) | 1 line Changed paths: M /trunk/tests/tgeneric.c M /trunk/tests/tsi_op.c [tests/{tgeneric.c,tsi_op.c}] Added TODO. ------------------------------------------------------------------------ r10003 | vlefevre | 2016-02-09 01:44:53 +0000 (Tue, 09 Feb 2016) | 2 lines Changed paths: M /trunk/src/div_ui.c M /trunk/src/mul_ui.c [src/{div,mul}_ui.c] Fixed bug in mpfr_div_si and mpfr_mul_si when the integer is LONG_MIN, visible when using an UB sanitizer (see r9999). ------------------------------------------------------------------------ r10001 | vlefevre | 2016-02-09 01:31:17 +0000 (Tue, 09 Feb 2016) | 3 lines Changed paths: M /trunk/tests/tgeneric_ui.c [tests/tgeneric_ui.c] Added tests of the extreme integer values, so that tsi_op fails with a runtime error in si_op.c r9998 when using an UB sanitizer (bug fixed in r9999). ------------------------------------------------------------------------ r10000 | vlefevre | 2016-02-09 01:17:01 +0000 (Tue, 09 Feb 2016) | 1 line Changed paths: M /trunk/src/eint.c [src/eint.c] Code simplification. ------------------------------------------------------------------------ r9999 | vlefevre | 2016-02-09 01:08:25 +0000 (Tue, 09 Feb 2016) | 2 lines Changed paths: M /trunk/src/si_op.c [src/si_op.c] Fixed bug in mpfr_add_si, mpfr_sub_si and mpfr_si_sub when the integer is LONG_MIN, visible when using an UB sanitizer. ------------------------------------------------------------------------ r9998 | vlefevre | 2016-02-09 01:03:01 +0000 (Tue, 09 Feb 2016) | 1 line Changed paths: M /trunk/src/si_op.c [src/si_op.c] Code formatting. ------------------------------------------------------------------------ r9997 | vlefevre | 2016-02-09 01:01:01 +0000 (Tue, 09 Feb 2016) | 3 lines Changed paths: M /trunk/tests/teint.c [tests/teint.c] Added a test that triggers a runtime error at si_op.c:42:31 on an x86-64 Linux machine, using: CFLAGS="-fsanitize=undefined -fno-sanitize-recover" ------------------------------------------------------------------------ r9996 | vlefevre | 2016-02-09 00:33:32 +0000 (Tue, 09 Feb 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Typographic correction. ------------------------------------------------------------------------ r9995 | vlefevre | 2016-02-09 00:27:35 +0000 (Tue, 09 Feb 2016) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Avoid false positives in mp_exp_t check. ------------------------------------------------------------------------ r9994 | vlefevre | 2016-02-09 00:18:19 +0000 (Tue, 09 Feb 2016) | 2 lines Changed paths: M /trunk/src/eint.c [src/eint.c] Updated a FIXME (mpfr_set_exp_t was added in r4333 and completed in r5455), with typo from r6789 corrected. ------------------------------------------------------------------------ r9993 | vlefevre | 2016-02-09 00:02:40 +0000 (Tue, 09 Feb 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated Section "API Compatibility / Changed Functions": mpfr_eint changed in MPFR 3.2. ------------------------------------------------------------------------ r9992 | zimmerma | 2016-02-08 18:52:44 +0000 (Mon, 08 Feb 2016) | 2 lines Changed paths: M /trunk/NEWS M /trunk/TODO update NEWS/TODO with respect to E1 ------------------------------------------------------------------------ r9991 | zimmerma | 2016-02-08 18:41:55 +0000 (Mon, 08 Feb 2016) | 2 lines Changed paths: M /trunk/src/eint.c M /trunk/tests/teint.c oops, eint(x) was wrong for negative x with |x| >= 0.5 ------------------------------------------------------------------------ r9990 | zimmerma | 2016-02-08 18:30:52 +0000 (Mon, 08 Feb 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex M /trunk/doc/mpfr.texi M /trunk/src/eint.c M /trunk/src/gamma_inc.c M /trunk/src/mpfr-impl.h M /trunk/tests/teint.c now mpfr_eint(x) returns E1(x) for negative x ------------------------------------------------------------------------ r9989 | vlefevre | 2016-02-08 16:16:01 +0000 (Mon, 08 Feb 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Correction (spelling). ------------------------------------------------------------------------ r9988 | vlefevre | 2016-02-08 11:47:21 +0000 (Mon, 08 Feb 2016) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Clarified a bit more. ------------------------------------------------------------------------ r9986 | vlefevre | 2016-02-08 09:59:11 +0000 (Mon, 08 Feb 2016) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Added explanations concerning the check1 test. ------------------------------------------------------------------------ r9985 | vlefevre | 2016-02-08 09:39:13 +0000 (Mon, 08 Feb 2016) | 1 line Changed paths: M /trunk/tests/tsum.c Value coverage for tsum: reduce output length. ------------------------------------------------------------------------ r9984 | vlefevre | 2016-02-08 09:13:05 +0000 (Mon, 08 Feb 2016) | 1 line Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/sum.c M /trunk/tests/tsum.c Value coverage for tsum: differentiate sq > MPFR_PREC_MIN and not. ------------------------------------------------------------------------ r9983 | vlefevre | 2016-02-07 11:09:39 +0000 (Sun, 07 Feb 2016) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Source on 80 columns. ------------------------------------------------------------------------ r9982 | zimmerma | 2016-02-07 09:37:23 +0000 (Sun, 07 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tsum.c extended the check1() test, gives failure on 64-bit processor ------------------------------------------------------------------------ r9981 | zimmerma | 2016-02-07 09:04:52 +0000 (Sun, 07 Feb 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi fixed note ------------------------------------------------------------------------ r9980 | zimmerma | 2016-02-06 09:42:06 +0000 (Sat, 06 Feb 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex M /trunk/doc/mpfr.texi M /trunk/src/gamma_inc.c more work on gamma_inc ------------------------------------------------------------------------ r9979 | zimmerma | 2016-02-06 09:24:54 +0000 (Sat, 06 Feb 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi note about memory usage ------------------------------------------------------------------------ r9978 | vlefevre | 2016-02-05 17:09:48 +0000 (Fri, 05 Feb 2016) | 2 lines Changed paths: M /trunk/src/gamma_inc.c [src/gamma_inc.c] Corrected protection against integer overflow (MPFR_PREC_IN_RANGE is just for debug mode). ------------------------------------------------------------------------ r9977 | vlefevre | 2016-02-05 17:03:04 +0000 (Fri, 05 Feb 2016) | 2 lines Changed paths: M /trunk/src/gamma_inc.c [src/gamma_inc.c] Added protection against integer overflow (i.e. abort instead of getting incorrect results). ------------------------------------------------------------------------ r9976 | zimmerma | 2016-02-05 16:35:22 +0000 (Fri, 05 Feb 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex M /trunk/doc/mpfr.texi M /trunk/src/gamma_inc.c M /trunk/tests/tgamma_inc.c M /trunk/tests/tpow.c more work on gamma_inc (only remains the case a=0 and x>0 to implement) ------------------------------------------------------------------------ r9975 | vlefevre | 2016-02-05 16:20:10 +0000 (Fri, 05 Feb 2016) | 1 line Changed paths: M /trunk/tests/tsprintf.c Removed trailing spaces. ------------------------------------------------------------------------ r9974 | vlefevre | 2016-02-05 16:13:46 +0000 (Fri, 05 Feb 2016) | 1 line Changed paths: M /trunk/tests/troot.c [tests/troot.c] In exact_powers, check negative values too. ------------------------------------------------------------------------ r9973 | vlefevre | 2016-02-05 16:00:02 +0000 (Fri, 05 Feb 2016) | 1 line Changed paths: M /trunk/src/root.c [src/root.c] Code simplification. ------------------------------------------------------------------------ r9972 | vlefevre | 2016-02-05 15:45:47 +0000 (Fri, 05 Feb 2016) | 1 line Changed paths: M /trunk/TODO TODO update for fmma. ------------------------------------------------------------------------ r9971 | zimmerma | 2016-02-05 15:34:38 +0000 (Fri, 05 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tgamma.c M /trunk/tests/tset_str.c reduced emax ------------------------------------------------------------------------ r9970 | zimmerma | 2016-02-05 15:19:37 +0000 (Fri, 05 Feb 2016) | 3 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/root.c M /trunk/tests/troot.c added a test for exact powers for mpfr_root and fixed mpfr_root for negative x (and odd k) ------------------------------------------------------------------------ r9969 | vlefevre | 2016-02-05 14:19:10 +0000 (Fri, 05 Feb 2016) | 3 lines Changed paths: M /trunk/src/root.c [src/root.c] Corrected(?) the check for exact root by adding an exactness test for the inverse operation z^k (if unnecessary, it needs to be properly proved and documented). ------------------------------------------------------------------------ r9968 | vlefevre | 2016-02-05 14:09:48 +0000 (Fri, 05 Feb 2016) | 1 line Changed paths: M /trunk/src/root.c [src/root.c] Corrected a comment. ------------------------------------------------------------------------ r9967 | vlefevre | 2016-02-05 14:01:25 +0000 (Fri, 05 Feb 2016) | 1 line Changed paths: M /trunk/src/root.c [src/root.c] Some minor changes. Updated comments. ------------------------------------------------------------------------ r9966 | zimmerma | 2016-02-05 13:50:42 +0000 (Fri, 05 Feb 2016) | 2 lines Changed paths: M /trunk/src/root.c check for an exact root in mpfr_root_aux ------------------------------------------------------------------------ r9965 | zimmerma | 2016-02-05 13:19:16 +0000 (Fri, 05 Feb 2016) | 2 lines Changed paths: M /trunk/src/root.c M /trunk/tests/troot.c fixed bug in mpfr_root and inefficiency problem with large k ------------------------------------------------------------------------ r9964 | vlefevre | 2016-02-05 12:17:01 +0000 (Fri, 05 Feb 2016) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] For MPFR_IS_PURE_FP(x), when x is a pure FP number, check that EXP(x) is in the current exponent range (debug mode). ------------------------------------------------------------------------ r9963 | vlefevre | 2016-02-05 12:15:10 +0000 (Fri, 05 Feb 2016) | 10 lines Changed paths: M /trunk/src/exceptions.c [src/exceptions.c] Some changes concerning mpfr_check_range: * Added a note about the case EXP(x) < MPFR_EMIN_MIN. * Do not use the MPFR_IS_PURE_FP() macro as this macro assumes that if the number is not a singular number, then it is really a pure FP number (some assertion checking may be done in debug mode), but this is not necessarily the case here. * Removed an incorrect comment and re-added the MPFR_UNLIKELY for the cases where EXP(x) is outside the exponent range. Indeed, mpfr_check_range is called at the end of most functions, and in most cases, there are no underflows / overflows. ------------------------------------------------------------------------ r9962 | vlefevre | 2016-02-05 11:44:26 +0000 (Fri, 05 Feb 2016) | 2 lines Changed paths: M /trunk/tests/texp.c [tests/texp.c] Added FIXME, as the overflow test, which was specific to the 32-bit ABI, is no longer run. ------------------------------------------------------------------------ r9961 | vlefevre | 2016-02-05 11:38:46 +0000 (Fri, 05 Feb 2016) | 1 line Changed paths: M /trunk/tests/tacosh.c [tests/tacosh.c] Added a FIXME (huge values no longer tested at all). ------------------------------------------------------------------------ r9960 | vlefevre | 2016-02-05 11:23:30 +0000 (Fri, 05 Feb 2016) | 1 line Changed paths: M /trunk/src/fmma.c [src/fmma.c] Removed unused code. ------------------------------------------------------------------------ r9959 | zimmerma | 2016-02-05 11:10:20 +0000 (Fri, 05 Feb 2016) | 2 lines Changed paths: M /trunk/tests/troot.c added code to compare mpfr_root with exp(log(x)/k) ------------------------------------------------------------------------ r9958 | zimmerma | 2016-02-05 10:21:25 +0000 (Fri, 05 Feb 2016) | 3 lines Changed paths: M /trunk/src/mpfr.h M /trunk/tests/tacosh.c M /trunk/tests/texp.c M /trunk/tests/tpow.c M /trunk/tests/tpow_z.c M /trunk/tests/tsub1sp.c reduce MPFR_EMAX_DEFAULT by 2, and modify some tests cases assuming MPFR_EMAX_DEFAULT=2^30-1 ------------------------------------------------------------------------ r9957 | zimmerma | 2016-02-05 09:54:31 +0000 (Fri, 05 Feb 2016) | 2 lines Changed paths: M /trunk/src/fmma.c M /trunk/src/mpfr-impl.h M /trunk/tests/tsprintf.c fixed fmma failure ------------------------------------------------------------------------ r9956 | vlefevre | 2016-02-05 08:57:06 +0000 (Fri, 05 Feb 2016) | 1 line Changed paths: M /trunk/src/exp.c [src/exp.c] Simplified exponent range setting in special case. ------------------------------------------------------------------------ r9955 | zimmerma | 2016-02-05 08:24:01 +0000 (Fri, 05 Feb 2016) | 3 lines Changed paths: M /trunk/src/exp.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.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/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/tcbrt.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/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/teint.c M /trunk/tests/terf.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfmod.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.c M /trunk/tests/tgmpop.c M /trunk/tests/thypot.c M /trunk/tests/tj0.c M /trunk/tests/tj1.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/tmul.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tpow.c M /trunk/tests/trec_sqrt.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsinh.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsub.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/tui_div.c M /trunk/tests/tui_sub.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tzeta.c changed test_generic() calls to start from MPFR_PREC_MIN instead of 2; this revealed a special-case code in mpfr_exp which didn't work for prec=1 ------------------------------------------------------------------------ r9954 | vlefevre | 2016-02-05 01:07:29 +0000 (Fri, 05 Feb 2016) | 1 line Changed paths: M /trunk/tests/trint.c [tests/trint.c] Do the significand parity test only for precision > 1. ------------------------------------------------------------------------ r9953 | zimmerma | 2016-02-04 20:01:26 +0000 (Thu, 04 Feb 2016) | 2 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi updated NEWS and mpfr.texi for MPFR_PREC_MIN=1 ------------------------------------------------------------------------ r9952 | zimmerma | 2016-02-04 19:03:05 +0000 (Thu, 04 Feb 2016) | 3 lines Changed paths: M /trunk/src/mpfr.h M /trunk/tests/tadd1sp.c M /trunk/tests/tfactorial.c M /trunk/tests/tget_f.c M /trunk/tests/tmul.c M /trunk/tests/tmul_ui.c M /trunk/tests/tpow.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsub1sp.c M /trunk/tests/tui_div.c MPFR_PREC_MIN is now 1, in accordance with the next revision of IEEE-754 fixed tests to start at MPFR_PREC_MIN instead of hard-coded value of 2 ------------------------------------------------------------------------ r9951 | zimmerma | 2016-02-04 18:31:40 +0000 (Thu, 04 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tsi_op.c fixed test which was assuming MPFR_PREC_MIN=2 ------------------------------------------------------------------------ r9950 | zimmerma | 2016-02-04 18:24:16 +0000 (Thu, 04 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tsub.c fixed to correctly check prec=1 ------------------------------------------------------------------------ r9949 | zimmerma | 2016-02-04 18:11:11 +0000 (Thu, 04 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tadd.c prepare for MPFR_PREC_MIN=1 ------------------------------------------------------------------------ r9948 | zimmerma | 2016-02-04 18:01:47 +0000 (Thu, 04 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tcheck.c fixed tcheck for MPFR_PREC_MIN=1 ------------------------------------------------------------------------ r9947 | zimmerma | 2016-02-04 17:54:02 +0000 (Thu, 04 Feb 2016) | 2 lines Changed paths: M /trunk/src/pow.c prepare mpfr_pow to work for precision 1 ------------------------------------------------------------------------ r9942 | vlefevre | 2016-02-04 15:09:06 +0000 (Thu, 04 Feb 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Mention the Caramba project-team. ------------------------------------------------------------------------ r9941 | vlefevre | 2016-02-04 15:04:52 +0000 (Thu, 04 Feb 2016) | 4 lines Changed paths: M /trunk/BUGS 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/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 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/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c 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/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_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/dump.c M /trunk/src/eint.c M /trunk/src/eq.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/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/get_d.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_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/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/modf.c 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-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_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/neg.c M /trunk/src/next.c M /trunk/src/out_str.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/print_raw.c M /trunk/src/print_rnd_mode.c M /trunk/src/printf.c 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_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/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/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/yn.c M /trunk/src/zeta.c M /trunk/src/zeta_ui.c 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.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/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/teint.c M /trunk/tests/teq.c M /trunk/tests/terandom.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/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_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/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/tprintf.c M /trunk/tests/trandom.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/tround_prec.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/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/get_patches.sh M /trunk/tune/bidimensional_sample.c M /trunk/tune/speed.c M /trunk/tune/tuneup.c Replaced Contributed by the AriC and Caramel projects by Contributed by the AriC and Caramba projects ------------------------------------------------------------------------ r9940 | zimmerma | 2016-02-04 13:42:12 +0000 (Thu, 04 Feb 2016) | 2 lines Changed paths: M /trunk/src/gamma_inc.c added comment about gamma_inc ------------------------------------------------------------------------ r9939 | vlefevre | 2016-02-04 12:42:29 +0000 (Thu, 04 Feb 2016) | 1 line Changed paths: M /trunk/src/gamma_inc.c [src/gamma_inc.c] Added assertions. ------------------------------------------------------------------------ r9938 | zimmerma | 2016-02-04 11:36:53 +0000 (Thu, 04 Feb 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/gamma_inc.c more work on gamma_inc ------------------------------------------------------------------------ r9937 | zimmerma | 2016-02-04 11:14:14 +0000 (Thu, 04 Feb 2016) | 2 lines Changed paths: M /trunk/src/gamma_inc.c fixed some special values for gamma_inc ------------------------------------------------------------------------ r9936 | vlefevre | 2016-02-03 18:27:47 +0000 (Wed, 03 Feb 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] FIXME: Clarify the status of mpfr_gamma_inc for the MPFR 3.2 release. ------------------------------------------------------------------------ r9935 | vlefevre | 2016-02-03 18:14:00 +0000 (Wed, 03 Feb 2016) | 1 line Changed paths: R /trunk/src/fmma.c (from /trunk/src/fmma.c:9933) R /trunk/src/log_ui.c (from /trunk/src/log_ui.c:9933) Retrieve the src/fmma.c and src/log_ui.c history. ------------------------------------------------------------------------ r9934 | zimmerma | 2016-02-03 17:58:35 +0000 (Wed, 03 Feb 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi R /trunk/src/fmma.c R /trunk/src/log_ui.c completed "Added Functions" section ------------------------------------------------------------------------ r9933 | vlefevre | 2016-02-03 17:51:11 +0000 (Wed, 03 Feb 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Typographic correction. ------------------------------------------------------------------------ r9932 | vlefevre | 2016-02-03 17:26:47 +0000 (Wed, 03 Feb 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] Fixed bug introduced in r9902 and visible in the tests on 32-bit machines. ------------------------------------------------------------------------ r9931 | vlefevre | 2016-02-03 15:27:03 +0000 (Wed, 03 Feb 2016) | 1 line Changed paths: M /trunk/src/root.c [src/root.c] Added TODO for code rewrite (discussion between VL and PZ). ------------------------------------------------------------------------ r9930 | vlefevre | 2016-02-03 15:16:03 +0000 (Wed, 03 Feb 2016) | 2 lines Changed paths: M /trunk/tests/troot.c [tests/troot.c] Also check that root(0,0) is NaN to make sure that such special cases are considered in the right order in the implementation. ------------------------------------------------------------------------ r9929 | vlefevre | 2016-02-03 15:09:06 +0000 (Wed, 03 Feb 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Completed mpfr_root description: the 0th root gives NaN. ------------------------------------------------------------------------ r9928 | vlefevre | 2016-02-03 15:03:20 +0000 (Wed, 03 Feb 2016) | 2 lines Changed paths: M /trunk/src/root.c M /trunk/tests/troot.c [src/root.c,tests/troot.c] Removed obsolete code that was commented out; some cleanup. ------------------------------------------------------------------------ r9927 | vlefevre | 2016-02-03 14:55:55 +0000 (Wed, 03 Feb 2016) | 1 line Changed paths: M /trunk/src/root.c [src/root.c] Comment correction (again). ------------------------------------------------------------------------ r9926 | vlefevre | 2016-02-03 14:39:19 +0000 (Wed, 03 Feb 2016) | 2 lines Changed paths: M /trunk/src/root.c [src/root.c] Comment correction to avoid a variable name with several meanings. ------------------------------------------------------------------------ r9925 | vlefevre | 2016-02-03 14:26:09 +0000 (Wed, 03 Feb 2016) | 1 line Changed paths: M /trunk/src/root.c [src/root.c] Simplified code and corrected comment. ------------------------------------------------------------------------ r9924 | vlefevre | 2016-02-03 14:04:20 +0000 (Wed, 03 Feb 2016) | 1 line Changed paths: M /trunk/src/root.c [src/root.c] Corrected a comment and added an assertion (see r9923). ------------------------------------------------------------------------ r9923 | vlefevre | 2016-02-03 11:21:18 +0000 (Wed, 03 Feb 2016) | 1 line Changed paths: M /trunk/src/root.c [src/root.c] Added a FIXME comment. ------------------------------------------------------------------------ r9922 | vlefevre | 2016-02-03 10:29:22 +0000 (Wed, 03 Feb 2016) | 1 line Changed paths: M /trunk/tests/troot.c [tests/troot.c] Typo in a comment. ------------------------------------------------------------------------ r9921 | vlefevre | 2016-02-03 10:17:03 +0000 (Wed, 03 Feb 2016) | 3 lines Changed paths: M /trunk/tests/troot.c [tests/troot.c] Added tests showing a bug in mpfr_root on large integer arguments (found thanks to a bug in GNOME Calculator: <https://bugzilla.gnome.org/show_bug.cgi?id=756960>). ------------------------------------------------------------------------ r9920 | vlefevre | 2016-02-03 01:59:06 +0000 (Wed, 03 Feb 2016) | 1 line Changed paths: M /trunk/tests/tcan_round.c M /trunk/tests/tconst_log2.c Style: use RND_LOOP; mpfr_can_round returns a Boolean-like value. ------------------------------------------------------------------------ r9919 | vlefevre | 2016-02-02 17:30:33 +0000 (Tue, 02 Feb 2016) | 1 line Changed paths: M /trunk/src/erandom.c M /trunk/src/nrandom.c [src/{erandom.c,nrandom.c}] Updated a reference. ------------------------------------------------------------------------ r9917 | zimmerma | 2016-02-02 16:24:28 +0000 (Tue, 02 Feb 2016) | 2 lines Changed paths: M /trunk/src/sin_cos.c mpfr_can_round -> MPFR_CAN_ROUND ------------------------------------------------------------------------ r9916 | vlefevre | 2016-02-02 16:13:57 +0000 (Tue, 02 Feb 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated FIXME for mpfr_can_round. ------------------------------------------------------------------------ r9915 | vlefevre | 2016-02-02 16:05:26 +0000 (Tue, 02 Feb 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added a FIXME for mpfr_can_round. Still incorrect... ------------------------------------------------------------------------ r9914 | vlefevre | 2016-02-02 15:53:35 +0000 (Tue, 02 Feb 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r9913 | vlefevre | 2016-02-02 15:52:57 +0000 (Tue, 02 Feb 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Corrected note about mpfr_can_round. ------------------------------------------------------------------------ r9912 | zimmerma | 2016-02-02 15:50:04 +0000 (Tue, 02 Feb 2016) | 2 lines Changed paths: M /trunk/src/const_log2.c M /trunk/tests/tconst_log2.c refactor the exhaustive search code in mpfr_const_log2 ------------------------------------------------------------------------ r9911 | zimmerma | 2016-02-02 14:24:16 +0000 (Tue, 02 Feb 2016) | 2 lines Changed paths: M /trunk/src/atan2.c mpfr_round_p -> MPFR_CAN_ROUND ------------------------------------------------------------------------ r9910 | zimmerma | 2016-02-02 14:15:44 +0000 (Tue, 02 Feb 2016) | 2 lines Changed paths: M /trunk/src/lngamma.c mpfr_can_round -> MPFR_CAN_ROUND ------------------------------------------------------------------------ r9909 | zimmerma | 2016-02-02 14:13:04 +0000 (Tue, 02 Feb 2016) | 2 lines Changed paths: M /trunk/src/factorial.c mpfr_can_round -> MPFR_CAN_ROUND ------------------------------------------------------------------------ r9908 | zimmerma | 2016-02-02 14:10:10 +0000 (Tue, 02 Feb 2016) | 2 lines Changed paths: M /trunk/src/const_log2.c M /trunk/src/exp3.c use MPFR_CAN_ROUND instead of mpfr_can_round/mpfr_round_p ------------------------------------------------------------------------ r9907 | zimmerma | 2016-02-02 14:02:26 +0000 (Tue, 02 Feb 2016) | 2 lines Changed paths: M /trunk/src/const_log2.c rounding test was wrong for rounding to nearest ------------------------------------------------------------------------ r9906 | zimmerma | 2016-02-02 13:43:07 +0000 (Tue, 02 Feb 2016) | 2 lines Changed paths: M /trunk/src/const_log2.c replace mpfr_can_round by mpfr_round_p ------------------------------------------------------------------------ r9905 | vlefevre | 2016-02-02 13:26:59 +0000 (Tue, 02 Feb 2016) | 2 lines Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] Added a TODO to improve the mpfr_can_round_raw efficiency by only doing a bit inspection (no mpn operations). ------------------------------------------------------------------------ r9904 | vlefevre | 2016-02-01 17:13:43 +0000 (Mon, 01 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] Added test of mpfr_round_p with powers of two (similar to the one done in src/round_p.c for MPFR_WANT_ASSERT >= 2). ------------------------------------------------------------------------ r9903 | vlefevre | 2016-02-01 16:43:57 +0000 (Mon, 01 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] Updated description: mpfr_round_p is also tested in check_round_p (and will be in test_pow2). ------------------------------------------------------------------------ r9902 | zimmerma | 2016-02-01 16:06:36 +0000 (Mon, 01 Feb 2016) | 2 lines Changed paths: M /trunk/src/div.c M /trunk/src/round_p.c now mpfr_round_p() always requires normalized input ------------------------------------------------------------------------ r9901 | vlefevre | 2016-02-01 12:10:57 +0000 (Mon, 01 Feb 2016) | 1 line Changed paths: M /trunk/src/div.c [src/div.c] Added an assert based on comments in the code. ------------------------------------------------------------------------ r9900 | vlefevre | 2016-02-01 09:20:47 +0000 (Mon, 01 Feb 2016) | 1 line Changed paths: M /trunk/src/round_p.c [src/round_p.c] Some corrections in comment. ------------------------------------------------------------------------ r9899 | zimmerma | 2016-02-01 09:09:12 +0000 (Mon, 01 Feb 2016) | 2 lines Changed paths: M /trunk/src/round_p.c added a comment ------------------------------------------------------------------------ r9898 | vlefevre | 2016-01-31 23:59:34 +0000 (Sun, 31 Jan 2016) | 3 lines Changed paths: M /trunk/src/round_p.c [src/round_p.c] Fixed mpfr_round_p for MPFR_WANT_ASSERT >= 2, as mpfr_round_p accepts non-normalized inputs (as decided in r9897), but not mpfr_can_round_raw (as decided in r9883). ------------------------------------------------------------------------ r9897 | zimmerma | 2016-01-31 17:01:37 +0000 (Sun, 31 Jan 2016) | 2 lines Changed paths: M /trunk/src/div.c M /trunk/src/round_p.c the inputs of mpfr_round_p might not always be normalized ------------------------------------------------------------------------ r9896 | zimmerma | 2016-01-29 17:29:03 +0000 (Fri, 29 Jan 2016) | 2 lines Changed paths: M /trunk/src/round_prec.c fixed FIXME ------------------------------------------------------------------------ r9893 | vlefevre | 2016-01-29 14:26:51 +0000 (Fri, 29 Jan 2016) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Improved consistency in messages. ------------------------------------------------------------------------ r9892 | vlefevre | 2016-01-29 14:07:18 +0000 (Fri, 29 Jan 2016) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated instructions on how to cross-compile MPFR for MinGW (i586-mingw32msvc) and test it under Wine. ------------------------------------------------------------------------ r9891 | vlefevre | 2016-01-29 13:45:57 +0000 (Fri, 29 Jan 2016) | 10 lines Changed paths: M /trunk/doc/README.dev M /trunk/tests/memory.c M /trunk/tests/mpfr-test.h M /trunk/tests/terandom.c M /trunk/tests/tests.c M /trunk/tests/tgrandom.c M /trunk/tests/tnrandom.c M /trunk/tests/tset_str.c M /trunk/tests/tsum.c M /trunk/tools/mpfrlint Cleanup of memory allocation in the tests: * only tests_allocate, tests_reallocate and tests_free should be used (now exported instead of mpfr_default_allocate, etc.); * this is now mentioned in doc/README.dev; * added checks to tools/mpfrlint (heuristics as usual). Note: This follows the discussion at https://sympa.inria.fr/sympa/arc/mpfr/2015-12/msg00055.html and should solve these problems under MS Windows (mingw32), though this cleanup is more general than an attempt to fix a Windows issue. ------------------------------------------------------------------------ r9890 | zimmerma | 2016-01-29 10:11:08 +0000 (Fri, 29 Jan 2016) | 2 lines Changed paths: M /trunk/src/round_prec.c fixed case when prec > bn * GMP_NUMB_BITS and directed rounding ------------------------------------------------------------------------ r9889 | zimmerma | 2016-01-29 07:13:37 +0000 (Fri, 29 Jan 2016) | 2 lines Changed paths: M /trunk/tests/tcan_round.c typo ------------------------------------------------------------------------ r9888 | vlefevre | 2016-01-28 14:26:01 +0000 (Thu, 28 Jan 2016) | 1 line Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] Updated comment and corrected condition on prec. ------------------------------------------------------------------------ r9887 | vlefevre | 2016-01-28 13:56:53 +0000 (Thu, 28 Jan 2016) | 1 line Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] Updated comments. ------------------------------------------------------------------------ r9886 | vlefevre | 2016-01-28 13:27:09 +0000 (Thu, 28 Jan 2016) | 5 lines Changed paths: M /trunk/src/round_p.c [src/round_p.c] Added an assertion (similar to what was added to mpfr_can_round_raw). This triggers failures, which could also be detected with MPFR_WANT_ASSERT >= 2, due to the fact that mpfr_div can internally generate a number that is not normalized before a rounding test. ------------------------------------------------------------------------ r9885 | vlefevre | 2016-01-28 13:17:52 +0000 (Thu, 28 Jan 2016) | 1 line Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] Updated comments. ------------------------------------------------------------------------ r9884 | zimmerma | 2016-01-28 12:17:32 +0000 (Thu, 28 Jan 2016) | 2 lines Changed paths: M /trunk/src/round_prec.c M /trunk/tests/tcan_round.c more work on mpfr_can_round ------------------------------------------------------------------------ r9883 | zimmerma | 2016-01-28 09:20:45 +0000 (Thu, 28 Jan 2016) | 2 lines Changed paths: M /trunk/src/exp3.c M /trunk/src/round_prec.c M /trunk/tests/tcan_round.c fixed bug in mpfr_can_round for input = 2^k ------------------------------------------------------------------------ r9882 | vlefevre | 2016-01-27 16:24:48 +0000 (Wed, 27 Jan 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Replaced "Rounding Related Functions" by "Rounding-Related Functions" (thanks to Keith Briggs for the remark). ------------------------------------------------------------------------ r9881 | vlefevre | 2016-01-27 16:05:28 +0000 (Wed, 27 Jan 2016) | 3 lines Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] Added tests for powers of two. This triggers errors. I may have done mistakes, but at least x = 2^32, j = 32, r1=MPFR_RNDN, r2=MPFR_RNDN seems buggy. ------------------------------------------------------------------------ r9880 | zimmerma | 2016-01-27 15:12:56 +0000 (Wed, 27 Jan 2016) | 2 lines Changed paths: M /trunk/examples/can_round.c simplified ------------------------------------------------------------------------ r9879 | zimmerma | 2016-01-27 14:28:25 +0000 (Wed, 27 Jan 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi another detail ------------------------------------------------------------------------ r9878 | vlefevre | 2016-01-27 14:27:26 +0000 (Wed, 27 Jan 2016) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Corrected mpfr_can_round description again as the possible difference is on 0+ = 2^(emin-1), not about overflow. Let's just say "assuming an unbounded exponent range". ------------------------------------------------------------------------ r9877 | vlefevre | 2016-01-27 13:57:12 +0000 (Wed, 27 Jan 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Corrected mpfr_can_round description (about overflow). ------------------------------------------------------------------------ r9876 | zimmerma | 2016-01-27 13:43:16 +0000 (Wed, 27 Jan 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi yet another improvement ------------------------------------------------------------------------ r9875 | zimmerma | 2016-01-27 13:37:09 +0000 (Wed, 27 Jan 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi improved documentation ------------------------------------------------------------------------ r9874 | vlefevre | 2016-01-27 13:24:42 +0000 (Wed, 27 Jan 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Clarified change in r9873. ------------------------------------------------------------------------ r9873 | zimmerma | 2016-01-27 12:48:07 +0000 (Wed, 27 Jan 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi improve documentation of mpfr_can_round ------------------------------------------------------------------------ r9872 | zimmerma | 2016-01-27 12:03:22 +0000 (Wed, 27 Jan 2016) | 2 lines Changed paths: M /trunk/examples/can_round.c also print the rounded value ------------------------------------------------------------------------ r9871 | zimmerma | 2016-01-27 11:15:01 +0000 (Wed, 27 Jan 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi added pointer to examples/can_round.c ------------------------------------------------------------------------ r9870 | vlefevre | 2016-01-27 10:51:08 +0000 (Wed, 27 Jan 2016) | 2 lines Changed paths: M /trunk/examples/can_round.c [examples/can_round.c] Removed the useless #include <gmp.h> and replaced the internal mpfr_dump by mpfr_printf. ------------------------------------------------------------------------ r9869 | zimmerma | 2016-01-27 10:50:12 +0000 (Wed, 27 Jan 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi improved documentation of mpfr_can_round ------------------------------------------------------------------------ r9868 | zimmerma | 2016-01-27 10:44:29 +0000 (Wed, 27 Jan 2016) | 2 lines Changed paths: M /trunk/Makefile.am A /trunk/examples/can_round.c added example on how to use mpfr_can_round ------------------------------------------------------------------------ r9865 | zimmerma | 2016-01-21 21:50:49 +0000 (Thu, 21 Jan 2016) | 2 lines Changed paths: M /trunk/TODO mention mpfr_set/get_decimal128 for the future (low priority for now) ------------------------------------------------------------------------ r9864 | vlefevre | 2016-01-21 15:43:35 +0000 (Thu, 21 Jan 2016) | 1 line Changed paths: M /trunk/src/round_p.c [src/round_p.c] Code formatting. ------------------------------------------------------------------------ r9863 | zimmerma | 2016-01-21 13:12:33 +0000 (Thu, 21 Jan 2016) | 2 lines Changed paths: M /trunk/TODO added remark about Ei vs E1 ------------------------------------------------------------------------ r9861 | vlefevre | 2016-01-21 09:13:26 +0000 (Thu, 21 Jan 2016) | 1 line Changed paths: M /trunk/tests/tsqrt.c [tests/tsqrt.c] Improved bug20160120. ------------------------------------------------------------------------ r9859 | vlefevre | 2016-01-21 00:31:32 +0000 (Thu, 21 Jan 2016) | 2 lines Changed paths: M /trunk/tests/tsqrt.c [tests/tsqrt.c] In bug20160120, check the validity of the result with mpfr_check first, because the mpfr_sqrt was generating invalid data. ------------------------------------------------------------------------ r9858 | zimmerma | 2016-01-20 21:08:21 +0000 (Wed, 20 Jan 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c M /trunk/tests/tsqrt.c fixed bug in mpfr_sqrt reported by Fredrik Johansson ------------------------------------------------------------------------ r9857 | zimmerma | 2016-01-20 17:05:02 +0000 (Wed, 20 Jan 2016) | 2 lines Changed paths: M /trunk/tests/tsqrt.c added test case for bug reported by Fredrik Johansson ------------------------------------------------------------------------ r9856 | zimmerma | 2016-01-20 15:36:35 +0000 (Wed, 20 Jan 2016) | 2 lines Changed paths: M /trunk/src/zeta.c added FIXME ------------------------------------------------------------------------ r9854 | vlefevre | 2016-01-20 15:25:01 +0000 (Wed, 20 Jan 2016) | 1 line Changed paths: M /trunk/tests/tzeta.c [tests/tzeta.c] Added casts for printf. ------------------------------------------------------------------------ r9853 | vlefevre | 2016-01-20 15:19:23 +0000 (Wed, 20 Jan 2016) | 2 lines Changed paths: M /trunk/tests/tzeta.c [tests/tzeta.c] Some corrections. Made the input value of the latest test clear (avoiding a long string at the same time). ------------------------------------------------------------------------ r9852 | zimmerma | 2016-01-20 15:03:30 +0000 (Wed, 20 Jan 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex M /trunk/src/zeta.c M /trunk/tests/tzeta.c fixed bug for zeta(s) with s near an even negative integer ------------------------------------------------------------------------ r9851 | vlefevre | 2016-01-20 14:52:31 +0000 (Wed, 20 Jan 2016) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Instructions on how to cross-compile MPFR for MinGW (i586-mingw32msvc) and test it under Wine. ------------------------------------------------------------------------ r9850 | vlefevre | 2016-01-20 14:27:43 +0000 (Wed, 20 Jan 2016) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Typo. ------------------------------------------------------------------------ r9848 | vlefevre | 2016-01-20 13:52:38 +0000 (Wed, 20 Jan 2016) | 8 lines Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Improved the generic tests in order to trigger the mpfr_jn bug found by Fredrik Johansson (r9841) and potential similar bugs: For half cases, the precision of the inputs was modified to be smaller than the base precision (for the result). Here, this rule is changed so that if the base precision is small (< 16), then the precision of the inputs is chosen to be significantly *larger* than the base precision in general. Note: With this improvement, both tj0 and tj1 fail in r9840. ------------------------------------------------------------------------ r9847 | zimmerma | 2016-01-20 10:11:48 +0000 (Wed, 20 Jan 2016) | 2 lines Changed paths: M /trunk/TODO added references ------------------------------------------------------------------------ r9846 | zimmerma | 2016-01-20 09:58:51 +0000 (Wed, 20 Jan 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex added section about gamma_inc ------------------------------------------------------------------------ r9844 | zimmerma | 2016-01-20 08:54:09 +0000 (Wed, 20 Jan 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex M /trunk/src/jyn_asympt.c M /trunk/tests/tj0.c fixed bug found by Fredrik Johansson ------------------------------------------------------------------------ r9843 | zimmerma | 2016-01-20 08:11:55 +0000 (Wed, 20 Jan 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi added reference for eint ------------------------------------------------------------------------ r9842 | vlefevre | 2016-01-20 02:57:40 +0000 (Wed, 20 Jan 2016) | 1 line Changed paths: M /trunk/tests/tj0.c [tests/tj0.c] Avoid mpfr_set_d. ------------------------------------------------------------------------ r9841 | zimmerma | 2016-01-19 21:53:16 +0000 (Tue, 19 Jan 2016) | 2 lines Changed paths: M /trunk/tests/tj0.c added bug found by Fredrik Johansson in mpfr_j0 ------------------------------------------------------------------------ r9840 | zimmerma | 2016-01-19 21:25:55 +0000 (Tue, 19 Jan 2016) | 2 lines Changed paths: M /trunk/NEWS added mpfr_gamma_inc ------------------------------------------------------------------------ r9839 | vlefevre | 2016-01-19 15:28:24 +0000 (Tue, 19 Jan 2016) | 1 line Changed paths: M /trunk/src/gamma_inc.c [src/gamma_inc.c] Use MPFR_ARE_SINGULAR. ------------------------------------------------------------------------ r9838 | zimmerma | 2016-01-19 13:29:47 +0000 (Tue, 19 Jan 2016) | 2 lines Changed paths: M /trunk/src/gamma_inc.c deal with the case where one of a or x is not regular ------------------------------------------------------------------------ r9837 | vlefevre | 2016-01-19 09:59:16 +0000 (Tue, 19 Jan 2016) | 1 line Changed paths: M /trunk/tools/nightly-test [tools/nightly-test] Corrected tests. ------------------------------------------------------------------------ r9835 | zimmerma | 2016-01-19 08:42:53 +0000 (Tue, 19 Jan 2016) | 2 lines Changed paths: M /trunk/TODO added reference ------------------------------------------------------------------------ r9834 | zimmerma | 2016-01-18 13:41:18 +0000 (Mon, 18 Jan 2016) | 2 lines Changed paths: M /trunk/TODO added the incomplete beta function ------------------------------------------------------------------------ r9833 | zimmerma | 2016-01-18 08:50:53 +0000 (Mon, 18 Jan 2016) | 2 lines Changed paths: M /trunk/TODO incomplete Gamma is now available ------------------------------------------------------------------------ r9832 | zimmerma | 2016-01-18 08:28:50 +0000 (Mon, 18 Jan 2016) | 2 lines Changed paths: M /trunk/tools/nightly-test switch to bash and add --enable-decimal-float ------------------------------------------------------------------------ r9831 | zimmerma | 2016-01-18 08:25:25 +0000 (Mon, 18 Jan 2016) | 2 lines Changed paths: M /trunk/doc/mini-gmp minor modification of documentation for mini-gmp ------------------------------------------------------------------------ r9830 | zimmerma | 2016-01-18 08:23:53 +0000 (Mon, 18 Jan 2016) | 2 lines Changed paths: M /trunk/Makefile.am added target "make bench" ------------------------------------------------------------------------ r9829 | zimmerma | 2016-01-17 19:27:09 +0000 (Sun, 17 Jan 2016) | 2 lines Changed paths: M /trunk/tests/tgamma.c M /trunk/tests/tgamma_inc.c allow tgamma x prec to print gamma(x) to prec bits ------------------------------------------------------------------------ r9828 | vlefevre | 2016-01-17 01:05:44 +0000 (Sun, 17 Jan 2016) | 1 line Changed paths: M /trunk/tests [tests] Added tgamma_inc to svn:ignore property. ------------------------------------------------------------------------ r9827 | vlefevre | 2016-01-17 00:55:54 +0000 (Sun, 17 Jan 2016) | 1 line Changed paths: M /trunk/TODO TODO update. ------------------------------------------------------------------------ r9826 | vlefevre | 2016-01-17 00:48:16 +0000 (Sun, 17 Jan 2016) | 1 line Changed paths: M /trunk/src/fmma.c [src/fmma.c] Removed trailing spaces. ------------------------------------------------------------------------ r9825 | vlefevre | 2016-01-17 00:46:30 +0000 (Sun, 17 Jan 2016) | 1 line Changed paths: M /trunk/tests/tgamma_inc.c [tests/tgamma_inc.c] Portability correction. ------------------------------------------------------------------------ r9824 | vlefevre | 2016-01-17 00:43:48 +0000 (Sun, 17 Jan 2016) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Improved a comment. ------------------------------------------------------------------------ r9823 | vlefevre | 2016-01-17 00:37:32 +0000 (Sun, 17 Jan 2016) | 1 line Changed paths: M /trunk/src/gamma_inc.c [src/gamma_inc.c] Various corrections. ------------------------------------------------------------------------ r9822 | zimmerma | 2016-01-16 09:37:34 +0000 (Sat, 16 Jan 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am A /trunk/src/gamma_inc.c M /trunk/src/mpfr.h M /trunk/tests/Makefile.am M /trunk/tests/tgamma.c A /trunk/tests/tgamma_inc.c first version of incomplete Gamma function (work in progress) ------------------------------------------------------------------------ r9821 | vlefevre | 2016-01-16 09:24:34 +0000 (Sat, 16 Jan 2016) | 1 line Changed paths: M /trunk/TODO TODO for correctly rounded polynomials (like fmma). ------------------------------------------------------------------------ r9820 | zimmerma | 2016-01-16 08:29:34 +0000 (Sat, 16 Jan 2016) | 2 lines Changed paths: M /trunk/src/fmma.c M /trunk/tests/tfmma.c try to fix bugs in fmma (work in progress) ------------------------------------------------------------------------ r9819 | vlefevre | 2016-01-15 16:30:07 +0000 (Fri, 15 Jan 2016) | 2 lines Changed paths: M /trunk/src/log_ui.c [src/log_ui.c] Added a FIXME comment: mpfr_log_ui is much slower than mpfr_log on some values of n, e.g. around ULONG_MAX/3. ------------------------------------------------------------------------ r9818 | vlefevre | 2016-01-15 16:18:35 +0000 (Fri, 15 Jan 2016) | 1 line Changed paths: M /trunk/tests/tlog_ui.c [tests/tlog_ui.c] Added tests for n around ULONG_MAX/3. ------------------------------------------------------------------------ r9817 | vlefevre | 2016-01-15 16:06:29 +0000 (Fri, 15 Jan 2016) | 1 line Changed paths: M /trunk/src/log_ui.c [src/log_ui.c] Fixed the computation of p. ------------------------------------------------------------------------ r9816 | vlefevre | 2016-01-15 15:13:07 +0000 (Fri, 15 Jan 2016) | 4 lines Changed paths: M /trunk/src/log_ui.c [src/log_ui.c] Removed a mpz_sub_ui(...,1) to match the comment. This -1 came from the previous code, but this doesn't change the value of k because a multiple of 3 cannot be a power of 2. Also renamed a variable. ------------------------------------------------------------------------ r9815 | vlefevre | 2016-01-15 15:07:32 +0000 (Fri, 15 Jan 2016) | 3 lines Changed paths: M /trunk/src/log_ui.c [src/log_ui.c] Compute the value of k without rounding (if n was larger than 2^53 or even 2^24 due to dynamic x87 precision, the result could be wrong) and overflow (3 * n doesn't always fit in a limb). ------------------------------------------------------------------------ r9814 | vlefevre | 2016-01-15 11:30:54 +0000 (Fri, 15 Jan 2016) | 1 line Changed paths: M /trunk/src/log_ui.c [src/log_ui.c] Added assertions. ------------------------------------------------------------------------ r9813 | vlefevre | 2016-01-15 11:14:08 +0000 (Fri, 15 Jan 2016) | 1 line Changed paths: M /trunk/tests/tlog_ui.c [tests/tlog_ui.c] Added tests for n around LONG_MAX. ------------------------------------------------------------------------ r9812 | vlefevre | 2016-01-15 09:59:26 +0000 (Fri, 15 Jan 2016) | 1 line Changed paths: M /trunk/src/log_ui.c [src/log_ui.c] Replaced a comment by an assertion. ------------------------------------------------------------------------ r9811 | vlefevre | 2016-01-15 09:52:33 +0000 (Fri, 15 Jan 2016) | 1 line Changed paths: M /trunk/src/log_ui.c [src/log_ui.c] Added a FIXME (integer overflow for large n). ------------------------------------------------------------------------ r9810 | vlefevre | 2016-01-15 09:50:55 +0000 (Fri, 15 Jan 2016) | 14 lines Changed paths: M /trunk/tests/tlog_ui.c [tests/tlog_ui.c] * In the loop, do not test n = 0 and n = 1, because mpfr_can_round always fails for these values, so that the test is pointless. * Check that mpfr_can_round no longer fails (this is possible as we are not doing random tests, i.e. the tested values are known); the additional precision for y had to be increased. * Also test large values of n (ULONG_MAX down to ULONG_MAX-19). When GCC's run-time sanitizer -fsanitize=undefined -fno-sanitize-recover is used, it signals an error for large values of n. * The reference values y are obtained with mpfr_log instead of mpfr_log_ui: indeed we need a different implementation from the tested function, otherwise only the rounding is tested! Without GCC's run-time sanitizer, this shows that mpfr_log_ui is buggy for large values of n. ------------------------------------------------------------------------ r9809 | vlefevre | 2016-01-15 02:26:55 +0000 (Fri, 15 Jan 2016) | 1 line Changed paths: M /trunk/tests [tests] Added tfmma and tlog_ui to svn:ignore property. ------------------------------------------------------------------------ r9808 | vlefevre | 2016-01-15 02:21:43 +0000 (Fri, 15 Jan 2016) | 2 lines Changed paths: M /trunk/src/fmma.c [src/fmma.c] Use MPFR_SET_EXP to get an assertion failure in case of out-of-range exponent instead of uncontrolled behavior. ------------------------------------------------------------------------ r9807 | vlefevre | 2016-01-15 02:11:51 +0000 (Fri, 15 Jan 2016) | 1 line Changed paths: M /trunk/tests/tfmma.c [tests/tfmma.c] Added tests that trigger an error. ------------------------------------------------------------------------ r9806 | vlefevre | 2016-01-15 01:39:44 +0000 (Fri, 15 Jan 2016) | 1 line Changed paths: M /trunk/src/fma.c [src/fma.c] Added a comment for the new code. ------------------------------------------------------------------------ r9805 | vlefevre | 2016-01-14 23:06:22 +0000 (Thu, 14 Jan 2016) | 1 line Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] Tests in lexicographic order. ------------------------------------------------------------------------ r9804 | zimmerma | 2016-01-14 20:46:59 +0000 (Thu, 14 Jan 2016) | 2 lines Changed paths: M /trunk/tests/reuse.c M /trunk/tests/tadd_d.c M /trunk/tests/taway.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdiv_d.c M /trunk/tests/tfmod.c M /trunk/tests/tfprintf.c M /trunk/tests/tinternals.c M /trunk/tests/tli2.c M /trunk/tests/tmodf.c M /trunk/tests/tmul_d.c M /trunk/tests/tpow_all.c M /trunk/tests/tprintf.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsub_d.c M /trunk/tests/tzeta_ui.c in tests, removed #if MPFR_VERSION >= MPFR_VERSION_NUM(2,x,y) ------------------------------------------------------------------------ r9803 | zimmerma | 2016-01-14 20:45:36 +0000 (Thu, 14 Jan 2016) | 2 lines Changed paths: M /trunk/tests/Makefile.am forgot in last commit ------------------------------------------------------------------------ r9802 | zimmerma | 2016-01-14 20:43:39 +0000 (Thu, 14 Jan 2016) | 2 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am A /trunk/src/log_ui.c M /trunk/src/mpfr.h A /trunk/tests/tlog_ui.c added new function mpfr_log_ui ------------------------------------------------------------------------ r9801 | zimmerma | 2016-01-13 09:18:05 +0000 (Wed, 13 Jan 2016) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5-mpfr.cc adapted to 3- and 4-argument functions (using patch from Patrick Pelissier) ------------------------------------------------------------------------ r9800 | vlefevre | 2016-01-12 17:44:31 +0000 (Tue, 12 Jan 2016) | 1 line Changed paths: M /trunk/tests/tfmma.c [tests/tfmma.c] C++ compatibility. ------------------------------------------------------------------------ r9799 | vlefevre | 2016-01-12 17:39:15 +0000 (Tue, 12 Jan 2016) | 1 line Changed paths: M /trunk/tests/tfmma.c [tests/tfmma.c] Fixed type in printf. ------------------------------------------------------------------------ r9798 | vlefevre | 2016-01-12 17:36:29 +0000 (Tue, 12 Jan 2016) | 1 line Changed paths: M /trunk/src/fmma.c [src/fmma.c] Replaced mp_ptr by mpfr_limb_ptr (as usual). ------------------------------------------------------------------------ r9797 | vlefevre | 2016-01-12 16:38:21 +0000 (Tue, 12 Jan 2016) | 1 line Changed paths: M /trunk/tests/tfmma.c Really replaced mpfr_printf by printf. ------------------------------------------------------------------------ r9796 | zimmerma | 2016-01-12 15:50:48 +0000 (Tue, 12 Jan 2016) | 2 lines Changed paths: M /trunk/src/fmma.c give copyright to FSF ------------------------------------------------------------------------ r9795 | zimmerma | 2016-01-12 14:13:09 +0000 (Tue, 12 Jan 2016) | 2 lines Changed paths: M /trunk/tests/tfmma.c replaced mpfr_printf calls ------------------------------------------------------------------------ r9794 | zimmerma | 2016-01-12 14:12:52 +0000 (Tue, 12 Jan 2016) | 2 lines Changed paths: M /trunk/src/fmma.c changed copyright (I'm the sole author of this part of the code) ------------------------------------------------------------------------ r9793 | zimmerma | 2016-01-12 12:29:04 +0000 (Tue, 12 Jan 2016) | 2 lines Changed paths: A /trunk/src/fmma.c A /trunk/tests/tfmma.c forgot two files ------------------------------------------------------------------------ r9792 | vlefevre | 2016-01-12 12:13:20 +0000 (Tue, 12 Jan 2016) | 1 line Changed paths: M /trunk/src/fma.c [src/fma.c] C89 compatibility correction. ------------------------------------------------------------------------ r9791 | vlefevre | 2016-01-12 12:00:23 +0000 (Tue, 12 Jan 2016) | 1 line Changed paths: M /trunk/src/fma.c [src/fma.c] Replaced mp_ptr by mpfr_limb_ptr (as usual). ------------------------------------------------------------------------ r9788 | zimmerma | 2016-01-10 21:39:53 +0000 (Sun, 10 Jan 2016) | 4 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am M /trunk/src/fma.c M /trunk/src/mpfr.h M /trunk/tests/Makefile.am M /trunk/tools/mbench/mfv5-mpfr.cc speedup in mpfr_fma and mpfr_fms new functions mpfr_fmma and mpfr_fmms modified mbench/fma to compute b*c+c instead of b*b+c (b*c+d would be better) ------------------------------------------------------------------------ r9787 | vlefevre | 2016-01-08 15:22:26 +0000 (Fri, 08 Jan 2016) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added info about the parallel test harness. ------------------------------------------------------------------------ r9786 | vlefevre | 2016-01-08 15:17:02 +0000 (Fri, 08 Jan 2016) | 4 lines Changed paths: M /trunk/doc/README.dev M /trunk/tests/Makefile.am Updated documentation related to valgrind or other wrapper for the tests due to the fact that Automake 1.13+ generates a parallel test harness. * doc/README.dev: replaced VALGRIND by LOG_COMPILER. * tests/Makefile.am: added a comment mentioning LOG_COMPILER. ------------------------------------------------------------------------ r9784 | zimmerma | 2016-01-05 07:58:46 +0000 (Tue, 05 Jan 2016) | 2 lines Changed paths: M /trunk/tools/bench/mpfrbench.c mpfrbench: use clock() when getrusage() is not available ------------------------------------------------------------------------ r9783 | vlefevre | 2016-01-02 01:32:58 +0000 (Sat, 02 Jan 2016) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] Added a note about tuning MPFR: For the current GMP version (6.1.0), a Unix-like OS is required. ------------------------------------------------------------------------ r9780 | vlefevre | 2016-01-01 02:17:19 +0000 (Fri, 01 Jan 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r9779 | vlefevre | 2016-01-01 02:15:38 +0000 (Fri, 01 Jan 2016) | 5 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/faq.xsl M /trunk/doc/mpfr.texi M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.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/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c M /trunk/src/amd/amdfam10/mparam.h M /trunk/src/amd/athlon/mparam.h M /trunk/src/amd/k8/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/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/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/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/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_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_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/hppa/mparam.h M /trunk/src/hypot.c M /trunk/src/ia64/mparam.h 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/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/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_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/neg.c M /trunk/src/next.c M /trunk/src/nrandom.c M /trunk/src/out_str.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/powerpc32/mparam.h 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_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/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/core2/mparam.h M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/corei5/mparam.h M /trunk/src/x86_64/pentium4/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.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/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/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/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/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_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/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/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/tround_prec.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/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/ck-copyright-notice M /trunk/tools/ck-mparam 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 2016 with perl -pi -e 's/ (\d{4}-)?(2015)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh (the m4 and tools/mbench directories were not modified). Removed 2015 from the example in the doc/README.dev file. ------------------------------------------------------------------------ r9778 | vlefevre | 2015-12-28 23:51:22 +0000 (Mon, 28 Dec 2015) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Fixed MPFR_WIN_THREAD_SAFE_DLL definition (patch by Patrick Pélissier). ------------------------------------------------------------------------ r9777 | vlefevre | 2015-12-27 23:56:07 +0000 (Sun, 27 Dec 2015) | 6 lines Changed paths: M /trunk/tests/mpf_compat.h [tests/mpf_compat.h] Fix: File "inp_str.dat" could not be opened with builds outside the source directory (objdir different from srcdir). This did not generate an error, but prevented a test from being done. Now that mpfr-test.h is included via the mpf_compat.c or mpfr_compat.c file (there does not seem to be a valid reason not to include it), we can use src_fopen to open the file in all cases. ------------------------------------------------------------------------ r9775 | vlefevre | 2015-12-27 13:54:59 +0000 (Sun, 27 Dec 2015) | 1 line Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tests.c M /trunk/tests/tversion.c [tests] In tversion.c, output the locale too (if supported). ------------------------------------------------------------------------ r9774 | vlefevre | 2015-12-27 13:50:21 +0000 (Sun, 27 Dec 2015) | 1 line Changed paths: M /trunk/tests/tinp_str.c [tests/tinp_str.c] Added a blank line. ------------------------------------------------------------------------ r9773 | vlefevre | 2015-12-27 13:31:56 +0000 (Sun, 27 Dec 2015) | 4 lines Changed paths: M /trunk/tests/inp_str.dat M /trunk/tests/mpf_compat.h M /trunk/tests/tinp_str.c [tests] * inp_str.dat: added a locale-independent line at the beginning of the file (useful for mpf_compat). * mpf_compat.h, tinp_str.c: update because of this change. ------------------------------------------------------------------------ r9772 | vlefevre | 2015-12-27 11:51:58 +0000 (Sun, 27 Dec 2015) | 3 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] Improved src_fopen description (do not use the term "src directory" because there is a directory named "src", but this is not what is referred here). ------------------------------------------------------------------------ r9771 | vlefevre | 2015-12-26 13:52:07 +0000 (Sat, 26 Dec 2015) | 2 lines Changed paths: M /trunk/tests/mpf_compat.h [tests/mpf_compat.h] Fix: changed "inp_str.data" to "inp_str.dat" due to the file rename in r8120 (otherwise nothing is tested). ------------------------------------------------------------------------ r9770 | vlefevre | 2015-12-26 11:41:11 +0000 (Sat, 26 Dec 2015) | 8 lines Changed paths: M /trunk/tests/mpf_compat.h [tests/mpf_compat.h] For mpf_set_str and mpf_init_set_str, avoid strings with ".", since for GMP the decimal separator is locale dependent (the tests can be run in non-C locales on purpose in order to detect issues in various locales), so that for the mpf_compat test, the conversion fails and the mpf value x is set to 0 (which can yield other problems, such as with mpf_div (y, x, x), which raises an exception). Note: this problem appeared in r9157, where tests_start_mpfr() was added to mpf_compat.h (the locale setting is done in this function). ------------------------------------------------------------------------ r9769 | zimmerma | 2015-12-18 08:24:39 +0000 (Fri, 18 Dec 2015) | 2 lines Changed paths: M /trunk/tests/mpfr-test.h patch from Patrick Pelissier (for MinGW) ------------------------------------------------------------------------ r9768 | vlefevre | 2015-12-15 07:47:43 +0000 (Tue, 15 Dec 2015) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Corrections for C++. ------------------------------------------------------------------------ r9767 | vlefevre | 2015-12-14 16:38:00 +0000 (Mon, 14 Dec 2015) | 1 line Changed paths: M /trunk/INSTALL Removed trailing spaces. ------------------------------------------------------------------------ r9766 | zimmerma | 2015-12-14 13:59:43 +0000 (Mon, 14 Dec 2015) | 2 lines Changed paths: M /trunk/INSTALL review by Rob (sisyphus1@optusnet.com.au) ------------------------------------------------------------------------ r9765 | zimmerma | 2015-12-14 11:55:44 +0000 (Mon, 14 Dec 2015) | 2 lines Changed paths: M /trunk/INSTALL removed obsolete parts (?) for MinGW ------------------------------------------------------------------------ r9764 | zimmerma | 2015-12-14 11:52:10 +0000 (Mon, 14 Dec 2015) | 2 lines Changed paths: M /trunk/INSTALL new text for Windows/Visual Studio/Visual C++ part contributed by Brian Gladman ------------------------------------------------------------------------ r9763 | vlefevre | 2015-12-14 11:12:18 +0000 (Mon, 14 Dec 2015) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Switch to UTF-8. ------------------------------------------------------------------------ r9762 | zimmerma | 2015-12-14 09:38:00 +0000 (Mon, 14 Dec 2015) | 2 lines Changed paths: M /trunk/INSTALL changes proposed by Alexander (sav_ix@ukr.net) ------------------------------------------------------------------------ r9761 | vlefevre | 2015-12-14 08:55:12 +0000 (Mon, 14 Dec 2015) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Correction. ------------------------------------------------------------------------ r9760 | zimmerma | 2015-12-14 08:47:26 +0000 (Mon, 14 Dec 2015) | 2 lines Changed paths: M /trunk/tests/tsum.c clock() should work everywhere ------------------------------------------------------------------------ r9759 | vlefevre | 2015-12-14 08:40:26 +0000 (Mon, 14 Dec 2015) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] The timing test from r9753 in POSIX-only. ------------------------------------------------------------------------ r9758 | vlefevre | 2015-12-14 08:02:45 +0000 (Mon, 14 Dec 2015) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r9757 | zimmerma | 2015-12-14 07:56:59 +0000 (Mon, 14 Dec 2015) | 2 lines Changed paths: M /trunk/INSTALL update INSTALL file ------------------------------------------------------------------------ r9756 | zimmerma | 2015-12-14 07:39:10 +0000 (Mon, 14 Dec 2015) | 2 lines Changed paths: M /trunk/INSTALL -D__USE_MINGW_ANSI_STDIO is needed for GMP only ------------------------------------------------------------------------ r9755 | vlefevre | 2015-12-11 16:46:48 +0000 (Fri, 11 Dec 2015) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Updated comment about overlapping between input and output. ------------------------------------------------------------------------ r9754 | zimmerma | 2015-12-11 16:15:14 +0000 (Fri, 11 Dec 2015) | 2 lines Changed paths: M /trunk/doc/mpfr.texi document that (currently) mpfr_sum doesn't allow overlap ------------------------------------------------------------------------ r9753 | zimmerma | 2015-12-11 15:49:29 +0000 (Fri, 11 Dec 2015) | 2 lines Changed paths: M /trunk/tests/tsum.c timing test to compare mpfr_sum and naive algorithm (without correct rounding) ------------------------------------------------------------------------ r9751 | zimmerma | 2015-12-11 13:39:41 +0000 (Fri, 11 Dec 2015) | 2 lines Changed paths: M /trunk/INSTALL update wrt -D__USE_MINGW_ANSI_STDIO ------------------------------------------------------------------------ r9750 | zimmerma | 2015-12-11 13:24:51 +0000 (Fri, 11 Dec 2015) | 2 lines Changed paths: M /trunk/INSTALL note about MinGW and TLS support ------------------------------------------------------------------------ r9749 | zimmerma | 2015-12-11 08:54:39 +0000 (Fri, 11 Dec 2015) | 2 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c improving error message ------------------------------------------------------------------------ r9747 | zimmerma | 2015-12-10 20:59:26 +0000 (Thu, 10 Dec 2015) | 2 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/tests/tsprintf.c added comment and message for errors under MinGW ------------------------------------------------------------------------ r9745 | vlefevre | 2015-12-03 10:17:09 +0000 (Thu, 03 Dec 2015) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Updated a comment about clang and division by 0. ------------------------------------------------------------------------ r9742 | vlefevre | 2015-11-11 01:43:00 +0000 (Wed, 11 Nov 2015) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Update. ------------------------------------------------------------------------ r9741 | vlefevre | 2015-11-11 01:25:12 +0000 (Wed, 11 Nov 2015) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Update. ------------------------------------------------------------------------ r9740 | vlefevre | 2015-11-11 00:48:50 +0000 (Wed, 11 Nov 2015) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Minor correction. ------------------------------------------------------------------------ r9739 | vlefevre | 2015-11-10 17:00:22 +0000 (Tue, 10 Nov 2015) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Minor correction. ------------------------------------------------------------------------ r9738 | vlefevre | 2015-11-10 16:29:45 +0000 (Tue, 10 Nov 2015) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Minor correction. ------------------------------------------------------------------------ r9737 | vlefevre | 2015-11-10 15:59:51 +0000 (Tue, 10 Nov 2015) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Update. ------------------------------------------------------------------------ r9736 | vlefevre | 2015-11-10 13:12:45 +0000 (Tue, 10 Nov 2015) | 2 lines Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Clarification: avoid the word "iteration" for the loop over the inputs, when possible. ------------------------------------------------------------------------ r9735 | vlefevre | 2015-11-10 12:57:20 +0000 (Tue, 10 Nov 2015) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Update. ------------------------------------------------------------------------ r9734 | vlefevre | 2015-11-10 09:03:17 +0000 (Tue, 10 Nov 2015) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Update. ------------------------------------------------------------------------ r9733 | vlefevre | 2015-11-10 01:30:55 +0000 (Tue, 10 Nov 2015) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Update. ------------------------------------------------------------------------ r9732 | vlefevre | 2015-11-09 16:28:57 +0000 (Mon, 09 Nov 2015) | 2 lines Changed paths: M /trunk/src/sum.c [src/sum.c] Added a FIXME comment about the reuse of an input for the output. ------------------------------------------------------------------------ r9731 | vlefevre | 2015-11-06 23:17:31 +0000 (Fri, 06 Nov 2015) | 1 line Changed paths: M /trunk/NEWS M /trunk/configure.ac M /trunk/src/mpfr-gmp.h GMP 5.0.0 or newer is required (instead of 4.2.0). ------------------------------------------------------------------------ r9730 | vlefevre | 2015-11-06 15:11:12 +0000 (Fri, 06 Nov 2015) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Major and final update (complete rewrite). ------------------------------------------------------------------------ r9729 | vlefevre | 2015-11-06 02:49:03 +0000 (Fri, 06 Nov 2015) | 1 line Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Added a TODO. ------------------------------------------------------------------------ r9728 | vlefevre | 2015-11-06 02:16:50 +0000 (Fri, 06 Nov 2015) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Bug fixed (MPN_COPY_INCR instead of MPN_COPY_DECR). ------------------------------------------------------------------------ r9727 | vlefevre | 2015-11-05 15:55:00 +0000 (Thu, 05 Nov 2015) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Minor comment correction. ------------------------------------------------------------------------ r9726 | vlefevre | 2015-11-05 12:43:51 +0000 (Thu, 05 Nov 2015) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Added another assertion (checked). ------------------------------------------------------------------------ r9725 | vlefevre | 2015-11-05 12:12:14 +0000 (Thu, 05 Nov 2015) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Added assertions (checked). ------------------------------------------------------------------------ r9724 | vlefevre | 2015-11-04 10:29:01 +0000 (Wed, 04 Nov 2015) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Added a comment. ------------------------------------------------------------------------ r9723 | vlefevre | 2015-11-04 10:17:08 +0000 (Wed, 04 Nov 2015) | 2 lines Changed paths: M /trunk/TODO [TODO] In tsum, add testcases for mpfr_sum triggering the bug fixed in r9722. ------------------------------------------------------------------------ r9722 | vlefevre | 2015-11-04 10:07:06 +0000 (Wed, 04 Nov 2015) | 2 lines Changed paths: M /trunk/src/sum.c [src/sum.c] Bug fix: an error bound was too large to compute the sign of the secondary term (when the TMD occurs). ------------------------------------------------------------------------ r9721 | vlefevre | 2015-11-03 14:17:15 +0000 (Tue, 03 Nov 2015) | 2 lines Changed paths: M /trunk/tests/tstdint.c M /trunk/tests/tvalist.c [tests/{tstdint.c,tvalist.c}] Updated and improved comment about the test of partial + full <mpfr.h> inclusion. ------------------------------------------------------------------------ r9720 | vlefevre | 2015-11-03 11:17:16 +0000 (Tue, 03 Nov 2015) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] C code starting with # (preprocessor directives) must not be indented. ------------------------------------------------------------------------ r9718 | zimmerma | 2015-11-03 10:52:52 +0000 (Tue, 03 Nov 2015) | 2 lines Changed paths: M /trunk/configure.ac M /trunk/doc/mini-gmp M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-mini-gmp.h M /trunk/tests/tests.c M /trunk/tests/tstdint.c M /trunk/tests/tvalist.c M /trunk/tests/tversion.c simplify the configuration with mini-gmp ------------------------------------------------------------------------ r9717 | vlefevre | 2015-10-30 15:52:37 +0000 (Fri, 30 Oct 2015) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Updated comment for sum_raw(). ------------------------------------------------------------------------ r9716 | zimmerma | 2015-10-30 10:28:21 +0000 (Fri, 30 Oct 2015) | 2 lines Changed paths: M /trunk/src/mpfr-mini-gmp.h better definition of GMP_NUMB_BITS ------------------------------------------------------------------------ r9715 | zimmerma | 2015-10-29 18:55:09 +0000 (Thu, 29 Oct 2015) | 2 lines Changed paths: M /trunk/src/mulders.c update description of file ------------------------------------------------------------------------ r9710 | vlefevre | 2015-10-29 13:36:15 +0000 (Thu, 29 Oct 2015) | 1 line Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] Improved comment about the mpfr_divhigh_n_basecase bug. ------------------------------------------------------------------------ r9708 | zimmerma | 2015-10-29 12:29:44 +0000 (Thu, 29 Oct 2015) | 2 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr-mini-gmp.h M /trunk/tests/tabort_defalloc1.c M /trunk/tests/tabort_defalloc2.c M /trunk/tests/terandom_chisq.c M /trunk/tests/tnrandom_chisq.c M /trunk/tests/trandom_deviate.c more tests do work with mini-gmp (from GMP 6.1.0-rc1) ------------------------------------------------------------------------ r9707 | vlefevre | 2015-10-29 12:17:04 +0000 (Thu, 29 Oct 2015) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] For the tests on the source files, ignore everything related to mini-gmp, not just the src/mini-gmp.[ch] files. ------------------------------------------------------------------------ r9706 | vlefevre | 2015-10-29 12:06:19 +0000 (Thu, 29 Oct 2015) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": mention -DMPFR_TUNE_COVERAGE. ------------------------------------------------------------------------ r9705 | vlefevre | 2015-10-29 12:02:17 +0000 (Thu, 29 Oct 2015) | 1 line Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] Updated comment about the mpfr_divhigh_n_basecase bug. ------------------------------------------------------------------------ r9704 | zimmerma | 2015-10-29 09:44:03 +0000 (Thu, 29 Oct 2015) | 2 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c fixed replacement for mpn_neg (return value was wrong) ------------------------------------------------------------------------ r9703 | zimmerma | 2015-10-29 08:31:48 +0000 (Thu, 29 Oct 2015) | 2 lines Changed paths: M /trunk/doc/mini-gmp M /trunk/src/free_cache.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr-mini-gmp.h M /trunk/src/urandomb.c adapt for mini-gmp (from GMP 6.1.0-rc1) ------------------------------------------------------------------------ r9702 | zimmerma | 2015-10-29 06:57:07 +0000 (Thu, 29 Oct 2015) | 2 lines Changed paths: M /trunk/src/bernoulli.c M /trunk/src/div.c replace obsolete mpz_div_2exp function by mpz_xdiv_q_2exp ------------------------------------------------------------------------ r9701 | zimmerma | 2015-10-28 17:33:01 +0000 (Wed, 28 Oct 2015) | 2 lines Changed paths: M /trunk/doc/mini-gmp M /trunk/src/free_cache.c M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr-mini-gmp.h adapt mini-gmp stuff to GMP 6.1.0-rc1 ------------------------------------------------------------------------ r9700 | zimmerma | 2015-10-28 16:39:50 +0000 (Wed, 28 Oct 2015) | 2 lines Changed paths: M /trunk/src/const_euler.c replace obsolete mpz_div by mpz_tdiv_q ------------------------------------------------------------------------ r9699 | zimmerma | 2015-10-27 12:20:39 +0000 (Tue, 27 Oct 2015) | 3 lines Changed paths: M /trunk/src/mulders.c M /trunk/tests/tdiv.c fix bug reported by Ricky Farr (https://sympa.inria.fr/sympa/arc/mpfr/2015-10/msg00023.html) ------------------------------------------------------------------------ r9697 | vlefevre | 2015-10-22 14:34:29 +0000 (Thu, 22 Oct 2015) | 2 lines Changed paths: M /trunk/autogen.sh [autogen.sh] Restore the INSTALL file also if the process receives a usual signal (SIGHUP, SIGINT, SIGQUIT or SIGTERM). ------------------------------------------------------------------------ r9696 | vlefevre | 2015-10-22 12:37:52 +0000 (Thu, 22 Oct 2015) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Added a comment about compiler info. ------------------------------------------------------------------------ r9695 | vlefevre | 2015-10-22 12:25:43 +0000 (Thu, 22 Oct 2015) | 3 lines Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Instead of __GNUC__, __GNUC_MINOR__ and __GNUC_PATCHLEVEL__, output __VERSION__, which gives more information (for GCC development versions and ICC). ------------------------------------------------------------------------ r9694 | vlefevre | 2015-10-21 11:41:57 +0000 (Wed, 21 Oct 2015) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Updated comment for sum_raw(). ------------------------------------------------------------------------ r9693 | vlefevre | 2015-09-15 14:29:32 +0000 (Tue, 15 Sep 2015) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added a comment about mpfr_get_{si,ui,sj,uj} and flags. ------------------------------------------------------------------------ r9692 | vlefevre | 2015-09-15 14:02:41 +0000 (Tue, 15 Sep 2015) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r9691 | vlefevre | 2015-09-15 13:59:49 +0000 (Tue, 15 Sep 2015) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Changed "returned value" to "return value" when this is the value returned by the C function (synonymous, but sometimes less ambiguous). ------------------------------------------------------------------------ r9690 | vlefevre | 2015-09-15 13:55:46 +0000 (Tue, 15 Sep 2015) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] For r9689, "returned value" → "return value". ------------------------------------------------------------------------ r9689 | vlefevre | 2015-09-15 13:51:33 +0000 (Tue, 15 Sep 2015) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Completed the specification of mpfr_get_{si,ui,sj,uj} and mpfr_get_z (inexact flag, and returned value for mpfr_get_z). ------------------------------------------------------------------------ r9688 | vlefevre | 2015-09-15 12:16:15 +0000 (Tue, 15 Sep 2015) | 6 lines Changed paths: M /trunk/tests/tget_z.c [tests/tget_z.c] Fixed and improved the check_one() test. * The input value was modified at each iteration, giving z = 0 very quickly, so that not much was tested in practice; in particular, the third argument of mpz_fdiv_q_2exp in mpfr_get_z was never properly tested (since it has no effect for z = 0). * Added various tests of the flags. ------------------------------------------------------------------------ r9687 | vlefevre | 2015-09-15 09:25:20 +0000 (Tue, 15 Sep 2015) | 1 line Changed paths: M /trunk/tests/tget_z.c [tests/tget_z.c] Optimized the check_one() test. ------------------------------------------------------------------------ r9684 | vlefevre | 2015-09-10 20:54:35 +0000 (Thu, 10 Sep 2015) | 5 lines Changed paths: M /trunk 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/exceptions.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-thread.h M /trunk/src/set_dfl_prec.c M /trunk/src/set_rnd.c Merged the win-thread-safe-dll branch: support build as thread-safe DLL on Windows: changes from Stephan Tolksdorf https://gforge.inria.fr/tracker/download.php/136/619/19537/4980/changes.zip + a correction and some consistency checks. See MPFR bug 19537 on: https://gforge.inria.fr/tracker/index.php?func=detail&aid=19537&group_id=136&atid=619 ------------------------------------------------------------------------ r9675 | vlefevre | 2015-09-10 00:17:06 +0000 (Thu, 10 Sep 2015) | 1 line Changed paths: M /trunk/src/mpfr-impl.h M /trunk/tests/mpfr-test.h M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/tests/tsprintf.c Include config.h when need be. ------------------------------------------------------------------------ r9674 | vlefevre | 2015-09-07 09:15:01 +0000 (Mon, 07 Sep 2015) | 1 line Changed paths: M /trunk/TODO [TODO] Updated mpz_t caching item, suggesting mpz_init2 instead. ------------------------------------------------------------------------ r9673 | vlefevre | 2015-09-07 08:59:49 +0000 (Mon, 07 Sep 2015) | 5 lines Changed paths: M /trunk/TODO [TODO] Added: check whether mpz_t caching is necessary (this was committed in r8911). In short, timings should be done with -static (this wasn't clear), they may depend on the malloc implementation, and after a look at the source, the difference in the timings with mpz_t caching is surprising and should be explained. ------------------------------------------------------------------------ r9672 | vlefevre | 2015-09-04 10:02:57 +0000 (Fri, 04 Sep 2015) | 3 lines Changed paths: M /trunk/tools/ck-copyright-notice [tools/ck-copyright-notice] Check src/mparam_h.in instead of the generated (and not distributed) src/mparam.h file; this is also useful to avoid an error after running "make tune". ------------------------------------------------------------------------ r9671 | zimmerma | 2015-09-04 09:57:08 +0000 (Fri, 04 Sep 2015) | 2 lines Changed paths: M /trunk/tools/bench/Makefile.am distribute the mpfrbench README ------------------------------------------------------------------------ r9670 | zimmerma | 2015-09-04 09:48:35 +0000 (Fri, 04 Sep 2015) | 2 lines Changed paths: A /trunk/tools/bench/README add a README for mpfrbench ------------------------------------------------------------------------ r9669 | vlefevre | 2015-09-04 09:39:10 +0000 (Fri, 04 Sep 2015) | 1 line Changed paths: M /trunk/tune/tuneup.c More details in a comment about assertions via tuneup. ------------------------------------------------------------------------ r9668 | zimmerma | 2015-09-04 09:23:58 +0000 (Fri, 04 Sep 2015) | 2 lines Changed paths: M /trunk/tune/tuneup.c fixed failed assertion during "make tune" ------------------------------------------------------------------------ r9667 | vlefevre | 2015-08-25 22:10:40 +0000 (Tue, 25 Aug 2015) | 1 line Changed paths: M /trunk/tests/tget_z.c [tests/tget_z.c] Flags testing. ------------------------------------------------------------------------ r9666 | vlefevre | 2015-08-25 20:43:35 +0000 (Tue, 25 Aug 2015) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated a URL. ------------------------------------------------------------------------ r9663 | vlefevre | 2015-08-25 17:22:30 +0000 (Tue, 25 Aug 2015) | 1 line Changed paths: M /trunk/tests/tstdint.c [tests/tstdint.c] Support MPFR_PRINTF_MAXLM. ------------------------------------------------------------------------ r9662 | vlefevre | 2015-08-25 16:44:08 +0000 (Tue, 25 Aug 2015) | 1 line Changed paths: M /trunk/tests/tget_sj.c [tests/tget_sj.c] Support MPFR_PRINTF_MAXLM. ------------------------------------------------------------------------ r9661 | vlefevre | 2015-08-25 16:36:24 +0000 (Tue, 25 Aug 2015) | 1 line Changed paths: M /trunk/tests/tget_sj.c [tests/tget_sj.c] Typo. ------------------------------------------------------------------------ r9660 | vlefevre | 2015-08-25 16:24:23 +0000 (Tue, 25 Aug 2015) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Instead of checking whether the 'j' printf length modifier is working, try to find one that works. ------------------------------------------------------------------------ r9659 | vlefevre | 2015-08-25 15:17:22 +0000 (Tue, 25 Aug 2015) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Check whether the 'j' printf length modifier is working. ------------------------------------------------------------------------ r9658 | vlefevre | 2015-08-25 12:25:03 +0000 (Tue, 25 Aug 2015) | 1 line Changed paths: M /trunk/tests/tget_sj.c [tests/tget_sj.c] Improved check_erange (more flags testing). ------------------------------------------------------------------------ r9657 | vlefevre | 2015-08-25 11:45:22 +0000 (Tue, 25 Aug 2015) | 1 line Changed paths: M /trunk/tests/tget_sj.c [tests/tget_sj.c] Improved check_sj and check_uj even more. ------------------------------------------------------------------------ r9656 | vlefevre | 2015-08-25 11:31:08 +0000 (Tue, 25 Aug 2015) | 1 line Changed paths: M /trunk/tests/tget_sj.c [tests/tget_sj.c] Improved check_sj and check_uj (flags testing). ------------------------------------------------------------------------ r9655 | vlefevre | 2015-08-24 15:48:24 +0000 (Mon, 24 Aug 2015) | 1 line Changed paths: M /trunk/tests/tfits.c [tests/tfits.c] New tests at the limits of the types. ------------------------------------------------------------------------ r9654 | vlefevre | 2015-08-24 15:38:14 +0000 (Mon, 24 Aug 2015) | 2 lines Changed paths: M /trunk/tests/tfits.c [tests/tfits.c] For the mpfr_fits_{uintmax,intmax}_p functions, check that the flags are not modified and added tests of -Inf and -0. ------------------------------------------------------------------------ r9653 | vlefevre | 2015-08-24 15:23:55 +0000 (Mon, 24 Aug 2015) | 2 lines Changed paths: M /trunk/tests/tfits.c [tests/tfits.c] For the mpfr_fits_{u,s}{long,int,short}_p functions, check that the flags are not modified and added tests of -Inf and -0. ------------------------------------------------------------------------ r9652 | zimmerma | 2015-08-24 10:11:29 +0000 (Mon, 24 Aug 2015) | 2 lines Changed paths: M /trunk/src/mparam_h.in fixed the AMD K8 tuning (cf r8118) ------------------------------------------------------------------------ r9651 | vlefevre | 2015-08-24 06:44:57 +0000 (Mon, 24 Aug 2015) | 1 line Changed paths: M /trunk/tests/tset_si.c [tests/tset_si.c] Improved NaN mpfr_get_si / mpfr_get_ui test. ------------------------------------------------------------------------ r9650 | vlefevre | 2015-08-24 01:37:59 +0000 (Mon, 24 Aug 2015) | 3 lines Changed paths: M /trunk/src/fits_intmax.c M /trunk/src/fits_s.h M /trunk/src/fits_u.h [src/{fits_intmax.c,fits_s.h,fits_u.h}] Fixed mpfr_fits_* functions: the flags could be modified, which made the new mpfr_get_{si,ui} tests fail (tests/tset_si.c r9649). ------------------------------------------------------------------------ r9649 | vlefevre | 2015-08-24 01:23:30 +0000 (Mon, 24 Aug 2015) | 1 line Changed paths: M /trunk/tests/tset_si.c [tests/tset_si.c] Added mpfr_get_{si,ui} tests, including flags. ------------------------------------------------------------------------ r9648 | vlefevre | 2015-08-20 12:17:30 +0000 (Thu, 20 Aug 2015) | 3 lines Changed paths: M /trunk/src/mparam_h.in [src/mparam_h.in] Improved comment: __amd64__ is generic to all x86 processors with a 64-bit ABI (amd64, a.k.a. x86_64), thus suggest to move mparam.h files to more meaningful locations. ------------------------------------------------------------------------ r9645 | vlefevre | 2015-08-20 01:27:44 +0000 (Thu, 20 Aug 2015) | 4 lines Changed paths: M /trunk M /trunk/configure.ac [configure.ac] Added test for usability of gmp.h at link time (merged changeset r9644 from the 3.1 branch, with minor changes due to the fact that a known problem between GMP 4.1 and GCC 5 can no longer occur, now that we require GMP 4.2.0 or newer). ------------------------------------------------------------------------ r9642 | vlefevre | 2015-08-19 08:05:38 +0000 (Wed, 19 Aug 2015) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": mention abi-compliance-checker. ------------------------------------------------------------------------ r9638 | vlefevre | 2015-07-31 12:30:50 +0000 (Fri, 31 Jul 2015) | 3 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] Added an assertion (I get a build failure with gcc-snapshot 20150722-1 due to -Werror=array-bounds, but the code looks OK). Simplified test on: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67077 ------------------------------------------------------------------------ r9637 | zimmerma | 2015-07-31 07:22:03 +0000 (Fri, 31 Jul 2015) | 3 lines Changed paths: M /trunk/configure.ac M /trunk/src/mpfr-gmp.h M /trunk/src/sqrt.c remove usage of mpn_rootrem in mpfr_sqrt since now mpn_sqrtrem is faster (https://gmplib.org/list-archives/gmp-devel/2015-July/004074.html) ------------------------------------------------------------------------ r9636 | vlefevre | 2015-07-30 09:41:37 +0000 (Thu, 30 Jul 2015) | 1 line Changed paths: M /trunk/src/next.c [src/next.c] Added a note concerning the exceptions. ------------------------------------------------------------------------ r9632 | vlefevre | 2015-07-20 22:04:21 +0000 (Mon, 20 Jul 2015) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r9631 | vlefevre | 2015-07-20 21:56:04 +0000 (Mon, 20 Jul 2015) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Output MPFR_VERSION_STRING too. ------------------------------------------------------------------------ r9630 | vlefevre | 2015-07-20 21:49:28 +0000 (Mon, 20 Jul 2015) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Check and output additional mpfr_buildopt_* info. ------------------------------------------------------------------------ r9629 | vlefevre | 2015-07-20 15:59:51 +0000 (Mon, 20 Jul 2015) | 2 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h M /trunk/src/rint.c M /trunk/tests/trint.c Added mpfr_rint_roundeven and mpfr_roundeven functions, with documentation and tests. ------------------------------------------------------------------------ r9619 | vlefevre | 2015-07-16 12:43:22 +0000 (Thu, 16 Jul 2015) | 5 lines Changed paths: M /trunk/tests/tfrexp.c [tests/tfrexp.c] * Replaced each mpfr_get_exp occurrence by the internal MPFR_GET_EXP macro in order to make sure that an assertion failure is triggered in case of singular number (see also the comment added in r9618). * Fixed the remaining problem due to an overflow and infinite value. ------------------------------------------------------------------------ r9618 | vlefevre | 2015-07-16 12:32:33 +0000 (Thu, 16 Jul 2015) | 2 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Added a comment about the drawback of the mpfr_get_exp() macro, defined in addition to the function. ------------------------------------------------------------------------ r9617 | vlefevre | 2015-07-15 14:22:19 +0000 (Wed, 15 Jul 2015) | 2 lines Changed paths: M /trunk/tests/tfrexp.c [tests/tfrexp.c] Simplification: merged the tests on the ternary values, the returned MPFR values and the flags. ------------------------------------------------------------------------ r9616 | vlefevre | 2015-07-15 14:17:12 +0000 (Wed, 15 Jul 2015) | 4 lines Changed paths: M /trunk/src/div_2si.c M /trunk/src/div_2ui.c M /trunk/src/mul_2si.c [src/{div_2si.c,div_2ui.c,mul_2si.c}] Fixed some underflow cases in rounding to nearest when the exact result is -2^(emin-2), i.e. the middle of 0 and the minimum negative number in absolute value (the correction in r5517 was incorrect/incomplete). ------------------------------------------------------------------------ r9615 | vlefevre | 2015-07-15 13:48:37 +0000 (Wed, 15 Jul 2015) | 1 line Changed paths: M /trunk/src/exceptions.c [src/exceptions.c] Added logging for mpfr_underflow and mpfr_overflow. ------------------------------------------------------------------------ r9614 | vlefevre | 2015-07-15 13:35:53 +0000 (Wed, 15 Jul 2015) | 2 lines Changed paths: M /trunk/tests/tmul_2exp.c [tests/tmul_2exp.c] Extended the underflow() test to negative numbers, triggering a new bug. ------------------------------------------------------------------------ r9613 | vlefevre | 2015-07-15 08:24:21 +0000 (Wed, 15 Jul 2015) | 1 line Changed paths: M /trunk/src/frexp.c [src/frexp.c] Added a comment. ------------------------------------------------------------------------ r9609 | vlefevre | 2015-07-02 10:45:20 +0000 (Thu, 02 Jul 2015) | 3 lines Changed paths: M /trunk/tools/build-patch [tools/build-patch] Rebuild the mpfr.info file if mpfr.texi has been modified, in order to take it into account in the patch. This is needed since the mpfr.info file is distributed in the tarball. ------------------------------------------------------------------------ r9604 | vlefevre | 2015-07-02 00:17:00 +0000 (Thu, 02 Jul 2015) | 3 lines Changed paths: M /trunk M /trunk/tools/mpfrlint [tools/mpfrlint] Check a Texinfo rule (Section "Ending a Sentence") with common words that end with a capital letter. (merged changeset r9603 from the 3.1 branch) ------------------------------------------------------------------------ r9601 | vlefevre | 2015-06-28 09:28:30 +0000 (Sun, 28 Jun 2015) | 1 line Changed paths: M /trunk/TODO [TODO] Updated URL of TS 18661-4. ------------------------------------------------------------------------ r9600 | vlefevre | 2015-06-26 13:59:12 +0000 (Fri, 26 Jun 2015) | 1 line Changed paths: M /trunk/src/frexp.c [src/frexp.c] Handle internal overflow. ------------------------------------------------------------------------ r9599 | vlefevre | 2015-06-26 13:46:55 +0000 (Fri, 26 Jun 2015) | 1 line Changed paths: M /trunk/tests/tfrexp.c [tests/tfrexp.c] Forgot a "exit (1);". ------------------------------------------------------------------------ r9598 | vlefevre | 2015-06-26 08:06:17 +0000 (Fri, 26 Jun 2015) | 1 line Changed paths: M /trunk/tests/tmul_2exp.c [tests/tmul_2exp.c] Overflow test: more output info; improved code. ------------------------------------------------------------------------ r9597 | vlefevre | 2015-06-26 07:57:49 +0000 (Fri, 26 Jun 2015) | 3 lines Changed paths: M /trunk/src/mul_2si.c M /trunk/tests/tmul_2exp.c [src/mul_2si.c] Fixed overflow case when n = 0. [tests/tmul_2exp.c] In the overflow test, check mpfr_mul_2ui and mpfr_mul_2si too (mpfr_mul_2ui was OK). ------------------------------------------------------------------------ r9596 | vlefevre | 2015-06-26 07:42:49 +0000 (Fri, 26 Jun 2015) | 2 lines Changed paths: M /trunk/src/div_2si.c M /trunk/tests/tmul_2exp.c [src/div_2si.c] Fixed overflow case when n = 0. [tests/tmul_2exp.c] In the overflow test, check mpfr_div_2si too. ------------------------------------------------------------------------ r9595 | vlefevre | 2015-06-26 07:28:10 +0000 (Fri, 26 Jun 2015) | 2 lines Changed paths: M /trunk/src/div_2ui.c M /trunk/tests/tmul_2exp.c [src/div_2ui.c] Fixed overflow case (can occur only when n = 0). [tests/tmul_2exp.c] Completed the overflow test. ------------------------------------------------------------------------ r9594 | vlefevre | 2015-06-26 00:33:56 +0000 (Fri, 26 Jun 2015) | 2 lines Changed paths: M /trunk/tests/tfrexp.c [tests/tfrexp.c] Added tests (currently fail due to the mpfr_div_2ui unhandled-overflow bug). ------------------------------------------------------------------------ r9593 | vlefevre | 2015-06-26 00:23:19 +0000 (Fri, 26 Jun 2015) | 2 lines Changed paths: M /trunk/tests/tmul_2exp.c [tests/tmul_2exp.c] Added tests where mpfr_div_2ui overflows, which is currently not handled. ------------------------------------------------------------------------ r9592 | vlefevre | 2015-06-26 00:00:58 +0000 (Fri, 26 Jun 2015) | 2 lines Changed paths: M /trunk/src/frexp.c [src/frexp.c] Fixed a bug occurring when the current exponent range does not contain 0. ------------------------------------------------------------------------ r9591 | vlefevre | 2015-06-25 21:33:30 +0000 (Thu, 25 Jun 2015) | 1 line Changed paths: M /trunk/src/check.c [src/check.c] Typo in a comment. ------------------------------------------------------------------------ r9588 | vlefevre | 2015-06-19 22:57:07 +0000 (Fri, 19 Jun 2015) | 1 line Changed paths: M /trunk/tools/announce-text [tools/announce-text] Update due to recent InriaForge upgrade. ------------------------------------------------------------------------ r9581 | vlefevre | 2015-06-16 15:38:37 +0000 (Tue, 16 Jun 2015) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added a paragraph about the multiple use of MPFR. ------------------------------------------------------------------------ r9580 | vlefevre | 2015-06-16 15:08:45 +0000 (Tue, 16 Jun 2015) | 1 line Changed paths: M /trunk/TODO [TODO] Added: use symbol versioning. ------------------------------------------------------------------------ r9575 | vlefevre | 2015-06-12 15:30:27 +0000 (Fri, 12 Jun 2015) | 3 lines Changed paths: M /trunk/doc/faq.xsl [doc/faq.xsl] Remove the indent="no" to get the same behavior as before when using libxslt 1.1.27+. See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718535#10 ------------------------------------------------------------------------ r9572 | vlefevre | 2015-06-12 13:55:51 +0000 (Fri, 12 Jun 2015) | 2 lines Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Improved the new underflow tests (test_underflow3) to test FMA(-x,y,-z). ------------------------------------------------------------------------ r9569 | vlefevre | 2015-06-12 13:27:00 +0000 (Fri, 12 Jun 2015) | 1 line Changed paths: M /trunk/src/fma.c [src/fma.c] Completely fixed the scaling in case of underflow. ------------------------------------------------------------------------ r9568 | vlefevre | 2015-06-12 01:00:03 +0000 (Fri, 12 Jun 2015) | 3 lines Changed paths: M /trunk/src/fma.c [src/fma.c] Partially fixed the scaling in case of underflow, corresponding to the testcase from r9566. Double rounding is not handled yet (failure triggered by r9567). ------------------------------------------------------------------------ r9567 | vlefevre | 2015-06-12 00:55:09 +0000 (Fri, 12 Jun 2015) | 5 lines Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Improved the new underflow tests (test_underflow3) to yield some cases with double rounding when scaling: If the only fix in src/fma.c is to change the rounding mode of the last mpfr_div_2ui (computing s / 2^scale) to rnd_mode, a new failure appears for n = 2, k = 4, s = -1, MPFR_RNDN. ------------------------------------------------------------------------ r9566 | vlefevre | 2015-06-12 00:25:11 +0000 (Fri, 12 Jun 2015) | 2 lines Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Corrected the new underflow tests to really generate underflows, showing a bug in mpfr_fma. ------------------------------------------------------------------------ r9565 | vlefevre | 2015-06-12 00:10:19 +0000 (Fri, 12 Jun 2015) | 1 line Changed paths: M /trunk/src/fma.c [src/fma.c] Added log messages. ------------------------------------------------------------------------ r9564 | vlefevre | 2015-06-12 00:09:18 +0000 (Fri, 12 Jun 2015) | 2 lines Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] The code removed in r9560 was actually necessary, but do this in a better way. ------------------------------------------------------------------------ r9563 | vlefevre | 2015-06-11 23:51:48 +0000 (Thu, 11 Jun 2015) | 1 line Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Added other underflow tests. ------------------------------------------------------------------------ r9562 | vlefevre | 2015-06-11 23:13:22 +0000 (Thu, 11 Jun 2015) | 1 line Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Some improvements. ------------------------------------------------------------------------ r9561 | vlefevre | 2015-06-11 23:08:40 +0000 (Thu, 11 Jun 2015) | 1 line Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] GNU coding style. ------------------------------------------------------------------------ r9560 | vlefevre | 2015-06-11 23:05:51 +0000 (Thu, 11 Jun 2015) | 1 line Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Removed code that isn't necessary. ------------------------------------------------------------------------ r9557 | vlefevre | 2015-06-11 08:48:04 +0000 (Thu, 11 Jun 2015) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": mention -DMPFR_COV_CHECK and -DMPFR_ALLOCA_MAX=0 tests. ------------------------------------------------------------------------ r9553 | vlefevre | 2015-06-10 23:46:47 +0000 (Wed, 10 Jun 2015) | 1 line Changed paths: M /trunk/tests/trandom.c [tests/trandom.c] Cleaner test, avoiding the explicit use of mpfr_rands. ------------------------------------------------------------------------ r9551 | vlefevre | 2015-06-10 14:25:57 +0000 (Wed, 10 Jun 2015) | 3 lines Changed paths: M /trunk/tests/trandom.c [tests/trandom.c] Improved latest change, as some other test already assume a fixed PRNG with GMP >= 4.2.0 (now the value of the last random number of the test is checked). ------------------------------------------------------------------------ r9550 | vlefevre | 2015-06-10 13:59:09 +0000 (Wed, 10 Jun 2015) | 7 lines Changed paths: M /trunk/tests/trandom.c [tests/trandom.c] * Get a non-zero fixed-point number whose first 32 bits are 0 with the default GMP PRNG. This corresponds to the case cnt == 0 && k != 0 in src/urandomb.c (fixed in r8762) with the 32-bit ABI. * Output a warning (with a fatal error when the MPFR_COV_CHECK macro is defined) if one doesn't get such a number, probably because the GMP PRNG has changed. ------------------------------------------------------------------------ r9545 | vlefevre | 2015-06-10 10:25:56 +0000 (Wed, 10 Jun 2015) | 4 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] The bug fixed in r9540 actually came from r9014, which incorrectly replaced MPFR_EXP by MPFR_SET_EXP. So, restored the previous code (re-adding the assertion check), keeping my comment from r9540 to explain why we don't use MPFR_SET_EXP. ------------------------------------------------------------------------ r9544 | vlefevre | 2015-06-10 09:21:02 +0000 (Wed, 10 Jun 2015) | 5 lines Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Fixed overflow/underflow tests introduced in r9539: the tests were done in all rounding modes, but the code was incorrect if the exponent of the result depended on the rounding mode. So, the tests are now done only in the rounding mode previously selected. This should be sufficient to detect bugs. ------------------------------------------------------------------------ r9543 | vlefevre | 2015-06-10 08:48:24 +0000 (Wed, 10 Jun 2015) | 3 lines Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] For mpfr_lgamma and mpfr_lngamma, the exponent range was not restored in some cases (some large results). Bug introduced in r8917 (trunk only). ------------------------------------------------------------------------ r9542 | vlefevre | 2015-06-10 08:30:07 +0000 (Wed, 10 Jun 2015) | 9 lines Changed paths: M /trunk/src/cos.c M /trunk/src/sin.c [src/{cos.c,sin.c}] Fixed bug related to the exponent range, introduced in r6461 with the use of mpfr_sincos_fast. Details: For mpfr_sin, the exponent range was not restored, and restoring it before calling mpfr_sincos_fast as this was done for mpfr_cos did not work; indeed the source of this function shows that it needs an extended exponent range. So, changed both mpfr_cos and mpfr_sin to call mpfr_sincos_fast in the extended exponent range and restore the exponent range at the end, like in usual code. ------------------------------------------------------------------------ r9541 | vlefevre | 2015-06-10 08:14:01 +0000 (Wed, 10 Jun 2015) | 3 lines Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Check whether the exponent range has been modified by the tested function (which should never happen). This check triggers failures in tlgamma, tlngamma and tsin. ------------------------------------------------------------------------ r9540 | vlefevre | 2015-06-10 07:50:21 +0000 (Wed, 10 Jun 2015) | 3 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Fixed assertion failure in reduced exponent range. Note: This could happen only in very specific exponent ranges, in particular, which do not include the number 1. ------------------------------------------------------------------------ r9539 | vlefevre | 2015-06-10 07:38:24 +0000 (Wed, 10 Jun 2015) | 1 line Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Added overflow/underflow tests (→ 4 failed tests). ------------------------------------------------------------------------ r9523 | vlefevre | 2015-06-08 00:46:52 +0000 (Mon, 08 Jun 2015) | 4 lines Changed paths: M /trunk/src/zeta_ui.c M /trunk/tests/tzeta_ui.c [src/zeta_ui.c] * Support reduced exponent range for the generic case. * Added logging. [tests/tzeta_ui.c] Added tests in reduced exponent range. ------------------------------------------------------------------------ r9521 | vlefevre | 2015-06-08 00:27:37 +0000 (Mon, 08 Jun 2015) | 1 line Changed paths: M /trunk/src/add_ui.c [src/add_ui.c] Fixed format string in MPFR_LOG_FUNC. ------------------------------------------------------------------------ r9520 | vlefevre | 2015-06-07 22:17:00 +0000 (Sun, 07 Jun 2015) | 1 line Changed paths: M /trunk/tests/tzeta_ui.c [tests/tzeta_ui.c] Code simplification. ------------------------------------------------------------------------ r9519 | vlefevre | 2015-06-07 22:11:52 +0000 (Sun, 07 Jun 2015) | 2 lines Changed paths: M /trunk/tests/tzeta_ui.c [tests/tzeta_ui.c] Test zeta(0) in reduced exponent range and all rounding modes. ------------------------------------------------------------------------ r9518 | vlefevre | 2015-06-07 21:54:01 +0000 (Sun, 07 Jun 2015) | 2 lines Changed paths: M /trunk/src/zeta_ui.c M /trunk/tests/tzeta_ui.c [src/zeta_ui.c] Fixed zeta(0) in reduced exponent range. [tests/tzeta_ui.c] Added testcase. ------------------------------------------------------------------------ r9514 | vlefevre | 2015-06-05 01:30:20 +0000 (Fri, 05 Jun 2015) | 1 line Changed paths: M /trunk/src/ui_div.c M /trunk/src/ui_sub.c [src/{ui_div.c,ui_sub.c}] Correction for reduced exponent range. ------------------------------------------------------------------------ r9513 | vlefevre | 2015-06-05 01:21:49 +0000 (Fri, 05 Jun 2015) | 1 line Changed paths: M /trunk/tests/tui_sub.c [tests/tui_sub.c] Check overflow. ------------------------------------------------------------------------ r9512 | vlefevre | 2015-06-05 01:07:43 +0000 (Fri, 05 Jun 2015) | 1 line Changed paths: M /trunk/tests/tui_div.c [tests/tui_div.c] Check overflow. ------------------------------------------------------------------------ r9511 | vlefevre | 2015-06-05 00:29:07 +0000 (Fri, 05 Jun 2015) | 1 line Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Removed useless parentheses. ------------------------------------------------------------------------ r9510 | vlefevre | 2015-06-05 00:22:02 +0000 (Fri, 05 Jun 2015) | 1 line Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Special cases with unsigned long argument. ------------------------------------------------------------------------ r9509 | vlefevre | 2015-06-05 00:13:04 +0000 (Fri, 05 Jun 2015) | 1 line Changed paths: M /trunk/tests/tpow_all.c [tests/tpow_all.c] Better flags output in error message. ------------------------------------------------------------------------ r9508 | vlefevre | 2015-06-04 13:27:07 +0000 (Thu, 04 Jun 2015) | 2 lines Changed paths: M /trunk/src/set_q.c [src/set_q.c] Added missing MPFR_SAVE_EXPO_FREE in case of preliminary overflow or underflow (extreme cases). ------------------------------------------------------------------------ r9507 | vlefevre | 2015-06-04 13:23:35 +0000 (Thu, 04 Jun 2015) | 2 lines Changed paths: M /trunk/src/set_q.c [src/set_q.c] Replaced a "return" by MPFR_RET: this is at least needed in the extreme case cd != 0, and safer in general. ------------------------------------------------------------------------ r9506 | vlefevre | 2015-06-04 13:20:10 +0000 (Thu, 04 Jun 2015) | 1 line Changed paths: M /trunk/tests/tset_q.c [tests/tset_q.c] Check the flags. ------------------------------------------------------------------------ r9505 | vlefevre | 2015-06-04 11:19:31 +0000 (Thu, 04 Jun 2015) | 1 line Changed paths: M /trunk/src/mul_ui.c [src/mul_ui.c] Fixed bug in mpfr_mul_ui/si: the inexact flag wasn't set. ------------------------------------------------------------------------ r9504 | vlefevre | 2015-06-04 11:17:52 +0000 (Thu, 04 Jun 2015) | 2 lines Changed paths: M /trunk/tests/tadd_ui.c M /trunk/tests/tdiv_ui.c M /trunk/tests/tmul_ui.c M /trunk/tests/tsub_ui.c [tests/t{add,div,mul,sub}_ui.c] Replaced tgeneric_ui.c by tgeneric.c, showing a bug in mpfr_mul_ui (missing inexact flag). ------------------------------------------------------------------------ r9503 | vlefevre | 2015-06-04 11:02:39 +0000 (Thu, 04 Jun 2015) | 2 lines Changed paths: M /trunk/tests/tui_div.c M /trunk/tests/tui_sub.c [tests/{tui_div.c,tui_sub.c}] Added generic tests, yielding assertion failures (due to a reduced exponent range) when assertions are checked. ------------------------------------------------------------------------ r9502 | vlefevre | 2015-06-04 10:50:16 +0000 (Thu, 04 Jun 2015) | 4 lines Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Major clean-up, with some minor corrections. Added support for unsigned long argument, which can be the first or the second one (another intent is to replace tgeneric_ui.c, which does fewer tests concerning the flags). ------------------------------------------------------------------------ r9500 | vlefevre | 2015-06-04 10:08:05 +0000 (Thu, 04 Jun 2015) | 1 line Changed paths: M /trunk/tests/tdiv_d.c [tests/tdiv_d.c] Corrected the tested function for the generic tests. ------------------------------------------------------------------------ r9498 | vlefevre | 2015-06-04 10:03:18 +0000 (Thu, 04 Jun 2015) | 1 line Changed paths: M /trunk/tests/td_div.c [tests/td_div.c] Corrected the tested function for the generic tests. ------------------------------------------------------------------------ r9497 | vlefevre | 2015-06-04 02:17:10 +0000 (Thu, 04 Jun 2015) | 1 line Changed paths: M /trunk/tests/tui_sub.c [tests/tui_sub.c] Minor improvements. ------------------------------------------------------------------------ r9495 | vlefevre | 2015-06-04 02:03:41 +0000 (Thu, 04 Jun 2015) | 1 line Changed paths: M /trunk/tests/tgeneric_ui.c [tests/tgeneric_ui.c] Added missing \n. Minor improvements. ------------------------------------------------------------------------ r9494 | vlefevre | 2015-06-04 01:58:27 +0000 (Thu, 04 Jun 2015) | 1 line Changed paths: M /trunk/tests/tui_div.c [tests/tui_div.c] Minor improvements. ------------------------------------------------------------------------ r9492 | vlefevre | 2015-06-03 14:23:00 +0000 (Wed, 03 Jun 2015) | 1 line Changed paths: M /trunk/tests/trint.c [tests/trint.c] Corrected the description (copy-paste error in r9473). ------------------------------------------------------------------------ r9489 | vlefevre | 2015-06-03 12:03:05 +0000 (Wed, 03 Jun 2015) | 1 line Changed paths: M /trunk/src/rint.c [src/rint.c] Handle reduced exponent range. ------------------------------------------------------------------------ r9488 | vlefevre | 2015-06-03 11:48:05 +0000 (Wed, 03 Jun 2015) | 2 lines Changed paths: M /trunk/tests/trint.c [tests/trint.c] Extend basic_tests from [56,72] to [1,72] since i < 4 (|x| < 1) are special cases in the implementation. ------------------------------------------------------------------------ r9487 | vlefevre | 2015-06-03 11:40:21 +0000 (Wed, 03 Jun 2015) | 2 lines Changed paths: M /trunk/tests/trint.c [tests/trint.c] Also run BASIC_TEST in reduced exponent range (emin = emax = EXP(x)). ------------------------------------------------------------------------ r9486 | vlefevre | 2015-06-03 11:30:39 +0000 (Wed, 03 Jun 2015) | 2 lines Changed paths: M /trunk/tests/trint.c [tests/trint.c] Also run BASIC_TEST2 in reduced exponent range (emin = emax = EXP(x)). ------------------------------------------------------------------------ r9485 | vlefevre | 2015-06-03 00:45:28 +0000 (Wed, 03 Jun 2015) | 1 line Changed paths: M /trunk/src/rint.c [src/rint.c] Added a comment about the mpfr_rint_* functions. ------------------------------------------------------------------------ r9484 | vlefevre | 2015-06-03 00:32:23 +0000 (Wed, 03 Jun 2015) | 4 lines Changed paths: M /trunk/src/rint.c [src/rint.c] Simplified and fixed the mpfr_rint_* functions: in some corner cases, an intermediate overflow would not be propagated. No testcases added for this particular problem since huge precision numbers would be involved. ------------------------------------------------------------------------ r9482 | vlefevre | 2015-06-02 11:39:37 +0000 (Tue, 02 Jun 2015) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added description of the flags for the mpfr_rint, mpfr_ceil, mpfr_floor, mpfr_round, mpfr_trunc functions. ------------------------------------------------------------------------ r9481 | vlefevre | 2015-06-01 13:44:02 +0000 (Mon, 01 Jun 2015) | 1 line Changed paths: M /trunk/tests/trint.c [tests/trint.c] In the basic tests, test the flags. ------------------------------------------------------------------------ r9480 | vlefevre | 2015-05-31 09:58:46 +0000 (Sun, 31 May 2015) | 1 line Changed paths: M /trunk/tests/trint.c [tests/trint.c] Corrections for r9476 and r9477. ------------------------------------------------------------------------ r9478 | vlefevre | 2015-05-31 09:46:50 +0000 (Sun, 31 May 2015) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] For the gcc compiler, better choice of the -W flags when the selected language is C++ (e.g. when CC=g++). ------------------------------------------------------------------------ r9477 | vlefevre | 2015-05-29 15:22:19 +0000 (Fri, 29 May 2015) | 2 lines Changed paths: M /trunk/tests/trint.c [tests/trint.c] Added basic tests of the mpfr_{trunc,floor,ceil,round} functions. ------------------------------------------------------------------------ r9476 | vlefevre | 2015-05-29 11:26:20 +0000 (Fri, 29 May 2015) | 1 line Changed paths: M /trunk/tests/trint.c [tests/trint.c] Added basic tests of the mpfr_rint_* functions. ------------------------------------------------------------------------ r9474 | vlefevre | 2015-05-29 11:18:57 +0000 (Fri, 29 May 2015) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added blank lines to improve readability. ------------------------------------------------------------------------ r9473 | vlefevre | 2015-05-29 10:26:25 +0000 (Fri, 29 May 2015) | 2 lines Changed paths: M /trunk/tests/trint.c [tests/trint.c] Updated the description (test_generic_round is now tested, which wasn't done at all before). ------------------------------------------------------------------------ r9472 | vlefevre | 2015-05-29 10:24:17 +0000 (Fri, 29 May 2015) | 6 lines Changed paths: M /trunk/tests/trint.c [tests/trint.c] Added generic tests for the mpfr_rint_* functions. Since all numbers in ]0,1/2[ round to the same value, in order to avoid redundant tests, increased the TEST_RANDOM_EMIN value to -20 and set TEST_RANDOM_ALWAYS_SCALE to 1. Note: only these new tests generate an error if the change of the exponent range is no longer done in these mpfr_rint_* functions. ------------------------------------------------------------------------ r9471 | vlefevre | 2015-05-29 10:19:18 +0000 (Fri, 29 May 2015) | 10 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tests.c M /trunk/tests/tfprintf.c M /trunk/tests/tgeneric.c M /trunk/tests/tprintf.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsum.c [tests] Added always_scale argument (boolean) to tests_default_random() so that when it is true, scaling is always performed on random numbers generated by mpfr_urandomb(), instead of preferring numbers of the order of magnitude of 1 for half outputs. This will be useful for mpfr_rint_* tests. For tgeneric.c, the value of this argument is controlled by a new macro TEST_RANDOM_ALWAYS_SCALE (0 by default, which corresponds to the current behavior). For the other tests that call tests_default_random(), the argument is set to 0, so that the behavior remains the same. ------------------------------------------------------------------------ r9469 | vlefevre | 2015-05-29 08:54:33 +0000 (Fri, 29 May 2015) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added a remark concerning the mpfr_rint_* functions. ------------------------------------------------------------------------ r9466 | vlefevre | 2015-05-28 11:11:31 +0000 (Thu, 28 May 2015) | 8 lines Changed paths: M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h [src] Fixed allocation issue for multithreaded applications: https://sympa.inria.fr/sympa/arc/mpfr/2015-05/msg00001.html * mpfr-gmp.{c,h}: made mpfr_allocate_func, mpfr_reallocate_func and mpfr_free_func thread-local; updated MPFR_GET_MEMFUNC to execute mp_get_memory_functions only when these pointers have not been set to the actual function pointers yet. * mpfr-impl.h: #include "mpfr-thread.h" earlier (before mpfr-gmp.h, where MPFR_THREAD_ATTR is now used). ------------------------------------------------------------------------ r9461 | vlefevre | 2015-05-25 17:59:11 +0000 (Mon, 25 May 2015) | 4 lines Changed paths: M /trunk/src/mpfr-gmp.c [src/mpfr-gmp.c] Replaced mpfr_allocate_func and mpfr_free_func by __gmp_allocate_func and __gmp_free_func in mpfr_tmp_allocate and mpfr_tmp_free respectively, fixing the crash in talloc. See: https://sympa.inria.fr/sympa/arc/mpfr/2015-05/msg00001.html ------------------------------------------------------------------------ r9460 | vlefevre | 2015-05-25 17:07:27 +0000 (Mon, 25 May 2015) | 2 lines Changed paths: M /trunk/tests/talloc.c [tests/talloc.c] Avoid a failure with --with-gmp-build due to the fact that the MPFR_ALLOCA_MAX macro is not defined in this case. ------------------------------------------------------------------------ r9459 | vlefevre | 2015-05-23 23:56:17 +0000 (Sat, 23 May 2015) | 4 lines Changed paths: M /trunk/doc/README.dev A /trunk/libtool-tcc-rpath.patch Added libtool-tcc-rpath.patch from http://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). ------------------------------------------------------------------------ r9457 | vlefevre | 2015-05-23 23:37:14 +0000 (Sat, 23 May 2015) | 1 line Changed paths: M /trunk/src/erandom.c M /trunk/src/fpif.c M /trunk/src/frexp.c M /trunk/src/get_float128.c Added svn:keywords on some .c files for consistency. ------------------------------------------------------------------------ r9456 | vlefevre | 2015-05-23 23:35:29 +0000 (Sat, 23 May 2015) | 1 line Changed paths: M /trunk/tests/terandom_chisq.c M /trunk/tests/tnrandom_chisq.c M /trunk/tests/tvalist.c Removed the few svn:mime-type properties on .c files for consistency. ------------------------------------------------------------------------ r9455 | vlefevre | 2015-05-23 23:32:46 +0000 (Sat, 23 May 2015) | 7 lines Changed paths: M /trunk/tests M /trunk/tests/Makefile.am A /trunk/tests/talloc.c [tests] Added talloc.c and updated check_PROGRAMS in Makefile.am. This test detects an allocation bug added in r8813, which occurs if mpfr_tmp_allocate() is invoked before __gmp_allocate_func when the GMP build is not used (thus this bug is not visible in most code since mpfr_init2 is generally called first, directly or not, and it uses __gmp_allocate_func). Details: https://sympa.inria.fr/sympa/arc/mpfr/2015-05/msg00001.html ------------------------------------------------------------------------ r9453 | vlefevre | 2015-05-23 23:06:07 +0000 (Sat, 23 May 2015) | 3 lines Changed paths: M /trunk/tests/tstdint.c M /trunk/tests/tvalist.c [tests/{tstdint.c,tvalist.c}] Added missing #include "mpfr-test.h" (detected with gcc -Werror=implicit-function-declaration), needed since r9447. ------------------------------------------------------------------------ r9451 | vlefevre | 2015-05-22 18:15:24 +0000 (Fri, 22 May 2015) | 1 line Changed paths: M /trunk/src/mpfr-gmp.c [src/mpfr-gmp.c] Code formatting. ------------------------------------------------------------------------ r9450 | vlefevre | 2015-05-22 17:56:53 +0000 (Fri, 22 May 2015) | 1 line Changed paths: M /trunk/tests/tstckintc.c [tests/tstckintc.c] Fixed undefined behavior (invalid pointer). ------------------------------------------------------------------------ r9449 | vlefevre | 2015-05-22 17:50:09 +0000 (Fri, 22 May 2015) | 2 lines Changed paths: M /trunk/doc/README.dev M /trunk/src/mpfr-gmp.h Define MPFR_ALLOCA_MAX macro: Maximum size for the use of alloca by temporary allocations (default: 16384). ------------------------------------------------------------------------ r9447 | vlefevre | 2015-05-22 09:21:21 +0000 (Fri, 22 May 2015) | 2 lines Changed paths: M /trunk/tests/tstdint.c M /trunk/tests/tvalist.c [tests/{tstdint.c,tvalist.c}] Use tests_start_mpfr / tests_end_mpfr, in particular to detect a wrong MPFR version (due to a libtool bug). ------------------------------------------------------------------------ r9445 | vlefevre | 2015-05-21 15:08:10 +0000 (Thu, 21 May 2015) | 2 lines Changed paths: M /trunk/autogen.sh [autogen.sh] Exit with the exit status of autoreconf. Thus a failure will be noticed more easily. ------------------------------------------------------------------------ r9443 | vlefevre | 2015-05-21 14:12:33 +0000 (Thu, 21 May 2015) | 1 line Changed paths: M /trunk/NEWS [NEWS] Update. ------------------------------------------------------------------------ r9440 | vlefevre | 2015-05-21 11:49:48 +0000 (Thu, 21 May 2015) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Added a comment about memmove and memset being considered to be missing when gcc -Werror is used, because of a "conflicting types for built-in function" error. ------------------------------------------------------------------------ r9438 | vlefevre | 2015-05-21 11:10:09 +0000 (Thu, 21 May 2015) | 5 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Various corrections in the tests: * MPFR_CHECK_MP_LIMB_T_VS_LONG was always failing due to a typo. * MPFR_FUNC_GMP_PRINTF_SPEC: missing #include <string.h> for strcmp. * Replaced rint by nearbyint in messages (as nearbyint is tested). * Avoid warnings to avoid failures when -Werror is used. ------------------------------------------------------------------------ r9416 | vlefevre | 2015-05-20 15:42:02 +0000 (Wed, 20 May 2015) | 2 lines Changed paths: M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tget_d.c [tests/{tcmp_d.c,tcmp_ld.c,tget_d.c}] Avoid warnings concerning unused variables when MPFR_ERRDIVZERO is defined (useful with -Werror). ------------------------------------------------------------------------ r9415 | vlefevre | 2015-05-20 15:30:46 +0000 (Wed, 20 May 2015) | 2 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] Avoid a warning concerning an unused variable when HAVE_DENORMS is not defined (useful with -Werror). ------------------------------------------------------------------------ r9402 | vlefevre | 2015-05-19 15:37:15 +0000 (Tue, 19 May 2015) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved mpfr_swap description again. ------------------------------------------------------------------------ r9401 | vlefevre | 2015-05-19 15:19:52 +0000 (Tue, 19 May 2015) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Correction and improvements in the formatting. ------------------------------------------------------------------------ r9400 | vlefevre | 2015-05-19 14:31:45 +0000 (Tue, 19 May 2015) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added a warning for mpfr_set_prec and mpfr_prec_round about allocation issue, as these functions change the precision of x. ------------------------------------------------------------------------ r9399 | vlefevre | 2015-05-19 13:59:35 +0000 (Tue, 19 May 2015) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Typo in the latest change. ------------------------------------------------------------------------ r9398 | vlefevre | 2015-05-19 13:53:33 +0000 (Tue, 19 May 2015) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Rewrote the mpfr_swap description. This should solve the documentation issue reported on: https://gforge.inria.fr/tracker/index.php?func=detail&aid=18954&group_id=136&atid=619 ------------------------------------------------------------------------ r9396 | vlefevre | 2015-05-18 13:02:23 +0000 (Mon, 18 May 2015) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Update (preliminary steps). ------------------------------------------------------------------------ r9393 | vlefevre | 2015-05-13 13:39:37 +0000 (Wed, 13 May 2015) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Started the rewrite of the doc. ------------------------------------------------------------------------ r9392 | vlefevre | 2015-05-06 10:21:19 +0000 (Wed, 06 May 2015) | 1 line Changed paths: M /trunk/NEWS [NEWS] Update concerning mpfr_sum. ------------------------------------------------------------------------ r9391 | vlefevre | 2015-05-06 10:20:37 +0000 (Wed, 06 May 2015) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Update concerning mpfr_sum. ------------------------------------------------------------------------ r9390 | vlefevre | 2015-05-06 09:08:08 +0000 (Wed, 06 May 2015) | 3 lines Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] The specification of the sign of a zero result only applies to an exact zero, of course (for an inexact zero result, the usual rule of the rounding mode is applied). ------------------------------------------------------------------------ r9388 | vlefevre | 2015-05-06 07:18:49 +0000 (Wed, 06 May 2015) | 2 lines Changed paths: M /trunk/tests/terandom_chisq.c M /trunk/tests/tnrandom_chisq.c [tests/t[ne]random_chisq.c] Fixed memory leak (detected by GCC's AddressSanitizer). ------------------------------------------------------------------------ r9387 | vlefevre | 2015-05-06 07:10:07 +0000 (Wed, 06 May 2015) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": Test with GCC's AddressSanitizer (-fsanitize=address). ------------------------------------------------------------------------ r9386 | vlefevre | 2015-05-06 07:09:05 +0000 (Wed, 06 May 2015) | 3 lines Changed paths: M /trunk/tests/tabort_defalloc1.c M /trunk/tests/tabort_defalloc2.c [tests/tabort_defalloc*.c] Disable the tests if __SANITIZE_ADDRESS__ is defined, i.e. when GCC's AddressSanitizer is used, because it reports the error before GMP can do the abort. ------------------------------------------------------------------------ r9385 | vlefevre | 2015-05-05 14:13:11 +0000 (Tue, 05 May 2015) | 7 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] Make tests_default_random() more intuitive, avoiding automatic changes of the current exponent range in some cases: instead of adding some random exponent in [emin,emax] to the exponent of the random number x in ]0,1[, force this random exponent to be the one of x, so that its exponent is guaranteed to be in [emin,emax]. This avoids a failure in tsum due to the fact that the exponent range was changed automatically (and not restored). ------------------------------------------------------------------------ r9384 | vlefevre | 2015-05-05 13:35:16 +0000 (Tue, 05 May 2015) | 4 lines Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] In cancel(), increase the number of tests from 8 to 1000. This is much more, but the test is fast compare to other ones so that the running time increases by a few percents only. And this triggers a new bug: the exponent range is not restored (on a 64-bit machine). ------------------------------------------------------------------------ r9383 | vlefevre | 2015-05-05 13:19:14 +0000 (Tue, 05 May 2015) | 7 lines Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Changes in cancel(): * The fail-test was x[n] > bound instead of |x[n]| > bound, so that some failures could be missed. * More output in case of failure. * Handle underflow in the bound computation. This fixes an incorrect failure due to a bound rounded toward zero instead of toward +inf with GMP_CHECK_RANDOMIZE=1431478020 (found by the nightly tests). ------------------------------------------------------------------------ r9382 | vlefevre | 2015-05-05 08:15:35 +0000 (Tue, 05 May 2015) | 3 lines Changed paths: M /trunk/tools/nightly-test [tools/nightly-test] Run "make check" with VERBOSE=1 in order to have tests/test-suite.log output in case of failure, now that Automake 1.13+ is used. ------------------------------------------------------------------------ r9381 | vlefevre | 2015-04-28 09:32:11 +0000 (Tue, 28 Apr 2015) | 1 line Changed paths: M /trunk/doc/sum.txt M /trunk/src/sum.c Added a TODO about mpfr_sum. ------------------------------------------------------------------------ r9380 | vlefevre | 2015-04-24 09:49:21 +0000 (Fri, 24 Apr 2015) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Updated a comment about Automake 1.13. ------------------------------------------------------------------------ r9379 | vlefevre | 2015-04-24 09:27:03 +0000 (Fri, 24 Apr 2015) | 1 line Changed paths: M /trunk/Makefile.am [Makefile.am] Updated comment about ACLOCAL_AMFLAGS. ------------------------------------------------------------------------ r9378 | vlefevre | 2015-04-24 08:57:14 +0000 (Fri, 24 Apr 2015) | 2 lines Changed paths: M /trunk/TODO [TODO] Suggest to move some macro definitions from acinclude.m4 to the m4 directory as suggested by the Automake manual. ------------------------------------------------------------------------ r9376 | vlefevre | 2015-04-23 13:31:31 +0000 (Thu, 23 Apr 2015) | 3 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Grouped everything about the test suite near the end of this file. Added information about how the test suite works since the full Automake 1.13 support (r8821). ------------------------------------------------------------------------ r9375 | vlefevre | 2015-04-23 11:39:17 +0000 (Thu, 23 Apr 2015) | 5 lines Changed paths: M /trunk/INSTALL M /trunk/configure.ac M /trunk/doc/mpfr.texi To take into account that Automake 1.13 or later will be used: * doc/mpfr.texi, INSTALL: updates related to "make check". * configure.ac: require Automake 1.13 since the documentation now assumes that 1.13 or later is used (and because previous Automake versions are no longer tested). ------------------------------------------------------------------------ r9373 | vlefevre | 2015-04-10 11:07:47 +0000 (Fri, 10 Apr 2015) | 1 line Changed paths: M /trunk/NEWS [NEWS] Mention the complete rewrite of function mpfr_sum. ------------------------------------------------------------------------ r9372 | vlefevre | 2015-04-10 09:17:51 +0000 (Fri, 10 Apr 2015) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Added a comment about the latest fixed bug. ------------------------------------------------------------------------ r9370 | vlefevre | 2015-04-10 00:51:00 +0000 (Fri, 10 Apr 2015) | 9 lines Changed paths: M /trunk M /trunk/doc/README.dev A /trunk/doc/sum.txt (from /branches/new-sum/doc/sum.txt:9369) M /trunk/src/mpfr-impl.h M /trunk/src/sum.c M /trunk/tests/tsum.c Merged the new-sum branch: * New feature for developers in order to improve the testsuite: value coverage checking (MPFR_COV_CHECK macro), allowing one to check whether some combinations of values are tested. See example of use in src/sum.c and tests/tsum.c files. * src/sum.c: full rewrite of mpfr_sum. Note: the documentation of the algorithm in doc/sum.txt is currently a bit obsolete. * tests/tsum.c: many new tests, some of them specifically written for the new algorithm and implementation. ------------------------------------------------------------------------ r9346 | vlefevre | 2015-03-20 14:06:52 +0000 (Fri, 20 Mar 2015) | 1 line Changed paths: M /trunk/tools/ck-copyright-notice [tools/ck-copyright-notice] Bug fix and improvements. ------------------------------------------------------------------------ r9345 | vlefevre | 2015-03-20 13:57:13 +0000 (Fri, 20 Mar 2015) | 1 line Changed paths: M /trunk/tools/ck-copyright-notice [tools/ck-copyright-notice] More checks. ------------------------------------------------------------------------ r9333 | vlefevre | 2015-03-06 13:57:53 +0000 (Fri, 06 Mar 2015) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added information on how to do type punning (something we already did, but with no justification yet). ------------------------------------------------------------------------ r9328 | vlefevre | 2015-02-27 10:16:42 +0000 (Fri, 27 Feb 2015) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Avoid an unnecessary mpn_lshift after an mpn_sub_1 when the initial value was a power of two. ------------------------------------------------------------------------ r9327 | vlefevre | 2015-02-27 10:01:18 +0000 (Fri, 27 Feb 2015) | 1 line Changed paths: M /trunk/src/next.c [src/next.c] Avoid an unnecessary loop when the exponent decreases. ------------------------------------------------------------------------ r9306 | vlefevre | 2015-02-24 15:49:10 +0000 (Tue, 24 Feb 2015) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added SAFE_DIFF macro (safe difference). ------------------------------------------------------------------------ r9295 | vlefevre | 2015-02-21 15:26:49 +0000 (Sat, 21 Feb 2015) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Fixed and improved some sign-related macros (some parentheses were missing). ------------------------------------------------------------------------ r9287 | vlefevre | 2015-02-18 14:19:03 +0000 (Wed, 18 Feb 2015) | 2 lines Changed paths: M /trunk/doc/README.dev M /trunk/src/logging.c M /trunk/src/mpfr-impl.h Logging: the log stream is flushed after each log output when the MPFR_LOG_FLUSH environment variable is set. ------------------------------------------------------------------------ r9286 | vlefevre | 2015-02-18 13:54:57 +0000 (Wed, 18 Feb 2015) | 1 line Changed paths: M /trunk/src/mpfr-impl.h Factorized the logging macros by moving tests inside LOG_PRINT. ------------------------------------------------------------------------ r9279 | vlefevre | 2015-02-13 08:50:28 +0000 (Fri, 13 Feb 2015) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r9278 | vlefevre | 2015-02-13 08:31:08 +0000 (Fri, 13 Feb 2015) | 5 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/faq.xsl M /trunk/doc/mpfr.texi M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.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/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c M /trunk/src/amd/amdfam10/mparam.h M /trunk/src/amd/athlon/mparam.h M /trunk/src/amd/k8/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/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/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/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/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_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_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/hppa/mparam.h M /trunk/src/hypot.c M /trunk/src/ia64/mparam.h 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/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/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_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/neg.c M /trunk/src/next.c M /trunk/src/nrandom.c M /trunk/src/out_str.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/powerpc32/mparam.h 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_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/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/core2/mparam.h M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/corei5/mparam.h M /trunk/src/x86_64/pentium4/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/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/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/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/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/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_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/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/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/tround_prec.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/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/ck-copyright-notice M /trunk/tools/ck-mparam 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 2015 with perl -pi -e 's/ (\d{4}-)?(2014)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh, reverting the tools/mbench directory (not distributed with MPFR). Removed 2014 from the example in the doc/README.dev file. ------------------------------------------------------------------------ r9270 | vlefevre | 2015-01-23 12:55:31 +0000 (Fri, 23 Jan 2015) | 1 line Changed paths: M /trunk/doc Added algorithms.fls (generated by latexmk) to svn:ignore property. ------------------------------------------------------------------------ r9269 | vlefevre | 2015-01-21 14:33:22 +0000 (Wed, 21 Jan 2015) | 2 lines Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Updated a mpfr_set_zero line for consistency and better readability. ------------------------------------------------------------------------ r9268 | vlefevre | 2015-01-21 14:28:52 +0000 (Wed, 21 Jan 2015) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Added mpfr_set_(inf|zero) tests on the sign. ------------------------------------------------------------------------ r9267 | vlefevre | 2015-01-21 14:24:24 +0000 (Wed, 21 Jan 2015) | 1 line Changed paths: M /trunk/tests/tset.c [tests/tset.c] More mpfr_set_inf tests. ------------------------------------------------------------------------ r9266 | vlefevre | 2015-01-21 14:22:35 +0000 (Wed, 21 Jan 2015) | 1 line Changed paths: M /trunk/tests/tset.c [tests/tset.c] More mpfr_set_zero tests. ------------------------------------------------------------------------ r9265 | vlefevre | 2015-01-21 13:47:03 +0000 (Wed, 21 Jan 2015) | 1 line Changed paths: M /trunk/tools/mbench/timp.h [tools/mbench/timp.h] Spelling mistake in a comment. ------------------------------------------------------------------------ r9255 | vlefevre | 2014-12-17 08:40:45 +0000 (Wed, 17 Dec 2014) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r9254 | vlefevre | 2014-12-16 14:30:01 +0000 (Tue, 16 Dec 2014) | 3 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi [NEWS] Added an item about improved caching. [NEWS,doc/mpfr.texi] In particular, mention the minimum of 10% increase of the precision (done in r8967). ------------------------------------------------------------------------ r9253 | vlefevre | 2014-12-16 14:08:19 +0000 (Tue, 16 Dec 2014) | 5 lines Changed paths: M /trunk/NEWS M /trunk/src/Makefile.am [NEWS] Note that the behavior of the mpfr_set_exp function changed. [src/Makefile.am] As this changed the ABI (the old, unwise behavior was documented), reset -version-info age. This is not that bad since there are other changes in the behavior, though regarded as bugs or previously undocumented behavior. ------------------------------------------------------------------------ r9245 | vlefevre | 2014-12-04 01:36:25 +0000 (Thu, 04 Dec 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Mention the tools/build-patch script. ------------------------------------------------------------------------ r9242 | zimmerma | 2014-12-03 18:02:02 +0000 (Wed, 03 Dec 2014) | 2 lines Changed paths: M /trunk/TODO pointed to Feature Request ------------------------------------------------------------------------ r9239 | zimmerma | 2014-11-24 06:54:55 +0000 (Mon, 24 Nov 2014) | 3 lines Changed paths: M /trunk/configure.ac fixed issue reported by Dan Grayson: https://gforge.inria.fr/tracker/?func=detail&atid=619&aid=18314&group_id=136 ------------------------------------------------------------------------ r9238 | vlefevre | 2014-11-13 00:31:08 +0000 (Thu, 13 Nov 2014) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Minor change concerning mp_limb_t. ------------------------------------------------------------------------ r9237 | vlefevre | 2014-11-12 08:40:25 +0000 (Wed, 12 Nov 2014) | 1 line Changed paths: M /trunk/acinclude.m4 M /trunk/src/exp_2.c Style improvements. ------------------------------------------------------------------------ r9236 | vlefevre | 2014-11-12 08:35:49 +0000 (Wed, 12 Nov 2014) | 1 line Changed paths: M /trunk/src/exp_2.c [src/exp_2.c] Improved t = 0 test. ------------------------------------------------------------------------ r9235 | vlefevre | 2014-11-12 08:31:09 +0000 (Wed, 12 Nov 2014) | 2 lines Changed paths: M /trunk/src/exp_2.c [src/exp_2.c] Fixed a bug added in r9233 (a case t = 0 was no longer taken into account). ------------------------------------------------------------------------ r9234 | vlefevre | 2014-11-12 08:26:50 +0000 (Wed, 12 Nov 2014) | 1 line Changed paths: M /trunk/src/exp_2.c [src/exp_2.c] GNU coding style. ------------------------------------------------------------------------ r9233 | zimmerma | 2014-11-11 20:22:55 +0000 (Tue, 11 Nov 2014) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/src/exp_2.c improve mpfr_exp2 (patch from Patrick Pelissier) ------------------------------------------------------------------------ r9232 | zimmerma | 2014-11-09 20:09:04 +0000 (Sun, 09 Nov 2014) | 2 lines Changed paths: M /trunk/src/atan.c M /trunk/src/mpfr-impl.h improve mpfr_atan for small precision (patch from Patrick Pelissier) ------------------------------------------------------------------------ r9231 | zimmerma | 2014-11-09 20:03:23 +0000 (Sun, 09 Nov 2014) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/tests/Makefile.am added check for libquadmath (not used) ------------------------------------------------------------------------ r9230 | vlefevre | 2014-11-03 05:54:33 +0000 (Mon, 03 Nov 2014) | 2 lines Changed paths: M /trunk/src/cache.c [src/cache.c] Improved mpfr_clear_cache in case mpfr_free_cache is called often (like with GC-based systems). Patch by Patrick Pélissier. ------------------------------------------------------------------------ r9229 | vlefevre | 2014-11-03 05:48:02 +0000 (Mon, 03 Nov 2014) | 3 lines Changed paths: M /trunk/src/add_d.c M /trunk/src/cmp_d.c M /trunk/src/d_div.c M /trunk/src/d_sub.c M /trunk/src/div_d.c M /trunk/src/get_str.c M /trunk/src/mul_d.c M /trunk/src/sub_d.c M /trunk/src/ui_pow.c [src] Applied patch by Patrick Pélissier to allocate some constant-size MPFR numbers on the stack instead of using mpfr_init2, and replace some MPFR_ASSERTN by MPFR_ASSERTD. ------------------------------------------------------------------------ r9228 | vlefevre | 2014-10-31 10:08:50 +0000 (Fri, 31 Oct 2014) | 1 line Changed paths: M /trunk/src/get_str.c [src/get_str.c] Improved comments. ------------------------------------------------------------------------ r9227 | vlefevre | 2014-10-30 15:11:34 +0000 (Thu, 30 Oct 2014) | 2 lines Changed paths: M /trunk/src/get_str.c [src/get_str.c] Free the temporary memory allocated in the Ziv loop ASAP and at a single place (the code should be clearer like that). ------------------------------------------------------------------------ r9226 | vlefevre | 2014-10-30 14:41:34 +0000 (Thu, 30 Oct 2014) | 1 line Changed paths: M /trunk/src/get_str.c [src/get_str.c] Code refactoring. ------------------------------------------------------------------------ r9225 | vlefevre | 2014-10-30 14:28:43 +0000 (Thu, 30 Oct 2014) | 1 line Changed paths: M /trunk/tests/tget_str.c [tests/tget_str.c] Code formatting. ------------------------------------------------------------------------ r9224 | vlefevre | 2014-10-30 14:26:03 +0000 (Thu, 30 Oct 2014) | 3 lines Changed paths: M /trunk/tests/tget_str.c [tests/tget_str.c] Fixed a test that made mpfr_get_str crash with logging (even when the base is invalid, the MPFR number must be initialized). ------------------------------------------------------------------------ r9223 | vlefevre | 2014-10-30 13:50:34 +0000 (Thu, 30 Oct 2014) | 4 lines Changed paths: M /trunk/src/check.c M /trunk/src/get_str.c [src/check.c] Added a note saying that mpfr_check() must not be called on statically allocated numbers (only used inside MPFR). [src/get_str.c] Removed the "MPFR_ASSERTD (mpfr_check (p));" (added in previous commit) because of that. ------------------------------------------------------------------------ r9222 | vlefevre | 2014-10-30 13:30:15 +0000 (Thu, 30 Oct 2014) | 6 lines Changed paths: M /trunk/src/get_str.c [src/get_str.c] Added some logging (MPFR_LOG_*), which triggers a crash in tget_str with MPFR_LOG_ALL=1. An analysis with gdb shows that this is due to an invalid MPFR number in mpfr_ceil_mul(). Added a MPFR_ASSERTD (mpfr_check (p)); there, which fails in tget_str (this was the cause of the crash), even without logging. ------------------------------------------------------------------------ r9221 | vlefevre | 2014-10-29 08:46:26 +0000 (Wed, 29 Oct 2014) | 5 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/get_str.c M /trunk/tests/tget_str.c mpfr_get_str now sets the NaN flag on NaN input. See: https://sympa.inria.fr/sympa/arc/mpfr/2014-10/msg00013.html and https://gforge.inria.fr/tracker/index.php?func=detail&aid=18228&group_id=136&atid=619 Also completed the mpfr_get_str description in mpfr.texi concerning the special numbers and the exception flags. ------------------------------------------------------------------------ r9220 | vlefevre | 2014-10-28 12:21:52 +0000 (Tue, 28 Oct 2014) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r9219 | vlefevre | 2014-10-28 10:06:22 +0000 (Tue, 28 Oct 2014) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Removed a spurious "an". ------------------------------------------------------------------------ r9218 | vlefevre | 2014-10-28 09:37:36 +0000 (Tue, 28 Oct 2014) | 1 line Changed paths: M /trunk/src/get_str.c [src/get_str.c] Improved style consistency. ------------------------------------------------------------------------ r9217 | vlefevre | 2014-10-28 09:31:54 +0000 (Tue, 28 Oct 2014) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] In the mpfr_get_str description, note that the type mpfr_exp_t is large enough to hold the exponent in all cases. ------------------------------------------------------------------------ r9216 | vlefevre | 2014-10-28 09:27:30 +0000 (Tue, 28 Oct 2014) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved mpfr_get_str description concerning the returned pointer (it was ambiguous in the case of an invalid base). ------------------------------------------------------------------------ r9212 | vlefevre | 2014-10-09 13:28:45 +0000 (Thu, 09 Oct 2014) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Updated the error message last changed. ------------------------------------------------------------------------ r9211 | vlefevre | 2014-10-09 13:24:56 +0000 (Thu, 09 Oct 2014) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Updated the error message last changed + comment. ------------------------------------------------------------------------ r9210 | vlefevre | 2014-10-08 11:59:40 +0000 (Wed, 08 Oct 2014) | 2 lines Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] Added a reference to the bug I've just reported against GNU Automake (completing the other references). ------------------------------------------------------------------------ r9209 | vlefevre | 2014-10-08 10:59:40 +0000 (Wed, 08 Oct 2014) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Updated the error message last changed. ------------------------------------------------------------------------ r9208 | vlefevre | 2014-10-07 13:33:33 +0000 (Tue, 07 Oct 2014) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Changed an error message. ------------------------------------------------------------------------ r9204 | vlefevre | 2014-09-09 00:17:47 +0000 (Tue, 09 Sep 2014) | 1 line Changed paths: M /trunk/tests/tget_set_d64.c M /trunk/tests/tset_float128.c [tests] Corrections for builds with "config.h". ------------------------------------------------------------------------ r9193 | vlefevre | 2014-08-22 15:23:52 +0000 (Fri, 22 Aug 2014) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Avoid false positives in the check of MPFR_LOG_MSG. ------------------------------------------------------------------------ r9187 | vlefevre | 2014-08-21 11:33:33 +0000 (Thu, 21 Aug 2014) | 1 line Changed paths: M /trunk/src/add.c M /trunk/src/exceptions.c M /trunk/src/fma.c M /trunk/src/hypot.c M /trunk/src/mul.c [src] Cleaner use of MPFR_SET_SIGN. ------------------------------------------------------------------------ r9178 | vlefevre | 2014-08-17 16:47:29 +0000 (Sun, 17 Aug 2014) | 1 line Changed paths: M /trunk/TODO [TODO] Added item on tests (mpfr.h macros vs mpfr-impl.h). ------------------------------------------------------------------------ r9177 | vlefevre | 2014-08-17 10:46:16 +0000 (Sun, 17 Aug 2014) | 3 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Fixed the mpfr_signbit() macro, which depended on mpfr-impl.h (the problem wasn't detected in the tests since mpfr-impl.h is included in them). Thanks to Rob for the bug report. ------------------------------------------------------------------------ r9164 | vlefevre | 2014-08-05 10:33:51 +0000 (Tue, 05 Aug 2014) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Improved check of MPFR_LOG_MSG. ------------------------------------------------------------------------ r9163 | vlefevre | 2014-08-05 10:19:02 +0000 (Tue, 05 Aug 2014) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Replaced {src,tests}/*.{c,h} by $srctests. ------------------------------------------------------------------------ r9162 | vlefevre | 2014-08-05 09:49:35 +0000 (Tue, 05 Aug 2014) | 1 line Changed paths: M /trunk/src/ai.c [src/ai.c] Corrected log messages. ------------------------------------------------------------------------ r9161 | vlefevre | 2014-08-05 09:34:26 +0000 (Tue, 05 Aug 2014) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r9160 | vlefevre | 2014-08-05 09:29:29 +0000 (Tue, 05 Aug 2014) | 6 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/vasprintf.c Update concerning the P type specifier for formatted output, since mpfr_prec_t was changed to a signed type in MPFR 3.0.0. * doc/mpfr.texi: d and i can be used (o, u, x, and X are still OK in practice since a mpfr_prec_t value is usually nonnegative); changed a "unsigned int" to "int". * src/vasprintf.c: updated a comment. ------------------------------------------------------------------------ r9158 | vlefevre | 2014-07-23 00:23:18 +0000 (Wed, 23 Jul 2014) | 1 line Changed paths: M /trunk/tests/mpf_compat.h [tests/mpf_compat.h] Fixed a bug (mpf_set_prec_raw usage with GMP/MPF). ------------------------------------------------------------------------ r9157 | vlefevre | 2014-07-23 00:12:35 +0000 (Wed, 23 Jul 2014) | 9 lines Changed paths: M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h M /trunk/tests/mpfr_compat.c [tests] * mpfr-test.h: no longer include <stdio.h> right here since the included mpfr-impl.h does that and even better for C++. * mpf_compat.c, mpfr_compat.c: include mpfr-test.h as it does useful things (in particular, include config.h via mpfr-impl.h if there is one, and define __MPFR_TEST_H__ for mpfr-impl.h). * mpf_compat.h: no longer include some headers already included via mpfr-test.h (see above change); added tests_start_mpfr and tests_end_mpfr (showing memory inconsistency with mpf_compat). ------------------------------------------------------------------------ r9156 | vlefevre | 2014-07-20 22:05:51 +0000 (Sun, 20 Jul 2014) | 1 line Changed paths: M /trunk/src/get_str.c [src/get_str.c] Coding style: better code for a boolean. ------------------------------------------------------------------------ r9152 | vlefevre | 2014-07-10 13:31:18 +0000 (Thu, 10 Jul 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": check also without mpz_t caching. ------------------------------------------------------------------------ r9151 | vlefevre | 2014-07-10 13:13:31 +0000 (Thu, 10 Jul 2014) | 8 lines Changed paths: M /trunk/tools/ck-copyright-notice M /trunk/tools/mpfrlint [tools/ck-copyright-notice] Ignore src/mini-gmp.[ch] files. [tools/mpfrlint] * Ignore src/mini-gmp.[ch] files for some tests. * Check that __gmp[nz]_ functions are not used (with 2 exceptions), since this breaks the support of mini-gmp and may also break future/modified GMP versions. Note: only code added in r8911 (mpz_t caching) currently fails to follow this rule. ------------------------------------------------------------------------ r9150 | vlefevre | 2014-07-10 10:35:11 +0000 (Thu, 10 Jul 2014) | 4 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h Do not test include guards before a #include: the test must be done only in the included file itself. Note that some files such as mpfr.h may have multiple parts that could be enabled depending on the context, so that testing a guard before a #include may yield incorrect behavior. ------------------------------------------------------------------------ r9149 | vlefevre | 2014-07-09 01:17:18 +0000 (Wed, 09 Jul 2014) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated the list of macros used for building and checking MPFR. ------------------------------------------------------------------------ r9148 | vlefevre | 2014-07-09 01:11:57 +0000 (Wed, 09 Jul 2014) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Corrected a message. ------------------------------------------------------------------------ r9147 | vlefevre | 2014-07-08 10:22:09 +0000 (Tue, 08 Jul 2014) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/doc/README.dev M /trunk/tests/tests.c Renamed the MPFR_TEST_DIVBYZERO macro to MPFR_TESTS_DIVBYZERO for consistency with MPFR_TESTS_TIMEOUT. ------------------------------------------------------------------------ r9146 | vlefevre | 2014-07-07 16:18:16 +0000 (Mon, 07 Jul 2014) | 1 line Changed paths: M /trunk/tests/tadd_d.c M /trunk/tests/td_sub.c M /trunk/tests/tdiv_d.c M /trunk/tests/tsub_d.c [tests] Minor improvements. ------------------------------------------------------------------------ r9145 | vlefevre | 2014-07-07 16:15:43 +0000 (Mon, 07 Jul 2014) | 1 line Changed paths: M /trunk/tests/reuse.c M /trunk/tests/taway.c [tests/reuse.c,tests/taway.c] Added mpfr_ai and mpfr_digamma. ------------------------------------------------------------------------ r9144 | vlefevre | 2014-07-07 16:13:47 +0000 (Mon, 07 Jul 2014) | 1 line Changed paths: M /trunk/tests/tmul_d.c [tests/tmul_d.c] Minor improvement. ------------------------------------------------------------------------ r9143 | vlefevre | 2014-07-07 16:11:56 +0000 (Mon, 07 Jul 2014) | 2 lines Changed paths: M /trunk/src/mul.c [src/mul.c] Fixed a test when MPFR_WANT_ASSERT >= 2 (NaN with non-NaN was not detected as an error). ------------------------------------------------------------------------ r9142 | vlefevre | 2014-07-07 15:59:53 +0000 (Mon, 07 Jul 2014) | 4 lines Changed paths: M /trunk/src/add1sp.c M /trunk/src/mpfr-impl.h M /trunk/src/mul.c M /trunk/src/round_p.c M /trunk/src/sub1sp.c [src] MPFR_WANT_ASSERT clean-up. Note: the mul.c test for MPFR_WANT_ASSERT >= 3 is now enabled for MPFR_WANT_ASSERT = 2 (since setting MPFR_WANT_ASSERT to 3 was not possible with configure options), and fixed. ------------------------------------------------------------------------ r9141 | vlefevre | 2014-07-07 12:43:59 +0000 (Mon, 07 Jul 2014) | 2 lines Changed paths: M /trunk/configure.ac M /trunk/src/exceptions.c M /trunk/src/mpfr-impl.h Added debug of branch prediction / --enable-debug-prediction configure option (patch from Patrick Pélissier, with some changes). ------------------------------------------------------------------------ r9139 | vlefevre | 2014-07-02 17:17:40 +0000 (Wed, 02 Jul 2014) | 1 line Changed paths: M /trunk/src/round_raw_generic.c [src/round_raw_generic.c] Updated comment about MPFR_RNDNA. ------------------------------------------------------------------------ r9138 | vlefevre | 2014-07-02 13:10:19 +0000 (Wed, 02 Jul 2014) | 1 line Changed paths: M /trunk/doc/mini-gmp [doc/mini-gmp] Added a note about MPFR_USE_MINI_GMP. ------------------------------------------------------------------------ r9137 | vlefevre | 2014-07-02 12:57:22 +0000 (Wed, 02 Jul 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added an item on the use of GMP functions. ------------------------------------------------------------------------ r9136 | vlefevre | 2014-07-02 12:29:40 +0000 (Wed, 02 Jul 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": test with mini-gmp. ------------------------------------------------------------------------ r9135 | vlefevre | 2014-07-02 12:24:54 +0000 (Wed, 02 Jul 2014) | 5 lines Changed paths: M /trunk/src/erandom.c M /trunk/src/mpfr.h M /trunk/src/nrandom.c M /trunk/src/random_deviate.c M /trunk/tests/terandom.c M /trunk/tests/tnrandom.c Removed the need of MPFR_USE_MINI_GMP tests for mpfr_[ne]random functions (source and tests) as mpfr_random_deviate_value no longer needs mpq_t (since r9066). Also removed a static assertion in src/random_deviate.c for the same reason. Note: the change done in r9133 is now really useful! ------------------------------------------------------------------------ r9134 | vlefevre | 2014-07-02 12:12:45 +0000 (Wed, 02 Jul 2014) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Added other missing "#ifndef MPFR_USE_MINI_GMP". ------------------------------------------------------------------------ r9133 | vlefevre | 2014-07-02 11:59:52 +0000 (Wed, 02 Jul 2014) | 3 lines Changed paths: M /trunk/tests/terandom.c M /trunk/tests/tnrandom.c [tests/t[ne]random.c] Code clean-up: added !defined(MPFR_USE_MINI_GMP) to protect mpfr_printf. This is actually not needed due to the initial "#ifndef MPFR_USE_MINI_GMP" but this is for a different reason. ------------------------------------------------------------------------ r9132 | vlefevre | 2014-07-02 11:55:25 +0000 (Wed, 02 Jul 2014) | 2 lines Changed paths: M /trunk/tests/terandom.c M /trunk/tests/tnrandom.c [tests/t[ne]random.c] Reverted the changes done in r9126,9127,9130 and added a proper comment. ------------------------------------------------------------------------ r9131 | vlefevre | 2014-07-02 11:49:23 +0000 (Wed, 02 Jul 2014) | 2 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Added a missing "#ifndef MPFR_USE_MINI_GMP" (not really useful, but cleaner). ------------------------------------------------------------------------ r9130 | vlefevre | 2014-07-02 11:46:04 +0000 (Wed, 02 Jul 2014) | 1 line Changed paths: M /trunk/tests/terandom.c M /trunk/tests/tnrandom.c [tests/t[ne]random.c] Fixed the change done in r9126 and r9127. ------------------------------------------------------------------------ r9129 | vlefevre | 2014-07-02 11:41:43 +0000 (Wed, 02 Jul 2014) | 3 lines Changed paths: M /trunk/configure.ac M /trunk/src/erandom.c M /trunk/src/get_f.c M /trunk/src/gmp_op.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr.h M /trunk/src/nrandom.c M /trunk/src/printf.c M /trunk/src/random_deviate.c M /trunk/src/set_f.c M /trunk/src/set_q.c M /trunk/src/vasprintf.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpfr_compat.c M /trunk/tests/tabort_defalloc1.c M /trunk/tests/tabort_defalloc2.c M /trunk/tests/tcan_round.c M /trunk/tests/terandom.c M /trunk/tests/terandom_chisq.c M /trunk/tests/tests.c M /trunk/tests/tfprintf.c M /trunk/tests/tget_f.c M /trunk/tests/tgmpop.c M /trunk/tests/tgrandom.c M /trunk/tests/tnrandom.c M /trunk/tests/tnrandom_chisq.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trandom_deviate.c M /trunk/tests/tset_f.c M /trunk/tests/tset_q.c M /trunk/tests/tsprintf.c M /trunk/tests/turandom.c Renamed WANT_MINI_GMP to MPFR_USE_MINI_GMP as it is used in mpfr.h (all MPFR macros that appear there should start with MPFR_ to avoid conflicts with other software). ------------------------------------------------------------------------ r9128 | vlefevre | 2014-07-02 09:57:16 +0000 (Wed, 02 Jul 2014) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Detect the possible use of forbidden macros in mpfr.h. ------------------------------------------------------------------------ r9127 | vlefevre | 2014-07-02 09:23:25 +0000 (Wed, 02 Jul 2014) | 2 lines Changed paths: M /trunk/tests/terandom.c [tests/terandom.c] Put the WANT_MINI_GMP test at the right place, like what has been done for "tests/tnrandom.c". ------------------------------------------------------------------------ r9126 | vlefevre | 2014-07-02 09:20:11 +0000 (Wed, 02 Jul 2014) | 3 lines Changed paths: M /trunk/tests/tnrandom.c [tests/tnrandom.c] Put the WANT_MINI_GMP test at the right place (at the same time of the HAVE_STDARG test), but this should be improved in the future, e.g. with a HAVE_MPFR_PRINTF macro. ------------------------------------------------------------------------ r9125 | zimmerma | 2014-07-02 09:04:30 +0000 (Wed, 02 Jul 2014) | 2 lines Changed paths: M /trunk/tests/tnrandom.c added comment ------------------------------------------------------------------------ r9124 | vlefevre | 2014-07-02 08:43:19 +0000 (Wed, 02 Jul 2014) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Minor correction of a comment. ------------------------------------------------------------------------ r9122 | vlefevre | 2014-07-01 11:50:12 +0000 (Tue, 01 Jul 2014) | 1 line Changed paths: M /trunk/tests/trandom_deviate.c [tests/trandom_deviate.c] Correction (fprintf format). ------------------------------------------------------------------------ r9121 | zimmerma | 2014-07-01 11:39:30 +0000 (Tue, 01 Jul 2014) | 5 lines Changed paths: M /trunk/tests/chi-squared-tests.txt M /trunk/tests/terandom_chisq.c M /trunk/tests/tnrandom_chisq.c M /trunk/tests/trandom_deviate.c patch from Charles Karney: > Here is the patch which repeats the chi-squared tests in the case of > suspiciously high values. The probability of a false positive is now > 1/10^9. I also got rid of the mpfr_printf's. ------------------------------------------------------------------------ r9117 | vlefevre | 2014-06-30 15:07:40 +0000 (Mon, 30 Jun 2014) | 5 lines Changed paths: M /trunk/tools/build-patch [tools/build-patch] * Removed unnecessary quotes for better readability (this is zsh). * When <patchlevel> (second argument) is used, use the correct name for the generated patch; at the same time, fixed a checkobj call. * Added comment about typical usage. ------------------------------------------------------------------------ r9116 | vlefevre | 2014-06-30 13:44:39 +0000 (Mon, 30 Jun 2014) | 3 lines Changed paths: M /trunk/tools/build-patch [tools/build-patch] Correction if MPFR_CURRENT_DIR is set: to make sure that it is always up-to-date, we want to allow it to be a symlink (e.g. .../mpfr-current), so that we want to call realpath on it. ------------------------------------------------------------------------ r9115 | vlefevre | 2014-06-30 13:22:09 +0000 (Mon, 30 Jun 2014) | 2 lines Changed paths: A /trunk/tools/build-patch Added tools/build-patch zsh script to transform a raw patch into a patch to be put on the MPFR www server. ------------------------------------------------------------------------ r9114 | vlefevre | 2014-06-30 12:21:26 +0000 (Mon, 30 Jun 2014) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] For the mpfr_{mul,div}_si macros: s/positive/non-negative/ ------------------------------------------------------------------------ r9113 | vlefevre | 2014-06-30 10:36:46 +0000 (Mon, 30 Jun 2014) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Correction of two "configure --help" messages (from Patrick Pélissier and other changes). ------------------------------------------------------------------------ r9112 | vlefevre | 2014-06-30 10:00:16 +0000 (Mon, 30 Jun 2014) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Coding style. ------------------------------------------------------------------------ r9111 | vlefevre | 2014-06-30 09:57:36 +0000 (Mon, 30 Jun 2014) | 5 lines Changed paths: M /trunk/src/div_ui.c M /trunk/src/mpfr.h M /trunk/src/mul_ui.c M /trunk/tests/tdiv_ui.c M /trunk/tests/tmul_ui.c New macros for mpfr_{mul,div}_ui to optimize the call when the integer is a constant number that is a power of 2. New macros for mpfr_{mul,div}_si to optimize the call when the integer is a constant number that is positive. (Modified patch from Patrick Pélissier) ------------------------------------------------------------------------ r9109 | vlefevre | 2014-06-26 10:55:09 +0000 (Thu, 26 Jun 2014) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Improved comments. ------------------------------------------------------------------------ r9108 | vlefevre | 2014-06-26 10:53:46 +0000 (Thu, 26 Jun 2014) | 2 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Fixed assertion failures for tiny numbers (the code was correct, but the assertions didn't check against the right bound). ------------------------------------------------------------------------ r9107 | vlefevre | 2014-06-26 01:02:26 +0000 (Thu, 26 Jun 2014) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] Bug fix: avoid integer overflow in the code added in r9086 (now tdiv no longer fails). ------------------------------------------------------------------------ r9106 | vlefevre | 2014-06-26 00:43:06 +0000 (Thu, 26 Jun 2014) | 3 lines Changed paths: M /trunk M /trunk/src/div.c [src/div.c] Bug fix: avoid an integer overflow when dividing the largest finite MPFR number by the smallest positive one. (merged changeset r9105 from the 3.1 branch) ------------------------------------------------------------------------ r9103 | vlefevre | 2014-06-26 00:16:26 +0000 (Thu, 26 Jun 2014) | 1 line Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] Forgot "exit (1);". ------------------------------------------------------------------------ r9101 | vlefevre | 2014-06-26 00:00:16 +0000 (Thu, 26 Jun 2014) | 3 lines Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] Added mpfr_div tests on extreme values. This detects 2 problems (at least on a 64-bit machine): a result is not a valid MPFR number (mpfr_check fails) and the flags are incorrect. ------------------------------------------------------------------------ r9100 | vlefevre | 2014-06-25 23:34:28 +0000 (Wed, 25 Jun 2014) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Fixed test added in r9099 (the problem was unrelated to the bug in vasprintf.c). ------------------------------------------------------------------------ r9099 | vlefevre | 2014-06-25 23:20:16 +0000 (Wed, 25 Jun 2014) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added a test with the minimum exponent (currently triggers an assertion failure in vasprintf.c). ------------------------------------------------------------------------ r9098 | zimmerma | 2014-06-25 16:29:51 +0000 (Wed, 25 Jun 2014) | 2 lines Changed paths: M /trunk/tools/nightly-test define MPFR_SKIP_EXTREME to avoid currently failing tsum test ------------------------------------------------------------------------ r9097 | vlefevre | 2014-06-25 16:09:57 +0000 (Wed, 25 Jun 2014) | 2 lines Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Do not run the check_extreme test (which currently fails) when the MPFR_SKIP_EXTREME environment variable is defined. ------------------------------------------------------------------------ r9096 | zimmerma | 2014-06-25 15:37:25 +0000 (Wed, 25 Jun 2014) | 2 lines Changed paths: M /trunk/tools/nightly-test reconfigure for mpfrbench ------------------------------------------------------------------------ r9095 | zimmerma | 2014-06-25 15:05:30 +0000 (Wed, 25 Jun 2014) | 2 lines Changed paths: M /trunk/NEWS M /trunk/src/div.c M /trunk/tests/tdiv.c speedup in mpfr_div for n/n division, using mpz_tdiv_q ------------------------------------------------------------------------ r9094 | vlefevre | 2014-06-25 13:39:37 +0000 (Wed, 25 Jun 2014) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Check when simple mp_limb_t constants could be used (MPFR_LIMB_ZERO, MPFR_LIMB_ONE, and MPFR_LIMB_MAX). ------------------------------------------------------------------------ r9092 | vlefevre | 2014-06-25 13:15:40 +0000 (Wed, 25 Jun 2014) | 7 lines Changed paths: M /trunk/src/coth.c M /trunk/src/div.c M /trunk/src/erfc.c M /trunk/src/exp2.c M /trunk/src/get_si.c M /trunk/src/get_str.c M /trunk/src/jn.c M /trunk/src/lngamma.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/src/pow.c M /trunk/src/pow_si.c M /trunk/src/pow_z.c M /trunk/src/print_raw.c M /trunk/src/signbit.c M /trunk/src/sin.c M /trunk/src/sin_cos.c M /trunk/src/yn.c M /trunk/tests/mpfr-test.h M /trunk/tests/taway.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcoth.c M /trunk/tests/tcsch.c M /trunk/tests/tdiv.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/tfma.c M /trunk/tests/tfms.c M /trunk/tests/tgamma.c M /trunk/tests/tget_flt.c M /trunk/tests/tgmpop.c M /trunk/tests/thyperbolic.c M /trunk/tests/tpow.c M /trunk/tests/tpow_z.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_str.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tzeta.c Use MPFR_IS_NEG and MPFR_IS_POS instead of comparing the sign with 0. Done with perl -pi -e ' s/MPFR_SIGN *\(([^)]+)\) *<=? *0/MPFR_IS_NEG ($1)/g; s/MPFR_SIGN *\(([^)]+)\) *>=? *0/MPFR_IS_POS ($1)/g; ' {src,tests}/*.{c,h} and some manual changes. ------------------------------------------------------------------------ r9091 | vlefevre | 2014-06-25 12:50:21 +0000 (Wed, 25 Jun 2014) | 11 lines Changed paths: M /trunk/src/check.c M /trunk/src/div.c M /trunk/src/div_ui.c M /trunk/src/frac.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mulders.c M /trunk/src/print_raw.c M /trunk/src/round_raw_generic.c M /trunk/src/set_uj.c M /trunk/src/sub1sp.c M /trunk/src/vasprintf.c M /trunk/tests/random2.c M /trunk/tests/tadd.c M /trunk/tests/tcmp2.c M /trunk/tests/teq.c M /trunk/tests/tfprintf.c M /trunk/tests/tset_si.c More code clean-up (for both consistency and readability): * Use the simple mp_limb_t constants when possible. * New internal macro MPFR_IS_NORMALIZED. Note: this was done with perl -pi -e ' s/~ *\(mp_limb_t\) *0/MPFR_LIMB_MAX/g; s/\(mp_limb_t\) *-1/MPFR_LIMB_MAX/g; s/\(mp_limb_t\) *0/MPFR_LIMB_ZERO/g; s/\(mp_limb_t\) *1L?/MPFR_LIMB_ONE/g' {src,tests}/*.{c,h} svn revert src/mpfr-impl.h and some manual changes. ------------------------------------------------------------------------ r9090 | vlefevre | 2014-06-25 12:02:19 +0000 (Wed, 25 Jun 2014) | 6 lines Changed paths: M /trunk/src/add1.c M /trunk/src/get_f.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/next.c M /trunk/src/rint.c M /trunk/src/round_p.c M /trunk/src/setmax.c M /trunk/tests/mpfr-test.h M /trunk/tests/tgeneric.c Code clean-up: * Simplified the definition of simple mp_limb_t constants: it is better to avoid GMP internals when there is a standard way. * Replaced the use of MP_LIMB_T_MAX by the new macro MPFR_LIMB_MAX. * So, removed the now useless MP_LIMB_T_MAX and GMP_LIMB_HIGHBIT definitions from "mpfr-gmp.h". ------------------------------------------------------------------------ r9089 | vlefevre | 2014-06-25 11:55:23 +0000 (Wed, 25 Jun 2014) | 1 line Changed paths: M /trunk/src/mpfr-mini-gmp.h [src/mpfr-mini-gmp.h] GMP_NUMB_MASK is no longer needed. ------------------------------------------------------------------------ r9088 | vlefevre | 2014-06-25 11:54:14 +0000 (Wed, 25 Jun 2014) | 1 line Changed paths: M /trunk/tests/random2.c [tests/random2.c] Removed a useless use of GMP_NUMB_MASK. ------------------------------------------------------------------------ r9087 | vlefevre | 2014-06-25 09:38:31 +0000 (Wed, 25 Jun 2014) | 8 lines Changed paths: M /trunk/src/div.c [src/div.c] In the case where the divisor has one limb (latest commit), check that the value of this limb fits in an unsigned long, otherwise mpfr_div_ui cannot be used. Indeed, according to the GMP manual §2.2, a limb may be a long long (actually unsigned): For example in some 32-bit ABIs, GMP may support a limb as either a 32-bit `long' or a 64-bit `long long'. Note: if a limb is an unsigned long, this new test will be no-op, since always true. ------------------------------------------------------------------------ r9086 | zimmerma | 2014-06-25 08:05:09 +0000 (Wed, 25 Jun 2014) | 2 lines Changed paths: M /trunk/NEWS M /trunk/src/div.c speedup of mpfr_div when divisor has one limb ------------------------------------------------------------------------ r9085 | vlefevre | 2014-06-25 01:24:49 +0000 (Wed, 25 Jun 2014) | 6 lines Changed paths: M /trunk/src/random_deviate.h [src/random_deviate.h] Fixed prototypes: * Added __MPFR_DECLSPEC to avoid failure with Windows DLL; see https://sympa.inria.fr/sympa/arc/mpfr/2014-06/msg00003.html * Added _MPFR_PROTO for consistency (though it will probably be removed in the near future). * Removed variable names (coding style). ------------------------------------------------------------------------ r9084 | vlefevre | 2014-06-24 14:29:22 +0000 (Tue, 24 Jun 2014) | 1 line Changed paths: M /trunk/tests [tests] Added terandom_chisq and tnrandom_chisq to svn:ignore property. ------------------------------------------------------------------------ r9083 | vlefevre | 2014-06-24 14:26:58 +0000 (Tue, 24 Jun 2014) | 3 lines Changed paths: M /trunk/tests/Makefile.am A /trunk/tests/chi-squared-tests.txt A /trunk/tests/terandom_chisq.c A /trunk/tests/tnrandom_chisq.c M /trunk/tests/trandom_deviate.c [tests] Applied patch by Charles Karney (chi-squared tests for mpfr_[ne]random), together with the contents of his mail about this patch. ------------------------------------------------------------------------ r9082 | vlefevre | 2014-06-23 11:14:48 +0000 (Mon, 23 Jun 2014) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r9081 | vlefevre | 2014-06-22 20:37:11 +0000 (Sun, 22 Jun 2014) | 1 line Changed paths: M /trunk/INSTALL M /trunk/README M /trunk/TODO M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/doc/README.dev M /trunk/doc/mpfr.texi M /trunk/src/get_d64.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-sassert.h M /trunk/src/mpfr.h M /trunk/src/set_d64.c M /trunk/tests/tests.c M /trunk/tests/tgeneric.c M /trunk/tests/tset_ld.c Updated URL's. ------------------------------------------------------------------------ r9079 | vlefevre | 2014-06-22 11:53:31 +0000 (Sun, 22 Jun 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated URL's (use of https instead of http). ------------------------------------------------------------------------ r9071 | vlefevre | 2014-06-17 10:20:27 +0000 (Tue, 17 Jun 2014) | 2 lines Changed paths: M /trunk/tests/trandom_deviate.c [tests/trandom_deviate.c] New version, with fixes of ternary value (inexact) handling by Charles Karney. ------------------------------------------------------------------------ r9070 | vlefevre | 2014-06-17 10:10:24 +0000 (Tue, 17 Jun 2014) | 1 line Changed paths: M /trunk/tests [tests] Added trandom_deviate to svn:ignore property. ------------------------------------------------------------------------ r9069 | vlefevre | 2014-06-17 10:08:55 +0000 (Tue, 17 Jun 2014) | 1 line Changed paths: M /trunk/tests/trandom_deviate.c [tests/trandom_deviate.c] GNU style and C90 compatibility. ------------------------------------------------------------------------ r9068 | vlefevre | 2014-06-17 09:09:01 +0000 (Tue, 17 Jun 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated note about ternary values (macros). ------------------------------------------------------------------------ r9067 | vlefevre | 2014-06-17 09:03:11 +0000 (Tue, 17 Jun 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a note about ternary values. ------------------------------------------------------------------------ r9066 | zimmerma | 2014-06-17 05:41:36 +0000 (Tue, 17 Jun 2014) | 2 lines Changed paths: M /trunk/src/random_deviate.c M /trunk/tests/trandom_deviate.c patches from Charles Karney ------------------------------------------------------------------------ r9065 | vlefevre | 2014-06-17 00:21:33 +0000 (Tue, 17 Jun 2014) | 2 lines Changed paths: M /trunk/tests/trandom_deviate.c [tests/trandom_deviate.c] Removed useless "#ifdef HAVE_STDARG": printf is a standard C function and is always defined. ------------------------------------------------------------------------ r9064 | vlefevre | 2014-06-17 00:20:05 +0000 (Tue, 17 Jun 2014) | 2 lines Changed paths: M /trunk/tests/trandom_deviate.c [tests/trandom_deviate.c] GNU style. Pre-C99 compatibility (statements after declarations). ------------------------------------------------------------------------ r9063 | vlefevre | 2014-06-17 00:15:15 +0000 (Tue, 17 Jun 2014) | 1 line Changed paths: M /trunk/tests/trandom_deviate.c [tests/trandom_deviate.c] Untabified. ------------------------------------------------------------------------ r9061 | zimmerma | 2014-06-16 13:21:42 +0000 (Mon, 16 Jun 2014) | 2 lines Changed paths: M /trunk/tests/Makefile.am A /trunk/tests/trandom_deviate.c added trandom_deviate.c to improve coverage (contributed by Charles Karney) ------------------------------------------------------------------------ r9060 | zimmerma | 2014-06-16 13:20:13 +0000 (Mon, 16 Jun 2014) | 2 lines Changed paths: M /trunk/doc/README.dev updated information about coverage test ------------------------------------------------------------------------ r9059 | vlefevre | 2014-06-05 12:48:00 +0000 (Thu, 05 Jun 2014) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] English usage in a comment. ------------------------------------------------------------------------ r9058 | vlefevre | 2014-06-03 09:16:01 +0000 (Tue, 03 Jun 2014) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Updated a comment. ------------------------------------------------------------------------ r9054 | vlefevre | 2014-05-22 00:09:42 +0000 (Thu, 22 May 2014) | 1 line Changed paths: M /trunk/README M /trunk/doc/README.dev M /trunk/tools/announce-text Changed "INRIAGForge" to "InriaForge" (due to the rename). ------------------------------------------------------------------------ r9048 | vlefevre | 2014-05-14 13:56:06 +0000 (Wed, 14 May 2014) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Correction about clang sanitizer: mention the -fno-sanitize=float-cast-overflow,float-divide-by-zero option. ------------------------------------------------------------------------ r9047 | vlefevre | 2014-05-14 13:28:04 +0000 (Wed, 14 May 2014) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] About clang sanitizer, mention the -fno-sanitize=float-divide-by-zero option. ------------------------------------------------------------------------ r9046 | zimmerma | 2014-05-06 12:14:24 +0000 (Tue, 06 May 2014) | 2 lines Changed paths: M /trunk/doc/algorithms.bib M /trunk/doc/algorithms.tex added description of algorithm used for mpfr_log (from Sylvie Boldo) ------------------------------------------------------------------------ r9045 | vlefevre | 2014-04-25 09:02:51 +0000 (Fri, 25 Apr 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated an old note about GCC 4.9. ------------------------------------------------------------------------ r9044 | vlefevre | 2014-04-25 09:00:56 +0000 (Fri, 25 Apr 2014) | 3 lines 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) ------------------------------------------------------------------------ r9043 | vlefevre | 2014-04-25 08:30:38 +0000 (Fri, 25 Apr 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Completed the note about GCC's sanitizer. ------------------------------------------------------------------------ r9042 | vlefevre | 2014-04-25 07:21:24 +0000 (Fri, 25 Apr 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Mention that GCC 4.9 supports "-fsanitize=undefined". ------------------------------------------------------------------------ r9040 | vlefevre | 2014-04-22 15:20:13 +0000 (Tue, 22 Apr 2014) | 2 lines Changed paths: M /trunk/tests/tpow.c [tests/tpow.c] Removed comment that can now be confusing: try_mpfr.html was actually not using the mpfr_pow function, but exp(y*log(x)). ------------------------------------------------------------------------ r9039 | vlefevre | 2014-04-22 10:48:46 +0000 (Tue, 22 Apr 2014) | 3 lines Changed paths: M /trunk/tests/tpow.c [tests/tpow.c] Added a test corresponding to buggy output on http://ex-cs.sist.ac.jp/~tkouya/try_mpfr.html but everything is OK in r9038. ------------------------------------------------------------------------ r9036 | vlefevre | 2014-04-15 22:26:58 +0000 (Tue, 15 Apr 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update about patches and autotools files. ------------------------------------------------------------------------ r9035 | vlefevre | 2014-04-15 22:26:18 +0000 (Tue, 15 Apr 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update about patches and autotools files. ------------------------------------------------------------------------ r9032 | vlefevre | 2014-04-15 15:13:32 +0000 (Tue, 15 Apr 2014) | 2 lines Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Changed initialization in check_extreme(), which wasn't supported by ISO C90. ------------------------------------------------------------------------ r9031 | vlefevre | 2014-04-15 15:12:11 +0000 (Tue, 15 Apr 2014) | 1 line Changed paths: M /trunk/src/free_cache.c [free_cache.c] Avoid mixed declarations and code for ISO C90 support. ------------------------------------------------------------------------ r9030 | vlefevre | 2014-04-15 13:01:25 +0000 (Tue, 15 Apr 2014) | 6 lines Changed paths: M /trunk/configure.ac Re-added configure test on GMP_NUMB_BITS and sizeof(mp_limb_t), and updated it: * BYTES_PER_MP_LIMB is no longer tested (see r9029). * The test is now always run, not just when --with-gmp-build is used. * Results are output in config.log in case of failure. * The error message has been updated. ------------------------------------------------------------------------ r9029 | zimmerma | 2014-04-15 09:15:31 +0000 (Tue, 15 Apr 2014) | 3 lines Changed paths: M /trunk/configure.ac M /trunk/src/exp.c M /trunk/src/init2.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mul.c M /trunk/src/rndna.c M /trunk/src/stack_interface.c BYTES_PER_MP_LIMB -> MPFR_BYTES_PER_MP_LIMB for GMP 6 compatibility when --with-gmp-build is used. See mailing-list discussion: https://sympa.inria.fr/sympa/arc/mpfr/2014-04/msg00000.html ------------------------------------------------------------------------ r9020 | zimmerma | 2014-03-26 06:49:35 +0000 (Wed, 26 Mar 2014) | 2 lines Changed paths: M /trunk/TODO other argument reduction for log_ui ------------------------------------------------------------------------ r9019 | zimmerma | 2014-03-25 20:40:42 +0000 (Tue, 25 Mar 2014) | 3 lines Changed paths: M /trunk/src/sqrt.c mpn_sqrtrem (rp, sp, sp, rrsize) is faster than mpn_sqrtrem (rp, NULL, sp, rrsize): avoids one allocation and one copy ------------------------------------------------------------------------ r9016 | vlefevre | 2014-03-25 15:05:47 +0000 (Tue, 25 Mar 2014) | 4 lines Changed paths: M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/check.c M /trunk/src/cmp.c M /trunk/src/init2.c M /trunk/src/mpfr-impl.h M /trunk/src/mul.c M /trunk/src/round_prec.c M /trunk/src/set_dfl_prec.c M /trunk/src/set_prc_raw.c M /trunk/src/set_prec.c M /trunk/src/sqrt.c M /trunk/src/sub1.c M /trunk/src/sub1sp.c M /trunk/tests/tconst_pi.c M /trunk/tests/tests.c Added MPFR_PREC_COND, MPFR_PREC_IN_RANGE and MPFR_GET_PREC internal macros (to mpfr-impl.h). Use these macros at some places in the code (replacing some MPFR_PREC instances, as suggested by a patch from Patrick Pélissier). ------------------------------------------------------------------------ r9015 | vlefevre | 2014-03-25 14:39:43 +0000 (Tue, 25 Mar 2014) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added an MPFR_ASSERTD in MPFR_MPZ_SIZEINBASE2 (from a patch by Patrick Pélissier). ------------------------------------------------------------------------ r9014 | vlefevre | 2014-03-25 14:36:03 +0000 (Tue, 25 Mar 2014) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Replaced a MPFR_EXP by MPFR_SET_EXP (from a patch by Patrick Pélissier). ------------------------------------------------------------------------ r9013 | vlefevre | 2014-03-25 14:28:48 +0000 (Tue, 25 Mar 2014) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] Added MPFR_ASSERTD assertions and improved a test (patch from Patrick Pélissier). ------------------------------------------------------------------------ r9011 | zimmerma | 2014-03-17 20:54:30 +0000 (Mon, 17 Mar 2014) | 2 lines Changed paths: M /trunk/doc/algorithms.tex fixed FIXME ------------------------------------------------------------------------ r9010 | vlefevre | 2014-03-17 15:35:52 +0000 (Mon, 17 Mar 2014) | 9 lines Changed paths: M /trunk/doc/algorithms.bib M /trunk/doc/algorithms.tex [doc/algorithms.*] A formula about radix conversion was incorrect (and didn't match the correct code) when the output radix b is a power of two. Added reference to Matula's "In-and-Out Conversions" (correctness and optimality of the formula) and left a FIXME. For more information, see the August/September discussion in the MPFR list, particular subthreads starting at: https://sympa.inria.fr/sympa/arc/mpfr/2012-08/msg00028.html https://sympa.inria.fr/sympa/arc/mpfr/2012-09/msg00000.html https://sympa.inria.fr/sympa/arc/mpfr/2012-09/msg00011.html ------------------------------------------------------------------------ r9009 | zimmerma | 2014-03-15 08:26:10 +0000 (Sat, 15 Mar 2014) | 2 lines Changed paths: M /trunk/TODO added item ------------------------------------------------------------------------ r9008 | zimmerma | 2014-03-14 17:21:33 +0000 (Fri, 14 Mar 2014) | 2 lines Changed paths: M /trunk/TODO added item (mpfr_log_ui) ------------------------------------------------------------------------ r9002 | vlefevre | 2014-03-14 11:37:11 +0000 (Fri, 14 Mar 2014) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r9001 | vlefevre | 2014-03-14 11:35:17 +0000 (Fri, 14 Mar 2014) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Correction in the mpfr_set_str description. ------------------------------------------------------------------------ r8998 | vlefevre | 2014-03-10 00:34:57 +0000 (Mon, 10 Mar 2014) | 2 lines Changed paths: M /trunk/TODO M /trunk/src/gmp_op.c Added a TODO item concerning gmp_op.c functions with mpz_srcptr and the use of mpz_fits_slong_p and a mpfr_*_si function (see r8992). ------------------------------------------------------------------------ r8997 | vlefevre | 2014-03-02 08:32:16 +0000 (Sun, 02 Mar 2014) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Fixed the mpfr_get_default_rounding_mode() macro for C++ (it didn't have the correct type), and improved the similar ones. ------------------------------------------------------------------------ r8996 | vlefevre | 2014-03-02 08:12:34 +0000 (Sun, 02 Mar 2014) | 1 line Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] Fixed allocation. ------------------------------------------------------------------------ r8995 | vlefevre | 2014-03-02 08:07:31 +0000 (Sun, 02 Mar 2014) | 2 lines Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] Temporarily disabled fast argument reconstruction because it doesn't compile with g++. ------------------------------------------------------------------------ r8994 | vlefevre | 2014-03-01 23:43:27 +0000 (Sat, 01 Mar 2014) | 1 line Changed paths: M /trunk/src/lngamma.c Removed trailing spaces. ------------------------------------------------------------------------ r8993 | zimmerma | 2014-02-28 21:56:47 +0000 (Fri, 28 Feb 2014) | 3 lines Changed paths: M /trunk/src/lngamma.c [lngamma.c] implemented fast way of computing x*(x+1)*...*(x+k-1) (it remains to speed up the computation of the Bernoulli numbers) ------------------------------------------------------------------------ r8992 | zimmerma | 2014-02-28 20:15:35 +0000 (Fri, 28 Feb 2014) | 2 lines Changed paths: M /trunk/src/gmp_op.c speedup of the mpfr_xxx_z functions when z fits in a long ------------------------------------------------------------------------ r8991 | zimmerma | 2014-02-28 19:49:15 +0000 (Fri, 28 Feb 2014) | 2 lines Changed paths: M /trunk/TODO explicit possible speedup in mpfr_[ln]gamma ------------------------------------------------------------------------ r8990 | vlefevre | 2014-02-24 15:29:52 +0000 (Mon, 24 Feb 2014) | 1 line Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] Avoid inconsistent spaces. ------------------------------------------------------------------------ r8989 | vlefevre | 2014-02-21 14:19:41 +0000 (Fri, 21 Feb 2014) | 1 line Changed paths: M /trunk/tools/mbench/README [tools/mbench/README] Conversion into UTF-8. ------------------------------------------------------------------------ r8988 | vlefevre | 2014-02-21 14:12:39 +0000 (Fri, 21 Feb 2014) | 1 line Changed paths: M /trunk/tools/mbench/generate.c M /trunk/tools/mbench/mfv5-crlibm.cc M /trunk/tools/mbench/mfv5-libc.cc M /trunk/tools/mbench/mfv5-mpfr.cc M /trunk/tools/mbench/mfv5.cc M /trunk/tools/mbench/mpfr-gfx.c M /trunk/tools/mbench/mpfr-v4.c M /trunk/tools/mbench/mpfr-v6.c [tools/mbench] Replaced GMP_RNDx by MPFR_RNDx. ------------------------------------------------------------------------ r8987 | zimmerma | 2014-02-21 13:18:59 +0000 (Fri, 21 Feb 2014) | 2 lines Changed paths: M /trunk/doc/mpfr.texi definitively fix the name mpfr_min_prec ------------------------------------------------------------------------ r8986 | vlefevre | 2014-02-17 13:28:38 +0000 (Mon, 17 Feb 2014) | 1 line Changed paths: M /trunk/src/bernoulli.c [src/bernoulli.c] Minor bug fixed and other improvements. ------------------------------------------------------------------------ r8985 | zimmerma | 2014-02-17 13:24:48 +0000 (Mon, 17 Feb 2014) | 2 lines Changed paths: M /trunk/TODO update for mpfr_gamma and Bernoulli numbers ------------------------------------------------------------------------ r8984 | vlefevre | 2014-02-17 13:08:24 +0000 (Mon, 17 Feb 2014) | 1 line Changed paths: M /trunk/src/bernoulli.c [src/bernoulli.c] Fixed pointer types (build failure with -Werror). ------------------------------------------------------------------------ r8983 | vlefevre | 2014-02-17 13:02:58 +0000 (Mon, 17 Feb 2014) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Removed obsolete mpfr_bernoulli_internal prototype, which makes the compilation of bernoulli.c fail. ------------------------------------------------------------------------ r8982 | vlefevre | 2014-02-17 13:01:03 +0000 (Mon, 17 Feb 2014) | 1 line Changed paths: M /trunk/src/bernoulli.c [src/bernoulli.c] Improved isprime() by using MPFR_ASSERTD. ------------------------------------------------------------------------ r8981 | zimmerma | 2014-02-17 12:46:18 +0000 (Mon, 17 Feb 2014) | 3 lines Changed paths: M /trunk/NEWS M /trunk/src/bernoulli.c use a faster algorithm (based on Von Staudt–Clausen theorem) to compute Bernoulli numbers -> speedup in mpfr_*gamma and mpfr_li2 ------------------------------------------------------------------------ r8980 | zimmerma | 2014-02-16 07:28:11 +0000 (Sun, 16 Feb 2014) | 2 lines Changed paths: M /trunk/src/set_d.c M /trunk/tests/tset_d.c more changes suggested by Wolf Lammen (and also test 2^(-1074)) ------------------------------------------------------------------------ r8979 | vlefevre | 2014-02-16 02:52:21 +0000 (Sun, 16 Feb 2014) | 2 lines Changed paths: M /trunk/tests/memory.c [tests/memory.c] Limit heap memory to 4 MB. This should be sufficient. Currently, only tsum should fail, but mpfr_sum will be rewritten soon. ------------------------------------------------------------------------ r8978 | vlefevre | 2014-02-15 21:22:55 +0000 (Sat, 15 Feb 2014) | 2 lines Changed paths: M /trunk/src/set_d.c [src/set_d.c] Fixed type to avoid non-representable unsigned → signed conversion. ------------------------------------------------------------------------ r8977 | vlefevre | 2014-02-15 21:19:22 +0000 (Sat, 15 Feb 2014) | 1 line Changed paths: M /trunk/src/set_d.c [src/set_d.c] Correction when MPFR_WANT_ASSERT is defined. ------------------------------------------------------------------------ r8976 | vlefevre | 2014-02-15 21:03:02 +0000 (Sat, 15 Feb 2014) | 1 line Changed paths: M /trunk/src/get_ld.c M /trunk/src/set_ld.c Untabified and removed trailing spaces. ------------------------------------------------------------------------ r8975 | zimmerma | 2014-02-15 20:20:27 +0000 (Sat, 15 Feb 2014) | 4 lines Changed paths: M /trunk/src/set_d.c partial patch from Wolf Lammen: - move the normalization code, necessary in an extremely rare corner case only, out of the way of the normal case, for speed up ------------------------------------------------------------------------ r8974 | zimmerma | 2014-02-15 09:37:01 +0000 (Sat, 15 Feb 2014) | 3 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tests.c Rename MPFR gmp_randstate_ptr into mpfr_gmp_randstate_ptr (patch from Patrick Pélissier) ------------------------------------------------------------------------ r8973 | zimmerma | 2014-02-14 16:01:28 +0000 (Fri, 14 Feb 2014) | 2 lines Changed paths: M /trunk/acinclude.m4 print message for "possibly double-double, little endian" long double format ------------------------------------------------------------------------ r8972 | zimmerma | 2014-02-14 15:56:54 +0000 (Fri, 14 Feb 2014) | 2 lines Changed paths: M /trunk/src/cmp_ld.c M /trunk/src/get_ld.c M /trunk/src/set_ld.c different fixes for set_ld, get_ld and cmd_ld with double-double ------------------------------------------------------------------------ r8971 | vlefevre | 2014-02-14 12:37:36 +0000 (Fri, 14 Feb 2014) | 3 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Fixed an assertion to support systems where 2^1023 + 2^(-1074) is exactly representable, while not detected as double-double. ------------------------------------------------------------------------ r8970 | zimmerma | 2014-02-14 12:18:26 +0000 (Fri, 14 Feb 2014) | 3 lines Changed paths: M /trunk/acinclude.m4 recognize long-double format for ppc64le (https://sympa.inria.fr/sympa/arc/mpfr/2014-02/msg00014.html) ------------------------------------------------------------------------ r8969 | vlefevre | 2014-02-14 10:25:22 +0000 (Fri, 14 Feb 2014) | 1 line Changed paths: M /trunk/TODO [TODO] Added item on special case of mpfr_add and mpfr_sub. ------------------------------------------------------------------------ r8968 | zimmerma | 2014-02-14 08:11:02 +0000 (Fri, 14 Feb 2014) | 2 lines Changed paths: M /trunk/tests/tset_ld.c added test for get_ld ------------------------------------------------------------------------ r8967 | vlefevre | 2014-02-14 00:50:10 +0000 (Fri, 14 Feb 2014) | 9 lines Changed paths: M /trunk/src/cache.c [src/cache.c] * Improved r8966: Setting the cache size to 10% more than the requested precision may be a bad idea in large precisions. It's better to guarantee a minimum of 10% increase; if the user wants to, he can still control the maximum precision by pre-computing the constant at this precision. Also make sure that if pold == 0, the mpfr_init2 size is the same as the mpfr_set_prec one (in order to avoid immediate reallocation). * Replaced a comment by a couple of MPFR_ASSERTD's. ------------------------------------------------------------------------ r8966 | zimmerma | 2014-02-13 18:25:08 +0000 (Thu, 13 Feb 2014) | 3 lines Changed paths: M /trunk/src/cache.c when recomputing a constant, use a precision 10% larger than the wanted precision to avoid many recomputations ------------------------------------------------------------------------ r8965 | vlefevre | 2014-02-13 12:43:02 +0000 (Thu, 13 Feb 2014) | 1 line Changed paths: M /trunk/src/round_raw_generic.c [src/round_raw_generic.c] Added a FIXME comment for MPFR_RNDNA. ------------------------------------------------------------------------ r8964 | vlefevre | 2014-02-13 12:34:07 +0000 (Thu, 13 Feb 2014) | 2 lines Changed paths: M /trunk/src/bernoulli.c M /trunk/src/mpfr-impl.h [src/bernoulli.c] GNU style. [src/mpfr-impl.h] Corrected prototypes. ------------------------------------------------------------------------ r8963 | zimmerma | 2014-02-13 09:38:34 +0000 (Thu, 13 Feb 2014) | 3 lines Changed paths: M /trunk/src/bernoulli.c M /trunk/src/digamma.c M /trunk/src/free_cache.c M /trunk/src/li2.c M /trunk/src/lngamma.c M /trunk/src/mpfr-impl.h implement cache for Bernoulli numbers (patch from Patrick Pélissier) tuned parameters for [ln]gamma now that we cache Bernoulli numbers ------------------------------------------------------------------------ r8962 | zimmerma | 2014-02-13 09:23:44 +0000 (Thu, 13 Feb 2014) | 2 lines Changed paths: M /trunk/tools/bench/Makefile.am added bench target so that we can simply do "make bench" ------------------------------------------------------------------------ r8961 | zimmerma | 2014-02-12 21:29:39 +0000 (Wed, 12 Feb 2014) | 2 lines Changed paths: M /trunk/tests/tset_ld.c added test for double-double ------------------------------------------------------------------------ r8960 | zimmerma | 2014-02-12 20:10:20 +0000 (Wed, 12 Feb 2014) | 2 lines Changed paths: M /trunk/TODO added comment about mpfr_gamma ------------------------------------------------------------------------ r8959 | zimmerma | 2014-02-12 19:01:28 +0000 (Wed, 12 Feb 2014) | 2 lines Changed paths: M /trunk/src/gamma.c forgot to restore the exponents in last commit ------------------------------------------------------------------------ r8958 | zimmerma | 2014-02-12 18:25:03 +0000 (Wed, 12 Feb 2014) | 2 lines Changed paths: M /trunk/TODO added reference for efficiency issue with mpfr_gamma ------------------------------------------------------------------------ r8957 | zimmerma | 2014-02-12 18:20:51 +0000 (Wed, 12 Feb 2014) | 2 lines Changed paths: M /trunk/src/gamma.c M /trunk/src/lngamma.c improve mpfr_gamma at around 1000 bits ------------------------------------------------------------------------ r8956 | vlefevre | 2014-02-12 02:46:10 +0000 (Wed, 12 Feb 2014) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8954 | vlefevre | 2014-02-12 02:43:45 +0000 (Wed, 12 Feb 2014) | 17 lines Changed paths: M /trunk M /trunk/doc/mpfr.texi M /trunk/src/add_ui.c M /trunk/src/cache.c M /trunk/src/mpfr-impl.h M /trunk/src/random_deviate.c M /trunk/src/set_d.c M /trunk/src/set_exp.c M /trunk/src/set_f.c M /trunk/src/sqrt_ui.c M /trunk/src/sub_ui.c M /trunk/src/ui_div.c M /trunk/src/ui_sub.c M /trunk/src/urandomb.c M /trunk/tests/trandom.c Merged the set_exp branch into the trunk. Changes: * src/mpfr-impl.h: updated the MPFR_SET_EXP(x, exp) definition for the MPFR_EXP_CHECK case. There are 2 consequences: 1. The exp expression is evaluated several times (this should be OK with the MPFR code and optimizations). 2. The real value of exp is tested for the assertion, instead of the value converted to mpfr_exp_t. Thus new bugs could be found (e.g. when an unsigned type is used instead of signed). * src/set_exp.c: set the exponent only if x is a non-zero ordinary number, i.e. already has a valid significand and a valid exponent (thus it is no longer a low-level function, and it can no longer generate an invalid value from a valid one). * doc/mpfr.texi: updated mpfr_set_exp description and added an item in the "API Compatibility / Changed Functions" section. * Clean-up. Original discussion: https://sympa.inria.fr/sympa/arc/mpfr/2011-01/msg00092.html ------------------------------------------------------------------------ r8953 | vlefevre | 2014-02-12 02:18:46 +0000 (Wed, 12 Feb 2014) | 1 line Changed paths: M /trunk/src/rint.c [src/rint.c] Added FIXME comment. ------------------------------------------------------------------------ r8952 | vlefevre | 2014-02-12 02:13:50 +0000 (Wed, 12 Feb 2014) | 1 line Changed paths: M /trunk/src/next.c [src/next.c] Improved handling of special values. ------------------------------------------------------------------------ r8949 | vlefevre | 2014-02-12 01:47:16 +0000 (Wed, 12 Feb 2014) | 2 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] Bug fixes and code clean-up. At the same time, took the future mpfr_set_exp change into account (see set_exp branch). ------------------------------------------------------------------------ r8948 | vlefevre | 2014-02-12 00:55:41 +0000 (Wed, 12 Feb 2014) | 1 line Changed paths: M /trunk/src/set.c [src/set.c] Cosmetic change. ------------------------------------------------------------------------ r8947 | vlefevre | 2014-02-12 00:47:31 +0000 (Wed, 12 Feb 2014) | 1 line Changed paths: M /trunk/src/fpif.c [src/fpif.c] English usage. ------------------------------------------------------------------------ r8945 | vlefevre | 2014-02-11 17:44:18 +0000 (Tue, 11 Feb 2014) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Cosmetic change. ------------------------------------------------------------------------ r8944 | vlefevre | 2014-02-11 16:33:23 +0000 (Tue, 11 Feb 2014) | 4 lines Changed paths: M /trunk M /trunk/src/atan.c [src/atan.c] Fixed types of some variables, in particular unsigned → signed conversion of non-representable value (detected due to the new MPFR_SET_EXP assertion check in the set_exp branch). ------------------------------------------------------------------------ r8942 | vlefevre | 2014-02-11 16:20:25 +0000 (Tue, 11 Feb 2014) | 4 lines Changed paths: M /trunk M /trunk/src/exp3.c [src/exp3.c] Fixed types of some variables, in particular unsigned → signed conversion of non-representable value (detected due to the new MPFR_SET_EXP assertion check in the set_exp branch). ------------------------------------------------------------------------ r8940 | vlefevre | 2014-02-11 14:40:11 +0000 (Tue, 11 Feb 2014) | 3 lines Changed paths: M /trunk M /trunk/src/set_ui_2exp.c M /trunk/src/set_uj.c [src/{set_ui_2exp.c,set_uj.c}] Fixed types of some variables, in particular unsigned → signed conversion of non-representable value under some conditions. ------------------------------------------------------------------------ r8934 | vlefevre | 2014-02-11 13:59:39 +0000 (Tue, 11 Feb 2014) | 3 lines Changed paths: M /trunk M /trunk/src/set_si_2exp.c [src/set_si_2exp.c] Fixed unsigned → signed conversion of non-representable value when mpfr_exp_t has the same size as int. ------------------------------------------------------------------------ r8931 | vlefevre | 2014-02-11 13:51:47 +0000 (Tue, 11 Feb 2014) | 3 lines Changed paths: M /trunk M /trunk/src/add_ui.c [src/add_ui.c] Fixed unsigned → signed conversion of non-representable value (detected due to the new MPFR_SET_EXP assertion check in the set_exp branch). ------------------------------------------------------------------------ r8929 | vlefevre | 2014-02-11 13:43:55 +0000 (Tue, 11 Feb 2014) | 1 line Changed paths: M /trunk/src/random_deviate.c [src/random_deviate.c] Added an assertion. ------------------------------------------------------------------------ r8928 | vlefevre | 2014-02-11 13:35:52 +0000 (Tue, 11 Feb 2014) | 3 lines Changed paths: M /trunk M /trunk/tests/random2.c [tests/random2.c] Fixed unsigned → signed conversion of non-representable value (detected due to the new MPFR_SET_EXP assertion check in the set_exp branch). ------------------------------------------------------------------------ r8922 | vlefevre | 2014-02-11 11:55:20 +0000 (Tue, 11 Feb 2014) | 1 line Changed paths: M /trunk/tools/bench Set svn:ignore property on the tools/bench directory. ------------------------------------------------------------------------ r8921 | vlefevre | 2014-02-06 11:50:39 +0000 (Thu, 06 Feb 2014) | 1 line Changed paths: M /trunk/src/set_ld.c [src/set_ld.c] Added a note about the test for infinity. ------------------------------------------------------------------------ r8920 | zimmerma | 2014-02-05 04:53:39 +0000 (Wed, 05 Feb 2014) | 2 lines Changed paths: M /trunk/tools/nightly-test make -> make mpfrbench ------------------------------------------------------------------------ r8919 | vlefevre | 2014-02-05 01:10:06 +0000 (Wed, 05 Feb 2014) | 1 line Changed paths: M /trunk/doc/README.dev M /trunk/tests/tgeneric.c M /trunk/tools/nightly-test Removed MPFR_CHECK_MAX as it is now useless: all "max" tests succeed. ------------------------------------------------------------------------ r8918 | vlefevre | 2014-02-05 01:00:58 +0000 (Wed, 05 Feb 2014) | 2 lines Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] Fixed bug introduced in the latest change r8917 (inexact was not initialized in the case compared < 0). ------------------------------------------------------------------------ r8917 | zimmerma | 2014-02-04 13:14:52 +0000 (Tue, 04 Feb 2014) | 2 lines Changed paths: M /trunk/src/lngamma.c added code for large inputs in lngamma/lgamma ------------------------------------------------------------------------ r8916 | vlefevre | 2014-02-04 12:53:29 +0000 (Tue, 04 Feb 2014) | 1 line Changed paths: M /trunk/TODO [TODO] Suggest timing-based thresholds for asymptotic expansions. ------------------------------------------------------------------------ r8915 | zimmerma | 2014-02-04 12:20:47 +0000 (Tue, 04 Feb 2014) | 2 lines Changed paths: M /trunk/src/digamma.c M /trunk/tests/data/digamma use asymptotic expansion for large positive argument ------------------------------------------------------------------------ r8914 | zimmerma | 2014-01-30 09:18:33 +0000 (Thu, 30 Jan 2014) | 2 lines Changed paths: M /trunk/doc/mpfr.texi tiny change to distinguish different versions of the manual ------------------------------------------------------------------------ r8913 | vlefevre | 2014-01-29 23:43:47 +0000 (Wed, 29 Jan 2014) | 5 lines Changed paths: M /trunk/src/constant.c M /trunk/src/eint.c M /trunk/src/erf.c M /trunk/src/exp.c M /trunk/src/exp_2.c M /trunk/src/expm1.c M /trunk/src/mpfr-impl.h [src] Add constants: * __gmpfr_mone = -1 * mpfr_const_log2_RNDD = log(2) rounded down in precision 64 bits * mpfr_const_log2_RNDU = log(2) rounded up in precision 64 bits (modified patch from Patrick Pélissier). ------------------------------------------------------------------------ r8912 | zimmerma | 2014-01-29 17:02:50 +0000 (Wed, 29 Jan 2014) | 2 lines Changed paths: M /trunk/doc/algorithms.tex added reference ------------------------------------------------------------------------ r8911 | vlefevre | 2014-01-29 01:08:00 +0000 (Wed, 29 Jan 2014) | 1 line Changed paths: M /trunk/src/exp_2.c M /trunk/src/free_cache.c M /trunk/src/mpfr-impl.h [src] mpz_t caching (modified patch by Patrick Pélissier). ------------------------------------------------------------------------ r8910 | vlefevre | 2014-01-29 00:24:45 +0000 (Wed, 29 Jan 2014) | 2 lines Changed paths: M /trunk/src/const_pi.c [src/const_pi.c] Rewrote a condition to avoid a potential integer overflow (?) and match a comment. ------------------------------------------------------------------------ r8909 | vlefevre | 2014-01-29 00:17:08 +0000 (Wed, 29 Jan 2014) | 2 lines Changed paths: M /trunk/src/const_pi.c [src/const_pi.c] Use of GROUP allocation and minor optimization (modified patch by Patrick Pélissier). ------------------------------------------------------------------------ r8908 | vlefevre | 2014-01-28 03:58:36 +0000 (Tue, 28 Jan 2014) | 1 line Changed paths: M /trunk/TODO [TODO] Added a note about "rounding to odd" / "sticky rounding". ------------------------------------------------------------------------ r8907 | vlefevre | 2014-01-27 08:17:37 +0000 (Mon, 27 Jan 2014) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Run-time assertions concerning relations between the MPFR exponent type and the long type are allowed (see r8896). ------------------------------------------------------------------------ r8906 | vlefevre | 2014-01-26 02:43:37 +0000 (Sun, 26 Jan 2014) | 2 lines Changed paths: M /trunk/tests/mpf_compat.h [tests/mpf_compat.h] In MPFR mode, skip the tests when mpfr_exp_t is not a long. ------------------------------------------------------------------------ r8905 | vlefevre | 2014-01-26 02:39:15 +0000 (Sun, 26 Jan 2014) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Fixed printf argument. ------------------------------------------------------------------------ r8904 | vlefevre | 2014-01-26 02:36:16 +0000 (Sun, 26 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Fixed printf argument (bug detected with _MPFR_EXP_FORMAT=2 and -Werror=format=). ------------------------------------------------------------------------ r8902 | vlefevre | 2014-01-26 01:20:50 +0000 (Sun, 26 Jan 2014) | 3 lines Changed paths: M /trunk/tools/bench/mpfrbench.c [tools/bench/mpfrbench.c] No longer use the numberof macro, and #include "mpfr.h" instead of "mpfr-impl.h", so that mpfrbench.c can now be linked against an installed MPFR library. ------------------------------------------------------------------------ r8900 | vlefevre | 2014-01-24 15:17:15 +0000 (Fri, 24 Jan 2014) | 9 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac Added MPFR_CHECK_GMP configure check. Useful if the user provides --with-gmp with a directory containing a GMP version that doesn't have the correct ABI: the previous tests won't trigger the error if the same GMP version with the right ABI is installed on the system, as this library is automatically selected by the linker, while the header (which depends on the ABI) of the --with-gmp include directory is used. Before this test, one was getting an error in MPFR_CHECK_DBL2INT_BUG, though the error is not related to a double-to-integer conversion bug. ------------------------------------------------------------------------ r8899 | vlefevre | 2014-01-24 14:28:40 +0000 (Fri, 24 Jan 2014) | 10 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Corrections for the case _MPFR_EXP_FORMAT == 4: * No longer use MPFR_EXP_MIN and MPFR_EXP_MAX unconditionally in a #if directive, since if MPFR_HAVE_INTMAX_MAX is not defined, the compilation fails. The test was not really useful anyway: if one really wants mpfr_eexp_t to be long int if mpfr_exp_t has the same range as long int, then _MPFR_EXP_FORMAT == 3 is sufficient (and this is the default). * Removed a test that should be always true due to the previous inclusion of mpfr.h (intmax_t has already been used there in the case _MPFR_EXP_FORMAT == 4). ------------------------------------------------------------------------ r8898 | vlefevre | 2014-01-24 11:32:51 +0000 (Fri, 24 Jan 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Rephrased paragraph added in r8897. ------------------------------------------------------------------------ r8897 | vlefevre | 2014-01-24 11:29:06 +0000 (Fri, 24 Jan 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a note for Automake 1.13+ and failed tests. ------------------------------------------------------------------------ r8896 | vlefevre | 2014-01-24 11:09:21 +0000 (Fri, 24 Jan 2014) | 6 lines Changed paths: M /trunk/src/cot.c M /trunk/src/fpif.c M /trunk/src/pow.c M /trunk/src/print_rnd_mode.c M /trunk/src/rec_sqrt.c M /trunk/src/strtofr.c M /trunk/src/urandom.c [src] Replaced some MPFR_ASSERTN's by MPFR_STAT_STATIC_ASSERT (from the detection by mpfrlint). Note: the MPFR_ASSERTN's concerning relations between the MPFR exponent type and the long type have not been replaced because these tests may fail with the non-standard _MPFR_EXP_FORMAT = 4 on some platforms (e.g. 32-bit ones), and we still want to be able to build MPFR in this case in order to test it; this needs to be fixed. ------------------------------------------------------------------------ r8895 | vlefevre | 2014-01-24 10:24:22 +0000 (Fri, 24 Jan 2014) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Constant checking in assertions. ------------------------------------------------------------------------ r8894 | vlefevre | 2014-01-24 10:21:59 +0000 (Fri, 24 Jan 2014) | 1 line Changed paths: M /trunk/src/mpfr-mini-gmp.c [src/mpfr-mini-gmp.c] Use lower case for function parameters. ------------------------------------------------------------------------ r8893 | zimmerma | 2014-01-24 08:04:25 +0000 (Fri, 24 Jan 2014) | 2 lines Changed paths: M /trunk/tune/tuneup.c re-enable assertions (patch from Patrick Pélissier) ------------------------------------------------------------------------ r8892 | zimmerma | 2014-01-24 08:00:18 +0000 (Fri, 24 Jan 2014) | 2 lines Changed paths: M /trunk/src/add1sp.c removed an MPFR_LIKELY that is not so likely... ------------------------------------------------------------------------ r8891 | vlefevre | 2014-01-24 02:52:15 +0000 (Fri, 24 Jan 2014) | 2 lines Changed paths: M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/atan.c M /trunk/src/cache.c M /trunk/src/cmp2.c M /trunk/src/set_d.c M /trunk/src/set_ld.c M /trunk/src/set_z_exp.c M /trunk/src/sub1sp.c Optimization: likely / unlikely, etc. (patch by Patrick Pélissier). Coding style. ------------------------------------------------------------------------ r8890 | vlefevre | 2014-01-24 02:41:55 +0000 (Fri, 24 Jan 2014) | 2 lines Changed paths: M /trunk/tune/tuneup.c [tune/tuneup.c] Fix compilation error due to static assertion being wrong (patch by Patrick Pélissier). ------------------------------------------------------------------------ r8889 | vlefevre | 2014-01-24 02:39:30 +0000 (Fri, 24 Jan 2014) | 2 lines Changed paths: M /trunk/src/const_log2.c [src/const_log2.c] Optimization by using GROUP allocation (patch by Patrick Pélissier). ------------------------------------------------------------------------ r8888 | vlefevre | 2014-01-24 02:37:59 +0000 (Fri, 24 Jan 2014) | 2 lines Changed paths: M /trunk/src/exp_2.c [src/exp_2.c] Optimization: Increase the initial estimate of the number of iterations (patch by Patrick Pélissier). ------------------------------------------------------------------------ r8887 | vlefevre | 2014-01-24 02:36:05 +0000 (Fri, 24 Jan 2014) | 2 lines Changed paths: M /trunk/src/erfc.c [src/erfc.c] Use of static assertion instead of run time assertion (patch by Patrick Pélissier). ------------------------------------------------------------------------ r8886 | vlefevre | 2014-01-24 02:35:02 +0000 (Fri, 24 Jan 2014) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Removed trailing spaces. ------------------------------------------------------------------------ r8885 | vlefevre | 2014-01-24 02:33:48 +0000 (Fri, 24 Jan 2014) | 2 lines Changed paths: M /trunk/src/sin_cos.c [src/sin_cos.c] Optimization: use of MPFR_MPZ_SIZEINBASE2, GROUP allocation, and MPFR_ALIAS (modified patch by Patrick Pélissier). ------------------------------------------------------------------------ r8884 | vlefevre | 2014-01-24 02:25:02 +0000 (Fri, 24 Jan 2014) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5-libc.cc [tools/mbench/mfv5-libc.cc] Fix warning when compiling with recent GCC due to unused but set variable (patch by Patrick Pélissier). ------------------------------------------------------------------------ r8883 | zimmerma | 2014-01-23 21:15:27 +0000 (Thu, 23 Jan 2014) | 5 lines Changed paths: M /trunk/tools/bench/Makefile.am revert to EXTRA_PROGRAMS (bin_PROGRAMS is installed in /usr/local/bin, which is not what we want, we could use noinst_PROGRAMS, which would be compiled automatically, but for coherence with GNU MPC we use EXTRA_PROGRAMS which is not compiled automatically) ------------------------------------------------------------------------ r8881 | zimmerma | 2014-01-23 18:31:37 +0000 (Thu, 23 Jan 2014) | 2 lines Changed paths: M /trunk/tools/bench/mpfrbench.c divide the global score to get a number around 1000 ------------------------------------------------------------------------ r8880 | zimmerma | 2014-01-23 18:02:05 +0000 (Thu, 23 Jan 2014) | 2 lines Changed paths: M /trunk/src/sum.c added reference ------------------------------------------------------------------------ r8879 | zimmerma | 2014-01-23 16:56:55 +0000 (Thu, 23 Jan 2014) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5.cc gnu style ------------------------------------------------------------------------ r8878 | vlefevre | 2014-01-23 15:17:07 +0000 (Thu, 23 Jan 2014) | 4 lines Changed paths: M /trunk/doc/README.dev A /trunk/libtool-tcc-wl.patch Added libtool-tcc-wl.patch patch from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663945#46 to add tcc support to libtool 2.4.2 and below. In doc/README.dev, documented how to use this patch (before a release). ------------------------------------------------------------------------ r8877 | vlefevre | 2014-01-23 12:26:17 +0000 (Thu, 23 Jan 2014) | 4 lines Changed paths: M /trunk/tests/tadd.c M /trunk/tests/tsum.c [tests/tadd.c] Added check_extreme test (huge + tiny). [tests/tsum.c] Added check_extreme test (same test as in tadd.c, but with mpfr_sum instead of mpfr_add), and temporarily disabled the cancel test. ------------------------------------------------------------------------ r8876 | vlefevre | 2014-01-23 11:50:17 +0000 (Thu, 23 Jan 2014) | 1 line Changed paths: M /trunk/src/mulders.c M /trunk/tests/tadd.c M /trunk/tests/tatan.c M /trunk/tests/tfma.c M /trunk/tests/tfms.c M /trunk/tests/tl2b.c M /trunk/tests/tnext.c M /trunk/tests/tpow_all.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tools/bench/mpfrbench.c M /trunk/tune/speed.c Use of the numberof macro. ------------------------------------------------------------------------ r8875 | vlefevre | 2014-01-23 11:32:16 +0000 (Thu, 23 Jan 2014) | 1 line Changed paths: M /trunk/tools/bench/mpfrbench.c [tools/bench/mpfrbench.c] Whitespace clean-up. ------------------------------------------------------------------------ r8874 | vlefevre | 2014-01-23 11:28:06 +0000 (Thu, 23 Jan 2014) | 1 line Changed paths: M /trunk/src/const_euler.c [src/const_euler.c] Removed trailing spaces. ------------------------------------------------------------------------ r8873 | vlefevre | 2014-01-23 11:24:30 +0000 (Thu, 23 Jan 2014) | 2 lines Changed paths: M /trunk/tools/bench/Makefile.am [tools/bench/Makefile.am] Fix for separate build directory (problem detected with "make distcheck"). ------------------------------------------------------------------------ r8872 | vlefevre | 2014-01-23 09:17:10 +0000 (Thu, 23 Jan 2014) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Updated comment. ------------------------------------------------------------------------ r8871 | vlefevre | 2014-01-23 09:08:55 +0000 (Thu, 23 Jan 2014) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Updated comment. ------------------------------------------------------------------------ r8870 | vlefevre | 2014-01-23 09:06:21 +0000 (Thu, 23 Jan 2014) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Added a possible algorithm in comment. ------------------------------------------------------------------------ r8869 | vlefevre | 2014-01-23 08:41:50 +0000 (Thu, 23 Jan 2014) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Added FIXME comment. ------------------------------------------------------------------------ r8868 | zimmerma | 2014-01-22 20:27:28 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/tests/reuse.c missing space ------------------------------------------------------------------------ r8867 | zimmerma | 2014-01-22 18:26:49 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/AUTHORS M /trunk/doc/mpfr.texi Mickaël is the only author of MPFRbench ------------------------------------------------------------------------ r8866 | zimmerma | 2014-01-22 18:12:19 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/AUTHORS M /trunk/doc/mpfr.texi updated authors and contributors ------------------------------------------------------------------------ r8865 | zimmerma | 2014-01-22 16:58:29 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/NEWS M /trunk/src/const_euler.c new code for Euler's constant (contributed by Fredrik Johansson) ------------------------------------------------------------------------ r8864 | zimmerma | 2014-01-22 16:25:34 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/Makefile.am added subdir tools/bench ------------------------------------------------------------------------ r8863 | zimmerma | 2014-01-22 15:16:09 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/tools/nightly-test added MPFRbench ------------------------------------------------------------------------ r8862 | zimmerma | 2014-01-22 15:14:55 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/NEWS added MPFRbench ------------------------------------------------------------------------ r8861 | zimmerma | 2014-01-22 15:07:15 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/tools/bench/Makefile.am make mpfrbench compiled just with "make" ------------------------------------------------------------------------ r8860 | zimmerma | 2014-01-22 15:02:42 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/configure.ac changes for MPFRbench ------------------------------------------------------------------------ r8859 | zimmerma | 2014-01-22 15:02:13 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: A /trunk/tools/bench A /trunk/tools/bench/Makefile.am A /trunk/tools/bench/benchtime.h A /trunk/tools/bench/mpfrbench.c new directory for MPFRbench (contributed by Mickaël Gastineau and Bill Hart) ------------------------------------------------------------------------ r8858 | vlefevre | 2014-01-22 14:38:28 +0000 (Wed, 22 Jan 2014) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Added a comment about the cancellation test. ------------------------------------------------------------------------ r8857 | vlefevre | 2014-01-22 14:32:58 +0000 (Wed, 22 Jan 2014) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] In the cancellation test, do a random permutation. ------------------------------------------------------------------------ r8856 | zimmerma | 2014-01-22 14:30:28 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/doc/mpfr.texi mention sponsors ------------------------------------------------------------------------ r8855 | vlefevre | 2014-01-22 14:26:03 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] In the cancellation test: reduced the number of tests; output debug information when building with -DDEBUG. ------------------------------------------------------------------------ r8854 | vlefevre | 2014-01-22 14:12:16 +0000 (Wed, 22 Jan 2014) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Added simple cancellation test. ------------------------------------------------------------------------ r8853 | vlefevre | 2014-01-22 13:52:25 +0000 (Wed, 22 Jan 2014) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Fixed tests_default_random in case mpfr_exp_t > long. ------------------------------------------------------------------------ r8852 | vlefevre | 2014-01-22 13:39:18 +0000 (Wed, 22 Jan 2014) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved mpfr_sum description. ------------------------------------------------------------------------ r8851 | vlefevre | 2014-01-22 13:33:55 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/src/sum.c [src/sum.c] Do not use bitwise operations on values that can be negative. Added comments about what the functions do. ------------------------------------------------------------------------ r8850 | zimmerma | 2014-01-22 12:25:17 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/src/sqrt.c fixed regression noticed by Patrick Pelissier with --enable-gmp-internals ------------------------------------------------------------------------ r8849 | vlefevre | 2014-01-22 12:23:01 +0000 (Wed, 22 Jan 2014) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Fixed bug in test_version() introduced in r8821. ------------------------------------------------------------------------ r8847 | vlefevre | 2014-01-22 10:41:11 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/src/lngamma.c M /trunk/tests/tlngamma.c [src/lngamma.c] Fixed divide-by-zero flag for negative integers. [tests/tlngamma.c] Test the flags for some special values. Clean-up. ------------------------------------------------------------------------ r8846 | zimmerma | 2014-01-22 10:21:59 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/TODO removed two items done ------------------------------------------------------------------------ r8843 | vlefevre | 2014-01-21 17:40:44 +0000 (Tue, 21 Jan 2014) | 3 lines Changed paths: M /trunk/src/exp.c M /trunk/src/exp_2.c M /trunk/src/round_prec.c [src/{exp.c,exp_2.c}] mpfr_exp optimization (modified patch by Patrick Pélissier). [src/round_prec.c] Added a note about the reallocation. ------------------------------------------------------------------------ r8842 | vlefevre | 2014-01-21 17:17:53 +0000 (Tue, 21 Jan 2014) | 1 line Changed paths: M /trunk/src/round_prec.c M /trunk/src/set_exp.c LIKELY some code. ------------------------------------------------------------------------ r8841 | vlefevre | 2014-01-21 16:32:49 +0000 (Tue, 21 Jan 2014) | 7 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/lngamma.c M /trunk/tests/tlngamma.c [src/lngamma.c] Fixed mpfr_lngamma behavior on nonpositive integers and -Inf. [doc/mpfr.texi] Updated the documentation on the general rules for special values and on mpfr_lngamma. [tests/tlngamma.c] Update. See <https://sympa.inria.fr/sympa/arc/mpfr/2013-08/msg00008.html> (behavior of mpfr_lngamma on zero and general rule for such limits). ------------------------------------------------------------------------ r8840 | vlefevre | 2014-01-21 15:50:01 +0000 (Tue, 21 Jan 2014) | 4 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac [acinclude.m4,configure.ac] Check that a directory passed to a --with-gmp* configure option exists and doesn't contain any space, and canonicalize the name if the realpath utility is available (patch by Patrick Pélissier). ------------------------------------------------------------------------ r8835 | vlefevre | 2014-01-21 14:24:32 +0000 (Tue, 21 Jan 2014) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Optimization (modified patch by Patrick Pélissier). ------------------------------------------------------------------------ r8834 | vlefevre | 2014-01-21 14:17:54 +0000 (Tue, 21 Jan 2014) | 3 lines Changed paths: M /trunk/src/abort_prec_max.c M /trunk/src/add.c M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/add_ui.c M /trunk/src/clear.c M /trunk/src/cmp.c M /trunk/src/div.c M /trunk/src/div_2si.c M /trunk/src/div_ui.c M /trunk/src/exceptions.c M /trunk/src/init2.c M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/src/mul.c M /trunk/src/mul_ui.c M /trunk/src/set.c M /trunk/src/set_prec.c M /trunk/src/set_ui_2exp.c M /trunk/src/sub.c M /trunk/src/sub1sp.c [src] Added support for MPFR_PURE_FUNCTION_ATTR, MPFR_HOT_FUNCTION_ATTR, and MPFR_COLD_FUNCTION_ATTR, and fixed some LIKELY/UNLIKELY conditions (modified patch by Patrick Pélissier). ------------------------------------------------------------------------ r8833 | vlefevre | 2014-01-21 13:57:50 +0000 (Tue, 21 Jan 2014) | 7 lines Changed paths: M /trunk/src/atanh.c M /trunk/src/cot.c M /trunk/src/coth.c M /trunk/src/csc.c M /trunk/src/csch.c M /trunk/src/digamma.c M /trunk/src/div.c M /trunk/src/div_ui.c M /trunk/src/eint.c M /trunk/src/erfc.c M /trunk/src/gamma.c M /trunk/src/hypot.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/mpfr-impl.h M /trunk/src/pow.c M /trunk/src/pow_si.c M /trunk/src/pow_z.c M /trunk/src/rec_sqrt.c M /trunk/src/round_near_x.c M /trunk/src/subnormal.c M /trunk/src/ui_div.c M /trunk/src/yn.c M /trunk/src/zeta.c M /trunk/src/zeta_ui.c M /trunk/tools/mpfrlint [src/*.c] Replaced mpfr_set_divby0 by the faster MPFR_SET_DIVBY0, and so on (except for src/exceptions.c). [tools/mpfrlint] Update for flags related functions: check that the macros are used in src (except for exceptions.c and mpfr.h) instead of the functions. [src/mpfr-impl.h] Removed some useless parentheses in comments, for mpfrlint. ------------------------------------------------------------------------ r8832 | zimmerma | 2014-01-21 12:57:53 +0000 (Tue, 21 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tfma.c M /trunk/tests/tfms.c added more detail in case of error ------------------------------------------------------------------------ r8831 | vlefevre | 2014-01-21 11:21:18 +0000 (Tue, 21 Jan 2014) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added MPFR_SET_* macros to set flags efficiently. ------------------------------------------------------------------------ r8830 | vlefevre | 2014-01-21 11:05:35 +0000 (Tue, 21 Jan 2014) | 1 line Changed paths: M /trunk/src/erf.c Small mpfr_erf improvement (modified patch by Patrick Pélissier). ------------------------------------------------------------------------ r8829 | vlefevre | 2014-01-21 10:51:48 +0000 (Tue, 21 Jan 2014) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] TMP_FREE optimization as tmp_marker is often null (based on a patch by Patrick Pélissier). ------------------------------------------------------------------------ r8828 | vlefevre | 2014-01-21 10:36:26 +0000 (Tue, 21 Jan 2014) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] --enable-mini-gmp message: fixed layout; experimental. ------------------------------------------------------------------------ r8827 | vlefevre | 2014-01-21 10:33:27 +0000 (Tue, 21 Jan 2014) | 1 line Changed paths: M /trunk/NEWS [NEWS] Mini-gmp support is experimental. ------------------------------------------------------------------------ r8826 | vlefevre | 2014-01-21 10:32:01 +0000 (Tue, 21 Jan 2014) | 1 line Changed paths: M /trunk/NEWS [NEWS] Mention the new --enable-mini-gmp configure option. ------------------------------------------------------------------------ r8825 | vlefevre | 2014-01-21 10:30:24 +0000 (Tue, 21 Jan 2014) | 1 line Changed paths: M /trunk/NEWS [NEWS] Mini-gmp support. ------------------------------------------------------------------------ r8824 | vlefevre | 2014-01-21 10:28:29 +0000 (Tue, 21 Jan 2014) | 1 line Changed paths: M /trunk/NEWS [NEWS] MPFR now depends on GMP 4.2+. Dropped K&R C compatibility. ------------------------------------------------------------------------ r8823 | vlefevre | 2014-01-21 10:25:38 +0000 (Tue, 21 Jan 2014) | 1 line Changed paths: M /trunk/NEWS [NEWS] Better Automake 1.13 support. ------------------------------------------------------------------------ r8821 | vlefevre | 2014-01-21 09:54:21 +0000 (Tue, 21 Jan 2014) | 20 lines Changed paths: M /trunk M /trunk/tests/Makefile.am M /trunk/tests/mpfr-test.h M /trunk/tests/tests.c M /trunk/tests/tversion.c Merged the vl-am113 branch: test suite improvement with Automake 1.13. * Moved GMP version check from tversion.c to the test_version() function of tests.c, so that this check is done in every test. This function now returns an int, as there are now 3 cases: 1. An error in MPFR version check is a fatal error: test_version() exits with an error (exit status = 1). 2. An error in GMP version check is a non-fatal error: if there are no errors in MPFR version check, test_version() returns with value 1. 3. Otherwise test_version() returns with value 0 (everything is fine). * tversion.c still runs test_version(), but fails if this function returns with an error, i.e. any error is fatal for this test. Note: for the other tests, one just has a message in the output in case of GMP version mismatch. * mpfr-test.h: updated test_version() prototype. * Makefile.am: removed the second tversion invocation, and output the contents of tversion.log if this file exists (typically with Automake 1.13+, for which one no longer gets tversion output by default). ------------------------------------------------------------------------ r8819 | vlefevre | 2014-01-20 22:30:05 +0000 (Mon, 20 Jan 2014) | 1 line Changed paths: M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-mini-gmp.h M /trunk/src/mpfr.h M /trunk/tests/tvalist.c Dropped obsolete __gmp_const (replaced by const). ------------------------------------------------------------------------ r8818 | vlefevre | 2014-01-20 22:27:00 +0000 (Mon, 20 Jan 2014) | 1 line Changed paths: M /trunk/TODO [TODO] Removed mini-gmp support: done. ------------------------------------------------------------------------ r8817 | vlefevre | 2014-01-20 22:11:52 +0000 (Mon, 20 Jan 2014) | 1 line Changed paths: M /trunk/src/exp.c Small mpfr_exp improvement (modified patch by Patrick Pélissier). ------------------------------------------------------------------------ r8816 | vlefevre | 2014-01-20 18:17:47 +0000 (Mon, 20 Jan 2014) | 2 lines Changed paths: M /trunk/tools/mbench/Makefile M /trunk/tools/mbench/mfv5.cc M /trunk/tools/mbench/mfv5.h M /trunk/tools/mbench/timp.h [tools/mbench] Patch by Patrick Pélissier: import base support, corei7 support, build fix (with MPFR 3.1+). ------------------------------------------------------------------------ r8815 | zimmerma | 2014-01-20 18:00:57 +0000 (Mon, 20 Jan 2014) | 5 lines Changed paths: M /trunk/src/fma.c come back to revision 8723 which was faster (measured with tools/mbench/mfv5 on 53 and 1024 bits). The reason is that the "new" version had overhead for mpfr_round_p (about 40 cycles on Core 2) and mpfr_set (about 98 cycles for 53 bits, and 132 cycles for 1024 bits) ------------------------------------------------------------------------ r8814 | vlefevre | 2014-01-20 18:00:40 +0000 (Mon, 20 Jan 2014) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/mpfr-impl.h Added __builtin_unreachable / MPFR_ASSUME support (modified patch from Patrick Pélissier). ------------------------------------------------------------------------ r8813 | vlefevre | 2014-01-20 17:44:03 +0000 (Mon, 20 Jan 2014) | 4 lines Changed paths: M /trunk/configure.ac M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mulders.c M /trunk/tests/memory.c M /trunk/tests/mpfr-test.h M /trunk/tests/tests.c MPFR now depends on GMP 4.2+ instead of 4.1+. GMP 4.2 compatibility fixed. Code clean-up. (Modified patch from Patrick Pélissier) ------------------------------------------------------------------------ r8812 | vlefevre | 2014-01-20 17:38:46 +0000 (Mon, 20 Jan 2014) | 1 line Changed paths: M /trunk/src/fms.c [src/fms.c] Coding style. ------------------------------------------------------------------------ r8811 | vlefevre | 2014-01-20 17:37:52 +0000 (Mon, 20 Jan 2014) | 1 line Changed paths: M /trunk/src/fma.c [src/fma.c] Changed mp_prec_t to mpfr_prec_t. ------------------------------------------------------------------------ r8810 | zimmerma | 2014-01-20 17:20:08 +0000 (Mon, 20 Jan 2014) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5-mpfr.cc added mpfr_fma ------------------------------------------------------------------------ r8808 | zimmerma | 2014-01-20 16:44:32 +0000 (Mon, 20 Jan 2014) | 2 lines Changed paths: M /trunk/src/fma.c speed up mpfr_fma [common work with Jeroen Demeyer] ------------------------------------------------------------------------ r8805 | zimmerma | 2014-01-20 14:39:19 +0000 (Mon, 20 Jan 2014) | 2 lines Changed paths: M /trunk/src/fms.c simplified the fms code (joint work with Jeroen Demeyer) ------------------------------------------------------------------------ r8802 | zimmerma | 2014-01-20 12:01:38 +0000 (Mon, 20 Jan 2014) | 2 lines Changed paths: M /trunk/src/exp3.c M /trunk/tests/texp.c fixed bug in mpfr_exp_3, and memory leak in texp ------------------------------------------------------------------------ r8799 | vlefevre | 2014-01-20 11:06:11 +0000 (Mon, 20 Jan 2014) | 3 lines Changed paths: M /trunk/src/li2.c [src/li2.c] Use MPFR_RET_NEVER_GO_HERE () instead of MPFR_ASSERTN (0) to avoid an error with: ./configure --enable-logging CFLAGS="-Werror=return-type"; make ------------------------------------------------------------------------ r8798 | vlefevre | 2014-01-20 11:04:16 +0000 (Mon, 20 Jan 2014) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Updated comment of the MPFR_RET_NEVER_GO_HERE macro. ------------------------------------------------------------------------ r8797 | zimmerma | 2014-01-20 10:07:18 +0000 (Mon, 20 Jan 2014) | 2 lines Changed paths: M /trunk/tests/texp.c added new test that currently fails (found with mini-gmp) ------------------------------------------------------------------------ r8796 | vlefevre | 2014-01-18 23:26:00 +0000 (Sat, 18 Jan 2014) | 3 lines Changed paths: M /trunk/doc/algorithms.tex M /trunk/doc/mpfr.texi M /trunk/src/factorial.c M /trunk/src/mpfr-impl.h M /trunk/src/sub1.c Spelling consistency: non-negative → nonnegative non-positive → nonpositive ------------------------------------------------------------------------ r8795 | vlefevre | 2014-01-18 23:21:07 +0000 (Sat, 18 Jan 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] More on exponent handling. ------------------------------------------------------------------------ r8794 | vlefevre | 2014-01-18 22:43:28 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tset_str.c [tests/tset_str.c] Fixed and improved a mpfr_set_str_binary random test. Some code clean-up. ------------------------------------------------------------------------ r8793 | vlefevre | 2014-01-18 21:40:37 +0000 (Sat, 18 Jan 2014) | 1 line Changed paths: M /trunk/tests/tset_str.c [tests/tset_str.c] Removed useless and confusing cast. ------------------------------------------------------------------------ r8792 | vlefevre | 2014-01-18 20:32:19 +0000 (Sat, 18 Jan 2014) | 1 line Changed paths: M /trunk/src/set_d.c [src/set_d.c] Improved a comment about signed zeros. ------------------------------------------------------------------------ r8791 | zimmerma | 2014-01-18 18:50:30 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c fixed memory leak ------------------------------------------------------------------------ r8790 | zimmerma | 2014-01-18 09:41:16 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: A /trunk/doc/mini-gmp instructions to compile MPFR with mini-gmp ------------------------------------------------------------------------ r8789 | zimmerma | 2014-01-18 09:32:32 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tabort_defalloc1.c M /trunk/tests/tabort_defalloc2.c disable those tests for mini-gmp ------------------------------------------------------------------------ r8788 | zimmerma | 2014-01-18 09:17:16 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tset_str.c fixed test which might produce subnormal numbers ------------------------------------------------------------------------ r8787 | zimmerma | 2014-01-18 08:44:32 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: M /trunk/tests/trandom.c M /trunk/tests/turandom.c disable two tests that depend on the random generator ------------------------------------------------------------------------ r8786 | zimmerma | 2014-01-18 08:38:03 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tui_pow.c followup from previous commit: 1^Inf is special too ------------------------------------------------------------------------ r8785 | zimmerma | 2014-01-18 08:36:54 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tui_pow.c fixed issue for n^x with x=Inf when the random number n is 0 ------------------------------------------------------------------------ r8784 | zimmerma | 2014-01-18 08:28:01 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tfms.c fixed issue when x=0 and y=Inf (or converse) ------------------------------------------------------------------------ r8783 | zimmerma | 2014-01-18 08:26:02 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tfma.c fixed issue when x=0 and y=Inf (or converse) ------------------------------------------------------------------------ r8782 | zimmerma | 2014-01-18 08:17:41 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tget_str.c fixed bug in test file ------------------------------------------------------------------------ r8781 | vlefevre | 2014-01-18 01:28:25 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: M /trunk/src/set_d.c [src/set_d.c] Fixes and other minor changes suggested by Wolf Lammen: https://sympa.inria.fr/sympa/arc/mpfr/2014-01/msg00007.html ------------------------------------------------------------------------ r8780 | vlefevre | 2014-01-18 00:55:24 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: M /trunk/src/set_d.c [src/set_d.c] In extract_double, replaced long by int for exp (it may be faster, and shouldn't be slower as it is more restrictive than long). ------------------------------------------------------------------------ r8779 | vlefevre | 2014-01-18 00:45:20 +0000 (Sat, 18 Jan 2014) | 1 line Changed paths: M /trunk/src/set_d.c [src/set_d.c] Removed obsolete comment from r245. ------------------------------------------------------------------------ r8778 | vlefevre | 2014-01-18 00:40:26 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: M /trunk/src/set_d.c [src/set_d.c] Renamed __gmpfr_extract_double to extract_double (this is just a static function). ------------------------------------------------------------------------ r8777 | vlefevre | 2014-01-18 00:30:24 +0000 (Sat, 18 Jan 2014) | 3 lines Changed paths: M /trunk/src/set_d.c [src/set_d.c] Fixed __gmpfr_extract_double precondition on d. Bug found by Wolf Lammen: https://sympa.inria.fr/sympa/arc/mpfr/2014-01/msg00007.html ------------------------------------------------------------------------ r8776 | zimmerma | 2014-01-18 00:18:28 +0000 (Sat, 18 Jan 2014) | 6 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr-mini-gmp.h M /trunk/tests/tset_str.c more progress with mini-gmp: ======================= 9 of 157 tests failed (13 tests were not run) ======================= ------------------------------------------------------------------------ r8775 | vlefevre | 2014-01-18 00:09:17 +0000 (Sat, 18 Jan 2014) | 1 line Changed paths: M /trunk/tests/ty0.c M /trunk/tests/ty1.c [tests/{ty0,ty1}.c] Reduce emax for the generic tests. ------------------------------------------------------------------------ r8774 | vlefevre | 2014-01-17 23:52:16 +0000 (Fri, 17 Jan 2014) | 1 line Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] FIXME: proposed method for overflow detection. ------------------------------------------------------------------------ r8773 | vlefevre | 2014-01-17 23:32:17 +0000 (Fri, 17 Jan 2014) | 1 line Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] Minor improvements. ------------------------------------------------------------------------ r8772 | zimmerma | 2014-01-17 23:26:31 +0000 (Fri, 17 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tsqrt_ui.c missing \n ------------------------------------------------------------------------ r8771 | zimmerma | 2014-01-17 23:25:23 +0000 (Fri, 17 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tmul.c missing \n ------------------------------------------------------------------------ r8770 | zimmerma | 2014-01-17 23:21:58 +0000 (Fri, 17 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tfms.c missing \n in error messages ------------------------------------------------------------------------ r8769 | zimmerma | 2014-01-17 23:20:19 +0000 (Fri, 17 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tfma.c missing \n in error messages ------------------------------------------------------------------------ r8768 | vlefevre | 2014-01-17 23:08:56 +0000 (Fri, 17 Jan 2014) | 1 line Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] Added a MPFR_LOG_FUNC. ------------------------------------------------------------------------ r8767 | vlefevre | 2014-01-17 23:00:51 +0000 (Fri, 17 Jan 2014) | 1 line Changed paths: M /trunk/src/digamma.c [src/digamma.c] FIXME: for x large, use the asymptotic expansion. ------------------------------------------------------------------------ r8766 | vlefevre | 2014-01-17 22:48:52 +0000 (Fri, 17 Jan 2014) | 1 line Changed paths: M /trunk/src/digamma.c [src/digamma.c] Added 2 MPFR_LOG_FUNC's. ------------------------------------------------------------------------ r8765 | vlefevre | 2014-01-17 22:46:25 +0000 (Fri, 17 Jan 2014) | 4 lines Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Fixed bug found by PZ: code introduced in r4538 to test the maximum (in absolute value) positive and negative arguments was buggy, as only the negative one was tested. → This makes some tests fail on the maximum positive argument. ------------------------------------------------------------------------ r8764 | zimmerma | 2014-01-17 18:41:13 +0000 (Fri, 17 Jan 2014) | 6 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c M /trunk/tests/tests.c some progress with mini-gmp: ======================= 34 of 157 tests failed (13 tests were not run) ======================= ------------------------------------------------------------------------ r8763 | zimmerma | 2014-01-17 15:51:49 +0000 (Fri, 17 Jan 2014) | 2 lines Changed paths: M /trunk/src/urandomb.c mpn_copyd (rp, sp, n) should be used when rp >= sp ------------------------------------------------------------------------ r8762 | zimmerma | 2014-01-17 12:26:35 +0000 (Fri, 17 Jan 2014) | 2 lines Changed paths: M /trunk/src/urandomb.c fixed bug which could appear with probability 1/2^32 or 1/2^64 ------------------------------------------------------------------------ r8761 | vlefevre | 2014-01-17 09:54:35 +0000 (Fri, 17 Jan 2014) | 1 line Changed paths: M /trunk/src/mpfr-mini-gmp.c [src/mpfr-mini-gmp.c] Removed trailing spaces. ------------------------------------------------------------------------ r8760 | vlefevre | 2014-01-17 09:53:44 +0000 (Fri, 17 Jan 2014) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Update due to the mini-gmp support (r8753). ------------------------------------------------------------------------ r8759 | vlefevre | 2014-01-17 09:48:04 +0000 (Fri, 17 Jan 2014) | 1 line Changed paths: M /trunk/tests/mpf_compat.c M /trunk/tests/mpfr_compat.c M /trunk/tests/terandom.c M /trunk/tests/tget_f.c M /trunk/tests/tgmpop.c M /trunk/tests/tnrandom.c M /trunk/tests/tset_f.c M /trunk/tests/tset_q.c [tests] Various fixes for r8753. ------------------------------------------------------------------------ r8758 | vlefevre | 2014-01-17 09:39:15 +0000 (Fri, 17 Jan 2014) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Indentation. ------------------------------------------------------------------------ r8757 | vlefevre | 2014-01-17 09:36:57 +0000 (Fri, 17 Jan 2014) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Indentation. ------------------------------------------------------------------------ r8756 | vlefevre | 2014-01-17 09:33:16 +0000 (Fri, 17 Jan 2014) | 2 lines Changed paths: M /trunk/src/erandom.c M /trunk/src/mpfr-mini-gmp.c M /trunk/src/nrandom.c M /trunk/src/printf.c M /trunk/src/vasprintf.c Avoid an empty translation unit (see ISO C99, 6.9). Some errors could be triggered with "gcc -std=c99 -pedantic-errors". ------------------------------------------------------------------------ r8755 | zimmerma | 2014-01-17 07:22:48 +0000 (Fri, 17 Jan 2014) | 2 lines Changed paths: M /trunk/src/Makefile.am M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr-mini-gmp.h M /trunk/tests/tadd.c more progress for the mini-gmp interface ------------------------------------------------------------------------ r8754 | zimmerma | 2014-01-16 22:03:40 +0000 (Thu, 16 Jan 2014) | 2 lines Changed paths: A /trunk/src/mpfr-mini-gmp.c A /trunk/src/mpfr-mini-gmp.h added two new files for mini-gmp interface ------------------------------------------------------------------------ r8753 | zimmerma | 2014-01-16 22:03:01 +0000 (Thu, 16 Jan 2014) | 3 lines Changed paths: M /trunk/configure.ac M /trunk/src/Makefile.am M /trunk/src/erandom.c M /trunk/src/get_f.c M /trunk/src/gmp_op.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/src/nrandom.c M /trunk/src/printf.c M /trunk/src/random_deviate.c M /trunk/src/set_f.c M /trunk/src/set_q.c M /trunk/src/vasprintf.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpfr_compat.c M /trunk/tests/tcan_round.c M /trunk/tests/terandom.c M /trunk/tests/tfprintf.c M /trunk/tests/tget_f.c M /trunk/tests/tgmpop.c M /trunk/tests/tgrandom.c M /trunk/tests/tnrandom.c M /trunk/tests/tprintf.c M /trunk/tests/tset_f.c M /trunk/tests/tset_q.c M /trunk/tests/tsprintf.c first step towards making MPFR compile with --enable-mini-gmp, so far make succeeds and all tests compile, but many tests fail, will investigate later ------------------------------------------------------------------------ r8752 | vlefevre | 2014-01-16 13:49:34 +0000 (Thu, 16 Jan 2014) | 7 lines Changed paths: M /trunk/src/get_z_exp.c [src/get_z_exp.c] Added an assert for security in case the precision is large, but the error should be handled properly (to be discussed). Note: there are still corrupt memory problems when the precision is large enough but below the mpz limit (a bug in GMP?). Note [VL, 2014-01-17]: these problems are due to an integer overflow in mpz/clear.c of GMP 5.1.3; I've reported the bug here: https://gmplib.org/list-archives/gmp-bugs/2014-January/003321.html ------------------------------------------------------------------------ r8751 | vlefevre | 2014-01-16 12:10:56 +0000 (Thu, 16 Jan 2014) | 1 line Changed paths: M /trunk/src/get_z_exp.c [src/get_z_exp.c] Avoid a potential overflow. ------------------------------------------------------------------------ r8750 | vlefevre | 2014-01-16 12:03:01 +0000 (Thu, 16 Jan 2014) | 2 lines Changed paths: M /trunk/src/extract.c [src/extract.c] Type clean-up with 2 bug fixes (these bugs should have no effect on most platforms without too aggressive optimizations). ------------------------------------------------------------------------ r8749 | zimmerma | 2014-01-16 11:01:49 +0000 (Thu, 16 Jan 2014) | 2 lines Changed paths: M /trunk/src/extract.c M /trunk/src/get_z_exp.c M /trunk/src/mpfr-gmp.h replaced function _mpz_realloc by preferred one mpz_realloc2 ------------------------------------------------------------------------ r8748 | vlefevre | 2014-01-16 09:00:58 +0000 (Thu, 16 Jan 2014) | 1 line Changed paths: M /trunk/TODO [TODO] Added mini-gmp support. ------------------------------------------------------------------------ r8747 | vlefevre | 2014-01-15 00:13:19 +0000 (Wed, 15 Jan 2014) | 2 lines Changed paths: M /trunk/NEWS [NEWS] Mention speed improvement with --enable-assert[=full] and GCC (due to the fix in r8746). ------------------------------------------------------------------------ r8746 | vlefevre | 2014-01-14 23:44:44 +0000 (Tue, 14 Jan 2014) | 3 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Fixed the MPFR_ASSERTN macro as suggested by Wolf Lammen: https://sympa.inria.fr/sympa/arc/mpfr/2014-01/msg00002.html Note: the semantics doesn't change, it should just be more efficient. ------------------------------------------------------------------------ r8745 | vlefevre | 2014-01-12 20:34:17 +0000 (Sun, 12 Jan 2014) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Output MPFR_LDBL_MANT_DIG in some failure case. ------------------------------------------------------------------------ r8744 | vlefevre | 2014-01-11 23:41:59 +0000 (Sat, 11 Jan 2014) | 1 line Changed paths: M /trunk/tests/tset_d.c [tests/tset_d.c] More information in a failed test. ------------------------------------------------------------------------ r8743 | vlefevre | 2014-01-10 15:17:32 +0000 (Fri, 10 Jan 2014) | 2 lines Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] In LOADLIBES, replaced $(INCLUDES) by $(AM_CPPFLAGS) (this should have been done at the same time as r8364). ------------------------------------------------------------------------ r8741 | vlefevre | 2014-01-09 15:33:36 +0000 (Thu, 09 Jan 2014) | 4 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release" update. In particular at step 5, replaced "make dist" by "make distcheck" so that some problems can be detected at step 5 instead of step 6, ensuring that the tarballs are complete. ------------------------------------------------------------------------ r8740 | vlefevre | 2014-01-09 15:22:59 +0000 (Thu, 09 Jan 2014) | 1 line Changed paths: M /trunk/src/Makefile.am [src/Makefile.am] Forgot to add mpfr-cvers.h in r8739. ------------------------------------------------------------------------ r8739 | vlefevre | 2014-01-09 15:19:35 +0000 (Thu, 09 Jan 2014) | 12 lines Changed paths: A /trunk/src/mpfr-cvers.h (from /trunk/src/mpfr-impl.h:8738) M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-sassert.h When static assertions are not supported by the C implementation natively (new C11 feature), their MPFR implementation got broken by changeset r8625, as the __MPFR_GNUC macro in mpfr-sassert.h was not defined in the configure test (since mpfr-impl.h wasn't included) and generated an error, disabling the static assertions support. This is fixed by the following changes, avoiding code duplication and thus risk of inconsistencies in future modification: * copied some of the version detection macros from mpfr-impl.h to a standalone file mpfr-cvers.h, and updated the macros; * in mpfr-impl.h, replaced these macros by a #include "mpfr-cvers.h" and updated a comment; * in mpfr-sassert.h, added a #include "mpfr-cvers.h". ------------------------------------------------------------------------ r8738 | vlefevre | 2014-01-09 14:02:46 +0000 (Thu, 09 Jan 2014) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] In the Static Assertions test, avoid a warning with GCC and added comments. ------------------------------------------------------------------------ r8737 | vlefevre | 2014-01-07 10:10:08 +0000 (Tue, 07 Jan 2014) | 1 line Changed paths: M /trunk/ChangeLog ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v". ------------------------------------------------------------------------ r8736 | vlefevre | 2014-01-07 08:51:55 +0000 (Tue, 07 Jan 2014) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Use codespell if available. ------------------------------------------------------------------------ r8734 | vlefevre | 2014-01-07 00:52:51 +0000 (Tue, 07 Jan 2014) | 1 line Changed paths: M /trunk/TODO [TODO] Fixed a misspelling, using codespell. ------------------------------------------------------------------------ r8733 | vlefevre | 2014-01-07 00:49:55 +0000 (Tue, 07 Jan 2014) | 1 line Changed paths: M /trunk/doc/README.dev M /trunk/src/div_ui.c M /trunk/src/eint.c M /trunk/src/erfc.c M /trunk/src/strtofr.c M /trunk/src/sub1sp.c M /trunk/src/vasprintf.c Fixed misspellings, using codespell. ------------------------------------------------------------------------ r8732 | vlefevre | 2014-01-06 00:45:48 +0000 (Mon, 06 Jan 2014) | 1 line Changed paths: M /trunk/TODO [TODO] Added item: new functions of IEEE 754-2008 / C binding draft. ------------------------------------------------------------------------ r8731 | vlefevre | 2014-01-05 04:37:58 +0000 (Sun, 05 Jan 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": added a paragraph about warnings. ------------------------------------------------------------------------ r8730 | vlefevre | 2014-01-05 03:28:14 +0000 (Sun, 05 Jan 2014) | 1 line Changed paths: M /trunk/tests/trint.c [tests/trint.c] Avoid a warning. ------------------------------------------------------------------------ r8729 | vlefevre | 2014-01-05 03:23:10 +0000 (Sun, 05 Jan 2014) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Avoid a warning due to variable set but not used in a test, making the test fail with gcc -Werror=unused-but-set-variable. ------------------------------------------------------------------------ r8728 | vlefevre | 2014-01-05 03:17:16 +0000 (Sun, 05 Jan 2014) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Replaced "main()" by "main (void)". ------------------------------------------------------------------------ r8726 | vlefevre | 2014-01-04 03:02:09 +0000 (Sat, 04 Jan 2014) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8725 | vlefevre | 2014-01-03 20:57:13 +0000 (Fri, 03 Jan 2014) | 2 lines Changed paths: M /trunk/src/const_log2.c M /trunk/src/const_pi.c M /trunk/src/exceptions.c M /trunk/src/mpfr-impl.h M /trunk/src/set_dfl_prec.c M /trunk/src/set_rnd.c Fixed warnings from GCC's -Wold-style-declaration option: MPFR_THREAD_ATTR must be at beginning of declaration. ------------------------------------------------------------------------ r8723 | vlefevre | 2014-01-03 20:33:38 +0000 (Fri, 03 Jan 2014) | 5 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/faq.xsl M /trunk/doc/mpfr.texi M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.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/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c M /trunk/src/amd/amdfam10/mparam.h M /trunk/src/amd/athlon/mparam.h M /trunk/src/amd/k8/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/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/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/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/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_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_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/hppa/mparam.h M /trunk/src/hypot.c M /trunk/src/ia64/mparam.h 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/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/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-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-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_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/neg.c M /trunk/src/next.c M /trunk/src/nrandom.c M /trunk/src/out_str.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/powerpc32/mparam.h 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_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/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/core2/mparam.h M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/corei5/mparam.h M /trunk/src/x86_64/pentium4/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/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/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/teint.c M /trunk/tests/teq.c M /trunk/tests/terandom.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/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/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_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/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/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/tprintf.c M /trunk/tests/trandom.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/tround_prec.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/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/ck-copyright-notice M /trunk/tools/ck-mparam 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 2014 with perl -pi -e 's/ (\d{4}-)?(2013)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh (the tools/mbench directory was not modified). Removed 2013 from the example in the doc/README.dev file. ------------------------------------------------------------------------ r8722 | zimmerma | 2013-12-17 06:37:59 +0000 (Tue, 17 Dec 2013) | 3 lines Changed paths: M /trunk/src/strtofr.c work around for bug in mpn_set_str (https://gmplib.org/list-archives/gmp-bugs/2013-December/003267.html) ------------------------------------------------------------------------ r8721 | vlefevre | 2013-12-12 12:18:05 +0000 (Thu, 12 Dec 2013) | 3 lines Changed paths: A /trunk/tools/repl-variadic Added tools/repl-variadic Perl script to replace the variadic functions mpfr_clears, mpfr_inits and mpfr_inits2, in case they are not supported by the compiler. ------------------------------------------------------------------------ r8716 | vlefevre | 2013-11-28 18:05:41 +0000 (Thu, 28 Nov 2013) | 2 lines Changed paths: M /trunk/tests/tstckintc.c [tests/tstckintc.c] Improved tests when mpfr_custom_init_set is used as a macro (i.e. without parentheses) to trigger the bug fixed in r8715. ------------------------------------------------------------------------ r8715 | vlefevre | 2013-11-28 17:59:54 +0000 (Thu, 28 Nov 2013) | 5 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Fixed bug in the mpfr_custom_init_set macro (typo in variable name, which can yield incorrect behavior if the second argument is not a simple expression). Thanks to Andreas Enge for the bug report: https://sympa.inria.fr/sympa/arc/mpfr/2013-11/msg00029.html ------------------------------------------------------------------------ r8714 | vlefevre | 2013-11-21 02:02:54 +0000 (Thu, 21 Nov 2013) | 17 lines Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] No longer declare B as initialized with GCC (see r5534), as the "may be used uninitialized" warning no longer occurs with latest GCC: trunk revision 203899 (Debian 20131021-1), for the future GCC 4.9. The warning still occurs with GCC 4.8.2 (Debian 4.8.2-1): $ gcc-4.8 -O2 -Wall -c gamma.c In file included from gamma.c:27:0: gamma.c: In function ‘mpfr_gamma’: lngamma.c:468:17: warning: ‘B’ may be used uninitialized in this function [-Wmaybe-uninitialized] B = mpfr_bernoulli_internal (B, m); /* B[2m]*(2m+1)!, exact */ ^ lngamma.c:165:10: note: ‘B’ was declared here mpz_t *B; ^ Note: with GCC 4.8.2, at least -O is needed to reproduce the warning, and -Wmaybe-uninitialized without -Wuninitialized (or -Wall) doesn't trigger the warning. ------------------------------------------------------------------------ r8713 | zimmerma | 2013-11-15 07:36:08 +0000 (Fri, 15 Nov 2013) | 2 lines Changed paths: M /trunk/tools/nightly-test added -Wlogical-op ------------------------------------------------------------------------ r8709 | vlefevre | 2013-11-15 00:46:21 +0000 (Fri, 15 Nov 2013) | 1 line Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added a few tests. ------------------------------------------------------------------------ r8707 | vlefevre | 2013-11-15 00:26:52 +0000 (Fri, 15 Nov 2013) | 4 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] This may seem obvious, but this is not the first time this happens: + "When adding the expected result, do NOT use the one obtained from the MPFR function! Otherwise, if this function is buggy, the test will be wrong and the function will remain buggy." ------------------------------------------------------------------------ r8706 | vlefevre | 2013-11-15 00:17:16 +0000 (Fri, 15 Nov 2013) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Fixed incorrect test from r5652 (the corresponding bug in src/vasprintf.c has been fixed in r8705). ------------------------------------------------------------------------ r8705 | zimmerma | 2013-11-14 19:04:02 +0000 (Thu, 14 Nov 2013) | 3 lines Changed paths: M /trunk/src/vasprintf.c fixed bug reported by David Binderman (https://sympa.inria.fr/sympa/arc/mpfr/2013-11/msg00009.html) ------------------------------------------------------------------------ r8703 | vlefevre | 2013-11-06 14:54:45 +0000 (Wed, 06 Nov 2013) | 1 line Changed paths: M /trunk/tests/thypot.c [tests/thypot.c] More NaN tests. ------------------------------------------------------------------------ r8702 | thevenyp | 2013-11-06 13:27:15 +0000 (Wed, 06 Nov 2013) | 1 line Changed paths: M /trunk/tests/thypot.c [tests/thypot.c] Fix use of a non explicitly initialized variable. ------------------------------------------------------------------------ r8701 | zimmerma | 2013-11-04 21:03:02 +0000 (Mon, 04 Nov 2013) | 2 lines Changed paths: M /trunk/src/sum.c [sum.c] the call to mpfr_can_round was obviously wrong ------------------------------------------------------------------------ r8700 | vlefevre | 2013-11-04 18:12:08 +0000 (Mon, 04 Nov 2013) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Updated TODO comment (→ check underflows). ------------------------------------------------------------------------ r8699 | zimmerma | 2013-11-04 17:07:40 +0000 (Mon, 04 Nov 2013) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/sum.c M /trunk/tests/tsum.c [sum.c] mpfr_sum should consider the maximal precision of its inputs/output ------------------------------------------------------------------------ r8698 | vlefevre | 2013-10-28 09:36:01 +0000 (Mon, 28 Oct 2013) | 2 lines Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Added a TODO comment: add generic random test with cancellations, and tests with intermediate overflows. ------------------------------------------------------------------------ r8697 | vlefevre | 2013-10-28 09:02:45 +0000 (Mon, 28 Oct 2013) | 2 lines Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Added test for bug reported by Joseph S. Myers: https://sympa.inria.fr/sympa/arc/mpfr/2013-10/msg00015.html ------------------------------------------------------------------------ r8692 | vlefevre | 2013-09-27 14:08:05 +0000 (Fri, 27 Sep 2013) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added an example for mpfr_fits_*, corresponding to the bug fixed in r8503. ------------------------------------------------------------------------ r8690 | vlefevre | 2013-09-27 13:30:54 +0000 (Fri, 27 Sep 2013) | 5 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/tests/tset_ld.c [src/mpfr-impl.h] Document that DOUBLE_ISNAN(x) is valid on long double. [tests/tset_ld.c] In Isnan_ld, do not convert the long double argument to double, as this can give an overflow and unexpected behavior without default IEEE 754 behavior. With this change, this tset_ld test no longer fails with "clang -O2 -fsanitize=undefined -fno-sanitize-recover". ------------------------------------------------------------------------ r8689 | vlefevre | 2013-09-27 12:57:37 +0000 (Fri, 27 Sep 2013) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Avoid a division by zero if MPFR_ERRDIVZERO. ------------------------------------------------------------------------ r8688 | vlefevre | 2013-09-27 12:48:31 +0000 (Fri, 27 Sep 2013) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Move tests_start_mpfr call earlier. ------------------------------------------------------------------------ r8687 | vlefevre | 2013-09-27 12:39:40 +0000 (Fri, 27 Sep 2013) | 1 line Changed paths: M /trunk/tests/tget_flt.c [tests/tget_flt.c] Corrections when MPFR_ERRDIVZERO is defined. ------------------------------------------------------------------------ r8686 | vlefevre | 2013-09-27 12:25:24 +0000 (Fri, 27 Sep 2013) | 5 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] With clang, disable division by zero using constants due to a bug in its sanitizer and because IEEE 754 division by zero is currently not properly supported. With this change, the tget_d test no longer fails with: clang -O2 -fsanitize=undefined -fno-sanitize-recover ------------------------------------------------------------------------ r8685 | vlefevre | 2013-09-26 13:21:02 +0000 (Thu, 26 Sep 2013) | 1 line Changed paths: M /trunk/tests/tget_flt.c [tests/tget_flt.c] Protect a division by 0. ------------------------------------------------------------------------ r8681 | vlefevre | 2013-09-17 12:41:50 +0000 (Tue, 17 Sep 2013) | 1 line Changed paths: M /trunk/src/Makefile.am [src/Makefile.am] Updated -version-info to 6:0:2 for MPFR 3.2.0. ------------------------------------------------------------------------ r8680 | vlefevre | 2013-09-16 08:56:31 +0000 (Mon, 16 Sep 2013) | 2 lines Changed paths: M /trunk/NEWS [NEWS] For MPFR 3.2: The --enable-decimal-float configure option no longer requires --with-gmp-build (see r8402). ------------------------------------------------------------------------ r8679 | vlefevre | 2013-09-15 22:46:47 +0000 (Sun, 15 Sep 2013) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Detect broken _Decimal64 support on powerpc64 with the mode32 ABI. ------------------------------------------------------------------------ r8678 | vlefevre | 2013-09-15 22:20:20 +0000 (Sun, 15 Sep 2013) | 1 line Changed paths: M /trunk/tests/tget_set_d64.c [tests/tget_set_d64.c] More meaningful messages in check_inf_nan. ------------------------------------------------------------------------ r8677 | vlefevre | 2013-09-15 21:48:18 +0000 (Sun, 15 Sep 2013) | 2 lines Changed paths: M /trunk/tests/tget_set_d64.c [tests/tget_set_d64.c] More meaningful messages in check_inf_nan after failures on powerpc64 with the mode32 ABI. ------------------------------------------------------------------------ r8676 | vlefevre | 2013-09-04 11:50:39 +0000 (Wed, 04 Sep 2013) | 1 line Changed paths: M /trunk/TODO [TODO] Added: implement optional cache sharing between threads. ------------------------------------------------------------------------ r8674 | vlefevre | 2013-09-02 13:30:46 +0000 (Mon, 02 Sep 2013) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Changed node name "Integer Related Functions" to "Integer and Remainder Related Functions", as the corresponding section title was changed in r4867. Added associated @cindex. ------------------------------------------------------------------------ r8673 | vlefevre | 2013-09-02 13:17:18 +0000 (Mon, 02 Sep 2013) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8672 | vlefevre | 2013-09-02 13:15:25 +0000 (Mon, 02 Sep 2013) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Specified special values (in particular the sign of 0) for Section 5.10 "Integer and Remainder Related Functions". ------------------------------------------------------------------------ r8671 | vlefevre | 2013-09-02 01:45:33 +0000 (Mon, 02 Sep 2013) | 3 lines Changed paths: M /trunk/src/round_raw_generic.c [src/round_raw_generic.c] Support MPFR_RNDNA for this class of functions at the request of John P. Hartmann (to support one of IBM's High Level Assembler rounding mode for hexadecimal floating-point constants). ------------------------------------------------------------------------ r8670 | vlefevre | 2013-09-02 01:22:20 +0000 (Mon, 02 Sep 2013) | 1 line Changed paths: M /trunk/src/round_raw_generic.c [src/round_raw_generic.c] Code simplification / comment corrections. ------------------------------------------------------------------------ r8668 | vlefevre | 2013-08-26 13:42:04 +0000 (Mon, 26 Aug 2013) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] About clang sanitizer, mention -fno-sanitize-recover for more visibility in automated tests. ------------------------------------------------------------------------ r8667 | vlefevre | 2013-08-23 11:12:37 +0000 (Fri, 23 Aug 2013) | 2 lines Changed paths: M /trunk/src/ai.c [src/ai.c] Moved the handling of the special cases NaN and ±Inf to the main function mpfr_ai. ------------------------------------------------------------------------ r8666 | vlefevre | 2013-08-23 02:41:24 +0000 (Fri, 23 Aug 2013) | 4 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/agm.c M /trunk/tests/tagm.c [src/agm.c] Corrected a comment. [tests/tagm.c] Added tests concerning special values, in particular (zero,negative) and symmetric tests. [doc/mpfr.texi] Corrected mpfr_agm description. ------------------------------------------------------------------------ r8665 | vlefevre | 2013-08-21 13:51:24 +0000 (Wed, 21 Aug 2013) | 2 lines Changed paths: M /trunk/TODO [TODO] Revisit the conversion functions between a MPFR number and a native floating-point value. ------------------------------------------------------------------------ r8664 | vlefevre | 2013-08-19 09:39:12 +0000 (Mon, 19 Aug 2013) | 4 lines Changed paths: M /trunk/doc [doc] Added mpfr.t2d and mpfr.t2p to svn:ignore property. Note: These directories are now generated when using "make mpfr.dvi" and "make mpfr.pdf". This comes from a change in Automake 1.13 (see its 2012-06-20 changelog) for the texi2dvi and texi2pdf invocations. ------------------------------------------------------------------------ r8663 | vlefevre | 2013-08-10 11:30:35 +0000 (Sat, 10 Aug 2013) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Before release, test with gcc -mpc64 under Linux/x86. ------------------------------------------------------------------------ r8662 | zimmerma | 2013-08-08 13:12:06 +0000 (Thu, 08 Aug 2013) | 2 lines Changed paths: M /trunk/tests/tversion.c [tversion.c] added GCC version ------------------------------------------------------------------------ r8661 | zimmerma | 2013-08-08 12:52:58 +0000 (Thu, 08 Aug 2013) | 4 lines Changed paths: M /trunk/tests/tset_ld.c [tset_ld.c] try to fix a bug on i686-freebsd (see http://hydra.nixos.org/build/5665961/log/raw) ------------------------------------------------------------------------ r8660 | zimmerma | 2013-08-08 08:02:10 +0000 (Thu, 08 Aug 2013) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tset_ld.c] added debug information ------------------------------------------------------------------------ r8659 | vlefevre | 2013-08-07 20:22:46 +0000 (Wed, 07 Aug 2013) | 3 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Reverted changeset r8657 as %a is C99-only. Moreover the memory representation already gives the necessary information (and the decimal output was correct on the machine where the test fails). ------------------------------------------------------------------------ r8658 | zimmerma | 2013-08-07 20:13:50 +0000 (Wed, 07 Aug 2013) | 3 lines Changed paths: M /trunk/tests/tset_ld.c [tset_ld.c] maybe this will fix the issue for i686-freebsd? Cf http://hydra.nixos.org/build/5662697. ------------------------------------------------------------------------ r8657 | zimmerma | 2013-08-07 19:55:02 +0000 (Wed, 07 Aug 2013) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tset_ld.c] in case of error, print d in hexadecimal ------------------------------------------------------------------------ r8656 | vlefevre | 2013-08-07 09:56:38 +0000 (Wed, 07 Aug 2013) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] In the "mpfr_set_ld should be exact" error, output the memory representation of d. ------------------------------------------------------------------------ r8655 | zimmerma | 2013-08-07 08:56:42 +0000 (Wed, 07 Aug 2013) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tset_ld.c] print value of MPFR_LDBL_MANT_DIG in case of error ------------------------------------------------------------------------ r8654 | vlefevre | 2013-08-07 01:24:06 +0000 (Wed, 07 Aug 2013) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Space consistency. ------------------------------------------------------------------------ r8653 | vlefevre | 2013-08-06 08:09:27 +0000 (Tue, 06 Aug 2013) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Corrected a comment. ------------------------------------------------------------------------ r8652 | vlefevre | 2013-08-06 02:00:54 +0000 (Tue, 06 Aug 2013) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Set some long double variables as volatile in order to avoid optimizations that yield failures with xlc on power7 (not tested). ------------------------------------------------------------------------ r8651 | vlefevre | 2013-08-06 00:48:02 +0000 (Tue, 06 Aug 2013) | 2 lines Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] Oops... The non-working code was due to a missing cast. So, simplified the code. ------------------------------------------------------------------------ r8650 | vlefevre | 2013-08-06 00:44:25 +0000 (Tue, 06 Aug 2013) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/get_ld.c [acinclude.m4] Define HAVE_LDOUBLE_MAYBE_DOUBLE_DOUBLE if the "long double" format seems to be double-double (e.g. on PowerPC). [src/get_ld.c] Added double-double support. ------------------------------------------------------------------------ r8649 | vlefevre | 2013-08-05 23:31:54 +0000 (Mon, 05 Aug 2013) | 1 line Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] GNU style. ------------------------------------------------------------------------ r8648 | vlefevre | 2013-08-05 23:28:01 +0000 (Mon, 05 Aug 2013) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Improved output in case of error. ------------------------------------------------------------------------ r8647 | vlefevre | 2013-08-05 23:05:45 +0000 (Mon, 05 Aug 2013) | 5 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Improved check_set_get() test function; in particular, it no longer takes a mpfr_t argument: the precision of the MPFR number is now determined dynamically from the long double d. Thus some numbers having a precision > MPFR_LDBL_MANT_DIG in double-double arithmetic are now tested (e.g. on PowerPC). ------------------------------------------------------------------------ r8645 | vlefevre | 2013-08-05 16:38:39 +0000 (Mon, 05 Aug 2013) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] "correctly-rounded" → "correctly rounded" (see rule on http://en.wikipedia.org/wiki/Wikipedia:HYPHEN#Hyphens and the IEEE 754 and ISO C standards don't use a hyphen either). ------------------------------------------------------------------------ r8644 | vlefevre | 2013-08-05 02:13:23 +0000 (Mon, 05 Aug 2013) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added missing @code{}'s in mpfr_fpif_import description. ------------------------------------------------------------------------ r8643 | vlefevre | 2013-08-05 02:08:04 +0000 (Mon, 05 Aug 2013) | 6 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Replaced periods ending a sentence by "@." in the following cases: when the preceding character is a capital letter or a closing parenthesis following a capital letter (e.g. "NaN.", "MPFR.", "MPFR).", etc). This is needed to get correct spacing in the generated .info and PDF files with the next sentence of the paragraph (when there is one). ------------------------------------------------------------------------ r8642 | vlefevre | 2013-08-05 01:17:15 +0000 (Mon, 05 Aug 2013) | 4 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Removed the "check largest 2^k that is representable as a long double" test based on macros LDBL_MAX and LDBL_EPSILON, which are not correct in some C implementations. There is already another "check the largest power of two" test, based on a loop, which is OK. ------------------------------------------------------------------------ r8641 | zimmerma | 2013-08-04 10:53:07 +0000 (Sun, 04 Aug 2013) | 4 lines Changed paths: M /trunk/tests/tset_ld.c [tset_ld.c] improve tests to avoid spurious errors for double-double representation where MPFR_LDBL_MANT_DIG=106 and numbers with 107 bits or more ------------------------------------------------------------------------ r8640 | vlefevre | 2013-08-02 23:24:44 +0000 (Fri, 02 Aug 2013) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Document that log1p(-1) = -Inf. ------------------------------------------------------------------------ r8639 | vlefevre | 2013-08-02 23:17:16 +0000 (Fri, 02 Aug 2013) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8638 | vlefevre | 2013-08-02 23:15:42 +0000 (Fri, 02 Aug 2013) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Moved mpfr_log1p & mpfr_expm1 after mpfr_log & mpfr_exp respectively. ------------------------------------------------------------------------ r8637 | vlefevre | 2013-08-02 08:29:06 +0000 (Fri, 02 Aug 2013) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Comment on LDBL_MAX. ------------------------------------------------------------------------ r8636 | zimmerma | 2013-08-02 08:21:33 +0000 (Fri, 02 Aug 2013) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tset_ld.c] missing conversion from int to mpfr_rnd_t ------------------------------------------------------------------------ r8635 | zimmerma | 2013-08-02 07:26:02 +0000 (Fri, 02 Aug 2013) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tset_ld.c] improve error message ------------------------------------------------------------------------ r8634 | vlefevre | 2013-08-02 03:21:02 +0000 (Fri, 02 Aug 2013) | 1 line Changed paths: M /trunk/src/set_ld.c [src/set_ld.c] Corrected a comment. ------------------------------------------------------------------------ r8633 | vlefevre | 2013-08-01 14:15:30 +0000 (Thu, 01 Aug 2013) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Completed specification of mpfr_lngamma and mpfr_lgamma on 1 and 2 (result is +0). ------------------------------------------------------------------------ r8632 | vlefevre | 2013-08-01 13:52:40 +0000 (Thu, 01 Aug 2013) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved description of mpfr_rec_sqrt and mpfr_hypot. ------------------------------------------------------------------------ r8631 | vlefevre | 2013-08-01 13:41:24 +0000 (Thu, 01 Aug 2013) | 1 line Changed paths: M /trunk/tests [tests] Added terandom and tnrandom to svn:ignore property. ------------------------------------------------------------------------ r8630 | vlefevre | 2013-08-01 13:34:41 +0000 (Thu, 01 Aug 2013) | 1 line Changed paths: M /trunk/src/acos.c M /trunk/src/acosh.c M /trunk/src/log.c M /trunk/src/rec_sqrt.c [src] Improved some comments with "0", about its sign. ------------------------------------------------------------------------ r8629 | vlefevre | 2013-08-01 13:33:33 +0000 (Thu, 01 Aug 2013) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Completed specification on special numbers (±0, ±Inf). ------------------------------------------------------------------------ r8628 | zimmerma | 2013-08-01 07:58:05 +0000 (Thu, 01 Aug 2013) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tset_ld.c] increase precision to take into account double-double encoding ------------------------------------------------------------------------ r8627 | zimmerma | 2013-08-01 07:10:05 +0000 (Thu, 01 Aug 2013) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tset_ld.c] replaced error by warning when _GMP_IEEE_FLOATS is not defined ------------------------------------------------------------------------ r8625 | vlefevre | 2013-07-22 14:32:12 +0000 (Mon, 22 Jul 2013) | 4 lines Changed paths: M /trunk/src/mpfr-sassert.h [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 ------------------------------------------------------------------------ r8624 | zimmerma | 2013-07-22 12:06:18 +0000 (Mon, 22 Jul 2013) | 4 lines Changed paths: M /trunk/configure.ac [configure.ac] revert commit 8618 since it breaks hydra jobs i686-cygwin, i686-freebsd, i686-solaris and x86_64-freebsd (cf http://hydra.nixos.org/eval/955753) ------------------------------------------------------------------------ r8621 | vlefevre | 2013-07-22 02:20:41 +0000 (Mon, 22 Jul 2013) | 3 lines Changed paths: M /trunk/src/asinh.c M /trunk/src/atanh.c M /trunk/src/cosh.c M /trunk/src/digamma.c M /trunk/src/eint.c M /trunk/src/erfc.c M /trunk/src/exp2.c M /trunk/src/factorial.c M /trunk/src/init2.c M /trunk/src/log10.c M /trunk/src/log1p.c M /trunk/src/log2.c M /trunk/src/mpf2mpfr.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-longlong.h M /trunk/src/pow.c M /trunk/src/pow_si.c M /trunk/src/pow_z.c M /trunk/src/rec_sqrt.c M /trunk/src/sinh.c M /trunk/src/sinh_cosh.c M /trunk/src/sub1.c M /trunk/src/sub1sp.c M /trunk/src/sum.c M /trunk/src/tanh.c M /trunk/src/ui_pow_ui.c M /trunk/src/vasprintf.c M /trunk/src/zeta.c M /trunk/tests/mpf_compat.h M /trunk/tests/tabort_prec_max.c M /trunk/tests/tget_sj.c M /trunk/tests/tprintf.c M /trunk/tests/tset_si.c M /trunk/tests/tsprintf.c M /trunk/tools/mbench/timp.h M /trunk/tune/bidimensional_sample.c M /trunk/tune/tuneup.c Applied patch 3 by Ondřej Bílka with some manual corrections, fixing typos: https://sympa.inria.fr/sympa/arc/mpfr/2013-07/msg00016.html ------------------------------------------------------------------------ r8620 | vlefevre | 2013-07-22 02:04:00 +0000 (Mon, 22 Jul 2013) | 2 lines Changed paths: M /trunk/src/mpfr-longlong.h M /trunk/src/round_raw_generic.c M /trunk/src/strtofr.c M /trunk/src/sub1sp.c M /trunk/src/sum.c M /trunk/src/zeta.c Applied patch 2 by Ondřej Bílka, fixing capitalization: https://sympa.inria.fr/sympa/arc/mpfr/2013-07/msg00015.html ------------------------------------------------------------------------ r8619 | vlefevre | 2013-07-22 02:01:45 +0000 (Mon, 22 Jul 2013) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/nrandom.c M /trunk/src/set_uj.c M /trunk/src/sub1sp.c M /trunk/src/vasprintf.c M /trunk/tools/mbench/mpfr-v4.c M /trunk/tools/mbench/mpfr-v6.c Applied patch 1 by Ondřej Bílka, fixing common typos: https://sympa.inria.fr/sympa/arc/mpfr/2013-07/msg00014.html ------------------------------------------------------------------------ r8618 | vlefevre | 2013-07-22 01:58:23 +0000 (Mon, 22 Jul 2013) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] Added -Wno-unused-local-typedefs flag to avoid spurious "typedef 'MPFR_ASSERT_xxx' locally defined but not used" warnings due to the implementation of static assertions. ------------------------------------------------------------------------ r8617 | vlefevre | 2013-07-16 16:55:33 +0000 (Tue, 16 Jul 2013) | 1 line Changed paths: M /trunk/doc/README.dev Slightly restructured doc/README.dev and mentioned C-Reduce. ------------------------------------------------------------------------ r8616 | vlefevre | 2013-07-12 10:51:19 +0000 (Fri, 12 Jul 2013) | 4 lines Changed paths: M /trunk/configure.ac [configure.ac] If the gmp.h vs libgmp test fails, also output the value of some variables (in case config.log is available, information can also be retrieved from "Cache variables" and "Output variables" near the end). ------------------------------------------------------------------------ r8615 | zimmerma | 2013-07-12 07:28:18 +0000 (Fri, 12 Jul 2013) | 2 lines Changed paths: M /trunk/configure.ac revert temporary commit 8613 ------------------------------------------------------------------------ r8614 | vlefevre | 2013-07-11 11:33:12 +0000 (Thu, 11 Jul 2013) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Improved MPFR_CHECK_DBL2INT_BUG in case of failure and added comments about that. ------------------------------------------------------------------------ r8613 | zimmerma | 2013-07-11 10:07:51 +0000 (Thu, 11 Jul 2013) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] temporary commit to investigate problem with i686-solaris on hydra ------------------------------------------------------------------------ r8612 | vlefevre | 2013-07-11 01:58:44 +0000 (Thu, 11 Jul 2013) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] In the CC and CFLAGS setup from gmp.h, modified the list of commands to select the C preprocessor since /lib/cpp isn't the best choice under Solaris. ------------------------------------------------------------------------ r8611 | vlefevre | 2013-07-11 01:38:47 +0000 (Thu, 11 Jul 2013) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] Moved AM_PROG_AR (introduced in r8546) after the CC and CFLAGS setup from gmp.h, because AM_PROG_AR makes Autoconf select a compiler (before it may be chosen from __GMP_CC). ------------------------------------------------------------------------ r8610 | vlefevre | 2013-07-11 01:24:13 +0000 (Thu, 11 Jul 2013) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] The test of CC and CFLAGS was done too late! Moved this test earlier (checked on Debian/unstable with autoconf 2.69). ------------------------------------------------------------------------ r8609 | vlefevre | 2013-07-10 15:24:00 +0000 (Wed, 10 Jul 2013) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Improved r8608 (gmp.h/libgmp on stderr). ------------------------------------------------------------------------ r8608 | zimmerma | 2013-07-10 15:11:48 +0000 (Wed, 10 Jul 2013) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] print also the versions of gmp.h/libgmp on stderr, hoping they will appear on i686-solaris ------------------------------------------------------------------------ r8607 | zimmerma | 2013-07-10 14:44:20 +0000 (Wed, 10 Jul 2013) | 2 lines Changed paths: M /trunk/src/exp_2.c [src/exp_2.c] removed useless instruction ------------------------------------------------------------------------ r8606 | vlefevre | 2013-07-10 14:09:19 +0000 (Wed, 10 Jul 2013) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Corrected change in r8602 to get an error in the case i == 0 and u != 1. ------------------------------------------------------------------------ r8605 | zimmerma | 2013-07-10 13:48:43 +0000 (Wed, 10 Jul 2013) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] added fflush to see versions of gmp.h/libgmp ------------------------------------------------------------------------ r8604 | vlefevre | 2013-07-10 13:12:20 +0000 (Wed, 10 Jul 2013) | 2 lines Changed paths: M /trunk/src/exp_2.c [src/exp_2.c] Fixed undefined behavior (present in all MPFR versions) detected by "clang -fsanitize=undefined". ------------------------------------------------------------------------ r8603 | vlefevre | 2013-07-10 13:06:51 +0000 (Wed, 10 Jul 2013) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Suggest to test with "clang -fsanitize=undefined"; see <http://blog.regehr.org/archives/963>. ------------------------------------------------------------------------ r8602 | zimmerma | 2013-07-10 13:05:06 +0000 (Wed, 10 Jul 2013) | 2 lines Changed paths: M /trunk/acinclude.m4 more helpful debug information ------------------------------------------------------------------------ r8601 | zimmerma | 2013-07-10 13:02:51 +0000 (Wed, 10 Jul 2013) | 2 lines Changed paths: M /trunk/acinclude.m4 added debug information for double-to-integer conversion bug ------------------------------------------------------------------------ r8600 | vlefevre | 2013-07-09 16:08:49 +0000 (Tue, 09 Jul 2013) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Updated a comment about ICC. ------------------------------------------------------------------------ r8599 | vlefevre | 2013-07-09 16:00:39 +0000 (Tue, 09 Jul 2013) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added URL about compiler detection. ------------------------------------------------------------------------ r8595 | vlefevre | 2013-06-07 15:47:07 +0000 (Fri, 07 Jun 2013) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Another update about signed and unsigned integer types. ------------------------------------------------------------------------ r8594 | vlefevre | 2013-06-07 15:39:16 +0000 (Fri, 07 Jun 2013) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update about signed and unsigned integer types. ------------------------------------------------------------------------ r8593 | zimmerma | 2013-06-07 14:16:40 +0000 (Fri, 07 Jun 2013) | 3 lines Changed paths: M /trunk/src/random_deviate.c M /trunk/tests/Makefile.am [src/random_deviate.c] applied patch from Charles Karney [tests/Makefile.am] reorder test files ------------------------------------------------------------------------ r8592 | vlefevre | 2013-06-07 12:00:23 +0000 (Fri, 07 Jun 2013) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added URL's about C++ reserved keywords. ------------------------------------------------------------------------ r8591 | zimmerma | 2013-06-07 11:35:57 +0000 (Fri, 07 Jun 2013) | 4 lines Changed paths: M /trunk/src/random_deviate.h M /trunk/tests/tget_sj.c M /trunk/tests/tset_si.c changed to allow compilation with C++: [src/random_deviate.h] must declare the types before extern C {...} [tests/tget_sj.c,tests/tset_si.c] "not" seems to be reserved in C++ ------------------------------------------------------------------------ r8590 | vlefevre | 2013-06-07 08:09:04 +0000 (Fri, 07 Jun 2013) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] Slightly improved a bound under which mpfr_hypot cannot have an internal underflow, thus is correct. ------------------------------------------------------------------------ r8589 | vlefevre | 2013-06-06 23:39:56 +0000 (Thu, 06 Jun 2013) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Improved a test to avoid false positives. ------------------------------------------------------------------------ r8588 | vlefevre | 2013-06-06 14:22:26 +0000 (Thu, 06 Jun 2013) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] Updated/improved the proof of mpfr_hypot in the scaling case. ------------------------------------------------------------------------ r8587 | vlefevre | 2013-06-06 13:38:02 +0000 (Thu, 06 Jun 2013) | 2 lines Changed paths: M /trunk/src/hypot.c [src/hypot.c] Slightly improved scaling to avoid even more underflow in the scaling of y or in its square. ------------------------------------------------------------------------ r8586 | vlefevre | 2013-06-06 12:28:06 +0000 (Thu, 06 Jun 2013) | 1 line Changed paths: M /trunk/src/hypot.c [src/hypot.c] Added a comment on the FIXME. ------------------------------------------------------------------------ r8585 | vlefevre | 2013-06-06 12:03:49 +0000 (Thu, 06 Jun 2013) | 1 line Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Removed useless and meaningless definitions. ------------------------------------------------------------------------ r8584 | vlefevre | 2013-06-06 11:47:58 +0000 (Thu, 06 Jun 2013) | 3 lines Changed paths: M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h [src] Moved mp_bitcnt_t definition for GMP < 5 from mpfr-gmp.h to mpfr-impl.h (mpfr-gmp.h is only for definitions from GMP internals as it is included only in builds without GMP internals). ------------------------------------------------------------------------ r8583 | vlefevre | 2013-06-06 11:38:51 +0000 (Thu, 06 Jun 2013) | 1 line Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Fixed mp_bitcnt_t presence test. ------------------------------------------------------------------------ r8582 | zimmerma | 2013-06-06 11:12:55 +0000 (Thu, 06 Jun 2013) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h changed macro to typedef when mp_bitcnt_t is missing (for coherence with GMP) ------------------------------------------------------------------------ r8581 | zimmerma | 2013-06-06 06:53:57 +0000 (Thu, 06 Jun 2013) | 2 lines Changed paths: M /trunk/src/nrandom.c M /trunk/src/random_deviate.c fixed compiler warnings ------------------------------------------------------------------------ r8580 | zimmerma | 2013-06-06 05:48:37 +0000 (Thu, 06 Jun 2013) | 3 lines Changed paths: M /trunk/src/hypot.c M /trunk/src/mpfr-gmp.h [mpfr-gmp.h] added replacement for mp_bitcnt_t [hypot.c] added comment ------------------------------------------------------------------------ r8579 | zimmerma | 2013-06-05 15:29:17 +0000 (Wed, 05 Jun 2013) | 2 lines Changed paths: M /trunk/src/erandom.c M /trunk/src/nrandom.c M /trunk/src/random_deviate.c M /trunk/src/random_deviate.h applied patch from Charles Karney ------------------------------------------------------------------------ r8578 | vlefevre | 2013-06-05 13:58:18 +0000 (Wed, 05 Jun 2013) | 2 lines Changed paths: M /trunk/README [README] Added ar-lib (due to AM_PROG_AR in r8546) and test-driver (installed by Automake 1.12+). ------------------------------------------------------------------------ r8574 | vlefevre | 2013-06-03 08:34:46 +0000 (Mon, 03 Jun 2013) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8573 | vlefevre | 2013-06-02 19:07:51 +0000 (Sun, 02 Jun 2013) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] In AM_INIT_AUTOMAKE, lowered Automake version requirement to 1.11.2 (for AM_PROG_AR), as Ubuntu 12.04 LTS only has Automake 1.11.3 (we assume that such distributions have a security patch). ------------------------------------------------------------------------ r8572 | vlefevre | 2013-06-02 14:17:52 +0000 (Sun, 02 Jun 2013) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] In AM_INIT_AUTOMAKE, require Automake 1.11.6 for AM_PROG_AR and security reasons. ------------------------------------------------------------------------ r8571 | vlefevre | 2013-06-02 13:59:51 +0000 (Sun, 02 Jun 2013) | 1 line Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi [NEWS,doc/mpfr.texi] New and deprecated functions in MPFR 3.2. ------------------------------------------------------------------------ r8570 | vlefevre | 2013-06-02 13:47:38 +0000 (Sun, 02 Jun 2013) | 1 line Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/grandom.c Spelling: gaussian -> Gaussian (Wikipedia, Wolfram MathWorld, dict). ------------------------------------------------------------------------ r8569 | vlefevre | 2013-06-02 13:39:55 +0000 (Sun, 02 Jun 2013) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Slight doc improvement for mpfr_grandom. ------------------------------------------------------------------------ r8568 | zimmerma | 2013-06-01 11:05:15 +0000 (Sat, 01 Jun 2013) | 2 lines Changed paths: M /trunk/src/random_deviate.c added assertion ------------------------------------------------------------------------ r8567 | vlefevre | 2013-06-01 09:23:02 +0000 (Sat, 01 Jun 2013) | 1 line Changed paths: M /trunk/src/random_deviate.c [src/random_deviate.c] Updated a comment. ------------------------------------------------------------------------ r8566 | zimmerma | 2013-06-01 08:35:30 +0000 (Sat, 01 Jun 2013) | 3 lines Changed paths: M /trunk/src/random_deviate.c in case mp_limb_t is smaller than unsigned long, use alternate code for highest_bit_idx ------------------------------------------------------------------------ r8565 | vlefevre | 2013-06-01 00:50:16 +0000 (Sat, 01 Jun 2013) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Update for random_deviate. ------------------------------------------------------------------------ r8564 | vlefevre | 2013-06-01 00:46:16 +0000 (Sat, 01 Jun 2013) | 1 line Changed paths: M /trunk/src/nrandom.c [src/nrandom.c] Corrected indentation. ------------------------------------------------------------------------ r8563 | vlefevre | 2013-06-01 00:37:16 +0000 (Sat, 01 Jun 2013) | 1 line Changed paths: M /trunk/src/random_deviate.h [src/random_deviate.h] Fixed a typo in a macro name. ------------------------------------------------------------------------ r8562 | vlefevre | 2013-06-01 00:33:47 +0000 (Sat, 01 Jun 2013) | 1 line Changed paths: M /trunk/src/random_deviate.c [src/random_deviate.c] Removed trailing spaces. ------------------------------------------------------------------------ r8561 | vlefevre | 2013-06-01 00:32:35 +0000 (Sat, 01 Jun 2013) | 2 lines Changed paths: M /trunk Added ar-lib to svn:ignore property (this script comes from Automake, due to the use of AM_PROG_AR in configure.ac as of r8546). ------------------------------------------------------------------------ r8560 | vlefevre | 2013-05-31 16:11:47 +0000 (Fri, 31 May 2013) | 3 lines Changed paths: M /trunk/tests/memory.c [tests/memory.c] Added a FIXME comment about the time complexity of tests_memory_find (Paul Zimmermann noticed that tgrandom on a large value takes a lot of time, probably because of that). ------------------------------------------------------------------------ r8559 | zimmerma | 2013-05-31 15:14:44 +0000 (Fri, 31 May 2013) | 2 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi updated NEWS and contribution section in mpfr.texi ------------------------------------------------------------------------ r8558 | zimmerma | 2013-05-31 14:55:53 +0000 (Fri, 31 May 2013) | 2 lines Changed paths: M /trunk/src/random_deviate.c #include <...> -> #include "..." for local files ------------------------------------------------------------------------ r8557 | zimmerma | 2013-05-31 14:46:39 +0000 (Fri, 31 May 2013) | 2 lines Changed paths: M /trunk/src/random_deviate.c removed obsolete comment ------------------------------------------------------------------------ r8556 | zimmerma | 2013-05-31 13:34:12 +0000 (Fri, 31 May 2013) | 2 lines Changed paths: M /trunk/src/nrandom.c GNU style ------------------------------------------------------------------------ r8555 | zimmerma | 2013-05-31 13:28:51 +0000 (Fri, 31 May 2013) | 2 lines Changed paths: M /trunk/src/erandom.c GNU style ------------------------------------------------------------------------ r8554 | zimmerma | 2013-05-31 13:25:41 +0000 (Fri, 31 May 2013) | 2 lines Changed paths: M /trunk/src/random_deviate.c GNU style ------------------------------------------------------------------------ r8553 | zimmerma | 2013-05-31 12:55:49 +0000 (Fri, 31 May 2013) | 2 lines Changed paths: M /trunk/tests/Makefile.am A /trunk/tests/terandom.c A /trunk/tests/tnrandom.c added tests files for mpfr_nrandom and mpfr_erandom ------------------------------------------------------------------------ r8552 | zimmerma | 2013-05-31 12:43:52 +0000 (Fri, 31 May 2013) | 3 lines Changed paths: M /trunk/src/random_deviate.c removed RANDOM_SIMPLE=1 stuff (this was an alternate slower implementation). Kept in svn history as a reference. ------------------------------------------------------------------------ r8551 | zimmerma | 2013-05-31 12:40:37 +0000 (Fri, 31 May 2013) | 2 lines Changed paths: M /trunk/src/nrandom.c removed mpfr_grandom_alt (likewise previous commit) ------------------------------------------------------------------------ r8550 | zimmerma | 2013-05-31 12:39:03 +0000 (Fri, 31 May 2013) | 4 lines Changed paths: M /trunk/src/random_deviate.c removed mpfr_urandom_alt (slower than mpfr_urandom, but it can be recovered from the svn history to illustrate one of the basic properties of a newly initialized mpfr_random_deviate_t) ------------------------------------------------------------------------ r8549 | zimmerma | 2013-05-31 12:36:40 +0000 (Fri, 31 May 2013) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am D /trunk/src/mpfr_random.h M /trunk/src/random_deviate.h removed mpfr_random.h, headers are in mpfr.h ------------------------------------------------------------------------ r8548 | zimmerma | 2013-05-31 12:30:01 +0000 (Fri, 31 May 2013) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am A /trunk/src/erandom.c M /trunk/src/mpfr.h A /trunk/src/mpfr_random.h A /trunk/src/nrandom.c A /trunk/src/random_deviate.c A /trunk/src/random_deviate.h original contribution from Charles Karney <charles.karney@sri.com> ------------------------------------------------------------------------ r8547 | vlefevre | 2013-05-30 17:34:52 +0000 (Thu, 30 May 2013) | 1 line Changed paths: D /trunk/tools/update-patchv Removed obsolete tools/update-patchv script. Use update-version instead. ------------------------------------------------------------------------ r8546 | vlefevre | 2013-05-30 16:03:49 +0000 (Thu, 30 May 2013) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Added AM_PROG_AR to support unusual archivers (after a warning from Automake 1.13). ------------------------------------------------------------------------ r8544 | vlefevre | 2013-05-30 15:57:33 +0000 (Thu, 30 May 2013) | 1 line Changed paths: M /trunk/tools/ck-copyright-notice [tools/ck-copyright-notice] Update for copyright year ranges. ------------------------------------------------------------------------ r8542 | vlefevre | 2013-05-30 15:54:39 +0000 (Thu, 30 May 2013) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8540 | vlefevre | 2013-05-30 15:53:07 +0000 (Thu, 30 May 2013) | 2 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/faq.xsl M /trunk/doc/mpfr.texi M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.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/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c M /trunk/src/amd/amdfam10/mparam.h M /trunk/src/amd/athlon/mparam.h M /trunk/src/amd/k8/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/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/dump.c M /trunk/src/eint.c M /trunk/src/eq.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/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/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_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_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/hppa/mparam.h M /trunk/src/hypot.c M /trunk/src/ia64/mparam.h 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/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/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-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-intmax.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_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/neg.c M /trunk/src/next.c M /trunk/src/out_str.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/powerpc32/mparam.h 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/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_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/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/core2/mparam.h M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/corei5/mparam.h M /trunk/src/x86_64/pentium4/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/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/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/teint.c M /trunk/tests/teq.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/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/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_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/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/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/tprintf.c M /trunk/tests/trandom.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/tround_prec.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/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/ck-copyright-notice M /trunk/tools/ck-mparam M /trunk/tools/ck-version-info M /trunk/tools/get_patches.sh M /trunk/tools/mbench/Makefile 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/tune/Makefile.am M /trunk/tune/bidimensional_sample.c M /trunk/tune/speed.c M /trunk/tune/tuneup.c Use copyright year ranges, following http://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices ------------------------------------------------------------------------ r8537 | vlefevre | 2013-05-30 13:51:01 +0000 (Thu, 30 May 2013) | 1 line Changed paths: M /trunk/tests [tests] Added *.log and *.trs to svn:ignore property. ------------------------------------------------------------------------ r8536 | vlefevre | 2013-05-30 13:44:55 +0000 (Thu, 30 May 2013) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Update about configure default options. ------------------------------------------------------------------------ r8534 | vlefevre | 2013-05-30 13:21:33 +0000 (Thu, 30 May 2013) | 1 line Changed paths: M /trunk Added test-driver (from Automake 1.12+) to svn:ignore property. ------------------------------------------------------------------------ r8532 | vlefevre | 2013-05-24 15:17:52 +0000 (Fri, 24 May 2013) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Updated comment about -mieee-fp icc option. ------------------------------------------------------------------------ r8531 | thevenyp | 2013-05-24 14:42:52 +0000 (Fri, 24 May 2013) | 2 lines Changed paths: M /trunk/tests/tprintf.c [tests/tprintf] remove tests of invalid format (continuation of r8525). ------------------------------------------------------------------------ r8530 | thevenyp | 2013-05-24 14:39:58 +0000 (Fri, 24 May 2013) | 3 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Support all length modifiers defined by ISO C99, even if the corresponding type is not detected by configure (continuation of r8525). ------------------------------------------------------------------------ r8529 | vlefevre | 2013-05-24 13:59:10 +0000 (Fri, 24 May 2013) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] For ICC, changed the deprecated -mp option to the equivalent one -mieee-fp; added a comment about that. ------------------------------------------------------------------------ r8528 | thevenyp | 2013-05-24 12:59:13 +0000 (Fri, 24 May 2013) | 3 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Always support 't' and 'L' length modifiers, but don't test them if configure doesn't find the corresponding type. ------------------------------------------------------------------------ r8527 | thevenyp | 2013-05-24 12:31:17 +0000 (Fri, 24 May 2013) | 4 lines Changed paths: M /trunk/src/vasprintf.c M /trunk/tests/tprintf.c Printing invalid format specifiers (continuation of r8525) [src/vasprintf.c] Add comments. [tests/tprintf.c] Simplify tests. ------------------------------------------------------------------------ r8526 | zimmerma | 2013-05-24 12:01:07 +0000 (Fri, 24 May 2013) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h new macro MPFR_MAYBE_UNUSED to avoid compiler warnings ------------------------------------------------------------------------ r8525 | thevenyp | 2013-05-23 16:24:57 +0000 (Thu, 23 May 2013) | 3 lines Changed paths: M /trunk/src/vasprintf.c M /trunk/tests/tprintf.c [src/vasprintf.c] Print invalid format specifier instead of returning an error code, as in GMP. [tests/tprintf.c] Modify tests for invalid format. ------------------------------------------------------------------------ r8524 | zimmerma | 2013-05-22 15:11:42 +0000 (Wed, 22 May 2013) | 3 lines Changed paths: M /trunk/configure.ac try to link with GMP even when a dll, since it seems to work now (see https://sympa.inria.fr/sympa/arc/mpfr/2013-05/msg00010.html) ------------------------------------------------------------------------ r8523 | zimmerma | 2013-05-22 11:50:08 +0000 (Wed, 22 May 2013) | 5 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/vasprintf.c M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/tests/tsprintf.c replaced macros NPRINTF_T and NPRINTF_L by positive versions PRINTF_T and PRINTF_L, now we don't assume that %td and %Lf are supported when we don't check it (for example when cross-compiling, or under Windows when GMP is a dynamic library) ------------------------------------------------------------------------ r8522 | zimmerma | 2013-05-22 10:20:30 +0000 (Wed, 22 May 2013) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h fixed typo ------------------------------------------------------------------------ r8520 | vlefevre | 2013-05-15 23:12:07 +0000 (Wed, 15 May 2013) | 2 lines Changed paths: M /trunk/Makefile.am [Makefile.am] Added a comment about ACLOCAL_AMFLAGS, based on the GNU Automake 1.13.2 release notes. ------------------------------------------------------------------------ r8514 | vlefevre | 2013-04-17 08:28:45 +0000 (Wed, 17 Apr 2013) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] With clang, do not use GCC's self-initialization trick as it generates a warning, though clang claims GCC compatibility. ------------------------------------------------------------------------ r8511 | zimmerma | 2013-04-04 07:06:13 +0000 (Thu, 04 Apr 2013) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [algorithms.tex] added reference ------------------------------------------------------------------------ r8506 | zimmerma | 2013-03-26 14:05:57 +0000 (Tue, 26 Mar 2013) | 2 lines Changed paths: M /trunk/TODO [TODO] added item ------------------------------------------------------------------------ r8504 | vlefevre | 2013-03-18 17:19:21 +0000 (Mon, 18 Mar 2013) | 1 line Changed paths: M /trunk/src/fits_intmax.c [src/fits_intmax.c] Corrected a comment. ------------------------------------------------------------------------ r8503 | vlefevre | 2013-03-18 17:13:32 +0000 (Mon, 18 Mar 2013) | 4 lines Changed paths: M /trunk/src/fits_u.h M /trunk/src/fits_uintmax.c [src/{fits_u.h,fits_uintmax.c}] Fixed the mpfr_fits_u*_p functions, which incorrectly returned 0 ("doesn't fit") on negative arguments when the rounding to an integer was 0. The fits_uintmax.c file now uses fits_u.h for consistency. ------------------------------------------------------------------------ r8502 | vlefevre | 2013-03-18 16:32:08 +0000 (Mon, 18 Mar 2013) | 1 line Changed paths: M /trunk/tests/tfits.c [tests/tfits.c] Use error numbers to know where an error occurred. ------------------------------------------------------------------------ r8501 | vlefevre | 2013-03-18 14:24:16 +0000 (Mon, 18 Mar 2013) | 1 line Changed paths: M /trunk/src/fits_uintmax.c [src/fits_uintmax.c] Replaced an obsolete comment by a TODO. ------------------------------------------------------------------------ r8500 | vlefevre | 2013-03-18 12:54:04 +0000 (Mon, 18 Mar 2013) | 2 lines Changed paths: M /trunk/tests/tget_sj.c [tests/tget_sj.c] Added mpfr_get_uj tests on small negative op, similar to what has been done for mpfr_get_ui in r8498,8499. ------------------------------------------------------------------------ r8499 | vlefevre | 2013-03-18 12:50:56 +0000 (Mon, 18 Mar 2013) | 2 lines Changed paths: M /trunk/tests/tset_si.c [tests/tset_si.c] Minor type correction for r8498 (this shouldn't matter because the value is normally small, but perhaps not in case of bug). ------------------------------------------------------------------------ r8498 | vlefevre | 2013-03-18 12:44:09 +0000 (Mon, 18 Mar 2013) | 1 line Changed paths: M /trunk/tests/tset_si.c [tests/tset_si.c] Added mpfr_get_ui tests on small negative op. ------------------------------------------------------------------------ r8497 | vlefevre | 2013-03-18 12:18:31 +0000 (Mon, 18 Mar 2013) | 1 line Changed paths: M /trunk/tests/tset_si.c [tests/tset_si.c] Corrected comment. ------------------------------------------------------------------------ r8496 | vlefevre | 2013-03-18 12:09:34 +0000 (Mon, 18 Mar 2013) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8495 | vlefevre | 2013-03-18 12:08:34 +0000 (Mon, 18 Mar 2013) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved documentation of the conversions to an integer (mpfr_get_si, mpfr_get_ui, mpfr_get_sj, mpfr_get_uj). ------------------------------------------------------------------------ r8494 | vlefevre | 2013-03-18 11:56:17 +0000 (Mon, 18 Mar 2013) | 2 lines Changed paths: M /trunk/tests/tfits.c [tests/tfits.c] Added tests, in particular for small negative op and in non-RNDN rounding modes; tfits currently fails. ------------------------------------------------------------------------ r8493 | vlefevre | 2013-03-18 02:50:23 +0000 (Mon, 18 Mar 2013) | 1 line Changed paths: M /trunk/tools/announce-text [tools/announce-text] Added short text about what GNU MPFR is. ------------------------------------------------------------------------ r8483 | vlefevre | 2013-03-13 15:31:32 +0000 (Wed, 13 Mar 2013) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Removed a duplicate word. ------------------------------------------------------------------------ r8477 | vlefevre | 2013-03-12 02:18:35 +0000 (Tue, 12 Mar 2013) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Added a paragraph about Cygwin and threading. ------------------------------------------------------------------------ r8475 | vlefevre | 2013-03-12 00:07:19 +0000 (Tue, 12 Mar 2013) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Improved information on patches. ------------------------------------------------------------------------ r8474 | vlefevre | 2013-03-11 00:43:52 +0000 (Mon, 11 Mar 2013) | 1 line Changed paths: M /trunk/tools/announce-text [tools/announce-text] Added text about how to verify the signatures. ------------------------------------------------------------------------ r8473 | vlefevre | 2013-03-11 00:22:33 +0000 (Mon, 11 Mar 2013) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated "To make a release" about the web pages. ------------------------------------------------------------------------ r8469 | vlefevre | 2013-03-08 11:55:17 +0000 (Fri, 08 Mar 2013) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added info about update-version and ck-version-info. ------------------------------------------------------------------------ r8462 | vlefevre | 2013-03-05 01:05:49 +0000 (Tue, 05 Mar 2013) | 1 line Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Clean-up. Improved consistency. ------------------------------------------------------------------------ r8461 | vlefevre | 2013-03-04 03:45:19 +0000 (Mon, 04 Mar 2013) | 2 lines Changed paths: M /trunk/examples/ReadMe M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.c M /trunk/examples/version.c [examples] Replaced the old rounding mode macros (GMP_RNDN, etc.) by the new ones (MPFR_RNDN, etc.) in the *.c files; updated ReadMe file. ------------------------------------------------------------------------ r8460 | vlefevre | 2013-03-04 03:41:45 +0000 (Mon, 04 Mar 2013) | 1 line Changed paths: M /trunk/doc/update-faq [doc/update-faq] Removed the now useless s/GMP_RND/MPFR_RND/ rewriting. ------------------------------------------------------------------------ r8458 | vlefevre | 2013-03-04 02:44:00 +0000 (Mon, 04 Mar 2013) | 3 lines Changed paths: M /trunk/doc/faq.xsl M /trunk/doc/update-faq [doc] Slightly modified faq.xsl to avoid libxslt bug 377440, and moved the addition of special CSS comments for XML compatibility from update-faq to faq.xsl file. ------------------------------------------------------------------------ r8457 | vlefevre | 2013-03-01 15:25:44 +0000 (Fri, 01 Mar 2013) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Avoid mpfr_set_d. ------------------------------------------------------------------------ r8456 | vlefevre | 2013-03-01 15:20:53 +0000 (Fri, 01 Mar 2013) | 2 lines Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Avoid mpfr_set_d as the results may depend on the C implementation. ------------------------------------------------------------------------ r8448 | vlefevre | 2013-01-03 05:09:01 +0000 (Thu, 03 Jan 2013) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8447 | vlefevre | 2013-01-03 04:59:33 +0000 (Thu, 03 Jan 2013) | 5 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/faq.xsl M /trunk/doc/mpfr.texi M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.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/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c M /trunk/src/amd/amdfam10/mparam.h M /trunk/src/amd/athlon/mparam.h M /trunk/src/amd/k8/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/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/dump.c M /trunk/src/eint.c M /trunk/src/eq.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/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/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_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_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/hppa/mparam.h M /trunk/src/hypot.c M /trunk/src/ia64/mparam.h 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/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/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-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-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_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/neg.c M /trunk/src/next.c M /trunk/src/out_str.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/powerpc32/mparam.h 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/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_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/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/core2/mparam.h M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/corei5/mparam.h M /trunk/src/x86_64/pentium4/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/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/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/teint.c M /trunk/tests/teq.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/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/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_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/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/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/tprintf.c M /trunk/tests/trandom.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/tround_prec.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/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/ck-copyright-notice M /trunk/tools/ck-mparam 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 2013 with perl -pi -e 's/2012 Free Software/2012, 2013 Free Software/' **/*(^/) under zsh, reverting the ChangeLog file and the m4 directory (the tools/mbench directory was not modified). Removed 2012 from the example in the doc/README.dev file. ------------------------------------------------------------------------ r8446 | vlefevre | 2013-01-03 04:38:45 +0000 (Thu, 03 Jan 2013) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Corrected comment on clock_gettime (from r8445). ------------------------------------------------------------------------ r8445 | vlefevre | 2012-12-31 15:42:02 +0000 (Mon, 31 Dec 2012) | 2 lines Changed paths: M /trunk/configure.ac M /trunk/tune/Makefile.am Tuning: reverted changeset r8444 and applied patch by Patrick Pélissier for GMP 5.1.0 to link against librt conditionally. ------------------------------------------------------------------------ r8444 | zimmerma | 2012-12-31 09:43:09 +0000 (Mon, 31 Dec 2012) | 2 lines Changed paths: M /trunk/tune/Makefile.am [Makefile.am] -lrt is needed for clock_gettime() [undefined with GMP 5.1.0] ------------------------------------------------------------------------ r8443 | vlefevre | 2012-12-21 17:02:51 +0000 (Fri, 21 Dec 2012) | 1 line Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Added a TODO. ------------------------------------------------------------------------ r8442 | vlefevre | 2012-12-21 16:50:34 +0000 (Fri, 21 Dec 2012) | 2 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] Added an assert on MPFR_PREC_MIN because the code seems to be based on this (always true with the current value). ------------------------------------------------------------------------ r8441 | vlefevre | 2012-12-21 16:37:16 +0000 (Fri, 21 Dec 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Minor corrections of mpfr_fpif_import documentation. ------------------------------------------------------------------------ r8440 | demengeo | 2012-12-21 12:42:15 +0000 (Fri, 21 Dec 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/fpif.c mpfr_fpif_import now check precision size. Documentation updated for mpfr_fpif_import. ------------------------------------------------------------------------ r8439 | vlefevre | 2012-12-20 03:52:41 +0000 (Thu, 20 Dec 2012) | 2 lines Changed paths: M /trunk/src/get_f.c M /trunk/src/mpfr-gmp.h M /trunk/tests/tadd.c M /trunk/tests/tgeneric.c Compatibility with GMP 5.1.0 when gmp-impl.h is included (thanks to Rob: https://sympa.inria.fr/sympa/arc/mpfr/2012-12/msg00003.html); clean-up. ------------------------------------------------------------------------ r8437 | vlefevre | 2012-12-12 10:35:20 +0000 (Wed, 12 Dec 2012) | 2 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] Added a FIXME comment in mpfr_fpif_import concerning the precision. ------------------------------------------------------------------------ r8436 | vlefevre | 2012-12-11 23:51:12 +0000 (Tue, 11 Dec 2012) | 3 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] Added comments. Fixed mpfr_fpif_read_precision_from_file in the case where the precision size > sizeof(mpfr_prec_t) and/or when the read precision is too large (as mpfr_prec_t is signed). ------------------------------------------------------------------------ r8435 | zimmerma | 2012-12-11 20:49:49 +0000 (Tue, 11 Dec 2012) | 2 lines Changed paths: M /trunk/src/fpif.c [fpif.c] completed FIXME ------------------------------------------------------------------------ r8434 | vlefevre | 2012-12-08 09:39:25 +0000 (Sat, 08 Dec 2012) | 2 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] Added a FIXME comment: large precisions read from the file can trigger undefined behavior if sizeof(mpfr_prec_t) is too small. ------------------------------------------------------------------------ r8433 | demengeo | 2012-12-07 16:03:06 +0000 (Fri, 07 Dec 2012) | 1 line Changed paths: M /trunk/src/fpif.c Fixed stack overflow bug in fpif.c ------------------------------------------------------------------------ r8432 | vlefevre | 2012-12-05 17:38:38 +0000 (Wed, 05 Dec 2012) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac [acinclude.m4,configure.ac] Moved the "double-to-integer conversion bug" test after the gmp.h detection as it uses gmp.h (otherwise one gets an incorrect error on this test if gmp.h can't be found or is unusable). ------------------------------------------------------------------------ r8430 | vlefevre | 2012-12-03 15:04:33 +0000 (Mon, 03 Dec 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Removed a useless comma from r8428. ------------------------------------------------------------------------ r8429 | vlefevre | 2012-12-03 15:02:23 +0000 (Mon, 03 Dec 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8428 | vlefevre | 2012-12-03 15:00:58 +0000 (Mon, 03 Dec 2012) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated warning in mpfr_min_prec description, in particular for the use with mpfr_prec_round. ------------------------------------------------------------------------ r8425 | vlefevre | 2012-10-17 23:10:24 +0000 (Wed, 17 Oct 2012) | 2 lines Changed paths: M /trunk/src/set_uj.c [src/set_uj.c] Change to help the compiler to detect dead code, improving the coverage (from a patch by Patrick Pélissier). ------------------------------------------------------------------------ r8424 | vlefevre | 2012-10-17 22:56:04 +0000 (Wed, 17 Oct 2012) | 1 line Changed paths: M /trunk/src/get_d64.c [src/get_d64.c] Added a const (thanks to Patrick Pélissier). ------------------------------------------------------------------------ r8423 | vlefevre | 2012-10-10 08:35:59 +0000 (Wed, 10 Oct 2012) | 10 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/mpfr-impl.h M /trunk/tests/tsprintf.c [acinclude.m4] Check struct lconv members (from <locale.h>) to avoid a build failure under Android, which does not have them; see https://sympa.inria.fr/sympa/arc/mpfr/2012-10/msg00002.html [src/mpfr-impl.h] Decimal point / thousands separator support can now be detected automatically by configure (from the presence of <locale.h> and the above members) or explicitly disabled/enabled by the user by defining the MPFR_LCONV_DPTS macro to 0 or 1 via CFLAGS (a configure switch might be added in the future). [tests/tsprintf.c] Do the locale_da_DK test only if MPFR_LCONV_DPTS is true. ------------------------------------------------------------------------ r8422 | vlefevre | 2012-09-29 23:23:59 +0000 (Sat, 29 Sep 2012) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Note about GNU extensions and ICC. ------------------------------------------------------------------------ r8420 | vlefevre | 2012-09-20 10:09:28 +0000 (Thu, 20 Sep 2012) | 3 lines Changed paths: M /trunk/src/get_float128.c M /trunk/src/set_float128.c [get_float128.c,set_float128.c] Avoid an empty translation unit (forbidden by ISO C, detected with gcc -ansi -pedantic-errors) when MPFR_WANT_FLOAT128 is not defined. ------------------------------------------------------------------------ r8419 | vlefevre | 2012-09-20 09:33:30 +0000 (Thu, 20 Sep 2012) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h M /trunk/src/rndna.c M /trunk/tests/trndna.c Applied patch (with minor changes) by Patrick Pélissier to improve the mpfr_round_nearest_away interface. ------------------------------------------------------------------------ r8418 | zimmerma | 2012-09-12 07:05:13 +0000 (Wed, 12 Sep 2012) | 2 lines Changed paths: M /trunk/tools/nightly-test [nightly-test] modified so that decimal floats are tested (with gcc) ------------------------------------------------------------------------ r8417 | vlefevre | 2012-09-05 11:21:00 +0000 (Wed, 05 Sep 2012) | 1 line Changed paths: M /trunk/src/set_d64.c Removed trailing whitespace. ------------------------------------------------------------------------ r8416 | vlefevre | 2012-09-05 11:20:03 +0000 (Wed, 05 Sep 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8415 | vlefevre | 2012-09-04 13:19:54 +0000 (Tue, 04 Sep 2012) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Improved error message when the compiler doesn't know _Decimal64 (if MPFR is built with --enable-decimal-float). ------------------------------------------------------------------------ r8414 | zimmerma | 2012-09-04 13:01:41 +0000 (Tue, 04 Sep 2012) | 2 lines Changed paths: M /trunk/configure.ac M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h revert changeset r8412 (_Decimal64 might be defined in C++, but not as a macro) ------------------------------------------------------------------------ r8413 | zimmerma | 2012-09-04 12:43:47 +0000 (Tue, 04 Sep 2012) | 2 lines Changed paths: M /trunk/configure.ac M /trunk/doc/mpfr.texi updated documentation wrt --enable-decimal-float ------------------------------------------------------------------------ r8412 | zimmerma | 2012-09-04 12:36:52 +0000 (Tue, 04 Sep 2012) | 3 lines Changed paths: M /trunk/configure.ac M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h added support for --enable-decimal-float with g++ (does not work with icpc, the Intel C++ compiler) ------------------------------------------------------------------------ r8411 | zimmerma | 2012-09-04 10:14:31 +0000 (Tue, 04 Sep 2012) | 2 lines Changed paths: M /trunk/tests/tl2b.c [tests/tl2b.c] fix for C++ ------------------------------------------------------------------------ r8410 | vlefevre | 2012-09-04 09:29:20 +0000 (Tue, 04 Sep 2012) | 1 line Changed paths: M /trunk/src/set_d.c [src/set_d.c] Updated a comment on the negative zero. ------------------------------------------------------------------------ r8409 | vlefevre | 2012-09-04 09:18:21 +0000 (Tue, 04 Sep 2012) | 2 lines Changed paths: M /trunk/src/get_str.c [src/get_str.c] #include "mpfr-intmax.h" so that UINT64_C has a chance to be defined (optionally used as of r8406). ------------------------------------------------------------------------ r8408 | zimmerma | 2012-09-04 09:15:06 +0000 (Tue, 04 Sep 2012) | 3 lines Changed paths: M /trunk/src/set_d64.c [src/set_d64.c] fix for systems where +0.0 and -0.0 are stored identically in memory ------------------------------------------------------------------------ r8407 | zimmerma | 2012-09-04 09:08:59 +0000 (Tue, 04 Sep 2012) | 2 lines Changed paths: M /trunk/src/set_d64.c [src/set_d64.c] better code to detect -0.0 (copied from set_d.c) ------------------------------------------------------------------------ r8406 | zimmerma | 2012-09-04 09:00:56 +0000 (Tue, 04 Sep 2012) | 3 lines Changed paths: M /trunk/src/get_str.c M /trunk/tests/tl2b.c [tests/tl2b.c] use UINT64_C for 64-bit integer constants [src/get_str.c] update table generated by "tests/tl2b 1" ------------------------------------------------------------------------ r8405 | zimmerma | 2012-09-04 07:49:09 +0000 (Tue, 04 Sep 2012) | 2 lines Changed paths: M /trunk/src/get_d64.c M /trunk/src/set_d64.c [get_d64.c,set_d64.c] small fixes (did not work any more with --with-gmp-build) ------------------------------------------------------------------------ r8404 | zimmerma | 2012-09-04 07:27:32 +0000 (Tue, 04 Sep 2012) | 3 lines Changed paths: M /trunk/src/set_d64.c [set_d64.c] some cleanup, since sprintf adds a final '\0', and fixed a too small memory allocation ------------------------------------------------------------------------ r8403 | zimmerma | 2012-09-03 20:21:56 +0000 (Mon, 03 Sep 2012) | 2 lines Changed paths: M /trunk/TODO [TODO] removed an item (done) ------------------------------------------------------------------------ r8402 | zimmerma | 2012-09-03 20:21:12 +0000 (Mon, 03 Sep 2012) | 4 lines Changed paths: M /trunk/configure.ac M /trunk/src/get_d64.c M /trunk/src/set_d64.c M /trunk/tests/tget_set_d64.c Now --enable-decimal-float does not require any more --with-gmp-build. Still disabled by default: some more testing is needed before we can enable it by default (if _Decimal64 is supported). ------------------------------------------------------------------------ r8398 | vlefevre | 2012-08-29 13:47:39 +0000 (Wed, 29 Aug 2012) | 1 line Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Updated bug20120829 comment (bug fixed in r8396). ------------------------------------------------------------------------ r8397 | vlefevre | 2012-08-29 13:45:18 +0000 (Wed, 29 Aug 2012) | 1 line Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Fixed small type error. ------------------------------------------------------------------------ r8396 | zimmerma | 2012-08-29 13:40:43 +0000 (Wed, 29 Aug 2012) | 2 lines Changed paths: M /trunk/src/strtofr.c [strtofr.c] new try to fix the assertion failure on 32-bit ------------------------------------------------------------------------ r8395 | vlefevre | 2012-08-29 13:08:16 +0000 (Wed, 29 Aug 2012) | 2 lines Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Added more bug20120829 tests, showing that r8394 is still buggy on 32-bit machines (assertion failure in strtofr.c). ------------------------------------------------------------------------ r8394 | zimmerma | 2012-08-29 12:51:19 +0000 (Wed, 29 Aug 2012) | 2 lines Changed paths: M /trunk/src/strtofr.c [strtofr.c] fix for failing test case introduced in r8392 ------------------------------------------------------------------------ r8393 | vlefevre | 2012-08-29 12:30:44 +0000 (Wed, 29 Aug 2012) | 2 lines Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Updated a comment: the 2nd testcase of r8392 also triggers an assertion failure on 32-bit machines. ------------------------------------------------------------------------ r8392 | vlefevre | 2012-08-29 12:27:47 +0000 (Wed, 29 Aug 2012) | 5 lines Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Added 2 testcases: * One triggering an assertion failure in strtofr.c r8389 on 32-bit machines (fixed in r8390). * One still triggering an assertion failure in strtofr.c (r8391) on 64-bit machines. ------------------------------------------------------------------------ r8391 | zimmerma | 2012-08-29 10:30:04 +0000 (Wed, 29 Aug 2012) | 2 lines Changed paths: M /trunk/src/strtofr.c [strtofr.c] fixed comments ------------------------------------------------------------------------ r8390 | zimmerma | 2012-08-28 20:06:21 +0000 (Tue, 28 Aug 2012) | 2 lines Changed paths: M /trunk/src/strtofr.c [strtofr.c] fix for err >= GMP_NUMB_BITS ------------------------------------------------------------------------ r8389 | vlefevre | 2012-08-28 15:13:32 +0000 (Tue, 28 Aug 2012) | 1 line Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Consistency correction: towards → toward. ------------------------------------------------------------------------ r8388 | vlefevre | 2012-08-28 15:07:30 +0000 (Tue, 28 Aug 2012) | 1 line Changed paths: M /trunk/src/sin_cos.c [src/sin_cos.c] Consistency correction: towards → toward. ------------------------------------------------------------------------ r8386 | vlefevre | 2012-08-28 15:04:52 +0000 (Tue, 28 Aug 2012) | 1 line Changed paths: M /trunk/doc/FAQ.html [doc] Updated FAQ.html with update-faq. ------------------------------------------------------------------------ r8384 | zimmerma | 2012-08-28 14:20:38 +0000 (Tue, 28 Aug 2012) | 7 lines Changed paths: M /trunk/src/strtofr.c [strtofr.c] fixed bug in mpfr_strtofr in case: (1) the input string was used entirely (2) the conversion was done by a division (3) and the division was exact In such a case the "reconstruction" of the ternary value was inexact. ------------------------------------------------------------------------ r8379 | vlefevre | 2012-08-16 09:05:27 +0000 (Thu, 16 Aug 2012) | 4 lines Changed paths: M /trunk/src/get_d64.c M /trunk/tests/tget_set_d64.c [src/get_d64.c] mpfr_get_decimal64 was buggy in MPFR_RNDN on some values x such that 0.5e-398 < |x| < 1e-398 (smallest subnormal): it was returning 0 instead of +/- 1e-398 (see r8370). [tests/tget_set_d64.c] Added testcases. ------------------------------------------------------------------------ r8377 | vlefevre | 2012-08-15 23:30:04 +0000 (Wed, 15 Aug 2012) | 3 lines Changed paths: M /trunk/src/get_d64.c [src/get_d64.c] Fixed get_decimal64_max by simplifying it completely, and changed get_decimal64_min in the same way. Thanks to Rob (Sisyphus) for the idea. ------------------------------------------------------------------------ r8376 | vlefevre | 2012-08-15 23:22:17 +0000 (Wed, 15 Aug 2012) | 2 lines Changed paths: M /trunk/tests/tget_set_d64.c [tests/tget_set_d64.c] Added overflow tests (they cover the two bad tests fixed in r8372 and trigger a bug in get_decimal64_max). ------------------------------------------------------------------------ r8375 | vlefevre | 2012-08-15 22:31:31 +0000 (Wed, 15 Aug 2012) | 1 line Changed paths: M /trunk/tests/tget_set_d64.c [tests/tget_set_d64.c] Added some tests for large numbers. ------------------------------------------------------------------------ r8374 | vlefevre | 2012-08-15 22:11:24 +0000 (Wed, 15 Aug 2012) | 2 lines Changed paths: M /trunk/configure.ac M /trunk/doc/README.dev M /trunk/src/add1sp.c M /trunk/src/mpfr-impl.h M /trunk/src/mul.c M /trunk/src/round_p.c M /trunk/src/set_d.c M /trunk/src/sub1sp.c M /trunk/tests/mpfr-test.h Renamed WANT_ASSERT to MPFR_WANT_ASSERT in order to avoid a clash with GMP when MPFR is configured with --with-gmp-build. ------------------------------------------------------------------------ r8372 | vlefevre | 2012-08-14 10:35:11 +0000 (Tue, 14 Aug 2012) | 1 line Changed paths: M /trunk/src/get_d64.c [src/get_d64.c] Fixed overflow cases. ------------------------------------------------------------------------ r8371 | vlefevre | 2012-08-14 01:31:27 +0000 (Tue, 14 Aug 2012) | 1 line Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Added testcase from bug reported by Joseph S. Myers. ------------------------------------------------------------------------ r8370 | vlefevre | 2012-08-13 16:17:20 +0000 (Mon, 13 Aug 2012) | 3 lines Changed paths: M /trunk/src/get_d64.c [src/get_d64.c] mpfr_get_decimal64 is buggy in MPFR_RNDN for values x such that 0.5e-398 < |x| < 1e-398. Added a FIXME comment. See: https://sympa.inria.fr/sympa/arc/mpfr/2012-08/msg00002.html ------------------------------------------------------------------------ r8367 | vlefevre | 2012-07-27 10:41:07 +0000 (Fri, 27 Jul 2012) | 8 lines Changed paths: M /trunk/configure.ac M /trunk/doc/README.dev M /trunk/src/fpif.c [src/fpif.c] No longer assume that if HAVE_BIG_ENDIAN is not defined, the architecture is little endian. Detect the case where neither HAVE_BIG_ENDIAN nor HAVE_LITTLE_ENDIAN is defined (currently an error). [configure.ac] Fixed the use of AC_C_BIGENDIAN (since AC_CONFIG_HEADERS is not used, one must have an ACTION-IF-UNIVERSAL argument). [doc/README.dev] Check with "-UHAVE_BIG_ENDIAN -UHAVE_LITTLE_ENDIAN" (unknown/unspecified endianness) before a release. ------------------------------------------------------------------------ r8366 | vlefevre | 2012-07-27 09:52:16 +0000 (Fri, 27 Jul 2012) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update now that autogen.sh is in the repository. ------------------------------------------------------------------------ r8365 | vlefevre | 2012-07-27 09:41:47 +0000 (Fri, 27 Jul 2012) | 2 lines Changed paths: A /trunk/autogen.sh Added autogen.sh sh script from Daniel Richard G. to install/update the autotools files and clean up caches (useful before a release). ------------------------------------------------------------------------ r8364 | vlefevre | 2012-07-27 09:35:49 +0000 (Fri, 27 Jul 2012) | 31 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/m4/size_max.m4 M /trunk/tests/Makefile.am M /trunk/tune/Makefile.am Updated autotools files to get rid of obsolete macros (thanks to Daniel Richard G. for the patch; kept the autoconf requirement to 2.60 instead of changing it to 2.68 as done with autoupdate, since 2.60 seems to be sufficient according to the changes and 2.68 is too recent, e.g. Debian/stable still has 2.67). --- Note --- This update has another effect: The "Configs for Windows DLLs." code (from "case $host in" to "esac") is now executed at the right time, after options like --disable-static are taken into account. Juste before this change, the test if test "$enable_shared" = yes; then was always false. This could be seen on hydra: With r8360: [...] configure flags: --disable-static --disable-dependency-tracking --prefix=/nix/store/95zhbb0v23syxsazx33hg3acbvixyq5a-mpfr-0-3.2.0-dev [...] checking for DLL/static GMP... static [...] checking whether to build shared libraries... yes checking whether to build static libraries... no [...] With r8367: [...] configure flags: --disable-static --disable-dependency-tracking --prefix=/nix/store/8zblwffd2ww1z0smqlgwrfzcl6b48rim-mpfr-0-3.2.0-dev [...] checking whether to build shared libraries... yes checking whether to build static libraries... no checking for DLL/static GMP... static [...] ------------------------------------------------------------------------ r8363 | vlefevre | 2012-07-27 09:09:40 +0000 (Fri, 27 Jul 2012) | 2 lines Changed paths: M /trunk/src/mpfr-intmax.h [src/mpfr-intmax.h] Updated comment formatting so that mpfrlint doesn't complain. ------------------------------------------------------------------------ r8360 | vlefevre | 2012-07-26 14:09:01 +0000 (Thu, 26 Jul 2012) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Replaced "sed" by "$SED". ------------------------------------------------------------------------ r8359 | vlefevre | 2012-07-26 14:08:12 +0000 (Thu, 26 Jul 2012) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Check for sed. ------------------------------------------------------------------------ r8358 | vlefevre | 2012-07-26 13:24:29 +0000 (Thu, 26 Jul 2012) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Check for grep, egrep and fgrep (see r8356 correction). ------------------------------------------------------------------------ r8357 | zimmerma | 2012-07-26 10:19:46 +0000 (Thu, 26 Jul 2012) | 2 lines Changed paths: M /trunk/src/get_str.c M /trunk/tests/tl2b.c we use a 77-bit approximation in get_str.c (and not 76-bit) ------------------------------------------------------------------------ r8356 | zimmerma | 2012-07-25 14:18:13 +0000 (Wed, 25 Jul 2012) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] grep -> $EGREP (thanks Marc Glisse) https://sympa.inria.fr/sympa/arc/mpfr/2012-07/msg00006.html ------------------------------------------------------------------------ r8355 | zimmerma | 2012-07-24 15:38:58 +0000 (Tue, 24 Jul 2012) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] fix for cross-compilation ------------------------------------------------------------------------ r8354 | vlefevre | 2012-07-24 12:17:20 +0000 (Tue, 24 Jul 2012) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Improved a message and corrected gmp.h inclusion. ------------------------------------------------------------------------ r8353 | zimmerma | 2012-07-24 12:07:44 +0000 (Tue, 24 Jul 2012) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] added test for double-to-integer conversion bug ------------------------------------------------------------------------ r8352 | zimmerma | 2012-07-24 11:51:22 +0000 (Tue, 24 Jul 2012) | 2 lines Changed paths: M /trunk/tests/tinternals.c revert r8349 (will do the test in configure) ------------------------------------------------------------------------ r8351 | vlefevre | 2012-07-24 10:48:49 +0000 (Tue, 24 Jul 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi Improved doc/mpfr.texi about MPFR_USE_INTMAX_T. ------------------------------------------------------------------------ r8350 | vlefevre | 2012-07-24 10:21:53 +0000 (Tue, 24 Jul 2012) | 8 lines Changed paths: M /trunk/src/mpfr-intmax.h [src/mpfr-intmax.h] Define MPFR_USE_INTMAX_T if <inttypes.h> and/or <stdint.h> is available. This is needed on systems for which the current (non-standard) macro tests in mpfr.h is not sufficient. This will force the support of intmax_t/uintmax_t in this case and also avoids a failure in the tests on such systems. Tested by replacing the macro tests in mpfr.h by just #if defined (MPFR_USE_INTMAX_T) to simulate such a system. ------------------------------------------------------------------------ r8349 | zimmerma | 2012-07-24 06:56:54 +0000 (Tue, 24 Jul 2012) | 2 lines Changed paths: M /trunk/tests/tinternals.c [tinternals.c] added test for double -> mp_limb_t conversion ------------------------------------------------------------------------ r8348 | zimmerma | 2012-07-23 09:54:37 +0000 (Mon, 23 Jul 2012) | 2 lines Changed paths: M /trunk/src/mpfr.h [mpfr.h] patch for FreeBSD (tested on gcc76.fsffrance.org with freebsd-83-amd64) ------------------------------------------------------------------------ r8346 | vlefevre | 2012-07-10 12:17:38 +0000 (Tue, 10 Jul 2012) | 4 lines Changed paths: M /trunk/doc/README.dev A /trunk/tools/announce-text Added tools/announce-text sh script to be run before publishing an announce of a new GNU MPFR release (it does some checking, then it outputs the announce text to stdout). Mention this script in "doc/README.dev". ------------------------------------------------------------------------ r8345 | vlefevre | 2012-07-10 08:54:17 +0000 (Tue, 10 Jul 2012) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated "To make a release". ------------------------------------------------------------------------ r8344 | zimmerma | 2012-07-09 16:04:57 +0000 (Mon, 09 Jul 2012) | 2 lines Changed paths: M /trunk/TODO [TODO] added item ------------------------------------------------------------------------ r8340 | vlefevre | 2012-07-06 14:43:44 +0000 (Fri, 06 Jul 2012) | 2 lines Changed paths: M /trunk/tests/tget_flt.c M /trunk/tests/tset_d.c [tests/{tset_d.c,tget_flt.c}] Disabled two tests when HAVE_SIGNEDZ isn't defined, because these tests rely on signed zeros. ------------------------------------------------------------------------ r8339 | vlefevre | 2012-07-06 14:38:51 +0000 (Fri, 06 Jul 2012) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Added a test for signed zeros (tcc currently doesn't support signed zeros, and 2 MPFR tests fail because of that). ------------------------------------------------------------------------ r8338 | vlefevre | 2012-07-06 14:26:42 +0000 (Fri, 06 Jul 2012) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Removed useless "#include <math.h>" in the test for subnormal numbers. ------------------------------------------------------------------------ r8337 | vlefevre | 2012-07-06 14:12:15 +0000 (Fri, 06 Jul 2012) | 4 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Replaced the AC_TRY_RUN obsolete macro by AC_RUN_IFELSE([AC_LANG_SOURCE([[...]])],...) as documented in the GNU Autoconf manual. Minor correction in the test for subnormal numbers. ------------------------------------------------------------------------ r8336 | vlefevre | 2012-07-06 14:09:59 +0000 (Fri, 06 Jul 2012) | 1 line Changed paths: M /trunk/tests [tests] Added trndna to svn:ignore property. ------------------------------------------------------------------------ r8335 | vlefevre | 2012-07-06 13:58:29 +0000 (Fri, 06 Jul 2012) | 1 line Changed paths: M /trunk/tests/tset_d.c [tests/tset_d.c] Formatting. ------------------------------------------------------------------------ r8334 | vlefevre | 2012-07-06 13:55:47 +0000 (Fri, 06 Jul 2012) | 1 line Changed paths: M /trunk/acinclude.m4 M /trunk/doc/README.dev M /trunk/src/round_raw_generic.c M /trunk/src/set_d.c M /trunk/tests/tests.c M /trunk/tests/tset_d.c Replaced "denormalized" by the official term "subnormal". ------------------------------------------------------------------------ r8333 | vlefevre | 2012-07-05 20:19:07 +0000 (Thu, 05 Jul 2012) | 1 line Changed paths: M /trunk/tools/coverage [tools/coverage] unset MPFR_* environment variables in a better way. ------------------------------------------------------------------------ r8332 | vlefevre | 2012-07-05 20:10:00 +0000 (Thu, 05 Jul 2012) | 1 line Changed paths: M /trunk/tools/coverage [tools/coverage] unset MPFR_* environment variables in a better way. ------------------------------------------------------------------------ r8331 | zimmerma | 2012-07-05 17:09:55 +0000 (Thu, 05 Jul 2012) | 2 lines Changed paths: M /trunk/tools/coverage [coverage] unset MPFR_* environment variables to get reproducible results ------------------------------------------------------------------------ r8329 | zimmerma | 2012-07-05 07:26:39 +0000 (Thu, 05 Jul 2012) | 2 lines Changed paths: M /trunk/tests/tabort_defalloc2.c [tabort_defalloc2.c] changed char* into void* to please g++ compiler ------------------------------------------------------------------------ r8326 | vlefevre | 2012-07-04 22:51:33 +0000 (Wed, 04 Jul 2012) | 1 line Changed paths: M /trunk/tests/trndna.c [tests/trndna.c] Removed useless initialization. ------------------------------------------------------------------------ r8325 | zimmerma | 2012-07-04 17:22:40 +0000 (Wed, 04 Jul 2012) | 2 lines Changed paths: M /trunk/tests/trndna.c [trndna.c] restore emin ------------------------------------------------------------------------ r8324 | zimmerma | 2012-07-04 16:18:50 +0000 (Wed, 04 Jul 2012) | 2 lines Changed paths: M /trunk/tools/coverage [coverage] unset GMP_CHECK_RANDOMIZE so that the coverage test is deterministic ------------------------------------------------------------------------ r8317 | vlefevre | 2012-07-04 00:36:48 +0000 (Wed, 04 Jul 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Replaced a "should not" by a "must not". ------------------------------------------------------------------------ r8316 | vlefevre | 2012-07-04 00:34:35 +0000 (Wed, 04 Jul 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Consistency change. ------------------------------------------------------------------------ r8313 | zimmerma | 2012-07-03 19:54:29 +0000 (Tue, 03 Jul 2012) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h M /trunk/src/rndna.c M /trunk/src/sin.c M /trunk/tests/trndna.c [trndna.c] increase emin when smallest possible ------------------------------------------------------------------------ r8312 | zimmerma | 2012-07-03 15:34:39 +0000 (Tue, 03 Jul 2012) | 2 lines Changed paths: M /trunk/src/rndna.c M /trunk/tests/trndna.c [rndna.c] special treatment for the case 2^(emin-2) ------------------------------------------------------------------------ r8311 | zimmerma | 2012-07-03 15:03:41 +0000 (Tue, 03 Jul 2012) | 2 lines Changed paths: M /trunk/NEWS M /trunk/TODO M /trunk/doc/mpfr.texi M /trunk/src/rndna.c several changes suggested by Vincent Lefevre ------------------------------------------------------------------------ r8310 | zimmerma | 2012-07-03 14:53:06 +0000 (Tue, 03 Jul 2012) | 3 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/rndna.c [rndna.c] changed the specification since on 32-bit machines we have no margin for the smallest exponent emin ------------------------------------------------------------------------ r8308 | zimmerma | 2012-07-03 14:23:09 +0000 (Tue, 03 Jul 2012) | 3 lines Changed paths: M /trunk/NEWS M /trunk/TODO M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am M /trunk/src/rndna.c M /trunk/tests/Makefile.am M /trunk/tools/cfarm.sh added new function mpfr_round_nearest_away() as discussed during the June 2012 workshop ------------------------------------------------------------------------ r8305 | vlefevre | 2012-07-03 14:05:18 +0000 (Tue, 03 Jul 2012) | 1 line Changed paths: M /trunk/tools/coverage [tools/coverage] Minor update, just in case... ------------------------------------------------------------------------ r8304 | zimmerma | 2012-07-03 13:56:28 +0000 (Tue, 03 Jul 2012) | 2 lines Changed paths: M /trunk/src/exp.c [exp.c] fixed typo ------------------------------------------------------------------------ r8302 | vlefevre | 2012-07-03 13:51:39 +0000 (Tue, 03 Jul 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8299 | vlefevre | 2012-07-03 13:44:02 +0000 (Tue, 03 Jul 2012) | 2 lines Changed paths: M /trunk/tests/td_div.c M /trunk/tests/tget_d.c [tests/{td_div.c,tget_d.c}] Disable tests with a division by 0 if MPFR_ERRDIVZERO is defined. ------------------------------------------------------------------------ r8298 | vlefevre | 2012-07-03 13:37:07 +0000 (Tue, 03 Jul 2012) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Improved an error message. ------------------------------------------------------------------------ r8297 | vlefevre | 2012-07-03 13:04:25 +0000 (Tue, 03 Jul 2012) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Fixed sigaction check to support "gcc -std=c99", like what has been done for math/round. ------------------------------------------------------------------------ r8296 | zimmerma | 2012-07-02 20:25:36 +0000 (Mon, 02 Jul 2012) | 2 lines Changed paths: A /trunk/tests/trndna.c [trndna.c] test file for mpfr_round_nearest_away() ------------------------------------------------------------------------ r8295 | vlefevre | 2012-07-02 15:08:42 +0000 (Mon, 02 Jul 2012) | 5 lines Changed paths: M /trunk/src/rndna.c [src/rndna.c] * Handle singular cases like with other functions. Avoid the goto. * Reordered the tests to make them simpler and easier to understand (it wasn't immediately visible that inex could not be 0 for the second "else") and fixed the case lastbit == 1 && inex < 0. ------------------------------------------------------------------------ r8294 | vlefevre | 2012-07-02 14:54:30 +0000 (Mon, 02 Jul 2012) | 2 lines Changed paths: M /trunk/src/rndna.c [src/rndna.c] Added a note saying that this method doesn't work for 2^(emin-2). ------------------------------------------------------------------------ r8293 | zimmerma | 2012-06-29 16:10:08 +0000 (Fri, 29 Jun 2012) | 2 lines Changed paths: A /trunk/src/rndna.c [rndna.c] new function that computes rounding to nearest-away ------------------------------------------------------------------------ r8292 | vlefevre | 2012-06-28 17:49:36 +0000 (Thu, 28 Jun 2012) | 2 lines Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] Test the thousands separator in some en_US locale, if available (modified patch from Patrick). ------------------------------------------------------------------------ r8291 | vlefevre | 2012-06-28 17:33:46 +0000 (Thu, 28 Jun 2012) | 1 line Changed paths: M /trunk/configure.ac A /trunk/src/generic/coverage A /trunk/src/generic/coverage/mparam.h M /trunk/src/mparam_h.in M /trunk/tools/coverage Added coverage tune (from a patch by Patrick). ------------------------------------------------------------------------ r8289 | zimmerma | 2012-06-27 11:17:46 +0000 (Wed, 27 Jun 2012) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [mpfr.texi] added support by ERC grant of Andreas ------------------------------------------------------------------------ r8287 | vlefevre | 2012-06-27 09:13:28 +0000 (Wed, 27 Jun 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Replaced a few @samp by @code for consistency. ------------------------------------------------------------------------ r8286 | zimmerma | 2012-06-27 08:59:59 +0000 (Wed, 27 Jun 2012) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [mpfr.texi] document MPFR_WANT_DECIMAL_FLOATS and MPFR_WANT_FLOAT128 ------------------------------------------------------------------------ r8285 | vlefevre | 2012-06-27 08:44:18 +0000 (Wed, 27 Jun 2012) | 1 line Changed paths: M /trunk/src/mulders.c [src/mulders.c] Clean-up and static assertions (patch from Patrick). ------------------------------------------------------------------------ r8283 | vlefevre | 2012-06-27 08:35:56 +0000 (Wed, 27 Jun 2012) | 1 line Changed paths: M /trunk/tests/tgrandom.c [tests/tgrandom.c] Replaced GMP_RNDN by MPFR_RNDN. ------------------------------------------------------------------------ r8280 | vlefevre | 2012-06-27 08:21:10 +0000 (Wed, 27 Jun 2012) | 2 lines Changed paths: M /trunk/tests/tgrandom.c [tests/tgrandom.c] Improved a test and added a new one for mpfr_grandom(x, NULL, ...). ------------------------------------------------------------------------ r8279 | vlefevre | 2012-06-27 08:17:57 +0000 (Wed, 27 Jun 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Completed spec of mpfr_grandom. ------------------------------------------------------------------------ r8277 | zimmerma | 2012-06-27 08:10:41 +0000 (Wed, 27 Jun 2012) | 2 lines Changed paths: M /trunk/tools/coverage [coverage] added instructions how to use this script ------------------------------------------------------------------------ r8276 | vlefevre | 2012-06-27 08:09:32 +0000 (Wed, 27 Jun 2012) | 1 line Changed paths: M /trunk/NEWS [NEWS] Update: test coverage. ------------------------------------------------------------------------ r8275 | vlefevre | 2012-06-27 07:27:28 +0000 (Wed, 27 Jun 2012) | 1 line Changed paths: M /trunk/tools/coverage [tools/coverage] Detailed coverage (from a patch by Patrick). ------------------------------------------------------------------------ r8274 | vlefevre | 2012-06-26 23:19:56 +0000 (Tue, 26 Jun 2012) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/print_raw.c [src/{mpfr-impl.h,print_raw.c}] Removed unused function mpfr_dump_mant (added in r3410, but never used); patch by Patrick. ------------------------------------------------------------------------ r8273 | vlefevre | 2012-06-26 22:43:16 +0000 (Tue, 26 Jun 2012) | 1 line Changed paths: M /trunk/tests/tsin.c [tests/tsin.c] Improved coverage. ------------------------------------------------------------------------ r8272 | vlefevre | 2012-06-26 22:40:33 +0000 (Tue, 26 Jun 2012) | 1 line Changed paths: M /trunk/tests/tset.c [tests/tset.c] Test the mpfr_set function too (patch by Patrick). ------------------------------------------------------------------------ r8271 | vlefevre | 2012-06-26 22:35:39 +0000 (Tue, 26 Jun 2012) | 2 lines Changed paths: M /trunk/NEWS M /trunk/configure.ac M /trunk/doc/README.dev M /trunk/src/mpfr-impl.h M /trunk/tests/mpfr-test.h M /trunk/tests/tsqrt.c M /trunk/tools/coverage Added configure option --enable-assert=none to avoid checking any assertion (this is based on a patch by Patrick). ------------------------------------------------------------------------ r8270 | vlefevre | 2012-06-26 22:27:18 +0000 (Tue, 26 Jun 2012) | 1 line Changed paths: M /trunk/src/digamma.c [src/digamma.c] Correction: assertions must never have any side effect. ------------------------------------------------------------------------ r8269 | vlefevre | 2012-06-26 17:30:18 +0000 (Tue, 26 Jun 2012) | 1 line Changed paths: M /trunk/tests [tests] Updated svn:ignore property. ------------------------------------------------------------------------ r8268 | vlefevre | 2012-06-26 17:26:54 +0000 (Tue, 26 Jun 2012) | 1 line Changed paths: M /trunk/src/atan.c [src/atan.c] Removed trailing whitespace. ------------------------------------------------------------------------ r8267 | vlefevre | 2012-06-26 17:26:00 +0000 (Tue, 26 Jun 2012) | 1 line Changed paths: A /trunk/tests/tabort_defalloc1.c A /trunk/tests/tabort_defalloc2.c A /trunk/tests/tabort_prec_max.c A /trunk/tests/tassert.c Forgot to add some files in r8266 (tests that are expected to fail). ------------------------------------------------------------------------ r8266 | vlefevre | 2012-06-26 17:17:05 +0000 (Tue, 26 Jun 2012) | 1 line Changed paths: M /trunk/acinclude.m4 M /trunk/tests/Makefile.am M /trunk/tests/mpfr-test.h M /trunk/tests/tests.c Support tests that are expected to fail (from a patch by Patrick). ------------------------------------------------------------------------ r8265 | vlefevre | 2012-06-26 17:10:52 +0000 (Tue, 26 Jun 2012) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Output the applied patches (if any). ------------------------------------------------------------------------ r8264 | vlefevre | 2012-06-26 17:06:47 +0000 (Tue, 26 Jun 2012) | 2 lines Changed paths: M /trunk/tests/tstckintc.c [tests/tstckintc.c] Correction and test improvement (from a patch by Patrick). ------------------------------------------------------------------------ r8263 | vlefevre | 2012-06-26 16:55:15 +0000 (Tue, 26 Jun 2012) | 1 line Changed paths: M /trunk/tools/coverage [tools/coverage] Correction by Patrick. ------------------------------------------------------------------------ r8260 | zimmerma | 2012-06-26 16:03:31 +0000 (Tue, 26 Jun 2012) | 3 lines Changed paths: M /trunk/src/atan.c [atan.c] improved code coverage by removing some dead code after some numerical analysis with Benjamin Dadoun ------------------------------------------------------------------------ r8258 | vlefevre | 2012-06-26 14:53:46 +0000 (Tue, 26 Jun 2012) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Removed obsolete "but see below". ------------------------------------------------------------------------ r8253 | vlefevre | 2012-06-26 14:00:59 +0000 (Tue, 26 Jun 2012) | 1 line Changed paths: M /trunk/tests/tinternals.c [tests/tinternals.c] mpfr_set_prec_raw missing tests (thanks to Patrick). ------------------------------------------------------------------------ r8251 | vlefevre | 2012-06-26 13:56:26 +0000 (Tue, 26 Jun 2012) | 1 line Changed paths: M /trunk/tests/tset_si.c [tests/tset_si.c] Also test the mpfr_set_ui function (instead of macro). ------------------------------------------------------------------------ r8250 | vlefevre | 2012-06-26 08:47:49 +0000 (Tue, 26 Jun 2012) | 1 line Changed paths: M /trunk/NEWS [NEWS] 3.2.0 will be "dinde aux marrons". ------------------------------------------------------------------------ r8249 | zimmerma | 2012-06-25 17:48:10 +0000 (Mon, 25 Jun 2012) | 3 lines Changed paths: M /trunk/src/gamma.c [gamma.c] simplified mpfr_gamma_1_minus_x_exact() after code coverage analysis with Benjamin Dadoun ------------------------------------------------------------------------ r8248 | vlefevre | 2012-06-25 17:44:54 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] aclocal -> acinclude.m4 in a comment. ------------------------------------------------------------------------ r8247 | vlefevre | 2012-06-25 17:31:04 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/src/init2.c M /trunk/src/mpfr-impl.h [src/{init2.c,mpfr-impl.h}] Clean-up. ------------------------------------------------------------------------ r8246 | zimmerma | 2012-06-25 17:25:17 +0000 (Mon, 25 Jun 2012) | 2 lines Changed paths: M /trunk/TODO [TODO] removed one item, added one ------------------------------------------------------------------------ r8245 | vlefevre | 2012-06-25 17:15:04 +0000 (Mon, 25 Jun 2012) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/mpfr-thread.h [acinclude.m4] Detect whether _Thread_local (C11) is supported. [src/mpfr-thread.h] Use _Thread_local if supported, instead of __thread. (Patch from Patrick) ------------------------------------------------------------------------ r8244 | zimmerma | 2012-06-25 17:03:27 +0000 (Mon, 25 Jun 2012) | 3 lines Changed paths: M /trunk/src/gamma.c [gamma.c] simplified code for mpfr_gamma_2_minus_x_exact() (thanks to coverage analysis by Benjamin Dadoun) ------------------------------------------------------------------------ r8243 | vlefevre | 2012-06-25 17:02:37 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/src/Makefile.am [src/Makefile.am] Added mpfr-sassert.h to libmpfr_la_SOURCES. ------------------------------------------------------------------------ r8242 | vlefevre | 2012-06-25 16:52:37 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/src/init2.c [src/init2.c] Replaced classic assertions by static assertions. ------------------------------------------------------------------------ r8241 | vlefevre | 2012-06-25 16:50:38 +0000 (Mon, 25 Jun 2012) | 4 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/mpfr-impl.h A /trunk/src/mpfr-sassert.h Added Static Assertion support (modified patch from Patrick). * Added src/mpfr-sassert.h: implementation of static assertions. * src/mpfr-impl.h: include "mpfr-sassert.h". * acinclude.m4: test whether static assertions are supported. ------------------------------------------------------------------------ r8240 | vlefevre | 2012-06-25 16:46:30 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Suggest to test with and without -std=c11. ------------------------------------------------------------------------ r8239 | vlefevre | 2012-06-25 16:33:57 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/src/mpfr-intmax.h [src/mpfr-intmax.h] Removed svn:mime-type property for consistency. ------------------------------------------------------------------------ r8238 | vlefevre | 2012-06-25 15:47:25 +0000 (Mon, 25 Jun 2012) | 2 lines Changed paths: M /trunk/tests/tset_float128.c [tests/tset_float128.c] Test the sign of 0. Use mpfr_equal_p instead of mpfr_cmp (this is safer if a result is NaN). ------------------------------------------------------------------------ r8237 | vlefevre | 2012-06-25 15:39:38 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/src/set_float128.c [src/set_float128.c] Avoid a goto (useless here, contrary to set_ld.c). ------------------------------------------------------------------------ r8236 | vlefevre | 2012-06-25 15:30:44 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/src/get_float128.c [src/get_float128.c] !MPFR_IS_ZERO -> MPFR_NOTZERO; GNU coding style. ------------------------------------------------------------------------ r8235 | vlefevre | 2012-06-25 15:17:01 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/tests tests: updated svn:ignore property. ------------------------------------------------------------------------ r8234 | vlefevre | 2012-06-25 15:15:35 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/tests/tset_float128.c [tests/tset_float128.c] Got rid of the remaining mpfr_printf's. ------------------------------------------------------------------------ r8233 | zimmerma | 2012-06-25 15:10:04 +0000 (Mon, 25 Jun 2012) | 2 lines Changed paths: M /trunk/tests/tset_float128.c [tset_float128.c] added missing empty main when functions are not tested ------------------------------------------------------------------------ r8232 | zimmerma | 2012-06-25 15:05:45 +0000 (Mon, 25 Jun 2012) | 2 lines Changed paths: M /trunk/src/set_float128.c M /trunk/tests/tset_float128.c [set_float128.c,tset_float128.c] untabified and got rid of mpfr_printf ------------------------------------------------------------------------ r8231 | vlefevre | 2012-06-25 14:54:28 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/NEWS [NEWS] Added a period. ------------------------------------------------------------------------ r8230 | vlefevre | 2012-06-25 14:44:28 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8229 | vlefevre | 2012-06-25 14:35:20 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] "configure --help" formatting for --enable-float128. ------------------------------------------------------------------------ r8228 | zimmerma | 2012-06-25 14:33:01 +0000 (Mon, 25 Jun 2012) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/get_float128.c M /trunk/src/set_float128.c M /trunk/tests/tset_float128.c compile mpfr_set_float128 and mpfr_get_float128 only when __float128 is supported ------------------------------------------------------------------------ r8227 | zimmerma | 2012-06-25 14:25:48 +0000 (Mon, 25 Jun 2012) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] __float128 is supported by GCC >= 4.3 ------------------------------------------------------------------------ r8226 | vlefevre | 2012-06-25 14:25:38 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/tests/tset_float128.c [tests/tset_float128.c] mp_rnd_t -> mpfr_rnd_t ------------------------------------------------------------------------ r8225 | zimmerma | 2012-06-25 14:20:29 +0000 (Mon, 25 Jun 2012) | 2 lines Changed paths: M /trunk/NEWS M /trunk/configure.ac M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am A /trunk/src/get_float128.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h A /trunk/src/set_float128.c M /trunk/tests/Makefile.am A /trunk/tests/tset_float128.c added new functions mpfr_set_float128 and mpfr_get_float128 ------------------------------------------------------------------------ r8224 | zimmerma | 2012-06-25 14:17:55 +0000 (Mon, 25 Jun 2012) | 2 lines Changed paths: M /trunk/src/get_ld.c [get_ld.c] fixed typo ------------------------------------------------------------------------ r8223 | vlefevre | 2012-06-25 13:52:05 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Test mpfr_buildopt_tune_case() vs MPFR_TUNE_CASE. ------------------------------------------------------------------------ r8222 | vlefevre | 2012-06-25 13:51:20 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/src/buildopt.c [src/buildopt.c] Made mpfr_buildopt_tune_case() simpler. ------------------------------------------------------------------------ r8221 | zimmerma | 2012-06-22 15:38:14 +0000 (Fri, 22 Jun 2012) | 2 lines Changed paths: M /trunk/src/li2.c [li2.c] replaced mpfr_cmp_d by mpfr_cmp_ui_2exp ------------------------------------------------------------------------ r8219 | vlefevre | 2012-06-21 23:01:37 +0000 (Thu, 21 Jun 2012) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] For _GMP_IEEE_FLOATS, use #if instead of #ifdef since mpfr-impl.h defines it to 0 if it was undefined. ------------------------------------------------------------------------ r8217 | vlefevre | 2012-05-18 12:07:53 +0000 (Fri, 18 May 2012) | 1 line Changed paths: M /trunk/TODO [TODO] Added a reference to a new discussion concerning __float128. ------------------------------------------------------------------------ r8213 | schevill | 2012-05-14 14:51:33 +0000 (Mon, 14 May 2012) | 3 lines Changed paths: M /trunk/tools/metaMPFR/metaMPFR_straightforwardAlgo.mpl * Other corrections (essentially bad or missing declarations) in metaMPFR. ------------------------------------------------------------------------ r8212 | vlefevre | 2012-05-11 07:59:28 +0000 (Fri, 11 May 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved the description of the mpfr_flags_ functions. ------------------------------------------------------------------------ r8211 | schevill | 2012-05-10 16:10:06 +0000 (Thu, 10 May 2012) | 3 lines Changed paths: M /trunk/tools/metaMPFR/metaMPFR_straightforwardAlgo.mpl * Corrected small errors. ------------------------------------------------------------------------ r8210 | vlefevre | 2012-05-10 10:46:23 +0000 (Thu, 10 May 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved mpfr_flags_test description, giving an example. ------------------------------------------------------------------------ r8209 | vlefevre | 2012-05-10 10:19:11 +0000 (Thu, 10 May 2012) | 3 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Define MPFR_FLAGS_ALL from the individual flags (MPFR_FLAGS_UNDERFLOW...). Suggestion by Paul Zimmermann. Note: the output expression looks OK in assertion failures. ------------------------------------------------------------------------ r8208 | vlefevre | 2012-05-10 08:13:51 +0000 (Thu, 10 May 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Correction on mpfr_clear_flags description. ------------------------------------------------------------------------ r8206 | vlefevre | 2012-05-09 08:25:17 +0000 (Wed, 09 May 2012) | 3 lines Changed paths: M /trunk M /trunk/NEWS M /trunk/TODO M /trunk/doc/mpfr.texi M /trunk/src/exceptions.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/tests/texceptions.c Added functions that operate on groups of flags: mpfr_flags_clear, mpfr_flags_set, mpfr_flags_test, mpfr_flags_save and mpfr_flags_restore. (reintegrated flags branch to the trunk: svn merge --reintegrate ...) ------------------------------------------------------------------------ r8204 | zimmerma | 2012-05-08 19:06:58 +0000 (Tue, 08 May 2012) | 5 lines Changed paths: M /trunk/configure.ac M /trunk/tests/Makefile.am patch from Nitin A Kamble for automake 1.12. This patch avoids these issues with automake 1.12: | configure.ac:304: error: automatic de-ANSI-fication support has been removed | tests/Makefile.am:12: error: automatic de-ANSI-fication support has been removed ------------------------------------------------------------------------ r8201 | vlefevre | 2012-05-07 18:11:47 +0000 (Mon, 07 May 2012) | 5 lines Changed paths: M /trunk/AUTHORS M /trunk/INSTALL M /trunk/doc/mpfr.texi [AUTHORS,INSTALL,doc/mpfr.texi] Updated the e-mail address of the MPFR mailing-list to match the List-* headers written by the new mailing-list server (the old one still works, but may lead to bad interaction with MUA's that attempt to honor the List-Post header when replying to the list(s)). ------------------------------------------------------------------------ r8199 | vlefevre | 2012-05-07 15:17:31 +0000 (Mon, 07 May 2012) | 4 lines Changed paths: M /trunk/src/gamma.c M /trunk/src/lngamma.c [src/lngamma.c] Added mpfr_explgamma internal function to handle overflows/underflows (intermediate or not) in mpfr_gamma. Updated the general overflow detection to use this function. [src/gamma.c] Fixed the general underflow detection. ------------------------------------------------------------------------ r8198 | vlefevre | 2012-05-07 12:51:34 +0000 (Mon, 07 May 2012) | 1 line Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] Removed spurious parentheses. ------------------------------------------------------------------------ r8197 | vlefevre | 2012-05-07 12:36:22 +0000 (Mon, 07 May 2012) | 2 lines Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Added tests for 32-bit and 64-bit machines, showing an underflow detection bug in gamma.c (see FIXME comment added in r8185). ------------------------------------------------------------------------ r8196 | vlefevre | 2012-05-07 12:23:44 +0000 (Mon, 07 May 2012) | 2 lines Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Added tests to trigger the pre-r8189 endless loop on 32-bit machines. ------------------------------------------------------------------------ r8195 | vlefevre | 2012-05-04 15:23:02 +0000 (Fri, 04 May 2012) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Updated exp_lgamma to test the ternary value. ------------------------------------------------------------------------ r8194 | vlefevre | 2012-05-04 15:10:06 +0000 (Fri, 04 May 2012) | 1 line Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] Fixed the problem with the overflow flag (r8192). ------------------------------------------------------------------------ r8193 | vlefevre | 2012-05-04 14:33:58 +0000 (Fri, 04 May 2012) | 6 lines Changed paths: M /trunk/src/lngamma.c Improved src/lngamma.c (mainly on changes from r8189): * Declarations of ok variable were used in nested block. * Added a missing "MPFR_ZIV_FREE (loop);". * In the overflow detection code, call mpfr_lngamma only once, use mpfr_equal_p instead of mpfr_cmp, and share code with the end. Note: the problem with the overflow flag (r8192) hasn't been solved yet. ------------------------------------------------------------------------ r8192 | vlefevre | 2012-05-04 14:23:46 +0000 (Fri, 04 May 2012) | 2 lines Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Added a test showing a failure on 64-bit machines due to an unset overflow flag. ------------------------------------------------------------------------ r8191 | vlefevre | 2012-05-04 14:09:23 +0000 (Fri, 04 May 2012) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Updated exp_lgamma to test underflow & overflow flags. ------------------------------------------------------------------------ r8190 | vlefevre | 2012-05-04 13:19:31 +0000 (Fri, 04 May 2012) | 1 line Changed paths: M /trunk/TODO [TODO] For mpfr_get_flt, etc., exception flags should be raised. ------------------------------------------------------------------------ r8189 | zimmerma | 2012-05-04 12:55:57 +0000 (Fri, 04 May 2012) | 2 lines Changed paths: M /trunk/src/lngamma.c M /trunk/tests/tgamma.c [src/lngamma.c] fixed endless loop with test cases introduced in r8188 ------------------------------------------------------------------------ r8188 | vlefevre | 2012-05-03 17:34:16 +0000 (Thu, 03 May 2012) | 2 lines Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Updated the exp_lgamma_tests test to trigger an endless loop due to undetected overflow on 64-bit machines. ------------------------------------------------------------------------ r8187 | vlefevre | 2012-05-03 16:20:35 +0000 (Thu, 03 May 2012) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Say that the freeze is for 64-bit machines only. ------------------------------------------------------------------------ r8186 | vlefevre | 2012-05-03 16:17:59 +0000 (Thu, 03 May 2012) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Added more mpfr_tgamma tests, showing a freeze. ------------------------------------------------------------------------ r8185 | vlefevre | 2012-05-03 14:49:46 +0000 (Thu, 03 May 2012) | 2 lines Changed paths: M /trunk/src/gamma.c [src/gamma.c] Corrected the FIXME comment concerning the underflow detection. ------------------------------------------------------------------------ r8183 | vlefevre | 2012-05-03 14:28:32 +0000 (Thu, 03 May 2012) | 2 lines Changed paths: M /trunk/src/gamma.c [src/gamma.c] Added a FIXME comment: the underflow detection may still be buggy (or the explanation is incomplete). ------------------------------------------------------------------------ r8182 | vlefevre | 2012-05-03 14:21:57 +0000 (Thu, 03 May 2012) | 2 lines Changed paths: M /trunk/src/gamma.c [src/gamma.c] Completed the explanation concerning the new underflow detection. ------------------------------------------------------------------------ r8181 | vlefevre | 2012-05-03 14:15:02 +0000 (Thu, 03 May 2012) | 1 line Changed paths: M /trunk/src/gamma.c [src/gamma.c] Removed the FIXME comment (from r8169). ------------------------------------------------------------------------ r8179 | vlefevre | 2012-05-03 13:42:13 +0000 (Thu, 03 May 2012) | 1 line Changed paths: M /trunk/src/gamma.c [src/gamma.c] Untabified. ------------------------------------------------------------------------ r8177 | vlefevre | 2012-05-03 13:23:23 +0000 (Thu, 03 May 2012) | 1 line Changed paths: M /trunk/ChangeLog ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v". ------------------------------------------------------------------------ r8175 | vlefevre | 2012-05-03 12:33:24 +0000 (Thu, 03 May 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8174 | zimmerma | 2012-05-03 10:08:19 +0000 (Thu, 03 May 2012) | 2 lines Changed paths: M /trunk/src/gamma.c [gamma.c] tentative fix for the underflow problem ------------------------------------------------------------------------ r8173 | vlefevre | 2012-05-03 09:39:18 +0000 (Thu, 03 May 2012) | 2 lines Changed paths: M /trunk/doc/README.dev M /trunk/doc/mpfr.texi M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/src/subnormal.c M /trunk/tests/Makefile.am M /trunk/tests/tatan.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsqr.c M /trunk/tools/cfarm.sh Updated URL's of mailing-list archives/messages in all files (except ChangeLog, as it is generated). ------------------------------------------------------------------------ r8172 | vlefevre | 2012-05-03 09:35:55 +0000 (Thu, 03 May 2012) | 1 line Changed paths: M /trunk/TODO [TODO] Updated URL's of mailing-list archives/messages. ------------------------------------------------------------------------ r8170 | vlefevre | 2012-05-02 16:07:13 +0000 (Wed, 02 May 2012) | 1 line Changed paths: M /trunk/TODO [TODO] Updated concerning MPFR_RNDNA. ------------------------------------------------------------------------ r8169 | vlefevre | 2012-04-27 14:27:58 +0000 (Fri, 27 Apr 2012) | 1 line Changed paths: M /trunk/src/gamma.c [src/gamma.c] Added a FIXME comment. ------------------------------------------------------------------------ r8168 | vlefevre | 2012-04-27 13:51:49 +0000 (Fri, 27 Apr 2012) | 2 lines Changed paths: M /trunk/TODO [TODO] Suggested a new rounding mode: MPFR_RNDE, to be used when the result is known to be exact (normal mode: optimize; debug mode: check). ------------------------------------------------------------------------ r8167 | vlefevre | 2012-04-27 13:24:54 +0000 (Fri, 27 Apr 2012) | 1 line Changed paths: M /trunk/src/gamma.c [src/gamma.c] Use the new MPFR_DBGRES macro. ------------------------------------------------------------------------ r8164 | vlefevre | 2012-04-27 12:38:03 +0000 (Fri, 27 Apr 2012) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Improved testcase test20100709. ------------------------------------------------------------------------ r8162 | vlefevre | 2012-04-27 12:27:09 +0000 (Fri, 27 Apr 2012) | 2 lines Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Updated testcase test20100709 for 64-bit machines, as this bug reappeared in r8159. ------------------------------------------------------------------------ r8159 | zimmerma | 2012-04-26 16:05:56 +0000 (Thu, 26 Apr 2012) | 5 lines Changed paths: M /trunk/src/gamma.c M /trunk/tests/tgamma.c [src/gamma.c] fixed bug found by Giridhar Tammana https://sympa.inria.fr/sympa/arc/mpfr/2012-04/msg00013.html Note (VL): this fix triggers an infinite loop on 32-bit machines (or with -m32) in test20100709 from tgamma.c and this is partly the opposite of changeset r6996. ------------------------------------------------------------------------ r8157 | vlefevre | 2012-04-26 11:24:54 +0000 (Thu, 26 Apr 2012) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Improved the noreturn feature. ------------------------------------------------------------------------ r8156 | vlefevre | 2012-04-25 12:48:17 +0000 (Wed, 25 Apr 2012) | 4 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/mpfr-impl.h Added support for _Noreturn function specifier (ISO C11). * acinclude.m4: define MPFR_HAVE_NORETURN if _Noreturn is supported. * src/mpfr-impl.h: use _Noreturn when MPFR_HAVE_NORETURN is defined. Tested with GCC 4.6 (no _Noreturn) and 4.7 (supports _Noreturn). ------------------------------------------------------------------------ r8155 | vlefevre | 2012-04-25 11:36:24 +0000 (Wed, 25 Apr 2012) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a note about the new experimental -ftrack-macro-expansion GCC option. ------------------------------------------------------------------------ r8152 | vlefevre | 2012-04-24 15:36:58 +0000 (Tue, 24 Apr 2012) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Forgot to replace the mpfr_clear_divby0 internal macro by MPFR_CLEAR_DIVBY0 in r8141. ------------------------------------------------------------------------ r8150 | vlefevre | 2012-04-23 15:00:22 +0000 (Mon, 23 Apr 2012) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added a comment concerning MPFR_INT_CEIL_LOG2 and macro expansion. ------------------------------------------------------------------------ r8149 | vlefevre | 2012-04-23 14:44:54 +0000 (Mon, 23 Apr 2012) | 2 lines Changed paths: M /trunk/src/ai.c [src/ai.c] Use an intermediate variable to avoid a huge macro expansion in ASSERT_FAIL with gcc -ansi -pedantic-errors. ------------------------------------------------------------------------ r8147 | vlefevre | 2012-04-23 07:17:40 +0000 (Mon, 23 Apr 2012) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Update after r8141. ------------------------------------------------------------------------ r8142 | vlefevre | 2012-04-20 09:24:17 +0000 (Fri, 20 Apr 2012) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Improved comment about MPFR_CLEAR_* macros. ------------------------------------------------------------------------ r8141 | vlefevre | 2012-04-20 09:17:47 +0000 (Fri, 20 Apr 2012) | 4 lines Changed paths: M /trunk/src/add_d.c M /trunk/src/agm.c M /trunk/src/cmp.c M /trunk/src/cmp_abs.c M /trunk/src/cmp_si.c M /trunk/src/cmp_ui.c M /trunk/src/d_div.c M /trunk/src/d_sub.c M /trunk/src/div_d.c M /trunk/src/exp2.c M /trunk/src/exp_2.c M /trunk/src/get_f.c M /trunk/src/get_si.c M /trunk/src/get_sj.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/jn.c M /trunk/src/mpfr-impl.h M /trunk/src/mul_d.c M /trunk/src/pow.c M /trunk/src/sgn.c M /trunk/src/sub_d.c [src] Replaced the flags-related mpfr_clear_* internal macros by an uppercase version with a do-while in order to prevent one from using them in an expression. Renamed MPFR_SET_ERANGE to MPFR_SET_ERANGEFLAG for consistency. ------------------------------------------------------------------------ r8139 | vlefevre | 2012-04-19 12:13:28 +0000 (Thu, 19 Apr 2012) | 8 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Use a do-while statement for the MPFR_SET_ERANGE() macro in order to prevent one from using this macro in an expression, as the sequence point rules could be broken if __gmpfr_flags is assigned twice in the same expression (via macro expansions). Note: This cannot be done for the mpfr_clear_* flags macros because we want to be able to follow the API inside MPFR (thus these macros must be usable wherever a function is). These macros should probably be removed or renamed in the future (e.g. via the flags branch). ------------------------------------------------------------------------ r8136 | vlefevre | 2012-04-11 10:38:55 +0000 (Wed, 11 Apr 2012) | 1 line Changed paths: M /trunk/TODO [TODO] Suggest mpfr_pow_q and variants. ------------------------------------------------------------------------ r8135 | vlefevre | 2012-03-28 13:23:27 +0000 (Wed, 28 Mar 2012) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated "API Compatibility" section: functions mpfr_fmodquo, mpfr_fpif_export and mpfr_fpif_import are new in MPFR 3.2. ------------------------------------------------------------------------ r8133 | vlefevre | 2012-03-27 00:58:57 +0000 (Tue, 27 Mar 2012) | 1 line Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Removed trailing whitespace. ------------------------------------------------------------------------ r8132 | zimmerma | 2012-03-26 19:08:58 +0000 (Mon, 26 Mar 2012) | 2 lines Changed paths: M /trunk/src/fpif.c M /trunk/tests/tfpif.c [src/fpif.c,tests/tfpif.c] changed to GNU style ------------------------------------------------------------------------ r8131 | demengeo | 2012-03-26 16:00:30 +0000 (Mon, 26 Mar 2012) | 1 line Changed paths: M /trunk/src/fpif.c M /trunk/tests/tfpif.c Add a test on FILE* in fpif.c; Added a missing test on a return value; Changed the way to compute number of bytes needed for the limb of a mpfr number; Increase coverage test of fpif.c ------------------------------------------------------------------------ r8130 | vlefevre | 2012-03-26 14:40:34 +0000 (Mon, 26 Mar 2012) | 5 lines Changed paths: M /trunk/src/atan2.c M /trunk/src/exceptions.c M /trunk/src/gmp_op.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/src/round_near_x.c M /trunk/tests/texp.c M /trunk/tests/tfma.c M /trunk/tests/tfms.c M /trunk/tests/tpow.c M /trunk/tests/tpow_z.c [src] New mpfr_flags_t type, defined as an unsigned int. For the __gmpfr_flags variable and internal flags-related variables, replaced unsigned int by mpfr_flags_t (note that this doesn't change the ABI, since unsigned int was already used). [tests] Cast __gmpfr_flags to unsigned int when printed with %u. ------------------------------------------------------------------------ r8129 | zimmerma | 2012-03-26 14:11:26 +0000 (Mon, 26 Mar 2012) | 3 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h M /trunk/src/rem1.c M /trunk/tests/tremquo.c M /trunk/tools/cfarm.sh added new function mpfr_fmodquo (cf https://sympa.inria.fr/sympa/arc/mpfr/2012-03/msg00020.html) ------------------------------------------------------------------------ r8128 | vlefevre | 2012-03-26 12:30:31 +0000 (Mon, 26 Mar 2012) | 1 line Changed paths: M /trunk/examples/version.c [src/mpfr-examples/version.c] Output sizeof(mpfr_t) value. ------------------------------------------------------------------------ r8126 | vlefevre | 2012-03-26 12:12:51 +0000 (Mon, 26 Mar 2012) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Improved src_fopen() a bit. ------------------------------------------------------------------------ r8125 | vlefevre | 2012-03-26 10:58:49 +0000 (Mon, 26 Mar 2012) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Explain the use of the new MPFR_DBGRES macro. ------------------------------------------------------------------------ r8124 | vlefevre | 2012-03-26 10:52:58 +0000 (Mon, 26 Mar 2012) | 4 lines Changed paths: M /trunk/src/const_euler.c M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added a MPFR_DBGRES macro to avoid a warning in non-debug mode, e.g. with GCC's -Wunused-but-set-variable, when a result is tested only in an MPFR_ASSERTD expression. [src/const_euler.c] Avoid such a warning by using MPFR_DBGRES. ------------------------------------------------------------------------ r8123 | vlefevre | 2012-03-26 09:19:12 +0000 (Mon, 26 Mar 2012) | 1 line Changed paths: M /trunk/src/fpif.c M /trunk/src/get_ld.c M /trunk/src/mpfr-gmp.h M /trunk/tools/mpfrlint MPFR_ASSERTD or MPFR_ASSERTN must be used for assertions, not ASSERT. ------------------------------------------------------------------------ r8122 | zimmerma | 2012-03-20 13:53:33 +0000 (Tue, 20 Mar 2012) | 3 lines Changed paths: M /trunk/tests/Makefile.am M /trunk/tests/tests.c [tests/tests.c] fixed problem with src_fopen (https://sympa.inria.fr/sympa/arc/mpfr/2012-03/msg00021.html) ------------------------------------------------------------------------ r8121 | zimmerma | 2012-03-20 13:41:06 +0000 (Tue, 20 Mar 2012) | 2 lines Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] inp_str.data -> inp_str.dat ------------------------------------------------------------------------ r8120 | zimmerma | 2012-03-20 13:28:49 +0000 (Tue, 20 Mar 2012) | 4 lines Changed paths: A /trunk/tests/inp_str.dat (from /trunk/tests/inp_str.data:8119) D /trunk/tests/inp_str.data M /trunk/tests/tfpif.c M /trunk/tests/tinp_str.c renamed tests/inp_str.data into tests/inp_str.dat [tests/tinp_str.c] now use tests/inp_str.dat [tests/tfpif.c] use src_fopen instead of fopen ------------------------------------------------------------------------ r8119 | zimmerma | 2012-03-20 08:39:39 +0000 (Tue, 20 Mar 2012) | 2 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] simplified &x[i] into x+i ------------------------------------------------------------------------ r8118 | zimmerma | 2012-03-20 08:13:52 +0000 (Tue, 20 Mar 2012) | 3 lines Changed paths: M /trunk/src/mparam_h.in M /trunk/tools/cfarm.sh [src/mparam_h.in] better recognition of AMD64 systems [tools/cfarm.sh] updated ------------------------------------------------------------------------ r8117 | zimmerma | 2012-03-20 07:39:40 +0000 (Tue, 20 Mar 2012) | 2 lines Changed paths: M /trunk/tests/tests.c [tests.c] fixed compiler warning (gcc70.fsffrance.org, NetBSD, gcc 4.1.3) ------------------------------------------------------------------------ r8116 | zimmerma | 2012-03-19 17:06:41 +0000 (Mon, 19 Mar 2012) | 2 lines Changed paths: M /trunk/src/fpif.c [fpif.c] simplified code since nb_data is always 1 ------------------------------------------------------------------------ r8115 | zimmerma | 2012-03-19 16:03:55 +0000 (Mon, 19 Mar 2012) | 2 lines Changed paths: M /trunk/src/mparam_h.in [mparam_h.in] recognize __tune_amdfam10__ (for example gcc10.fsffrance.org) ------------------------------------------------------------------------ r8114 | zimmerma | 2012-03-19 15:33:33 +0000 (Mon, 19 Mar 2012) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac [configure.ac] use AC_C_BIGENDIAN to determine endianness of words ------------------------------------------------------------------------ r8113 | zimmerma | 2012-03-19 15:27:43 +0000 (Mon, 19 Mar 2012) | 2 lines Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] the name of the test file for the export/import functions has changed ------------------------------------------------------------------------ r8112 | vlefevre | 2012-03-19 15:22:46 +0000 (Mon, 19 Mar 2012) | 1 line Changed paths: M /trunk/tests tests: updated svn:ignore property. ------------------------------------------------------------------------ r8111 | vlefevre | 2012-03-19 15:20:34 +0000 (Mon, 19 Mar 2012) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Indentation. ------------------------------------------------------------------------ r8110 | zimmerma | 2012-03-19 15:14:58 +0000 (Mon, 19 Mar 2012) | 3 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/fpif.c M /trunk/src/mpfr.h M /trunk/tests/tfpif.c changed the order of arguments of mpfr_fpif_import so that the modified argument is first ------------------------------------------------------------------------ r8109 | zimmerma | 2012-03-19 15:02:04 +0000 (Mon, 19 Mar 2012) | 2 lines Changed paths: M /trunk/NEWS [NEWS] updated item about the new mpfr_fpif_export and mpfr_fpif_import functions ------------------------------------------------------------------------ r8108 | zimmerma | 2012-03-19 15:00:10 +0000 (Mon, 19 Mar 2012) | 3 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/fpif.c M /trunk/src/mpfr.h M /trunk/tests/tfpif.c mpfr_fpif_export_binary -> mpfr_fpif_export mpfr_fpif_import_binary -> mpfr_fpif_import ------------------------------------------------------------------------ r8107 | zimmerma | 2012-03-19 14:50:31 +0000 (Mon, 19 Mar 2012) | 3 lines Changed paths: A /trunk/tests/mpfrtest.dat (from /trunk/tests/stream.data:8106) D /trunk/tests/stream.data M /trunk/tests/tfpif.c stream.data renamed to mpfrtest.dat [tfpif.c] now use remove() ------------------------------------------------------------------------ r8106 | vlefevre | 2012-03-19 14:13:32 +0000 (Mon, 19 Mar 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] "in future version" → "in future versions". ------------------------------------------------------------------------ r8105 | vlefevre | 2012-03-19 14:10:58 +0000 (Mon, 19 Mar 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8104 | vlefevre | 2012-03-19 14:08:21 +0000 (Mon, 19 Mar 2012) | 1 line Changed paths: M /trunk/src/fpif.c M /trunk/tests/tfpif.c [src/fpif.c,tests/tfpif.c] Corrected coding style. ------------------------------------------------------------------------ r8103 | zimmerma | 2012-03-17 06:53:15 +0000 (Sat, 17 Mar 2012) | 2 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] fixed a few warnings and errors with g++ (found on hydra) ------------------------------------------------------------------------ r8102 | zimmerma | 2012-03-16 21:18:56 +0000 (Fri, 16 Mar 2012) | 2 lines Changed paths: D /trunk/src/out_raw.c [out_raw.c] removed obsolete file (replaced by fpif.c) ------------------------------------------------------------------------ r8101 | zimmerma | 2012-03-16 21:15:20 +0000 (Fri, 16 Mar 2012) | 2 lines Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] put tfpif at its right place ------------------------------------------------------------------------ r8100 | zimmerma | 2012-03-16 21:07:50 +0000 (Fri, 16 Mar 2012) | 6 lines Changed paths: M /trunk/src/fpif.c M /trunk/tests/Makefile.am A /trunk/tests/stream.data M /trunk/tests/tfpif.c [src/fpif.c] fixed problem with sign on gcc38 [tests/tfpif.c] solved FIXME's, added new test with fixed data file [tests/stream.data] data file for tfpif.c (to check we get same results with different word size and endianness) [tests/Makefile.am] added stream.data to make dist ------------------------------------------------------------------------ r8099 | zimmerma | 2012-03-16 20:14:28 +0000 (Fri, 16 Mar 2012) | 4 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/fpif.c M /trunk/tests/tfpif.c [fpif.c] added comments [tfpif.c] improve error message in case of mismatch [acinclude.m4] forgot double-double big endian ------------------------------------------------------------------------ r8098 | zimmerma | 2012-03-16 17:30:21 +0000 (Fri, 16 Mar 2012) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [mpfr.texi] added note saying that mpfr_fpif_export_binary and mpfr_fpif_import_binary are experimental ------------------------------------------------------------------------ r8097 | zimmerma | 2012-03-16 17:25:34 +0000 (Fri, 16 Mar 2012) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [mpfr.texi] added documentation for mpfr_fpif_export_binary and mpfr_fpif_import_binary ------------------------------------------------------------------------ r8096 | zimmerma | 2012-03-16 16:50:23 +0000 (Fri, 16 Mar 2012) | 2 lines Changed paths: M /trunk/src/fpif.c [fpif.c] replaced sizeof(var) by sizeof(type) ------------------------------------------------------------------------ r8095 | zimmerma | 2012-03-15 20:58:22 +0000 (Thu, 15 Mar 2012) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/fpif.c [fpif.c] fixed a few issues ------------------------------------------------------------------------ r8094 | zimmerma | 2012-03-15 18:40:39 +0000 (Thu, 15 Mar 2012) | 4 lines Changed paths: M /trunk/src/fpif.c M /trunk/src/mpfr.h M /trunk/tests/tfpif.c [src/fpif.c,src/mpfr.h,tests/tfpif.c] a few fixes so that make and make check pass on one machine. Will fix the remaining issues later. ------------------------------------------------------------------------ r8093 | vlefevre | 2012-03-15 16:00:47 +0000 (Thu, 15 Mar 2012) | 2 lines Changed paths: M /trunk/NEWS M /trunk/src/fpif.c M /trunk/src/mpfr.h M /trunk/tests/tfpif.c Added FIXME for export/import MPFR numbers, did some corrections, updated NEWS file. ------------------------------------------------------------------------ r8092 | vlefevre | 2012-03-15 15:51:01 +0000 (Thu, 15 Mar 2012) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update about C headers. ------------------------------------------------------------------------ r8091 | demengeo | 2012-03-15 13:43:20 +0000 (Thu, 15 Mar 2012) | 1 line Changed paths: M /trunk/src/fpif.c M /trunk/tests/tfpif.c Add copyright material in fpif.c and test_fpif.c ------------------------------------------------------------------------ r8090 | demengeo | 2012-03-15 09:49:17 +0000 (Thu, 15 Mar 2012) | 1 line Changed paths: M /trunk/src/Makefile.am A /trunk/src/fpif.c M /trunk/src/mpfr.h M /trunk/tests/Makefile.am A /trunk/tests/tfpif.c Add functions/tests to export/import mpfr number in a binary format ------------------------------------------------------------------------ r8089 | vlefevre | 2012-03-13 09:44:51 +0000 (Tue, 13 Mar 2012) | 1 line Changed paths: M /trunk/src/check.c M /trunk/tests/tcheck.c Improved mpfr_check and added a missing testcase. ------------------------------------------------------------------------ r8085 | vlefevre | 2012-03-09 14:04:39 +0000 (Fri, 09 Mar 2012) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Corrected information about valgrind. ------------------------------------------------------------------------ r8083 | vlefevre | 2012-03-09 11:59:39 +0000 (Fri, 09 Mar 2012) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Updated a comment. ------------------------------------------------------------------------ r8082 | vlefevre | 2012-03-09 11:40:09 +0000 (Fri, 09 Mar 2012) | 3 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Improved macros from the changeset r8025, in particular to avoid an error with the --enable-assert configure option and the -ansi -pedantic-errors gcc compiler flags. ------------------------------------------------------------------------ r8079 | vlefevre | 2012-03-08 13:54:43 +0000 (Thu, 08 Mar 2012) | 3 lines Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] Corrected the test with MPFR_CHECK_LARGEMEM=1 again, and improved it in case _MPFR_PREC_FORMAT == 2, where MPFR_PREC_MAX is INT_MAX minus some small constant (see r8035). ------------------------------------------------------------------------ r8078 | vlefevre | 2012-03-08 13:01:07 +0000 (Thu, 08 Mar 2012) | 1 line Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] Corrected the test with MPFR_CHECK_LARGEMEM=1. ------------------------------------------------------------------------ r8077 | vlefevre | 2012-03-08 12:22:04 +0000 (Thu, 08 Mar 2012) | 2 lines Changed paths: M /trunk/tests/tinits.c [tests/tinits.c] Improved the large precision test so that it is still performed after r8035 (where MPFR_PREC_MAX has been decreased). ------------------------------------------------------------------------ r8076 | vlefevre | 2012-03-08 09:12:38 +0000 (Thu, 08 Mar 2012) | 1 line Changed paths: M /trunk/tests/tconst_log2.c [tests/tconst_log2.c] Replaced mpfr_printf by mpfr_out_str. ------------------------------------------------------------------------ r8075 | zimmerma | 2012-03-08 08:17:48 +0000 (Thu, 08 Mar 2012) | 2 lines Changed paths: M /trunk/tests/tconst_log2.c [tconst_log2.c] use hexadecimal output in case of error in check_large() ------------------------------------------------------------------------ r8074 | zimmerma | 2012-03-08 08:11:59 +0000 (Thu, 08 Mar 2012) | 4 lines Changed paths: M /trunk/src/get_ld.c M /trunk/tests/tset_ld.c [get_ld.c] added comments and ASSERT() [tset_ld.c] added test to better exercise get_ld and set_ld for subnormals, and replaced some 64 by MPFR_LDBL_MANT_DIG ------------------------------------------------------------------------ r8073 | zimmerma | 2012-03-07 20:28:43 +0000 (Wed, 07 Mar 2012) | 3 lines Changed paths: M /trunk/tests/tconst_log2.c [tconst_log2.c] improved error message, cf https://sympa.inria.fr/sympa/arc/mpfr/2012-03/msg00017.html ------------------------------------------------------------------------ r8072 | zimmerma | 2012-03-07 18:22:41 +0000 (Wed, 07 Mar 2012) | 2 lines Changed paths: M /trunk/src/get_ld.c [get_ld.c] deal with the case "long double" == "double" ------------------------------------------------------------------------ r8071 | zimmerma | 2012-03-07 18:15:21 +0000 (Wed, 07 Mar 2012) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/set_ld.c [acinclude.m4] deal with long double == double [src/set_ld.c] idem ------------------------------------------------------------------------ r8070 | vlefevre | 2012-03-07 15:15:09 +0000 (Wed, 07 Mar 2012) | 1 line Changed paths: M /trunk/NEWS [NEWS] Prepare for new version 3.2.0 (will be 4.0.0). ------------------------------------------------------------------------ r8068 | vlefevre | 2012-03-07 13:06:40 +0000 (Wed, 07 Mar 2012) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Added information about --with-sysroot. ------------------------------------------------------------------------ r8067 | vlefevre | 2012-03-07 12:41:49 +0000 (Wed, 07 Mar 2012) | 3 lines Changed paths: M /trunk/INSTALL [INSTALL] Removed an obsolete paragraph saying that the test suite can't be run with a C++ compiler. C++ related problems have been fixed a long time ago. ------------------------------------------------------------------------ r8066 | zimmerma | 2012-03-06 12:51:17 +0000 (Tue, 06 Mar 2012) | 2 lines Changed paths: M /trunk/TODO [TODO] added new item about saving/restoring flags ------------------------------------------------------------------------ r8065 | zimmerma | 2012-03-06 11:31:55 +0000 (Tue, 06 Mar 2012) | 2 lines Changed paths: M /trunk/src/Makefile.am A /trunk/src/mips A /trunk/src/mips/mparam.h M /trunk/src/mparam_h.in added tuning parameters for mips (on gcc49.fsffrance.org) ------------------------------------------------------------------------ r8064 | zimmerma | 2012-03-05 17:51:58 +0000 (Mon, 05 Mar 2012) | 2 lines Changed paths: M /trunk/tune/tuneup.c [tuneup.c] fixed compiler warning (got on gcc49.fsffrance.org) ------------------------------------------------------------------------ r8063 | vlefevre | 2012-03-05 01:40:49 +0000 (Mon, 05 Mar 2012) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Minor change to be consistent with "src/mpfr-gmp.h". ------------------------------------------------------------------------ r8062 | vlefevre | 2012-03-05 01:09:52 +0000 (Mon, 05 Mar 2012) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Added a reference to MPFR bug 13947. ------------------------------------------------------------------------ r8061 | vlefevre | 2012-03-05 01:00:50 +0000 (Mon, 05 Mar 2012) | 4 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Simple temporary fix following GMP's internal __gmp_const macro removal in <http://gmplib.org:8000/gmp/rev/d287cfaf6732> (and its replacement by const): if __gmp_const isn't define, let's define it to const. ------------------------------------------------------------------------ r8058 | vlefevre | 2012-03-03 02:59:36 +0000 (Sat, 03 Mar 2012) | 1 line Changed paths: M /trunk/NEWS [NEWS] Mention the mpfr_exp bug fix (from r6964 in exp_2.c). ------------------------------------------------------------------------ r8056 | vlefevre | 2012-02-27 12:09:25 +0000 (Mon, 27 Feb 2012) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] If 'gmp.h' and 'libgmp' seem to have different versions, output the temporary LD_RUN_PATH value (may be useful for debugging). ------------------------------------------------------------------------ r8054 | vlefevre | 2012-02-24 16:13:48 +0000 (Fri, 24 Feb 2012) | 3 lines Changed paths: M /trunk/tests/memory.c M /trunk/tests/reuse.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/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.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/teint.c M /trunk/tests/teq.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/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tfrexp.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_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/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/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/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.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_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/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/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/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 [tests] Removed #include of headers already included via "mpfr-test.h" (<limits.h>, <stdio.h>, <stdlib.h>). Note: this change doesn't apply to tvalist.c, which is a special test that doesn't use "mpfr-test.h". ------------------------------------------------------------------------ r8053 | vlefevre | 2012-02-24 15:50:55 +0000 (Fri, 24 Feb 2012) | 2 lines Changed paths: M /trunk/src/abort_prec_max.c M /trunk/src/get_d64.c M /trunk/src/logging.c M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-impl.h M /trunk/src/rec_sqrt.c M /trunk/src/strtofr.c [src] #include <stdlib.h> unconditionally in mpfr-impl.h; removed this #include from the .c files. ------------------------------------------------------------------------ r8052 | vlefevre | 2012-02-24 15:32:50 +0000 (Fri, 24 Feb 2012) | 1 line Changed paths: M /trunk/src/logging.c [src/logging.c] #include <stdarg.h> was no longer necessary. Removed. ------------------------------------------------------------------------ r8051 | vlefevre | 2012-02-24 15:27:26 +0000 (Fri, 24 Feb 2012) | 1 line Changed paths: M /trunk/src/logging.c [src/logging.c] Updated a comment (contained obsolete information). ------------------------------------------------------------------------ r8048 | vlefevre | 2012-02-24 13:44:05 +0000 (Fri, 24 Feb 2012) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Use %.*Rg instead of %.*Rf for MPFR_LOG_VAR. ------------------------------------------------------------------------ r8044 | vlefevre | 2012-02-24 12:21:18 +0000 (Fri, 24 Feb 2012) | 1 line Changed paths: M /trunk/NEWS [NEWS] Mention an internal change in MPFR 3.1.0. ------------------------------------------------------------------------ r8043 | vlefevre | 2012-02-24 11:59:09 +0000 (Fri, 24 Feb 2012) | 5 lines Changed paths: M /trunk/src/add_d.c M /trunk/src/add_ui.c M /trunk/src/mul_d.c Corrected a typo in MPFR_LOG_FUNC of add_d.c, add_ui.c and mul_d.c (mpfr_get_prec → mpfr_log_prec), fixing bug 13933. The consequence was random freezes (on the same binary) with dynamic linking (and just more memory with static linking to the MPFR library) when logging was used. ------------------------------------------------------------------------ r8042 | vlefevre | 2012-02-24 09:41:09 +0000 (Fri, 24 Feb 2012) | 1 line Changed paths: M /trunk/src/const_euler.c [src/const_euler.c] Use the safer MPFR_BLOCK. ------------------------------------------------------------------------ r8041 | vlefevre | 2012-02-23 16:24:17 +0000 (Thu, 23 Feb 2012) | 1 line Changed paths: M /trunk/src/const_euler.c [src/const_euler.c] Removed a useless log message added in r8040. ------------------------------------------------------------------------ r8040 | vlefevre | 2012-02-23 16:08:23 +0000 (Thu, 23 Feb 2012) | 4 lines Changed paths: M /trunk/src/const_euler.c M /trunk/src/mpfr-impl.h [src/const_euler.c] Replaced computations on double by computations on MPFR types, with detection of overflows. Fixed inconsistencies with algorithms.tex (due to rounding) in the computation of n. [src/mpfr-impl.h] Removed #define ALPHA (no longer used). ------------------------------------------------------------------------ r8039 | vlefevre | 2012-02-23 14:09:05 +0000 (Thu, 23 Feb 2012) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Removed obsolete #define EXPM1. ------------------------------------------------------------------------ r8038 | vlefevre | 2012-02-23 14:05:12 +0000 (Thu, 23 Feb 2012) | 1 line Changed paths: M /trunk/src/erf.c [src/erf.c] Removed an obsolete #define. ------------------------------------------------------------------------ r8037 | vlefevre | 2012-02-23 13:57:16 +0000 (Thu, 23 Feb 2012) | 1 line Changed paths: M /trunk/BUGS [BUGS] Update concerning huge precisions and integer overflows. ------------------------------------------------------------------------ r8036 | vlefevre | 2012-02-23 13:52:04 +0000 (Thu, 23 Feb 2012) | 2 lines Changed paths: M /trunk/examples/version.c [examples/version.c] Output mpfr_prec_t information with all MPFR versions. Output signedness information for MPFR types/macros. ------------------------------------------------------------------------ r8035 | vlefevre | 2012-02-23 13:27:25 +0000 (Thu, 23 Feb 2012) | 8 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h [src/mpfr.h] Decrease the MPFR_PREC_MAX value by 256 in order to avoid some integer overflows in existing code that increases the working precision (if mpfr_prec_t is on 64 bits, this does not change anything in practice), as too large precisions should be detected via assertions for more security. After discussion, it has been decided to keep the MPFR_PREC_MAX value close to 2^31 when mpfr_prec_t is on 32 bits. [src/mpfr-impl.h] Added a comment concerning MPFR_ADD_PREC. ------------------------------------------------------------------------ r8034 | vlefevre | 2012-02-23 12:34:22 +0000 (Thu, 23 Feb 2012) | 2 lines Changed paths: M /trunk/examples/version.c [examples/version.c] Output more information about the precision and exponent types. ------------------------------------------------------------------------ r8033 | vlefevre | 2012-02-22 17:49:03 +0000 (Wed, 22 Feb 2012) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Use MPFR_ADD_PREC in MPFR_ZIV_NEXT. ------------------------------------------------------------------------ r8032 | vlefevre | 2012-02-22 17:39:48 +0000 (Wed, 22 Feb 2012) | 5 lines Changed paths: M /trunk/src/ai.c M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added an MPFR_ADD_PREC macro to safely increase some precision (i.e. with an assertion check for integer overflow). [src/ai.c] Use this MPFR_ADD_PREC macro, in particular in a case where the additional precision can be huge. TODO: Other files would need to use MPFR_ADD_PREC. ------------------------------------------------------------------------ r8031 | vlefevre | 2012-02-22 12:32:52 +0000 (Wed, 22 Feb 2012) | 4 lines Changed paths: M /trunk/tests/tinits.c [tests/tinits.c] Updated the large precision test to trigger a bug fixed in r8025 on 32-bit machines (or when MPFR is built with -m32). Here the crash was due to (MPFR_PREC (b) + GMP_NUMB_BITS-1)/GMP_NUMB_BITS in "src/set.c". ------------------------------------------------------------------------ r8030 | vlefevre | 2012-02-22 11:40:57 +0000 (Wed, 22 Feb 2012) | 2 lines Changed paths: M /trunk/src/rec_sqrt.c [src/rec_sqrt.c] Removed useless #include (mpfr-impl.h does a better job for stdio). ------------------------------------------------------------------------ r8029 | vlefevre | 2012-02-22 11:33:24 +0000 (Wed, 22 Feb 2012) | 1 line Changed paths: M /trunk/tests/tinits.c [tests/tinits.c] Improved r8026 (missing #include, support 16-bit prec). ------------------------------------------------------------------------ r8028 | vlefevre | 2012-02-22 10:39:10 +0000 (Wed, 22 Feb 2012) | 4 lines Changed paths: M /trunk/doc/README.dev M /trunk/tests/tests.c Document the MPFR_DEBUG_BADCASES environment variable before bad_cases() in tests/tests.c (where it is used). Remove it from "doc/README.dev" since it is useful only in case of crash / infinite loop in bad_cases(), and will give useless output otherwise. ------------------------------------------------------------------------ r8027 | zimmerma | 2012-02-22 10:23:13 +0000 (Wed, 22 Feb 2012) | 3 lines Changed paths: M /trunk/TODO M /trunk/doc/README.dev [TODO] added comment [doc/README.dev] added environment variables ------------------------------------------------------------------------ r8026 | zimmerma | 2012-02-22 10:18:08 +0000 (Wed, 22 Feb 2012) | 2 lines Changed paths: M /trunk/tests/tinits.c [tinits.c] added test to check #13918 is fixed ------------------------------------------------------------------------ r8025 | vlefevre | 2012-02-22 03:53:19 +0000 (Wed, 22 Feb 2012) | 4 lines Changed paths: M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/agm.c M /trunk/src/eq.c M /trunk/src/exp.c M /trunk/src/get_d.c M /trunk/src/get_flt.c M /trunk/src/get_str.c M /trunk/src/init2.c M /trunk/src/lngamma.c M /trunk/src/mpfr-impl.h M /trunk/src/mul.c M /trunk/src/pow.c M /trunk/src/print_raw.c M /trunk/src/round_prec.c M /trunk/src/round_raw_generic.c M /trunk/src/set.c M /trunk/src/set_f.c M /trunk/src/set_prec.c M /trunk/src/setmax.c M /trunk/src/sqr.c M /trunk/src/stack_interface.c M /trunk/src/strtofr.c M /trunk/src/sub1sp.c M /trunk/src/urandomb.c Avoid potential integer overflows and improve consistency. This should fix bug #13918 "Segfault with precision = MPFR_PREC_MAX on 32-bit". Note: this problem appeared in MPFR 3.0.0 when the precision type (now mpfr_prec_t) was changed to a signed integer. ------------------------------------------------------------------------ r8024 | vlefevre | 2012-02-22 02:54:37 +0000 (Wed, 22 Feb 2012) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Added a comment mentioning a problem with GNU gold ld. ------------------------------------------------------------------------ r8020 | vlefevre | 2012-02-15 23:01:30 +0000 (Wed, 15 Feb 2012) | 1 line Changed paths: M /trunk/TODO [TODO] Added reference to ISO/IEC 24747:2009 (C, special functions). ------------------------------------------------------------------------ r8016 | zimmerma | 2012-01-27 06:48:06 +0000 (Fri, 27 Jan 2012) | 3 lines Changed paths: M /trunk/src/Makefile.am D /trunk/src/x86_64/xeon removed directory src/x86_64/xeon [src/Makefile.am] removed x86_64/xeon/mparam.h ------------------------------------------------------------------------ r8015 | zimmerma | 2012-01-25 14:43:01 +0000 (Wed, 25 Jan 2012) | 2 lines Changed paths: M /trunk/src/mparam_h.in M /trunk/src/x86_64/core2/mparam.h share parameters between x86_64/core2 and x86_64/xeon (gcc70) ------------------------------------------------------------------------ r8014 | zimmerma | 2012-01-25 09:34:40 +0000 (Wed, 25 Jan 2012) | 2 lines Changed paths: M /trunk/src/Makefile.am [src/Makefile.am] forgot to add new param file ------------------------------------------------------------------------ r8013 | zimmerma | 2012-01-25 09:29:19 +0000 (Wed, 25 Jan 2012) | 2 lines Changed paths: M /trunk/src/mparam_h.in A /trunk/src/x86_64/xeon A /trunk/src/x86_64/xeon/mparam.h added tuning parameters for -mtune=nocona (gcc70) ------------------------------------------------------------------------ r8010 | zimmerma | 2012-01-20 07:55:29 +0000 (Fri, 20 Jan 2012) | 3 lines Changed paths: M /trunk/src/mparam_h.in [mparam_h.in] swap tests for 32-bit and 64-bit powerpc, since on powerpc64 the parameters for 32-bit are used! ------------------------------------------------------------------------ r8004 | vlefevre | 2012-01-15 00:21:46 +0000 (Sun, 15 Jan 2012) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated "To make a release". ------------------------------------------------------------------------ r8000 | vlefevre | 2012-01-10 13:43:29 +0000 (Tue, 10 Jan 2012) | 1 line Changed paths: M /trunk/TODO [TODO] Added a note to item about sNaN/qNaN. ------------------------------------------------------------------------ r7998 | vlefevre | 2012-01-10 12:51:16 +0000 (Tue, 10 Jan 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r7996 | vlefevre | 2012-01-10 12:49:16 +0000 (Tue, 10 Jan 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Mention the AriC project-team. ------------------------------------------------------------------------ r7994 | vlefevre | 2012-01-10 12:44:24 +0000 (Tue, 10 Jan 2012) | 1 line Changed paths: M /trunk/ChangeLog Reverted incorrect change in ChangeLog from r7993. ------------------------------------------------------------------------ r7993 | vlefevre | 2012-01-10 12:41:58 +0000 (Tue, 10 Jan 2012) | 3 lines Changed paths: M /trunk/BUGS 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/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.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/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c 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/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/dump.c M /trunk/src/eint.c M /trunk/src/eq.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/fms.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/gammaonethird.c M /trunk/src/gen_inverse.h M /trunk/src/get_d.c M /trunk/src/get_d64.c M /trunk/src/get_exp.c M /trunk/src/get_f.c M /trunk/src/get_flt.c M /trunk/src/get_ld.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/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/logging.c M /trunk/src/min_prec.c M /trunk/src/minmax.c M /trunk/src/modf.c M /trunk/src/mpf2mpfr.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-thread.h M /trunk/src/mpfr.h M /trunk/src/mpn_exp.c M /trunk/src/mul.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/neg.c M /trunk/src/next.c M /trunk/src/out_raw.c M /trunk/src/out_str.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/print_raw.c M /trunk/src/print_rnd_mode.c M /trunk/src/printf.c M /trunk/src/rec_sqrt.c M /trunk/src/reldiff.c M /trunk/src/rem1.c M /trunk/src/rint.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_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_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/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/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/yn.c M /trunk/src/zeta.c M /trunk/src/zeta_ui.c 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/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/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.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/teint.c M /trunk/tests/teq.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/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tfrexp.c M /trunk/tests/tgamma.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_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/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/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/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.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_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/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/get_patches.sh M /trunk/tune/bidimensional_sample.c M /trunk/tune/speed.c M /trunk/tune/tuneup.c Changed Arenaire to AriC with: perl -pi -e 's/Contributed by the Arenaire/Contributed by the AriC/' **/*(^/) under zsh. ------------------------------------------------------------------------ r7991 | vlefevre | 2012-01-10 12:25:30 +0000 (Tue, 10 Jan 2012) | 1 line Changed paths: M /trunk/doc/FAQ.html [doc] Updated FAQ.html with update-faq. ------------------------------------------------------------------------ r7990 | vlefevre | 2012-01-10 12:24:56 +0000 (Tue, 10 Jan 2012) | 1 line Changed paths: M /trunk/doc/faq.xsl [doc/faq.xsl] Remove only the top-level comments from the HTML file. ------------------------------------------------------------------------ r7989 | vlefevre | 2012-01-10 12:20:49 +0000 (Tue, 10 Jan 2012) | 1 line Changed paths: M /trunk/doc/faq.xsl [doc/faq.xsl] Updated a comment. ------------------------------------------------------------------------ r7986 | vlefevre | 2012-01-10 11:46:34 +0000 (Tue, 10 Jan 2012) | 5 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/faq.xsl M /trunk/doc/mpfr.texi M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.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/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c M /trunk/src/amd/amdfam10/mparam.h M /trunk/src/amd/athlon/mparam.h M /trunk/src/amd/k8/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/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/dump.c M /trunk/src/eint.c M /trunk/src/eq.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/fms.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/gammaonethird.c M /trunk/src/gen_inverse.h M /trunk/src/generic/mparam.h M /trunk/src/get_d.c M /trunk/src/get_d64.c M /trunk/src/get_exp.c M /trunk/src/get_f.c M /trunk/src/get_flt.c M /trunk/src/get_ld.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/hppa/mparam.h M /trunk/src/hypot.c M /trunk/src/ia64/mparam.h 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/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/logging.c M /trunk/src/min_prec.c M /trunk/src/minmax.c 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-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-thread.h M /trunk/src/mpfr.h M /trunk/src/mpn_exp.c M /trunk/src/mul.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/neg.c M /trunk/src/next.c M /trunk/src/out_raw.c M /trunk/src/out_str.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/powerpc32/mparam.h 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/rec_sqrt.c M /trunk/src/reldiff.c M /trunk/src/rem1.c M /trunk/src/rint.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_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_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/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/core2/mparam.h M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/corei5/mparam.h M /trunk/src/x86_64/pentium4/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/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/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.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/teint.c M /trunk/tests/teq.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/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tfrexp.c M /trunk/tests/tgamma.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_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/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/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/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.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_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/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/ck-copyright-notice M /trunk/tools/ck-mparam 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 2012 with perl -pi -e 's/2011 Free Software/2011, 2012 Free Software/' **/*(^/) under zsh, reverting the ChangeLog file (the m4 and tools/mbench directories were not modified). Removed 2011 from the example in the doc/README.dev file. ------------------------------------------------------------------------ r7979 | zimmerma | 2011-12-09 12:17:34 +0000 (Fri, 09 Dec 2011) | 2 lines Changed paths: M /trunk/TODO [TODO] trivial change (to test the commit logs) ------------------------------------------------------------------------ r7978 | vlefevre | 2011-12-09 11:50:07 +0000 (Fri, 09 Dec 2011) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Mention --disable-thread-safe. ------------------------------------------------------------------------ r7977 | vlefevre | 2011-12-09 11:38:56 +0000 (Fri, 09 Dec 2011) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] Added information about system/compiler bugs related to TLS or optimizations. ------------------------------------------------------------------------ r7976 | zimmerma | 2011-12-09 10:57:12 +0000 (Fri, 09 Dec 2011) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] added note about buggy TLS support ------------------------------------------------------------------------ r7971 | vlefevre | 2011-11-28 12:19:33 +0000 (Mon, 28 Nov 2011) | 1 line Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Removed an obsolete comment. ------------------------------------------------------------------------ r7970 | vlefevre | 2011-11-28 11:43:39 +0000 (Mon, 28 Nov 2011) | 1 line Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Updated the TODO comment about the rand state. ------------------------------------------------------------------------ r7967 | vlefevre | 2011-11-28 11:22:21 +0000 (Mon, 28 Nov 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r7966 | vlefevre | 2011-11-28 10:10:09 +0000 (Mon, 28 Nov 2011) | 2 lines Changed paths: M /trunk/tests/trandom.c M /trunk/tests/turandom.c [tests/trandom.c,tests/turandom.c] Fixed compatibility with GMP 4.1.x (since the default PRNG has changed between GMP 4.1 and 4.2). ------------------------------------------------------------------------ r7965 | vlefevre | 2011-11-28 09:45:47 +0000 (Mon, 28 Nov 2011) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Mentioned the difference between GMP 4.1 and 4.2 about the changes of mpfr_urandom and mpfr_urandomb in MPFR 3.1. ------------------------------------------------------------------------ r7964 | vlefevre | 2011-11-28 09:41:09 +0000 (Mon, 28 Nov 2011) | 1 line Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Added a TODO comment. ------------------------------------------------------------------------ r7962 | zimmerma | 2011-11-24 14:12:42 +0000 (Thu, 24 Nov 2011) | 2 lines Changed paths: M /trunk/TODO revert previous commit (test) ------------------------------------------------------------------------ r7961 | zimmerma | 2011-11-24 14:11:59 +0000 (Thu, 24 Nov 2011) | 2 lines Changed paths: M /trunk/TODO commit test ------------------------------------------------------------------------ r7954 | zimmerma | 2011-11-09 20:03:45 +0000 (Wed, 09 Nov 2011) | 2 lines Changed paths: M /trunk/src/mpfr-thread.h [src/mpfr-thread.h] added pointer to TLS on Windows ------------------------------------------------------------------------ r7952 | vlefevre | 2011-11-09 12:28:59 +0000 (Wed, 09 Nov 2011) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added a test showing a regression in MPFR 3.1.0 (but fixed in r7931 and later). ------------------------------------------------------------------------ r7951 | zimmerma | 2011-11-09 12:20:10 +0000 (Wed, 09 Nov 2011) | 2 lines Changed paths: M /trunk/tests/tatan.c [tests/tatan.c] mpfr_set_emin -> set_emin (idem for emax) ------------------------------------------------------------------------ r7950 | vlefevre | 2011-11-09 10:17:11 +0000 (Wed, 09 Nov 2011) | 1 line Changed paths: M /trunk/TODO [TODO] Added a reference to an old discussion concerning __float128. ------------------------------------------------------------------------ r7949 | zimmerma | 2011-11-08 15:42:41 +0000 (Tue, 08 Nov 2011) | 2 lines Changed paths: M /trunk/TODO [TODO] added item ------------------------------------------------------------------------ r7944 | vlefevre | 2011-11-03 16:09:54 +0000 (Thu, 03 Nov 2011) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Untabify. ------------------------------------------------------------------------ r7943 | thevenyp | 2011-11-03 14:53:08 +0000 (Thu, 03 Nov 2011) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Corrected a comment. ------------------------------------------------------------------------ r7941 | vlefevre | 2011-11-03 14:49:07 +0000 (Thu, 03 Nov 2011) | 1 line Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Coding style. ------------------------------------------------------------------------ r7938 | vlefevre | 2011-11-02 21:11:29 +0000 (Wed, 02 Nov 2011) | 1 line Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Spelling. ------------------------------------------------------------------------ r7937 | vlefevre | 2011-11-02 21:10:43 +0000 (Wed, 02 Nov 2011) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Spelling. ------------------------------------------------------------------------ r7936 | vlefevre | 2011-11-02 21:03:46 +0000 (Wed, 02 Nov 2011) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Corrected a comment. ------------------------------------------------------------------------ r7935 | vlefevre | 2011-11-02 21:02:52 +0000 (Wed, 02 Nov 2011) | 1 line Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added tests. ------------------------------------------------------------------------ r7934 | vlefevre | 2011-11-02 20:54:18 +0000 (Wed, 02 Nov 2011) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Untabify. Minor correction in a comment. ------------------------------------------------------------------------ r7933 | thevenyp | 2011-11-02 16:58:29 +0000 (Wed, 02 Nov 2011) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Rewrite in a cleaner way the part of regular_fg implied in the bug reported by Pavel Holoborodko (see r7931). ------------------------------------------------------------------------ r7932 | zimmerma | 2011-11-02 11:44:26 +0000 (Wed, 02 Nov 2011) | 2 lines Changed paths: M /trunk/src/mpn_exp.c [src/mpn_exp.c] changed FIXME into TODO ------------------------------------------------------------------------ r7931 | zimmerma | 2011-11-02 10:15:41 +0000 (Wed, 02 Nov 2011) | 4 lines Changed paths: M /trunk/src/mpn_exp.c M /trunk/src/vasprintf.c M /trunk/tests/tsprintf.c [src/mpn_exp.c] added comment [src/vasprintf.c] (hopefully) fixed bug reported by Pavel Holoborodko [tests/tsprintf.c] added corresponding test case ------------------------------------------------------------------------ r7920 | vlefevre | 2011-10-14 10:13:34 +0000 (Fri, 14 Oct 2011) | 2 lines Changed paths: M /trunk/INSTALL M /trunk/tests/Makefile.am [tests/Makefile.am] Added -L$(top_builddir)/src/.libs to AM_LDFLAGS. [INSTALL] Removed the notes on HP-UX (obsolete after the above change). ------------------------------------------------------------------------ r7918 | vlefevre | 2011-10-13 11:30:33 +0000 (Thu, 13 Oct 2011) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Corrected notes for HP-UX. ------------------------------------------------------------------------ r7916 | vlefevre | 2011-10-13 11:17:27 +0000 (Thu, 13 Oct 2011) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] Added notes for HP-UX after a bug report. See discussion: https://sympa.inria.fr/sympa/arc/mpfr/2011-10/msg00042.html ------------------------------------------------------------------------ r7915 | zimmerma | 2011-10-12 14:14:16 +0000 (Wed, 12 Oct 2011) | 2 lines Changed paths: M /trunk/TODO [TODO] added one item ------------------------------------------------------------------------ r7914 | zimmerma | 2011-10-12 13:50:18 +0000 (Wed, 12 Oct 2011) | 4 lines Changed paths: A /trunk/src/x86_64/corei5 A /trunk/src/x86_64/corei5/mparam.h [corei5/mparam.h] tuning files for Core i5 (not yet used since GMP 5.0.2 does currently recognize Core i5 as "k8", however the k8 tuning parameters are not so bad for Core i5) ------------------------------------------------------------------------ r7910 | vlefevre | 2011-10-05 22:15:52 +0000 (Wed, 05 Oct 2011) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Improved MPFR_IS_PURE_FP definition, so that MPFR_ASSERTD takes a boolean (0 or 1). ------------------------------------------------------------------------ r7909 | vlefevre | 2011-10-04 11:23:46 +0000 (Tue, 04 Oct 2011) | 4 lines Changed paths: M /trunk M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Fixed a bug in the MPFR_UNLIKELY macro for GCC (found under Mac OS X / PowerPC with the mode32 GMP ABI, and MPFR built with --enable-assert=full). (Merged changeset r7908 from the 3.1 branch.) ------------------------------------------------------------------------ r7892 | zimmerma | 2011-09-29 18:04:39 +0000 (Thu, 29 Sep 2011) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] added reference and comment for eint ------------------------------------------------------------------------ r7889 | vlefevre | 2011-09-25 00:15:17 +0000 (Sun, 25 Sep 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Rephrased mpfr_frexp description. ------------------------------------------------------------------------ r7886 | vlefevre | 2011-09-24 09:58:27 +0000 (Sat, 24 Sep 2011) | 4 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/log1p.c M /trunk/tests/tagm.c M /trunk/tests/tgeneric.c Renamed "division-by-zero" to "divide-by-zero" (term used by the ISO C99 standard, the IEEE 754-2008 standard using divideByZero, and the old IEEE 754-1985 standard using both "divide by zero" and "division by zero"). ------------------------------------------------------------------------ r7883 | vlefevre | 2011-09-24 09:36:10 +0000 (Sat, 24 Sep 2011) | 1 line Changed paths: M /trunk/src/gmp_op.c [src/gmp_op.c] Forgot to update the flags in some functions. ------------------------------------------------------------------------ r7882 | vlefevre | 2011-09-24 09:27:41 +0000 (Sat, 24 Sep 2011) | 1 line Changed paths: M /trunk/tests/tgmpop.c [tests/tgmpop.c] Improved division-by-zero tests. ------------------------------------------------------------------------ r7881 | vlefevre | 2011-09-23 17:03:46 +0000 (Fri, 23 Sep 2011) | 1 line Changed paths: M /trunk/doc/faq.xsl [doc/faq.xsl] Added a comment about the MPFR logo. ------------------------------------------------------------------------ r7879 | vlefevre | 2011-09-22 10:37:11 +0000 (Thu, 22 Sep 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved mpfr_frexp description. ------------------------------------------------------------------------ r7877 | vlefevre | 2011-09-22 10:07:31 +0000 (Thu, 22 Sep 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Corrected typo in the mpfr_frexp description. ------------------------------------------------------------------------ r7876 | zimmerma | 2011-09-21 10:12:45 +0000 (Wed, 21 Sep 2011) | 2 lines Changed paths: M /trunk/tools/cfarm.sh [tools/cfarm.sh] updated for MPFR 3.1.0 rc2 ------------------------------------------------------------------------ r7873 | zimmerma | 2011-09-20 08:06:47 +0000 (Tue, 20 Sep 2011) | 2 lines Changed paths: M /trunk/tools/cfarm.sh [cfarm.sh] updated for MPFR 3.1.0-rc1 (with GMP 5.0.2) ------------------------------------------------------------------------ r7870 | vlefevre | 2011-09-20 00:50:01 +0000 (Tue, 20 Sep 2011) | 2 lines Changed paths: M /trunk/examples/version.c [examples/version.c] Output mpfr_buildopt_gmpinternals_p() and mpfr_buildopt_tune_case() values with MPFR 3.1 or later. ------------------------------------------------------------------------ r7869 | vlefevre | 2011-09-20 00:31:26 +0000 (Tue, 20 Sep 2011) | 1 line Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/buildopt.c M /trunk/src/mpfr.h M /trunk/tests/tbuildopt.c Renamed mpfr_buildopt_internals_p to mpfr_buildopt_gmpinternals_p. ------------------------------------------------------------------------ r7868 | vlefevre | 2011-09-20 00:26:59 +0000 (Tue, 20 Sep 2011) | 1 line Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/buildopt.c M /trunk/src/mpfr.h M /trunk/tests/tbuildopt.c Added mpfr_buildopt_internals_p function. ------------------------------------------------------------------------ r7867 | vlefevre | 2011-09-20 00:13:51 +0000 (Tue, 20 Sep 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added commas. ------------------------------------------------------------------------ r7866 | vlefevre | 2011-09-20 00:04:21 +0000 (Tue, 20 Sep 2011) | 1 line Changed paths: M /trunk/src/gmp_op.c [src/gmp_op.c] Handle the special cases in mpfr_cmp_q and mpfr_cmp_f. ------------------------------------------------------------------------ r7865 | vlefevre | 2011-09-19 15:33:46 +0000 (Mon, 19 Sep 2011) | 1 line Changed paths: M /trunk/TODO [TODO] Added an item about the minimum and maximum exponents. ------------------------------------------------------------------------ r7864 | vlefevre | 2011-09-19 15:29:14 +0000 (Mon, 19 Sep 2011) | 2 lines Changed paths: M /trunk/src/agm.c [src/agm.c] Replaced MPFR_EMIN_MIN and MPFR_EMAX_MAX by MPFR_EXT_EMIN and MPFR_EXT_EMAX respectively (see r7862 and r7863). ------------------------------------------------------------------------ r7863 | vlefevre | 2011-09-19 15:21:26 +0000 (Mon, 19 Sep 2011) | 3 lines Changed paths: M /trunk/doc/README.dev M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Define new macros MPFR_EXT_EMIN and MPFR_EXT_EMAX. [doc/README.dev] Document how to specify the minimum exponent or the maximum exponent. ------------------------------------------------------------------------ r7862 | zimmerma | 2011-09-19 14:37:18 +0000 (Mon, 19 Sep 2011) | 3 lines Changed paths: M /trunk/src/agm.c [src/agm.c] replaced __gmpfr_emax by MPFR_EMAX_MAX (same for __gmpfr_emin). Solves bug on gcc54 with --enable-thread-safe and GCC 4.3.2. ------------------------------------------------------------------------ r7861 | vlefevre | 2011-09-19 09:40:04 +0000 (Mon, 19 Sep 2011) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Added missing prototype for __gmpn_sbpi1_divappr_q (it could be detected when building MPFR with g++). ------------------------------------------------------------------------ r7860 | zimmerma | 2011-09-19 09:31:42 +0000 (Mon, 19 Sep 2011) | 3 lines Changed paths: M /trunk/tests/tgmpop.c [tests/tgmpop.c] check for erange flag in mpfr_cmp_[f,q,z] (https://sympa.inria.fr/sympa/arc/mpfr/2011-09/msg00013.html) ------------------------------------------------------------------------ r7859 | vlefevre | 2011-09-19 09:25:04 +0000 (Mon, 19 Sep 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated "To make a release". ------------------------------------------------------------------------ r7858 | zimmerma | 2011-09-19 09:04:37 +0000 (Mon, 19 Sep 2011) | 4 lines Changed paths: M /trunk/doc/README.dev M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] fixed bug with --enable-gmp-internals introduced in r7455 (mpfr_limb_ptr is not yet defined when reading mpfr-gmp.h thus we can't use it) ------------------------------------------------------------------------ r7856 | vlefevre | 2011-09-19 08:17:30 +0000 (Mon, 19 Sep 2011) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Correction: "5 exception types" → "6 exception types" (thanks to Case Vanhorsen for the report). ------------------------------------------------------------------------ r7852 | vlefevre | 2011-09-14 21:37:44 +0000 (Wed, 14 Sep 2011) | 4 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Define LONGLONG_STANDALONE before including mpfr-longlong.h so that udiv_qrnnd_preinv is defined (this is useful at least on IA64 when compiling without gmp-impl.h). Thanks to Patrick Pélissier for the fix. ------------------------------------------------------------------------ r7850 | vlefevre | 2011-09-11 09:17:03 +0000 (Sun, 11 Sep 2011) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated "API Compatibility" section: as of MPFR 3.1, the mpfr.h header can be included several times, while still supporting optional functions. ------------------------------------------------------------------------ r7849 | vlefevre | 2011-09-11 09:07:58 +0000 (Sun, 11 Sep 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Replaced some @code by @file for consistency. ------------------------------------------------------------------------ r7848 | vlefevre | 2011-09-11 09:04:58 +0000 (Sun, 11 Sep 2011) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated "API Compatibility" section: functions mpfr_frexp, mpfr_grandom and mpfr_z_sub are new in MPFR 3.1. ------------------------------------------------------------------------ r7847 | vlefevre | 2011-09-11 09:01:48 +0000 (Sun, 11 Sep 2011) | 3 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi [doc/mpfr.texi] Documented function mpfr_buildopt_tune_case, and added it to the list of added functions. [NEWS] Function mpfr_buildopt_tune_case is new in MPFR 3.1. ------------------------------------------------------------------------ r7846 | vlefevre | 2011-09-11 08:52:28 +0000 (Sun, 11 Sep 2011) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated "API Compatibility" section (new division-by-zero exception in MPFR 3.1). ------------------------------------------------------------------------ r7845 | vlefevre | 2011-09-11 07:50:10 +0000 (Sun, 11 Sep 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r7843 | vlefevre | 2011-09-11 07:48:01 +0000 (Sun, 11 Sep 2011) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] MPFR_RNDA was introduced in MPFR 3.0.0 and should no longer be considered experimental. ------------------------------------------------------------------------ r7836 | vlefevre | 2011-09-10 21:15:45 +0000 (Sat, 10 Sep 2011) | 2 lines Changed paths: M /trunk/tests/trec_sqrt.c [tests/trec_sqrt.c] Fixed bug introduced in r7711 (build failure with a C++ compiler). ------------------------------------------------------------------------ r7835 | vlefevre | 2011-09-10 20:13:19 +0000 (Sat, 10 Sep 2011) | 1 line Changed paths: M /trunk M /trunk/NEWS M /trunk/doc/mpfr.texi Removed now useless svn:mergeinfo properties. ------------------------------------------------------------------------ r7832 | vlefevre | 2011-09-10 20:04:07 +0000 (Sat, 10 Sep 2011) | 1 line Changed paths: M /trunk/TODO [TODO] Replaced "configure.in" by "configure.ac". ------------------------------------------------------------------------ r7831 | vlefevre | 2011-09-10 20:02:56 +0000 (Sat, 10 Sep 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Removed obsolete paragraph about AM_MAINTAINER_MODE. ------------------------------------------------------------------------ r7826 | vlefevre | 2011-09-10 19:08:42 +0000 (Sat, 10 Sep 2011) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Correction after r7825. ------------------------------------------------------------------------ r7825 | vlefevre | 2011-09-10 19:07:39 +0000 (Sat, 10 Sep 2011) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Run tools/ck-mparam. ------------------------------------------------------------------------ r7824 | vlefevre | 2011-09-10 19:04:57 +0000 (Sat, 10 Sep 2011) | 2 lines Changed paths: A /trunk/tools/ck-mparam Added tools/ck-mparam sh script to check the mparam.h files (gcc is needed). ------------------------------------------------------------------------ r7823 | zimmerma | 2011-09-10 07:15:46 +0000 (Sat, 10 Sep 2011) | 2 lines Changed paths: M /trunk/src/amd/k8/mparam.h [src/amd/k8/mparam.h] removed spurious end of comment ------------------------------------------------------------------------ r7821 | vlefevre | 2011-09-09 17:19:39 +0000 (Fri, 09 Sep 2011) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] For the valgrind example, use the same arguments as in gnulib's valgrind-tests.m4 file. ------------------------------------------------------------------------ r7818 | vlefevre | 2011-09-09 13:48:33 +0000 (Fri, 09 Sep 2011) | 1 line Changed paths: M /trunk/ChangeLog ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v". ------------------------------------------------------------------------ r7817 | vlefevre | 2011-09-09 13:32:55 +0000 (Fri, 09 Sep 2011) | 5 lines Changed paths: M /trunk/Makefile.am M /trunk/tools/ck-copyright-notice [Makefile.am] Added tools/ck-copyright-notice to EXTRA_DIST as it is used in dist-hook. [tools/ck-copyright-notice] Added copyright notice (since this file is distributed in the tarballs). Note: the first year is 2008 as a part of the code comes from r5370 in mpfrlint. ------------------------------------------------------------------------ r7816 | vlefevre | 2011-09-09 11:40:33 +0000 (Fri, 09 Sep 2011) | 2 lines Changed paths: M /trunk/tools/ck-copyright-notice [tools/ck-copyright-notice] Skip src/mpfr-longlong.h as this file (which comes from GMP) has a specific copyright notice. ------------------------------------------------------------------------ r7815 | vlefevre | 2011-09-09 11:37:01 +0000 (Fri, 09 Sep 2011) | 1 line Changed paths: M /trunk/src/mp_clz_tab.c [src/mp_clz_tab.c] Updated the copyright notice. ------------------------------------------------------------------------ r7814 | vlefevre | 2011-09-09 11:31:07 +0000 (Fri, 09 Sep 2011) | 2 lines Changed paths: M /trunk/tools/ck-copyright-notice [tools/ck-copyright-notice] Check that the first copyright year for the mparam.h files is 2005. ------------------------------------------------------------------------ r7813 | vlefevre | 2011-09-09 11:26:02 +0000 (Fri, 09 Sep 2011) | 2 lines Changed paths: M /trunk/src/amd/amdfam10/mparam.h M /trunk/src/amd/athlon/mparam.h M /trunk/src/amd/k8/mparam.h M /trunk/src/arm/mparam.h M /trunk/src/generic/mparam.h M /trunk/src/hppa/mparam.h M /trunk/src/ia64/mparam.h M /trunk/src/powerpc32/mparam.h M /trunk/src/powerpc64/mparam.h M /trunk/src/sparc64/mparam.h M /trunk/src/x86/core2/mparam.h M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/pentium4/mparam.h Added copyright notice to the mparam.h files (with the same years as in the template). ------------------------------------------------------------------------ r7812 | vlefevre | 2011-09-09 11:20:25 +0000 (Fri, 09 Sep 2011) | 5 lines Changed paths: M /trunk/Makefile.am A /trunk/tools/ck-copyright-notice M /trunk/tools/mpfrlint Added tools/ck-copyright-notice sh script from mpfrlint (updated) to check that copyright notices exist and appear to be correct. Updated tools/mpfrlint to run tools/ck-copyright-notice instead of its old test. In Makefile.am, run tools/ck-copyright-notice in dist-hook for "make dist". ------------------------------------------------------------------------ r7811 | vlefevre | 2011-09-09 10:57:23 +0000 (Fri, 09 Sep 2011) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] More files under src and tests directories. ------------------------------------------------------------------------ r7809 | vlefevre | 2011-09-08 09:13:50 +0000 (Thu, 08 Sep 2011) | 1 line Changed paths: M /trunk/NEWS [NEWS] Update for MPFR 3.1.x. ------------------------------------------------------------------------ r7808 | vlefevre | 2011-09-08 09:07:08 +0000 (Thu, 08 Sep 2011) | 7 lines Changed paths: M /trunk/doc/README.dev M /trunk/tests/Makefile.am [tests/Makefile.am] * Added "AM_LDFLAGS = -no-install" to prevent libtool from generating wrapper scripts for the tests (according to discussions and tests, there should be no negative effects); useful for gdb and valgrind. * Added $(VALGRIND) to TESTS_ENVIRONMENT in order to easily run the tests under valgrind with: VALGRIND="valgrind -q" make check [doc/README.dev] Update for gdb and valgrind. ------------------------------------------------------------------------ r7807 | vlefevre | 2011-08-31 08:55:56 +0000 (Wed, 31 Aug 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved the specification of mpfr_get_f. ------------------------------------------------------------------------ r7805 | zimmerma | 2011-08-30 12:01:16 +0000 (Tue, 30 Aug 2011) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] added comment about minimal GMP version ------------------------------------------------------------------------ r7804 | zimmerma | 2011-08-30 08:23:16 +0000 (Tue, 30 Aug 2011) | 3 lines Changed paths: M /trunk/src/add.c dummy change to check if GMP_CHECK_RANDOMIZE is now used in the Hydra builds on http://hydra.nixos.org/jobset/gnu/mpfr-trunk ------------------------------------------------------------------------ r7803 | vlefevre | 2011-08-19 10:03:19 +0000 (Fri, 19 Aug 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added some references to the ternary definition. ------------------------------------------------------------------------ r7802 | zimmerma | 2011-08-19 09:01:58 +0000 (Fri, 19 Aug 2011) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] improved the documentation of mpfr_set_str, as suggested by Vincent Lefevre ------------------------------------------------------------------------ r7801 | vlefevre | 2011-08-19 08:45:07 +0000 (Fri, 19 Aug 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added "Ternary value" to the concept index. ------------------------------------------------------------------------ r7800 | vlefevre | 2011-08-15 12:34:40 +0000 (Mon, 15 Aug 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added information on how to update the FAQ. ------------------------------------------------------------------------ r7798 | vlefevre | 2011-08-15 11:55:59 +0000 (Mon, 15 Aug 2011) | 1 line Changed paths: M /trunk/doc/FAQ.html [doc] Updated FAQ.html with update-faq. ------------------------------------------------------------------------ r7796 | vlefevre | 2011-08-12 11:39:06 +0000 (Fri, 12 Aug 2011) | 1 line Changed paths: M /trunk/tune/tuneup.c [tune/tuneup.c] Untabified. ------------------------------------------------------------------------ r7795 | vlefevre | 2011-08-12 11:35:51 +0000 (Fri, 12 Aug 2011) | 3 lines Changed paths: M /trunk/src/mulders.c [src/mulders.c] Replaced MPFR_ASSERTD by MPFR_ASSERTN on constant expressions (this is a temporary change, as they should later be replaced by static assertions). ------------------------------------------------------------------------ r7794 | vlefevre | 2011-08-12 11:33:09 +0000 (Fri, 12 Aug 2011) | 2 lines Changed paths: M /trunk/src/mulders.c [src/mulders.c] Replaced mp_ptr and mp_srcptr (internal to GMP) by mpfr_limb_ptr and mpfr_limb_srcptr. ------------------------------------------------------------------------ r7793 | vlefevre | 2011-08-12 11:25:25 +0000 (Fri, 12 Aug 2011) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Avoid potential identifier collision by using an underscore for variable names declared in the invert_pi1 macro. ------------------------------------------------------------------------ r7792 | vlefevre | 2011-08-12 11:18:12 +0000 (Fri, 12 Aug 2011) | 1 line Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Untabified. ------------------------------------------------------------------------ r7791 | vlefevre | 2011-08-12 11:14:38 +0000 (Fri, 12 Aug 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r7790 | zimmerma | 2011-08-06 13:30:28 +0000 (Sat, 06 Aug 2011) | 2 lines Changed paths: M /trunk/src/amd/k8/mparam.h [k8/mparam.h] added comment ------------------------------------------------------------------------ r7789 | zimmerma | 2011-08-06 12:01:58 +0000 (Sat, 06 Aug 2011) | 3 lines Changed paths: M /trunk/src/amd/amdfam10/mparam.h M /trunk/src/x86/mparam.h [x86/mparam.h] new tuning contributed by Jim Cloos [amd/amdfam10/mparam.h] added GMP version ------------------------------------------------------------------------ r7788 | zimmerma | 2011-08-06 11:52:12 +0000 (Sat, 06 Aug 2011) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h M /trunk/src/mulders.c [mpfr-gmp.h] use mpfr_pi1_t instead of gmp_pi1_t to avoid using GMP's namespace ------------------------------------------------------------------------ r7787 | zimmerma | 2011-08-05 14:22:26 +0000 (Fri, 05 Aug 2011) | 5 lines Changed paths: M /trunk/configure.ac M /trunk/src/mparam_h.in M /trunk/src/mpfr-gmp.h M /trunk/src/mulders.c M /trunk/tune/tuneup.c [src/mulders.c] use mpn_sbpi1_divappr_q if available and WANT_GMP_INTERNALS is defined [src/mpfr-gmp.h] defined macros needed for mpfr_divhigh_n_basecase [configure.ac] check for mpn_sbpi1_divappr_q ------------------------------------------------------------------------ r7786 | vlefevre | 2011-08-05 13:17:23 +0000 (Fri, 05 Aug 2011) | 1 line Changed paths: M /trunk/INSTALL M /trunk/VERSION M /trunk/configure.ac M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h M /trunk/src/version.c Updated version to 3.2.0-dev. ------------------------------------------------------------------------ r7784 | zimmerma | 2011-08-05 12:56:08 +0000 (Fri, 05 Aug 2011) | 2 lines Changed paths: A /trunk/src/amd/amdfam10 A /trunk/src/amd/amdfam10/mparam.h [amdfam10/mparam.h] tuning parameters contributed by Jim Cloos ------------------------------------------------------------------------ r7783 | zimmerma | 2011-08-05 03:08:42 +0000 (Fri, 05 Aug 2011) | 4 lines Changed paths: M /trunk/TODO M /trunk/src/Makefile.am M /trunk/src/mulders.c M /trunk/tune/tuneup.c [mulders.c] added a basecase code for Mulders' short division [tuneup.c] added corresponding tuning code [TODO] added an item ------------------------------------------------------------------------ r7782 | vlefevre | 2011-08-04 14:36:42 +0000 (Thu, 04 Aug 2011) | 4 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] In the INTMAX_MAX test, no longer hardcode the "#include <stdint.h>" (for instance, this doesn't work under Solaris 9: INTMAX_MAX is defined only via <inttypes.h>), but include "mpfr-intmax.h" instead (needs a temporary CPPFLAGS). ------------------------------------------------------------------------ r7781 | vlefevre | 2011-08-01 14:39:08 +0000 (Mon, 01 Aug 2011) | 1 line Changed paths: M /trunk/NEWS [NEWS] Much faster formatted output (mpfr_printf, etc.) with %Rg and similar. ------------------------------------------------------------------------ r7780 | vlefevre | 2011-08-01 13:56:27 +0000 (Mon, 01 Aug 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added copyright notice in case the file is distributed. ------------------------------------------------------------------------ r7779 | vlefevre | 2011-08-01 13:50:17 +0000 (Mon, 01 Aug 2011) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added information on how to run the MPFR test suite under valgrind. ------------------------------------------------------------------------ r7778 | vlefevre | 2011-08-01 12:36:04 +0000 (Mon, 01 Aug 2011) | 1 line Changed paths: M /trunk/src/div.c M /trunk/src/rec_sqrt.c M /trunk/tests/trec_sqrt.c Untabified and removed trailing spaces. ------------------------------------------------------------------------ r7777 | vlefevre | 2011-08-01 12:13:50 +0000 (Mon, 01 Aug 2011) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Improved output information. ------------------------------------------------------------------------ r7776 | zimmerma | 2011-07-31 19:44:32 +0000 (Sun, 31 Jul 2011) | 2 lines Changed paths: M /trunk/src/hppa/mparam.h [hppa/mparam.h] updated for new Mulders' division ------------------------------------------------------------------------ r7775 | zimmerma | 2011-07-31 19:40:23 +0000 (Sun, 31 Jul 2011) | 2 lines Changed paths: M /trunk/src/sparc64/mparam.h [sparc64/mparam.h] updated for new Mulders' division ------------------------------------------------------------------------ r7774 | zimmerma | 2011-07-31 15:43:40 +0000 (Sun, 31 Jul 2011) | 2 lines Changed paths: M /trunk/src/powerpc64/mparam.h [powerpc64/mparam.h] updated for new Mulders' division ------------------------------------------------------------------------ r7773 | zimmerma | 2011-07-31 15:08:43 +0000 (Sun, 31 Jul 2011) | 2 lines Changed paths: M /trunk/src/ia64/mparam.h [ia64/mparam.h] updated for new Mulders' division ------------------------------------------------------------------------ r7772 | zimmerma | 2011-07-31 12:43:03 +0000 (Sun, 31 Jul 2011) | 2 lines Changed paths: M /trunk/src/amd/k8/mparam.h [amd/k8/mparam.h] updated for new Mulders' division ------------------------------------------------------------------------ r7771 | zimmerma | 2011-07-31 12:39:57 +0000 (Sun, 31 Jul 2011) | 2 lines Changed paths: M /trunk/src/x86/core2/mparam.h [x86/core2/mparam.h] updated thresholds for new Mulders' division ------------------------------------------------------------------------ r7770 | zimmerma | 2011-07-31 10:54:38 +0000 (Sun, 31 Jul 2011) | 5 lines Changed paths: M /trunk/src/mparam_h.in M /trunk/tests/tversion.c [mparam_h.in] changed the detection of 64-bit Core 2, and added MPFR_TUNE_CASE for default case [tversion.c] print GMP version (header and library), and file for tuning parameters ------------------------------------------------------------------------ r7769 | zimmerma | 2011-07-31 10:29:31 +0000 (Sun, 31 Jul 2011) | 2 lines Changed paths: M /trunk/src/x86_64/core2/mparam.h [x86_64/core2/mparam.h] updated for Mulders' division ------------------------------------------------------------------------ r7768 | zimmerma | 2011-07-31 08:59:53 +0000 (Sun, 31 Jul 2011) | 3 lines Changed paths: M /trunk/src/div.c M /trunk/src/generic/mparam.h M /trunk/tune/tuneup.c Added tuning for MPFR_DIV_THRESHOLD, and default value. It now remains to do the tuning on the architectures in mparam_in.h. ------------------------------------------------------------------------ r7767 | zimmerma | 2011-07-29 20:46:45 +0000 (Fri, 29 Jul 2011) | 2 lines Changed paths: M /trunk/NEWS [NEWS] added speed improvement in mpfr_div ------------------------------------------------------------------------ r7765 | zimmerma | 2011-07-29 20:15:02 +0000 (Fri, 29 Jul 2011) | 39 lines Changed paths: M /trunk/src/div.c M /trunk/src/mulders.c [mulders.c] fixed bug in mpfr_divhigh_n (this routine was not used yet) [div.c] now use Mulders' short product for large division. It remains to do the automatic tuning of MPFR_DIV_THRESHOLD. The speedup is nice, for example on my Core 2 Duo laptop we got with MPFR 3.0.0: [zimmerma@coing tests]$ ./timings-mpfr 1000 Using MPFR-3.0.0 with GMP-5.0.2 [precision is 3322 bits] x*y took 0.004543 ms (262143 eval in 1191 ms) x*x took 0.003616 ms (524287 eval in 1896 ms) x/y took 0.009087 ms (131071 eval in 1191 ms) sqrt(x) took 0.007004 ms (262143 eval in 1836 ms) exp(x) took 0.293040 ms (4095 eval in 1200 ms) log(x) took 0.253724 ms (4095 eval in 1039 ms) sin(x) took 0.306960 ms (4095 eval in 1257 ms) cos(x) took 0.290842 ms (4095 eval in 1191 ms) arccos(x) took 0.590620 ms (2047 eval in 1209 ms) arctan(x) took 0.560332 ms (2047 eval in 1147 ms) and now we get: [zimmerma@coing tests]$ ./timings-mpfr 1000 Using MPFR-3.1.0-dev with GMP-5.0.2 [precision is 3322 bits] x*y took 0.004444 ms (262143 eval in 1165 ms) x*x took 0.002686 ms (524287 eval in 1408 ms) x/y took 0.006989 ms (262143 eval in 1832 ms) sqrt(x) took 0.007084 ms (262143 eval in 1857 ms) exp(x) took 0.292063 ms (4095 eval in 1196 ms) log(x) took 0.246886 ms (4095 eval in 1011 ms) sin(x) took 0.259096 ms (4095 eval in 1061 ms) cos(x) took 0.244933 ms (4095 eval in 1003 ms) arccos(x) took 0.556424 ms (2047 eval in 1139 ms) arctan(x) took 0.526624 ms (2047 eval in 1078 ms) We see that other routines also benefit from the speedup in mpfr_sqr and mpfr_div (log, sin, cos, arccos, arctan). ------------------------------------------------------------------------ r7764 | zimmerma | 2011-07-29 15:21:09 +0000 (Fri, 29 Jul 2011) | 3 lines Changed paths: M /trunk/doc/algorithms.bib M /trunk/doc/algorithms.tex [algorithms.tex] added algorithm for division with Mulders' short product (can anybody check the algorithm is ok?) ------------------------------------------------------------------------ r7763 | vlefevre | 2011-07-29 12:48:21 +0000 (Fri, 29 Jul 2011) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added a comment. ------------------------------------------------------------------------ r7762 | vlefevre | 2011-07-29 12:24:18 +0000 (Fri, 29 Jul 2011) | 2 lines Changed paths: M /trunk/src/get_str.c [src/get_str.c] Added a comment about the use of mpfr_ceil_mul (exported and declared in mpfr-impl.h since r7760). ------------------------------------------------------------------------ r7761 | thevenyp | 2011-07-28 23:01:52 +0000 (Thu, 28 Jul 2011) | 1 line Changed paths: M /trunk/src/vasprintf.c M /trunk/tests/tsprintf.c Avoid expensive calls to mpfr_get_prec() using mpfr_ceil_mul() instead. ------------------------------------------------------------------------ r7760 | thevenyp | 2011-07-28 22:59:01 +0000 (Thu, 28 Jul 2011) | 1 line Changed paths: M /trunk/src/get_str.c M /trunk/src/mpfr-impl.h Make ceil_mul() public as mpfr_ceil_mul() in mpfr-impl.h ------------------------------------------------------------------------ r7759 | vlefevre | 2011-07-28 18:50:21 +0000 (Thu, 28 Jul 2011) | 1 line Changed paths: M /trunk/src/mulders.c [src/mulders.c] MPFR coding conventions for r7752. ------------------------------------------------------------------------ r7758 | zimmerma | 2011-07-28 17:17:24 +0000 (Thu, 28 Jul 2011) | 3 lines Changed paths: M /trunk/src/amd/k8/mparam.h M /trunk/src/arm/mparam.h M /trunk/src/hppa/mparam.h M /trunk/src/ia64/mparam.h M /trunk/src/mulders.c M /trunk/src/powerpc32/mparam.h M /trunk/src/powerpc64/mparam.h M /trunk/src/sparc64/mparam.h M /trunk/src/x86/core2/mparam.h M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/pentium4/mparam.h modified the default tuning parameters so they are within the bounds of the ARITH-20 paper "Short Division of Long Integers" ------------------------------------------------------------------------ r7757 | zimmerma | 2011-07-28 16:38:55 +0000 (Thu, 28 Jul 2011) | 3 lines Changed paths: M /trunk/src/mulders.c [src/mulders.c] declare mpfr_mullow_n as non-static since it might be useful elsewhere ------------------------------------------------------------------------ r7756 | zimmerma | 2011-07-28 16:36:50 +0000 (Thu, 28 Jul 2011) | 3 lines Changed paths: M /trunk/tune/tuneup.c [tuneup.c] fix tuning bounds of short product and division according to the ARITH-20 paper ------------------------------------------------------------------------ r7755 | zimmerma | 2011-07-28 16:36:01 +0000 (Thu, 28 Jul 2011) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] detect long double format in m68k ------------------------------------------------------------------------ r7754 | zimmerma | 2011-07-28 16:35:25 +0000 (Thu, 28 Jul 2011) | 3 lines Changed paths: M /trunk/tests/tget_flt.c [tget_flt.c] added test to check FLT_MAX + FLT_MAX gives INFP (to early detect compiler bugs) ------------------------------------------------------------------------ r7753 | zimmerma | 2011-07-28 16:30:38 +0000 (Thu, 28 Jul 2011) | 2 lines Changed paths: M /trunk/tools/nightly-test [nightly-test] changed -pedantic-errors into -pedantic ------------------------------------------------------------------------ r7752 | zimmerma | 2011-07-28 16:29:51 +0000 (Thu, 28 Jul 2011) | 4 lines Changed paths: M /trunk/src/mulders.c [mulders.c] added some code for short division (FoldDiv, not used), added comments and fixed bounds in accordance with the ARITH-20 paper ------------------------------------------------------------------------ r7751 | thevenyp | 2011-07-28 16:16:36 +0000 (Thu, 28 Jul 2011) | 1 line Changed paths: M /trunk/src/vasprintf.c Use a buffer in order to avoid a double call to mpfr_get_str. ------------------------------------------------------------------------ r7750 | vlefevre | 2011-07-26 13:12:46 +0000 (Tue, 26 Jul 2011) | 1 line Changed paths: M /trunk/src/log.c [src/log.c] Replaced TMP_* by MPFR_GROUP_* (patch by Patrick). ------------------------------------------------------------------------ r7749 | vlefevre | 2011-07-22 10:24:38 +0000 (Fri, 22 Jul 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added a comment about TLS variable initialization. ------------------------------------------------------------------------ r7748 | vlefevre | 2011-07-22 10:15:04 +0000 (Fri, 22 Jul 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added information about TLS variable initialization. ------------------------------------------------------------------------ r7747 | vlefevre | 2011-07-22 10:09:28 +0000 (Fri, 22 Jul 2011) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Split Chapter "MPFR Basics" into nodes as it is now quite large (thus references to particular sections are now possible). ------------------------------------------------------------------------ r7744 | zimmerma | 2011-07-18 19:03:25 +0000 (Mon, 18 Jul 2011) | 7 lines Changed paths: M /trunk/src/vasprintf.c [vasprintf.c] simplified and improved round_to_10_power(), also contributed a negative number of lines of code :-) Still not optimal, since round_to_10_power() is still called twice for printing say pi with mpfr_printf ("%Rg\n", x), once from partition_number(), once from regular_fg(), and thus mpfr_get_str is called at least 3 times! ------------------------------------------------------------------------ r7743 | zimmerma | 2011-07-18 12:21:29 +0000 (Mon, 18 Jul 2011) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] improve error message when libgmp is not found ------------------------------------------------------------------------ r7742 | zimmerma | 2011-07-18 11:24:40 +0000 (Mon, 18 Jul 2011) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [mpfr.texi] added note about threads for mpfr_set_default_prec and mpfr_get_default_prec ------------------------------------------------------------------------ r7740 | vlefevre | 2011-07-06 15:57:22 +0000 (Wed, 06 Jul 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r7738 | vlefevre | 2011-07-06 13:47:35 +0000 (Wed, 06 Jul 2011) | 1 line Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi [NEWS, doc/mpfr.texi] mpfr_min_prec was a new function in MPFR 3.0.0. ------------------------------------------------------------------------ r7736 | vlefevre | 2011-07-01 15:17:47 +0000 (Fri, 01 Jul 2011) | 3 lines Changed paths: M /trunk/tests/tget_flt.c [tests/tget_flt.c] Replaced FLT_MAX + FLT_MAX by (float) DBL_POS_INF, which should trigger fewer compiler bugs. See: https://sympa.inria.fr/sympa/arc/mpfr/2011-07/msg00002.html ------------------------------------------------------------------------ r7734 | vlefevre | 2011-07-01 08:07:35 +0000 (Fri, 01 Jul 2011) | 2 lines Changed paths: M /trunk/src/ieee_floats.h [src/ieee_floats.h] Added a comment about the NaN format when _GMP_IEEE_FLOATS is defined. ------------------------------------------------------------------------ r7733 | zimmerma | 2011-07-01 08:04:50 +0000 (Fri, 01 Jul 2011) | 3 lines Changed paths: M /trunk/tests/tget_flt.c [tget_flt.c] check for compiler bug (https://sympa.inria.fr/sympa/arc/mpfr/2011-07/msg00000.html) ------------------------------------------------------------------------ r7731 | vlefevre | 2011-06-30 00:17:40 +0000 (Thu, 30 Jun 2011) | 3 lines Changed paths: M /trunk/AUTHORS M /trunk/BUGS M /trunk/COPYING M /trunk/COPYING.LESSER M /trunk/ChangeLog M /trunk/INSTALL M /trunk/Makefile.am M /trunk/NEWS M /trunk/PATCHES M /trunk/README M /trunk/TODO M /trunk/VERSION M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/doc/FAQ.html M /trunk/doc/README.dev M /trunk/doc/algorithms.bib M /trunk/doc/algorithms.tex M /trunk/doc/faq.xsl M /trunk/doc/fdl.texi M /trunk/doc/mpfr.texi M /trunk/doc/update-faq M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.c M /trunk/examples/version.c M /trunk/other/cputime.h M /trunk/other/div-short.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/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c 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/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/dump.c M /trunk/src/eint.c M /trunk/src/eq.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/fms.c M /trunk/src/frac.c M /trunk/src/free_cache.c M /trunk/src/gamma.c M /trunk/src/gammaonethird.c M /trunk/src/gen_inverse.h M /trunk/src/get_d.c M /trunk/src/get_d64.c M /trunk/src/get_exp.c M /trunk/src/get_f.c M /trunk/src/get_flt.c M /trunk/src/get_ld.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/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/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/logging.c M /trunk/src/min_prec.c M /trunk/src/minmax.c 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-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-longlong.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_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/neg.c M /trunk/src/next.c M /trunk/src/out_str.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/print_raw.c M /trunk/src/print_rnd_mode.c M /trunk/src/printf.c M /trunk/src/rec_sqrt.c M /trunk/src/reldiff.c M /trunk/src/rem1.c M /trunk/src/rint.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_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_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/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/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/yn.c M /trunk/src/zeta.c M /trunk/src/zeta_ui.c M /trunk/tests/Makefile.am M /trunk/tests/RRTest.c M /trunk/tests/cmp_str.c M /trunk/tests/inp_str.data 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/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/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.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/teint.c M /trunk/tests/teq.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/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.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_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/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/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/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/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.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_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/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/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/check_inits_clears M /trunk/tools/ck-version-info M /trunk/tools/coverage M /trunk/tools/get_patches.sh M /trunk/tools/mbench/generate.c 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/update-patchv M /trunk/tools/update-version M /trunk/tune/speed.c M /trunk/tune/tuneup.c Removed all the svn:eol-style properties (they were set to "native"), and in doc/README.dev, explained why svn:eol-style native should not be used. ------------------------------------------------------------------------ r7729 | vlefevre | 2011-06-28 22:55:59 +0000 (Tue, 28 Jun 2011) | 2 lines Changed paths: M /trunk/tools/ck-version-info [tools/ck-version-info] Check DLL version in LIBMPFR_LDFLAGS line from configure.ac (patch by Stefan Graff, with minor changes). ------------------------------------------------------------------------ r7726 | vlefevre | 2011-06-26 09:44:11 +0000 (Sun, 26 Jun 2011) | 5 lines Changed paths: M /trunk/tools/ck-version-info [tools/ck-version-info] 2 corrections: * update due to the change of the libmpfr_la_LDFLAGS line in r7724; * to support the CRLF end-of-line sometimes used under MS-Windows (perl should normally take care of that, but Windows software is not always consistent). ------------------------------------------------------------------------ r7725 | vlefevre | 2011-06-26 09:30:05 +0000 (Sun, 26 Jun 2011) | 4 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Due to the "@unnumbered Function and Type Index", replaced the other "Function Index" by "Function and Type Index" (note: the function index and the type index are merged thanks to the "@synindex tp fn" line at the beginning of mpfr.texi). ------------------------------------------------------------------------ r7724 | vlefevre | 2011-06-25 16:08:39 +0000 (Sat, 25 Jun 2011) | 4 lines Changed paths: M /trunk/configure.ac M /trunk/src/Makefile.am Ported patch r7723 (changes suggested by Stefan Graff to be able to build Windows DLLs with GCC 4.6[*]) to the trunk, not tested (something more may be needed due to the source reorganization). [*] https://sympa.inria.fr/sympa/arc/mpfr/2011-06/msg00013.html ------------------------------------------------------------------------ r7722 | vlefevre | 2011-06-21 20:45:27 +0000 (Tue, 21 Jun 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r7721 | vlefevre | 2011-06-21 20:41:51 +0000 (Tue, 21 Jun 2011) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Corrected a note about mpfr_set_*, due to the addition of mpfr_set_decimal64. ------------------------------------------------------------------------ r7720 | vlefevre | 2011-06-20 14:38:24 +0000 (Mon, 20 Jun 2011) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Removed comment added in r7181, as it is no longer necessary since r7182 (new option --enable-gmp-internals). ------------------------------------------------------------------------ r7719 | vlefevre | 2011-06-20 14:36:28 +0000 (Mon, 20 Jun 2011) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Updated comment concerning __gmpn_rootrem (mention WANT_GMP_INTERNALS). ------------------------------------------------------------------------ r7718 | vlefevre | 2011-06-20 14:10:04 +0000 (Mon, 20 Jun 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a note about logging and timeout. ------------------------------------------------------------------------ r7717 | vlefevre | 2011-06-20 13:59:31 +0000 (Mon, 20 Jun 2011) | 1 line Changed paths: M /trunk/src/atan2.c M /trunk/src/pow.c [src] Conversion into UTF-8 (only comments were concerned). ------------------------------------------------------------------------ r7716 | vlefevre | 2011-06-20 13:57:40 +0000 (Mon, 20 Jun 2011) | 1 line Changed paths: M /trunk/TODO [TODO] Conversion into UTF-8. ------------------------------------------------------------------------ r7715 | vlefevre | 2011-06-20 13:56:51 +0000 (Mon, 20 Jun 2011) | 2 lines Changed paths: M /trunk/src/pow.c [src/pow.c] Made the code more robust concerning the scaling (a bug was very unlikely, though), and updated the comments (partial proof). ------------------------------------------------------------------------ r7714 | vlefevre | 2011-06-01 01:32:26 +0000 (Wed, 01 Jun 2011) | 1 line Changed paths: M /trunk/examples/version.c [examples/version.c] Output MPFR features and size of MPFR types. ------------------------------------------------------------------------ r7711 | zimmerma | 2011-05-22 19:13:25 +0000 (Sun, 22 May 2011) | 3 lines Changed paths: M /trunk/src/rec_sqrt.c M /trunk/tests/trec_sqrt.c [src/rec_sqrt.c] continued review; I can now prove that cu=0 in all cases [tests/trec_sqrt.c] added tests for corner cases ------------------------------------------------------------------------ r7710 | zimmerma | 2011-05-20 05:51:22 +0000 (Fri, 20 May 2011) | 2 lines Changed paths: M /trunk/src/rec_sqrt.c [rec_sqrt.c] more review of codes, following comments from Vincent ------------------------------------------------------------------------ r7709 | zimmerma | 2011-05-19 08:37:24 +0000 (Thu, 19 May 2011) | 2 lines Changed paths: M /trunk/src/rec_sqrt.c [rec_sqrt.c] removed tabs ------------------------------------------------------------------------ r7708 | zimmerma | 2011-05-19 06:44:00 +0000 (Thu, 19 May 2011) | 4 lines Changed paths: M /trunk/src/rec_sqrt.c [rec_sqrt.c] review and small change of changeset 7651: most probably cu=0 when th=0 (and maybe cu=0 always, I cannot find an example where cu <> 0) but considering the case th=0 is more natural. ------------------------------------------------------------------------ r7707 | vlefevre | 2011-05-18 15:02:52 +0000 (Wed, 18 May 2011) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] List the contributors in the alphabetic order, like the main authors. ------------------------------------------------------------------------ r7706 | vlefevre | 2011-05-18 14:52:18 +0000 (Wed, 18 May 2011) | 1 line Changed paths: M /trunk/AUTHORS M /trunk/doc/mpfr.texi Made AUTHORS and doc/mpfr.texi consistent. ------------------------------------------------------------------------ r7705 | vlefevre | 2011-05-18 14:44:37 +0000 (Wed, 18 May 2011) | 1 line Changed paths: M /trunk/AUTHORS M /trunk/src/acos.c M /trunk/src/asin.c M /trunk/src/atan.c M /trunk/src/atan2.c M /trunk/src/erf.c M /trunk/src/get_str.c M /trunk/src/mpn_exp.c M /trunk/src/round_near_x.c M /trunk/src/zeta.c M /trunk/tests/tacos.c M /trunk/tests/taway.c M /trunk/tests/tbuildopt.c M /trunk/tests/tdigamma.c M /trunk/tests/terf.c M /trunk/tests/tfprintf.c M /trunk/tests/tgamma.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tli2.c M /trunk/tests/tprintf.c M /trunk/tests/tsprintf.c M /trunk/tests/tzeta.c Updated AUTHORS file and copyright notices (for more consistency). ------------------------------------------------------------------------ r7704 | vlefevre | 2011-05-18 14:26:30 +0000 (Wed, 18 May 2011) | 1 line Changed paths: M /trunk/tests/thyperbolic.c [tests/thyperbolic.c] Fixed copyright notice. ------------------------------------------------------------------------ r7703 | vlefevre | 2011-05-18 14:25:11 +0000 (Wed, 18 May 2011) | 1 line Changed paths: M /trunk/src/inp_str.c [src/inp_str.c] Improved comment. ------------------------------------------------------------------------ r7702 | vlefevre | 2011-05-18 14:18:41 +0000 (Wed, 18 May 2011) | 1 line Changed paths: M /trunk/src/fits_s.h [src/fits_s.h] Improved comment. ------------------------------------------------------------------------ r7701 | vlefevre | 2011-05-18 14:09:54 +0000 (Wed, 18 May 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r7700 | vlefevre | 2011-05-18 14:09:05 +0000 (Wed, 18 May 2011) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Avoid a warning from mpfrlint. ------------------------------------------------------------------------ r7699 | vlefevre | 2011-05-18 13:09:33 +0000 (Wed, 18 May 2011) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Consistency change in the copyright notice. ------------------------------------------------------------------------ r7698 | vlefevre | 2011-05-18 11:09:30 +0000 (Wed, 18 May 2011) | 1 line Changed paths: M /trunk/tests/tsqr.c [tests/tsqr.c] Added a note in the check_mpn_sqr error message. ------------------------------------------------------------------------ r7697 | vlefevre | 2011-05-18 10:59:48 +0000 (Wed, 18 May 2011) | 2 lines Changed paths: M /trunk/tests/tsqr.c [tests/tsqr.c] Added a test of mpn_sqr concerning a bug seen with GCC 4.5.2 and GMP 5.0.1 on m68k (m68000 target). ------------------------------------------------------------------------ r7696 | vlefevre | 2011-05-17 14:25:37 +0000 (Tue, 17 May 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a note about a texinfo bug. ------------------------------------------------------------------------ r7695 | vlefevre | 2011-05-13 15:58:57 +0000 (Fri, 13 May 2011) | 1 line Changed paths: M /trunk/src/Makefile.am M /trunk/src/fits_intmax.c M /trunk/src/fits_uintmax.c M /trunk/src/get_sj.c M /trunk/src/get_uj.c M /trunk/src/mpfr-impl.h A /trunk/src/mpfr-intmax.h M /trunk/src/set_sj.c M /trunk/src/set_uj.c M /trunk/src/vasprintf.c M /trunk/tests/tfits.c M /trunk/tests/tfprintf.c M /trunk/tests/tget_sj.c M /trunk/tests/tprintf.c M /trunk/tests/tset_sj.c Added mpfr-intmax.h header. ------------------------------------------------------------------------ r7694 | vlefevre | 2011-05-13 15:19:50 +0000 (Fri, 13 May 2011) | 1 line Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/tests/tstdint.c M /trunk/tests/tvalist.c Started to support mpfr_exp_t defined as intmax_t (_MPFR_EXP_FORMAT==4). ------------------------------------------------------------------------ r7693 | vlefevre | 2011-05-13 11:52:28 +0000 (Fri, 13 May 2011) | 2 lines Changed paths: M /trunk/NEWS [NEWS] Added that the mpfr.h header can be included several times, while still supporting optional functions. ------------------------------------------------------------------------ r7692 | vlefevre | 2011-05-13 11:48:13 +0000 (Fri, 13 May 2011) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Document what to do if mpfr.h can be included multiple times (fixes MPFR bug #9653). ------------------------------------------------------------------------ r7690 | vlefevre | 2011-05-12 15:29:24 +0000 (Thu, 12 May 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a note to run tests with -D_MPFR_PREC_FORMAT=2. ------------------------------------------------------------------------ r7689 | vlefevre | 2011-05-12 14:10:39 +0000 (Thu, 12 May 2011) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Exponent properties: corrected comments and removed obsolete mp_exp_unsigned_t definition (was internal only). ------------------------------------------------------------------------ r7688 | vlefevre | 2011-05-12 13:57:02 +0000 (Thu, 12 May 2011) | 4 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/src/vasprintf.c [src/{mpfr.h,mpfr-impl.h,vasprintf.c}] Clean-up and improvement of definitions related to mpfr_exp_t. MPFR can now be built with -D_MPFR_PREC_FORMAT=2 to have mpfr_prec_t and mpfr_exp_t defined as an int. ------------------------------------------------------------------------ r7687 | vlefevre | 2011-05-12 12:40:39 +0000 (Thu, 12 May 2011) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Fixed spaces in a comment. ------------------------------------------------------------------------ r7686 | vlefevre | 2011-05-12 12:36:13 +0000 (Thu, 12 May 2011) | 3 lines Changed paths: M /trunk M /trunk/src/add1sp.c M /trunk/tests/tadd1sp.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tgmpop.c M /trunk/tests/tpow_z.c M /trunk/tests/tset_sj.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/turandom.c Fixed printf's calls: support the case where mpfr_prec_t is not a long (or unsigned long). [merged changeset r7643 from the exp-int branch] ------------------------------------------------------------------------ r7685 | vlefevre | 2011-05-12 12:30:41 +0000 (Thu, 12 May 2011) | 5 lines Changed paths: M /trunk M /trunk/src/strtofr.c [src/strtofr.c] Support the case where mpfr_exp_t < long; mpfr_exp_t is currently defined as mp_exp_t, which comes from GMP, and GMP currently defines mp_exp_t as a long, except on Cray (never tested for MPFR). But this may change in the future (possibly as an option)... [merged changeset r7642 from the exp-int branch] ------------------------------------------------------------------------ r7684 | vlefevre | 2011-05-12 12:21:49 +0000 (Thu, 12 May 2011) | 2 lines Changed paths: M /trunk M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added missing parentheses in MPFR_SADD_OVERFLOW (fortunately the current MPFR code was not affected). ------------------------------------------------------------------------ r7683 | vlefevre | 2011-05-12 12:18:38 +0000 (Thu, 12 May 2011) | 1 line Changed paths: M /trunk M /trunk/tests/tpow_z.c [tests/tpow_z.c] More details for a test in case of failure. ------------------------------------------------------------------------ r7682 | vlefevre | 2011-05-12 12:16:01 +0000 (Thu, 12 May 2011) | 5 lines Changed paths: M /trunk M /trunk/src/sub1.c [src/sub1.c] Fixed several bugs: integer overflows and potential out-of-bound pointers. They might be visible on particular platforms, with a particular configuration (e.g. 64-bit limbs and 32-bit exponent type) or particular compiler options (to check such overflows). [merged changesets r7637-7638 from the exp-int branch] ------------------------------------------------------------------------ r7679 | vlefevre | 2011-05-11 13:50:01 +0000 (Wed, 11 May 2011) | 1 line Changed paths: M /trunk/tests/tsin.c [tests/tsin.c] Added a test (it failed before the fix in r7308). ------------------------------------------------------------------------ r7678 | vlefevre | 2011-05-11 00:07:05 +0000 (Wed, 11 May 2011) | 10 lines Changed paths: M /trunk/src/const_log2.c M /trunk/src/const_pi.c M /trunk/src/free_cache.c M /trunk/src/mpfr-impl.h Fixed constants pi and log(2) computation when logging is used: When MPFR is built with logging support, these two constants are used by the logging functions (via mpfr_fprintf, then mpfr_log, for the base conversion). Since the mpfr_cache function isn't re-entrant when working on the same cache, we need to define two caches for each constant. Otherwise the constants could be incorrect; for instance, "MPFR_LOG_ALL=1 ./tconst_pi" was failing. Note: the bug was introduced with the new logging system from r7575 for MPFR 3.1.0, based on mpfr_fprintf instead of mpfr_out_str (which doesn't depend on mpfr_log). ------------------------------------------------------------------------ r7676 | vlefevre | 2011-05-09 12:03:20 +0000 (Mon, 09 May 2011) | 2 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] Replaced atoi by strtoul to read the seed from GMP_CHECK_RANDOMIZE, as it is an unsigned long. ------------------------------------------------------------------------ r7674 | vlefevre | 2011-05-09 11:17:43 +0000 (Mon, 09 May 2011) | 2 lines Changed paths: M /trunk/tests/texp.c [tests/texp.c] Fixed the test comparing mpfr_exp_2 and mpfr_exp_3: filter out 0, as it is handled correctly only by mpfr_exp. ------------------------------------------------------------------------ r7672 | vlefevre | 2011-05-06 13:30:28 +0000 (Fri, 06 May 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Completed the note to run tests under gdb. ------------------------------------------------------------------------ r7671 | vlefevre | 2011-05-06 12:50:43 +0000 (Fri, 06 May 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a note to run tests under gdb. ------------------------------------------------------------------------ r7670 | zimmerma | 2011-05-06 12:31:24 +0000 (Fri, 06 May 2011) | 2 lines Changed paths: M /trunk/doc/README.dev [README.dev] added hint for logging ------------------------------------------------------------------------ r7667 | vlefevre | 2011-05-04 23:46:17 +0000 (Wed, 04 May 2011) | 6 lines Changed paths: M /trunk/src/atan.c [src/atan.c] Fixed bug in mpfr_atan: mpfr_check_range was called on the unrounded result (no longer allocated) instead of the rounded result. Consequence of this bug: possible incorrect or invalid result and/or incorrect flags if either the unrounded result or rounded result is not in the current exponent range. Or possibly worse if the memory used by the unrounded result is modified before the return of the function. ------------------------------------------------------------------------ r7666 | vlefevre | 2011-05-04 23:25:24 +0000 (Wed, 04 May 2011) | 1 line Changed paths: M /trunk/tests/tatan.c [tests/tatan.c] Corrected a comment. ------------------------------------------------------------------------ r7665 | vlefevre | 2011-05-04 23:20:18 +0000 (Wed, 04 May 2011) | 2 lines Changed paths: M /trunk/tests/tatan.c [tests/tatan.c] Added a testcase showing a failure of mpfr_atan in a reduced exponent range. ------------------------------------------------------------------------ r7664 | vlefevre | 2011-05-04 22:04:17 +0000 (Wed, 04 May 2011) | 1 line Changed paths: M /trunk/src/const_pi.c [src/const_pi.c] Removed useless assignment. ------------------------------------------------------------------------ r7663 | zimmerma | 2011-05-04 21:58:12 +0000 (Wed, 04 May 2011) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [mpfr-impl.h] fixed typo ------------------------------------------------------------------------ r7661 | vlefevre | 2011-05-03 17:26:31 +0000 (Tue, 03 May 2011) | 5 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/mul.c [src/mpfr-impl.h] In MPFR_RNDRAW_GEN, do not try to compute the sticky bit when not necessary (directed mode with rb = 1). [src/mul.c] FIXME comment: with the change in MPFR_RNDRAW_GEN, uninitialized data are no longer read; there's still something wrong, at least with the code documentation, though. ------------------------------------------------------------------------ r7660 | vlefevre | 2011-05-03 13:59:19 +0000 (Tue, 03 May 2011) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Updated the FIXME comment. ------------------------------------------------------------------------ r7659 | vlefevre | 2011-05-03 13:51:52 +0000 (Tue, 03 May 2011) | 6 lines Changed paths: M /trunk/src/mul.c M /trunk/tests/tmul.c Bug in mpfr_mul: a call mpfr_mulhigh_n(pointers..., n) where n is some size is done, but the mpfr_mul code assumes a result whose size can be arbitrarily larger, thus may depend on uninitialised data. * [src/mul.c] Added a FIXME comment. * [tests/tmul.c] Added a corresponding test. The result is not checked but valgrind complains of the use of uninitialised value(s). ------------------------------------------------------------------------ r7658 | vlefevre | 2011-05-03 13:17:04 +0000 (Tue, 03 May 2011) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] MPFR_RNDRAW_GEN: added other missing parentheses. ------------------------------------------------------------------------ r7657 | vlefevre | 2011-05-03 13:14:25 +0000 (Tue, 03 May 2011) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] MPFR_RNDRAW_GEN: added missing parentheses. ------------------------------------------------------------------------ r7656 | vlefevre | 2011-05-03 12:38:50 +0000 (Tue, 03 May 2011) | 3 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Logging: do not take into account the Ziv loops due to logging (i.e. used by the MPFR functions called by the mpfr_fprintf in LOG_PRINT). ------------------------------------------------------------------------ r7655 | vlefevre | 2011-05-03 12:23:23 +0000 (Tue, 03 May 2011) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Avoid recursive logging for MPFR_ZIV_* macros too, and fixed type for the output of the precision. ------------------------------------------------------------------------ r7654 | vlefevre | 2011-05-03 11:11:47 +0000 (Tue, 03 May 2011) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Avoid recursive logging (not wanted and freezes MPFR). ------------------------------------------------------------------------ r7652 | vlefevre | 2011-05-03 07:34:04 +0000 (Tue, 03 May 2011) | 1 line Changed paths: M /trunk/src/rec_sqrt.c [src/rec_sqrt.c] Improved the comment added in r7651. ------------------------------------------------------------------------ r7651 | vlefevre | 2011-05-02 13:46:38 +0000 (Mon, 02 May 2011) | 1 line Changed paths: M /trunk/src/rec_sqrt.c [src/rec_sqrt.c] Fixed the buffer overflow (bug 12553). ------------------------------------------------------------------------ r7650 | vlefevre | 2011-05-02 13:26:29 +0000 (Mon, 02 May 2011) | 4 lines Changed paths: M /trunk/src/rec_sqrt.c [src/rec_sqrt.c] Added an assertion to avoid a buffer overflow (mpn_add_1 and mpn_sub_1 don't support size = 0). It sometimes fails, and this is the following bug: https://gforge.inria.fr/tracker/index.php?func=detail&aid=12553&group_id=136&atid=619 ------------------------------------------------------------------------ r7649 | vlefevre | 2011-05-02 13:01:30 +0000 (Mon, 02 May 2011) | 2 lines Changed paths: M /trunk/src/rec_sqrt.c [src/rec_sqrt.c] Added a comment about a buffer overflow. Bug report: https://gforge.inria.fr/tracker/index.php?func=detail&aid=12553&group_id=136&atid=619 ------------------------------------------------------------------------ r7648 | vlefevre | 2011-05-02 10:49:33 +0000 (Mon, 02 May 2011) | 1 line Changed paths: M /trunk/tests/tvalist.c [tests/tvalist.c] Make sure that fct is used (avoid a warning). ------------------------------------------------------------------------ r7647 | vlefevre | 2011-05-02 10:36:08 +0000 (Mon, 02 May 2011) | 2 lines Changed paths: M /trunk/tests/tsin_cos.c [tests/tsin_cos.c] status_f and status were not read (compared) in coverage_01032011, yielding a warning. ------------------------------------------------------------------------ r7646 | vlefevre | 2011-05-02 10:34:06 +0000 (Mon, 02 May 2011) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Avoid a spurious warning with some use of MPFR_BLOCK. ------------------------------------------------------------------------ r7645 | vlefevre | 2011-05-02 10:13:17 +0000 (Mon, 02 May 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added command to test with valgrind. ------------------------------------------------------------------------ r7644 | vlefevre | 2011-05-01 01:45:29 +0000 (Sun, 01 May 2011) | 6 lines Changed paths: M /trunk/Makefile.am M /trunk/configure.ac Added "make dist" support for -dev MPFR versions by distributing the tests/data files in the tarball for such MPFR versions ("make check" fails if some data file couldn't be read for such versions). * configure.ac: add a Makefile variable DATAFILES, which contains the list of the tests/data files if the MPFR version ends with "-dev". * Makefile.am: add $(DATAFILES) to EXTRA_DIST. ------------------------------------------------------------------------ r7640 | vlefevre | 2011-04-29 11:33:48 +0000 (Fri, 29 Apr 2011) | 2 lines Changed paths: M /trunk/tests/trint.c [tests/trint.c] Removed a useless pointer cast (in general, such casts are either useless or incorrect, as breaking aliasing rules). ------------------------------------------------------------------------ r7636 | vlefevre | 2011-04-28 12:54:20 +0000 (Thu, 28 Apr 2011) | 1 line Changed paths: M /trunk/src/cmp2.c [src/cmp2.c] Added an assertion. ------------------------------------------------------------------------ r7634 | vlefevre | 2011-04-18 14:53:03 +0000 (Mon, 18 Apr 2011) | 5 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Correction of problems triggering the warning "warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body" with autoconf 2.68: * Fixed missing quoting in an AC_RUN_IFELSE. * Added an AC_LANG_SOURCE in another AC_RUN_IFELSE. ------------------------------------------------------------------------ r7633 | vlefevre | 2011-04-18 12:11:10 +0000 (Mon, 18 Apr 2011) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] s/can not/cannot/ ------------------------------------------------------------------------ r7632 | vlefevre | 2011-04-18 12:09:25 +0000 (Mon, 18 Apr 2011) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Added comment about the warning: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ------------------------------------------------------------------------ r7631 | vlefevre | 2011-04-15 12:35:11 +0000 (Fri, 15 Apr 2011) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Use conventional quotes. ------------------------------------------------------------------------ r7630 | vlefevre | 2011-04-15 12:15:16 +0000 (Fri, 15 Apr 2011) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Added a comment. ------------------------------------------------------------------------ r7625 | vlefevre | 2011-04-12 08:17:39 +0000 (Tue, 12 Apr 2011) | 3 lines Changed paths: M /trunk/src/asin.c M /trunk/tests/tasin.c [src/asin.c] Fixed bug in mpfr_asin for x = 1 or -1 in extremely reduced exponent range (when pi is not representable, but pi/2 is). [tests/tasin.c] Added testcase. ------------------------------------------------------------------------ r7624 | vlefevre | 2011-04-08 15:32:40 +0000 (Fri, 08 Apr 2011) | 2 lines Changed paths: M /trunk/TODO [TODO] Removed "allow generic tests to run with a restricted exponent range" (this was done in r7470). ------------------------------------------------------------------------ r7623 | zimmerma | 2011-04-08 13:18:37 +0000 (Fri, 08 Apr 2011) | 2 lines Changed paths: M /trunk/TODO [TODO] added item ------------------------------------------------------------------------ r7621 | vlefevre | 2011-04-05 08:47:39 +0000 (Tue, 05 Apr 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r7620 | vlefevre | 2011-04-05 08:45:37 +0000 (Tue, 05 Apr 2011) | 1 line Changed paths: M /trunk/INSTALL M /trunk/doc/mpfr.texi [INSTALL,doc/mpfr.texi] Say that mpfr@loria.fr is the MPFR mailing-list. ------------------------------------------------------------------------ r7611 | vlefevre | 2011-04-01 14:28:45 +0000 (Fri, 01 Apr 2011) | 4 lines Changed paths: M /trunk/configure.ac [configure.ac] Removed the -Wno-format GCC option, which was added when logging was used, as it is no longer needed after the changes done in r7575,7578 (mpfr_fprintf is now used for logging instead of fprintf with the Glibc register_printf_function extension). ------------------------------------------------------------------------ r7607 | vlefevre | 2011-03-29 11:49:11 +0000 (Tue, 29 Mar 2011) | 1 line Changed paths: M /trunk/tests/reuse.c [tests/reuse.c] Added a comment. ------------------------------------------------------------------------ r7606 | vlefevre | 2011-03-29 11:45:40 +0000 (Tue, 29 Mar 2011) | 4 lines Changed paths: M /trunk/src/pow.c [src/pow.c] Fixed a bug in mpfr_pow_general when an argument is reused (e.g. mpfr_pow(x,x,y,rnd) or mpfr_pow(y,x,y,rnd)) and the result is negative, thus when x is negative and y is a huge odd integer ("huge" because not-too-large integers are currently handled by mpfr_pow_z). ------------------------------------------------------------------------ r7605 | vlefevre | 2011-03-29 11:36:49 +0000 (Tue, 29 Mar 2011) | 2 lines Changed paths: M /trunk/tests/reuse.c [tests/reuse.c] Added a mpfr_pow(x,x,y,rnd) test showing a failure when x is negative and y is a huge odd integer. ------------------------------------------------------------------------ r7604 | vlefevre | 2011-03-29 11:10:29 +0000 (Tue, 29 Mar 2011) | 1 line Changed paths: M /trunk/src/subnormal.c [src/subnormal.c] Improved a comment. ------------------------------------------------------------------------ r7603 | vlefevre | 2011-03-29 11:01:33 +0000 (Tue, 29 Mar 2011) | 1 line Changed paths: M /trunk/tests/reuse.c [tests/reuse.c] Test also negative numbers. ------------------------------------------------------------------------ r7602 | vlefevre | 2011-03-29 10:52:35 +0000 (Tue, 29 Mar 2011) | 1 line Changed paths: M /trunk/tests/reuse.c [tests/reuse.c] GNU coding style. ------------------------------------------------------------------------ r7601 | vlefevre | 2011-03-29 10:27:45 +0000 (Tue, 29 Mar 2011) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Updated a comment. ------------------------------------------------------------------------ r7600 | vlefevre | 2011-03-29 10:20:58 +0000 (Tue, 29 Mar 2011) | 1 line Changed paths: M /trunk/src/powerof2.c [src/powerof2.c] Updated comment. ------------------------------------------------------------------------ r7599 | vlefevre | 2011-03-29 09:30:11 +0000 (Tue, 29 Mar 2011) | 1 line Changed paths: M /trunk/src/powerof2.c [src/powerof2.c] More detailed comment. ------------------------------------------------------------------------ r7595 | zimmerma | 2011-03-21 10:52:35 +0000 (Mon, 21 Mar 2011) | 2 lines Changed paths: M /trunk/tools/cfarm.sh [cfarm.sh] complete tests with mpfr-3.0.1-rc1 ------------------------------------------------------------------------ r7592 | vlefevre | 2011-03-21 02:43:09 +0000 (Mon, 21 Mar 2011) | 2 lines Changed paths: M /trunk/src/pow_z.c [src/pow_z.c] Fixed bug bug20110320, that occurs in extremely reduced exponent range (more precisely, if 1 is out of range, i.e. emin > 1). ------------------------------------------------------------------------ r7591 | vlefevre | 2011-03-21 02:32:07 +0000 (Mon, 21 Mar 2011) | 1 line Changed paths: M /trunk/tests/tpow.c [tests/tpow.c] Added testcase bug20110320. ------------------------------------------------------------------------ r7590 | vlefevre | 2011-03-21 02:13:16 +0000 (Mon, 21 Mar 2011) | 1 line Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Added debug information. ------------------------------------------------------------------------ r7589 | zimmerma | 2011-03-20 19:24:24 +0000 (Sun, 20 Mar 2011) | 2 lines Changed paths: A /trunk/tools/cfarm.sh [cfarm.sh] shell script to test MPFR on the GCC Compile Farm ------------------------------------------------------------------------ r7587 | zimmerma | 2011-03-18 12:30:22 +0000 (Fri, 18 Mar 2011) | 2 lines Changed paths: M /trunk/src/digamma.c [digamma.c] fixed compiler warning (ISO C90 forbids mixed declarations and code) ------------------------------------------------------------------------ r7581 | vlefevre | 2011-03-17 15:44:58 +0000 (Thu, 17 Mar 2011) | 3 lines Changed paths: M /trunk/NEWS [NEWS] Added a note about the fix in the mpfr_subnormalize implementation, in case users would think the old behavior was chosen on purpose. ------------------------------------------------------------------------ r7578 | vlefevre | 2011-03-17 09:30:32 +0000 (Thu, 17 Mar 2011) | 3 lines Changed paths: M /trunk/src/div_ui.c Completed r7575 (Get rid of deprecated register_printf_function function in logging system): there was a remaining old MPFR_LOG_FUNC in "src/div_ui.c". Now, the MPFR source no longer contains '%#R'. ------------------------------------------------------------------------ r7577 | vlefevre | 2011-03-17 08:45:21 +0000 (Thu, 17 Mar 2011) | 1 line Changed paths: M /trunk/src/mul_2si.c [src/mul_2si.c] Removed trailing whitespace. ------------------------------------------------------------------------ r7576 | vlefevre | 2011-03-17 08:43:54 +0000 (Thu, 17 Mar 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Fixed variable name from r7575. ------------------------------------------------------------------------ r7575 | thevenyp | 2011-03-17 06:30:11 +0000 (Thu, 17 Mar 2011) | 1 line Changed paths: M /trunk/doc/README.dev M /trunk/src/acos.c M /trunk/src/acosh.c M /trunk/src/add.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/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/cbrt.c M /trunk/src/const_catalan.c M /trunk/src/const_log2.c M /trunk/src/const_pi.c M /trunk/src/cos.c M /trunk/src/cosh.c M /trunk/src/d_div.c M /trunk/src/d_sub.c M /trunk/src/digamma.c M /trunk/src/div.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/eint.c M /trunk/src/erf.c M /trunk/src/erfc.c M /trunk/src/exp.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/fma.c M /trunk/src/fms.c M /trunk/src/gamma.c M /trunk/src/hypot.c M /trunk/src/jn.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/logging.c M /trunk/src/modf.c M /trunk/src/mpfr-impl.h M /trunk/src/mul.c M /trunk/src/mul_2si.c M /trunk/src/mul_2ui.c M /trunk/src/mul_d.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/rec_sqrt.c M /trunk/src/root.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/sqr.c M /trunk/src/sqrt.c M /trunk/src/sub.c M /trunk/src/sub_d.c M /trunk/src/sub_ui.c M /trunk/src/tan.c M /trunk/src/tanh.c M /trunk/src/ui_div.c M /trunk/src/ui_sub.c M /trunk/src/yn.c M /trunk/src/zeta.c Get rid of deprecated register_printf_function function in logging system. ------------------------------------------------------------------------ r7573 | vlefevre | 2011-03-15 15:15:22 +0000 (Tue, 15 Mar 2011) | 3 lines Changed paths: M /trunk/src/erfc.c [src/erfc.c] Fixed a problem (incorrect flags or possible crash) in extremely reduced exponent range. Support the case where mpfr_prec_t is larger than a long. ------------------------------------------------------------------------ r7572 | vlefevre | 2011-03-15 15:10:40 +0000 (Tue, 15 Mar 2011) | 2 lines Changed paths: M /trunk/tests/terf.c [tests/terf.c] Added some tests of the flags (no failure in them, thanks to the mpfr_cmp_si (x, -27282) in erfc.c, for 1b). ------------------------------------------------------------------------ r7571 | vlefevre | 2011-03-15 11:23:25 +0000 (Tue, 15 Mar 2011) | 3 lines Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] In failure messages, output the name of the tested function. This is useful for programs that have generic tests for several functions, such as terf. ------------------------------------------------------------------------ r7570 | vlefevre | 2011-03-15 10:01:59 +0000 (Tue, 15 Mar 2011) | 2 lines Changed paths: M /trunk/tests/terf.c [tests/terf.c] Added a testcase showing a failure due to bad flags in a reduced exponent range. ------------------------------------------------------------------------ r7568 | vlefevre | 2011-03-14 09:44:21 +0000 (Mon, 14 Mar 2011) | 1 line Changed paths: M /trunk/tests/terf.c [tests/terf.c] Changed mp_exp_t (r7564) to mpfr_exp_t. ------------------------------------------------------------------------ r7567 | vlefevre | 2011-03-11 15:45:48 +0000 (Fri, 11 Mar 2011) | 2 lines Changed paths: M /trunk/src/erfc.c [src/erfc.c] Added an assertion for future platforms (e.g. with 128-bit exponent type). ------------------------------------------------------------------------ r7566 | vlefevre | 2011-03-11 15:37:07 +0000 (Fri, 11 Mar 2011) | 1 line Changed paths: M /trunk/src/erfc.c [src/erfc.c] Fixed r7564 (comparison must really be signed). ------------------------------------------------------------------------ r7565 | vlefevre | 2011-03-11 15:23:59 +0000 (Fri, 11 Mar 2011) | 1 line Changed paths: M /trunk/tests/terf.c [tests/terf.c] Fixed test added in r7564 for 32-bit machines. ------------------------------------------------------------------------ r7564 | zimmerma | 2011-03-11 15:09:06 +0000 (Fri, 11 Mar 2011) | 3 lines Changed paths: M /trunk/src/erfc.c M /trunk/tests/terf.c [erfc.c] fixed bug found by Pascal Molin: when we increase the exponent range on 64-bit machines, erfc() wrongly underflows for x >= 27282 ------------------------------------------------------------------------ r7561 | vlefevre | 2011-03-10 14:48:28 +0000 (Thu, 10 Mar 2011) | 2 lines Changed paths: M /trunk/src/jn.c [src/jn.c] Fixed the MPFR_FAST_COMPUTE_IF_SMALL_INPUT test for n == 1 in underflow cases. ------------------------------------------------------------------------ r7560 | vlefevre | 2011-03-10 13:46:23 +0000 (Thu, 10 Mar 2011) | 1 line Changed paths: M /trunk/src/jn.c [src/jn.c] No need for mpfr_clear_flags (already done in MPFR_BLOCK). ------------------------------------------------------------------------ r7559 | vlefevre | 2011-03-10 13:44:47 +0000 (Thu, 10 Mar 2011) | 1 line Changed paths: M /trunk/src/jn.c [src/jn.c] Check that no intermediate underflow or overflow occurs. ------------------------------------------------------------------------ r7558 | vlefevre | 2011-03-10 13:30:33 +0000 (Thu, 10 Mar 2011) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] For the Bessel function, say that the algorithm assumes that no underflows/overflows occur. ------------------------------------------------------------------------ r7556 | vlefevre | 2011-03-09 15:54:42 +0000 (Wed, 09 Mar 2011) | 1 line Changed paths: M /trunk/src/gamma.c [src/gamma.c] More robust code (for the change in r7551). ------------------------------------------------------------------------ r7555 | vlefevre | 2011-03-09 15:52:33 +0000 (Wed, 09 Mar 2011) | 1 line Changed paths: M /trunk/tests/tget_d.c M /trunk/tests/tgmpop.c M /trunk/tests/tsin_cos.c Removed trailing spaces. ------------------------------------------------------------------------ r7553 | vlefevre | 2011-03-09 15:38:58 +0000 (Wed, 09 Mar 2011) | 2 lines Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Added feature for MPFR_SUSPICIOUS_OVERFLOW to avoid spurious failures by defining TGENERIC_SO_TEST to some well-chosen test. ------------------------------------------------------------------------ r7552 | vlefevre | 2011-03-09 15:35:17 +0000 (Wed, 09 Mar 2011) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Added a comment about MPFR_SUSPICIOUS_OVERFLOW. ------------------------------------------------------------------------ r7551 | vlefevre | 2011-03-09 15:30:46 +0000 (Wed, 09 Mar 2011) | 1 line Changed paths: M /trunk/src/gamma.c [src/gamma.c] Fixed the special code for tiny values. ------------------------------------------------------------------------ r7550 | vlefevre | 2011-03-09 15:29:44 +0000 (Wed, 09 Mar 2011) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Corrected a test and added other tests for tiny x > 0. ------------------------------------------------------------------------ r7549 | vlefevre | 2011-03-09 14:57:05 +0000 (Wed, 09 Mar 2011) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Updated a comment. ------------------------------------------------------------------------ r7548 | vlefevre | 2011-03-09 14:07:54 +0000 (Wed, 09 Mar 2011) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Restore emax. ------------------------------------------------------------------------ r7547 | vlefevre | 2011-03-09 14:03:40 +0000 (Wed, 09 Mar 2011) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Do not initialize x twice. ------------------------------------------------------------------------ r7546 | vlefevre | 2011-03-09 13:44:02 +0000 (Wed, 09 Mar 2011) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Do not run the same test twice if emin = MPFR_EMIN_MIN. ------------------------------------------------------------------------ r7545 | vlefevre | 2011-03-09 13:41:51 +0000 (Wed, 09 Mar 2011) | 3 lines Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Added tests for tiny values, showing bugs in special code for such values. Run tgamma with at least an argument to get all the failures. ------------------------------------------------------------------------ r7542 | vlefevre | 2011-03-07 15:17:24 +0000 (Mon, 07 Mar 2011) | 8 lines Changed paths: M /trunk/src/jn.c [src/jn.c] Fixed mpfr_jn_k0() internal function: * The prototype was incorrect: one needs "unsigned long" for n (actually absn), in case absn is equal to - LONG_MIN. * The formula and the code were incorrect for n = 0, due to the division by n; it was yielding k0 = ULONG_MAX. The case n = 0 is now handled separately. * Small optimization: division by log(2) -> multiplication by 1/log(2). ------------------------------------------------------------------------ r7541 | vlefevre | 2011-03-07 14:07:47 +0000 (Mon, 07 Mar 2011) | 4 lines Changed paths: M /trunk/src/jn.c [src/jn.c] Avoid integer overflow in the computation of the initial working precision. This makes several tests fail, but logging shows that previous non-failure was due to undefined behavior due to huge k0 computed by mpfr_jn_k0. ------------------------------------------------------------------------ r7539 | vlefevre | 2011-03-07 13:03:30 +0000 (Mon, 07 Mar 2011) | 1 line Changed paths: M /trunk/src/jn.c [src/jn.c] Added a comment for mpfrlint. ------------------------------------------------------------------------ r7538 | vlefevre | 2011-03-07 13:01:36 +0000 (Mon, 07 Mar 2011) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Change of r7515: any mpfr_clear_* can be mentioned. ------------------------------------------------------------------------ r7537 | vlefevre | 2011-03-07 11:08:08 +0000 (Mon, 07 Mar 2011) | 1 line Changed paths: M /trunk/src/jn.c [src/jn.c] Added comments and fixed a bug. ------------------------------------------------------------------------ r7536 | vlefevre | 2011-03-07 10:57:44 +0000 (Mon, 07 Mar 2011) | 3 lines Changed paths: M /trunk/src/jn.c [src/jn.c] Detect incorrect error analysis (that may have been the goal of the assertion corrected in r7534, but this wasn't documented). Added a FIXME comment. ------------------------------------------------------------------------ r7534 | vlefevre | 2011-03-07 10:40:24 +0000 (Mon, 07 Mar 2011) | 5 lines Changed paths: M /trunk/src/jn.c [src/jn.c] Fixed incorrect assertion. It could occur only in precision >= 2^(1+s/2), where s is the bitsize of a "long", e.g. p >= 2^17 = 131072 on most 32-bit machines and p >= 2^33 = 8,589,934,592 on most 64-bit machines. Only some arguments are affected (|z| between around 2^(s/2) and p/2). ------------------------------------------------------------------------ r7533 | vlefevre | 2011-03-07 10:13:34 +0000 (Mon, 07 Mar 2011) | 1 line Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] Added a comment. ------------------------------------------------------------------------ r7532 | vlefevre | 2011-03-07 10:07:44 +0000 (Mon, 07 Mar 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Corrected a typo. ------------------------------------------------------------------------ r7530 | vlefevre | 2011-03-06 10:03:21 +0000 (Sun, 06 Mar 2011) | 1 line Changed paths: M /trunk/src/jn.c [src/jn.c] Improved underflow detection. Still not complete, though. ------------------------------------------------------------------------ r7529 | vlefevre | 2011-03-06 09:51:13 +0000 (Sun, 06 Mar 2011) | 1 line Changed paths: M /trunk/src/jn.c [src/jn.c] Comments: English usage. ------------------------------------------------------------------------ r7528 | vlefevre | 2011-03-05 00:19:31 +0000 (Sat, 05 Mar 2011) | 1 line Changed paths: M /trunk/tests/trint.c [tests/trint.c] mantissa -> significand (standard and correct term). ------------------------------------------------------------------------ r7527 | vlefevre | 2011-03-05 00:17:45 +0000 (Sat, 05 Mar 2011) | 1 line Changed paths: M /trunk/tests/trint.c [tests/trint.c] Do not use snprintf (C99). ------------------------------------------------------------------------ r7526 | vlefevre | 2011-03-04 23:20:51 +0000 (Fri, 04 Mar 2011) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Added a test to check that the snprintf function (C99) is not used. ------------------------------------------------------------------------ r7525 | demengeo | 2011-03-04 17:57:53 +0000 (Fri, 04 Mar 2011) | 1 line Changed paths: M /trunk/tests/trint.c Previous extented coverage test in trint.c now self generate tests in and compare values ------------------------------------------------------------------------ r7524 | demengeo | 2011-03-04 14:14:13 +0000 (Fri, 04 Mar 2011) | 1 line Changed paths: M /trunk/tests/trint.c Extend test coverage of mpfr_rint to 100% ------------------------------------------------------------------------ r7523 | zimmerma | 2011-03-03 19:27:37 +0000 (Thu, 03 Mar 2011) | 2 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] same as previous commits ------------------------------------------------------------------------ r7522 | zimmerma | 2011-03-03 19:26:07 +0000 (Thu, 03 Mar 2011) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] ibidem (see previous commit log) ------------------------------------------------------------------------ r7521 | zimmerma | 2011-03-03 19:24:25 +0000 (Thu, 03 Mar 2011) | 2 lines Changed paths: M /trunk/src/add1.c [add1.c] ibidem (see previous commit log) ------------------------------------------------------------------------ r7520 | vlefevre | 2011-03-03 18:54:10 +0000 (Thu, 03 Mar 2011) | 3 lines Changed paths: M /trunk/src/add.c M /trunk/src/sub.c [src/add.c,src/sub.c] Split assertions for C90 compilers, to avoid too long strings generated by #expr. Problem seen with: gcc -ansi -pedantic-errors ------------------------------------------------------------------------ r7518 | vlefevre | 2011-03-03 16:18:16 +0000 (Thu, 03 Mar 2011) | 1 line Changed paths: M /trunk/src/yn.c [src/yn.c] Minor change. ------------------------------------------------------------------------ r7517 | vlefevre | 2011-03-03 16:17:36 +0000 (Thu, 03 Mar 2011) | 2 lines Changed paths: M /trunk/src/yn.c [src/yn.c] Extend the exponent range (code not checked concerning internal exceptions, such as overflows, underflows and divby0). ------------------------------------------------------------------------ r7516 | vlefevre | 2011-03-03 15:41:28 +0000 (Thu, 03 Mar 2011) | 1 line Changed paths: M /trunk/src/agm.c [src/agm.c] Added comments (for mpfrlint, in particular). ------------------------------------------------------------------------ r7515 | vlefevre | 2011-03-03 15:40:58 +0000 (Thu, 03 Mar 2011) | 4 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] The use of mpfr_overflow_p, etc. is allowed if mpfr_clear_flags is mentioned (useful for checking purpose at the end of a function, but this needs an explicit mpfr_clear_flags; otherwise MPFR_BLOCK should still be used). ------------------------------------------------------------------------ r7514 | vlefevre | 2011-03-03 15:29:10 +0000 (Thu, 03 Mar 2011) | 1 line Changed paths: M /trunk/src/agm.c [src/agm.c] Completed scaling to avoid intermediate overflow/underflow. ------------------------------------------------------------------------ r7513 | vlefevre | 2011-03-03 12:09:34 +0000 (Thu, 03 Mar 2011) | 3 lines Changed paths: M /trunk/src/agm.c [src/agm.c] Bug fix in error computation: in Ziv's iteration, err kept its value from the previous iteration instead of being reset to 0. Consequence: a possible loss of performance in rare cases. ------------------------------------------------------------------------ r7512 | vlefevre | 2011-03-03 11:30:29 +0000 (Thu, 03 Mar 2011) | 1 line Changed paths: M /trunk/src/cmp2.c [src/cmp2.c] Removed a useless assertion and updated comments. ------------------------------------------------------------------------ r7511 | vlefevre | 2011-03-02 14:05:39 +0000 (Wed, 02 Mar 2011) | 1 line Changed paths: M /trunk/src/agm.c [src/agm.c] Added a FIXME comment. ------------------------------------------------------------------------ r7510 | vlefevre | 2011-03-02 13:58:05 +0000 (Wed, 02 Mar 2011) | 1 line Changed paths: M /trunk/src/agm.c [src/agm.c] Updated exception checking (more informative). ------------------------------------------------------------------------ r7509 | vlefevre | 2011-03-02 13:54:18 +0000 (Wed, 02 Mar 2011) | 2 lines Changed paths: M /trunk/src/agm.c [src/agm.c] Check internal exceptions: the error analysis may be incorrect in case of exception. ------------------------------------------------------------------------ r7508 | vlefevre | 2011-03-02 13:41:36 +0000 (Wed, 02 Mar 2011) | 2 lines Changed paths: M /trunk/src/agm.c [src/agm.c] Implemented scaling to avoid intermediate overflow/underflow (but the tagm test still fails, due to a rounding error this time). ------------------------------------------------------------------------ r7507 | vlefevre | 2011-03-02 10:03:40 +0000 (Wed, 02 Mar 2011) | 1 line Changed paths: M /trunk/tests/tagm.c [tests/tagm.c] Added tests triggering intermediate underflow/overflow. ------------------------------------------------------------------------ r7506 | vlefevre | 2011-03-02 09:15:24 +0000 (Wed, 02 Mar 2011) | 1 line Changed paths: M /trunk/tests/tagm.c [tests/tagm.c] Also test the ternary value and the flags. ------------------------------------------------------------------------ r7505 | vlefevre | 2011-03-02 08:57:31 +0000 (Wed, 02 Mar 2011) | 1 line Changed paths: M /trunk/tests/tagm.c [tests/tagm.c] Corrected values (using Pari). ------------------------------------------------------------------------ r7504 | vlefevre | 2011-03-02 08:36:00 +0000 (Wed, 02 Mar 2011) | 3 lines Changed paths: M /trunk/src/agm.c [src/agm.c] Extend the exponent range. This doesn't make the algorithm correct yet, as intermediate underflow or overflow is still possible in the first multiplication. ------------------------------------------------------------------------ r7503 | demengeo | 2011-03-01 18:10:07 +0000 (Tue, 01 Mar 2011) | 1 line Changed paths: M /trunk/tests/tsin_cos.c Change some functions called in test tsin_cos.c ------------------------------------------------------------------------ r7502 | demengeo | 2011-03-01 17:08:11 +0000 (Tue, 01 Mar 2011) | 1 line Changed paths: M /trunk/tests/tsin_cos.c Extend coverage test of mpfr_sincos_fast to 100% ------------------------------------------------------------------------ r7501 | demengeo | 2011-03-01 15:47:36 +0000 (Tue, 01 Mar 2011) | 1 line Changed paths: M /trunk/tests/tstckintc.c Extend coverage test of mpfr_custom_get_kind to 100% ------------------------------------------------------------------------ r7500 | vlefevre | 2011-02-25 16:39:22 +0000 (Fri, 25 Feb 2011) | 1 line Changed paths: M /trunk/src/jn.c [src/jn.c] Fix: support reduced exponent ranges for small inputs. ------------------------------------------------------------------------ r7499 | vlefevre | 2011-02-25 16:23:48 +0000 (Fri, 25 Feb 2011) | 1 line Changed paths: M /trunk/src/gamma.c [src/gamma.c] Added a comment about an overflow case. ------------------------------------------------------------------------ r7498 | vlefevre | 2011-02-25 16:20:41 +0000 (Fri, 25 Feb 2011) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Added tests in maximum exponent range. ------------------------------------------------------------------------ r7497 | vlefevre | 2011-02-25 16:15:10 +0000 (Fri, 25 Feb 2011) | 2 lines Changed paths: M /trunk/src/gamma.c [src/gamma.c] Fixed flags when x if very small (protect from intermediate overflow). ------------------------------------------------------------------------ r7496 | vlefevre | 2011-02-25 16:08:03 +0000 (Fri, 25 Feb 2011) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Corrected test number. ------------------------------------------------------------------------ r7495 | vlefevre | 2011-02-25 16:07:17 +0000 (Fri, 25 Feb 2011) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Added a test in maximum exponent range. ------------------------------------------------------------------------ r7494 | vlefevre | 2011-02-25 16:02:48 +0000 (Fri, 25 Feb 2011) | 1 line Changed paths: M /trunk/src/gamma.c [src/gamma.c] Fixed inexact flag when x if very small. ------------------------------------------------------------------------ r7493 | vlefevre | 2011-02-25 16:02:04 +0000 (Fri, 25 Feb 2011) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Added tests. ------------------------------------------------------------------------ r7492 | vlefevre | 2011-02-25 15:17:44 +0000 (Fri, 25 Feb 2011) | 2 lines Changed paths: M /trunk/src/gamma.c M /trunk/tests/tgamma.c [src/gamma.c] Fixed a bug occurring in reduced exponent range. [tests/tgamma.c] Added corresponding testcase. ------------------------------------------------------------------------ r7491 | vlefevre | 2011-02-25 14:50:37 +0000 (Fri, 25 Feb 2011) | 2 lines Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] Do not use MPFR_EXP after a mpfr_clear (even though this currently work). ------------------------------------------------------------------------ r7490 | vlefevre | 2011-02-25 14:23:20 +0000 (Fri, 25 Feb 2011) | 2 lines Changed paths: M /trunk/src/rem1.c [src/rem1.c] Fixed mpfr_rem1 in reduced exponent range (the function is actually simplified). ------------------------------------------------------------------------ r7487 | zimmerma | 2011-02-25 07:49:00 +0000 (Fri, 25 Feb 2011) | 2 lines Changed paths: M /trunk/TODO [TODO] added an item ------------------------------------------------------------------------ r7486 | vlefevre | 2011-02-25 02:45:40 +0000 (Fri, 25 Feb 2011) | 1 line Changed paths: M /trunk/src/div_2si.c M /trunk/src/div_2ui.c M /trunk/src/mpfr-impl.h M /trunk/src/mul_2si.c Fixed mpfr_div_2si, mpfr_div_2ui and mpfr_mul_2si in some corner cases. ------------------------------------------------------------------------ r7485 | vlefevre | 2011-02-25 02:38:25 +0000 (Fri, 25 Feb 2011) | 1 line Changed paths: M /trunk/tests/tmul_2exp.c [tests/tmul_2exp.c] Small correction in output (in case of failure). ------------------------------------------------------------------------ r7484 | vlefevre | 2011-02-21 23:41:20 +0000 (Mon, 21 Feb 2011) | 1 line Changed paths: M /trunk/tests/tset_q.c [tests/tset_q.c] Corrections in function prototypes. ------------------------------------------------------------------------ r7483 | demengeo | 2011-02-21 16:17:14 +0000 (Mon, 21 Feb 2011) | 1 line Changed paths: M /trunk/tests/tget_d.c M /trunk/tests/tgmpop.c Remove the use of mpfr_get_default_prec in some coverage test ------------------------------------------------------------------------ r7482 | demengeo | 2011-02-21 15:59:32 +0000 (Mon, 21 Feb 2011) | 1 line Changed paths: M /trunk/tests/tset_q.c Add some coverage test in tests/tset_q.c ------------------------------------------------------------------------ r7481 | demengeo | 2011-02-21 13:07:44 +0000 (Mon, 21 Feb 2011) | 1 line Changed paths: M /trunk/tests/tget_d.c M /trunk/tests/tgmpop.c fixed coding convention of 2 tests functions ------------------------------------------------------------------------ r7480 | zimmerma | 2011-02-19 08:18:28 +0000 (Sat, 19 Feb 2011) | 2 lines Changed paths: M /trunk/tests/tget_d.c [tget_d.c] fixed some compiler errors and warnings ------------------------------------------------------------------------ r7479 | vlefevre | 2011-02-18 15:27:22 +0000 (Fri, 18 Feb 2011) | 3 lines Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Split a printf into several ones to reduce the string length below the 509-byte limit from C90 (useful to avoid an error when testing with gcc -ansi -pedantic-errors). ------------------------------------------------------------------------ r7478 | demengeo | 2011-02-18 15:13:38 +0000 (Fri, 18 Feb 2011) | 1 line Changed paths: M /trunk/tests/tgmpop.c Extend test coverage to 100% on mpfr_z_sub and mpfr_mul_q function ------------------------------------------------------------------------ r7477 | demengeo | 2011-02-18 14:53:44 +0000 (Fri, 18 Feb 2011) | 1 line Changed paths: M /trunk/tests/tget_d.c Extend test coverage on mpfr_get_d_2exp function ------------------------------------------------------------------------ r7476 | vlefevre | 2011-02-18 11:43:30 +0000 (Fri, 18 Feb 2011) | 1 line Changed paths: M /trunk/tests/tmul_2exp.c [tests/tmul_2exp.c] Also test mpfr_div_2si and mpfr_div_2ui (same bug). ------------------------------------------------------------------------ r7475 | vlefevre | 2011-02-18 11:37:39 +0000 (Fri, 18 Feb 2011) | 2 lines Changed paths: M /trunk/tests/tmul_2exp.c [tests/tmul_2exp.c] Added a testcase showing a bug in mpfr_mul_2si (possible intermediate overflow). ------------------------------------------------------------------------ r7474 | vlefevre | 2011-02-18 10:29:13 +0000 (Fri, 18 Feb 2011) | 2 lines Changed paths: M /trunk/src/zeta.c [src/zeta.c] Support zeta(eps) with |eps| very small or 0 in extremely reduced exponent range. ------------------------------------------------------------------------ r7473 | vlefevre | 2011-02-18 09:54:09 +0000 (Fri, 18 Feb 2011) | 2 lines Changed paths: M /trunk/src/atan2.c [src/atan2.c] Fix: the overflow or underflow flag was set in the case x = power of two and y/x overflows or underflows. ------------------------------------------------------------------------ r7472 | vlefevre | 2011-02-18 09:48:15 +0000 (Fri, 18 Feb 2011) | 1 line Changed paths: M /trunk/src/atan2.c [src/atan2.c] Support special cases in extremely reduced exponent range. ------------------------------------------------------------------------ r7471 | vlefevre | 2011-02-18 09:17:14 +0000 (Fri, 18 Feb 2011) | 1 line Changed paths: M /trunk/src/acos.c [src/acos.c] Support acos(0) in extremely reduced exponent range. ------------------------------------------------------------------------ r7470 | vlefevre | 2011-02-17 13:44:57 +0000 (Thu, 17 Feb 2011) | 2 lines Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Added generic tests in a reduced exponent range. This currently makes 10 tests fail on a 64-bit machine. ------------------------------------------------------------------------ r7469 | vlefevre | 2011-02-17 13:43:31 +0000 (Thu, 17 Feb 2011) | 3 lines Changed paths: M /trunk/tests/mpfr-test.h [tests/mpfr-test.h] Defined a SAME_VAL(X,Y) macro to test whether two floating-point data have the same value, seen as an element of the set of the floating-point data (Level 2 in the IEEE 754-2008 standard). ------------------------------------------------------------------------ r7468 | vlefevre | 2011-02-17 13:41:12 +0000 (Thu, 17 Feb 2011) | 3 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Defined a MPFR_EXP_FSPEC macro containing the format specifier for mpfr_eexp_t, to output an exponent with: printf ("%" MPFR_EXP_FSPEC "d", (mpfr_eexp_t) exponent); ------------------------------------------------------------------------ r7467 | vlefevre | 2011-02-17 12:01:57 +0000 (Thu, 17 Feb 2011) | 1 line Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Reformat. ------------------------------------------------------------------------ r7465 | vlefevre | 2011-02-17 11:33:30 +0000 (Thu, 17 Feb 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a warning about whitespace in the mpfr.texi file. ------------------------------------------------------------------------ r7463 | vlefevre | 2011-02-17 11:10:58 +0000 (Thu, 17 Feb 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Fixed spacing for the mpfr.info file. ------------------------------------------------------------------------ r7460 | vlefevre | 2011-02-10 01:31:16 +0000 (Thu, 10 Feb 2011) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Detect the use of mp_ptr and mp_srcptr. ------------------------------------------------------------------------ r7459 | vlefevre | 2011-02-10 01:26:13 +0000 (Thu, 10 Feb 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r7458 | vlefevre | 2011-02-10 01:25:00 +0000 (Thu, 10 Feb 2011) | 1 line Changed paths: M /trunk/src/gmp_op.c [src/gmp_op.c] Added a blank line. ------------------------------------------------------------------------ r7457 | demengeo | 2011-02-09 17:34:50 +0000 (Wed, 09 Feb 2011) | 1 line Changed paths: M /trunk/NEWS M /trunk/TODO M /trunk/doc/mpfr.texi M /trunk/src/gmp_op.c M /trunk/src/mpfr.h M /trunk/tests/tgmpop.c Added mpfr_z_sub (function/test/doc) ------------------------------------------------------------------------ r7455 | vlefevre | 2011-02-09 14:15:10 +0000 (Wed, 09 Feb 2011) | 3 lines Changed paths: M /trunk/src/div.c M /trunk/src/eq.c M /trunk/src/init2.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mulders.c M /trunk/src/rec_sqrt.c M /trunk/src/round_prec.c M /trunk/src/set_d.c M /trunk/src/set_prec.c M /trunk/src/sqrt.c M /trunk/src/urandom.c M /trunk/src/urandomb.c M /trunk/src/vasprintf.c M /trunk/tests/random2.c M /trunk/tune/speed.c M /trunk/tune/tuneup.c Added new types mpfr_limb_ptr and mpfr_limb_srcptr to src/mpfr-impl.h, and replaced mp_ptr and mp_srcptr (GMP internals) by these 2 new types respectively. ------------------------------------------------------------------------ r7453 | vlefevre | 2011-02-08 11:43:39 +0000 (Tue, 08 Feb 2011) | 3 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Fix for Intel's compiler (ICC) under MS Windows: MPFR was incorrectly assuming that ICC had some extensions like under GNU/Linux. This made the MPFR compilation fail. ------------------------------------------------------------------------ r7452 | vlefevre | 2011-02-08 02:48:01 +0000 (Tue, 08 Feb 2011) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Corrected a typo in a comment. ------------------------------------------------------------------------ r7451 | vlefevre | 2011-02-05 13:37:55 +0000 (Sat, 05 Feb 2011) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Removed incorrect note. ------------------------------------------------------------------------ r7450 | zimmerma | 2011-02-05 08:15:42 +0000 (Sat, 05 Feb 2011) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] added hint for VS2008 and Intel compiler v11.1 ------------------------------------------------------------------------ r7448 | vlefevre | 2011-02-03 09:02:05 +0000 (Thu, 03 Feb 2011) | 1 line Changed paths: M /trunk/Makefile.am M /trunk/configure.ac [configure.ac,Makefile.am] Clean-up and depend on GNU Automake 1.11. ------------------------------------------------------------------------ r7443 | vlefevre | 2011-01-31 01:53:11 +0000 (Mon, 31 Jan 2011) | 2 lines Changed paths: M /trunk/src/zeta_ui.c M /trunk/tests/tzeta_ui.c [src/zeta_ui.c,tests/tzeta_ui.c] Patch from Patrick Pélissier for the division-by-zero support in mpfr_zeta_ui (and test): ------------------------------------------------------------------------ r7442 | zimmerma | 2011-01-30 09:33:00 +0000 (Sun, 30 Jan 2011) | 2 lines Changed paths: M /trunk/src/zeta.c M /trunk/tests/tzeta.c [src/zeta.c] patch from Patrick Pelissier (problem with division by zero flag) ------------------------------------------------------------------------ r7440 | zimmerma | 2011-01-28 16:19:45 +0000 (Fri, 28 Jan 2011) | 2 lines Changed paths: M /trunk/TODO [TODO] removed division by zero item (done) ------------------------------------------------------------------------ r7439 | zimmerma | 2011-01-28 16:18:25 +0000 (Fri, 28 Jan 2011) | 2 lines Changed paths: M /trunk/TODO M /trunk/src/get_str.c [src/get_str.c,TODO] updated comments, mpfr_get_str already supports base <= 62 ------------------------------------------------------------------------ r7438 | vlefevre | 2011-01-27 17:53:35 +0000 (Thu, 27 Jan 2011) | 1 line Changed paths: M /trunk/tests/tj0.c [tests/tj0.c] GMP_RNDN → MPFR_RNDN. ------------------------------------------------------------------------ r7437 | vlefevre | 2011-01-27 17:07:48 +0000 (Thu, 27 Jan 2011) | 4 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/subnormal.c M /trunk/tests/tsubnormal.c [src/subnormal.c] Set the inexact and underflow flags when needed. Fixes https://gforge.inria.fr/tracker/index.php?func=detail&aid=7958&group_id=136&atid=622 [tests/tsubnormal.c] Improved the tests, in particular for the flags. [doc/mpfr.texi] Documented the change. ------------------------------------------------------------------------ r7436 | vlefevre | 2011-01-27 16:38:35 +0000 (Thu, 27 Jan 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Corrected order in Section "Changed Functions". ------------------------------------------------------------------------ r7435 | vlefevre | 2011-01-27 14:17:49 +0000 (Thu, 27 Jan 2011) | 1 line Changed paths: M /trunk/tests/tj0.c [tests/tj0.c] Added case for which s = 0 occurs in mpfr_jn. ------------------------------------------------------------------------ r7434 | vlefevre | 2011-01-27 13:54:45 +0000 (Thu, 27 Jan 2011) | 1 line Changed paths: M /trunk/src/jn.c [src/jn.c] Added a log message. ------------------------------------------------------------------------ r7433 | vlefevre | 2011-01-27 13:47:11 +0000 (Thu, 27 Jan 2011) | 1 line Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] Added logging support. ------------------------------------------------------------------------ r7431 | vlefevre | 2011-01-26 14:06:39 +0000 (Wed, 26 Jan 2011) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Fixed bug in test (do not set the exponent on 0). ------------------------------------------------------------------------ r7430 | vlefevre | 2011-01-26 13:58:44 +0000 (Wed, 26 Jan 2011) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Formatting. ------------------------------------------------------------------------ r7429 | vlefevre | 2011-01-26 13:58:21 +0000 (Wed, 26 Jan 2011) | 2 lines Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Fixed get_prec_max and added some checks. Current failure: tab[1] is not valid. ------------------------------------------------------------------------ r7428 | vlefevre | 2011-01-26 13:28:10 +0000 (Wed, 26 Jan 2011) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Added an assertion. ------------------------------------------------------------------------ r7427 | vlefevre | 2011-01-26 13:12:06 +0000 (Wed, 26 Jan 2011) | 4 lines Changed paths: M /trunk/src/check.c [src/check.c] Replaced MPFR_IS_PURE_FP by !MPFR_IS_SINGULAR, the former macro now has a check for validity in debug mode (r7426). The goal of mpfr_check is to test the validity, so that we don't want this check here. ------------------------------------------------------------------------ r7426 | vlefevre | 2011-01-26 13:05:53 +0000 (Wed, 26 Jan 2011) | 4 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] In the MPFR_IS_PURE_FP test, if positive, check that the number is normalized (debug mode only). This makes 2 tests fail: tcheck and tsum. Note: with logging active, tsum was already triggering an assertion failure in mpfr_get_str (via mpfr_add). ------------------------------------------------------------------------ r7425 | vlefevre | 2011-01-26 12:51:41 +0000 (Wed, 26 Jan 2011) | 1 line Changed paths: M /trunk/src/add.c [src/add.c] Formatting. ------------------------------------------------------------------------ r7423 | vlefevre | 2011-01-26 12:02:31 +0000 (Wed, 26 Jan 2011) | 1 line Changed paths: M /trunk/src/li2.c [src/li2.c] Fixed crash in mpfr_li2 when logging is used. ------------------------------------------------------------------------ r7421 | vlefevre | 2011-01-24 16:37:43 +0000 (Mon, 24 Jan 2011) | 1 line Changed paths: M /trunk/src/jn.c [src/jn.c] Corrected a comment. ------------------------------------------------------------------------ r7420 | zimmerma | 2011-01-24 16:14:18 +0000 (Mon, 24 Jan 2011) | 2 lines Changed paths: M /trunk/src/jn.c [src/jn.c] added notes for correctness of the algorithm used ------------------------------------------------------------------------ r7419 | vlefevre | 2011-01-24 12:41:28 +0000 (Mon, 24 Jan 2011) | 1 line Changed paths: M /trunk/src/jn.c [src/jn.c] C90 compatibility fix (empty macro arguments are undefined). ------------------------------------------------------------------------ r7418 | vlefevre | 2011-01-24 10:17:50 +0000 (Mon, 24 Jan 2011) | 2 lines Changed paths: M /trunk/src/jn.c [src/jn.c] Added an assaertion against a potential overflow (which probably never occurs, but this should be proved...). ------------------------------------------------------------------------ r7417 | zimmerma | 2011-01-24 07:21:27 +0000 (Mon, 24 Jan 2011) | 2 lines Changed paths: M /trunk/src/jn.c [src/jn.c] patch from Patrick Pelissier ------------------------------------------------------------------------ r7416 | vlefevre | 2011-01-23 04:04:08 +0000 (Sun, 23 Jan 2011) | 1 line Changed paths: M /trunk/src/jn.c [src/jn.c] Forgot to change an MPFR_EXP to MPFR_GET_EXP. ------------------------------------------------------------------------ r7415 | vlefevre | 2011-01-23 04:02:09 +0000 (Sun, 23 Jan 2011) | 3 lines Changed paths: M /trunk/src/jn.c [src/jn.c] Replaced MPFR_EXP by MPFR_GET_EXP when the value should really be an exponent. Removed incorrect and useless casts. Added an assertion to protect against potentially incorrect code. ------------------------------------------------------------------------ r7414 | vlefevre | 2011-01-23 03:41:39 +0000 (Sun, 23 Jan 2011) | 1 line Changed paths: M /trunk/src/jn.c [src/jn.c] Patch from Patrick Pélissier (mpfr_check_range and other). ------------------------------------------------------------------------ r7413 | vlefevre | 2011-01-21 14:19:35 +0000 (Fri, 21 Jan 2011) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Update the check for mpfr_printf-like functions in the tests. ------------------------------------------------------------------------ r7412 | vlefevre | 2011-01-21 14:15:39 +0000 (Fri, 21 Jan 2011) | 1 line Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] Consistency. ------------------------------------------------------------------------ r7411 | vlefevre | 2011-01-21 13:59:12 +0000 (Fri, 21 Jan 2011) | 1 line Changed paths: M /trunk/tests/tgrandom.c [tests/tgrandom.c] Added a comment. ------------------------------------------------------------------------ r7410 | vlefevre | 2011-01-21 13:54:50 +0000 (Fri, 21 Jan 2011) | 1 line Changed paths: M /trunk/tests/tgrandom.c [tests/tgrandom.c] Protection of the mpfr_printf by #ifdef HAVE_STDARG. ------------------------------------------------------------------------ r7408 | vlefevre | 2011-01-20 12:13:58 +0000 (Thu, 20 Jan 2011) | 1 line Changed paths: M /trunk/src/eint.c [src/eint.c] Added a FIXME. ------------------------------------------------------------------------ r7406 | zimmerma | 2011-01-18 16:50:28 +0000 (Tue, 18 Jan 2011) | 2 lines Changed paths: M /trunk/src/out_raw.c [src/out_raw.c] added pointer to discussion ------------------------------------------------------------------------ r7405 | vlefevre | 2011-01-17 13:11:15 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/tests/tvalist.c [tests/tvalist.c] Correction for C++ compilers. ------------------------------------------------------------------------ r7403 | vlefevre | 2011-01-17 04:01:56 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added division-by-zero exception. ------------------------------------------------------------------------ r7402 | vlefevre | 2011-01-17 03:55:51 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated "To make a release". ------------------------------------------------------------------------ r7401 | vlefevre | 2011-01-17 03:52:41 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/NEWS [NEWS] Update for MPFR 3.1.x. ------------------------------------------------------------------------ r7400 | vlefevre | 2011-01-17 03:39:24 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/src/grandom.c [src/grandom.c] Reformat. ------------------------------------------------------------------------ r7399 | vlefevre | 2011-01-17 03:36:24 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] tests/tvalist.c can use mpfr_printf-like functions. ------------------------------------------------------------------------ r7398 | vlefevre | 2011-01-17 03:34:40 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/tests/tgrandom.c [tests/tgrandom.c] Added a FIXME: do not use mpfr_printf in the tests. ------------------------------------------------------------------------ r7397 | vlefevre | 2011-01-17 03:33:17 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/tests/tai.c M /trunk/tests/tatan.c M /trunk/tests/tfrexp.c M /trunk/tests/tgrandom.c [tests] Untabified and removed trailing spaces. ------------------------------------------------------------------------ r7396 | vlefevre | 2011-01-17 03:31:25 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/src/grandom.c M /trunk/src/mpfr.h [src/grandom.c,src/mpfr.h] Untabified and removed trailing spaces. ------------------------------------------------------------------------ r7395 | vlefevre | 2011-01-17 03:29:36 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/src/frexp.c [src/frexp.c] Corrections. ------------------------------------------------------------------------ r7394 | vlefevre | 2011-01-17 03:25:50 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/src/out_raw.c [src/out_raw.c] Untabified. ------------------------------------------------------------------------ r7393 | vlefevre | 2011-01-17 03:25:07 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/src/out_raw.c [src/out_raw.c] Fixed some bugs on the incomplete code. ------------------------------------------------------------------------ r7392 | vlefevre | 2011-01-17 03:06:09 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/src/atan2.c [src/atan2.c] MPFR_EXP -> MPFR_GET_EXP and reformat. ------------------------------------------------------------------------ r7391 | vlefevre | 2011-01-17 03:05:33 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/src/ai.c [src/ai.c] Removed trailing spaces. ------------------------------------------------------------------------ r7390 | vlefevre | 2011-01-17 03:02:39 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r7389 | vlefevre | 2011-01-17 03:01:30 +0000 (Mon, 17 Jan 2011) | 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/faq.xsl M /trunk/doc/mpfr.texi M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.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/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c 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/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/dump.c M /trunk/src/eint.c M /trunk/src/eq.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/fms.c M /trunk/src/frac.c M /trunk/src/free_cache.c M /trunk/src/gamma.c M /trunk/src/gammaonethird.c M /trunk/src/gen_inverse.h M /trunk/src/get_d.c M /trunk/src/get_d64.c M /trunk/src/get_exp.c M /trunk/src/get_f.c M /trunk/src/get_flt.c M /trunk/src/get_ld.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/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/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/logging.c M /trunk/src/min_prec.c M /trunk/src/minmax.c 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-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-longlong.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_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/neg.c M /trunk/src/next.c M /trunk/src/out_str.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/print_raw.c M /trunk/src/print_rnd_mode.c M /trunk/src/printf.c M /trunk/src/rec_sqrt.c M /trunk/src/reldiff.c M /trunk/src/rem1.c M /trunk/src/rint.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_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_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/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/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/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/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/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.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/teint.c M /trunk/tests/teq.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/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.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_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/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/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/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/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.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_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/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/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/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 2011 with perl -pi -e 's/2010 Free Software/2010, 2011 Free Software/' **/*(^/) under zsh, reverting the ChangeLog file and the m4 and tools/mbench directories. ------------------------------------------------------------------------ r7388 | vlefevre | 2011-01-17 02:57:17 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated year in example. ------------------------------------------------------------------------ r7387 | vlefevre | 2011-01-17 02:51:54 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/tests tests: updated svn:ignore property. ------------------------------------------------------------------------ r7386 | vlefevre | 2011-01-17 02:26:55 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/src/pow.c [src/pow.c] Added an assertion. ------------------------------------------------------------------------ r7385 | vlefevre | 2011-01-17 02:20:19 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/tests/td_div.c [tests/td_div.c] Consistency change. ------------------------------------------------------------------------ r7384 | vlefevre | 2011-01-17 02:19:11 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/tests/tdiv_d.c [tests/tdiv_d.c] Updated test of special cases. ------------------------------------------------------------------------ r7383 | vlefevre | 2011-01-17 02:13:23 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/src/log1p.c [src/log1p.c] Added support for the division-by-zero exception. ------------------------------------------------------------------------ r7382 | vlefevre | 2011-01-17 02:10:32 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/tests/tlog1p.c [tests/tlog1p.c] Test the flags for special cases. ------------------------------------------------------------------------ r7381 | vlefevre | 2011-01-17 02:04:11 +0000 (Mon, 17 Jan 2011) | 4 lines Changed paths: M /trunk/src/atanh.c M /trunk/src/cot.c M /trunk/src/coth.c M /trunk/src/csc.c M /trunk/src/csch.c M /trunk/src/digamma.c M /trunk/src/eint.c M /trunk/src/gamma.c M /trunk/src/lngamma.c M /trunk/src/log.c M /trunk/src/log10.c M /trunk/src/log2.c Added support for the division-by-zero exception in functions mpfr_atanh, mpfr_cot, mpfr_coth, mpfr_csc, mpfr_csch, mpfr_digamma, mpfr_eint, mpfr_gamma, mpfr_lgamma, mpfr_lngamma, mpfr_log, mpfr_log2 and mpfr_log10. ------------------------------------------------------------------------ r7380 | lfousse | 2011-01-16 21:13:28 +0000 (Sun, 16 Jan 2011) | 1 line Changed paths: M /trunk/tests/tgrandom.c [tests/tgrandom.c] Add missing cast for malloc. ------------------------------------------------------------------------ r7379 | vlefevre | 2011-01-16 14:00:34 +0000 (Sun, 16 Jan 2011) | 1 line Changed paths: M /trunk/src/yn.c [src/yn.c] Added support for the division-by-zero exception. ------------------------------------------------------------------------ r7378 | vlefevre | 2011-01-16 13:57:55 +0000 (Sun, 16 Jan 2011) | 1 line Changed paths: M /trunk/src/rec_sqrt.c [src/rec_sqrt.c] Added support for the division-by-zero exception. ------------------------------------------------------------------------ r7377 | vlefevre | 2011-01-16 13:55:41 +0000 (Sun, 16 Jan 2011) | 1 line Changed paths: M /trunk/src/pow_si.c [src/pow_si.c] Improved robustness (in case of future changes). ------------------------------------------------------------------------ r7376 | vlefevre | 2011-01-16 13:51:36 +0000 (Sun, 16 Jan 2011) | 2 lines Changed paths: M /trunk/src/pow.c M /trunk/src/pow_si.c M /trunk/src/pow_z.c M /trunk/tests/tpow.c Added support for the division-by-zero exception for the power functions (with additional tests). (Corrected patch from Patrick.) ------------------------------------------------------------------------ r7375 | lfousse | 2011-01-16 00:25:40 +0000 (Sun, 16 Jan 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am A /trunk/src/grandom.c (from /trunk/src/urandom_gaussian.c:7374) M /trunk/src/mpfr.h D /trunk/src/urandom_gaussian.c M /trunk/tests/Makefile.am A /trunk/tests/tgrandom.c (from /trunk/tests/turandom_gaussian.c:7374) D /trunk/tests/turandom_gaussian.c Rename mpfr_urandom_gaussian to mpfr_grandom. ------------------------------------------------------------------------ r7374 | vlefevre | 2011-01-15 14:33:25 +0000 (Sat, 15 Jan 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Corrections for mpfr_urandom_gaussian. ------------------------------------------------------------------------ r7373 | vlefevre | 2011-01-15 14:28:43 +0000 (Sat, 15 Jan 2011) | 1 line Changed paths: M /trunk/tests/turandom_gaussian.c [tests/turandom_gaussian.c] Fixed C99-only code. ------------------------------------------------------------------------ r7372 | zimmerma | 2011-01-15 08:14:51 +0000 (Sat, 15 Jan 2011) | 5 lines Changed paths: M /trunk/NEWS M /trunk/TODO M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am A /trunk/src/frexp.c M /trunk/src/mpfr.h M /trunk/src/out_raw.c M /trunk/src/urandom_gaussian.c M /trunk/tests/Makefile.am A /trunk/tests/tfrexp.c [src/frexp.c,tests/tfrexp.c] added new function mpfr_frexp [src/urandom_gaussian.c] fixed copyright line [src/out_raw.c] started writing code (work in progress, please continue if you are interested) ------------------------------------------------------------------------ r7371 | lfousse | 2011-01-14 22:11:44 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Document urandom_gaussian. ------------------------------------------------------------------------ r7370 | lfousse | 2011-01-14 22:10:58 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] Include turandom_gaussian in tests. ------------------------------------------------------------------------ r7369 | lfousse | 2011-01-14 22:10:44 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: A /trunk/tests/turandom_gaussian.c [tests/turandom_gaussian.c] Add tests for urandom_gaussian. ------------------------------------------------------------------------ r7368 | vlefevre | 2011-01-14 19:54:38 +0000 (Fri, 14 Jan 2011) | 3 lines Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] Added consistency tests between mpfr_div, mpfr_ui_div, mpfr_si_div, mpfr_div_ui and mpfr_div_si (check the ternary value, the flags and the result of the division). ------------------------------------------------------------------------ r7367 | vlefevre | 2011-01-14 19:52:06 +0000 (Fri, 14 Jan 2011) | 2 lines Changed paths: M /trunk/src/div_ui.c M /trunk/src/ui_div.c [src/ui_div.c] Fixed prototype formatting. [src/div_ui.c] Fixed prototype formatting. Set division-by-zero flag. ------------------------------------------------------------------------ r7366 | lfousse | 2011-01-14 17:46:07 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/src/urandom_gaussian.c [src/urandom_gaussian.c] Fix x -> xp, and scaling. ------------------------------------------------------------------------ r7365 | lfousse | 2011-01-14 17:15:32 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/src/urandom_gaussian.c [src/urandom_gaussian.c] Pick the signs of the outputs at random. ------------------------------------------------------------------------ r7364 | lfousse | 2011-01-14 16:52:35 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/src/urandom_gaussian.c [src/urandom_gaussian.c] Fix precision of temporary results. ------------------------------------------------------------------------ r7363 | lfousse | 2011-01-14 16:34:48 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/src/urandom_gaussian.c [src/urandom_gaussian.c] Add missing inits/clears. ------------------------------------------------------------------------ r7360 | lfousse | 2011-01-14 15:54:39 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Declare urandom_gaussian. ------------------------------------------------------------------------ r7359 | lfousse | 2011-01-14 15:54:38 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/src/Makefile.am [src/Makefile.am] Add urandom_gaussian.c to the sources. ------------------------------------------------------------------------ r7358 | lfousse | 2011-01-14 15:54:37 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: A /trunk/src/urandom_gaussian.c [src/urandom_gaussian] Start work on gaussian distribution. ------------------------------------------------------------------------ r7357 | vlefevre | 2011-01-14 15:49:37 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Fixed code introduced in r7346, again. ------------------------------------------------------------------------ r7356 | zimmerma | 2011-01-14 15:48:46 +0000 (Fri, 14 Jan 2011) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/sin_cos.c [sin_cos.c] moved macros to mpfr-impl.h, added README ------------------------------------------------------------------------ r7355 | zimmerma | 2011-01-14 15:40:49 +0000 (Fri, 14 Jan 2011) | 2 lines Changed paths: M /trunk/src/sin_cos.c [sin_cos.c] new inexact flags computed by mpfr_check_range were lost ------------------------------------------------------------------------ r7354 | vlefevre | 2011-01-14 15:28:45 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Fixed code introduced in r7346. ------------------------------------------------------------------------ r7353 | vlefevre | 2011-01-14 15:21:45 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/tools/coverage [tools/coverage] Update from Patrick. ------------------------------------------------------------------------ r7352 | vlefevre | 2011-01-14 15:10:42 +0000 (Fri, 14 Jan 2011) | 4 lines Changed paths: M /trunk/src/ui_div.c M /trunk/tests/tui_div.c [src/ui_div.c] Set the division-by-zero flag. [tests/tui_div.c] Updated and improved the test of special cases. Note: tpow_all currently fails since the support of the division-by-zero exception is not complete yet. ------------------------------------------------------------------------ r7351 | vlefevre | 2011-01-14 13:43:28 +0000 (Fri, 14 Jan 2011) | 3 lines Changed paths: M /trunk/src/div.c M /trunk/tests/td_div.c M /trunk/tests/tdiv.c [src/div.c] Set the division-by-zero flag. [tests/tdiv.c, tests/td_div.c] Updated and improved the test of special cases. ------------------------------------------------------------------------ r7348 | vlefevre | 2011-01-14 11:44:41 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/tests/tset.c [tests/tset.c] Tests didn't fail in case of error from PRINT_ERROR_IF. ------------------------------------------------------------------------ r7347 | vlefevre | 2011-01-14 11:37:11 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Added comments. ------------------------------------------------------------------------ r7346 | vlefevre | 2011-01-14 11:35:27 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Check the division-by-zero flag. ------------------------------------------------------------------------ r7345 | vlefevre | 2011-01-14 11:10:43 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/tests/texceptions.c Improved tests/texceptions.c (mpfr_clear_*, mpfr_set_*). ------------------------------------------------------------------------ r7344 | vlefevre | 2011-01-14 11:03:30 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/src/exceptions.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/tests/texceptions.c Added support for the division-by-zero exception. ------------------------------------------------------------------------ r7343 | vlefevre | 2011-01-14 10:54:28 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/src/exceptions.c [src/exceptions.c] Fixed bad #undef's (with currently no consequences). ------------------------------------------------------------------------ r7342 | zimmerma | 2011-01-14 10:49:44 +0000 (Fri, 14 Jan 2011) | 3 lines Changed paths: M /trunk/TODO [TODO] removed item about inlined mpfr_neg: Patrick Pelissier tried it but it does not speed things ------------------------------------------------------------------------ r7341 | vlefevre | 2011-01-14 10:47:04 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Removed an obsolete comment. ------------------------------------------------------------------------ r7338 | lfousse | 2011-01-13 18:39:57 +0000 (Thu, 13 Jan 2011) | 1 line Changed paths: M /trunk/src/atan2.c [src/atan2.c] "Exact" division can be inexact because of the exponent range. ------------------------------------------------------------------------ r7337 | zimmerma | 2011-01-13 18:14:26 +0000 (Thu, 13 Jan 2011) | 2 lines Changed paths: M /trunk/src/out_raw.c [out_raw.c] exchanged bits for precision and exponent ------------------------------------------------------------------------ r7336 | zimmerma | 2011-01-13 18:13:39 +0000 (Thu, 13 Jan 2011) | 2 lines Changed paths: A /trunk/src/out_raw.c [out_raw.c] first proposal for external format ------------------------------------------------------------------------ r7334 | vlefevre | 2011-01-13 17:05:35 +0000 (Thu, 13 Jan 2011) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] MPFR_IS_POWER_OF_2: added parentheses. ------------------------------------------------------------------------ r7333 | lfousse | 2011-01-13 16:24:48 +0000 (Thu, 13 Jan 2011) | 1 line Changed paths: M /trunk/tests/tatan.c Add tests for special case of atan2 (x power of 2). ------------------------------------------------------------------------ r7332 | lfousse | 2011-01-13 16:24:41 +0000 (Thu, 13 Jan 2011) | 1 line Changed paths: M /trunk/src/atan2.c Add special case for atan2(x,y) when x is a power of 2. ------------------------------------------------------------------------ r7331 | lfousse | 2011-01-13 16:24:35 +0000 (Thu, 13 Jan 2011) | 1 line Changed paths: M /trunk/src/mpfr-impl.h New macro MPFR_IS_POWER_OF_2. ------------------------------------------------------------------------ r7329 | vlefevre | 2011-01-13 16:20:48 +0000 (Thu, 13 Jan 2011) | 3 lines Changed paths: M /trunk/INSTALL M /trunk/NEWS M /trunk/acinclude.m4 M /trunk/configure.ac TLS support is now detected automatically. If TLS is supported, MPFR is built as thread safe by default. To disable TLS explicitly, configure MPFR with --disable-thread-safe. ------------------------------------------------------------------------ r7328 | lfousse | 2011-01-13 15:50:37 +0000 (Thu, 13 Jan 2011) | 1 line Changed paths: M /trunk/tests/tai.c Add tests for mpfr_ai special case x=0. ------------------------------------------------------------------------ r7327 | lfousse | 2011-01-13 15:50:30 +0000 (Thu, 13 Jan 2011) | 1 line Changed paths: M /trunk/src/ai.c Add special case for x=0 in mpfr_ai1. ------------------------------------------------------------------------ r7325 | zimmerma | 2011-01-13 15:38:23 +0000 (Thu, 13 Jan 2011) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [algorithms.tex] extended Lemma 2 to the case of terms of the form 1/(1+delta) ------------------------------------------------------------------------ r7323 | vlefevre | 2011-01-13 15:27:13 +0000 (Thu, 13 Jan 2011) | 1 line Changed paths: 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_sj.c M /trunk/tests/tsprintf.c M /trunk/tests/tstdint.c M /trunk/tests/tvalist.c tests: return 77 for skipped tests (see GNU Automake manual). ------------------------------------------------------------------------ r7322 | vlefevre | 2011-01-13 15:20:24 +0000 (Thu, 13 Jan 2011) | 1 line Changed paths: M /trunk/tests tests: updated svn:ignore property. ------------------------------------------------------------------------ r7321 | vlefevre | 2011-01-13 15:19:32 +0000 (Thu, 13 Jan 2011) | 1 line Changed paths: M /trunk/TODO TODO update after r7317 and r7320. ------------------------------------------------------------------------ r7320 | vlefevre | 2011-01-13 15:17:16 +0000 (Thu, 13 Jan 2011) | 3 lines Changed paths: M /trunk/src/mpfr.h M /trunk/tests/Makefile.am A /trunk/tests/tvalist.c Support multiple inclusions of mpfr.h w.r.t. <stdio.h> and <stdarg.h> (MPFR_USE_FILE and/or MPFR_USE_VA_LIST are needed until GMP is fixed). Added test "tests/tvalist.c". ------------------------------------------------------------------------ r7319 | zimmerma | 2011-01-13 14:46:07 +0000 (Thu, 13 Jan 2011) | 2 lines Changed paths: M /trunk/src/mpfr-longlong.h [src/mpfr-longlong.h] idem as previous commit for other 2 FIXME's ------------------------------------------------------------------------ r7318 | zimmerma | 2011-01-13 14:43:29 +0000 (Thu, 13 Jan 2011) | 2 lines Changed paths: M /trunk/src/mpfr-longlong.h [mpfr-longlong.h] resolved one FIXME, by adding a new one :-) ------------------------------------------------------------------------ r7317 | vlefevre | 2011-01-13 14:42:53 +0000 (Thu, 13 Jan 2011) | 1 line Changed paths: M /trunk/src/mpfr.h M /trunk/tests/Makefile.am Support multiple inclusions of mpfr.h w.r.t. <stdint.h> / <inttypes.h>. ------------------------------------------------------------------------ r7314 | zimmerma | 2011-01-06 16:53:07 +0000 (Thu, 06 Jan 2011) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5-mpfr.cc M /trunk/tools/mbench/mfv5.cc M /trunk/tools/mbench/mfv5.h another patch from Patrick Pelissier to test get_ld (with export of data used) ------------------------------------------------------------------------ r7313 | zimmerma | 2011-01-06 16:44:13 +0000 (Thu, 06 Jan 2011) | 6 lines Changed paths: M /trunk/tools/mbench/Makefile M /trunk/tools/mbench/timp.h patch from Patrick Pelissier to use clock_getime instead of rdtsc (use "make rt" instead of "make") References: http://stackoverflow.com/questions/3388134/rdtsc-accuracy-across-cpu-cores http://en.wikipedia.org/wiki/Time_Stamp_Counter ------------------------------------------------------------------------ r7312 | vlefevre | 2010-12-25 17:24:58 +0000 (Sat, 25 Dec 2010) | 1 line Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] Updated a comment about the last change. ------------------------------------------------------------------------ r7311 | vlefevre | 2010-12-25 17:08:16 +0000 (Sat, 25 Dec 2010) | 1 line Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] Minor performance improvement. ------------------------------------------------------------------------ r7310 | vlefevre | 2010-12-19 02:00:52 +0000 (Sun, 19 Dec 2010) | 2 lines Changed paths: M /trunk/tools/mbench/Makefile [tools/mbench/Makefile] Update due to source reorganization (r7087): patch from Patrick Pelissier. ------------------------------------------------------------------------ r7309 | vlefevre | 2010-12-17 16:29:47 +0000 (Fri, 17 Dec 2010) | 1 line Changed paths: M /trunk/TODO [TODO] Update (exp-int branch, internal macro). ------------------------------------------------------------------------ r7308 | vlefevre | 2010-12-17 16:22:37 +0000 (Fri, 17 Dec 2010) | 1 line Changed paths: M /trunk/src/sin.c [src/sin.c] Fixed failure in debug mode (missing MPFR_IS_ZERO test). ------------------------------------------------------------------------ r7307 | vlefevre | 2010-12-17 16:08:54 +0000 (Fri, 17 Dec 2010) | 1 line Changed paths: M /trunk/src/rec_sqrt.c [src/rec_sqrt.c] Improved comment. ------------------------------------------------------------------------ r7305 | zimmerma | 2010-12-17 15:54:55 +0000 (Fri, 17 Dec 2010) | 2 lines Changed paths: M /trunk/src/rec_sqrt.c [rec_sqrt.c] put back some information lost in commit 7302 ------------------------------------------------------------------------ r7304 | vlefevre | 2010-12-17 15:31:24 +0000 (Fri, 17 Dec 2010) | 1 line Changed paths: M /trunk/src/cmp2.c [src/cmp2.c] Corrected a comment. ------------------------------------------------------------------------ r7303 | vlefevre | 2010-12-17 15:25:04 +0000 (Fri, 17 Dec 2010) | 1 line Changed paths: M /trunk/src/cos.c M /trunk/src/sin.c M /trunk/src/zeta.c Replaced some MPFR_EXP by MPFR_GET_EXP. ------------------------------------------------------------------------ r7302 | vlefevre | 2010-12-17 13:15:46 +0000 (Fri, 17 Dec 2010) | 1 line Changed paths: M /trunk/src/rec_sqrt.c [src/rec_sqrt.c] Removed a variable that was used only once. ------------------------------------------------------------------------ r7301 | vlefevre | 2010-12-17 11:40:51 +0000 (Fri, 17 Dec 2010) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Changed comment for mpfrlint. ------------------------------------------------------------------------ r7300 | vlefevre | 2010-12-17 11:38:36 +0000 (Fri, 17 Dec 2010) | 2 lines Changed paths: M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/div.c M /trunk/src/div_ui.c M /trunk/src/get_str.c M /trunk/src/mpfr-impl.h M /trunk/src/mpn_exp.c M /trunk/src/mul.c M /trunk/src/mul_ui.c M /trunk/src/mulders.c M /trunk/src/rec_sqrt.c M /trunk/src/round_prec.c M /trunk/src/set_f.c M /trunk/src/sqr.c M /trunk/src/sqrt.c M /trunk/src/strtofr.c M /trunk/src/sub1.c M /trunk/src/sub1sp.c M /trunk/tools/mpfrlint Added MPFR_TMP_LIMBS_ALLOC macro and updated the source to use it. tools/mpfrlint: check its use instead of MPFR_TMP_ALLOC. ------------------------------------------------------------------------ r7299 | vlefevre | 2010-12-17 11:31:08 +0000 (Fri, 17 Dec 2010) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Improved readability. ------------------------------------------------------------------------ r7298 | vlefevre | 2010-12-17 09:40:03 +0000 (Fri, 17 Dec 2010) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Formatting. ------------------------------------------------------------------------ r7297 | vlefevre | 2010-12-14 14:36:06 +0000 (Tue, 14 Dec 2010) | 1 line Changed paths: M /trunk/TODO [TODO] Added year on a date (the item was added on 2007-07-28 in r4707). ------------------------------------------------------------------------ r7296 | vlefevre | 2010-12-13 00:02:38 +0000 (Mon, 13 Dec 2010) | 2 lines Changed paths: M /trunk/src Added configure.lineno (generated by configure) to the svn:ignore property of the src directory. ------------------------------------------------------------------------ r7295 | vlefevre | 2010-12-12 23:39:43 +0000 (Sun, 12 Dec 2010) | 1 line Changed paths: M /trunk/NEWS [NEWS] Update concerning the --with-gmp-build configure option. ------------------------------------------------------------------------ r7294 | vlefevre | 2010-12-12 23:36:38 +0000 (Sun, 12 Dec 2010) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Corrected a typo from r7293. ------------------------------------------------------------------------ r7293 | vlefevre | 2010-12-12 23:35:04 +0000 (Sun, 12 Dec 2010) | 2 lines Changed paths: M /trunk/INSTALL Updated INSTALL file after the recent changes in configure.ac concerning the --with-gmp-build configure option. ------------------------------------------------------------------------ r7292 | vlefevre | 2010-12-12 23:29:50 +0000 (Sun, 12 Dec 2010) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] With --with-gmp-build, do not duplicate the include search paths if the GMP source and build directories are the same. ------------------------------------------------------------------------ r7291 | vlefevre | 2010-12-12 22:31:51 +0000 (Sun, 12 Dec 2010) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] Fixed another bug in r7289. This new version now seems to work with GMP's srcdir pointing to a relative directory or to an absolute one. ------------------------------------------------------------------------ r7290 | vlefevre | 2010-12-12 22:28:53 +0000 (Sun, 12 Dec 2010) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Fixed bug in r7289. ------------------------------------------------------------------------ r7289 | vlefevre | 2010-12-12 22:17:16 +0000 (Sun, 12 Dec 2010) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Corrected Patrick Pelissier's patch (not tested). ------------------------------------------------------------------------ r7288 | zimmerma | 2010-12-12 20:47:23 +0000 (Sun, 12 Dec 2010) | 4 lines Changed paths: M /trunk/configure.ac [configure.ac] patch from Patrick Pelissier to solve the problem with --with-gmp-build when the GMP build directory and the GMP source directory differ ------------------------------------------------------------------------ r7287 | vlefevre | 2010-12-12 11:02:00 +0000 (Sun, 12 Dec 2010) | 2 lines Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] tversion is also run at the end (after a discussion with Patrick and Paul). ------------------------------------------------------------------------ r7286 | vlefevre | 2010-12-12 09:55:44 +0000 (Sun, 12 Dec 2010) | 4 lines Changed paths: M /trunk/configure.ac [configure.ac] Fixed two problems with --with-gmp-build: * "grep -w" isn't POSIX (an error shouldn't matter with recent GMP versions, as CFLAGS and CC would then be retrieved from gmp.h). * "sed" was used instead of "$SED". ------------------------------------------------------------------------ r7279 | vlefevre | 2010-12-07 13:59:45 +0000 (Tue, 07 Dec 2010) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Added a section "If 'gmp.h' and 'libgmp' do not match". ------------------------------------------------------------------------ r7278 | vlefevre | 2010-12-07 12:51:14 +0000 (Tue, 07 Dec 2010) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Improved warning message in case of unmatched 'gmp.h' and 'libgmp'. ------------------------------------------------------------------------ r7277 | vlefevre | 2010-12-07 11:41:09 +0000 (Tue, 07 Dec 2010) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Update concerning "configure". ------------------------------------------------------------------------ r7276 | zimmerma | 2010-12-06 20:54:14 +0000 (Mon, 06 Dec 2010) | 2 lines Changed paths: M /trunk/NEWS [NEWS] fixed news for 3.0.0 ------------------------------------------------------------------------ r7275 | vlefevre | 2010-12-03 08:55:24 +0000 (Fri, 03 Dec 2010) | 3 lines Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Now fail if the versions of gmp.h and libgmp do not match (error message improved); previously, the warning could remain unnoticed, in particular with automatic installations. ------------------------------------------------------------------------ r7274 | schevill | 2010-11-30 16:41:38 +0000 (Tue, 30 Nov 2010) | 3 lines Changed paths: A /trunk/tools/metaMPFR A /trunk/tools/metaMPFR/metaMPFR_common.mpl A /trunk/tools/metaMPFR/metaMPFR_straightforwardAlgo.mpl A /trunk/tools/metaMPFR/metaMPFR_tests.mpl Added metaMPFR in the tools directory of MPFR. ------------------------------------------------------------------------ r7273 | vlefevre | 2010-11-29 15:35:52 +0000 (Mon, 29 Nov 2010) | 2 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Defined MPFR_DEPRECATED to mark MPFR functions, types or variables as deprecated. ------------------------------------------------------------------------ r7272 | vlefevre | 2010-11-25 07:52:24 +0000 (Thu, 25 Nov 2010) | 1 line Changed paths: M /trunk/tests/tui_pow.c [tests/tui_pow.c] Updated a comment. ------------------------------------------------------------------------ r7271 | vlefevre | 2010-11-23 08:28:00 +0000 (Tue, 23 Nov 2010) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Support BSD sed. ------------------------------------------------------------------------ r7270 | vlefevre | 2010-11-19 08:53:09 +0000 (Fri, 19 Nov 2010) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Detect the use of __mpfr_struct structure members in .c files. ------------------------------------------------------------------------ r7269 | vlefevre | 2010-11-19 08:46:38 +0000 (Fri, 19 Nov 2010) | 1 line Changed paths: M /trunk/src/min_prec.c [src/min_prec.c] Replaced x->_mpfr_d by MPFR_MANT(x). ------------------------------------------------------------------------ r7268 | vlefevre | 2010-11-18 23:41:50 +0000 (Thu, 18 Nov 2010) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Commented out the declaration of mpfr_round_raw_3 (since this function is no longer defined). ------------------------------------------------------------------------ r7267 | vlefevre | 2010-11-18 23:20:59 +0000 (Thu, 18 Nov 2010) | 2 lines Changed paths: M /trunk/src/min_prec.c [src/min_prec.c] Major simplification of mpfr_min_prec by using mpn_scan1 (suggestion by Andreas Enge). ------------------------------------------------------------------------ r7266 | vlefevre | 2010-11-15 15:20:03 +0000 (Mon, 15 Nov 2010) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added a comment about mpn_sqr_n. ------------------------------------------------------------------------ r7265 | zimmerma | 2010-11-15 13:56:51 +0000 (Mon, 15 Nov 2010) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [algorithms.tex] replaced reference to Graillat05 by earlier one (Higham02) ------------------------------------------------------------------------ r7263 | vlefevre | 2010-11-12 11:38:42 +0000 (Fri, 12 Nov 2010) | 1 line Changed paths: M /trunk/tools/nightly-test [tools/nightly-test] Added a comment about the use of -pedantic-errors. ------------------------------------------------------------------------ r7262 | vlefevre | 2010-11-10 23:17:02 +0000 (Wed, 10 Nov 2010) | 1 line Changed paths: M /trunk/src/sub1.c [src/sub1.c] Minor simplification. ------------------------------------------------------------------------ r7261 | vlefevre | 2010-11-10 22:48:27 +0000 (Wed, 10 Nov 2010) | 1 line Changed paths: M /trunk/tests/tpow.c [tests/tpow.c] Avoid warnings if mpfr_exp_t < long. ------------------------------------------------------------------------ r7260 | zimmerma | 2010-11-10 20:17:17 +0000 (Wed, 10 Nov 2010) | 3 lines Changed paths: M /trunk/src/mul.c [mul.c] fixed bug introduced in revision 7183, and reported by Brian Gladman on Windows, where mpfr_exp_t has 32 bits and mp_limb_t has 64 bits ------------------------------------------------------------------------ r7257 | vlefevre | 2010-11-09 14:24:34 +0000 (Tue, 09 Nov 2010) | 2 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Use only mpfr_* types in __MPFR_EXP_* macro definitions (should have been done in r7236). ------------------------------------------------------------------------ r7255 | vlefevre | 2010-11-09 13:43:29 +0000 (Tue, 09 Nov 2010) | 2 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Changed a "void" into a "mpfr_void" in a macro definition (should have been done in r7236). ------------------------------------------------------------------------ r7254 | vlefevre | 2010-11-09 12:37:23 +0000 (Tue, 09 Nov 2010) | 1 line Changed paths: M /trunk/tests/tset_si.c [tests/tset_si.c] Added testcase for problem fixed in r7236. ------------------------------------------------------------------------ r7251 | vlefevre | 2010-11-08 13:22:04 +0000 (Mon, 08 Nov 2010) | 3 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Removed some useless casts that where added in r7121 and r7236 (such casts prevented the compiler from emitting diagnostics in incorrect calls). ------------------------------------------------------------------------ r7250 | vlefevre | 2010-11-08 12:55:16 +0000 (Mon, 08 Nov 2010) | 1 line Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] Added a comment (warning about LOADLIBES). ------------------------------------------------------------------------ r7247 | zimmerma | 2010-10-25 13:53:16 +0000 (Mon, 25 Oct 2010) | 2 lines Changed paths: M /trunk/tests/taway.c [taway.c] reduced time of the test ------------------------------------------------------------------------ r7246 | vlefevre | 2010-10-25 10:00:45 +0000 (Mon, 25 Oct 2010) | 1 line Changed paths: M /trunk/INSTALL M /trunk/NEWS Mentioned --enable-gmp-internals in INSTALL and NEWS. ------------------------------------------------------------------------ r7244 | vlefevre | 2010-10-24 13:27:47 +0000 (Sun, 24 Oct 2010) | 1 line Changed paths: M /trunk/tests/taway.c [tests/taway.c] Added a FIXME (test is too long on old machines). ------------------------------------------------------------------------ r7243 | vlefevre | 2010-10-24 12:41:01 +0000 (Sun, 24 Oct 2010) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Corrected comment for PowerPC. ------------------------------------------------------------------------ r7242 | zimmerma | 2010-10-24 08:01:49 +0000 (Sun, 24 Oct 2010) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/Makefile.am A /trunk/src/hppa A /trunk/src/hppa/mparam.h M /trunk/src/mparam_h.in added tuning parameters for HPPA (on HP-UX machine kindly provided by David Kirkby) ------------------------------------------------------------------------ r7241 | zimmerma | 2010-10-23 16:45:32 +0000 (Sat, 23 Oct 2010) | 2 lines Changed paths: M /trunk/src/powerpc32/mparam.h [powerpc32/mparam.h] added more info on processor and operating system used ------------------------------------------------------------------------ r7240 | zimmerma | 2010-10-23 09:18:12 +0000 (Sat, 23 Oct 2010) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/Makefile.am M /trunk/src/mparam_h.in needed stuff to use src/powerpc32/mparam.h file (note that long double is IEEE double on PowerPC32) ------------------------------------------------------------------------ r7239 | zimmerma | 2010-10-23 09:07:33 +0000 (Sat, 23 Oct 2010) | 2 lines Changed paths: A /trunk/src/powerpc32 A /trunk/src/powerpc32/mparam.h [powerpc32/mparam.h] param file for powerpc32 (made on PowerPC 604 under AIX) ------------------------------------------------------------------------ r7238 | zimmerma | 2010-10-22 14:54:43 +0000 (Fri, 22 Oct 2010) | 5 lines Changed paths: M /trunk/tune/tuneup.c [tuneup.c] added cast from time_t to long, after warning under HP-UX: tuneup.c:1131: warning: format '%ld' expects type 'long int', but argument 3 has type 'time_t' tuneup.c:1133: warning: format '%ld' expects type 'long int', but argument 2 has type 'time_t' (I don't know if it is because time_t is unsigned, or has a different width) ------------------------------------------------------------------------ r7237 | vlefevre | 2010-10-22 13:30:50 +0000 (Fri, 22 Oct 2010) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Added a space. ------------------------------------------------------------------------ r7236 | vlefevre | 2010-10-22 13:27:59 +0000 (Fri, 22 Oct 2010) | 3 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h [src/mpfr.h] Avoid some problems with macro expansion if the user defines macros with the same name as keywords. [doc/mpfr.texi] Document the use of macros. ------------------------------------------------------------------------ r7235 | schevill | 2010-10-22 10:10:37 +0000 (Fri, 22 Oct 2010) | 3 lines Changed paths: M /trunk/src/Makefile.am Included the new /arch/mparam.h files into the dist. ------------------------------------------------------------------------ r7231 | schevill | 2010-10-20 16:08:04 +0000 (Wed, 20 Oct 2010) | 6 lines Changed paths: M /trunk/src/amd/athlon/mparam.h M /trunk/src/amd/k8/mparam.h M /trunk/src/arm/mparam.h M /trunk/src/ia64/mparam.h M /trunk/src/mparam_h.in M /trunk/src/powerpc64/mparam.h M /trunk/src/sparc64/mparam.h M /trunk/src/x86/core2/mparam.h M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/pentium4/mparam.h M /trunk/tune/tuneup.c Cosmetic change: the constant MPFR_TUNE_CASE is now defined in mparam_h.in. Hence the files src/some-architecture/mparam.h are now simply obtained by performing 'make tune' on some architecture and copying the resulting src/mparam.h to src/some-architecture/mparam.h. ------------------------------------------------------------------------ r7230 | schevill | 2010-10-20 13:16:51 +0000 (Wed, 20 Oct 2010) | 3 lines Changed paths: M /trunk/tune/tuneup.c Typo. ------------------------------------------------------------------------ r7229 | schevill | 2010-10-20 11:40:52 +0000 (Wed, 20 Oct 2010) | 3 lines Changed paths: M /trunk/src/amd/athlon/mparam.h M /trunk/src/amd/k8/mparam.h M /trunk/src/arm/mparam.h M /trunk/src/ia64/mparam.h M /trunk/src/mparam_h.in M /trunk/src/powerpc64/mparam.h M /trunk/src/sparc64/mparam.h M /trunk/src/x86/core2/mparam.h M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/pentium4/mparam.h M /trunk/tune/tuneup.c Up-to-date thresholds. ------------------------------------------------------------------------ r7228 | vlefevre | 2010-10-20 01:23:23 +0000 (Wed, 20 Oct 2010) | 1 line Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] mp_prec_t -> mpfr_prec_t ------------------------------------------------------------------------ r7227 | vlefevre | 2010-10-20 01:22:38 +0000 (Wed, 20 Oct 2010) | 1 line Changed paths: M /trunk/src/sub1.c [src/sub1.c] Removed trailing spaces. ------------------------------------------------------------------------ r7226 | vlefevre | 2010-10-19 16:21:41 +0000 (Tue, 19 Oct 2010) | 3 lines Changed paths: M /trunk/tests/tcan_round.c M /trunk/tests/tget_str.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_z_exp.c M /trunk/tests/tsprintf.c [tests/*.c] Support the case where mpfr_exp_t is not a long int (but with such a future extension, one should probably provide a MPFR_PRIexp macro, similar to what <inttypes.h> does). ------------------------------------------------------------------------ r7225 | vlefevre | 2010-10-19 15:56:24 +0000 (Tue, 19 Oct 2010) | 1 line Changed paths: M /trunk/tests/texceptions.c [tests/texceptions.c] Added casts, in case mpfr_exp_t is not a long int. ------------------------------------------------------------------------ r7224 | zimmerma | 2010-10-19 15:03:32 +0000 (Tue, 19 Oct 2010) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tset_ld.c] replaced hexadecimal long double constants by decimal constants ------------------------------------------------------------------------ r7223 | vlefevre | 2010-10-19 14:43:12 +0000 (Tue, 19 Oct 2010) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Added a FIXME for r7222 change. ------------------------------------------------------------------------ r7222 | zimmerma | 2010-10-19 14:22:09 +0000 (Tue, 19 Oct 2010) | 3 lines Changed paths: M /trunk/src/set_ld.c M /trunk/tests/tset_ld.c [set_ld.c] fixed bug #11300 on bug tracker [tset_ld.c] added corresponding tests ------------------------------------------------------------------------ r7221 | zimmerma | 2010-10-19 12:24:21 +0000 (Tue, 19 Oct 2010) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [algorithms.tex] modified proof of mpfr_sub in accordance with source code ------------------------------------------------------------------------ r7220 | zimmerma | 2010-10-19 12:06:00 +0000 (Tue, 19 Oct 2010) | 13 lines Changed paths: A /trunk/doc/sub_tree.pdf this is a tree of all possible cases that can happen for rounding in mpfr_sub (file sub1.c) for rounding to nearest. The nodes at depth 1 of the tree correspond to the 3 possible cases before rounding: (1) sh=0, (2) sh>0 and the low sh bits are 1/2 ulp, (3) sh>0 and the low sh bits are 0. The nodes at depth 2 represent the possible subcases for k=0 in the rounding loop. The nodes at depth 3 represent the possible subcases for k=1 in the rounding loop. ------------------------------------------------------------------------ r7219 | zimmerma | 2010-10-19 11:12:07 +0000 (Tue, 19 Oct 2010) | 7 lines Changed paths: M /trunk/src/sub1.c M /trunk/tests/tsub.c [src/sub1.c] fixed another remaining issue in case 1d1 (case sh=0, i.e., the result uses a full number of limbs, the first neglected limbs of b and c match, and for the next limbs, low(b) > low(c)). This case was incorrectly rounded up (add_one_ulp). [tests/tsub.c] added more test cases ------------------------------------------------------------------------ r7218 | zimmerma | 2010-10-19 11:06:38 +0000 (Tue, 19 Oct 2010) | 2 lines Changed paths: M /trunk/tests/tgmpop.c [tgmpop.c] in case of error, print mpz_t in decimal instead of binary ------------------------------------------------------------------------ r7217 | zimmerma | 2010-10-19 06:36:56 +0000 (Tue, 19 Oct 2010) | 3 lines Changed paths: M /trunk/tune/tuneup.c [tuneup.c] increase maximal number of calls to speed_measure from 5 to 30 (seems to solve problems on gcc15) ------------------------------------------------------------------------ r7215 | vlefevre | 2010-10-18 23:51:35 +0000 (Mon, 18 Oct 2010) | 3 lines Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] Removed an incorrect cast, fixing a bug (in the test) that was producing a failure for GMP_CHECK_RANDOMIZE=1287710095 on 64-bit machines (visible since mpfr_prec_t is now signed). ------------------------------------------------------------------------ r7214 | vlefevre | 2010-10-18 22:21:33 +0000 (Mon, 18 Oct 2010) | 1 line Changed paths: M /trunk/src/sub1.c [src/sub1.c] Removed trailing whitespace. ------------------------------------------------------------------------ r7213 | zimmerma | 2010-10-18 21:02:22 +0000 (Mon, 18 Oct 2010) | 4 lines Changed paths: M /trunk/src/sub1.c M /trunk/tests/tfma.c M /trunk/tests/tsub.c [sub1.c] previous fix was not incorrect (but strangely our tests cases did not exhibit that) [tfma.c] added more test cases from Jakub Jelinek ------------------------------------------------------------------------ r7212 | zimmerma | 2010-10-18 18:54:56 +0000 (Mon, 18 Oct 2010) | 2 lines Changed paths: M /trunk/src/sub1.c [sub1.c] fixed bug found by Jakub Jelinek (#11301 on tracker) ------------------------------------------------------------------------ r7211 | vlefevre | 2010-10-18 17:17:11 +0000 (Mon, 18 Oct 2010) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r7209 | vlefevre | 2010-10-18 16:16:39 +0000 (Mon, 18 Oct 2010) | 1 line Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] Fixed inex test in bug20101017. ------------------------------------------------------------------------ r7208 | schevill | 2010-10-18 14:14:49 +0000 (Mon, 18 Oct 2010) | 9 lines Changed paths: M /trunk/INSTALL Mention the warning message displayed by gcc when the ABI of gcc and MPFR differ. Note: the message does not automatically imply the problem; however, if the message appears, the ABI somehow differ, so it is worth mentioning it. Users might look for the message in INSTALL in order to see if their problem is mentioned. ------------------------------------------------------------------------ r7206 | zimmerma | 2010-10-18 13:01:12 +0000 (Mon, 18 Oct 2010) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] added "Notes about ABI" section ------------------------------------------------------------------------ r7205 | vlefevre | 2010-10-18 12:18:11 +0000 (Mon, 18 Oct 2010) | 1 line Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] Updated comment of bug20101017. ------------------------------------------------------------------------ r7204 | vlefevre | 2010-10-18 11:59:39 +0000 (Mon, 18 Oct 2010) | 2 lines Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] Added testcase for bug found by Jakub Jelinek (bug 11301 on INRIAGforge). ------------------------------------------------------------------------ r7203 | zimmerma | 2010-10-18 09:41:37 +0000 (Mon, 18 Oct 2010) | 2 lines Changed paths: M /trunk/tune/tuneup.c [tuneup.c] print size when speed_measure fails ------------------------------------------------------------------------ r7202 | zimmerma | 2010-10-17 19:33:37 +0000 (Sun, 17 Oct 2010) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [mpfr.texi] added that the 'N' mode rounds ties to even in the mpfr*printf functions ------------------------------------------------------------------------ r7201 | schevill | 2010-10-15 15:18:18 +0000 (Fri, 15 Oct 2010) | 4 lines Changed paths: A /trunk/src/amd A /trunk/src/amd/athlon A /trunk/src/amd/athlon/mparam.h A /trunk/src/amd/k8 A /trunk/src/amd/k8/mparam.h A /trunk/src/arm A /trunk/src/arm/mparam.h M /trunk/src/buildopt.c A /trunk/src/generic A /trunk/src/generic/mparam.h A /trunk/src/ia64 A /trunk/src/ia64/mparam.h M /trunk/src/mparam_h.in M /trunk/src/mpfr.h A /trunk/src/powerpc64 A /trunk/src/powerpc64/mparam.h A /trunk/src/sparc64 A /trunk/src/sparc64/mparam.h A /trunk/src/x86 A /trunk/src/x86/core2 A /trunk/src/x86/core2/mparam.h A /trunk/src/x86/mparam.h A /trunk/src/x86_64 A /trunk/src/x86_64/core2 A /trunk/src/x86_64/core2/mparam.h A /trunk/src/x86_64/pentium4 A /trunk/src/x86_64/pentium4/mparam.h M /trunk/tune/tuneup.c Reorganized mparam_h.in in separate files. Added mpfr_buildopt_tune_case function. ------------------------------------------------------------------------ r7200 | schevill | 2010-10-14 15:31:16 +0000 (Thu, 14 Oct 2010) | 3 lines Changed paths: M /trunk/tune/tuneup.c Modified the number of iterations in the loop of mpfr_speed_measure. ------------------------------------------------------------------------ r7199 | zimmerma | 2010-10-14 10:55:09 +0000 (Thu, 14 Oct 2010) | 4 lines Changed paths: M /trunk/tune/tuneup.c [tuneup.c] new function mpfr_speed_measure, which calls speed_measure() several times (currently 30) until there is no failure. In case all 30 calls fail, give some hints to the user. ------------------------------------------------------------------------ r7198 | zimmerma | 2010-10-13 19:58:28 +0000 (Wed, 13 Oct 2010) | 5 lines Changed paths: M /trunk/tune/tuneup.c [tuneup.c] try again when speed_measure returns -1.0 (i.e. fails) also check return value of speed_measure in all cases (was not done for mulhigh, sqrhigh and divhigh, reported by Sylvain Chevillard) ------------------------------------------------------------------------ r7197 | schevill | 2010-10-12 15:39:21 +0000 (Tue, 12 Oct 2010) | 3 lines Changed paths: M /trunk/tune/tuneup.c Small indication explaining what is the negative threshold for Ai. ------------------------------------------------------------------------ r7196 | vlefevre | 2010-10-10 20:48:51 +0000 (Sun, 10 Oct 2010) | 4 lines Changed paths: M /trunk/src/add1.c M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added MPFR_UEXP macro to check (in debug mode) that a value is nonnegative before a cast to mpfr_uexp_t. [src/add1.c] Use the MPFR_UEXP macro to make sure that the avoided warning doesn't hide a real bug. ------------------------------------------------------------------------ r7195 | zimmerma | 2010-10-10 17:28:05 +0000 (Sun, 10 Oct 2010) | 2 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/reuse.c M /trunk/tests/taway.c M /trunk/tests/tests.c M /trunk/tests/tfma.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tget_str.c M /trunk/tests/tpow_all.c M /trunk/tests/tprintf.c M /trunk/tests/trint.c M /trunk/tests/tsprintf.c avoid several compiler warnings with g++ ------------------------------------------------------------------------ r7194 | zimmerma | 2010-10-10 17:00:18 +0000 (Sun, 10 Oct 2010) | 2 lines Changed paths: M /trunk/tools/nightly-test [nightly-test] added -Wno-sign-compare for g++, to avoid spurious warnings ------------------------------------------------------------------------ r7193 | zimmerma | 2010-10-10 09:04:53 +0000 (Sun, 10 Oct 2010) | 2 lines Changed paths: M /trunk/tools/nightly-test [nightly-test] do not use -Wmissing-prototypes for g++ ------------------------------------------------------------------------ r7192 | zimmerma | 2010-10-10 08:54:37 +0000 (Sun, 10 Oct 2010) | 2 lines Changed paths: M /trunk/src/add1.c [add1.c] fixed compiler warning (from g++) ------------------------------------------------------------------------ r7191 | zimmerma | 2010-10-08 18:29:16 +0000 (Fri, 08 Oct 2010) | 2 lines Changed paths: M /trunk/src/mulders.c [src/mulders.c] fixed comment ------------------------------------------------------------------------ r7189 | zimmerma | 2010-10-03 07:39:44 +0000 (Sun, 03 Oct 2010) | 2 lines Changed paths: M /trunk/src/mulders.c M /trunk/src/sqrt.c [sqrt.c,mulders.c] added missing cast (detected by nightly builds with g++) ------------------------------------------------------------------------ r7188 | vlefevre | 2010-10-01 15:58:44 +0000 (Fri, 01 Oct 2010) | 1 line Changed paths: M /trunk/src/mulders.c [src/mulders.c] Untabified. ------------------------------------------------------------------------ r7187 | zimmerma | 2010-09-30 19:14:00 +0000 (Thu, 30 Sep 2010) | 3 lines Changed paths: M /trunk/src/mulders.c [src/mulders.c] fixed comments about error analysis in short product, and improved short division code ------------------------------------------------------------------------ r7186 | vlefevre | 2010-09-30 16:46:23 +0000 (Thu, 30 Sep 2010) | 1 line Changed paths: M /trunk/src/mparam_h.in M /trunk/src/mpfr-gmp.h M /trunk/src/mul.c M /trunk/tune/tuneup.c Removed trailing spaces and untabified several files. ------------------------------------------------------------------------ r7185 | vlefevre | 2010-09-30 16:40:04 +0000 (Thu, 30 Sep 2010) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Added comments concerning the latest changes about mulhigh. ------------------------------------------------------------------------ r7184 | zimmerma | 2010-09-30 07:10:37 +0000 (Thu, 30 Sep 2010) | 2 lines Changed paths: M /trunk/src/mulders.c [src/mulders.c] removed leftover debug stuff ------------------------------------------------------------------------ r7183 | zimmerma | 2010-09-29 16:03:04 +0000 (Wed, 29 Sep 2010) | 11 lines Changed paths: M /trunk/src/mparam_h.in M /trunk/src/mpfr-impl.h M /trunk/src/mul.c M /trunk/src/mulders.c M /trunk/src/round_p.c M /trunk/src/sqrt.c M /trunk/tune/tuneup.c [src/mulders.c] added new function mpfr_divhigh_n() for short division (not used yet), fixed comments and added error analysis in mpfr_mulhigh_n() and mpfr_sqrhigh_n() [src/sqrt.c] fixed ill-placed MPFR_TMP_MARK [src/mparam_h.in] added default MPFR_DIVHIGH_TAB for mpfr_divhigh_n() [src/round_p.c] typo [src/mpfr-impl.h] added prototype for mpfr_divhigh_n [src/mul.c] added comment, simplified code [tune/tuneup.c] added tuning for mpfr_divhigh_n(), increased MAX_STEPS to get a better tuning (will take longer), set tolerance to 1.0 ------------------------------------------------------------------------ r7182 | zimmerma | 2010-09-29 13:15:33 +0000 (Wed, 29 Sep 2010) | 3 lines Changed paths: M /trunk/configure.ac M /trunk/src/mpfr-gmp.h M /trunk/src/sqrt.c added new option --enable-gmp-internals to use GMP undocumented function (at user's own risk). So far only mpn_rootrem is used in mpfr_sqrt. ------------------------------------------------------------------------ r7181 | zimmerma | 2010-09-29 10:07:00 +0000 (Wed, 29 Sep 2010) | 2 lines Changed paths: M /trunk/doc/README.dev M /trunk/src/mpfr-gmp.h M /trunk/src/sqrt.c [doc/README.dev] added comment about mpn_rootrem ------------------------------------------------------------------------ r7180 | vlefevre | 2010-09-28 23:09:34 +0000 (Tue, 28 Sep 2010) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Added a FIXME note about incorrect use of an internal GMP symbol (__gmpn_rootrem). ------------------------------------------------------------------------ r7179 | zimmerma | 2010-09-28 15:40:36 +0000 (Tue, 28 Sep 2010) | 4 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] followup to previous commit: only compute an extra limb of the square root for rounding to nearest (for directed rounding, it suffices to know if the remainder is zero or not) ------------------------------------------------------------------------ r7178 | zimmerma | 2010-09-28 15:08:34 +0000 (Tue, 28 Sep 2010) | 5 lines Changed paths: M /trunk/NEWS M /trunk/configure.ac M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/sqrt.c M /trunk/tests/reuse.c [src/sqrt.c] now uses mpn_rootrem (if available) instead of mpn_sqrtrem since mpn_rootrem is faster. Also refactored the code: now compute one more limb of the square root when the target precision is a multiple of GMP_NUMB_LIMB. This greatly simplifies the code. ------------------------------------------------------------------------ r7177 | zimmerma | 2010-09-28 11:40:08 +0000 (Tue, 28 Sep 2010) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] simplified computation of sticky bit ------------------------------------------------------------------------ r7176 | zimmerma | 2010-09-27 11:34:08 +0000 (Mon, 27 Sep 2010) | 2 lines Changed paths: M /trunk/src/mulders.c [mulders.c] fixed typo ------------------------------------------------------------------------ r7175 | vlefevre | 2010-09-27 10:25:08 +0000 (Mon, 27 Sep 2010) | 2 lines Changed paths: M /trunk/src/mulders.c [src/mulders.c] Replaced MPFR_ASSERTD with constant expression by MPFR_ASSERTN. ------------------------------------------------------------------------ r7174 | vlefevre | 2010-09-27 10:21:17 +0000 (Mon, 27 Sep 2010) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Added a test: Constant checking should use MPFR_ASSERTN, not MPFR_ASSERTD. ------------------------------------------------------------------------ r7173 | zimmerma | 2010-09-27 08:17:11 +0000 (Mon, 27 Sep 2010) | 2 lines Changed paths: M /trunk/src/mulders.c [mulders.c] modified mpfr_sqrhigh_n threshold so that it is > n/2 ------------------------------------------------------------------------ r7172 | vlefevre | 2010-09-27 00:54:13 +0000 (Mon, 27 Sep 2010) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Added a FIXME concerning autoconf 2.68. ------------------------------------------------------------------------ r7171 | zimmerma | 2010-09-25 03:57:06 +0000 (Sat, 25 Sep 2010) | 4 lines Changed paths: M /trunk/src/mulders.c [mulders.c] use mpn_lshift instead of mpn_add_n, and improved the default Mulders cutoff k beyond 1024 limbs (extrapolated from the cutoff k for n=1023 on Core 2, and checked experimentally it is faster) ------------------------------------------------------------------------ r7170 | zimmerma | 2010-09-24 19:57:30 +0000 (Fri, 24 Sep 2010) | 4 lines Changed paths: M /trunk/tune/tuneup.c [tuneup.c] changed lower bound for exp_2 threshold from MPFR_PREC_MIN (2) to GMP_NUMB_BITS. Seems to be better (since for p=2 the 2nd routine was sometimes already faster). ------------------------------------------------------------------------ r7169 | zimmerma | 2010-09-24 19:12:08 +0000 (Fri, 24 Sep 2010) | 2 lines Changed paths: M /trunk/src/mul.c [mul.c] another changes for Mulders' algorithm in case of a square ------------------------------------------------------------------------ r7168 | vlefevre | 2010-09-24 18:51:54 +0000 (Fri, 24 Sep 2010) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Change in r7166 was incomplete. Fixed suspicious code. ------------------------------------------------------------------------ r7167 | zimmerma | 2010-09-24 18:35:00 +0000 (Fri, 24 Sep 2010) | 2 lines Changed paths: M /trunk/src/mparam_h.in [mparam_h.in] updated for 64-bit Core2 ------------------------------------------------------------------------ r7166 | zimmerma | 2010-09-24 18:27:25 +0000 (Fri, 24 Sep 2010) | 3 lines Changed paths: M /trunk/NEWS M /trunk/src/mparam_h.in M /trunk/src/mul.c M /trunk/src/sqr.c M /trunk/tune/tuneup.c now use Mulders' algorithm also for mpfr_sqr, provides nice speed improvement in all functions that perform squarings ------------------------------------------------------------------------ r7165 | vlefevre | 2010-09-21 10:57:23 +0000 (Tue, 21 Sep 2010) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] API compatibility section: noted that mpfr_urandom and mpfr_urandomb changed for MPFR 3.1. ------------------------------------------------------------------------ r7164 | zimmerma | 2010-09-21 08:50:50 +0000 (Tue, 21 Sep 2010) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] update about "make tune" ------------------------------------------------------------------------ r7163 | vlefevre | 2010-09-21 08:43:47 +0000 (Tue, 21 Sep 2010) | 1 line Changed paths: M /trunk/doc/FAQ.html [doc] Updated FAQ.html with update-faq. ------------------------------------------------------------------------ r7159 | schevill | 2010-09-20 15:47:36 +0000 (Mon, 20 Sep 2010) | 3 lines Changed paths: M /trunk/README Indicated the location of README.dev. ------------------------------------------------------------------------ r7158 | vlefevre | 2010-09-19 17:58:10 +0000 (Sun, 19 Sep 2010) | 1 line Changed paths: M /trunk/NEWS [NEWS] Minor update. ------------------------------------------------------------------------ r7157 | zimmerma | 2010-09-19 12:32:22 +0000 (Sun, 19 Sep 2010) | 3 lines Changed paths: M /trunk/NEWS [NEWS] inform the users that mpfr_add_one_ulp and mpfr_sub_one_ulp will be removed ------------------------------------------------------------------------ r7156 | zimmerma | 2010-09-18 19:50:36 +0000 (Sat, 18 Sep 2010) | 2 lines Changed paths: M /trunk/TODO [TODO] added efficiency item ------------------------------------------------------------------------ r7150 | zimmerma | 2010-09-16 02:56:41 +0000 (Thu, 16 Sep 2010) | 3 lines Changed paths: M /trunk/tests/tget_flt.c M /trunk/tests/tset_z_exp.c replaced calls to mpfr_printf by calls to mpfr_dump (mpfr_printf might not be defined) ------------------------------------------------------------------------ r7149 | zimmerma | 2010-09-16 00:41:32 +0000 (Thu, 16 Sep 2010) | 3 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi [NEWS,doc/mpfr.texi] updated: the GMP random functions do not depend on the computer word size ------------------------------------------------------------------------ r7145 | vlefevre | 2010-09-15 15:17:09 +0000 (Wed, 15 Sep 2010) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Check for mpfr_printf-like functions in the tests. ------------------------------------------------------------------------ r7144 | vlefevre | 2010-09-15 15:15:06 +0000 (Wed, 15 Sep 2010) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r7143 | zimmerma | 2010-09-15 13:26:39 +0000 (Wed, 15 Sep 2010) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] added notes for mpfr_urandom and mpfr_urandomb ------------------------------------------------------------------------ r7142 | zimmerma | 2010-09-15 09:27:38 +0000 (Wed, 15 Sep 2010) | 2 lines Changed paths: M /trunk/tests/Makefile.am [Makefile.am] updated LOADLIBES with reorganization of the sources ------------------------------------------------------------------------ r7141 | zimmerma | 2010-09-15 09:15:57 +0000 (Wed, 15 Sep 2010) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [algorithms.tex] added sections for pow_ui and root ------------------------------------------------------------------------ r7140 | zimmerma | 2010-09-15 08:30:10 +0000 (Wed, 15 Sep 2010) | 4 lines Changed paths: M /trunk/NEWS M /trunk/src/urandom.c M /trunk/tests/turandom.c [src/urandom.c] now mpfr_urandom also returns identical values on 32-bit and 64-bit machines [tests/turandom.c] modified corresponding test ------------------------------------------------------------------------ r7139 | zimmerma | 2010-09-15 07:47:50 +0000 (Wed, 15 Sep 2010) | 2 lines Changed paths: M /trunk/tests/trandom.c M /trunk/tests/turandom.c replaced mpfr_printf in tests by calls to mpfr_out_str ------------------------------------------------------------------------ r7138 | vlefevre | 2010-09-15 07:35:16 +0000 (Wed, 15 Sep 2010) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated the paragraph added in r7137. ------------------------------------------------------------------------ r7137 | vlefevre | 2010-09-15 07:30:13 +0000 (Wed, 15 Sep 2010) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a paragraph about the use of system-dependent functions in the test suite. ------------------------------------------------------------------------ r7136 | vlefevre | 2010-09-15 07:28:34 +0000 (Wed, 15 Sep 2010) | 1 line Changed paths: M /trunk/src/init2.c M /trunk/src/set_ld.c M /trunk/src/vasprintf.c Some minor corrections in comments. ------------------------------------------------------------------------ r7135 | vlefevre | 2010-09-15 07:24:05 +0000 (Wed, 15 Sep 2010) | 1 line Changed paths: M /trunk/src/printf.c [src/printf.c] Typo in a comment. ------------------------------------------------------------------------ r7134 | vlefevre | 2010-09-15 07:23:25 +0000 (Wed, 15 Sep 2010) | 1 line Changed paths: M /trunk/src/printf.c [src/printf.c] Slight modification of a comment. ------------------------------------------------------------------------ r7133 | zimmerma | 2010-09-15 02:50:32 +0000 (Wed, 15 Sep 2010) | 8 lines Changed paths: M /trunk/src/urandom.c M /trunk/src/urandomb.c M /trunk/tests/trandom.c M /trunk/tests/turandom.c [urandomb.c] modified to leave the GMP random generator in the same state, independent of GMP_NUMB_BITS [trandom.c] test of the above [urandom.c] added FIXME's [turandom.c] check we leave the GMP random generator in the same state, independent of GMP_NUMB_BITS. Currently this fails on 64-bit computers. ------------------------------------------------------------------------ r7132 | zimmerma | 2010-09-15 01:57:46 +0000 (Wed, 15 Sep 2010) | 2 lines Changed paths: M /trunk/src/urandomb.c [urandomb.c] added comment + slight change ------------------------------------------------------------------------ r7121 | vlefevre | 2010-09-01 11:30:22 +0000 (Wed, 01 Sep 2010) | 4 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Added casts to improve robustness in case of undefined behavior and compiler extensions based on UB (in particular -fwrapv). MPFR doesn't use such extensions, but these macros will be used by 3rd-party code, where such extensions may be required. ------------------------------------------------------------------------ r7120 | vlefevre | 2010-09-01 11:06:07 +0000 (Wed, 01 Sep 2010) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Updated a comment concerning -Wconversion. ------------------------------------------------------------------------ r7118 | vlefevre | 2010-09-01 10:42:55 +0000 (Wed, 01 Sep 2010) | 6 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Added casts to unsigned long in mpfr_cmp_si and mpfr_set_si macros for GCC, in order to avoid warnings in programs that use MPFR and are compiled with -Wconversion (suggestion by Andreas Enge); such casts are OK since if X is a constant expression, then (unsigned long) X is also a constant expression, so that the optimizations still work. Reformatted these macros. ------------------------------------------------------------------------ r7116 | vlefevre | 2010-09-01 09:25:27 +0000 (Wed, 01 Sep 2010) | 4 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Fixed bug in the mpfr_cmp_ui macro for GCC (also used by mpfr_cmp_si), when the evaluation of the first argument yields side effects and the second argument is a constant expression with the value 0. ------------------------------------------------------------------------ r7115 | vlefevre | 2010-09-01 09:19:43 +0000 (Wed, 01 Sep 2010) | 2 lines Changed paths: M /trunk/tests/tcmp_ui.c [tests/tcmp_ui.c] Added side-effect tests similar to those in tset_si.c, showing a bug in the mpfr_cmp_ui and mpfr_cmp_si macros. ------------------------------------------------------------------------ r7114 | vlefevre | 2010-09-01 09:07:59 +0000 (Wed, 01 Sep 2010) | 2 lines Changed paths: M /trunk/tests/tcmp_ui.c [tests/tcmp_ui.c] Check mpfr_cmp_ui and mpfr_cmp_si macros against side effects in the arguments. ------------------------------------------------------------------------ r7113 | vlefevre | 2010-09-01 08:58:22 +0000 (Wed, 01 Sep 2010) | 2 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Added a comment about the macros that use __builtin_constant_p. ------------------------------------------------------------------------ r7112 | zimmerma | 2010-08-30 09:04:00 +0000 (Mon, 30 Aug 2010) | 2 lines Changed paths: M /trunk/tests/tsqrt.c [tsqrt.c] improved comment, and added test sqrt(+0) == +0 ------------------------------------------------------------------------ r7111 | vlefevre | 2010-08-29 19:26:00 +0000 (Sun, 29 Aug 2010) | 1 line Changed paths: M /trunk/tests/tsqrt.c [tests/tsqrt.c] Renamed check_nan() to check_singular(). ------------------------------------------------------------------------ r7110 | vlefevre | 2010-08-29 19:23:52 +0000 (Sun, 29 Aug 2010) | 1 line Changed paths: M /trunk/tests/tsqrt.c [tests/tsqrt.c] Check that sqrt(-0) has a negative sign. ------------------------------------------------------------------------ r7108 | vlefevre | 2010-08-26 14:44:41 +0000 (Thu, 26 Aug 2010) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Replaced "patches" by "allpatches". ------------------------------------------------------------------------ r7107 | zimmerma | 2010-08-25 20:15:24 +0000 (Wed, 25 Aug 2010) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] fixed typo ------------------------------------------------------------------------ r7106 | vlefevre | 2010-08-23 15:24:10 +0000 (Mon, 23 Aug 2010) | 1 line Changed paths: M /trunk/src/gmp_op.c [src/gmp_op.c] Extend the exponent range in mpfr_cmp_q and mpfr_cmp_f. ------------------------------------------------------------------------ r7105 | vlefevre | 2010-08-23 15:03:37 +0000 (Mon, 23 Aug 2010) | 5 lines Changed paths: M /trunk/src/gmp_op.c [src/gmp_op.c] In mpfr_add_q / mpfr_sub_q, check with MPFR_ASSERTN that an internal overflow/underflow doesn't occur. In theory, such an exception is possible, but only if q has a huge numerator or denominator. This is not supported (note: other problems may occur first, such as insufficient memory). ------------------------------------------------------------------------ r7104 | vlefevre | 2010-08-23 14:46:44 +0000 (Mon, 23 Aug 2010) | 1 line Changed paths: M /trunk/tests/tgmpop.c [tests/tgmpop.c] Added overflow tests for mpfr_add_q / mpfr_sub_q. ------------------------------------------------------------------------ r7103 | vlefevre | 2010-08-23 14:03:07 +0000 (Mon, 23 Aug 2010) | 1 line Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tests.c [tests/{mpfr-test.h,tests.c}] Added flags_out function to output flags. ------------------------------------------------------------------------ r7102 | vlefevre | 2010-08-23 13:34:08 +0000 (Mon, 23 Aug 2010) | 3 lines Changed paths: M /trunk/src/gmp_op.c M /trunk/tests/tgmpop.c [src/gmp_op.c] Extend the exponent range in mpfr_add_q / mpfr_sub_q (overflow/underflow exceptions are not supported yet). [tests/tgmpop.c] Added corresponding testcases. ------------------------------------------------------------------------ r7101 | vlefevre | 2010-08-19 12:08:41 +0000 (Thu, 19 Aug 2010) | 2 lines Changed paths: M /trunk/src/gmp_op.c M /trunk/tests/tgmpop.c [src/gmp_op.c] Fixed the Inf +/- Inf cases for mpfr_add_q / mpfr_sub_q. [tests/tgmpop.c] Added Inf +/- Inf tests. ------------------------------------------------------------------------ r7100 | thevenyp | 2010-08-19 08:56:31 +0000 (Thu, 19 Aug 2010) | 1 line Changed paths: M /trunk/tests/tgmpop.c [tests/tgmpop.c] Fix rounding mode in overflow tests ------------------------------------------------------------------------ r7099 | vlefevre | 2010-08-19 01:26:16 +0000 (Thu, 19 Aug 2010) | 3 lines Changed paths: M /trunk/src/gmp_op.c M /trunk/tests/tgmpop.c [src/gmp_op.c] The function mpfr_cmp_z could fail in a reduced exponent range. [tests/tgmpop.c] Added a corresponding testcase. ------------------------------------------------------------------------ r7098 | vlefevre | 2010-08-19 01:00:53 +0000 (Thu, 19 Aug 2010) | 3 lines Changed paths: M /trunk/src/gmp_op.c M /trunk/tests/tgmpop.c [src/gmp_op.c] The functions mpfr_mul_z, mpfr_div_z, mpfr_add_z and mpfr_sub_z could fail in a reduced exponent range. Fixed. [tests/tgmpop.c] Added corresponding testcase. ------------------------------------------------------------------------ r7097 | vlefevre | 2010-08-18 21:19:07 +0000 (Wed, 18 Aug 2010) | 1 line Changed paths: M /trunk/tests/tgmpop.c [tests/tgmpop.c] Disabled buggy tests. ------------------------------------------------------------------------ r7096 | vlefevre | 2010-08-18 13:24:30 +0000 (Wed, 18 Aug 2010) | 2 lines Changed paths: M /trunk/src/gmp_op.c [src/gmp_op.c] Fixed the intermediate overflow case in mpfr_muldiv_z (for mpfr_mul_q and mpfr_div_q). ------------------------------------------------------------------------ r7095 | vlefevre | 2010-08-18 11:55:19 +0000 (Wed, 18 Aug 2010) | 5 lines Changed paths: M /trunk/src/gmp_op.c [src/gmp_op.c] Added function mpfr_muldiv_z (currently static -- should it be in the API?) that computes y = RND(x*n/d), where n and d are mpz integers. Changed mpfr_mul_q and mpfr_div_q to use this function. Note: the code of the general case is currently the same as the old mpfr_mul_q/mpfr_div_q code, thus needs to be fixed. ------------------------------------------------------------------------ r7094 | vlefevre | 2010-08-18 08:59:58 +0000 (Wed, 18 Aug 2010) | 1 line Changed paths: M /trunk/tests/tgmpop.c [tests/tgmpop.c] Replaced GMP_RNDN by MPFR_RNDN. ------------------------------------------------------------------------ r7093 | vlefevre | 2010-08-18 08:29:03 +0000 (Wed, 18 Aug 2010) | 2 lines Changed paths: M /trunk/tests/tgmpop.c [tests/tgmpop.c] Added testcase for mpfr_mul_q/mpfr_div_q bug noted in src/gmp_op.c (due to intermediate overflow). ------------------------------------------------------------------------ r7092 | vlefevre | 2010-08-17 15:32:53 +0000 (Tue, 17 Aug 2010) | 1 line Changed paths: M /trunk/src/logging.c [src/logging.c] Added a comment about register_printf_function. ------------------------------------------------------------------------ r7091 | vlefevre | 2010-08-17 12:45:22 +0000 (Tue, 17 Aug 2010) | 6 lines Changed paths: M /trunk/Makefile.am A /trunk/tools/ck-version-info Added tools/ck-version-info Perl script with the same license as Makefile.am, to check consistency concerning -version-info and that the -version-info value is up-to-date. Updated Makefile.am: * In dist-hook, replaced complex sh code by a call to ck-version-info. * Distribute ck-version-info (EXTRA_DIST). ------------------------------------------------------------------------ r7090 | vlefevre | 2010-08-17 12:30:02 +0000 (Tue, 17 Aug 2010) | 1 line Changed paths: M /trunk M /trunk/doc M /trunk/src M /trunk/tune Updated svn:ignore properties. ------------------------------------------------------------------------ r7089 | vlefevre | 2010-08-17 09:31:09 +0000 (Tue, 17 Aug 2010) | 1 line Changed paths: M /trunk/Makefile.am [Makefile.am] Put tools/get_patches.sh back to EXTRA_DIST. ------------------------------------------------------------------------ r7088 | vlefevre | 2010-08-17 09:25:39 +0000 (Tue, 17 Aug 2010) | 1 line Changed paths: M /trunk/src/Makefile.am [src/Makefile.am] Fixed -version-info (I forgot to increment CURRENT). ------------------------------------------------------------------------ r7087 | vlefevre | 2010-08-17 09:10:13 +0000 (Tue, 17 Aug 2010) | 38 lines Changed paths: D /trunk/FAQ.html M /trunk/INSTALL M /trunk/Makefile.am M /trunk/NEWS M /trunk/README D /trunk/README.dev M /trunk/TODO D /trunk/abort_prec_max.c M /trunk/acinclude.m4 D /trunk/acos.c D /trunk/acosh.c D /trunk/add.c D /trunk/add1.c D /trunk/add1sp.c D /trunk/add_d.c D /trunk/add_ui.c D /trunk/agm.c D /trunk/ai.c D /trunk/algorithm2e.sty D /trunk/algorithms.bib D /trunk/algorithms.tex D /trunk/asin.c D /trunk/asinh.c D /trunk/atan.c D /trunk/atan2.c D /trunk/atanh.c D /trunk/bernoulli.c D /trunk/bidimensional_sample.c D /trunk/buildopt.c D /trunk/cache.c D /trunk/cbrt.c D /trunk/check.c D /trunk/check_inits_clears D /trunk/clear.c D /trunk/clears.c D /trunk/cmp.c D /trunk/cmp2.c D /trunk/cmp_abs.c D /trunk/cmp_d.c D /trunk/cmp_ld.c D /trunk/cmp_si.c D /trunk/cmp_ui.c D /trunk/comparisons.c A /trunk/configure.ac (from /trunk/configure.in:7086) D /trunk/configure.in D /trunk/const_catalan.c D /trunk/const_euler.c D /trunk/const_log2.c D /trunk/const_pi.c D /trunk/constant.c D /trunk/copysign.c D /trunk/cos.c D /trunk/cosh.c D /trunk/cot.c D /trunk/coth.c D /trunk/coverage D /trunk/cputime.h D /trunk/csc.c D /trunk/csch.c D /trunk/d_div.c D /trunk/d_sub.c D /trunk/digamma.c D /trunk/dim.c D /trunk/div-short.c D /trunk/div.c D /trunk/div_2exp.c D /trunk/div_2si.c D /trunk/div_2ui.c D /trunk/div_d.c D /trunk/div_ui.c A /trunk/doc A /trunk/doc/FAQ.html (from /trunk/FAQ.html:7086) A /trunk/doc/Makefile.am A /trunk/doc/README.dev (from /trunk/README.dev:7086) A /trunk/doc/algorithm2e.sty (from /trunk/algorithm2e.sty:7086) A /trunk/doc/algorithms.bib (from /trunk/algorithms.bib:7086) A /trunk/doc/algorithms.tex (from /trunk/algorithms.tex:7086) A /trunk/doc/faq.xsl (from /trunk/faq.xsl:7086) A /trunk/doc/fdl.texi (from /trunk/fdl.texi:7086) A /trunk/doc/mpfr.texi (from /trunk/mpfr.texi:7086) A /trunk/doc/update-faq (from /trunk/update-faq:7086) D /trunk/dump.c D /trunk/eint.c D /trunk/eq.c D /trunk/erf.c D /trunk/erfc.c D /trunk/exceptions.c D /trunk/exp.c D /trunk/exp10.c D /trunk/exp2.c D /trunk/exp3.c D /trunk/exp_2.c D /trunk/expm1.c D /trunk/extract.c D /trunk/factorial.c D /trunk/faq.xsl D /trunk/fdl.texi D /trunk/fits_intmax.c D /trunk/fits_s.h D /trunk/fits_sint.c D /trunk/fits_slong.c D /trunk/fits_sshort.c D /trunk/fits_u.h D /trunk/fits_uint.c D /trunk/fits_uintmax.c D /trunk/fits_ulong.c D /trunk/fits_ushort.c D /trunk/fma.c D /trunk/fms.c D /trunk/frac.c D /trunk/free_cache.c D /trunk/gamma.c D /trunk/gammaonethird.c D /trunk/gen_inverse.h D /trunk/get_d.c D /trunk/get_d64.c D /trunk/get_exp.c D /trunk/get_f.c D /trunk/get_flt.c D /trunk/get_ld.c D /trunk/get_patches.sh D /trunk/get_si.c D /trunk/get_sj.c D /trunk/get_str.c D /trunk/get_ui.c D /trunk/get_uj.c D /trunk/get_z.c D /trunk/get_z_exp.c D /trunk/gmp_op.c D /trunk/hypot.c D /trunk/ieee_floats.h D /trunk/init.c D /trunk/init2.c D /trunk/inits.c D /trunk/inits2.c D /trunk/inp_str.c D /trunk/int_ceil_log2.c D /trunk/isinf.c D /trunk/isinteger.c D /trunk/isnan.c D /trunk/isnum.c D /trunk/isqrt.c D /trunk/isregular.c D /trunk/iszero.c D /trunk/jn.c D /trunk/jyn_asympt.c D /trunk/li2.c D /trunk/lngamma.c D /trunk/log.c D /trunk/log10.c D /trunk/log1p.c D /trunk/log2.c D /trunk/logging.c D /trunk/mbench D /trunk/min_prec.c D /trunk/minmax.c D /trunk/modf.c D /trunk/mp_clz_tab.c D /trunk/mparam_h.in D /trunk/mpf2mpfr.h D /trunk/mpfr-gmp.c D /trunk/mpfr-gmp.h D /trunk/mpfr-impl.h D /trunk/mpfr-longlong.h D /trunk/mpfr-thread.h D /trunk/mpfr.h D /trunk/mpfr.texi D /trunk/mpfrlint D /trunk/mpn_exp.c D /trunk/mul.c D /trunk/mul_2exp.c D /trunk/mul_2si.c D /trunk/mul_2ui.c D /trunk/mul_d.c D /trunk/mul_ui.c D /trunk/mulders.c D /trunk/neg.c D /trunk/next.c D /trunk/nightly-test A /trunk/other A /trunk/other/cputime.h (from /trunk/cputime.h:7086) A /trunk/other/div-short.c (from /trunk/div-short.c:7086) D /trunk/out_str.c D /trunk/pow.c D /trunk/pow_si.c D /trunk/pow_ui.c D /trunk/pow_z.c D /trunk/powerof2.c D /trunk/print_raw.c D /trunk/print_rnd_mode.c D /trunk/printf.c D /trunk/rec_sqrt.c D /trunk/reldiff.c D /trunk/rem1.c D /trunk/replace_all D /trunk/rint.c D /trunk/root.c D /trunk/round_near_x.c D /trunk/round_p.c D /trunk/round_prec.c D /trunk/round_raw_generic.c D /trunk/scale2.c D /trunk/sec.c D /trunk/sech.c D /trunk/set.c D /trunk/set_d.c D /trunk/set_d64.c D /trunk/set_dfl_prec.c D /trunk/set_exp.c D /trunk/set_f.c D /trunk/set_flt.c D /trunk/set_inf.c D /trunk/set_ld.c D /trunk/set_nan.c D /trunk/set_prc_raw.c D /trunk/set_prec.c D /trunk/set_q.c D /trunk/set_rnd.c D /trunk/set_si.c D /trunk/set_si_2exp.c D /trunk/set_sj.c D /trunk/set_str.c D /trunk/set_str_raw.c D /trunk/set_ui.c D /trunk/set_ui_2exp.c D /trunk/set_uj.c D /trunk/set_z.c D /trunk/set_z_exp.c D /trunk/set_zero.c D /trunk/setmax.c D /trunk/setmin.c D /trunk/setsign.c D /trunk/sgn.c D /trunk/si_op.c D /trunk/signbit.c D /trunk/sin.c D /trunk/sin_cos.c D /trunk/sinh.c D /trunk/sinh_cosh.c D /trunk/speed.c D /trunk/sqr.c D /trunk/sqrt.c D /trunk/sqrt_ui.c A /trunk/src A /trunk/src/Makefile.am (from /trunk/Makefile.am:7086) A /trunk/src/abort_prec_max.c (from /trunk/abort_prec_max.c:7086) A /trunk/src/acos.c (from /trunk/acos.c:7086) A /trunk/src/acosh.c (from /trunk/acosh.c:7086) A /trunk/src/add.c (from /trunk/add.c:7086) A /trunk/src/add1.c (from /trunk/add1.c:7086) A /trunk/src/add1sp.c (from /trunk/add1sp.c:7086) A /trunk/src/add_d.c (from /trunk/add_d.c:7086) A /trunk/src/add_ui.c (from /trunk/add_ui.c:7086) A /trunk/src/agm.c (from /trunk/agm.c:7086) A /trunk/src/ai.c (from /trunk/ai.c:7086) A /trunk/src/asin.c (from /trunk/asin.c:7086) A /trunk/src/asinh.c (from /trunk/asinh.c:7086) A /trunk/src/atan.c (from /trunk/atan.c:7086) A /trunk/src/atan2.c (from /trunk/atan2.c:7086) A /trunk/src/atanh.c (from /trunk/atanh.c:7086) A /trunk/src/bernoulli.c (from /trunk/bernoulli.c:7086) A /trunk/src/buildopt.c (from /trunk/buildopt.c:7086) A /trunk/src/cache.c (from /trunk/cache.c:7086) A /trunk/src/cbrt.c (from /trunk/cbrt.c:7086) A /trunk/src/check.c (from /trunk/check.c:7086) A /trunk/src/clear.c (from /trunk/clear.c:7086) A /trunk/src/clears.c (from /trunk/clears.c:7086) A /trunk/src/cmp.c (from /trunk/cmp.c:7086) A /trunk/src/cmp2.c (from /trunk/cmp2.c:7086) A /trunk/src/cmp_abs.c (from /trunk/cmp_abs.c:7086) A /trunk/src/cmp_d.c (from /trunk/cmp_d.c:7086) A /trunk/src/cmp_ld.c (from /trunk/cmp_ld.c:7086) A /trunk/src/cmp_si.c (from /trunk/cmp_si.c:7086) A /trunk/src/cmp_ui.c (from /trunk/cmp_ui.c:7086) A /trunk/src/comparisons.c (from /trunk/comparisons.c:7086) A /trunk/src/const_catalan.c (from /trunk/const_catalan.c:7086) A /trunk/src/const_euler.c (from /trunk/const_euler.c:7086) A /trunk/src/const_log2.c (from /trunk/const_log2.c:7086) A /trunk/src/const_pi.c (from /trunk/const_pi.c:7086) A /trunk/src/constant.c (from /trunk/constant.c:7086) A /trunk/src/copysign.c (from /trunk/copysign.c:7086) A /trunk/src/cos.c (from /trunk/cos.c:7086) A /trunk/src/cosh.c (from /trunk/cosh.c:7086) A /trunk/src/cot.c (from /trunk/cot.c:7086) A /trunk/src/coth.c (from /trunk/coth.c:7086) A /trunk/src/csc.c (from /trunk/csc.c:7086) A /trunk/src/csch.c (from /trunk/csch.c:7086) A /trunk/src/d_div.c (from /trunk/d_div.c:7086) A /trunk/src/d_sub.c (from /trunk/d_sub.c:7086) A /trunk/src/digamma.c (from /trunk/digamma.c:7086) A /trunk/src/dim.c (from /trunk/dim.c:7086) A /trunk/src/div.c (from /trunk/div.c:7086) A /trunk/src/div_2exp.c (from /trunk/div_2exp.c:7086) A /trunk/src/div_2si.c (from /trunk/div_2si.c:7086) A /trunk/src/div_2ui.c (from /trunk/div_2ui.c:7086) A /trunk/src/div_d.c (from /trunk/div_d.c:7086) A /trunk/src/div_ui.c (from /trunk/div_ui.c:7086) A /trunk/src/dump.c (from /trunk/dump.c:7086) A /trunk/src/eint.c (from /trunk/eint.c:7086) A /trunk/src/eq.c (from /trunk/eq.c:7086) A /trunk/src/erf.c (from /trunk/erf.c:7086) A /trunk/src/erfc.c (from /trunk/erfc.c:7086) A /trunk/src/exceptions.c (from /trunk/exceptions.c:7086) A /trunk/src/exp.c (from /trunk/exp.c:7086) A /trunk/src/exp10.c (from /trunk/exp10.c:7086) A /trunk/src/exp2.c (from /trunk/exp2.c:7086) A /trunk/src/exp3.c (from /trunk/exp3.c:7086) A /trunk/src/exp_2.c (from /trunk/exp_2.c:7086) A /trunk/src/expm1.c (from /trunk/expm1.c:7086) A /trunk/src/extract.c (from /trunk/extract.c:7086) A /trunk/src/factorial.c (from /trunk/factorial.c:7086) A /trunk/src/fits_intmax.c (from /trunk/fits_intmax.c:7086) A /trunk/src/fits_s.h (from /trunk/fits_s.h:7086) A /trunk/src/fits_sint.c (from /trunk/fits_sint.c:7086) A /trunk/src/fits_slong.c (from /trunk/fits_slong.c:7086) A /trunk/src/fits_sshort.c (from /trunk/fits_sshort.c:7086) A /trunk/src/fits_u.h (from /trunk/fits_u.h:7086) A /trunk/src/fits_uint.c (from /trunk/fits_uint.c:7086) A /trunk/src/fits_uintmax.c (from /trunk/fits_uintmax.c:7086) A /trunk/src/fits_ulong.c (from /trunk/fits_ulong.c:7086) A /trunk/src/fits_ushort.c (from /trunk/fits_ushort.c:7086) A /trunk/src/fma.c (from /trunk/fma.c:7086) A /trunk/src/fms.c (from /trunk/fms.c:7086) A /trunk/src/frac.c (from /trunk/frac.c:7086) A /trunk/src/free_cache.c (from /trunk/free_cache.c:7086) A /trunk/src/gamma.c (from /trunk/gamma.c:7086) A /trunk/src/gammaonethird.c (from /trunk/gammaonethird.c:7086) A /trunk/src/gen_inverse.h (from /trunk/gen_inverse.h:7086) A /trunk/src/get_d.c (from /trunk/get_d.c:7086) A /trunk/src/get_d64.c (from /trunk/get_d64.c:7086) A /trunk/src/get_exp.c (from /trunk/get_exp.c:7086) A /trunk/src/get_f.c (from /trunk/get_f.c:7086) A /trunk/src/get_flt.c (from /trunk/get_flt.c:7086) A /trunk/src/get_ld.c (from /trunk/get_ld.c:7086) A /trunk/src/get_si.c (from /trunk/get_si.c:7086) A /trunk/src/get_sj.c (from /trunk/get_sj.c:7086) A /trunk/src/get_str.c (from /trunk/get_str.c:7086) A /trunk/src/get_ui.c (from /trunk/get_ui.c:7086) A /trunk/src/get_uj.c (from /trunk/get_uj.c:7086) A /trunk/src/get_z.c (from /trunk/get_z.c:7086) A /trunk/src/get_z_exp.c (from /trunk/get_z_exp.c:7086) A /trunk/src/gmp_op.c (from /trunk/gmp_op.c:7086) A /trunk/src/hypot.c (from /trunk/hypot.c:7086) A /trunk/src/ieee_floats.h (from /trunk/ieee_floats.h:7086) A /trunk/src/init.c (from /trunk/init.c:7086) A /trunk/src/init2.c (from /trunk/init2.c:7086) A /trunk/src/inits.c (from /trunk/inits.c:7086) A /trunk/src/inits2.c (from /trunk/inits2.c:7086) A /trunk/src/inp_str.c (from /trunk/inp_str.c:7086) A /trunk/src/int_ceil_log2.c (from /trunk/int_ceil_log2.c:7086) A /trunk/src/isinf.c (from /trunk/isinf.c:7086) A /trunk/src/isinteger.c (from /trunk/isinteger.c:7086) A /trunk/src/isnan.c (from /trunk/isnan.c:7086) A /trunk/src/isnum.c (from /trunk/isnum.c:7086) A /trunk/src/isqrt.c (from /trunk/isqrt.c:7086) A /trunk/src/isregular.c (from /trunk/isregular.c:7086) A /trunk/src/iszero.c (from /trunk/iszero.c:7086) A /trunk/src/jn.c (from /trunk/jn.c:7086) A /trunk/src/jyn_asympt.c (from /trunk/jyn_asympt.c:7086) A /trunk/src/li2.c (from /trunk/li2.c:7086) A /trunk/src/lngamma.c (from /trunk/lngamma.c:7086) A /trunk/src/log.c (from /trunk/log.c:7086) A /trunk/src/log10.c (from /trunk/log10.c:7086) A /trunk/src/log1p.c (from /trunk/log1p.c:7086) A /trunk/src/log2.c (from /trunk/log2.c:7086) A /trunk/src/logging.c (from /trunk/logging.c:7086) A /trunk/src/min_prec.c (from /trunk/min_prec.c:7086) A /trunk/src/minmax.c (from /trunk/minmax.c:7086) A /trunk/src/modf.c (from /trunk/modf.c:7086) A /trunk/src/mp_clz_tab.c (from /trunk/mp_clz_tab.c:7086) A /trunk/src/mparam_h.in (from /trunk/mparam_h.in:7086) A /trunk/src/mpf2mpfr.h (from /trunk/mpf2mpfr.h:7086) A /trunk/src/mpfr-gmp.c (from /trunk/mpfr-gmp.c:7086) A /trunk/src/mpfr-gmp.h (from /trunk/mpfr-gmp.h:7086) A /trunk/src/mpfr-impl.h (from /trunk/mpfr-impl.h:7086) A /trunk/src/mpfr-longlong.h (from /trunk/mpfr-longlong.h:7086) A /trunk/src/mpfr-thread.h (from /trunk/mpfr-thread.h:7086) A /trunk/src/mpfr.h (from /trunk/mpfr.h:7086) A /trunk/src/mpn_exp.c (from /trunk/mpn_exp.c:7086) A /trunk/src/mul.c (from /trunk/mul.c:7086) A /trunk/src/mul_2exp.c (from /trunk/mul_2exp.c:7086) A /trunk/src/mul_2si.c (from /trunk/mul_2si.c:7086) A /trunk/src/mul_2ui.c (from /trunk/mul_2ui.c:7086) A /trunk/src/mul_d.c (from /trunk/mul_d.c:7086) A /trunk/src/mul_ui.c (from /trunk/mul_ui.c:7086) A /trunk/src/mulders.c (from /trunk/mulders.c:7086) A /trunk/src/neg.c (from /trunk/neg.c:7086) A /trunk/src/next.c (from /trunk/next.c:7086) A /trunk/src/out_str.c (from /trunk/out_str.c:7086) A /trunk/src/pow.c (from /trunk/pow.c:7086) A /trunk/src/pow_si.c (from /trunk/pow_si.c:7086) A /trunk/src/pow_ui.c (from /trunk/pow_ui.c:7086) A /trunk/src/pow_z.c (from /trunk/pow_z.c:7086) A /trunk/src/powerof2.c (from /trunk/powerof2.c:7086) A /trunk/src/print_raw.c (from /trunk/print_raw.c:7086) A /trunk/src/print_rnd_mode.c (from /trunk/print_rnd_mode.c:7086) A /trunk/src/printf.c (from /trunk/printf.c:7086) A /trunk/src/rec_sqrt.c (from /trunk/rec_sqrt.c:7086) A /trunk/src/reldiff.c (from /trunk/reldiff.c:7086) A /trunk/src/rem1.c (from /trunk/rem1.c:7086) A /trunk/src/rint.c (from /trunk/rint.c:7086) A /trunk/src/root.c (from /trunk/root.c:7086) A /trunk/src/round_near_x.c (from /trunk/round_near_x.c:7086) A /trunk/src/round_p.c (from /trunk/round_p.c:7086) A /trunk/src/round_prec.c (from /trunk/round_prec.c:7086) A /trunk/src/round_raw_generic.c (from /trunk/round_raw_generic.c:7086) A /trunk/src/scale2.c (from /trunk/scale2.c:7086) A /trunk/src/sec.c (from /trunk/sec.c:7086) A /trunk/src/sech.c (from /trunk/sech.c:7086) A /trunk/src/set.c (from /trunk/set.c:7086) A /trunk/src/set_d.c (from /trunk/set_d.c:7086) A /trunk/src/set_d64.c (from /trunk/set_d64.c:7086) A /trunk/src/set_dfl_prec.c (from /trunk/set_dfl_prec.c:7086) A /trunk/src/set_exp.c (from /trunk/set_exp.c:7086) A /trunk/src/set_f.c (from /trunk/set_f.c:7086) A /trunk/src/set_flt.c (from /trunk/set_flt.c:7086) A /trunk/src/set_inf.c (from /trunk/set_inf.c:7086) A /trunk/src/set_ld.c (from /trunk/set_ld.c:7086) A /trunk/src/set_nan.c (from /trunk/set_nan.c:7086) A /trunk/src/set_prc_raw.c (from /trunk/set_prc_raw.c:7086) A /trunk/src/set_prec.c (from /trunk/set_prec.c:7086) A /trunk/src/set_q.c (from /trunk/set_q.c:7086) A /trunk/src/set_rnd.c (from /trunk/set_rnd.c:7086) A /trunk/src/set_si.c (from /trunk/set_si.c:7086) A /trunk/src/set_si_2exp.c (from /trunk/set_si_2exp.c:7086) A /trunk/src/set_sj.c (from /trunk/set_sj.c:7086) A /trunk/src/set_str.c (from /trunk/set_str.c:7086) A /trunk/src/set_str_raw.c (from /trunk/set_str_raw.c:7086) A /trunk/src/set_ui.c (from /trunk/set_ui.c:7086) A /trunk/src/set_ui_2exp.c (from /trunk/set_ui_2exp.c:7086) A /trunk/src/set_uj.c (from /trunk/set_uj.c:7086) A /trunk/src/set_z.c (from /trunk/set_z.c:7086) A /trunk/src/set_z_exp.c (from /trunk/set_z_exp.c:7086) A /trunk/src/set_zero.c (from /trunk/set_zero.c:7086) A /trunk/src/setmax.c (from /trunk/setmax.c:7086) A /trunk/src/setmin.c (from /trunk/setmin.c:7086) A /trunk/src/setsign.c (from /trunk/setsign.c:7086) A /trunk/src/sgn.c (from /trunk/sgn.c:7086) A /trunk/src/si_op.c (from /trunk/si_op.c:7086) A /trunk/src/signbit.c (from /trunk/signbit.c:7086) A /trunk/src/sin.c (from /trunk/sin.c:7086) A /trunk/src/sin_cos.c (from /trunk/sin_cos.c:7086) A /trunk/src/sinh.c (from /trunk/sinh.c:7086) A /trunk/src/sinh_cosh.c (from /trunk/sinh_cosh.c:7086) A /trunk/src/sqr.c (from /trunk/sqr.c:7086) A /trunk/src/sqrt.c (from /trunk/sqrt.c:7086) A /trunk/src/sqrt_ui.c (from /trunk/sqrt_ui.c:7086) A /trunk/src/stack_interface.c (from /trunk/stack_interface.c:7086) A /trunk/src/strtofr.c (from /trunk/strtofr.c:7086) A /trunk/src/sub.c (from /trunk/sub.c:7086) A /trunk/src/sub1.c (from /trunk/sub1.c:7086) A /trunk/src/sub1sp.c (from /trunk/sub1sp.c:7086) A /trunk/src/sub_d.c (from /trunk/sub_d.c:7086) A /trunk/src/sub_ui.c (from /trunk/sub_ui.c:7086) A /trunk/src/subnormal.c (from /trunk/subnormal.c:7086) A /trunk/src/sum.c (from /trunk/sum.c:7086) A /trunk/src/swap.c (from /trunk/swap.c:7086) A /trunk/src/tan.c (from /trunk/tan.c:7086) A /trunk/src/tanh.c (from /trunk/tanh.c:7086) A /trunk/src/uceil_exp2.c (from /trunk/uceil_exp2.c:7086) A /trunk/src/uceil_log2.c (from /trunk/uceil_log2.c:7086) A /trunk/src/ufloor_log2.c (from /trunk/ufloor_log2.c:7086) A /trunk/src/ui_div.c (from /trunk/ui_div.c:7086) A /trunk/src/ui_pow.c (from /trunk/ui_pow.c:7086) A /trunk/src/ui_pow_ui.c (from /trunk/ui_pow_ui.c:7086) A /trunk/src/ui_sub.c (from /trunk/ui_sub.c:7086) A /trunk/src/urandom.c (from /trunk/urandom.c:7086) A /trunk/src/urandomb.c (from /trunk/urandomb.c:7086) A /trunk/src/vasprintf.c (from /trunk/vasprintf.c:7086) A /trunk/src/version.c (from /trunk/version.c:7086) A /trunk/src/volatile.c (from /trunk/volatile.c:7086) A /trunk/src/yn.c (from /trunk/yn.c:7086) A /trunk/src/zeta.c (from /trunk/zeta.c:7086) A /trunk/src/zeta_ui.c (from /trunk/zeta_ui.c:7086) D /trunk/stack_interface.c D /trunk/strtofr.c D /trunk/sub.c D /trunk/sub1.c D /trunk/sub1sp.c D /trunk/sub_d.c D /trunk/sub_ui.c D /trunk/subnormal.c D /trunk/sum.c D /trunk/swap.c D /trunk/tan.c D /trunk/tanh.c M /trunk/tests/Makefile.am A /trunk/tools A /trunk/tools/check_inits_clears (from /trunk/check_inits_clears:7086) A /trunk/tools/coverage (from /trunk/coverage:7086) A /trunk/tools/get_patches.sh (from /trunk/get_patches.sh:7086) A /trunk/tools/mbench (from /trunk/mbench:7086) A /trunk/tools/mpfrlint (from /trunk/mpfrlint:7086) A /trunk/tools/nightly-test (from /trunk/nightly-test:7086) A /trunk/tools/update-patchv (from /trunk/update-patchv:7086) A /trunk/tools/update-version (from /trunk/update-version:7086) A /trunk/tune A /trunk/tune/Makefile.am A /trunk/tune/bidimensional_sample.c (from /trunk/bidimensional_sample.c:7086) A /trunk/tune/speed.c (from /trunk/speed.c:7086) A /trunk/tune/tuneup.c (from /trunk/tuneup.c:7086) D /trunk/tuneup.c D /trunk/uceil_exp2.c D /trunk/uceil_log2.c D /trunk/ufloor_log2.c D /trunk/ui_div.c D /trunk/ui_pow.c D /trunk/ui_pow_ui.c D /trunk/ui_sub.c D /trunk/update-faq D /trunk/update-patchv D /trunk/update-version D /trunk/urandom.c D /trunk/urandomb.c D /trunk/vasprintf.c D /trunk/version.c D /trunk/volatile.c D /trunk/yn.c D /trunk/zeta.c D /trunk/zeta_ui.c Source reorganization. In short: * Added directories and moved related files into them: - src for the MPFR source files (to build the library). - doc for documentation files (except INSTALL, README...). - tools for various tools (scripts) and mbench. - tune for tuneup-related source files. - other for other source files (not distributed in tarballs). Existing directories: - tests for the source files of the test suite (make check). - examples for examples. - m4 for m4 files. * Renamed configure.in to configure.ac. * Added/updated Makefile.am files where needed. * Updated acinclude.m4 and configure.ac (AC_CONFIG_FILES line). * Updated the documentation (INSTALL, README, doc/README.dev and doc/mpfr.texi). * Updated NEWS and TODO. * Updated the scripts now in tools. The following script was used: #!/usr/bin/env zsh svn mkdir doc other src tools tune svn mv ${${(M)$(sed -n '/libmpfr_la_SOURCES/,/[^\]$/p' \ Makefile.am):#*.[ch]}:#get_patches.c} mparam_h.in \ round_raw_generic.c jyn_asympt.c src svn mv mbench check_inits_clears coverage get_patches.sh mpfrlint \ nightly-test update-patchv update-version tools svn mv bidimensional_sample.c speed.c tuneup.c tune svn mv *.{c,h} other svn mv FAQ.html README.dev algorithm* faq.xsl fdl.texi mpfr.texi \ update-faq doc svn mv configure.in configure.ac svn cp Makefile.am src/Makefile.am svn rm replace_all [Modifying some files, see above] svn add doc/Makefile.am svn add tune/Makefile.am ------------------------------------------------------------------------ r7086 | vlefevre | 2010-08-16 13:09:20 +0000 (Mon, 16 Aug 2010) | 4 lines Changed paths: M /trunk/Makefile.am [Makefile.am] Updated -version-info (the interface hasn't really been changed yet -- though the future bug fix / rewrite of mpfr_mul_q and mpfr_div_q could be seen as an addition -- but this eases maintenance and avoids -version-info conflict with the 3.0 branch). ------------------------------------------------------------------------ r7085 | vlefevre | 2010-08-16 12:40:14 +0000 (Mon, 16 Aug 2010) | 1 line Changed paths: M /trunk/bidimensional_sample.c [bidimensional_sample.c] Added copyright notice. ------------------------------------------------------------------------ r7084 | vlefevre | 2010-08-16 12:37:37 +0000 (Mon, 16 Aug 2010) | 1 line Changed paths: M /trunk/ai.c [ai.c] Prototype clean-up. ------------------------------------------------------------------------ r7083 | vlefevre | 2010-08-16 09:21:21 +0000 (Mon, 16 Aug 2010) | 12 lines Changed paths: M /trunk/README.dev M /trunk/acinclude.m4 M /trunk/fits_intmax.c M /trunk/fits_uintmax.c M /trunk/get_sj.c M /trunk/get_uj.c M /trunk/m4/size_max.m4 M /trunk/set_sj.c M /trunk/set_uj.c M /trunk/tests/tfits.c M /trunk/tests/tfprintf.c M /trunk/tests/tget_sj.c M /trunk/tests/tprintf.c M /trunk/tests/tset_sj.c M /trunk/vasprintf.c Avoid a compilation failure on OSF/1 (Tru64) 5.1 due to non-C99 conformance though <inttypes.h> is available. In various source files and m4 files, use the following form only: #if HAVE_INTTYPES_H # include <inttypes.h> #endif #if HAVE_STDINT_H # include <stdint.h> #endif Updated README.dev to mention this form. ------------------------------------------------------------------------ r7078 | vlefevre | 2010-08-13 14:46:58 +0000 (Fri, 13 Aug 2010) | 1 line Changed paths: M /trunk/tests/random2.c Deleted old svn:mergeinfo property on tests/random2.c ------------------------------------------------------------------------ r7077 | vlefevre | 2010-08-13 10:11:25 +0000 (Fri, 13 Aug 2010) | 10 lines Changed paths: M /trunk/tests/mpf_compat.h M /trunk/tests/tpow.c M /trunk/tests/tpow_z.c M /trunk/tests/tremquo.c M /trunk/tests/tset.c M /trunk/tests/tset_ld.c M /trunk/tests/tzeta_ui.c [tests] Avoid warning due to -Wunused-but-set-variable (from future GCC 4.6). Only let the one from tsubnormal.c because it's a TODO. * mpf_compat.h: use the variables, that are there for prototype checking. * tpow.c, tpow_z.c: test the ternary value. * tremquo.c: removed inex variables (the bug due to the MPFR value). * tset.c: test the ternary value. * tset_ld.c: removed the long double variable (it cannot be tested in a portable way and the bug was an assertion failure). * tzeta_ui.c: removed the inexact variable (not really useful here). ------------------------------------------------------------------------ r7076 | vlefevre | 2010-08-13 09:44:19 +0000 (Fri, 13 Aug 2010) | 2 lines Changed paths: M /trunk/get_f.c [get_f.c] Avoid warning due to -Wunused-but-set-variable (from future GCC 4.6). ------------------------------------------------------------------------ r7075 | vlefevre | 2010-08-13 09:41:27 +0000 (Fri, 13 Aug 2010) | 2 lines Changed paths: M /trunk/gamma.c [gamma.c] Avoid warning due to -Wunused-but-set-variable (from future GCC 4.6). ------------------------------------------------------------------------ r7074 | vlefevre | 2010-08-13 09:38:28 +0000 (Fri, 13 Aug 2010) | 2 lines Changed paths: M /trunk/gmp_op.c [gmp_op.c] Avoid warning due to -Wunused-but-set-variable (from future GCC 4.6). ------------------------------------------------------------------------ r7073 | vlefevre | 2010-08-13 09:32:58 +0000 (Fri, 13 Aug 2010) | 3 lines Changed paths: M /trunk/exp_2.c [exp_2.c] No longer define qn and sizer, which are no longer used since r6919. This was detected by gcc-snapshot (4.6.0 prerelease) under Debian (-Wunused-but-set-variable). ------------------------------------------------------------------------ r7072 | vlefevre | 2010-08-13 08:12:06 +0000 (Fri, 13 Aug 2010) | 1 line Changed paths: M /trunk/NEWS [NEWS] Update. ------------------------------------------------------------------------ r7071 | vlefevre | 2010-08-13 08:11:16 +0000 (Fri, 13 Aug 2010) | 3 lines Changed paths: M /trunk/ieee_floats.h [ieee_floats.h] Avoid breaking aliasing-rules when _GMP_IEEE_FLOATS is defined (e.g. with --with-gmp-build), by replacing a struct by a union like in r6381 for long double. ------------------------------------------------------------------------ r7070 | vlefevre | 2010-08-13 07:58:14 +0000 (Fri, 13 Aug 2010) | 1 line Changed paths: M /trunk/configure.in [configure.in] Removed useless slash. ------------------------------------------------------------------------ r7069 | vlefevre | 2010-08-12 14:28:59 +0000 (Thu, 12 Aug 2010) | 1 line Changed paths: M /trunk/NEWS [NEWS] Prepare for new version 3.1.0. ------------------------------------------------------------------------ r7067 | vlefevre | 2010-08-12 14:13:48 +0000 (Thu, 12 Aug 2010) | 1 line Changed paths: M /trunk/README.dev [README.dev] Removed obsolete paragraph about the old prepare script. ------------------------------------------------------------------------ r7066 | vlefevre | 2010-08-12 13:46:41 +0000 (Thu, 12 Aug 2010) | 1 line Changed paths: M /trunk/update-version [update-version] Detect errors. ------------------------------------------------------------------------ r7065 | vlefevre | 2010-08-12 10:51:17 +0000 (Thu, 12 Aug 2010) | 1 line Changed paths: M /trunk/FAQ.html Updated FAQ.html with update-faq. ------------------------------------------------------------------------ r7064 | vlefevre | 2010-08-12 10:50:56 +0000 (Thu, 12 Aug 2010) | 1 line Changed paths: M /trunk/faq.xsl [faq.xsl] Do not copy XML comments. ------------------------------------------------------------------------ r7063 | vlefevre | 2010-08-12 10:48:45 +0000 (Thu, 12 Aug 2010) | 1 line Changed paths: M /trunk/FAQ.html Updated FAQ.html with update-faq. ------------------------------------------------------------------------ r7059 | vlefevre | 2010-08-12 08:52:54 +0000 (Thu, 12 Aug 2010) | 1 line Changed paths: M /trunk/README.dev [README.dev] INRIAGforge -> INRIAGForge. ------------------------------------------------------------------------ r7058 | vlefevre | 2010-08-12 08:49:23 +0000 (Thu, 12 Aug 2010) | 5 lines Changed paths: M /trunk/README [README] Update: * InriaGforge -> INRIAGForge (official typography). * Updated URL of the Subversion FAQ (now on apache.org). * README.dev provided via SVN only. * Removed the old note about the old CVS repository. ------------------------------------------------------------------------ r7057 | vlefevre | 2010-08-11 13:56:25 +0000 (Wed, 11 Aug 2010) | 1 line Changed paths: M /trunk/gmp_op.c [gmp_op.c] mpfr_mul_q and mpfr_div_q are still buggy; added comment. ------------------------------------------------------------------------ r7056 | vlefevre | 2010-08-11 13:39:05 +0000 (Wed, 11 Aug 2010) | 1 line Changed paths: M /trunk/tests/tgmpop.c [tests/tgmpop.c] Added missing "static". ------------------------------------------------------------------------ r7055 | thevenyp | 2010-08-11 10:48:45 +0000 (Wed, 11 Aug 2010) | 1 line Changed paths: M /trunk/gmp_op.c M /trunk/tests/tgmpop.c gmp_op.c: Fix ternary value returned by mpfr_mul_q and mpfr_div_q in overflow cases. ------------------------------------------------------------------------ r7051 | vlefevre | 2010-08-04 23:51:21 +0000 (Wed, 04 Aug 2010) | 1 line Changed paths: M /trunk/README.dev README.dev: updated "To make a release" (test of FP division by 0). ------------------------------------------------------------------------ r7050 | vlefevre | 2010-08-04 23:45:25 +0000 (Wed, 04 Aug 2010) | 10 lines Changed paths: M /trunk/acinclude.m4 M /trunk/tests/tadd_d.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tests.c M /trunk/tests/tgeneric.c M /trunk/tests/tget_d.c M /trunk/tests/tget_flt.c M /trunk/tests/tset_d.c M /trunk/tests/tset_ld.c Support implementations where the floating-point division by 0 fails. * acinclude.m4: added a test to check whether the FP division by 0 fails, and define MPFR_ERRDIVZERO in such a case. * tests/tests.c: if MPFR_TEST_DIVBYZERO is defined, test whether there has been a floating-point division by 0 (FE_DIVBYZERO or FE_INVALID exception). * tests/tgeneric.c: if MPFR_ERRDIVZERO is defined, disable the huge and tiny cases. * tests/t*_{flt,d,ld}.c: if MPFR_ERRDIVZERO is defined, disable tests involving NaN and infinities. ------------------------------------------------------------------------ r7049 | vlefevre | 2010-08-04 22:09:17 +0000 (Wed, 04 Aug 2010) | 1 line Changed paths: M /trunk/README.dev [README.dev] Update about the compilers. ------------------------------------------------------------------------ r7048 | vlefevre | 2010-08-04 14:50:54 +0000 (Wed, 04 Aug 2010) | 1 line Changed paths: M /trunk/README.dev [README.dev] Mention clang. ------------------------------------------------------------------------ r7047 | vlefevre | 2010-08-04 14:25:17 +0000 (Wed, 04 Aug 2010) | 7 lines Changed paths: M /trunk/get_sj.c [get_sj.c] Fixed bug found by John Regehr: https://gforge.inria.fr/tracker/index.php?func=detail&aid=10839&group_id=136&atid=619 Note: the problem was an undefined behavior that could occur when sizeof(mp_limb_t) < sizeof(intmax_t) and |x| was small enough, because a right shift was >= the type width. However as the shifted value was 0, most platforms should not be affected by this bug. This problem was detected with clang -fcatch-undefined-ansic-behavior. ------------------------------------------------------------------------ r7046 | vlefevre | 2010-08-04 14:05:09 +0000 (Wed, 04 Aug 2010) | 1 line Changed paths: M /trunk/tests/tget_sj.c [tests/tget_sj.c] Added tests of 1 and -1. ------------------------------------------------------------------------ r7045 | vlefevre | 2010-08-04 13:35:48 +0000 (Wed, 04 Aug 2010) | 2 lines Changed paths: M /trunk/get_sj.c [get_sj.c] Added assertions concerning https://gforge.inria.fr/tracker/?func=detail&atid=619&aid=10839&group_id=136 ------------------------------------------------------------------------ r7044 | vlefevre | 2010-08-04 10:59:01 +0000 (Wed, 04 Aug 2010) | 2 lines Changed paths: M /trunk/configure.in [configure.in] When logging is enabled, remove the possible -pedantic from GMP's CFLAGS to avoid warnings about C conformance. ------------------------------------------------------------------------ r7043 | vlefevre | 2010-08-04 10:17:14 +0000 (Wed, 04 Aug 2010) | 2 lines Changed paths: M /trunk/mpfr-impl.h [mpfr-impl.h] Reverse-merged changeset r7042. The code was not incorrect: the warning is due to the -pedantic from GMP's CFLAGS. ------------------------------------------------------------------------ r7042 | vlefevre | 2010-08-04 09:58:06 +0000 (Wed, 04 Aug 2010) | 4 lines Changed paths: M /trunk/mpfr-impl.h [mpfr-impl.h] Correction to avoid GCC warnings warning: invalid storage class for function 'x_f' warning: invalid storage class for function '__mpfr_log_cleanup' when building MPFR with logging support. ------------------------------------------------------------------------ r7041 | vlefevre | 2010-08-03 15:16:22 +0000 (Tue, 03 Aug 2010) | 1 line Changed paths: M /trunk/mpfrlint [mpfrlint] Correction for the future MPFR source structure. ------------------------------------------------------------------------ r7040 | vlefevre | 2010-08-03 15:08:22 +0000 (Tue, 03 Aug 2010) | 1 line Changed paths: M /trunk/mpfrlint [mpfrlint] Execute check_inits_clears. ------------------------------------------------------------------------ r7039 | vlefevre | 2010-08-03 15:06:58 +0000 (Tue, 03 Aug 2010) | 1 line Changed paths: M /trunk/check_inits_clears [check_inits_clears] Correction. ------------------------------------------------------------------------ r7038 | vlefevre | 2010-08-02 15:07:51 +0000 (Mon, 02 Aug 2010) | 1 line Changed paths: M /trunk/Makefile.am [Makefile.am] Moved ieee_floats.h from EXTRA_DIST to libmpfr_la_SOURCES. ------------------------------------------------------------------------ r7037 | vlefevre | 2010-08-02 15:03:24 +0000 (Mon, 02 Aug 2010) | 2 lines Changed paths: M /trunk/Makefile.am [Makefile.am] Clean-up: removed gen_inverse.h from EXTRA_DIST because it is already in libmpfr_la_SOURCES. ------------------------------------------------------------------------ r7036 | vlefevre | 2010-08-01 19:47:36 +0000 (Sun, 01 Aug 2010) | 2 lines Changed paths: M /trunk/mparam_h.in [mparam_h.in] Removed the comment about the dependency bug. (svn merge -r7032:7031 mparam_h.in) ------------------------------------------------------------------------ r7033 | vlefevre | 2010-08-01 19:26:12 +0000 (Sun, 01 Aug 2010) | 2 lines Changed paths: M /trunk/Makefile.am [Makefile.am] Added "BUILT_SOURCES = mparam.h", fixing bug https://gforge.inria.fr/tracker/index.php?func=detail&aid=10810&group_id=136&atid=619 ------------------------------------------------------------------------ r7032 | vlefevre | 2010-08-01 18:45:45 +0000 (Sun, 01 Aug 2010) | 2 lines Changed paths: M /trunk/mparam_h.in [mparam_h.in] Added a comment concerning the bug in the mparam.h dependency rule: https://gforge.inria.fr/tracker/index.php?func=detail&aid=10810&group_id=136&atid=619 ------------------------------------------------------------------------ r7031 | vlefevre | 2010-08-01 18:39:52 +0000 (Sun, 01 Aug 2010) | 1 line Changed paths: M /trunk/mparam_h.in [mparam_h.in] Enable C mode for Emacs. ------------------------------------------------------------------------ r7030 | vlefevre | 2010-08-01 17:09:24 +0000 (Sun, 01 Aug 2010) | 1 line Changed paths: M /trunk/mparam_h.in [mparam_h.in] Deleted trailing whitespace. ------------------------------------------------------------------------ r7029 | vlefevre | 2010-08-01 17:08:36 +0000 (Sun, 01 Aug 2010) | 1 line Changed paths: M /trunk/mparam_h.in [mparam_h.in] Bug fix: added a newline at the end of the file. ------------------------------------------------------------------------ r7026 | vlefevre | 2010-07-30 15:44:24 +0000 (Fri, 30 Jul 2010) | 4 lines Changed paths: M /trunk/BUGS M /trunk/FAQ.html M /trunk/INSTALL M /trunk/NEWS M /trunk/README M /trunk/README.dev M /trunk/TODO M /trunk/abort_prec_max.c M /trunk/acinclude.m4 M /trunk/acos.c M /trunk/acosh.c M /trunk/add.c M /trunk/add1.c M /trunk/add1sp.c M /trunk/add_d.c M /trunk/add_ui.c M /trunk/agm.c M /trunk/ai.c M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atan2.c M /trunk/atanh.c M /trunk/bernoulli.c M /trunk/buildopt.c M /trunk/cache.c M /trunk/cbrt.c M /trunk/check.c M /trunk/clear.c M /trunk/clears.c M /trunk/cmp.c M /trunk/cmp2.c M /trunk/cmp_abs.c M /trunk/cmp_d.c M /trunk/cmp_ld.c M /trunk/cmp_si.c M /trunk/cmp_ui.c M /trunk/comparisons.c M /trunk/configure.in M /trunk/const_catalan.c M /trunk/const_euler.c M /trunk/const_log2.c M /trunk/const_pi.c M /trunk/constant.c M /trunk/copysign.c M /trunk/cos.c M /trunk/cosh.c M /trunk/cot.c M /trunk/coth.c M /trunk/csc.c M /trunk/csch.c M /trunk/d_div.c M /trunk/d_sub.c M /trunk/digamma.c M /trunk/dim.c M /trunk/div.c M /trunk/div_2exp.c M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/div_d.c M /trunk/div_ui.c M /trunk/dump.c M /trunk/eint.c M /trunk/eq.c M /trunk/erfc.c M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.c M /trunk/examples/version.c M /trunk/exceptions.c M /trunk/exp.c M /trunk/exp10.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/extract.c M /trunk/factorial.c M /trunk/faq.xsl M /trunk/fits_intmax.c M /trunk/fits_s.h M /trunk/fits_sint.c M /trunk/fits_slong.c M /trunk/fits_sshort.c M /trunk/fits_u.h M /trunk/fits_uint.c M /trunk/fits_uintmax.c M /trunk/fits_ulong.c M /trunk/fits_ushort.c M /trunk/fma.c M /trunk/fms.c M /trunk/frac.c M /trunk/free_cache.c M /trunk/gamma.c M /trunk/gammaonethird.c M /trunk/gen_inverse.h M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_exp.c M /trunk/get_f.c M /trunk/get_flt.c M /trunk/get_ld.c M /trunk/get_patches.sh M /trunk/get_si.c M /trunk/get_sj.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/get_uj.c M /trunk/get_z.c M /trunk/get_z_exp.c M /trunk/gmp_op.c M /trunk/hypot.c M /trunk/ieee_floats.h M /trunk/init.c M /trunk/init2.c M /trunk/inits.c M /trunk/inits2.c M /trunk/inp_str.c M /trunk/int_ceil_log2.c M /trunk/isinf.c M /trunk/isinteger.c M /trunk/isnan.c M /trunk/isnum.c M /trunk/isqrt.c M /trunk/isregular.c M /trunk/iszero.c M /trunk/jn.c M /trunk/jyn_asympt.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/log.c M /trunk/log10.c M /trunk/log1p.c M /trunk/log2.c M /trunk/logging.c M /trunk/min_prec.c M /trunk/minmax.c M /trunk/modf.c M /trunk/mpf2mpfr.h M /trunk/mpfr-gmp.c M /trunk/mpfr-gmp.h M /trunk/mpfr-impl.h M /trunk/mpfr-thread.h M /trunk/mpfr.h M /trunk/mpn_exp.c M /trunk/mul.c M /trunk/mul_2exp.c M /trunk/mul_2si.c M /trunk/mul_2ui.c M /trunk/mul_d.c M /trunk/mul_ui.c M /trunk/mulders.c M /trunk/neg.c M /trunk/next.c M /trunk/out_str.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/powerof2.c M /trunk/print_raw.c M /trunk/print_rnd_mode.c M /trunk/printf.c M /trunk/rec_sqrt.c M /trunk/reldiff.c M /trunk/rem1.c M /trunk/rint.c M /trunk/root.c M /trunk/round_near_x.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/scale2.c M /trunk/sec.c M /trunk/sech.c M /trunk/set.c M /trunk/set_d.c M /trunk/set_d64.c M /trunk/set_dfl_prec.c M /trunk/set_exp.c M /trunk/set_f.c M /trunk/set_flt.c M /trunk/set_inf.c M /trunk/set_ld.c M /trunk/set_nan.c M /trunk/set_prc_raw.c M /trunk/set_prec.c M /trunk/set_q.c M /trunk/set_rnd.c M /trunk/set_si.c M /trunk/set_si_2exp.c M /trunk/set_sj.c M /trunk/set_str.c M /trunk/set_str_raw.c M /trunk/set_ui.c M /trunk/set_ui_2exp.c M /trunk/set_uj.c M /trunk/set_z.c M /trunk/set_z_exp.c M /trunk/set_zero.c M /trunk/setmax.c M /trunk/setmin.c M /trunk/setsign.c M /trunk/sgn.c M /trunk/si_op.c M /trunk/signbit.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sinh_cosh.c M /trunk/speed.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/sqrt_ui.c M /trunk/stack_interface.c M /trunk/strtofr.c M /trunk/sub.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/sub_d.c M /trunk/sub_ui.c M /trunk/subnormal.c M /trunk/sum.c M /trunk/swap.c M /trunk/tan.c M /trunk/tanh.c 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/tabs.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/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.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/teint.c M /trunk/tests/teq.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/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.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_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/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/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/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/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.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_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/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/tversion.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/tests/tzeta_ui.c M /trunk/tuneup.c M /trunk/uceil_exp2.c M /trunk/uceil_log2.c M /trunk/ufloor_log2.c M /trunk/ui_div.c M /trunk/ui_pow.c M /trunk/ui_pow_ui.c M /trunk/ui_sub.c M /trunk/urandom.c M /trunk/urandomb.c M /trunk/vasprintf.c M /trunk/version.c M /trunk/volatile.c M /trunk/yn.c M /trunk/zeta_ui.c Replaced Contributed by the Arenaire and Cacao projects by Contributed by the Arenaire and Caramel projects ------------------------------------------------------------------------ r7024 | vlefevre | 2010-07-30 15:26:12 +0000 (Fri, 30 Jul 2010) | 1 line Changed paths: M /trunk/AUTHORS [AUTHORS] Updated a sentence. ------------------------------------------------------------------------ r7021 | vlefevre | 2010-07-30 09:36:55 +0000 (Fri, 30 Jul 2010) | 1 line Changed paths: M /trunk Added configure.lineno (generated by configure) to svn:ignore property. ------------------------------------------------------------------------ r7016 | vlefevre | 2010-07-29 16:01:45 +0000 (Thu, 29 Jul 2010) | 1 line Changed paths: M /trunk/README.dev [README.dev] For announces, changed mpfr into mpfr-announce. ------------------------------------------------------------------------ r7014 | vlefevre | 2010-07-26 11:12:22 +0000 (Mon, 26 Jul 2010) | 1 line Changed paths: M /trunk/ai.c [ai.c] Replaced mp_exp_t by mpfr_exp_t. ------------------------------------------------------------------------ r7013 | vlefevre | 2010-07-25 19:31:31 +0000 (Sun, 25 Jul 2010) | 1 line Changed paths: M /trunk/ai.c [ai.c] Fixed several bugs in mpfr_ai. ------------------------------------------------------------------------ r7010 | schevill | 2010-07-20 13:18:42 +0000 (Tue, 20 Jul 2010) | 3 lines Changed paths: M /trunk/bidimensional_sample.c Updated bidimensional_sample to take into account the fact the mpfr_ai1 and mpfr_ai2 are now statically defined. ------------------------------------------------------------------------ r7009 | schevill | 2010-07-20 12:49:26 +0000 (Tue, 20 Jul 2010) | 3 lines Changed paths: M /trunk/ai.c M /trunk/mpfr.h mpfr_ai1 and mpfr_ai2 are now declared static. Only mpfr_ai is global. ------------------------------------------------------------------------ r7008 | schevill | 2010-07-20 12:38:44 +0000 (Tue, 20 Jul 2010) | 3 lines Changed paths: M /trunk/mpfr.h Forgot a declaration in the previous commit. ------------------------------------------------------------------------ r7007 | schevill | 2010-07-20 12:32:42 +0000 (Tue, 20 Jul 2010) | 9 lines Changed paths: M /trunk/Makefile.am M /trunk/ai.c D /trunk/ai2.c M /trunk/bidimensional_sample.c M /trunk/mparam_h.in M /trunk/mpfr-impl.h M /trunk/tuneup.c Added automatic tuning of mpfr_ai. More precisely: * removed ai2.c: both implementations are now in the same file ai.c * added thresholds and automatic choice of the method to use in function of the thresholds. * added procedures for tuning functions like ai into tuneup.c * added a tuning procedure into tuneup.c ------------------------------------------------------------------------ r7005 | vlefevre | 2010-07-19 08:29:11 +0000 (Mon, 19 Jul 2010) | 1 line Changed paths: M /trunk/tests/tget_flt.c [tests/tget_flt.c] Fixed printf strings (missing backslash). ------------------------------------------------------------------------ r7004 | zimmerma | 2010-07-15 12:54:15 +0000 (Thu, 15 Jul 2010) | 2 lines Changed paths: M /trunk/tests/tget_flt.c [tget_flt.c] completed previous commit ------------------------------------------------------------------------ r7003 | zimmerma | 2010-07-15 12:49:09 +0000 (Thu, 15 Jul 2010) | 2 lines Changed paths: M /trunk/tests/tget_flt.c [tget_flt.c] print more information in case a test fails ------------------------------------------------------------------------ r6999 | vlefevre | 2010-07-09 23:59:50 +0000 (Fri, 09 Jul 2010) | 1 line Changed paths: M /trunk/gamma.c [gamma.c] Added an assert concerning the mpfr_exp_t size. ------------------------------------------------------------------------ r6998 | vlefevre | 2010-07-09 23:48:40 +0000 (Fri, 09 Jul 2010) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Use mpfr_set_str instead of mpfr_set_d. ------------------------------------------------------------------------ r6997 | vlefevre | 2010-07-09 23:33:24 +0000 (Fri, 09 Jul 2010) | 1 line Changed paths: M /trunk/exp_2.c [exp_2.c] Untabified. ------------------------------------------------------------------------ r6996 | zimmerma | 2010-07-09 20:09:08 +0000 (Fri, 09 Jul 2010) | 6 lines Changed paths: M /trunk/gamma.c M /trunk/tests/tgamma.c [gamma.c] fixed bug reported on MPFR list: https://sympa.inria.fr/sympa/arc/mpfr/2010-07/msg00001.html In the underflow detection: * we took log instead of log2 * at the end, we added the wrong terms ------------------------------------------------------------------------ r6995 | vlefevre | 2010-07-01 12:58:19 +0000 (Thu, 01 Jul 2010) | 1 line Changed paths: M /trunk/mpfr-impl.h [mpfr-impl.h] Added a comment concerning the 'noreturn' property. ------------------------------------------------------------------------ r6994 | zimmerma | 2010-06-28 15:32:21 +0000 (Mon, 28 Jun 2010) | 6 lines Changed paths: M /trunk/exp_2.c [exp_2.c] added 3 more bits to initial working precision. On a sample of 20247 tests by Sylvain Chevillard with precisions in [50, 100], the number of Ziv's failures decreased from 1184 to 144, which is less than 1% (to reduce to zero, we would have to increase the number of extra bits from 8 to 17). ------------------------------------------------------------------------ r6993 | vlefevre | 2010-06-28 13:10:28 +0000 (Mon, 28 Jun 2010) | 3 lines Changed paths: M /trunk/round_prec.c [round_prec.c] Applied a patch from Patrick Pélissier (with slightly modified comments) to make mpfr_prec_round compatible with non-mpfr_init allocation methods when no realloc is needed. ------------------------------------------------------------------------ r6989 | vlefevre | 2010-06-25 12:46:50 +0000 (Fri, 25 Jun 2010) | 4 lines Changed paths: M /trunk/acinclude.m4 M /trunk/mpfr-gmp.h [acinclude.m4] Use AC_FUNC_ALLOCA to have HAVE_ALLOCA_H defined when available. This problem was introduced when AC_FUNC_ALLOCA was removed from configure.in in r6765. Note: building MPFR with --with-gmp-build is not affected as GMP's config.h is used. ------------------------------------------------------------------------ r6988 | vlefevre | 2010-06-25 11:44:00 +0000 (Fri, 25 Jun 2010) | 1 line Changed paths: M /trunk/mpfr-gmp.h [mpfr-gmp.h] Reverted incorrect changeset r6987 (see code about alloca). ------------------------------------------------------------------------ r6987 | zimmerma | 2010-06-25 10:00:44 +0000 (Fri, 25 Jun 2010) | 2 lines Changed paths: M /trunk/mpfr-gmp.h [mpfr-gmp.h] include alloca.h ------------------------------------------------------------------------ r6986 | zimmerma | 2010-06-25 08:20:10 +0000 (Fri, 25 Jun 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] added comment about config.log ------------------------------------------------------------------------ r6985 | zimmerma | 2010-06-24 20:39:09 +0000 (Thu, 24 Jun 2010) | 3 lines Changed paths: M /trunk/exp_2.c [exp_2.c] fixed problem reported by Sylvain Chevillard for large x, where the cancelled bits were counted twice ------------------------------------------------------------------------ r6983 | vlefevre | 2010-06-24 06:11:32 +0000 (Thu, 24 Jun 2010) | 1 line Changed paths: M /trunk/tests/tfprintf.c [tests/tfprintf.c] Cosmetic improvement suggested by Denis Excoffier. ------------------------------------------------------------------------ r6982 | vlefevre | 2010-06-23 13:47:19 +0000 (Wed, 23 Jun 2010) | 1 line Changed paths: M /trunk/README.dev [README.dev] Minor change to match a filename on the website. ------------------------------------------------------------------------ r6979 | vlefevre | 2010-06-23 10:13:07 +0000 (Wed, 23 Jun 2010) | 2 lines Changed paths: M /trunk/tests/tout_str.c [tests/tout_str.c] Fixed bug introduced in r6976: changed size_t into unsigned int for printf (the size of unsigned int is sufficient here). ------------------------------------------------------------------------ r6978 | vlefevre | 2010-06-22 15:59:16 +0000 (Tue, 22 Jun 2010) | 1 line Changed paths: M /trunk/out_str.c [out_str.c] Handle the output errors. ------------------------------------------------------------------------ r6977 | vlefevre | 2010-06-22 15:27:34 +0000 (Tue, 22 Jun 2010) | 2 lines Changed paths: M /trunk/out_str.c [out_str.c] Handle output error in the special cases of mpfr_out_str (and use MPFR_IS_SINGULAR like in the other functions). ------------------------------------------------------------------------ r6976 | thevenyp | 2010-06-22 14:59:21 +0000 (Tue, 22 Jun 2010) | 1 line Changed paths: M /trunk/mpfr.texi M /trunk/out_str.c M /trunk/tests/tout_str.c Fix wrong return value of mpfr_out_str on special values. ------------------------------------------------------------------------ r6974 | vlefevre | 2010-06-22 13:24:56 +0000 (Tue, 22 Jun 2010) | 1 line Changed paths: M /trunk/INSTALL M /trunk/VERSION M /trunk/configure.in M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/version.c Updated version to 3.1.0-dev. ------------------------------------------------------------------------ r6973 | vlefevre | 2010-06-22 13:23:33 +0000 (Tue, 22 Jun 2010) | 2 lines Changed paths: M /trunk/README.dev [README.dev] Added a paragraph about the precision, rounding mode and exponent types. ------------------------------------------------------------------------ r6972 | vlefevre | 2010-06-22 13:17:29 +0000 (Tue, 22 Jun 2010) | 2 lines Changed paths: M /trunk/ai2.c M /trunk/bidimensional_sample.c M /trunk/gammaonethird.c M /trunk/get_f.c M /trunk/mpfr-impl.h M /trunk/mpfrlint In mpfrlint, detect the use of mp_exp_t and mp_prec_t. Fixed the files that were generating warnings. ------------------------------------------------------------------------ r6971 | schevill | 2010-06-22 13:12:09 +0000 (Tue, 22 Jun 2010) | 3 lines Changed paths: M /trunk/ai2.c I forgot to replace one occurrence of isqrt. ------------------------------------------------------------------------ r6968 | schevill | 2010-06-22 08:45:00 +0000 (Tue, 22 Jun 2010) | 4 lines Changed paths: M /trunk/ai2.c Use of __gmpfr_isqrt instead of my own isqrt wrapper. ------------------------------------------------------------------------ r6967 | schevill | 2010-06-22 08:43:18 +0000 (Tue, 22 Jun 2010) | 6 lines Changed paths: M /trunk/Makefile.am A /trunk/bidimensional_sample.c Added a tool for nicely displaying which method is the best in function of x and prec when several method can be used for evaluating a given function f in x at precision prec. ------------------------------------------------------------------------ r6965 | vlefevre | 2010-06-21 12:32:44 +0000 (Mon, 21 Jun 2010) | 3 lines Changed paths: M /trunk/Makefile.am [Makefile.am] Fixed dist-hook for -dev versions (I assumed that || and && were right associative, while they are left associative). Thanks to Laurent Rineau for noticing this problem. ------------------------------------------------------------------------ r6964 | zimmerma | 2010-06-21 09:40:15 +0000 (Mon, 21 Jun 2010) | 9 lines Changed paths: M /trunk/exp_2.c [exp_2.c] fixed inefficiency for large x: the initial precision was too small, which had the effect that the first Ziv iteration did fail with non-negligible probability (problem reported by Sylvain Chevillard). Also in case of 2 iterations or more the K variable was corrupted. Note (2012-03-03): huge inefficiency has been noticed when evaluating mpfr_exp on an argument close to log(2^n) in RNDU: https://sympa.inria.fr/sympa/arc/mpfr/2012-03/msg00000.html One has an obvious hard-to-round case, meaning that several iterations are needed and that K is corrupted. This changeset fixes this bug. ------------------------------------------------------------------------ r6962 | zimmerma | 2010-06-15 21:14:08 +0000 (Tue, 15 Jun 2010) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] added note about problem with MSVC runtime (seems to be fixed) ------------------------------------------------------------------------ r6961 | zimmerma | 2010-06-15 20:46:21 +0000 (Tue, 15 Jun 2010) | 2 lines Changed paths: M /trunk/mbench/Makefile [Makefile] alternate patch to r6959 from Patrick Pelissier ------------------------------------------------------------------------ r6960 | zimmerma | 2010-06-15 16:56:09 +0000 (Tue, 15 Jun 2010) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] comments from Vincent Lefevre ------------------------------------------------------------------------ r6959 | zimmerma | 2010-06-15 12:14:12 +0000 (Tue, 15 Jun 2010) | 2 lines Changed paths: M /trunk/mbench/Makefile M /trunk/mbench/mfv5.h [mbench] fixes to make mbench work again (tested with GCC 4.4.3) ------------------------------------------------------------------------ r6958 | zimmerma | 2010-06-15 11:18:50 +0000 (Tue, 15 Jun 2010) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] updated notes on Windows (contributed by Brian Gladman) ------------------------------------------------------------------------ r6955 | vlefevre | 2010-06-10 14:10:03 +0000 (Thu, 10 Jun 2010) | 1 line Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] Reordered check_PROGRAMS. ------------------------------------------------------------------------ r6953 | vlefevre | 2010-06-10 11:49:55 +0000 (Thu, 10 Jun 2010) | 1 line Changed paths: M /trunk/README.dev [README.dev] Untabified. ------------------------------------------------------------------------ r6951 | vlefevre | 2010-06-10 11:26:38 +0000 (Thu, 10 Jun 2010) | 1 line Changed paths: M /trunk/BUGS [BUGS] Update. ------------------------------------------------------------------------ r6943 | vlefevre | 2010-06-09 11:26:02 +0000 (Wed, 09 Jun 2010) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] Added a note on Mac OS X; thanks to FX Coudert and Fumihiro Chiba: https://sympa.inria.fr/sympa/arc/mpfr/2010-06/msg00011.html ------------------------------------------------------------------------ r6940 | vlefevre | 2010-06-08 16:17:48 +0000 (Tue, 08 Jun 2010) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Update concerning CC/CFLAGS and the --with-gmp-build option. ------------------------------------------------------------------------ r6938 | vlefevre | 2010-06-07 08:20:58 +0000 (Mon, 07 Jun 2010) | 2 lines Changed paths: M /trunk/NEWS [NEWS] Added an item about the --with-gmp-build configure option and the use of GMP's internal header files. ------------------------------------------------------------------------ r6933 | vlefevre | 2010-06-06 11:21:26 +0000 (Sun, 06 Jun 2010) | 2 lines Changed paths: M /trunk/exp_2.c [exp_2.c] Reverted incorrect optimization patch r6922 (added a comment). There were failures on 32-bit machines. ------------------------------------------------------------------------ r6932 | vlefevre | 2010-06-06 11:17:06 +0000 (Sun, 06 Jun 2010) | 1 line Changed paths: M /trunk/mpfr-impl.h [mpfr-impl.h] Added log messages for the MPFR_GROUP_* macros. ------------------------------------------------------------------------ r6930 | vlefevre | 2010-06-06 10:16:01 +0000 (Sun, 06 Jun 2010) | 1 line Changed paths: M /trunk/mpfrlint [mpfrlint] Detect incorrect use of MPFR_LOG_MSG. ------------------------------------------------------------------------ r6929 | vlefevre | 2010-06-06 10:06:40 +0000 (Sun, 06 Jun 2010) | 2 lines Changed paths: M /trunk/ai2.c [ai2.c] Fixed build failure with --enable-logging, due to incorrect MPFR_LOG_MSG usage (see README.dev). ------------------------------------------------------------------------ r6927 | vlefevre | 2010-06-06 10:00:50 +0000 (Sun, 06 Jun 2010) | 1 line Changed paths: M /trunk/README.dev README.dev: updated "To make a release". ------------------------------------------------------------------------ r6925 | vlefevre | 2010-06-06 09:47:32 +0000 (Sun, 06 Jun 2010) | 2 lines Changed paths: M /trunk/ai.c [ai.c] Fixed build failure with --enable-logging, due to incorrect MPFR_LOG_MSG usage (see README.dev). ------------------------------------------------------------------------ r6922 | zimmerma | 2010-06-04 18:32:18 +0000 (Fri, 04 Jun 2010) | 9 lines Changed paths: M /trunk/exp_2.c [exp_2.c] speed improvement using MPFR_GROUP_* (from Patrick Pelissier): Pass 69 mpfr_add: 63 / 102.97 / 126 mpfr_exp: 430 / 11861.26 / 46588 Was before we removed MY_MPZ_INIT: Pass 50 mpfr_add: 63 / 103.09 / 126 mpfr_exp: 430 / 10911.86 / 44215 ------------------------------------------------------------------------ r6920 | vlefevre | 2010-06-04 08:37:54 +0000 (Fri, 04 Jun 2010) | 2 lines Changed paths: M /trunk/exp_2.c [exp_2.c] Removed useless and possibly incorrect cast (in case -q doesn't necessarily fit in an int). ------------------------------------------------------------------------ r6919 | zimmerma | 2010-06-04 07:51:27 +0000 (Fri, 04 Jun 2010) | 14 lines Changed paths: M /trunk/exp_2.c [exp_2.c] got rid of MY_INIT_MPZ, small slowdown, but code should be more robust. Below are timings from Patrick Pelissier with mbench: mpz_init: Pass 78 mpfr_add: 63 / 102.86 / 126 mpfr_exp: 441 / 12067.81 / 47355 MY_MPZ_INIT Pass 50 mpfr_add: 63 / 103.09 / 126 mpfr_exp: 430 / 10911.86 / 44215 Prec=53 bits (core 2 duo 64 bits) ------------------------------------------------------------------------ r6918 | zimmerma | 2010-06-03 16:18:31 +0000 (Thu, 03 Jun 2010) | 22 lines Changed paths: M /trunk/exp_2.c [exp_2.c] fixed problem reported by Sylvain Chevillard with following code and MPFR_EXP_2_THRESHOLD=36 (valgrind complains). It was due to the fact that GMP might allocate extra limbs, see http://gmplib.org/list-archives/gmp-devel/2010-June/001577.html. The fix is not optimal in the sense that GMP does not give a bound on the allocated memory, thus we can only guess. #include "mpfr.h" int main(void) { mpfr_t x,w; mpfr_init2(x, 37); mpfr_init2(w, 37); mpfr_set_str(x, "-1.000001100100100001111110110101010001p+20", 2, MPFR_RNDN); mpfr_exp (w, x, MPFR_RNDN); mpfr_clear (w); mpfr_clear (x); return 0; } ------------------------------------------------------------------------ r6915 | vlefevre | 2010-06-03 15:07:52 +0000 (Thu, 03 Jun 2010) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Math library check: removed rule specific to HP-UX (only -lM was tested while this library may not be available; so, let's use the default rule as -lm works). ------------------------------------------------------------------------ r6912 | vlefevre | 2010-06-03 08:24:49 +0000 (Thu, 03 Jun 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Arenaire -> Arénaire. ------------------------------------------------------------------------ r6909 | vlefevre | 2010-06-02 11:02:34 +0000 (Wed, 02 Jun 2010) | 1 line Changed paths: M /trunk/NEWS [NEWS] 3.0 -> 3.0.0. ------------------------------------------------------------------------ r6907 | vlefevre | 2010-06-02 11:01:18 +0000 (Wed, 02 Jun 2010) | 1 line Changed paths: M /trunk/NEWS [NEWS] Added test coverage for MPFR 3.0.0. ------------------------------------------------------------------------ r6904 | vlefevre | 2010-05-31 22:43:23 +0000 (Mon, 31 May 2010) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Added missing blank lines (consistency). ------------------------------------------------------------------------ r6901 | vlefevre | 2010-05-31 22:27:56 +0000 (Mon, 31 May 2010) | 1 line Changed paths: M /trunk/tests/tset_z_exp.c [tests/tset_z_exp.c] Fixed type in a printf. ------------------------------------------------------------------------ r6900 | zimmerma | 2010-05-31 20:10:06 +0000 (Mon, 31 May 2010) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] added instructions for "make tune" ------------------------------------------------------------------------ r6899 | zimmerma | 2010-05-31 20:01:03 +0000 (Mon, 31 May 2010) | 2 lines Changed paths: M /trunk/README.dev [README.dev] completed missing instructions for "make tune" ------------------------------------------------------------------------ r6898 | zimmerma | 2010-05-31 19:36:42 +0000 (Mon, 31 May 2010) | 2 lines Changed paths: M /trunk/tests/tset_z_exp.c [tset_z_exp.c] fixed two FIXME ------------------------------------------------------------------------ r6897 | vlefevre | 2010-05-31 14:29:44 +0000 (Mon, 31 May 2010) | 1 line Changed paths: M /trunk/tests/tset_z_exp.c [tests/tset_z_exp.c] Added 2 FIXME in the test. ------------------------------------------------------------------------ r6896 | vlefevre | 2010-05-31 14:20:24 +0000 (Mon, 31 May 2010) | 3 lines Changed paths: M /trunk/tests/tset_z_exp.c [tests/tset_z_exp.c] Removed testcase bug20100531 (this was a bug in the test, which didn't detect overflow cases due to too large random exponent). ------------------------------------------------------------------------ r6895 | vlefevre | 2010-05-31 14:12:27 +0000 (Mon, 31 May 2010) | 1 line Changed paths: M /trunk/tests/tset_z_exp.c [tests/tset_z_exp.c] Added testcase bug20100531. ------------------------------------------------------------------------ r6893 | vlefevre | 2010-05-31 13:44:36 +0000 (Mon, 31 May 2010) | 3 lines Changed paths: M /trunk/NEWS M /trunk/mpfr.texi [mpfr.texi, NEWS] Update related to r6879: "Made defined the previously undefined cases of mpfr_get_si, mpfr_get_ui, mpfr_get_sj, mpfr_get_uj, mpfr_get_z and mpfr_get_z_2exp. In such cases, the erange flag is set.". ------------------------------------------------------------------------ r6892 | vlefevre | 2010-05-31 13:08:17 +0000 (Mon, 31 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Corrected mpfr_atan2 range (added in r6831). ------------------------------------------------------------------------ r6891 | vlefevre | 2010-05-28 15:07:49 +0000 (Fri, 28 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Made an example fit on 80 columns for the info manual. ------------------------------------------------------------------------ r6890 | vlefevre | 2010-05-28 14:29:08 +0000 (Fri, 28 May 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] Changed some @math into @var in the mpfr_fmod description (for consistency). ------------------------------------------------------------------------ r6889 | vlefevre | 2010-05-28 10:54:55 +0000 (Fri, 28 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Corrected a paragraph. ------------------------------------------------------------------------ r6888 | vlefevre | 2010-05-28 10:33:21 +0000 (Fri, 28 May 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] Added an example to get the MPFR version (and at the same time, check whether MPFR is already installed). ------------------------------------------------------------------------ r6886 | vlefevre | 2010-05-28 09:52:37 +0000 (Fri, 28 May 2010) | 1 line Changed paths: M /trunk/Makefile.am A /trunk/examples/version.c Added examples/version.c (and updated Makefile.am). ------------------------------------------------------------------------ r6885 | vlefevre | 2010-05-28 09:25:36 +0000 (Fri, 28 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Correction (English usage). ------------------------------------------------------------------------ r6883 | vlefevre | 2010-05-28 08:16:16 +0000 (Fri, 28 May 2010) | 1 line Changed paths: M /trunk/Makefile.am [Makefile.am] Improved dist-hook rule. ------------------------------------------------------------------------ r6882 | thevenyp | 2010-05-27 09:14:02 +0000 (Thu, 27 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi Fix typo. ------------------------------------------------------------------------ r6881 | zimmerma | 2010-05-26 19:39:02 +0000 (Wed, 26 May 2010) | 2 lines Changed paths: M /trunk/TODO [TODO] removed one item, added one ------------------------------------------------------------------------ r6880 | zimmerma | 2010-05-26 19:35:30 +0000 (Wed, 26 May 2010) | 3 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] removed FIXME (resolved: Philippe confirmed that gmp_printf does not work with mpf2mpfr.h) ------------------------------------------------------------------------ r6879 | vlefevre | 2010-05-25 16:19:48 +0000 (Tue, 25 May 2010) | 3 lines Changed paths: M /trunk/get_si.c M /trunk/get_sj.c M /trunk/get_ui.c M /trunk/get_uj.c M /trunk/get_z.c M /trunk/get_z_exp.c M /trunk/mpfr.texi M /trunk/tests/tget_sj.c M /trunk/tests/tget_z.c M /trunk/tests/tset_si.c Made defined the previously undefined cases of mpfr_get_si, mpfr_get_ui, mpfr_get_sj, mpfr_get_uj, mpfr_get_z and mpfr_get_z_2exp. In such cases, the erange flag is set. ------------------------------------------------------------------------ r6878 | schevill | 2010-05-25 14:27:57 +0000 (Tue, 25 May 2010) | 3 lines Changed paths: M /trunk/ai.c M /trunk/ai2.c * 80 columns. ------------------------------------------------------------------------ r6877 | schevill | 2010-05-25 14:14:37 +0000 (Tue, 25 May 2010) | 3 lines Changed paths: M /trunk/gammaonethird.c do ... while(0) style for macros. ------------------------------------------------------------------------ r6875 | vlefevre | 2010-05-25 13:20:34 +0000 (Tue, 25 May 2010) | 1 line Changed paths: M /trunk/NEWS [NEWS] Correction. ------------------------------------------------------------------------ r6873 | vlefevre | 2010-05-25 11:05:42 +0000 (Tue, 25 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Minor changes. ------------------------------------------------------------------------ r6872 | vlefevre | 2010-05-25 10:43:08 +0000 (Tue, 25 May 2010) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Reverted incorrect changeset r6870. ------------------------------------------------------------------------ r6871 | vlefevre | 2010-05-25 10:41:44 +0000 (Tue, 25 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Added a comment about non-ASCII characters. ------------------------------------------------------------------------ r6870 | thevenyp | 2010-05-25 10:38:51 +0000 (Tue, 25 May 2010) | 1 line Changed paths: M /trunk/INSTALL M /trunk/mpfr.texi More explicit documentation on the use of specifiers in printf function. ------------------------------------------------------------------------ r6869 | vlefevre | 2010-05-25 10:34:07 +0000 (Tue, 25 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Encoding correction for ±. ------------------------------------------------------------------------ r6868 | vlefevre | 2010-05-25 10:26:12 +0000 (Tue, 25 May 2010) | 2 lines Changed paths: M /trunk/NEWS M /trunk/mpfr.texi [NEWS, mpfr.texi] mpfr_custom_get_mantissa was renamed to mpfr_custom_get_significand. ------------------------------------------------------------------------ r6867 | vlefevre | 2010-05-25 10:15:30 +0000 (Tue, 25 May 2010) | 3 lines Changed paths: M /trunk/tests/tstckintc.c [tests/tstckintc.c] Changed mpfr_custom_get_mantissa into mpfr_custom_get_significand (but mpfr_custom_get_mantissa was still working thanks to the #define). ------------------------------------------------------------------------ r6866 | vlefevre | 2010-05-25 10:13:26 +0000 (Tue, 25 May 2010) | 2 lines Changed paths: M /trunk/mpfr.h M /trunk/stack_interface.c [mpfr.h, stack_interface.c] Changed mpfr_custom_get_mantissa into mpfr_custom_get_significand (r6862 was incomplete). ------------------------------------------------------------------------ r6865 | vlefevre | 2010-05-25 09:29:40 +0000 (Tue, 25 May 2010) | 2 lines Changed paths: M /trunk/mpfr.h [mpfr.h] <stdint.h> support: also test _STDINT (for MS Visual Studio). Thanks to Brian Gladman for the information. ------------------------------------------------------------------------ r6863 | vlefevre | 2010-05-25 07:24:18 +0000 (Tue, 25 May 2010) | 3 lines Changed paths: M /trunk/buildopt.c M /trunk/mpfrlint [buildopt.c] Missing #include "mpfr-impl.h" for cygwin builds. [mpfrlint] Detect such errors (mpfr-impl.h may be needed because it includes config.h when there is one). ------------------------------------------------------------------------ r6862 | zimmerma | 2010-05-24 16:56:52 +0000 (Mon, 24 May 2010) | 2 lines Changed paths: M /trunk/mpfr.h M /trunk/mpfr.texi [mpfr.texi] more changes after answers by Vincent to my questions ------------------------------------------------------------------------ r6860 | vlefevre | 2010-05-24 10:54:03 +0000 (Mon, 24 May 2010) | 1 line Changed paths: M /trunk/NEWS [NEWS] Reformat / fixed typography. ------------------------------------------------------------------------ r6855 | vlefevre | 2010-05-24 00:01:40 +0000 (Mon, 24 May 2010) | 6 lines Changed paths: M /trunk/sub1sp.c [sub1sp.c] Fixed a problem that appeared after mpfr_prec_t has been made signed. It was visible on PowerPC (tested on Linux 32 bits and on Mac OS X 32 & 64 bits), but could potentially affect any platform as a negative shift count was generated. As the faulty expressions were in a MPFR_ASSERTD, the failure could occur only when assertion checking had been enabled. ------------------------------------------------------------------------ r6852 | vlefevre | 2010-05-22 23:08:17 +0000 (Sat, 22 May 2010) | 1 line Changed paths: M /trunk/README.dev [README.dev] Removed trailing spaces. ------------------------------------------------------------------------ r6851 | vlefevre | 2010-05-22 23:06:49 +0000 (Sat, 22 May 2010) | 1 line Changed paths: M /trunk/README.dev [README.dev] Added information about intmax_t and corresponding macros. ------------------------------------------------------------------------ r6849 | vlefevre | 2010-05-22 22:42:05 +0000 (Sat, 22 May 2010) | 6 lines Changed paths: M /trunk/acinclude.m4 M /trunk/fits_intmax.c M /trunk/fits_uintmax.c M /trunk/get_sj.c M /trunk/get_uj.c M /trunk/mpfr-impl.h M /trunk/tests/tfits.c M /trunk/tests/tget_sj.c M /trunk/tests/tset_sj.c Detect when the intmax_t type is available but INTMAX_MAX doesn't work (e.g. with gcc -ansi -pedantic-errors in 32-bit mode under GNU/Linux). New macros MPFR_UINTMAX_MAX, MPFR_INTMAX_MAX and MPFR_INTMAX_MIN are defined and used internally instead of UINTMAX_MAX, INTMAX_MAX and INTMAX_MIN. If these C99 macros work, then the MPFR_* macros use them, otherwise MPFR uses its own definitions. ------------------------------------------------------------------------ r6846 | vlefevre | 2010-05-22 19:41:07 +0000 (Sat, 22 May 2010) | 1 line Changed paths: M /trunk/gammaonethird.c M /trunk/mpfr-impl.h mpfr_div_ui8 and mpfr_mul_ui5 didn't have to be exported. ------------------------------------------------------------------------ r6845 | vlefevre | 2010-05-22 19:33:22 +0000 (Sat, 22 May 2010) | 1 line Changed paths: M /trunk/ai.c M /trunk/ai2.c M /trunk/bernoulli.c M /trunk/buildopt.c M /trunk/digamma.c M /trunk/gammaonethird.c M /trunk/get_flt.c M /trunk/ieee_floats.h M /trunk/isregular.c M /trunk/mbench/mfv5.h M /trunk/mbench/timp.h M /trunk/min_prec.c M /trunk/scale2.c M /trunk/set_flt.c M /trunk/set_z_exp.c M /trunk/set_zero.c M /trunk/speed.c M /trunk/tests/tai.c M /trunk/tests/taway.c M /trunk/tests/tbuildopt.c M /trunk/tests/tdigamma.c M /trunk/tests/tfprintf.c M /trunk/tests/tget_flt.c M /trunk/tests/tmin_prec.c M /trunk/tests/tprintf.c M /trunk/tests/tset_z_exp.c M /trunk/tests/tstdint.c Updated Subversion properties. ------------------------------------------------------------------------ r6844 | vlefevre | 2010-05-22 19:13:37 +0000 (Sat, 22 May 2010) | 1 line Changed paths: M /trunk/ai2.c [ai2.c] GNU style. ------------------------------------------------------------------------ r6843 | vlefevre | 2010-05-22 16:04:13 +0000 (Sat, 22 May 2010) | 1 line Changed paths: M /trunk/ai2.c [ai2.c] Style correction (necessary for ansi2knr, if still useful). ------------------------------------------------------------------------ r6842 | vlefevre | 2010-05-22 13:55:22 +0000 (Sat, 22 May 2010) | 1 line Changed paths: M /trunk/ai.c M /trunk/ai2.c [ai.c, ai2.c] Untabified / removed trailing spaces. ------------------------------------------------------------------------ r6841 | vlefevre | 2010-05-22 13:53:19 +0000 (Sat, 22 May 2010) | 1 line Changed paths: M /trunk/ai.c [ai.c] GNU style. ------------------------------------------------------------------------ r6840 | vlefevre | 2010-05-22 10:21:11 +0000 (Sat, 22 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Corrected the paragraph about whether MPFR is installed. ------------------------------------------------------------------------ r6839 | vlefevre | 2010-05-22 00:12:31 +0000 (Sat, 22 May 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] Corrections and answers to PZ comments from r6831. The document encoding is now UTF-8. ------------------------------------------------------------------------ r6838 | vlefevre | 2010-05-21 21:06:07 +0000 (Fri, 21 May 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] n-char-sequence was changed into n-char-sequence-opt in r6132, but I forgot to update all the occurrences. ------------------------------------------------------------------------ r6837 | schevill | 2010-05-21 09:47:13 +0000 (Fri, 21 May 2010) | 5 lines Changed paths: M /trunk/ai.c M /trunk/ai2.c * Removed double precision numbers. * Handle +0 and -0 the same way. * Use MPFR_GET_EXP in ai2.c ------------------------------------------------------------------------ r6836 | schevill | 2010-05-20 14:19:47 +0000 (Thu, 20 May 2010) | 3 lines Changed paths: M /trunk/ai.c * Corrected a bug when x=0 (MPFR_GET_EXP requires to assert that x!=0). ------------------------------------------------------------------------ r6835 | schevill | 2010-05-20 13:34:26 +0000 (Thu, 20 May 2010) | 3 lines Changed paths: M /trunk/ai.c M /trunk/ai2.c M /trunk/gammaonethird.c M /trunk/mpfr-impl.h Corrected some warnings. ------------------------------------------------------------------------ r6834 | schevill | 2010-05-20 12:39:34 +0000 (Thu, 20 May 2010) | 3 lines Changed paths: M /trunk/mpfr.texi Corrected an error that prevented the doc from compiling. ------------------------------------------------------------------------ r6833 | vlefevre | 2010-05-20 09:47:02 +0000 (Thu, 20 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: corrections. ------------------------------------------------------------------------ r6832 | zimmerma | 2010-05-20 09:35:06 +0000 (Thu, 20 May 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] explain why mpfr_sum uses an array of pointers to mpfr_t ------------------------------------------------------------------------ r6831 | zimmerma | 2010-05-20 09:10:47 +0000 (Thu, 20 May 2010) | 4 lines Changed paths: M /trunk/TODO M /trunk/fdl.texi M /trunk/mpfr.texi [mpfr.texi] changes after a complete reading of the documentation. There are some issues left that I don't know how to solve, they are marked with @c PZ in mpfr.texi. ------------------------------------------------------------------------ r6829 | vlefevre | 2010-05-19 23:07:54 +0000 (Wed, 19 May 2010) | 2 lines Changed paths: M /trunk/NEWS M /trunk/mpfr.texi [mpfr.texi, NEWS] Noted that the mpfr_ai implementation is incomplete and experimental. ------------------------------------------------------------------------ r6827 | vlefevre | 2010-05-19 23:04:40 +0000 (Wed, 19 May 2010) | 1 line Changed paths: M /trunk/ai.c [ai.c] Use MPFR_IS_SINGULAR. Added a FIXME comment for Ai(0). ------------------------------------------------------------------------ r6825 | vlefevre | 2010-05-19 22:41:29 +0000 (Wed, 19 May 2010) | 1 line Changed paths: M /trunk/mpfr-impl.h M /trunk/tests/texceptions.c M /trunk/tests/tget_f.c M /trunk/tests/tmodf.c M /trunk/tests/tpow_all.c M /trunk/tests/turandom.c Type corrections for C++ compilers (in particular, mpfr_rnd_t vs int). ------------------------------------------------------------------------ r6822 | vlefevre | 2010-05-19 14:30:02 +0000 (Wed, 19 May 2010) | 1 line Changed paths: M /trunk/ai.c [ai.c] Fixed possible problem in reduced exponent range. ------------------------------------------------------------------------ r6821 | vlefevre | 2010-05-19 14:25:02 +0000 (Wed, 19 May 2010) | 1 line Changed paths: M /trunk/ai.c M /trunk/ai2.c Removed trailing spaces. ------------------------------------------------------------------------ r6820 | schevill | 2010-05-19 13:48:46 +0000 (Wed, 19 May 2010) | 4 lines Changed paths: M /trunk/ai.c M /trunk/ai2.c M /trunk/gammaonethird.c * Removed some warnings. * More conform to GNU coding standards. ------------------------------------------------------------------------ r6818 | vlefevre | 2010-05-19 13:09:29 +0000 (Wed, 19 May 2010) | 2 lines Changed paths: M /trunk/README.dev D /trunk/patch-aclocal-icc Removed obsolete patch-aclocal-icc and updated README.dev (about "To make a release"). ------------------------------------------------------------------------ r6813 | vlefevre | 2010-05-19 12:38:01 +0000 (Wed, 19 May 2010) | 1 line Changed paths: M /trunk/Makefile.am [Makefile.am] Added a comment concerning -version-info and MPFR 3.0.x. ------------------------------------------------------------------------ r6812 | vlefevre | 2010-05-19 11:53:33 +0000 (Wed, 19 May 2010) | 1 line Changed paths: M /trunk/ChangeLog ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v". ------------------------------------------------------------------------ r6811 | vlefevre | 2010-05-19 10:18:37 +0000 (Wed, 19 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Preliminary interfaces are no longer preliminary. ------------------------------------------------------------------------ r6810 | vlefevre | 2010-05-19 10:13:39 +0000 (Wed, 19 May 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] API Compatibility: mention the detection of the availability of intmax_t with C++ compilers. ------------------------------------------------------------------------ r6809 | vlefevre | 2010-05-19 09:07:33 +0000 (Wed, 19 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] signness -> signedness (thanks to Philippe). ------------------------------------------------------------------------ r6808 | vlefevre | 2010-05-19 00:11:39 +0000 (Wed, 19 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Missing @code. ------------------------------------------------------------------------ r6807 | vlefevre | 2010-05-19 00:09:11 +0000 (Wed, 19 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Corrected C terminology (table -> array). ------------------------------------------------------------------------ r6806 | vlefevre | 2010-05-18 14:40:36 +0000 (Tue, 18 May 2010) | 1 line Changed paths: M /trunk/NEWS M /trunk/mpfr.texi [mpfr.texi, NEWS] Mention that mpfr_ai is a new function in MPFR 3.0. ------------------------------------------------------------------------ r6805 | vlefevre | 2010-05-18 14:36:05 +0000 (Tue, 18 May 2010) | 1 line Changed paths: D /trunk/prepare Removed obsolete prepare script (autoreconf does the same thing). ------------------------------------------------------------------------ r6804 | schevill | 2010-05-18 14:34:57 +0000 (Tue, 18 May 2010) | 21 lines Changed paths: M /trunk/Makefile.am M /trunk/ai.c A /trunk/ai2.c A /trunk/gammaonethird.c M /trunk/mpfr.h * I added a new implementation of Airy Ai. This implementation uses Smith's algorithm. Currently, it is provided as a separate implementation mpfr_ai2. * Please note that both mpfr_ai and mpfr_ai2 need to efficiently evaluate Gamma(1/3) and Gamma(2/3). This is provided by functions in the file gammaonethird.c * There is no test file for mpfr_ai2 since it should quickly disappear behind a single implementation using the best of mpfr_ai and mpfr_ai2. However, if necessary, a test file can be obtained by copying tai.c and replacing mpfr_ai by mpfr_ai2 everywhere. * I do not know if gammaonethird.c will remain like that in the future. Should we make this implementation available as a public MPFR function? In this case, I have to write a wrapper for providing a correctly rounded implementation. Moreover, it contains functions that could be interesting for the implementation of other functions (the functions mpfr_div_ui*). Maybe, it could be worth providing a file specially for this purpose. ------------------------------------------------------------------------ r6803 | vlefevre | 2010-05-18 14:32:07 +0000 (Tue, 18 May 2010) | 1 line Changed paths: M /trunk/NEWS [NEWS] Added release name. ------------------------------------------------------------------------ r6802 | vlefevre | 2010-05-18 14:30:38 +0000 (Tue, 18 May 2010) | 2 lines Changed paths: M /trunk/NEWS [NEWS] Updated "Changes from versions 2.3.* to version 2.4.0" from MPFR 2.4.2. ------------------------------------------------------------------------ r6801 | vlefevre | 2010-05-18 14:25:20 +0000 (Tue, 18 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Completed Section 6.1 "Type and Macro Changes". ------------------------------------------------------------------------ r6800 | vlefevre | 2010-05-18 14:07:26 +0000 (Tue, 18 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Updated Section 6.1 "Type and Macro Changes". ------------------------------------------------------------------------ r6799 | vlefevre | 2010-05-18 13:57:03 +0000 (Tue, 18 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Missing space. ------------------------------------------------------------------------ r6798 | vlefevre | 2010-05-18 13:54:47 +0000 (Tue, 18 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Updated Section 6.1 "Type and Macro Changes". ------------------------------------------------------------------------ r6797 | vlefevre | 2010-05-18 13:53:06 +0000 (Tue, 18 May 2010) | 1 line Changed paths: M /trunk/NEWS [NEWS] A bit less ambiguous... ------------------------------------------------------------------------ r6796 | vlefevre | 2010-05-18 13:12:49 +0000 (Tue, 18 May 2010) | 1 line Changed paths: M /trunk/NEWS [NEWS] More details for mp_rnd_t/mpfr_rnd_t, like mp_prec_t/mpfr_prec_t. ------------------------------------------------------------------------ r6795 | vlefevre | 2010-05-17 15:51:28 +0000 (Mon, 17 May 2010) | 2 lines Changed paths: M /trunk/NEWS M /trunk/mpfr.texi Added "API Compatibility" section to the MPFR manual. TODO: Section 6.1 "Type and Macro Changes". ------------------------------------------------------------------------ r6794 | vlefevre | 2010-05-17 13:31:19 +0000 (Mon, 17 May 2010) | 1 line Changed paths: M /trunk/NEWS [NEWS] mpfr_strtofr now accepts bases from 37 to 62 (r5965). ------------------------------------------------------------------------ r6793 | vlefevre | 2010-05-10 09:25:01 +0000 (Mon, 10 May 2010) | 1 line Changed paths: M /trunk/INSTALL INSTALL: updated section about MS Windows. ------------------------------------------------------------------------ r6792 | vlefevre | 2010-05-10 09:05:12 +0000 (Mon, 10 May 2010) | 1 line Changed paths: M /trunk/INSTALL INSTALL: updated section about MS Windows. ------------------------------------------------------------------------ r6791 | vlefevre | 2010-05-08 17:17:18 +0000 (Sat, 08 May 2010) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Fixed code when _MPFR_PREC_FORMAT != 3. ------------------------------------------------------------------------ r6790 | zimmerma | 2010-05-08 08:01:05 +0000 (Sat, 08 May 2010) | 2 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] fixed compiler warning (found by nightly tests) ------------------------------------------------------------------------ r6789 | vlefevre | 2010-05-07 15:13:02 +0000 (Fri, 07 May 2010) | 1 line Changed paths: M /trunk/NEWS M /trunk/README.dev M /trunk/TODO M /trunk/acos.c M /trunk/acosh.c M /trunk/add1.c M /trunk/add1sp.c M /trunk/ai.c M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atan2.c M /trunk/atanh.c M /trunk/cbrt.c M /trunk/cmp.c M /trunk/cmp_abs.c M /trunk/cmp_si.c M /trunk/cmp_ui.c M /trunk/const_euler.c M /trunk/cos.c M /trunk/cot.c M /trunk/coth.c M /trunk/csc.c M /trunk/csch.c M /trunk/digamma.c M /trunk/div.c M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/div_ui.c M /trunk/eint.c M /trunk/eq.c M /trunk/erf.c M /trunk/erfc.c M /trunk/exceptions.c M /trunk/exp.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/fits_intmax.c M /trunk/fits_s.h M /trunk/fits_u.h M /trunk/fits_uintmax.c M /trunk/fma.c M /trunk/fms.c M /trunk/frac.c M /trunk/gamma.c M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_exp.c M /trunk/get_flt.c M /trunk/get_ld.c M /trunk/get_si.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/get_z.c M /trunk/get_z_exp.c M /trunk/gmp_op.c M /trunk/hypot.c M /trunk/isinteger.c M /trunk/jn.c M /trunk/jyn_asympt.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/log.c M /trunk/log10.c M /trunk/log1p.c M /trunk/log2.c M /trunk/mbench/mfv5.cc M /trunk/mbench/mpfr-v6.c M /trunk/modf.c M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/mpn_exp.c M /trunk/mul.c M /trunk/mul_2si.c M /trunk/mul_2ui.c M /trunk/next.c M /trunk/out_str.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_z.c M /trunk/print_raw.c M /trunk/rem1.c M /trunk/rint.c M /trunk/root.c M /trunk/round_near_x.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/set_d.c M /trunk/set_exp.c M /trunk/set_f.c M /trunk/set_ld.c M /trunk/set_si_2exp.c M /trunk/set_ui_2exp.c M /trunk/set_z_exp.c M /trunk/setmax.c M /trunk/setmin.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sinh_cosh.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/stack_interface.c M /trunk/strtofr.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/subnormal.c M /trunk/sum.c M /trunk/swap.c M /trunk/tanh.c M /trunk/tests/mpfr-test.h M /trunk/tests/random2.c M /trunk/tests/tacos.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tasin.c M /trunk/tests/tatan.c M /trunk/tests/tcan_round.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tdiv.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/tfactorial.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.c M /trunk/tests/tgeneric.c M /trunk/tests/tget_f.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/thypot.c M /trunk/tests/tinternals.c M /trunk/tests/tlgamma.c M /trunk/tests/tlog.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_ui.c M /trunk/tests/tpow.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trint.c M /trunk/tests/tround_prec.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_si.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tset_z_exp.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/ttanh.c M /trunk/tests/tui_pow.c M /trunk/tests/turandom.c M /trunk/ui_pow_ui.c M /trunk/urandom.c M /trunk/urandomb.c M /trunk/vasprintf.c M /trunk/yn.c M /trunk/zeta.c New exponent type mpfr_exp_t for MPFR (replacing GMP's mp_exp_t). ------------------------------------------------------------------------ r6788 | vlefevre | 2010-05-07 14:18:54 +0000 (Fri, 07 May 2010) | 1 line Changed paths: M /trunk/README.dev [README.dev] Updated a paragraph concerning signed and unsigned types. ------------------------------------------------------------------------ r6787 | vlefevre | 2010-05-07 13:57:28 +0000 (Fri, 07 May 2010) | 12 lines Changed paths: M /trunk/NEWS M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/tests/tcheck.c Changed the precision type mpfr_prec_t from an unsigned integer type into the corresponding signed integer type, in order to avoid problems due to the usual arithmetic conversions when mixing mpfr_prec_t and mp_exp_t in an expression. * NEWS: mentioned this change. * mpfr-impl.h: removed MPFR_INTPREC_MAX (which wasn't used) and updated the MPFR_UNSIGNED_MINUS_MODULO(S,A) macro, which assumed that A was unsigned; this macro now works even when A is signed. * mpfr.h: added mpfr_uprec_t; updated mpfr_prec_t and MPFR_PREC_MAX. * tests/tcheck.c: disabled a test on MPFR_PREC_MAX+1 with MPFR >= 3 (this test doesn't work with a signed mpfr_prec_t and isn't needed). Note: all tests pass under GNU Linux x86 and x86_64. ------------------------------------------------------------------------ r6786 | vlefevre | 2010-05-07 12:36:55 +0000 (Fri, 07 May 2010) | 1 line Changed paths: M /trunk/tests/tcheck.c [tests/tcheck.c] Forgot to remove a printf (added during testing). ------------------------------------------------------------------------ r6785 | vlefevre | 2010-05-07 12:33:57 +0000 (Fri, 07 May 2010) | 1 line Changed paths: M /trunk/tests/tcheck.c [tests/tcheck.c] Support signed mpfr_prec_t (avoid integer overflow). ------------------------------------------------------------------------ r6784 | vlefevre | 2010-05-07 12:31:53 +0000 (Fri, 07 May 2010) | 1 line Changed paths: M /trunk/tests/mpf_compat.h [tests/mpf_compat.h] Fixed prototype of function main. ------------------------------------------------------------------------ r6783 | vlefevre | 2010-05-07 12:23:22 +0000 (Fri, 07 May 2010) | 1 line Changed paths: M /trunk/mpfr.h [mpfr.h] Added a comment concerning the definition of MPFR_PREC_MAX. ------------------------------------------------------------------------ r6782 | vlefevre | 2010-05-06 10:10:52 +0000 (Thu, 06 May 2010) | 2 lines Changed paths: M /trunk/print_rnd_mode.c print_rnd_mode.c: added an assertion so that we do not forget to update this file after a new rounding mode is added. ------------------------------------------------------------------------ r6780 | vlefevre | 2010-05-03 14:26:06 +0000 (Mon, 03 May 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] Added a paragraph about multiple inclusions of mpfr.h and/or gmp.h header files. ------------------------------------------------------------------------ r6779 | thevenyp | 2010-05-03 14:19:20 +0000 (Mon, 03 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi Update documentation for mpfr_print_rnd_mode. ------------------------------------------------------------------------ r6778 | vlefevre | 2010-05-03 13:15:15 +0000 (Mon, 03 May 2010) | 3 lines Changed paths: M /trunk/mpfr-impl.h M /trunk/mpfr.h To avoid breaking the ABI when faithful rounding gets implemented, added MPFR_RNDF to the mpfr_rnd_t enum type now, and removed MPFR_RND_MAX from the enumeration (it is now defined as a macro in mpfr-impl.h). ------------------------------------------------------------------------ r6777 | vlefevre | 2010-05-03 12:52:28 +0000 (Mon, 03 May 2010) | 1 line Changed paths: M /trunk/fits_intmax.c M /trunk/fits_s.h M /trunk/fits_sint.c M /trunk/fits_slong.c M /trunk/fits_sshort.c fits_* (signed version): corrections and optimizations. ------------------------------------------------------------------------ r6776 | vlefevre | 2010-05-03 12:30:46 +0000 (Mon, 03 May 2010) | 5 lines Changed paths: M /trunk/fits_u.h M /trunk/fits_uintmax.c [fits_uintmax.c, fits_u.h] Some casts could be incorrect in the case mp_exp_t > mpfr_prec_t. Set prec to the int type since in practice, prec will be small enough to fit in an int. The fact that prec is now signed allows us to remove a useless test (also note that prec should be computed at compile time, so that this should be at least as fast). ------------------------------------------------------------------------ r6775 | vlefevre | 2010-05-03 12:04:56 +0000 (Mon, 03 May 2010) | 1 line Changed paths: M /trunk/fits_u.h M /trunk/fits_uintmax.c [fits_uintmax.c, fits_u.h] Comments: doesn't -> don't ------------------------------------------------------------------------ r6774 | vlefevre | 2010-05-03 11:10:41 +0000 (Mon, 03 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated the month. ------------------------------------------------------------------------ r6773 | thevenyp | 2010-05-03 09:20:38 +0000 (Mon, 03 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi M /trunk/tests/tsprintf.c M /trunk/vasprintf.c Add specifier 'Y' for the rounding away from zero mode in printf-like functions. ------------------------------------------------------------------------ r6772 | zimmerma | 2010-04-30 16:10:44 +0000 (Fri, 30 Apr 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] removed obsolete mpfr_round_prec ------------------------------------------------------------------------ r6770 | vlefevre | 2010-04-30 15:57:34 +0000 (Fri, 30 Apr 2010) | 1 line Changed paths: M /trunk/fits_intmax.c M /trunk/fits_s.h [fits_intmax.c,fits_s.h] Added FIXME comments. ------------------------------------------------------------------------ r6769 | vlefevre | 2010-04-30 15:50:27 +0000 (Fri, 30 Apr 2010) | 2 lines Changed paths: M /trunk/fits_u.h M /trunk/fits_uintmax.c Optimized fits_u.h and made fits_uintmax.c like fits_u.h for the special numbers. ------------------------------------------------------------------------ r6768 | vlefevre | 2010-04-30 15:44:39 +0000 (Fri, 30 Apr 2010) | 1 line Changed paths: M /trunk/fits_uintmax.c Optimized mpfr_fits_uintmax_p. ------------------------------------------------------------------------ r6767 | vlefevre | 2010-04-30 14:37:47 +0000 (Fri, 30 Apr 2010) | 1 line Changed paths: M /trunk/NEWS M /trunk/README.dev M /trunk/acos.c M /trunk/acosh.c M /trunk/add1.c M /trunk/add1sp.c M /trunk/agm.c M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atan2.c M /trunk/atanh.c M /trunk/cache.c M /trunk/cbrt.c M /trunk/check.c M /trunk/cmp2.c M /trunk/const_catalan.c M /trunk/const_euler.c M /trunk/const_log2.c M /trunk/const_pi.c M /trunk/cos.c M /trunk/cosh.c M /trunk/digamma.c M /trunk/eint.c M /trunk/erf.c M /trunk/erfc.c M /trunk/examples/rndo-add.c M /trunk/exp.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/factorial.c M /trunk/fits_intmax.c M /trunk/fits_s.h M /trunk/fits_u.h M /trunk/fits_uintmax.c M /trunk/fma.c M /trunk/fms.c M /trunk/frac.c M /trunk/gamma.c M /trunk/gen_inverse.h M /trunk/get_f.c M /trunk/get_si.c M /trunk/get_sj.c M /trunk/get_ui.c M /trunk/get_uj.c M /trunk/gmp_op.c M /trunk/hypot.c M /trunk/init2.c M /trunk/inits2.c M /trunk/isinteger.c M /trunk/jn.c M /trunk/jyn_asympt.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/log.c M /trunk/log10.c M /trunk/log1p.c M /trunk/log2.c M /trunk/logging.c M /trunk/mbench/mpfr-gfx.c M /trunk/mbench/mpfr-v4.c M /trunk/mbench/mpfr-v6.c M /trunk/modf.c M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/mul.c M /trunk/mul_ui.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/print_raw.c M /trunk/rec_sqrt.c M /trunk/root.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/set_dfl_prec.c M /trunk/set_prec.c M /trunk/set_q.c M /trunk/set_z_exp.c M /trunk/setmax.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sinh_cosh.c M /trunk/speed.c M /trunk/sqr.c M /trunk/stack_interface.c M /trunk/strtofr.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/subnormal.c M /trunk/sum.c M /trunk/tan.c M /trunk/tanh.c M /trunk/tests/mpfr-test.h M /trunk/tests/reuse.c M /trunk/tests/tabs.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/taway.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/tests.c M /trunk/tests/texp.c M /trunk/tests/tfactorial.c M /trunk/tests/tfma.c M /trunk/tests/tfms.c M /trunk/tests/tfrac.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tgmpop.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_z.c M /trunk/tests/trandom.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tset_sj.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsqrt.c M /trunk/tests/tstckintc.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsum.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/tyn.c M /trunk/tests/tzeta.c M /trunk/tuneup.c M /trunk/ui_pow_ui.c M /trunk/urandom.c M /trunk/urandomb.c M /trunk/vasprintf.c M /trunk/yn.c M /trunk/zeta.c M /trunk/zeta_ui.c Changed mp_prec_t into mpfr_prec_t. ------------------------------------------------------------------------ r6766 | vlefevre | 2010-04-19 14:35:35 +0000 (Mon, 19 Apr 2010) | 1 line Changed paths: M /trunk/configure.in [configure.in] r6765 introduced non-POSIX syntax. Fixed. ------------------------------------------------------------------------ r6765 | zimmerma | 2010-04-19 11:26:12 +0000 (Mon, 19 Apr 2010) | 2 lines Changed paths: M /trunk/configure.in [configure.in] check for GMP internal files only with --with-gmp-build ------------------------------------------------------------------------ r6764 | vlefevre | 2010-04-12 00:11:48 +0000 (Mon, 12 Apr 2010) | 1 line Changed paths: M /trunk/NEWS [NEWS] New function mpfr_regular_p (was added in r6417, 2009-09-14). ------------------------------------------------------------------------ r6762 | vlefevre | 2010-04-07 02:15:06 +0000 (Wed, 07 Apr 2010) | 2 lines Changed paths: M /trunk/mpfr-gmp.h [mpfr-gmp.h] Fixed alloca prototype (bug detected by tcc 0.9.25 under Linux/x86_64). ------------------------------------------------------------------------ r6753 | vlefevre | 2010-03-24 12:45:47 +0000 (Wed, 24 Mar 2010) | 3 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] Improved/corrected the documentation of functions mpfr_lgamma, mpfr_digamma, mpfr_j0/j1/jn, mpfr_y0/y1/yn, mpfr_agm, mpfr_hypot and mpfr_min_prec. ------------------------------------------------------------------------ r6752 | vlefevre | 2010-03-24 12:24:28 +0000 (Wed, 24 Mar 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Removed a "currently" that is no longer needed. ------------------------------------------------------------------------ r6751 | vlefevre | 2010-03-24 12:20:41 +0000 (Wed, 24 Mar 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] Updated description of mpfr_atan2, now that IEEE 754-2008 has been published and follows the same conventions as C99 for atan2. ------------------------------------------------------------------------ r6750 | vlefevre | 2010-03-24 12:12:00 +0000 (Wed, 24 Mar 2010) | 4 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] Updated description of mpfr_pow, now that IEEE 754-2008 has been published and follows the same conventions as C99 for pow. (IEEE 754-2008 doesn't currently specify pow(±inf,non-zero), but I've suggested a correction for the errata page.) ------------------------------------------------------------------------ r6747 | vlefevre | 2010-03-23 15:28:41 +0000 (Tue, 23 Mar 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] Improved documentation of mpfr_print_rnd_mode (from a suggestion by Chris Saunders). ------------------------------------------------------------------------ r6746 | vlefevre | 2010-03-22 10:59:28 +0000 (Mon, 22 Mar 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Various corrections and other improvements. ------------------------------------------------------------------------ r6745 | vlefevre | 2010-03-22 10:38:59 +0000 (Mon, 22 Mar 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Improved the documentation of mpfr_dim too. ------------------------------------------------------------------------ r6744 | zimmerma | 2010-03-22 10:04:29 +0000 (Mon, 22 Mar 2010) | 3 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] improved the documentation of mpfr_rec_sqrt and mpfr_cbrt (thanks Vincent) ------------------------------------------------------------------------ r6743 | zimmerma | 2010-03-22 09:30:44 +0000 (Mon, 22 Mar 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] improved documentation of mpfr_sqrt and mpfr_sqrt_ui ------------------------------------------------------------------------ r6741 | vlefevre | 2010-03-21 18:17:12 +0000 (Sun, 21 Mar 2010) | 1 line Changed paths: M /trunk/mpfr.h [mpfr.h] Added a comment about integer overflows in macros. ------------------------------------------------------------------------ r6740 | zimmerma | 2010-03-19 14:48:17 +0000 (Fri, 19 Mar 2010) | 2 lines Changed paths: M /trunk/tests/tai.c [tai.c] enable first test of check_large, and reduced total time ------------------------------------------------------------------------ r6739 | schevill | 2010-03-19 14:15:23 +0000 (Fri, 19 Mar 2010) | 3 lines Changed paths: M /trunk/mpfr.texi Added a mention about the current limitation of mpfr_ai in mpfr.texi. ------------------------------------------------------------------------ r6738 | schevill | 2010-03-19 13:43:13 +0000 (Fri, 19 Mar 2010) | 6 lines Changed paths: M /trunk/algorithms.tex M /trunk/tests/tai.c Removed check of ai.c for large arguments. I added in algorithms.tex a mention about the fact that mpfr_ai is currently not made for large arguments. ------------------------------------------------------------------------ r6737 | schevill | 2010-03-19 12:16:12 +0000 (Fri, 19 Mar 2010) | 3 lines Changed paths: M /trunk/ai.c * Corrected problems regarding the GNU recommendations for formatting source code. ------------------------------------------------------------------------ r6735 | vlefevre | 2010-03-18 12:55:37 +0000 (Thu, 18 Mar 2010) | 1 line Changed paths: M /trunk/tests tests: added tai to the svn:ignore property. ------------------------------------------------------------------------ r6734 | zimmerma | 2010-03-18 12:37:13 +0000 (Thu, 18 Mar 2010) | 3 lines Changed paths: M /trunk/tests/tai.c [tai.c] reduce the maximal exponents in test_generic() also reduce the number of random tests to decrease the test time ------------------------------------------------------------------------ r6733 | vlefevre | 2010-03-18 12:26:19 +0000 (Thu, 18 Mar 2010) | 1 line Changed paths: M /trunk/README.dev README.dev: in the tests, use mpfr_equal_p rather than mpfr_cmp. ------------------------------------------------------------------------ r6732 | zimmerma | 2010-03-18 12:23:43 +0000 (Thu, 18 Mar 2010) | 2 lines Changed paths: M /trunk/tests/tai.c [tai.c] replace mpfr_cmp by mpfr_equal_p ------------------------------------------------------------------------ r6731 | vlefevre | 2010-03-18 12:11:29 +0000 (Thu, 18 Mar 2010) | 1 line Changed paths: M /trunk/tests/tset_z_exp.c tests/tset_z_exp.c untabified. ------------------------------------------------------------------------ r6730 | vlefevre | 2010-03-18 12:11:13 +0000 (Thu, 18 Mar 2010) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: removed trailing whitespace. ------------------------------------------------------------------------ r6729 | vlefevre | 2010-03-18 11:59:57 +0000 (Thu, 18 Mar 2010) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated the month. ------------------------------------------------------------------------ r6728 | vlefevre | 2010-03-18 11:54:24 +0000 (Thu, 18 Mar 2010) | 1 line Changed paths: M /trunk/AUTHORS Untabified AUTHORS (consistency). ------------------------------------------------------------------------ r6727 | schevill | 2010-03-18 11:50:39 +0000 (Thu, 18 Mar 2010) | 4 lines Changed paths: M /trunk/ai.c * Corrected problems regarding the GNU recommendations for formatting source code. * Corrected the date of the copyright. ------------------------------------------------------------------------ r6726 | zimmerma | 2010-03-18 09:50:20 +0000 (Thu, 18 Mar 2010) | 2 lines Changed paths: M /trunk/tests/tai.c [tai.c] added test for large inputs ------------------------------------------------------------------------ r6725 | zimmerma | 2010-03-18 09:22:02 +0000 (Thu, 18 Mar 2010) | 2 lines Changed paths: M /trunk/AUTHORS [AUTHORS] added Sylvain Chevillard ------------------------------------------------------------------------ r6724 | zimmerma | 2010-03-17 21:12:09 +0000 (Wed, 17 Mar 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] added Sylvain as contributor ------------------------------------------------------------------------ r6723 | schevill | 2010-03-17 17:35:59 +0000 (Wed, 17 Mar 2010) | 18 lines Changed paths: M /trunk/Makefile.am M /trunk/README.dev A /trunk/ai.c A /trunk/algorithm2e.sty M /trunk/algorithms.tex M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/tests/Makefile.am A /trunk/tests/tai.c * Added function mpfr_ai. The implementation is the most naive: it evaluates the series step by step until it can stop. A special strategy is used to detect possible problems when Ai(x) is very close to 0. * Updated algorithms.tex with the technical description of the implementation of mpfr_ai. * Added algorithm2e.sty and algorithm2e-compatibility.sty (necessary to compile algorithms.tex now). * Updated mpfr.texi to let it know this new function. * Added a basic test file for mpfr_ai. I will add other test cases later. * Added a small HOWTO to README.dev about how to add a new test file for new functions. ------------------------------------------------------------------------ r6720 | vlefevre | 2010-03-11 09:43:53 +0000 (Thu, 11 Mar 2010) | 1 line Changed paths: M /trunk/tests/tstrtofr.c GMP_RNDx -> MPFR_RNDx ------------------------------------------------------------------------ r6719 | zimmerma | 2010-03-11 09:24:00 +0000 (Thu, 11 Mar 2010) | 3 lines Changed paths: M /trunk/tests/tstrtofr.c [tstrtofr.c] added test for 1.23e, cf http://gmplib.org/list-archives/gmp-bugs/2010-March/001898.html ------------------------------------------------------------------------ r6718 | vlefevre | 2010-03-11 01:02:58 +0000 (Thu, 11 Mar 2010) | 4 lines Changed paths: M /trunk/tests/tsqrt.c [tests/tsqrt.c] Add the test -1 <= x/sqrt(x^2) <= 1, which corresponds to -1 <= x/sqrt(x^2+y^2) <= 1 with y = 0. I don't think the test with random y is still necessary, though, since even a bad sqrt accuracy would not be detected. ------------------------------------------------------------------------ r6717 | vlefevre | 2010-03-10 10:07:46 +0000 (Wed, 10 Mar 2010) | 1 line Changed paths: M /trunk/tests/tsqrt.c [tests/tsqrt.c] Added a comment about the x/sqrt(x^2+y^2) test. ------------------------------------------------------------------------ r6716 | zimmerma | 2010-03-10 09:00:47 +0000 (Wed, 10 Mar 2010) | 4 lines Changed paths: M /trunk/tests/tsqrt.c [tsqrt.c] fixed bug reported by Sam Rawlins (https://sympa.inria.fr/sympa/arc/mpfr/2010-03/msg00007.html) Note: this "bug" had no noticeable consequences; this can just be seen as an incomplete test. ------------------------------------------------------------------------ r6715 | zimmerma | 2010-02-26 08:27:10 +0000 (Fri, 26 Feb 2010) | 2 lines Changed paths: M /trunk/NEWS [NEWS] added item ------------------------------------------------------------------------ r6714 | zimmerma | 2010-02-24 15:49:04 +0000 (Wed, 24 Feb 2010) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] now also recognize "IEEE double, little endian" long-double format (not tested, should happen on ARM) ------------------------------------------------------------------------ r6713 | zimmerma | 2010-02-24 15:07:39 +0000 (Wed, 24 Feb 2010) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] added recognition of "IEEE double big endian" long double format (tested on gcc40.fsffrance.org and gcc53, both PowerPC's) ------------------------------------------------------------------------ r6712 | vlefevre | 2010-02-24 12:59:19 +0000 (Wed, 24 Feb 2010) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Added test for long double = double-double (GCC/PowerPC). This test cannot currently be reliable, so we just output a warning. ------------------------------------------------------------------------ r6711 | zimmerma | 2010-02-23 16:39:02 +0000 (Tue, 23 Feb 2010) | 2 lines Changed paths: M /trunk/NEWS [NEWS] minor grammar fix ------------------------------------------------------------------------ r6710 | zimmerma | 2010-02-23 16:27:08 +0000 (Tue, 23 Feb 2010) | 2 lines Changed paths: M /trunk/NEWS [NEWS] be more precise about API compatibility ------------------------------------------------------------------------ r6709 | zimmerma | 2010-02-23 15:54:30 +0000 (Tue, 23 Feb 2010) | 2 lines Changed paths: M /trunk/NEWS M /trunk/mpfr.h [mpfr.h] added #define mpfr_get_z_exp mpfr_get_z_2exp for compatibility ------------------------------------------------------------------------ r6708 | vlefevre | 2010-02-23 01:35:39 +0000 (Tue, 23 Feb 2010) | 1 line Changed paths: M /trunk/tests tests: added tset_z_exp to the svn:ignore property. ------------------------------------------------------------------------ r6707 | zimmerma | 2010-02-22 17:23:27 +0000 (Mon, 22 Feb 2010) | 3 lines Changed paths: M /trunk/NEWS M /trunk/atan.c M /trunk/cbrt.c M /trunk/cos.c M /trunk/eint.c M /trunk/exp_2.c M /trunk/get_z.c M /trunk/get_z_exp.c M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/pow.c M /trunk/rem1.c M /trunk/root.c M /trunk/set_z.c M /trunk/set_z_exp.c M /trunk/sin_cos.c M /trunk/tests/tset_z_exp.c changed mpfr_get_z_exp -> mpfr_get_z_2exp (old function) mpfr_set_z_exp -> mpfr_set_z_2exp (new function) ------------------------------------------------------------------------ r6706 | zimmerma | 2010-02-22 15:45:30 +0000 (Mon, 22 Feb 2010) | 2 lines Changed paths: M /trunk/Makefile.am M /trunk/NEWS M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/set_z.c A /trunk/set_z_exp.c M /trunk/tests/Makefile.am A /trunk/tests/tset_z_exp.c added new function mpfr_set_z_exp (companion to mpfr_get_z_exp) ------------------------------------------------------------------------ r6705 | vlefevre | 2010-02-18 17:05:48 +0000 (Thu, 18 Feb 2010) | 6 lines Changed paths: M /trunk/TODO M /trunk/tests A /trunk/tests/tstdint.c * Added tests/tstdint.c to test the double inclusion of mpfr.h when only the second occurrence needs <stdint.h> (this can happen when one uses several libraries that use MPFR under different conditions). * Added tstdint to the svn:ignore property of "tests". * TODO: mentions that tstdint should be added to check_PROGRAMS in the tests/Makefile.am file once this is fixed. ------------------------------------------------------------------------ r6701 | vlefevre | 2010-02-18 02:02:55 +0000 (Thu, 18 Feb 2010) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated Section "Internals". ------------------------------------------------------------------------ r6700 | vlefevre | 2010-02-16 17:43:28 +0000 (Tue, 16 Feb 2010) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated the month. ------------------------------------------------------------------------ r6699 | vlefevre | 2010-02-16 17:02:40 +0000 (Tue, 16 Feb 2010) | 5 lines Changed paths: M /trunk/mpfr.h M /trunk/mpfr.texi mpfr.h: disable the INTMAX_C / UINTMAX_C test with C++ compilers as it doesn't work well in this case (e.g. possible failure with Boost); see https://sympa.inria.fr/sympa/arc/mpfr/2010-02/msg00025.html and the whole discussion. mpfr.texi: update. ------------------------------------------------------------------------ r6696 | zimmerma | 2010-02-05 07:13:10 +0000 (Fri, 05 Feb 2010) | 3 lines Changed paths: M /trunk/configure.in [configure.in] removed check for C++ and Fortran compiler (comment said to remove it for libtool >= 2.0) ------------------------------------------------------------------------ r6695 | zimmerma | 2010-02-01 09:25:46 +0000 (Mon, 01 Feb 2010) | 2 lines Changed paths: M /trunk/TODO [TODO] dummy change to check if we still get commit mails ------------------------------------------------------------------------ r6694 | zimmerma | 2010-01-29 13:44:58 +0000 (Fri, 29 Jan 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] added note about mpfr_set_str ------------------------------------------------------------------------ r6691 | vlefevre | 2010-01-25 10:54:30 +0000 (Mon, 25 Jan 2010) | 3 lines Changed paths: M /trunk/get_patches.sh Simplified get_patches.sh; minor consequence: the trailing space in the string returned by mpfr_get_patches() when there are patches is no longer present (this trailing space wasn't desired anyway). ------------------------------------------------------------------------ r6687 | vlefevre | 2010-01-25 00:33:37 +0000 (Mon, 25 Jan 2010) | 2 lines Changed paths: M /trunk/configure.in configure.in: updated message for different gmp.h and libgmp versions. See <https://sympa.inria.fr/sympa/arc/mpfr/2010-01/msg00051.html>. ------------------------------------------------------------------------ r6686 | vlefevre | 2010-01-20 12:09:45 +0000 (Wed, 20 Jan 2010) | 6 lines Changed paths: M /trunk/FAQ.html M /trunk/README M /trunk/TODO M /trunk/faq.xsl FAQ.html, faq.xsl, README, TODO: slightly changed the copyright notice to make it consistent with the one of the other files. In short, "and the GNU General Public License" has been removed, but it was ambiguous (we did not say which version of the GNU GPL) and useless (for GPLv3) because the LGPLv3 is compatible with the GPLv3: http://www.fsf.org/licensing/licenses/gpl-faq.html#WhatDoesCompatMean ------------------------------------------------------------------------ r6685 | vlefevre | 2010-01-20 11:56:23 +0000 (Wed, 20 Jan 2010) | 3 lines Changed paths: M /trunk/INSTALL INSTALL: * added copyright notice (at the top, like GMP); * replaced "Installing MPFR" by "Installing GNU MPFR". ------------------------------------------------------------------------ r6684 | vlefevre | 2010-01-20 11:48:25 +0000 (Wed, 20 Jan 2010) | 3 lines Changed paths: M /trunk/BUGS M /trunk/FAQ.html M /trunk/Makefile.am M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/abort_prec_max.c M /trunk/acinclude.m4 M /trunk/acos.c M /trunk/acosh.c M /trunk/add.c M /trunk/add1.c M /trunk/add1sp.c M /trunk/add_d.c M /trunk/add_ui.c M /trunk/agm.c M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atan2.c M /trunk/atanh.c M /trunk/bernoulli.c M /trunk/buildopt.c M /trunk/cache.c M /trunk/cbrt.c M /trunk/check.c M /trunk/clear.c M /trunk/clears.c M /trunk/cmp.c M /trunk/cmp2.c M /trunk/cmp_abs.c M /trunk/cmp_d.c M /trunk/cmp_ld.c M /trunk/cmp_si.c M /trunk/cmp_ui.c M /trunk/comparisons.c M /trunk/configure.in M /trunk/const_catalan.c M /trunk/const_euler.c M /trunk/const_log2.c M /trunk/const_pi.c M /trunk/constant.c M /trunk/copysign.c M /trunk/cos.c M /trunk/cosh.c M /trunk/cot.c M /trunk/coth.c M /trunk/csc.c M /trunk/csch.c M /trunk/d_div.c M /trunk/d_sub.c M /trunk/digamma.c M /trunk/dim.c M /trunk/div.c M /trunk/div_2exp.c M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/div_d.c M /trunk/div_ui.c M /trunk/dump.c M /trunk/eint.c M /trunk/eq.c M /trunk/erf.c M /trunk/erfc.c M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.c M /trunk/exceptions.c M /trunk/exp.c M /trunk/exp10.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/extract.c M /trunk/factorial.c M /trunk/faq.xsl M /trunk/fits_intmax.c M /trunk/fits_s.h M /trunk/fits_sint.c M /trunk/fits_slong.c M /trunk/fits_sshort.c M /trunk/fits_u.h M /trunk/fits_uint.c M /trunk/fits_uintmax.c M /trunk/fits_ulong.c M /trunk/fits_ushort.c M /trunk/fma.c M /trunk/fms.c M /trunk/frac.c M /trunk/free_cache.c M /trunk/gamma.c M /trunk/gen_inverse.h M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_exp.c M /trunk/get_f.c M /trunk/get_flt.c M /trunk/get_ld.c M /trunk/get_patches.sh M /trunk/get_si.c M /trunk/get_sj.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/get_uj.c M /trunk/get_z.c M /trunk/get_z_exp.c M /trunk/gmp_op.c M /trunk/hypot.c M /trunk/ieee_floats.h M /trunk/init.c M /trunk/init2.c M /trunk/inits.c M /trunk/inits2.c M /trunk/inp_str.c M /trunk/int_ceil_log2.c M /trunk/isinf.c M /trunk/isinteger.c M /trunk/isnan.c M /trunk/isnum.c M /trunk/isqrt.c M /trunk/isregular.c M /trunk/iszero.c M /trunk/jn.c M /trunk/jyn_asympt.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/log.c M /trunk/log10.c M /trunk/log1p.c M /trunk/log2.c M /trunk/logging.c M /trunk/min_prec.c M /trunk/minmax.c M /trunk/modf.c M /trunk/mp_clz_tab.c M /trunk/mparam_h.in M /trunk/mpf2mpfr.h M /trunk/mpfr-gmp.c M /trunk/mpfr-gmp.h M /trunk/mpfr-impl.h M /trunk/mpfr-longlong.h M /trunk/mpfr-thread.h M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/mpn_exp.c M /trunk/mul.c M /trunk/mul_2exp.c M /trunk/mul_2si.c M /trunk/mul_2ui.c M /trunk/mul_d.c M /trunk/mul_ui.c M /trunk/mulders.c M /trunk/neg.c M /trunk/next.c M /trunk/out_str.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/powerof2.c M /trunk/print_raw.c M /trunk/print_rnd_mode.c M /trunk/printf.c M /trunk/rec_sqrt.c M /trunk/reldiff.c M /trunk/rem1.c M /trunk/rint.c M /trunk/root.c M /trunk/round_near_x.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/scale2.c M /trunk/sec.c M /trunk/sech.c M /trunk/set.c M /trunk/set_d.c M /trunk/set_d64.c M /trunk/set_dfl_prec.c M /trunk/set_exp.c M /trunk/set_f.c M /trunk/set_flt.c M /trunk/set_inf.c M /trunk/set_ld.c M /trunk/set_nan.c M /trunk/set_prc_raw.c M /trunk/set_prec.c M /trunk/set_q.c M /trunk/set_rnd.c M /trunk/set_si.c M /trunk/set_si_2exp.c M /trunk/set_sj.c M /trunk/set_str.c M /trunk/set_str_raw.c M /trunk/set_ui.c M /trunk/set_ui_2exp.c M /trunk/set_uj.c M /trunk/set_z.c M /trunk/set_zero.c M /trunk/setmax.c M /trunk/setmin.c M /trunk/setsign.c M /trunk/sgn.c M /trunk/si_op.c M /trunk/signbit.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sinh_cosh.c M /trunk/speed.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/sqrt_ui.c M /trunk/stack_interface.c M /trunk/strtofr.c M /trunk/sub.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/sub_d.c M /trunk/sub_ui.c M /trunk/subnormal.c M /trunk/sum.c M /trunk/swap.c M /trunk/tan.c M /trunk/tanh.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/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/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.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/teint.c M /trunk/tests/teq.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/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.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_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/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/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/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/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.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_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/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/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/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/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/tuneup.c M /trunk/uceil_exp2.c M /trunk/uceil_log2.c M /trunk/ufloor_log2.c M /trunk/ui_div.c M /trunk/ui_pow.c M /trunk/ui_pow_ui.c M /trunk/ui_sub.c M /trunk/urandom.c M /trunk/urandomb.c M /trunk/vasprintf.c M /trunk/version.c M /trunk/volatile.c M /trunk/yn.c M /trunk/zeta.c M /trunk/zeta_ui.c Copyright notice update: added 2010 with perl -pi -e 's/2009 Free Software/2009, 2010 Free Software/' **/*(^/) under zsh, reverting the ChangeLog file and the mbench directory. ------------------------------------------------------------------------ r6683 | vlefevre | 2010-01-20 11:35:49 +0000 (Wed, 20 Jan 2010) | 1 line Changed paths: M /trunk/tests tests: added turandom to the svn:ignore property. ------------------------------------------------------------------------ r6682 | vlefevre | 2010-01-20 11:33:30 +0000 (Wed, 20 Jan 2010) | 3 lines Changed paths: M /trunk/INSTALL INSTALL: updated paragraphs about the search paths (in particular, --with-gmp=/usr/local is no longer chosen as an example as it does not work as expected; a note has been added about that). ------------------------------------------------------------------------ r6681 | vlefevre | 2010-01-20 09:57:24 +0000 (Wed, 20 Jan 2010) | 1 line Changed paths: M /trunk/INSTALL INSTALL: rewrote a paragraph about search paths. ------------------------------------------------------------------------ r6680 | thevenyp | 2010-01-18 18:30:44 +0000 (Mon, 18 Jan 2010) | 1 line Changed paths: M /trunk/urandom.c [urandom.c] Fix case emin > 0. ------------------------------------------------------------------------ r6679 | zimmerma | 2010-01-18 15:28:50 +0000 (Mon, 18 Jan 2010) | 2 lines Changed paths: M /trunk/TODO [TODO] added more details for random distribution functions ------------------------------------------------------------------------ r6678 | zimmerma | 2010-01-18 14:30:15 +0000 (Mon, 18 Jan 2010) | 2 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c [tprintf.c, tfprintf.c] cleaned up previous commit ------------------------------------------------------------------------ r6677 | vlefevre | 2010-01-18 13:50:17 +0000 (Mon, 18 Jan 2010) | 2 lines Changed paths: M /trunk/tests/turandom.c tests/turandom.c: updated a test (if emin > 1 and rnd == MPFR_RNDN, then the result is necessarily 0). ------------------------------------------------------------------------ r6676 | vlefevre | 2010-01-18 13:39:17 +0000 (Mon, 18 Jan 2010) | 1 line Changed paths: M /trunk/tests/turandom.c tests/turandom.c: more tests in restricted exponent range. ------------------------------------------------------------------------ r6675 | vlefevre | 2010-01-18 13:27:04 +0000 (Mon, 18 Jan 2010) | 1 line Changed paths: M /trunk/urandom.c urandom.c: corrected a comment. ------------------------------------------------------------------------ r6674 | zimmerma | 2010-01-18 12:37:30 +0000 (Mon, 18 Jan 2010) | 3 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c [tprintf.c,tfprintf.c] print obtained chain in test #8 (https://sympa.inria.fr/sympa/arc/mpfr/2009-12/msg00035.html) ------------------------------------------------------------------------ r6673 | thevenyp | 2010-01-18 09:48:47 +0000 (Mon, 18 Jan 2010) | 1 line Changed paths: M /trunk/urandom.c [urandom.c] Fix bug in setting random exponent. ------------------------------------------------------------------------ r6672 | vlefevre | 2010-01-16 10:13:53 +0000 (Sat, 16 Jan 2010) | 1 line Changed paths: M /trunk/urandom.c urandom.c: added a FIXME comment. ------------------------------------------------------------------------ r6671 | vlefevre | 2010-01-15 17:11:08 +0000 (Fri, 15 Jan 2010) | 1 line Changed paths: M /trunk/urandom.c urandom.c: removed unused variable k; updated a comment. ------------------------------------------------------------------------ r6670 | thevenyp | 2010-01-15 16:38:11 +0000 (Fri, 15 Jan 2010) | 1 line Changed paths: M /trunk/urandom.c [urandom.c] Improve generation of random exponent. ------------------------------------------------------------------------ r6669 | thevenyp | 2010-01-15 16:36:42 +0000 (Fri, 15 Jan 2010) | 1 line Changed paths: M /trunk/urandom.c [urandom.c] Fix bug introduced in r6667. ------------------------------------------------------------------------ r6668 | zimmerma | 2010-01-15 15:17:18 +0000 (Fri, 15 Jan 2010) | 2 lines Changed paths: M /trunk/TODO [TODO] added item ------------------------------------------------------------------------ r6667 | thevenyp | 2010-01-15 14:25:06 +0000 (Fri, 15 Jan 2010) | 1 line Changed paths: M /trunk/urandom.c [urandom.c] Fix case nextabove(0) in reduced exponent range. ------------------------------------------------------------------------ r6666 | thevenyp | 2010-01-15 10:06:20 +0000 (Fri, 15 Jan 2010) | 1 line Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Change accumulation of ternary value in the loop, it was not portable in system with sign and magnitude representation for integers. ------------------------------------------------------------------------ r6665 | thevenyp | 2010-01-15 09:51:31 +0000 (Fri, 15 Jan 2010) | 1 line Changed paths: M /trunk/urandom.c [urandom.c] Move generation of a random rounding bit in a separate function. ------------------------------------------------------------------------ r6664 | thevenyp | 2010-01-15 09:49:14 +0000 (Fri, 15 Jan 2010) | 1 line Changed paths: M /trunk/urandom.c [urandom.c] Remove trailing whitespace. ------------------------------------------------------------------------ r6663 | thevenyp | 2010-01-15 09:32:43 +0000 (Fri, 15 Jan 2010) | 1 line Changed paths: M /trunk/urandom.c [urandom.c] Call mpfr_nextabove in maximum exponent range. ------------------------------------------------------------------------ r6662 | vlefevre | 2010-01-15 04:21:01 +0000 (Fri, 15 Jan 2010) | 1 line Changed paths: M /trunk/urandom.c urandom.c: added a FIXME so that it is not forgotten. ------------------------------------------------------------------------ r6661 | vlefevre | 2010-01-15 02:01:52 +0000 (Fri, 15 Jan 2010) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated the month. ------------------------------------------------------------------------ r6659 | vlefevre | 2010-01-15 01:57:05 +0000 (Fri, 15 Jan 2010) | 1 line Changed paths: M /trunk/mpfrlint mpfrlint: require bash. ------------------------------------------------------------------------ r6658 | vlefevre | 2010-01-14 16:03:37 +0000 (Thu, 14 Jan 2010) | 1 line Changed paths: M /trunk/urandom.c urandom.c: clean-up (avoid a useless goto). ------------------------------------------------------------------------ r6657 | vlefevre | 2010-01-14 15:22:37 +0000 (Thu, 14 Jan 2010) | 1 line Changed paths: M /trunk/README.dev README.dev: added a paragraph (use MPFR_ASSERTN, not printf + exit). ------------------------------------------------------------------------ r6656 | thevenyp | 2010-01-14 12:16:15 +0000 (Thu, 14 Jan 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Cosmetic change. ------------------------------------------------------------------------ r6655 | thevenyp | 2010-01-14 11:55:05 +0000 (Thu, 14 Jan 2010) | 3 lines Changed paths: M /trunk/mpfr.texi M /trunk/tests/turandom.c M /trunk/urandom.c [urandom.c, mpfr.texi] Change the behavior of mpfr_urandom to the usual mpfr function interface (wrt the ternary value and the out-of-range behavior). [tests/turandom.c] Check new behavior and add a test for the inclusion in [0, 1]. ------------------------------------------------------------------------ r6654 | thevenyp | 2010-01-13 18:12:54 +0000 (Wed, 13 Jan 2010) | 1 line Changed paths: M /trunk/Makefile.am M /trunk/NEWS M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/tests/Makefile.am A /trunk/tests/turandom.c (from /trunk/tests/trandom.c:6653) A /trunk/urandom.c (from /trunk/urandomb.c:6653) New function mpfr_urandom. ------------------------------------------------------------------------ r6652 | vlefevre | 2010-01-11 15:42:05 +0000 (Mon, 11 Jan 2010) | 1 line Changed paths: M /trunk/README.dev README.dev: added a note about patches and the autotools. ------------------------------------------------------------------------ r6650 | vlefevre | 2010-01-10 23:24:54 +0000 (Sun, 10 Jan 2010) | 1 line Changed paths: M /trunk/mpfrlint Added mpfrlint test for the required autoconf versions (see r6649). ------------------------------------------------------------------------ r6649 | zimmerma | 2010-01-10 10:27:09 +0000 (Sun, 10 Jan 2010) | 2 lines Changed paths: M /trunk/README.dev M /trunk/acinclude.m4 [README.dev] required version of autoconf did not agree with acinclude.m4 ------------------------------------------------------------------------ r6648 | vlefevre | 2010-01-08 21:44:07 +0000 (Fri, 08 Jan 2010) | 2 lines Changed paths: M /trunk/configure.in configure.in: replaced BITS_PER_MP_LIMB by GMP_NUMB_BITS (should have been done in r6645). ------------------------------------------------------------------------ r6647 | vlefevre | 2010-01-08 21:37:05 +0000 (Fri, 08 Jan 2010) | 1 line Changed paths: M /trunk/mpfrlint mpfrlint: check that GMP_LIMB_BITS isn't used. ------------------------------------------------------------------------ r6646 | vlefevre | 2010-01-08 21:36:26 +0000 (Fri, 08 Jan 2010) | 1 line Changed paths: M /trunk/add1.c M /trunk/add1sp.c M /trunk/add_ui.c M /trunk/agm.c M /trunk/algorithms.tex M /trunk/atan.c M /trunk/check.c M /trunk/cmp.c M /trunk/cmp2.c M /trunk/cmp_si.c M /trunk/cmp_ui.c M /trunk/configure.in M /trunk/div-short.c M /trunk/div.c M /trunk/div_ui.c M /trunk/eq.c M /trunk/exp.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/extract.c M /trunk/frac.c M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_f.c M /trunk/get_flt.c M /trunk/get_ld.c M /trunk/get_si.c M /trunk/get_sj.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/get_uj.c M /trunk/gmp_op.c M /trunk/init2.c M /trunk/int_ceil_log2.c M /trunk/isinteger.c M /trunk/lngamma.c M /trunk/log.c M /trunk/min_prec.c M /trunk/mpfr-gmp.h M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/mpn_exp.c M /trunk/mul.c M /trunk/mul_ui.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/powerof2.c M /trunk/print_raw.c M /trunk/rec_sqrt.c M /trunk/rint.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/set.c M /trunk/set_d.c M /trunk/set_d64.c M /trunk/set_f.c M /trunk/set_ld.c M /trunk/set_prc_raw.c M /trunk/set_prec.c M /trunk/set_q.c M /trunk/set_si_2exp.c M /trunk/set_ui_2exp.c M /trunk/set_uj.c M /trunk/set_z.c M /trunk/setmax.c M /trunk/setmin.c M /trunk/sin_cos.c M /trunk/speed.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/sqrt_ui.c M /trunk/stack_interface.c M /trunk/strtofr.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/sub_ui.c M /trunk/tests/mpfr-test.h M /trunk/tests/random2.c M /trunk/tests/tadd.c M /trunk/tests/tcan_round.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tests.c M /trunk/tests/tfprintf.c M /trunk/tests/tget_d.c M /trunk/tests/tget_f.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/tl2b.c M /trunk/tests/tremquo.c M /trunk/tests/tset_f.c M /trunk/tests/tsqrt.c M /trunk/tuneup.c M /trunk/ui_div.c M /trunk/ui_sub.c M /trunk/urandomb.c M /trunk/vasprintf.c M /trunk/zeta_ui.c Replaced GMP_LIMB_BITS by GMP_NUMB_BITS to use only one of these macros. ------------------------------------------------------------------------ r6645 | zimmerma | 2010-01-08 20:04:27 +0000 (Fri, 08 Jan 2010) | 4 lines Changed paths: M /trunk/configure.in [configure.in] put back test BITS_PER_MP_LIMB == BYTES_PER_MP_LIMB * CHAR_BIT (this is done only with --with-gmp-build, and BYTES_PER_MP_LIMB is defined in this case in gmp-impl.h, at least in GMP 5) ------------------------------------------------------------------------ r6644 | zimmerma | 2010-01-08 19:13:48 +0000 (Fri, 08 Jan 2010) | 4 lines Changed paths: M /trunk/add1.c M /trunk/add1sp.c M /trunk/add_ui.c M /trunk/agm.c M /trunk/algorithms.tex M /trunk/atan.c M /trunk/check.c M /trunk/cmp.c M /trunk/cmp2.c M /trunk/cmp_si.c M /trunk/cmp_ui.c M /trunk/configure.in M /trunk/div-short.c M /trunk/div.c M /trunk/div_ui.c M /trunk/eq.c M /trunk/exp.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/extract.c M /trunk/frac.c M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_f.c M /trunk/get_flt.c M /trunk/get_ld.c M /trunk/get_si.c M /trunk/get_sj.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/get_uj.c M /trunk/gmp_op.c M /trunk/init2.c M /trunk/int_ceil_log2.c M /trunk/isinteger.c M /trunk/lngamma.c M /trunk/log.c M /trunk/min_prec.c M /trunk/mpfr-gmp.h M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/mpn_exp.c M /trunk/mul.c M /trunk/mul_ui.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/powerof2.c M /trunk/print_raw.c M /trunk/rec_sqrt.c M /trunk/rint.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/set.c M /trunk/set_d.c M /trunk/set_d64.c M /trunk/set_f.c M /trunk/set_ld.c M /trunk/set_prc_raw.c M /trunk/set_prec.c M /trunk/set_q.c M /trunk/set_si_2exp.c M /trunk/set_ui_2exp.c M /trunk/set_uj.c M /trunk/set_z.c M /trunk/setmax.c M /trunk/setmin.c M /trunk/speed.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/sqrt_ui.c M /trunk/stack_interface.c M /trunk/strtofr.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/sub_ui.c M /trunk/tests/mpfr-test.h M /trunk/tests/random2.c M /trunk/tests/tadd.c M /trunk/tests/tcan_round.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tests.c M /trunk/tests/tfprintf.c M /trunk/tests/tget_d.c M /trunk/tests/tget_f.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/tl2b.c M /trunk/tests/tremquo.c M /trunk/tests/tset_f.c M /trunk/tests/tsqrt.c M /trunk/tuneup.c M /trunk/ui_div.c M /trunk/ui_sub.c M /trunk/urandomb.c M /trunk/vasprintf.c M /trunk/zeta_ui.c BITS_PER_MP_LIMB -> GMP_LIMB_BITS got rid of BYTES_PER_MP_LIMB in configure.in (no longer defined by GMP) Note[VL] (mpfr-impl.h): a mpn_sqr_n() macro is defined to use mpn_mul if it is not already defined (in gmp-impl.h from GMP 4.x). ------------------------------------------------------------------------ r6643 | vlefevre | 2009-12-23 19:10:15 +0000 (Wed, 23 Dec 2009) | 2 lines Changed paths: M /trunk/mbench/Makefile [mbench/Makefile] Patch from Patrick Pelissier to solve the -I problem with GCC. ------------------------------------------------------------------------ r6642 | vlefevre | 2009-12-21 00:44:35 +0000 (Mon, 21 Dec 2009) | 1 line Changed paths: M /trunk/mbench/Makefile [mbench/Makefile] Added a comment (warning about the use of -I). ------------------------------------------------------------------------ r6641 | zimmerma | 2009-12-20 10:26:22 +0000 (Sun, 20 Dec 2009) | 2 lines Changed paths: M /trunk/mbench/Makefile patch from Patrick Pelissier ------------------------------------------------------------------------ r6640 | zimmerma | 2009-12-18 14:57:19 +0000 (Fri, 18 Dec 2009) | 8 lines Changed paths: M /trunk/exp_2.c M /trunk/mparam_h.in M /trunk/scale2.c M /trunk/tuneup.c [scale2.c] added missing include (compilation with --with-gmp-build did fail) [exp_2.c] small improvements in Smith method: compute x^{2i} as (x^i)^2 instead of x^{i-1} * x. The error analysis is unchanged. [tuneup.c] fix for sin_cos threshold (we had a problem since mpfr_sin_cos was calling mpfr_cos, which was calling mpfr_sincos_fast in some cases [mparam_h.in] put new thresholds for Core 2 64-bit ------------------------------------------------------------------------ r6633 | zimmerma | 2009-12-11 09:41:47 +0000 (Fri, 11 Dec 2009) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] reversed order for case "quad, mais en little endian" for coherence with other cases ------------------------------------------------------------------------ r6632 | zimmerma | 2009-12-10 21:05:50 +0000 (Thu, 10 Dec 2009) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/mpfr-impl.h patch to recognize IEEE quad, little endian format for "long double" ------------------------------------------------------------------------ r6631 | zimmerma | 2009-12-10 15:43:28 +0000 (Thu, 10 Dec 2009) | 3 lines Changed paths: M /trunk/Makefile.am M /trunk/get_d.c M /trunk/get_flt.c M /trunk/mpfr-impl.h M /trunk/scale2.c [scale2.c] now mpfr_scale2 is included in mpfr-impl.h, instead of #including "scale2.c" twice (thus it was compiled twice) ------------------------------------------------------------------------ r6628 | vlefevre | 2009-12-07 11:53:04 +0000 (Mon, 07 Dec 2009) | 7 lines Changed paths: M /trunk/sin_cos.c sin_cos.c: in case of tiny inputs, keep the flags. In practice, this fixes the following bug in mpfr_sin_cos (shown by the latest additions to tsin_cos.c): if emin is the minimal exponent (MPFR_EMIN_MIN), the absolute value of the input is the minimum positive number and the rounding mode is toward 0 (or equivalent), then the underflow flag is dropped. The other exception cases (e.g., in case of reduced exponent range) are handled by mpfr_check_range(). ------------------------------------------------------------------------ r6627 | vlefevre | 2009-12-07 11:21:51 +0000 (Mon, 07 Dec 2009) | 1 line Changed paths: M /trunk/tests/tsin_cos.c tests/tsin_cos.c: in consistency(), better error message. ------------------------------------------------------------------------ r6626 | vlefevre | 2009-12-07 11:15:46 +0000 (Mon, 07 Dec 2009) | 1 line Changed paths: M /trunk/tests/tsin_cos.c tests/tsin_cos.c: in consistency(), improved testing on underflow case. ------------------------------------------------------------------------ r6625 | vlefevre | 2009-12-07 10:29:57 +0000 (Mon, 07 Dec 2009) | 1 line Changed paths: M /trunk/tests/tsin_cos.c tests/tsin_cos.c: in consistency(), added testing on underflow case. ------------------------------------------------------------------------ r6624 | vlefevre | 2009-12-07 10:22:33 +0000 (Mon, 07 Dec 2009) | 1 line Changed paths: M /trunk/tests/tsin_cos.c tests/tsin_cos.c: in consistency(), fixed flags testing. ------------------------------------------------------------------------ r6623 | vlefevre | 2009-12-07 10:16:17 +0000 (Mon, 07 Dec 2009) | 1 line Changed paths: M /trunk/tests/tsin_cos.c tests/tsin_cos.c: in consistency(), test also the flags. ------------------------------------------------------------------------ r6622 | vlefevre | 2009-12-07 10:10:13 +0000 (Mon, 07 Dec 2009) | 2 lines Changed paths: M /trunk/tests/tsin_cos.c tests/tsin_cos.c: in consistency(), test also the returned value (the one that gives inexact-related information). ------------------------------------------------------------------------ r6619 | zimmerma | 2009-11-30 15:12:30 +0000 (Mon, 30 Nov 2009) | 2 lines Changed paths: M /trunk/tests/tfits.c [tfits.c] converted to GNU coding style ------------------------------------------------------------------------ r6612 | vlefevre | 2009-11-30 11:57:07 +0000 (Mon, 30 Nov 2009) | 1 line Changed paths: M /trunk/README.dev README.dev: updated "To make a release". ------------------------------------------------------------------------ r6602 | vlefevre | 2009-11-30 02:17:23 +0000 (Mon, 30 Nov 2009) | 1 line Changed paths: M /trunk/uceil_exp2.c uceil_exp2.c: fixed indentation. ------------------------------------------------------------------------ r6599 | vlefevre | 2009-11-29 03:17:53 +0000 (Sun, 29 Nov 2009) | 2 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: got rid of broken code when _GMP_IEEE_FLOATS was defined (broken aliasing rules, yielding failures with GCC 4.5.0 20091119). ------------------------------------------------------------------------ r6598 | zimmerma | 2009-11-27 06:38:45 +0000 (Fri, 27 Nov 2009) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tset_ld.c] now perform tests even if old gcc bug is present ------------------------------------------------------------------------ r6597 | zimmerma | 2009-11-26 16:38:26 +0000 (Thu, 26 Nov 2009) | 4 lines Changed paths: M /trunk/tests/tget_d.c [tget_d.c] removed workaround for old gcc bug. Comment was: /* workaround for gcc bug on m68040-unknown-netbsd1.4.1, where DBL_MIN gives (1-2^(-52))/2^1022 */ ------------------------------------------------------------------------ r6596 | zimmerma | 2009-11-26 16:26:06 +0000 (Thu, 26 Nov 2009) | 9 lines Changed paths: M /trunk/tests/tadd.c M /trunk/tests/tmul.c [tadd.c, tmul.c] got rid of workaround for old gcc bug. Comment was: /* Parameter "z1" of check() used to be last in the argument list, but that tickled a bug in 32-bit sparc gcc 2.95.2. A "double" in that position is passed on the stack at an address which is 4mod8, but the generated code didn't take into account that alignment, resulting in bus errors. The easiest workaround is to move it to the start of the arg list (where it's passed in registers), this macro does that. FIXME: Change the actual calls to check(), rather than using a macro. */ ------------------------------------------------------------------------ r6595 | zimmerma | 2009-11-26 15:58:02 +0000 (Thu, 26 Nov 2009) | 3 lines Changed paths: M /trunk/strtofr.c [strtofr.c] removed patch for old FreeBsd/Alpha bug (http://www.freebsd.org/cgi/query-pr.cgi?pr=72024) ------------------------------------------------------------------------ r6594 | vlefevre | 2009-11-26 14:15:51 +0000 (Thu, 26 Nov 2009) | 2 lines Changed paths: M /trunk/pow_si.c [pow_si.c] Updated comment added in r4355 concerning a bug in Sun's compiler for Solaris/x86. ------------------------------------------------------------------------ r6593 | vlefevre | 2009-11-26 13:38:38 +0000 (Thu, 26 Nov 2009) | 1 line Changed paths: M /trunk/pow_si.c M /trunk/strtofr.c Updated comments concerning the old FreeBSD bug 72024 on LONG_MIN / 1. ------------------------------------------------------------------------ r6587 | vlefevre | 2009-11-25 12:16:22 +0000 (Wed, 25 Nov 2009) | 2 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c [tfprintf.c,tprintf.c] Fixed other types in function with variable arguments (even though there were no warnings on the tested machine). ------------------------------------------------------------------------ r6586 | vlefevre | 2009-11-25 12:00:43 +0000 (Wed, 25 Nov 2009) | 1 line Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c [tfprintf.c,tprintf.c] Fixed types in function with variable arguments. ------------------------------------------------------------------------ r6585 | zimmerma | 2009-11-25 11:03:20 +0000 (Wed, 25 Nov 2009) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c [tfprintf.c,tprintf.c] applied patch from Philippe Theveny [acinclude.m4] removed check for %zu, no longer needed ------------------------------------------------------------------------ r6582 | zimmerma | 2009-11-25 10:20:53 +0000 (Wed, 25 Nov 2009) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c [acinclude.m4] added test for %zu [tfprintf.c,tprintf.c] added #ifdef's for NPRINTF_ZU ------------------------------------------------------------------------ r6580 | vlefevre | 2009-11-25 10:16:29 +0000 (Wed, 25 Nov 2009) | 1 line Changed paths: M /trunk/configure.in configure.in: corrected a comment. ------------------------------------------------------------------------ r6577 | vlefevre | 2009-11-25 09:46:52 +0000 (Wed, 25 Nov 2009) | 1 line Changed paths: M /trunk/tests/tstckintc.c tests/tstckintc.c: fixed types for the printf %p format specifier. ------------------------------------------------------------------------ r6576 | zimmerma | 2009-11-25 08:33:58 +0000 (Wed, 25 Nov 2009) | 2 lines Changed paths: M /trunk/tests/tget_flt.c [tget_flt.c] replaced %a by %.8e ------------------------------------------------------------------------ r6575 | zimmerma | 2009-11-25 08:23:23 +0000 (Wed, 25 Nov 2009) | 2 lines Changed paths: M /trunk/tests/tget_d.c M /trunk/tests/tget_ld_2exp.c [tget_d.c,tget_ld_2exp.c] replaced %a and %La by %.16e and %.16Le ------------------------------------------------------------------------ r6574 | zimmerma | 2009-11-25 08:05:41 +0000 (Wed, 25 Nov 2009) | 2 lines Changed paths: M /trunk/tests/tget_d.c [tget_d.c] removed C99-specific instruction ------------------------------------------------------------------------ r6573 | zimmerma | 2009-11-25 07:51:47 +0000 (Wed, 25 Nov 2009) | 2 lines Changed paths: M /trunk/nightly-test [nightly-test] added -ansi -pedantic-errors ------------------------------------------------------------------------ r6571 | vlefevre | 2009-11-24 17:59:14 +0000 (Tue, 24 Nov 2009) | 1 line Changed paths: M /trunk/configure.in configure.in: completed the GMP CC/CFLAGS detection. ------------------------------------------------------------------------ r6570 | vlefevre | 2009-11-24 17:52:04 +0000 (Tue, 24 Nov 2009) | 2 lines Changed paths: M /trunk/configure.in configure.in: added a test to check for CC and CFLAGS in gmp.h only when the user doesn't redefine them and he isn't cross-compiling. ------------------------------------------------------------------------ r6569 | vlefevre | 2009-11-24 17:32:43 +0000 (Tue, 24 Nov 2009) | 1 line Changed paths: M /trunk/configure.in configure.in: improved the GMP CC/CFLAGS detection. ------------------------------------------------------------------------ r6568 | vlefevre | 2009-11-24 16:52:57 +0000 (Tue, 24 Nov 2009) | 1 line Changed paths: M /trunk/configure.in configure.in: try to fix the GMP CC/CFLAGS detection. Not finished. ------------------------------------------------------------------------ r6567 | vlefevre | 2009-11-24 15:48:35 +0000 (Tue, 24 Nov 2009) | 2 lines Changed paths: M /trunk/configure.in configure.in: replaced "test ... -o ..." (obsolete in POSIX) by "test ... || test ...". ------------------------------------------------------------------------ r6566 | vlefevre | 2009-11-24 15:44:44 +0000 (Tue, 24 Nov 2009) | 2 lines Changed paths: M /trunk/configure.in configure.in: replaced "test ... -a ..." (obsolete in POSIX) by "test ... && test ...". ------------------------------------------------------------------------ r6564 | vlefevre | 2009-11-24 15:23:00 +0000 (Tue, 24 Nov 2009) | 1 line Changed paths: M /trunk/INSTALL INSTALL: made instructions more clear. ------------------------------------------------------------------------ r6561 | vlefevre | 2009-11-23 13:55:54 +0000 (Mon, 23 Nov 2009) | 1 line Changed paths: M /trunk/README.dev README.dev: updated "To make a release". ------------------------------------------------------------------------ r6560 | vlefevre | 2009-11-23 13:51:21 +0000 (Mon, 23 Nov 2009) | 1 line Changed paths: M /trunk/README.dev README.dev: last things to do when making a release. ------------------------------------------------------------------------ r6557 | vlefevre | 2009-11-22 23:29:45 +0000 (Sun, 22 Nov 2009) | 10 lines Changed paths: M /trunk/sin_cos.c sin_cos.c: fixed a potential bug by changing a rnd_mode into MPFR_RNDZ in mpfr_can_round. Indeed, in r4574, the change from if (!mpfr_can_round (c, m, GMP_RNDZ, rnd_mode, MPFR_PREC (z))) to if (!mpfr_can_round (c, m, GMP_RNDN, rnd_mode, MPFR_PREC (z) + (rnd_mode == GMP_RNDN))) looks wrong to me: in RNDN, the extra bit due to rnd_mode == GMP_RNDN changes a RNDN worst case into a RNDZ worst case. Note: The second mpfr_can_round with the same problem has been fixed in r6513. ------------------------------------------------------------------------ r6556 | vlefevre | 2009-11-22 22:44:40 +0000 (Sun, 22 Nov 2009) | 2 lines Changed paths: M /trunk/tests/tsin_cos.c tests/tsin_cos.c: ported bug20091122 from the 2.4 branch to the trunk. But no failure in the trunk. ------------------------------------------------------------------------ r6550 | vlefevre | 2009-11-20 21:40:00 +0000 (Fri, 20 Nov 2009) | 1 line Changed paths: M /trunk/tests/tconst_pi.c tests/tconst_pi.c: fixed types for C++. ------------------------------------------------------------------------ r6545 | vlefevre | 2009-11-20 12:48:49 +0000 (Fri, 20 Nov 2009) | 2 lines Changed paths: M /trunk/mpfr.h M /trunk/mpfr.texi Changeset r6162 broke Solaris builds. Fixed that by no longer checking INTMAX_MAX and UINTMAX_MAX to detect use of <stdint.h> / <inttypes.h>. ------------------------------------------------------------------------ r6535 | zimmerma | 2009-11-01 21:22:16 +0000 (Sun, 01 Nov 2009) | 2 lines Changed paths: M /trunk/cos.c [cos.c] fixed case where reduced argument is zero ------------------------------------------------------------------------ r6534 | vlefevre | 2009-10-30 15:13:05 +0000 (Fri, 30 Oct 2009) | 2 lines Changed paths: M /trunk/tests/tcos.c tcos.c: added a testcase yielding an assertion failure (this bug makes tsin_cos fail). ------------------------------------------------------------------------ r6533 | vlefevre | 2009-10-30 15:05:28 +0000 (Fri, 30 Oct 2009) | 2 lines Changed paths: M /trunk/tests/tsin_cos.c tests/tsin_cos.c: ported the consistency test from the 2.4 branch. This yields an assertion failure (Linux/x86_64). ------------------------------------------------------------------------ r6527 | zimmerma | 2009-10-30 10:09:56 +0000 (Fri, 30 Oct 2009) | 3 lines Changed paths: M /trunk/TODO M /trunk/cache.c M /trunk/tests/tconst_pi.c [cache.c] fixed bug with directed rounding [tconst_pi.c] added test for bug with directed rounding ------------------------------------------------------------------------ r6524 | vlefevre | 2009-10-21 13:38:30 +0000 (Wed, 21 Oct 2009) | 1 line Changed paths: M /trunk/exceptions.c exceptions.c: improved a comment. ------------------------------------------------------------------------ r6523 | vlefevre | 2009-10-21 13:21:04 +0000 (Wed, 21 Oct 2009) | 1 line Changed paths: M /trunk/tests/tpow.c tpow.c: added an overflow test. ------------------------------------------------------------------------ r6522 | vlefevre | 2009-10-21 13:13:54 +0000 (Wed, 21 Oct 2009) | 1 line Changed paths: M /trunk/tests/tpow.c tpow.c: added an overflow test in RNDZ. ------------------------------------------------------------------------ r6521 | zimmerma | 2009-10-20 07:21:23 +0000 (Tue, 20 Oct 2009) | 2 lines Changed paths: M /trunk/TODO [TODO] added efficiency item ------------------------------------------------------------------------ r6520 | zimmerma | 2009-10-19 08:16:45 +0000 (Mon, 19 Oct 2009) | 3 lines Changed paths: M /trunk/lngamma.c [lngamma.c] fixed typo, added comments about argument reduction, and replaced code using doubles ------------------------------------------------------------------------ r6519 | zimmerma | 2009-10-19 06:57:02 +0000 (Mon, 19 Oct 2009) | 2 lines Changed paths: M /trunk/TODO [TODO] added efficiency item ------------------------------------------------------------------------ r6518 | zimmerma | 2009-10-15 11:19:20 +0000 (Thu, 15 Oct 2009) | 4 lines Changed paths: M /trunk/exp.c [exp.c] binary splitting is now used for prec >= MPFR_EXP_THRESHOLD (instead of prec > MPFR_EXP_THRESHOLD before). This is more consistent with the other thresholds. ------------------------------------------------------------------------ r6517 | zimmerma | 2009-10-15 11:07:26 +0000 (Thu, 15 Oct 2009) | 2 lines Changed paths: M /trunk/TODO [TODO] added efficiency item ------------------------------------------------------------------------ r6516 | zimmerma | 2009-10-15 10:30:55 +0000 (Thu, 15 Oct 2009) | 2 lines Changed paths: M /trunk/mparam_h.in [mparam_h.in] added /* bits */ for MPFR_EXP_THRESHOLD and MPFR_EXP_2_THRESHOLD ------------------------------------------------------------------------ r6514 | zimmerma | 2009-10-13 08:11:10 +0000 (Tue, 13 Oct 2009) | 2 lines Changed paths: M /trunk/tests/tsin_cos.c [tsin_cos.c] removed useless instruction, and added comments ------------------------------------------------------------------------ r6513 | zimmerma | 2009-10-13 06:57:06 +0000 (Tue, 13 Oct 2009) | 3 lines Changed paths: M /trunk/sin_cos.c M /trunk/tests/tsin_cos.c [sin_cos.c] fixed call to mpfr_can_round (rounding mode was wrong) [tsin_cos.c] added new test ------------------------------------------------------------------------ r6512 | zimmerma | 2009-10-13 06:37:15 +0000 (Tue, 13 Oct 2009) | 3 lines Changed paths: M /trunk/li2.c M /trunk/tests/tli2.c [li2.c] fixed bug when x is near 0 [tli2.c] added new test ------------------------------------------------------------------------ r6510 | vlefevre | 2009-10-09 07:29:54 +0000 (Fri, 09 Oct 2009) | 1 line Changed paths: M /trunk/tests/tsin_cos.c tests/tsin_cos.c: mp_rnd_t -> mpfr_rnd_t. ------------------------------------------------------------------------ r6509 | vlefevre | 2009-10-09 07:27:36 +0000 (Fri, 09 Oct 2009) | 2 lines Changed paths: M /trunk/tests/tsin_cos.c tests/tsin_cos.c: added a comment about bug20091008, corresponding to r6507; in fact, the bug concerns only the return value (see r6444). ------------------------------------------------------------------------ r6507 | zimmerma | 2009-10-08 07:51:49 +0000 (Thu, 08 Oct 2009) | 3 lines Changed paths: M /trunk/sin_cos.c M /trunk/tests/tsin_cos.c [sin_cos.c] fixed error analysis [tsin_cos.c] added new test ------------------------------------------------------------------------ r6506 | vlefevre | 2009-10-07 14:18:35 +0000 (Wed, 07 Oct 2009) | 1 line Changed paths: M /trunk/tests/tsin_cos.c tests/tsin_cos.c: mp_rnd_t -> mpfr_rnd_t. ------------------------------------------------------------------------ r6505 | vlefevre | 2009-10-07 12:06:35 +0000 (Wed, 07 Oct 2009) | 1 line Changed paths: M /trunk/tests/tsin_cos.c tests/tsin_cos.c: removed trailing spaces. ------------------------------------------------------------------------ r6504 | zimmerma | 2009-10-07 08:58:51 +0000 (Wed, 07 Oct 2009) | 2 lines Changed paths: M /trunk/tests/tsin_cos.c [tsin_cos.c] changed binary to hexadecimal string (was too long for C89) ------------------------------------------------------------------------ r6503 | zimmerma | 2009-10-07 07:05:13 +0000 (Wed, 07 Oct 2009) | 3 lines Changed paths: M /trunk/sin_cos.c M /trunk/tests/tsin_cos.c [sin_cos.c] fixed bug introduced in r6447 (some variables had their precision not updated in Ziv's loop) [tsin_cos.c] added a new test ------------------------------------------------------------------------ r6498 | vlefevre | 2009-09-29 14:44:22 +0000 (Tue, 29 Sep 2009) | 1 line Changed paths: M /trunk/FAQ.html FAQ update. ------------------------------------------------------------------------ r6497 | zimmerma | 2009-09-29 11:28:00 +0000 (Tue, 29 Sep 2009) | 3 lines Changed paths: M /trunk/mpfr.texi M /trunk/round_prec.c M /trunk/tests/tcan_round.c [mpfr.texi] added note about mpfr_can_round [tcan_round.c] added more tests ------------------------------------------------------------------------ r6490 | zimmerma | 2009-09-24 06:16:52 +0000 (Thu, 24 Sep 2009) | 4 lines Changed paths: M /trunk/README.dev [README.dev] added item for new releases: we should say if they are binary and/or API compatible with previous releases (we often forgot to say it in the past) ------------------------------------------------------------------------ r6489 | vlefevre | 2009-09-23 15:09:42 +0000 (Wed, 23 Sep 2009) | 1 line Changed paths: M /trunk/tests tests: added tget_flt to the svn:ignore property. ------------------------------------------------------------------------ r6488 | vlefevre | 2009-09-23 15:08:39 +0000 (Wed, 23 Sep 2009) | 1 line Changed paths: M /trunk/tests/Makefile.am tests/Makefile.am: added information about LOADLIBES. ------------------------------------------------------------------------ r6487 | zimmerma | 2009-09-23 13:32:35 +0000 (Wed, 23 Sep 2009) | 3 lines Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] put back LOADLIBES=... (enables to compile a program foo.c in the test directory by simply doing "make foo") ------------------------------------------------------------------------ r6486 | zimmerma | 2009-09-23 06:21:27 +0000 (Wed, 23 Sep 2009) | 2 lines Changed paths: M /trunk/atan.c [atan.c] updated the comments ------------------------------------------------------------------------ r6485 | vlefevre | 2009-09-22 15:56:16 +0000 (Tue, 22 Sep 2009) | 1 line Changed paths: M /trunk/atan.c atan.c: added a FIXME comment. ------------------------------------------------------------------------ r6484 | vlefevre | 2009-09-22 15:51:15 +0000 (Tue, 22 Sep 2009) | 1 line Changed paths: M /trunk/atan.c atan.c: added some assertions. ------------------------------------------------------------------------ r6483 | zimmerma | 2009-09-22 13:58:25 +0000 (Tue, 22 Sep 2009) | 2 lines Changed paths: M /trunk/NEWS M /trunk/algorithms.tex M /trunk/atan.c [atan.c] implemented argument reduction (cf error analysis in algorithms.tex) ------------------------------------------------------------------------ r6482 | zimmerma | 2009-09-21 07:34:07 +0000 (Mon, 21 Sep 2009) | 2 lines Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] removed LOADLIBES=... ------------------------------------------------------------------------ r6480 | vlefevre | 2009-09-20 23:31:37 +0000 (Sun, 20 Sep 2009) | 1 line Changed paths: M /trunk/mpfrlint mpfrlint: check that lines aren't too long. ------------------------------------------------------------------------ r6478 | vlefevre | 2009-09-20 19:07:03 +0000 (Sun, 20 Sep 2009) | 2 lines Changed paths: M /trunk/Makefile.am Makefile.am: line-wrap libmpfr_la_SOURCES (M-q with Emacs) for compatibility with some vendor grep. ------------------------------------------------------------------------ r6476 | vlefevre | 2009-09-20 19:00:11 +0000 (Sun, 20 Sep 2009) | 2 lines Changed paths: M /trunk/Makefile.am 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 ------------------------------------------------------------------------ r6475 | vlefevre | 2009-09-18 15:00:09 +0000 (Fri, 18 Sep 2009) | 1 line Changed paths: M /trunk/mpfr-impl.h M /trunk/sin_cos.c M /trunk/tests/tsin_cos.c mpfr-impl.h, sin_cos.c, tests/tsin_cos.c: mp_rnd_t -> mpfr_rnd_t. ------------------------------------------------------------------------ r6474 | vlefevre | 2009-09-18 14:55:57 +0000 (Fri, 18 Sep 2009) | 1 line Changed paths: M /trunk/sin_cos.c sin_cos.c: GMP_RNDx -> MPFR_RNDx. ------------------------------------------------------------------------ r6473 | vlefevre | 2009-09-18 14:54:38 +0000 (Fri, 18 Sep 2009) | 1 line Changed paths: M /trunk/sin_cos.c sin_cos.c: untabified. ------------------------------------------------------------------------ r6471 | vlefevre | 2009-09-18 14:45:47 +0000 (Fri, 18 Sep 2009) | 2 lines Changed paths: M /trunk/frac.c M /trunk/tests/tfrac.c frac.c, tests/tfrac.c: fixed underflow case in mpfr_frac and added testcase. ------------------------------------------------------------------------ r6470 | zimmerma | 2009-09-18 14:03:56 +0000 (Fri, 18 Sep 2009) | 2 lines Changed paths: M /trunk/acos.c M /trunk/atan.c [acos.c] initial working precision was too small ------------------------------------------------------------------------ r6469 | vlefevre | 2009-09-18 13:56:21 +0000 (Fri, 18 Sep 2009) | 3 lines Changed paths: M /trunk/modf.c modf.c: no longer extend the exponent range at all, since there are no intermediate computations (note: the mpfr_frac bug that has just been fixed affected this change in modf.c). ------------------------------------------------------------------------ r6467 | vlefevre | 2009-09-18 13:50:21 +0000 (Fri, 18 Sep 2009) | 2 lines Changed paths: M /trunk/frac.c [frac.c] Patch r6456 was incorrect: the problem with the non-significant bits had to be dealt with only in the case t = r. This is now fixed. ------------------------------------------------------------------------ r6466 | vlefevre | 2009-09-18 13:47:10 +0000 (Fri, 18 Sep 2009) | 2 lines Changed paths: M /trunk/tests/tfrac.c tests/tfrac.c: reverted overflow case test (was incorrect because the input was too large). ------------------------------------------------------------------------ r6465 | vlefevre | 2009-09-18 13:42:12 +0000 (Fri, 18 Sep 2009) | 1 line Changed paths: M /trunk/tests/tfrac.c tests/tfrac.c: also test the overflow case. ------------------------------------------------------------------------ r6464 | vlefevre | 2009-09-18 13:33:43 +0000 (Fri, 18 Sep 2009) | 1 line Changed paths: M /trunk/tests/tfrac.c tests/tfrac.c: more tests (case where the fractional part rounds to 1). ------------------------------------------------------------------------ r6463 | zimmerma | 2009-09-18 13:31:56 +0000 (Fri, 18 Sep 2009) | 2 lines Changed paths: M /trunk/NEWS [NEWS] added item ------------------------------------------------------------------------ r6461 | zimmerma | 2009-09-18 13:10:35 +0000 (Fri, 18 Sep 2009) | 2 lines Changed paths: M /trunk/cos.c M /trunk/mpfr-impl.h M /trunk/mpfr.texi M /trunk/sin.c M /trunk/sin_cos.c M /trunk/tuneup.c [sin.c,cos.c] use mpfr_sincos_fast when prec >= MPFR_SINCOS_THRESHOLD ------------------------------------------------------------------------ r6460 | vlefevre | 2009-09-18 12:03:38 +0000 (Fri, 18 Sep 2009) | 2 lines Changed paths: M /trunk/tests/tfrac.c tests/tfrac.c: more tests (there are also problems in rounding away from zero or equivalent). ------------------------------------------------------------------------ r6459 | zimmerma | 2009-09-18 11:59:23 +0000 (Fri, 18 Sep 2009) | 2 lines Changed paths: M /trunk/mparam_h.in M /trunk/sin_cos.c M /trunk/tests/tsin_cos.c M /trunk/tuneup.c added tuning mechanism for mpfr_sin_cos ------------------------------------------------------------------------ r6458 | vlefevre | 2009-09-18 11:46:28 +0000 (Fri, 18 Sep 2009) | 1 line Changed paths: M /trunk/tests/tfrac.c tests/tfrac.c: also test the ternary value (it is incorrect too). ------------------------------------------------------------------------ r6456 | vlefevre | 2009-09-18 11:27:48 +0000 (Fri, 18 Sep 2009) | 2 lines Changed paths: M /trunk/frac.c frac.c: fixed bug in mpfr_frac (the non-significant bits in low limb were not cleared). ------------------------------------------------------------------------ r6455 | vlefevre | 2009-09-18 11:19:11 +0000 (Fri, 18 Sep 2009) | 2 lines Changed paths: M /trunk/tests/tfrac.c tests/tfrac.c: improved the testcase so that it triggers the bug for both 32 bits and 64 bits. ------------------------------------------------------------------------ r6454 | vlefevre | 2009-09-18 11:16:00 +0000 (Fri, 18 Sep 2009) | 1 line Changed paths: M /trunk/tests/tfrac.c tests/tfrac.c: added a comment for latest testcase. ------------------------------------------------------------------------ r6453 | vlefevre | 2009-09-18 11:09:03 +0000 (Fri, 18 Sep 2009) | 1 line Changed paths: M /trunk/tests/tfrac.c tests/tfrac.c: added testcase for bug in mpfr_frac. ------------------------------------------------------------------------ r6451 | vlefevre | 2009-09-18 10:38:19 +0000 (Fri, 18 Sep 2009) | 1 line Changed paths: M /trunk/tests/tmodf.c tests/tmodf.c: typo in error message. ------------------------------------------------------------------------ r6450 | vlefevre | 2009-09-18 10:26:26 +0000 (Fri, 18 Sep 2009) | 3 lines Changed paths: M /trunk/modf.c modf.c: extending the exponent range in the first two cases is useless because there are no intermediate computations (just a mpfr_set). Let's do that only for the general case. ------------------------------------------------------------------------ r6449 | vlefevre | 2009-09-18 10:23:07 +0000 (Fri, 18 Sep 2009) | 1 line Changed paths: M /trunk/tests/tmodf.c tests/tmodf.c: added overflow tests. ------------------------------------------------------------------------ r6448 | vlefevre | 2009-09-18 09:27:10 +0000 (Fri, 18 Sep 2009) | 2 lines Changed paths: M /trunk/modf.c modf.c: corrected a comment (rounding can yield an overflow, but not an underflow). ------------------------------------------------------------------------ r6447 | zimmerma | 2009-09-18 09:08:01 +0000 (Fri, 18 Sep 2009) | 3 lines Changed paths: M /trunk/sin_cos.c M /trunk/tests/tsin_cos.c [sin_cos.c] added asymptotically fast code, with threshold currently hardcoded at 20000 bits, should be determined by tuneup.c ------------------------------------------------------------------------ r6446 | vlefevre | 2009-09-18 09:00:24 +0000 (Fri, 18 Sep 2009) | 1 line Changed paths: M /trunk/mpfr.texi M /trunk/tests/tget_flt.c Deleted trailing spaces. ------------------------------------------------------------------------ r6445 | zimmerma | 2009-09-18 08:13:43 +0000 (Fri, 18 Sep 2009) | 2 lines Changed paths: M /trunk/modf.c M /trunk/mpfr.texi M /trunk/tests/tmodf.c [modf.c] changed semantics of return value in accordance with mpfr_sin_cos ------------------------------------------------------------------------ r6444 | zimmerma | 2009-09-17 11:30:18 +0000 (Thu, 17 Sep 2009) | 4 lines Changed paths: M /trunk/mpfr.texi M /trunk/sin_cos.c M /trunk/sinh_cosh.c M /trunk/tests/taway.c M /trunk/tests/tsin_cos.c [sin_cos.c] more precise meaning of the return value [sinh_cosh.c] idem as above [taway.c] fixed to check the more precise return value ------------------------------------------------------------------------ r6443 | zimmerma | 2009-09-16 06:17:47 +0000 (Wed, 16 Sep 2009) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] t was not initialized in Newton's example ------------------------------------------------------------------------ r6442 | zimmerma | 2009-09-15 13:48:15 +0000 (Tue, 15 Sep 2009) | 5 lines Changed paths: M /trunk/Makefile.am D /trunk/get_binary32.c A /trunk/get_flt.c (from /trunk/get_binary32.c:6441) D /trunk/set_binary32.c A /trunk/set_flt.c (from /trunk/set_binary32.c:6441) M /trunk/tests/Makefile.am D /trunk/tests/tget_binary32.c A /trunk/tests/tget_flt.c (from /trunk/tests/tget_binary32.c:6441) changed _binary32 into _flt for file names too: svn mv get_binary32.c get_flt.c svn mv set_binary32.c set_flt.c svn mv tests/tget_binary32.c tests/tget_flt.c ------------------------------------------------------------------------ r6441 | zimmerma | 2009-09-15 13:42:49 +0000 (Tue, 15 Sep 2009) | 3 lines Changed paths: M /trunk/TODO M /trunk/mpfr.texi [TODO] removed an item [mpfr.texi] added an example for mpfr_prec_round ------------------------------------------------------------------------ r6440 | zimmerma | 2009-09-15 13:26:11 +0000 (Tue, 15 Sep 2009) | 2 lines Changed paths: M /trunk/NEWS [NEWS] added mpfr_set_flt and mpfr_get_flt ------------------------------------------------------------------------ r6439 | zimmerma | 2009-09-15 13:17:40 +0000 (Tue, 15 Sep 2009) | 3 lines Changed paths: M /trunk/get_binary32.c M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/set_binary32.c M /trunk/tests/tget_binary32.c changed suffix _binary32 -> _flt [get_binary32.c] fixed a bug in subnormal range ------------------------------------------------------------------------ r6437 | vlefevre | 2009-09-15 13:15:23 +0000 (Tue, 15 Sep 2009) | 1 line Changed paths: M /trunk/mpfrlint mpfrlint: bug fix. ------------------------------------------------------------------------ r6435 | vlefevre | 2009-09-15 13:13:28 +0000 (Tue, 15 Sep 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated the month. ------------------------------------------------------------------------ r6433 | vlefevre | 2009-09-15 13:12:38 +0000 (Tue, 15 Sep 2009) | 1 line Changed paths: M /trunk/mpfrlint mpfrlint: execute svn in C locale. ------------------------------------------------------------------------ r6431 | vlefevre | 2009-09-15 13:10:50 +0000 (Tue, 15 Sep 2009) | 1 line Changed paths: M /trunk/mpfrlint mpfrlint: check mpfr.texi's UPDATED-MONTH. ------------------------------------------------------------------------ r6428 | zimmerma | 2009-09-15 12:21:15 +0000 (Tue, 15 Sep 2009) | 2 lines Changed paths: M /trunk/tests/tget_d.c [tget_d.c] fixed FIXME ------------------------------------------------------------------------ r6427 | vlefevre | 2009-09-15 12:12:35 +0000 (Tue, 15 Sep 2009) | 1 line Changed paths: M /trunk/tests/tget_d.c tget_d.c code is C99-only (bug introduced in r6424). Please fix! ------------------------------------------------------------------------ r6426 | zimmerma | 2009-09-15 11:42:27 +0000 (Tue, 15 Sep 2009) | 2 lines Changed paths: A /trunk/get_binary32.c [get_binary32.c] also forgot in previous commit ------------------------------------------------------------------------ r6425 | zimmerma | 2009-09-15 11:41:52 +0000 (Tue, 15 Sep 2009) | 2 lines Changed paths: A /trunk/set_binary32.c [set_binary32.c] file forgot in previous commit ------------------------------------------------------------------------ r6424 | zimmerma | 2009-09-15 11:37:40 +0000 (Tue, 15 Sep 2009) | 3 lines Changed paths: M /trunk/Makefile.am M /trunk/get_d.c M /trunk/get_d64.c A /trunk/ieee_floats.h M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/mpfr.texi A /trunk/scale2.c M /trunk/tests/Makefile.am A /trunk/tests/tget_binary32.c M /trunk/tests/tget_d.c added new functions mpfr_set_binary32 and mpfr_get_binary32 fixed bug in mpfr_get_d and mpfr_get_decimal64 for RNDA ------------------------------------------------------------------------ r6423 | zimmerma | 2009-09-15 08:27:20 +0000 (Tue, 15 Sep 2009) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] improved description of mpfr_sum, and fixed typo ------------------------------------------------------------------------ r6421 | vlefevre | 2009-09-14 16:29:44 +0000 (Mon, 14 Sep 2009) | 1 line Changed paths: M /trunk/mpfr.h mpfr.h: added mpfr_regular_p macro. ------------------------------------------------------------------------ r6419 | zimmerma | 2009-09-14 14:12:03 +0000 (Mon, 14 Sep 2009) | 2 lines Changed paths: M /trunk/sum.c [sum.c] added reference ------------------------------------------------------------------------ r6418 | zimmerma | 2009-09-14 13:10:57 +0000 (Mon, 14 Sep 2009) | 3 lines Changed paths: M /trunk/get_ld.c M /trunk/tests/tget_ld_2exp.c [get_ld.c] fixed bug reported by Nelson Beebe https://sympa.inria.fr/sympa/arc/mpfr/2009-05/msg00061.html ------------------------------------------------------------------------ r6417 | zimmerma | 2009-09-14 09:29:55 +0000 (Mon, 14 Sep 2009) | 4 lines Changed paths: M /trunk/Makefile.am A /trunk/isregular.c M /trunk/iszero.c M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/tests/tisnan.c [isregular.c] new function mpfr_regular_p [iszero.c] fixed typo in comment [tests/tisnan.c] added tests for mpfr_regular_p ------------------------------------------------------------------------ r6415 | vlefevre | 2009-09-11 22:03:10 +0000 (Fri, 11 Sep 2009) | 6 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: changeset r6414 was incorrect, in particular under Linux (at least some platforms), where wint_t is an unsigned int, not an int. Instead, let's detect whether integer promotion will occur or not, even though the ISO C99 standard requires a wint_t type that doesn't yield an integer promotion (7.24.1#2), because mingw32 defines wint_t as an unsigned short (thus with integer promotion). ------------------------------------------------------------------------ r6414 | zimmerma | 2009-09-11 07:52:33 +0000 (Fri, 11 Sep 2009) | 3 lines Changed paths: M /trunk/vasprintf.c [vasprintf.c] https://sympa.inria.fr/sympa/arc/mpfr/2009-09/msg00012.html (changed __wint_type into int) ------------------------------------------------------------------------ r6413 | vlefevre | 2009-09-08 08:49:33 +0000 (Tue, 08 Sep 2009) | 1 line Changed paths: M /trunk/tests/tdigamma.c tests/tdigamma.c: added missing void in prototype. ------------------------------------------------------------------------ r6412 | zimmerma | 2009-09-08 08:35:04 +0000 (Tue, 08 Sep 2009) | 2 lines Changed paths: M /trunk/digamma.c M /trunk/tests/tdigamma.c [digamma.c] forgot to set sign for Psi(+Inf) ------------------------------------------------------------------------ r6411 | zimmerma | 2009-09-04 12:29:27 +0000 (Fri, 04 Sep 2009) | 3 lines Changed paths: M /trunk/Makefile.am M /trunk/bernoulli.c M /trunk/digamma.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/mpfr-impl.h changed function into bernoulli.c (which was static, included 3 times) into an internal function mpfr_bernoulli_internal ------------------------------------------------------------------------ r6410 | zimmerma | 2009-09-03 06:45:11 +0000 (Thu, 03 Sep 2009) | 2 lines Changed paths: M /trunk/TODO [TODO] removed psi(=digamma) ------------------------------------------------------------------------ r6409 | vlefevre | 2009-09-02 23:17:32 +0000 (Wed, 02 Sep 2009) | 2 lines Changed paths: M /trunk/tests/data/digamma tests/data/digamma: for the special values, use the new mode '*' (exact cases) instead of 'n'. ------------------------------------------------------------------------ r6408 | vlefevre | 2009-09-02 23:16:03 +0000 (Wed, 02 Sep 2009) | 2 lines Changed paths: M /trunk/tests/tests.c tests.c: added special support for exact cases in data_check (to test all the rounding modes and check the ternary value). ------------------------------------------------------------------------ r6407 | vlefevre | 2009-09-02 23:02:29 +0000 (Wed, 02 Sep 2009) | 1 line Changed paths: M /trunk/atan2.c M /trunk/div.c M /trunk/exp2.c M /trunk/gen_inverse.h M /trunk/get_str.c M /trunk/mpfr-impl.h M /trunk/mpfr-longlong.h M /trunk/mpn_exp.c M /trunk/pow.c M /trunk/pow_z.c M /trunk/rec_sqrt.c M /trunk/rint.c M /trunk/round_near_x.c M /trunk/strtofr.c M /trunk/sub.c M /trunk/sub1.c M /trunk/tests/tests.c M /trunk/tests/texp.c M /trunk/tests/tli2.c M /trunk/tests/tsqrt.c towards -> toward (consistency). ------------------------------------------------------------------------ r6404 | vlefevre | 2009-09-02 12:13:23 +0000 (Wed, 02 Sep 2009) | 1 line Changed paths: M /trunk/tests tests: added tdigamma to svn:ignore property. ------------------------------------------------------------------------ r6403 | vlefevre | 2009-09-02 12:11:05 +0000 (Wed, 02 Sep 2009) | 1 line Changed paths: M /trunk/digamma.c digamma.c: moved a comment. ------------------------------------------------------------------------ r6402 | zimmerma | 2009-09-02 12:08:05 +0000 (Wed, 02 Sep 2009) | 4 lines Changed paths: M /trunk/digamma.c M /trunk/tests/data/digamma M /trunk/tests/tests.c [digamma.c] fixed bug (emin/emax were not restored) [data/digamma] added special values [tests/tests.c] fix to allow putting nan in data/* files ------------------------------------------------------------------------ r6401 | zimmerma | 2009-09-02 11:56:48 +0000 (Wed, 02 Sep 2009) | 3 lines Changed paths: A /trunk/tests/data/digamma M /trunk/tests/tdigamma.c [data/digamma] unitary test file for mpfr_digamma [tdigamma.c] now use data/digamma ------------------------------------------------------------------------ r6400 | vlefevre | 2009-09-02 11:54:53 +0000 (Wed, 02 Sep 2009) | 1 line Changed paths: M /trunk/digamma.c Removed trailing whitespace. ------------------------------------------------------------------------ r6399 | zimmerma | 2009-09-02 11:39:14 +0000 (Wed, 02 Sep 2009) | 2 lines Changed paths: M /trunk/Makefile.am bernoulli.c goes into EXTRA_DIST ------------------------------------------------------------------------ r6398 | zimmerma | 2009-09-02 11:38:07 +0000 (Wed, 02 Sep 2009) | 4 lines Changed paths: M /trunk/Makefile.am M /trunk/NEWS M /trunk/algorithms.tex A /trunk/bernoulli.c A /trunk/digamma.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/tests/Makefile.am A /trunk/tests/tdigamma.c [digamma.c] new function mpfr_digamma [lngamma.c,li2.c] factored computation of Bernoulli numbers in new file bernoulli.c (also used by digamma.c) ------------------------------------------------------------------------ r6397 | zimmerma | 2009-08-27 09:27:10 +0000 (Thu, 27 Aug 2009) | 8 lines Changed paths: M /trunk/cbrt.c M /trunk/const_euler.c M /trunk/const_log2.c M /trunk/cos.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/get_z.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/pow.c M /trunk/rem1.c M /trunk/root.c M /trunk/tests/mpf_compat.h M /trunk/urandomb.c M /trunk/zeta_ui.c replaced obsolete GMP functions (suggested by Brian Gladman): 1. mpz_div_2exp ==> mpz_fdiv_q_2exp 2. mpz_div_ui ==> mpz_fdiv_q_ui 3. gmp_randinit (state, GMP_RAND_ALG_LC, 128) ==> gmp_randinit_lc_2exp_size (state, 128) (Didn't replace mpn_divrem by mpn_tdiv_qr since the parameters differ, and also for efficiency reasons.) ------------------------------------------------------------------------ r6396 | vlefevre | 2009-08-26 23:30:06 +0000 (Wed, 26 Aug 2009) | 1 line Changed paths: M /trunk/tests/tsprintf.c tsprintf.c: fixed locale_da_DK test. ------------------------------------------------------------------------ r6394 | zimmerma | 2009-08-26 20:13:50 +0000 (Wed, 26 Aug 2009) | 3 lines Changed paths: M /trunk/cot.c M /trunk/coth.c M /trunk/csc.c M /trunk/csch.c [csch.c,coth.c,csc.c,cot.c] fixed bug for tiny input and RNDA (result was rounded to zero instead of away) ------------------------------------------------------------------------ r6393 | vlefevre | 2009-08-26 17:01:54 +0000 (Wed, 26 Aug 2009) | 1 line Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: bug fix (uncommented an "exit(1);"). ------------------------------------------------------------------------ r6390 | zimmerma | 2009-08-26 15:28:25 +0000 (Wed, 26 Aug 2009) | 2 lines Changed paths: M /trunk/tests/tgeneric.c [tgeneric.c] revert previous change, bug is elsewhere ------------------------------------------------------------------------ r6389 | zimmerma | 2009-08-26 15:23:51 +0000 (Wed, 26 Aug 2009) | 3 lines Changed paths: M /trunk/tests/tgeneric.c [tgeneric.c] temporary fix in mpfr_can_round call (mpfr_can_round does not correctly handle MPFR_RNDA) ------------------------------------------------------------------------ r6381 | vlefevre | 2009-08-26 08:48:37 +0000 (Wed, 26 Aug 2009) | 5 lines Changed paths: M /trunk/set_ld.c set_ld.c: replaced a struct by a union. The struct was triggering the following warning with GCC 4.4: dereferencing type-punned pointer will break strict-aliasing rules (possibly due to possible memory alignment problems). The old code looked strange anyway and unions are exactly for such kind of things. ------------------------------------------------------------------------ r6380 | zimmerma | 2009-08-26 08:10:51 +0000 (Wed, 26 Aug 2009) | 2 lines Changed paths: M /trunk/tests/tset.c [tset.c] removed unused variables ------------------------------------------------------------------------ r6378 | vlefevre | 2009-08-25 12:23:42 +0000 (Tue, 25 Aug 2009) | 4 lines Changed paths: M /trunk/tests/tcmp_ld.c tcmp_ld.c: use "long double" constants. Note: this might solve the tcmp_ld failure reported on http://www.linuxquestions.org/questions/linux-from-scratch-13/mpfr-2.4.1-check-failures-in-lfs-6.5-rc2-746538/ (not tested). ------------------------------------------------------------------------ r6376 | vlefevre | 2009-08-24 13:21:03 +0000 (Mon, 24 Aug 2009) | 1 line Changed paths: M /trunk/NEWS NEWS: update (new function mpfr_set_zero, added in r6339). ------------------------------------------------------------------------ r6375 | vlefevre | 2009-08-24 13:01:15 +0000 (Mon, 24 Aug 2009) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: NaN has a sign bit (in its binary representation), but as a FP datum, it does not have a sign. ------------------------------------------------------------------------ r6374 | zimmerma | 2009-08-24 12:48:30 +0000 (Mon, 24 Aug 2009) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] added mention of unspecified NaN sign bit for mpfr_set_nan ------------------------------------------------------------------------ r6372 | vlefevre | 2009-08-21 21:58:15 +0000 (Fri, 21 Aug 2009) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: do not use @code for roundTiesToAway and binary64 as this is not code and the IEEE 754-2008 standard doesn't use special typography. ------------------------------------------------------------------------ r6369 | vlefevre | 2009-08-21 21:43:16 +0000 (Fri, 21 Aug 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: the sign bit of a NaN is unspecified. ------------------------------------------------------------------------ r6368 | vlefevre | 2009-08-18 15:51:08 +0000 (Tue, 18 Aug 2009) | 7 lines Changed paths: M /trunk/Makefile.am M /trunk/README A /trunk/examples A /trunk/examples/ReadMe A /trunk/examples/divworst.c A /trunk/examples/rndo-add.c A /trunk/examples/sample.c Add examples into $docdir (without using a subdir, as this would be a bit bloated just to add a few files). * Added "examples" directory with a ReadMe file and 3 examples. * Makefile.am: added files from the "examples" directory and changed dist_doc_DATA into nobase_dist_doc_DATA so that the "examples" directory is not stripped in the target directory $docdir. * README: added "examples/". ------------------------------------------------------------------------ r6367 | vlefevre | 2009-08-18 13:46:15 +0000 (Tue, 18 Aug 2009) | 1 line Changed paths: M /trunk/get_str.c get_str.c: corrected copyright notice, incorrectly modified in r6364. ------------------------------------------------------------------------ r6366 | thevenyp | 2009-08-12 14:30:48 +0000 (Wed, 12 Aug 2009) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: Fix typo. ------------------------------------------------------------------------ r6365 | thevenyp | 2009-08-12 14:10:33 +0000 (Wed, 12 Aug 2009) | 2 lines Changed paths: M /trunk/get_str.c get_str.c: Format a comment. ------------------------------------------------------------------------ r6364 | thevenyp | 2009-08-12 14:07:24 +0000 (Wed, 12 Aug 2009) | 4 lines Changed paths: M /trunk/get_str.c M /trunk/mpfr.texi M /trunk/tests/tget_str.c M /trunk/tests/tsprintf.c M /trunk/vasprintf.c get_str.c vasprintf.c: Add support for the rounding away from zero mode. mpfr.texi: MPFR_RNDA mode support in printf functions. tests/tsprintf.c tests/tget_str.c: Test MPFR_RNDA support. ------------------------------------------------------------------------ r6363 | vlefevre | 2009-08-06 00:21:17 +0000 (Thu, 06 Aug 2009) | 1 line Changed paths: M /trunk/NEWS NEWS: update. ------------------------------------------------------------------------ r6362 | vlefevre | 2009-08-06 00:18:37 +0000 (Thu, 06 Aug 2009) | 1 line Changed paths: M /trunk/Makefile.am M /trunk/mpfr.texi Install some documentation files. ------------------------------------------------------------------------ r6360 | vlefevre | 2009-08-05 11:39:30 +0000 (Wed, 05 Aug 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated section "Installing MPFR". ------------------------------------------------------------------------ r6358 | vlefevre | 2009-08-05 10:39:20 +0000 (Wed, 05 Aug 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: corrected a spelling mistake. ------------------------------------------------------------------------ r6356 | vlefevre | 2009-08-05 10:24:16 +0000 (Wed, 05 Aug 2009) | 4 lines Changed paths: M /trunk/Makefile.am M /trunk/configure.in Since GNU Automake 1.11 is available on too few platforms, removed its requirement (reverted to 1.10 requirement: 1.10.1 was needed only for dist-lzma, which has been removed). Instead, added hardcoded dist-xz support (tested with both Automake 1.10.2 and Automake 1.11). ------------------------------------------------------------------------ r6354 | vlefevre | 2009-08-04 00:55:30 +0000 (Tue, 04 Aug 2009) | 3 lines Changed paths: M /trunk/configure.in configure.in: replaced dist-lzma by dist-xz (the xz format is the successor of the lzma format); as a consequence, automake 1.11 is needed. ------------------------------------------------------------------------ r6353 | vlefevre | 2009-07-30 18:06:49 +0000 (Thu, 30 Jul 2009) | 2 lines Changed paths: M /trunk/Makefile.am M /trunk/tests/Makefile.am Makefile.am, tests/Makefile.am: added copyright notice (similar to the one of the generated Makefile.in file). ------------------------------------------------------------------------ r6352 | vlefevre | 2009-07-30 17:59:36 +0000 (Thu, 30 Jul 2009) | 3 lines Changed paths: M /trunk/COPYING M /trunk/README Since COPYING.LESSER makes a reference to the GPLv3, updated COPYING to the GPLv3. Autotools files are now distributed under the same license as MPFR (to avoid any reference to the GPLv2). ------------------------------------------------------------------------ r6351 | vlefevre | 2009-07-30 17:47:39 +0000 (Thu, 30 Jul 2009) | 2 lines Changed paths: M /trunk/BUGS A /trunk/COPYING.LESSER (from /trunk/COPYING.LIB:6350) D /trunk/COPYING.LIB M /trunk/FAQ.html M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/abort_prec_max.c M /trunk/acinclude.m4 M /trunk/acos.c M /trunk/acosh.c M /trunk/add.c M /trunk/add1.c M /trunk/add1sp.c M /trunk/add_d.c M /trunk/add_ui.c M /trunk/agm.c M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atan2.c M /trunk/atanh.c M /trunk/buildopt.c M /trunk/cache.c M /trunk/cbrt.c M /trunk/check.c M /trunk/clear.c M /trunk/clears.c M /trunk/cmp.c M /trunk/cmp2.c M /trunk/cmp_abs.c M /trunk/cmp_d.c M /trunk/cmp_ld.c M /trunk/cmp_si.c M /trunk/cmp_ui.c M /trunk/comparisons.c M /trunk/configure.in M /trunk/const_catalan.c M /trunk/const_euler.c M /trunk/const_log2.c M /trunk/const_pi.c M /trunk/constant.c M /trunk/copysign.c M /trunk/cos.c M /trunk/cosh.c M /trunk/cot.c M /trunk/coth.c M /trunk/csc.c M /trunk/csch.c M /trunk/d_div.c M /trunk/d_sub.c M /trunk/dim.c M /trunk/div.c M /trunk/div_2exp.c M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/div_d.c M /trunk/div_ui.c M /trunk/dump.c M /trunk/eint.c M /trunk/eq.c M /trunk/erf.c M /trunk/erfc.c M /trunk/exceptions.c M /trunk/exp.c M /trunk/exp10.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/extract.c M /trunk/factorial.c M /trunk/faq.xsl M /trunk/fits_intmax.c M /trunk/fits_s.h M /trunk/fits_sint.c M /trunk/fits_slong.c M /trunk/fits_sshort.c M /trunk/fits_u.h M /trunk/fits_uint.c M /trunk/fits_uintmax.c M /trunk/fits_ulong.c M /trunk/fits_ushort.c M /trunk/fma.c M /trunk/fms.c M /trunk/frac.c M /trunk/free_cache.c M /trunk/gamma.c M /trunk/gen_inverse.h M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_exp.c M /trunk/get_f.c M /trunk/get_ld.c M /trunk/get_patches.sh M /trunk/get_si.c M /trunk/get_sj.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/get_uj.c M /trunk/get_z.c M /trunk/get_z_exp.c M /trunk/gmp_op.c M /trunk/hypot.c M /trunk/init.c M /trunk/init2.c M /trunk/inits.c M /trunk/inits2.c M /trunk/inp_str.c M /trunk/int_ceil_log2.c M /trunk/isinf.c M /trunk/isinteger.c M /trunk/isnan.c M /trunk/isnum.c M /trunk/isqrt.c M /trunk/iszero.c M /trunk/jn.c M /trunk/jyn_asympt.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/log.c M /trunk/log10.c M /trunk/log1p.c M /trunk/log2.c M /trunk/logging.c M /trunk/mbench/Makefile M /trunk/mbench/generate.c M /trunk/mbench/mfv5-arprec.cc M /trunk/mbench/mfv5-cln.cc M /trunk/mbench/mfv5-crlibm.cc M /trunk/mbench/mfv5-libc.cc M /trunk/mbench/mfv5-lidia.cc M /trunk/mbench/mfv5-mpf.cc M /trunk/mbench/mfv5-mpfr.cc M /trunk/mbench/mfv5-ntl.cc M /trunk/mbench/mfv5-pari.cc M /trunk/mbench/mfv5-void.cc M /trunk/mbench/mfv5.cc M /trunk/mbench/mfv5.h M /trunk/mbench/mpfr-gfx.c M /trunk/mbench/mpfr-v4.c M /trunk/mbench/mpfr-v6.c M /trunk/mbench/timp.h M /trunk/min_prec.c M /trunk/minmax.c M /trunk/modf.c M /trunk/mp_clz_tab.c M /trunk/mparam_h.in M /trunk/mpf2mpfr.h M /trunk/mpfr-gmp.c M /trunk/mpfr-gmp.h M /trunk/mpfr-impl.h M /trunk/mpfr-thread.h M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/mpn_exp.c M /trunk/mul.c M /trunk/mul_2exp.c M /trunk/mul_2si.c M /trunk/mul_2ui.c M /trunk/mul_d.c M /trunk/mul_ui.c M /trunk/mulders.c M /trunk/neg.c M /trunk/next.c M /trunk/out_str.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/powerof2.c M /trunk/print_raw.c M /trunk/print_rnd_mode.c M /trunk/printf.c M /trunk/rec_sqrt.c M /trunk/reldiff.c M /trunk/rem1.c M /trunk/rint.c M /trunk/root.c M /trunk/round_near_x.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/sec.c M /trunk/sech.c M /trunk/set.c M /trunk/set_d.c M /trunk/set_d64.c M /trunk/set_dfl_prec.c M /trunk/set_exp.c M /trunk/set_f.c M /trunk/set_inf.c M /trunk/set_ld.c M /trunk/set_nan.c M /trunk/set_prc_raw.c M /trunk/set_prec.c M /trunk/set_q.c M /trunk/set_rnd.c M /trunk/set_si.c M /trunk/set_si_2exp.c M /trunk/set_sj.c M /trunk/set_str.c M /trunk/set_str_raw.c M /trunk/set_ui.c M /trunk/set_ui_2exp.c M /trunk/set_uj.c M /trunk/set_z.c M /trunk/set_zero.c M /trunk/setmax.c M /trunk/setmin.c M /trunk/setsign.c M /trunk/sgn.c M /trunk/si_op.c M /trunk/signbit.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sinh_cosh.c M /trunk/speed.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/sqrt_ui.c M /trunk/stack_interface.c M /trunk/strtofr.c M /trunk/sub.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/sub_d.c M /trunk/sub_ui.c M /trunk/subnormal.c M /trunk/sum.c M /trunk/swap.c M /trunk/tan.c M /trunk/tanh.c M /trunk/tests/cmp_str.c 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/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/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.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/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.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/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.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_ld_2exp.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/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/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/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/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.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_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/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/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/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.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/tuneup.c M /trunk/uceil_exp2.c M /trunk/uceil_log2.c M /trunk/ufloor_log2.c M /trunk/ui_div.c M /trunk/ui_pow.c M /trunk/ui_pow_ui.c M /trunk/ui_sub.c M /trunk/urandomb.c M /trunk/vasprintf.c M /trunk/version.c M /trunk/volatile.c M /trunk/yn.c M /trunk/zeta.c M /trunk/zeta_ui.c Renamed COPYING.LIB as COPYING.LESSER (GNU Coding Standards, #7.3) and updated all the references (except in ChangeLog). ------------------------------------------------------------------------ r6350 | vlefevre | 2009-07-30 17:38:46 +0000 (Thu, 30 Jul 2009) | 1 line Changed paths: M /trunk Added algorithms.fdb_latexmk to svn:ignore property. ------------------------------------------------------------------------ r6349 | thevenyp | 2009-07-30 16:30:24 +0000 (Thu, 30 Jul 2009) | 2 lines Changed paths: M /trunk/tests/tset.c tests/tset.c: With revision 6339, some tests were moved and added in the function check_special but this one was not called. ------------------------------------------------------------------------ r6348 | thevenyp | 2009-07-30 16:22:55 +0000 (Thu, 30 Jul 2009) | 2 lines Changed paths: M /trunk/tests/Makefile.am tests/Makefile.am: Strech check_PROGRAMS list to ease insertion of new tests. ------------------------------------------------------------------------ r6347 | thevenyp | 2009-07-30 16:03:04 +0000 (Thu, 30 Jul 2009) | 2 lines Changed paths: M /trunk/tests/Makefile.am Makefile.am: Sort tests in alphabetical order except the very first ones which are needed by the test suite itself. ------------------------------------------------------------------------ r6340 | thevenyp | 2009-07-20 14:40:40 +0000 (Mon, 20 Jul 2009) | 3 lines Changed paths: M /trunk/mpfr.texi M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/tests/tsprintf.c M /trunk/vasprintf.c vasprintf.c mpfr.texi: Change behavior with %Rf and an empty precision field. The default precision is now 6 with %Rf and %Rg. tests/tprintf.c tests/tfprintf.c tests/tsprintf.c: Change tests with empty precision field and %Rf. ------------------------------------------------------------------------ r6339 | thevenyp | 2009-07-20 09:22:08 +0000 (Mon, 20 Jul 2009) | 3 lines Changed paths: M /trunk/Makefile.am M /trunk/mpfr.h M /trunk/mpfr.texi A /trunk/set_zero.c M /trunk/tests/tset.c Makefile.am mpfr.h mpfr.texi set_zero.c: New function mpfr_set_zero. tests/tset.c: Replace all MPFR_ASSERTN with verbose message. Add tests for mpfr_set_zero. ------------------------------------------------------------------------ r6336 | zimmerma | 2009-07-15 00:30:44 +0000 (Wed, 15 Jul 2009) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] hint about patch command ------------------------------------------------------------------------ r6335 | zimmerma | 2009-07-14 08:37:32 +0000 (Tue, 14 Jul 2009) | 3 lines Changed paths: M /trunk/mpn_exp.c [mpn_exp.c] reverted previous change (MPN_ZERO is a macro for memset, which does not forbid zero size) ------------------------------------------------------------------------ r6334 | zimmerma | 2009-07-14 07:47:57 +0000 (Tue, 14 Jul 2009) | 2 lines Changed paths: M /trunk/coth.c M /trunk/tests/tcoth.c [coth.c, tcoth.c] fixed coth(+/0) which was wrong (reported by Christopher Creutzig) ------------------------------------------------------------------------ r6333 | zimmerma | 2009-07-14 07:39:38 +0000 (Tue, 14 Jul 2009) | 3 lines Changed paths: M /trunk/mpn_exp.c [mpn_exp.c] fixed bug reported by David Kirkby on Solaris (GMP compiled with Solaris compiler) ------------------------------------------------------------------------ r6330 | vlefevre | 2009-07-08 13:35:34 +0000 (Wed, 08 Jul 2009) | 1 line Changed paths: M /trunk/vasprintf.c vasprintf.c: typo in a comment. ------------------------------------------------------------------------ r6329 | thevenyp | 2009-07-08 13:24:46 +0000 (Wed, 08 Jul 2009) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: Fix bug with %Rf, non-zero precision and a value rounded up to the next power of ten. ------------------------------------------------------------------------ r6328 | vlefevre | 2009-07-08 10:44:31 +0000 (Wed, 08 Jul 2009) | 1 line Changed paths: M /trunk/vasprintf.c vasprintf.c: deleted trailing spaces. ------------------------------------------------------------------------ r6326 | vlefevre | 2009-07-08 10:42:02 +0000 (Wed, 08 Jul 2009) | 1 line Changed paths: M /trunk/tests/tsprintf.c tsprintf.c: added tests of some halfway cases. ------------------------------------------------------------------------ r6325 | thevenyp | 2009-07-08 09:46:52 +0000 (Wed, 08 Jul 2009) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: Fix bug in precision 0 with format %.0Rf (0.5 rounds to 0). ------------------------------------------------------------------------ r6322 | vlefevre | 2009-07-08 07:39:56 +0000 (Wed, 08 Jul 2009) | 1 line Changed paths: M /trunk/tests/tsprintf.c tsprintf.c: added a test that triggers an assertion failure. ------------------------------------------------------------------------ r6319 | vlefevre | 2009-07-08 07:17:20 +0000 (Wed, 08 Jul 2009) | 2 lines Changed paths: M /trunk/tests/tsprintf.c tsprintf.c: fixed a test and added more tests for %.0Rf with the even rounding rule (shows a bug added in the latest corrections). ------------------------------------------------------------------------ r6316 | vlefevre | 2009-07-07 08:18:45 +0000 (Tue, 07 Jul 2009) | 2 lines Changed paths: M /trunk/tests/tsprintf.c tsprintf.c: completed the test on emax (for %Ra and %Rb). Everything is OK. ------------------------------------------------------------------------ r6315 | vlefevre | 2009-07-07 07:55:06 +0000 (Tue, 07 Jul 2009) | 2 lines Changed paths: M /trunk/tests/tsprintf.c tsprintf.c: my test was incorrect (I forgot the R), sorry. Still completing it... ------------------------------------------------------------------------ r6314 | vlefevre | 2009-07-07 07:40:22 +0000 (Tue, 07 Jul 2009) | 1 line Changed paths: M /trunk/tests/tsprintf.c tsprintf.c: comment (so that the test can be ported to the 2.4 branch). ------------------------------------------------------------------------ r6313 | vlefevre | 2009-07-07 07:38:00 +0000 (Tue, 07 Jul 2009) | 2 lines Changed paths: M /trunk/tests/tsprintf.c tsprintf.c: started to write a test for emax, showing a bug (random output). ------------------------------------------------------------------------ r6311 | vlefevre | 2009-07-06 12:44:41 +0000 (Mon, 06 Jul 2009) | 1 line Changed paths: M /trunk/ChangeLog ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v". ------------------------------------------------------------------------ r6307 | vlefevre | 2009-07-06 11:17:09 +0000 (Mon, 06 Jul 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated the month. ------------------------------------------------------------------------ r6305 | vlefevre | 2009-07-06 11:15:38 +0000 (Mon, 06 Jul 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi consistency: @var{stdout} -> @code{stdout}. ------------------------------------------------------------------------ r6303 | vlefevre | 2009-07-06 11:04:50 +0000 (Mon, 06 Jul 2009) | 1 line Changed paths: M /trunk/vasprintf.c vasprintf.c: do not use a potential function call in SAFE_ABS macro. ------------------------------------------------------------------------ r6301 | thevenyp | 2009-07-06 08:36:59 +0000 (Mon, 06 Jul 2009) | 2 lines Changed paths: M /trunk/tests/tsprintf.c M /trunk/vasprintf.c vasprintf.c tests/tsprintf.c: deleted trailing spaces. ------------------------------------------------------------------------ r6298 | thevenyp | 2009-06-29 13:09:42 +0000 (Mon, 29 Jun 2009) | 3 lines Changed paths: M /trunk/tests/tsprintf.c M /trunk/vasprintf.c vasprintf.c: Fix bug when the value to be printed is rounded to the next power of ten with %Rf or %Rg (continuation of fix in r6278). tests/tsprintf.c: Add tests for rounding to next power of ten bug with %Rf or %Rg. ------------------------------------------------------------------------ r6297 | vlefevre | 2009-06-26 15:47:03 +0000 (Fri, 26 Jun 2009) | 1 line Changed paths: M /trunk/add1.c M /trunk/add1sp.c M /trunk/cmp2.c M /trunk/fma.c M /trunk/fms.c M /trunk/get_z_exp.c M /trunk/hypot.c M /trunk/mpn_exp.c M /trunk/round_prec.c M /trunk/strtofr.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/vasprintf.c mp_exp_unsigned_t -> mpfr_uexp_t (internal type only). ------------------------------------------------------------------------ r6296 | vlefevre | 2009-06-26 15:40:06 +0000 (Fri, 26 Jun 2009) | 1 line Changed paths: M /trunk/mpfrlint mpfrlint: check the use of the obsolete mp_rnd_t type. ------------------------------------------------------------------------ r6295 | vlefevre | 2009-06-26 15:35:01 +0000 (Fri, 26 Jun 2009) | 1 line Changed paths: M /trunk/NEWS M /trunk/README.dev M /trunk/TODO M /trunk/acos.c M /trunk/acosh.c M /trunk/add.c M /trunk/add1.c M /trunk/add1sp.c M /trunk/add_d.c M /trunk/add_ui.c M /trunk/agm.c M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atan2.c M /trunk/atanh.c M /trunk/cache.c M /trunk/cbrt.c M /trunk/const_catalan.c M /trunk/const_euler.c M /trunk/const_log2.c M /trunk/const_pi.c M /trunk/copysign.c M /trunk/cos.c M /trunk/cosh.c M /trunk/d_div.c M /trunk/d_sub.c M /trunk/dim.c M /trunk/div.c M /trunk/div_2exp.c M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/div_d.c M /trunk/div_ui.c M /trunk/eint.c M /trunk/erf.c M /trunk/erfc.c M /trunk/exceptions.c M /trunk/exp.c M /trunk/exp10.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/factorial.c M /trunk/fits_intmax.c M /trunk/fits_s.h M /trunk/fits_u.h M /trunk/fits_uintmax.c M /trunk/fma.c M /trunk/fms.c M /trunk/frac.c M /trunk/gamma.c M /trunk/gen_inverse.h M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_f.c M /trunk/get_ld.c M /trunk/get_si.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/get_z.c M /trunk/gmp_op.c M /trunk/hypot.c M /trunk/inp_str.c M /trunk/jn.c M /trunk/jyn_asympt.c M /trunk/lngamma.c M /trunk/log.c M /trunk/log10.c M /trunk/log1p.c M /trunk/log2.c M /trunk/minmax.c M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/mul.c M /trunk/mul_2exp.c M /trunk/mul_2si.c M /trunk/mul_2ui.c M /trunk/mul_d.c M /trunk/mul_ui.c M /trunk/neg.c M /trunk/out_str.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/print_rnd_mode.c M /trunk/rec_sqrt.c M /trunk/reldiff.c M /trunk/rem1.c M /trunk/root.c M /trunk/round_near_x.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/set.c M /trunk/set_d.c M /trunk/set_d64.c M /trunk/set_f.c M /trunk/set_ld.c M /trunk/set_q.c M /trunk/set_rnd.c M /trunk/set_si.c M /trunk/set_si_2exp.c M /trunk/set_sj.c M /trunk/set_str.c M /trunk/set_ui.c M /trunk/set_ui_2exp.c M /trunk/set_uj.c M /trunk/set_z.c M /trunk/setsign.c M /trunk/si_op.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sinh_cosh.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/sqrt_ui.c M /trunk/strtofr.c M /trunk/sub.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/sub_d.c M /trunk/sub_ui.c M /trunk/subnormal.c M /trunk/sum.c M /trunk/tan.c M /trunk/tanh.c M /trunk/tests/cmp_str.c M /trunk/tests/mpfr-test.h M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tasin.c M /trunk/tests/tatan.c M /trunk/tests/taway.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcmp.c M /trunk/tests/tcmpabs.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/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teq.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/tfma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.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_ld_2exp.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tgmpop.c M /trunk/tests/thypot.c M /trunk/tests/tinternals.c M /trunk/tests/tlgamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_ui.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/tprintf.c M /trunk/tests/trec_sqrt.c M /trunk/tests/trint.c M /trunk/tests/troot.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_f.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.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/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/ui_div.c M /trunk/ui_pow.c M /trunk/ui_pow_ui.c M /trunk/ui_sub.c M /trunk/vasprintf.c M /trunk/yn.c M /trunk/zeta.c M /trunk/zeta_ui.c mp_rnd_t -> mpfr_rnd_t ------------------------------------------------------------------------ r6294 | vlefevre | 2009-06-26 15:19:14 +0000 (Fri, 26 Jun 2009) | 1 line Changed paths: M /trunk/add.c M /trunk/agm.c M /trunk/div.c M /trunk/div_ui.c M /trunk/exceptions.c M /trunk/exp.c M /trunk/frac.c M /trunk/hypot.c M /trunk/inp_str.c M /trunk/mpfr-impl.h M /trunk/mul.c M /trunk/next.c M /trunk/pow_si.c M /trunk/rec_sqrt.c M /trunk/set_d.c M /trunk/set_f.c M /trunk/set_si_2exp.c M /trunk/set_ui_2exp.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/sub.c M /trunk/tests/random2.c M /trunk/tests/tadd.c M /trunk/tests/tdiv.c M /trunk/tests/tsqrt.c M /trunk/tests/tui_div.c M /trunk/urandomb.c Suppressed MPFR_CLEAR_FLAGS (no longer did anything). ------------------------------------------------------------------------ r6290 | vlefevre | 2009-06-23 02:17:04 +0000 (Tue, 23 Jun 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated the month. ------------------------------------------------------------------------ r6287 | vlefevre | 2009-06-23 02:06:27 +0000 (Tue, 23 Jun 2009) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: fixed description of mpfr_get_str (clash with variables, inconsistent cases in the info format). ------------------------------------------------------------------------ r6286 | vlefevre | 2009-06-23 01:56:01 +0000 (Tue, 23 Jun 2009) | 1 line Changed paths: M /trunk/get_str.c get_str.c: added a space. ------------------------------------------------------------------------ r6283 | vlefevre | 2009-06-21 20:54:34 +0000 (Sun, 21 Jun 2009) | 1 line Changed paths: M /trunk/vasprintf.c vasprintf.c: corrected comments. ------------------------------------------------------------------------ r6282 | thevenyp | 2009-06-19 19:55:18 +0000 (Fri, 19 Jun 2009) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: convert GMP_RNDx to MPFR_RNDx. ------------------------------------------------------------------------ r6280 | thevenyp | 2009-06-19 16:40:57 +0000 (Fri, 19 Jun 2009) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: Add brace to disambiguate nested if, and remove unused variable. ------------------------------------------------------------------------ r6279 | thevenyp | 2009-06-19 15:57:09 +0000 (Fri, 19 Jun 2009) | 2 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c tests/tfprintf.c tests/tprintf.c: Do not test very small values with %f. ------------------------------------------------------------------------ r6278 | thevenyp | 2009-06-19 15:55:57 +0000 (Fri, 19 Jun 2009) | 3 lines Changed paths: M /trunk/tests/tsprintf.c M /trunk/vasprintf.c vasprintf.c: Fix bug when the value to be printed is rounded to the next power of ten with %Rf or %Rg. tests/tsprintf.c: Add tests for rounding to next power of ten bug. ------------------------------------------------------------------------ r6277 | zimmerma | 2009-06-18 12:34:24 +0000 (Thu, 18 Jun 2009) | 2 lines Changed paths: M /trunk/TODO [TODO] added new functions to implement ------------------------------------------------------------------------ r6276 | thevenyp | 2009-06-16 11:14:48 +0000 (Tue, 16 Jun 2009) | 2 lines Changed paths: M /trunk/sinh_cosh.c sinh_cosh.c: precision of intermediate computation no more depends on precision of input variables. ------------------------------------------------------------------------ r6275 | vlefevre | 2009-06-15 01:58:34 +0000 (Mon, 15 Jun 2009) | 2 lines Changed paths: M /trunk/mpfr.h mpfr.h: new MPFR_VALUE_OF macro, now used by mpfr_get_prec and mpfr_get_exp macros (this is cleaner than the old hack). ------------------------------------------------------------------------ r6274 | vlefevre | 2009-06-14 11:57:18 +0000 (Sun, 14 Jun 2009) | 5 lines Changed paths: M /trunk/acinclude.m4 acinclude.m4: Make sure results of calculations on constants used with the fesetround() test are not precomputed by GCC (occurs on MIPS). Patch from Maciej W. Rozycki. https://sympa.inria.fr/sympa/arc/mpfr/2009-06/msg00036.html http://article.gmane.org/gmane.comp.lib.mpfr.general/174 ------------------------------------------------------------------------ r6272 | zimmerma | 2009-06-13 02:00:58 +0000 (Sat, 13 Jun 2009) | 2 lines Changed paths: M /trunk/algorithms.tex [algorithms.tex] bounds for get_str were checked by Mark Dickinson ------------------------------------------------------------------------ r6271 | zimmerma | 2009-06-12 04:25:44 +0000 (Fri, 12 Jun 2009) | 2 lines Changed paths: M /trunk/algorithms.tex [algorithms.tex] fixed typo ------------------------------------------------------------------------ r6270 | zimmerma | 2009-06-12 04:17:46 +0000 (Fri, 12 Jun 2009) | 4 lines Changed paths: M /trunk/algorithms.tex M /trunk/mpfr.texi [algorithms.tex] fixed and completed up to b=62 table of bounds for get_str [mpfr.texi] fixed description of case n=0 for get_str (case of powers of two bases was not coherent with the code) ------------------------------------------------------------------------ r6269 | zimmerma | 2009-06-10 18:52:10 +0000 (Wed, 10 Jun 2009) | 3 lines Changed paths: M /trunk/algorithms.tex M /trunk/get_str.c M /trunk/mpfr.texi [algorithms.tex] analyzed precisely the cases where the value is m+1 instead of m ------------------------------------------------------------------------ r6268 | vlefevre | 2009-06-10 05:21:05 +0000 (Wed, 10 Jun 2009) | 11 lines Changed paths: M /trunk/acinclude.m4 acinclude.m4: reverted incorrect patch r6267 that makes the test no longer work on x86 (with traditional FPU, no SSE), where one should get checking for gcc float-conversion bug... yes, use -ffloat-store instead of checking for gcc float-conversion bug... no Indeed the "volatile" has the effect to have all the intermediate results x stored into memory, i.e. it is more or less equivalent to the -ffloat-store option, so that it does not allow one to test whether -ffloat-store is needed or not (which is the goal of this test). ------------------------------------------------------------------------ r6267 | zimmerma | 2009-06-09 22:02:10 +0000 (Tue, 09 Jun 2009) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] patch from Maciej W. Rozycki on mpfr mailing-list, 9 Jun 2009 ------------------------------------------------------------------------ r6266 | zimmerma | 2009-06-09 18:42:04 +0000 (Tue, 09 Jun 2009) | 3 lines Changed paths: M /trunk/tests/data/j0 M /trunk/tests/data/j1 M /trunk/tests/data/y0 M /trunk/tests/data/y1 added more test cases for the Bessel functions (from John Harrison paper at Arith19) ------------------------------------------------------------------------ r6265 | thevenyp | 2009-06-04 17:15:24 +0000 (Thu, 04 Jun 2009) | 3 lines Changed paths: M /trunk/tests/tsprintf.c M /trunk/vasprintf.c vasprintf.c: Binary output with no digit after the decimal point is now supported. Fix bug when the binary or hexadecimal output value is rounded to the next power of the base. This also change outputs like 0xf.f with format string "%.0Ra" from 8p+1 to 1p+4 (as does gnu libc's printf). tests/tsprintf.c: add check for rounding to the next base power and fix some test value with %.0Ra (now output 1p+4 instead of 8p+3). ------------------------------------------------------------------------ r6264 | thevenyp | 2009-06-03 09:01:22 +0000 (Wed, 03 Jun 2009) | 2 lines Changed paths: M /trunk/mpfr-longlong.h mpfr-longlong.h: Update to newer GMP version (changeset 12418:12a1d0bf21f0 Sun Mar 01 23:47:31 2009 +0100), merging modifications from r4657. ------------------------------------------------------------------------ r6263 | vlefevre | 2009-05-29 13:53:06 +0000 (Fri, 29 May 2009) | 1 line Changed paths: M /trunk/vasprintf.c vasprintf.c: do not use GMP's namespace for identifiers defined in MPFR. ------------------------------------------------------------------------ r6261 | vlefevre | 2009-05-29 13:05:24 +0000 (Fri, 29 May 2009) | 1 line Changed paths: M /trunk/README.dev README.dev: added: do not use the GMP namespaces... ------------------------------------------------------------------------ r6259 | vlefevre | 2009-05-29 12:27:38 +0000 (Fri, 29 May 2009) | 1 line Changed paths: M /trunk/mpfr.h mpfr.h: rewrote a comment. ------------------------------------------------------------------------ r6258 | thevenyp | 2009-05-29 07:37:23 +0000 (Fri, 29 May 2009) | 3 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/vasprintf.c vasprintf.c: Fix bug, "%%" was not correctly displayed when used alone or before a mpfr_t output. tests/tfprintf.c tests/tprintf.c: Fix expected values for tests with "%%". ------------------------------------------------------------------------ r6257 | thevenyp | 2009-05-29 06:56:02 +0000 (Fri, 29 May 2009) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: Restate subsection Formatted Output Functions/Format String. ------------------------------------------------------------------------ r6256 | thevenyp | 2009-05-28 07:33:43 +0000 (Thu, 28 May 2009) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: details on use of 'P' type in mpfr_printf. ------------------------------------------------------------------------ r6252 | thevenyp | 2009-05-27 14:59:54 +0000 (Wed, 27 May 2009) | 2 lines Changed paths: M /trunk/NEWS NEWS: remind bug fixes since version 2.4.0. ------------------------------------------------------------------------ r6248 | thevenyp | 2009-05-27 13:17:03 +0000 (Wed, 27 May 2009) | 2 lines Changed paths: M /trunk/set_d64.c set_d64.c: Partial revert of r6190 to fix problem in a simpler way: the decimal digits can be stored in array of char (no need to be unsigned). ------------------------------------------------------------------------ r6245 | vlefevre | 2009-05-27 02:26:50 +0000 (Wed, 27 May 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated the month. ------------------------------------------------------------------------ r6241 | vlefevre | 2009-05-27 02:20:51 +0000 (Wed, 27 May 2009) | 1 line Changed paths: M /trunk/tests/tfmod.c tests/tfmod.c: deleted trailing whitespace. ------------------------------------------------------------------------ r6240 | thevenyp | 2009-05-22 10:44:03 +0000 (Fri, 22 May 2009) | 2 lines Changed paths: M /trunk/tests/tatan.c tests/tatan.c: Add test triggering underflow (test coverage is now 100%). ------------------------------------------------------------------------ r6237 | vlefevre | 2009-05-20 21:54:03 +0000 (Wed, 20 May 2009) | 3 lines Changed paths: M /trunk/tests/tgeneric.c tests/tgeneric.c: for the second computation, increase the precision of the inputs in order to trigger the mpfr_fmod bug fixed in r6230 (and potentially other bugs). Thanks to Eric Veach for the idea. ------------------------------------------------------------------------ r6236 | vlefevre | 2009-05-20 21:34:52 +0000 (Wed, 20 May 2009) | 1 line Changed paths: M /trunk/tests Added tbuildopt to svn:ignore property of tests. ------------------------------------------------------------------------ r6234 | thevenyp | 2009-05-20 15:28:07 +0000 (Wed, 20 May 2009) | 2 lines Changed paths: M /trunk/tests/tfmod.c tests/tfmod.c: complete tests with special values. ------------------------------------------------------------------------ r6233 | thevenyp | 2009-05-20 15:26:47 +0000 (Wed, 20 May 2009) | 2 lines Changed paths: M /trunk/tests/tfmod.c tests/tfmod.c: code simplification + check ternary value too. ------------------------------------------------------------------------ r6232 | vlefevre | 2009-05-20 10:34:33 +0000 (Wed, 20 May 2009) | 1 line Changed paths: M /trunk/tests/tfmod.c tests/tfmod.c: replaced NULL by (mpfr_ptr) 0 in mpfr_inits2/mpfr_clears. ------------------------------------------------------------------------ r6231 | vlefevre | 2009-05-20 10:32:07 +0000 (Wed, 20 May 2009) | 3 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tfmod.c tests/mpfr-test.h: added mpfr_cmp_ui0 macro (check that x is not a NaN). tests/tfmod.c (bug20090519): check that the results are not NaN's and replaced GMP_RNDN by MPFR_RNDN. ------------------------------------------------------------------------ r6230 | zimmerma | 2009-05-20 10:17:17 +0000 (Wed, 20 May 2009) | 3 lines Changed paths: M /trunk/rem1.c M /trunk/tests/tfmod.c [tests/tfmod.c] added testcase for bug reported by Eric Veach [rem1.c] fixed bug reported by Eric Veach ------------------------------------------------------------------------ r6229 | zimmerma | 2009-05-19 08:20:15 +0000 (Tue, 19 May 2009) | 2 lines Changed paths: M /trunk/TODO [TODO] added one item ------------------------------------------------------------------------ r6220 | lfousse | 2009-05-13 20:33:03 +0000 (Wed, 13 May 2009) | 2 lines Changed paths: M /trunk/mpfr.texi Clarify the fact that mpfr_sum guarantees correct rounding. ------------------------------------------------------------------------ r6211 | vlefevre | 2009-05-13 15:40:36 +0000 (Wed, 13 May 2009) | 1 line Changed paths: M /trunk/mpfr.h mpfr.h: updated a comment. ------------------------------------------------------------------------ r6210 | thevenyp | 2009-05-13 15:37:35 +0000 (Wed, 13 May 2009) | 3 lines Changed paths: M /trunk/mpfr.h mpfr.h: Add a warning comment (removed in r6026). [merge -c 6209 from branch 2.4] ------------------------------------------------------------------------ r6196 | vlefevre | 2009-05-13 00:02:10 +0000 (Wed, 13 May 2009) | 2 lines Changed paths: M /trunk/fms.c fms.c: improve the performance of memory allocations in small precision (almost identical to changeset 6195 for fma.c). ------------------------------------------------------------------------ r6195 | vlefevre | 2009-05-12 23:54:31 +0000 (Tue, 12 May 2009) | 2 lines Changed paths: M /trunk/fma.c fma.c: patch by Patrick Pélissier to improve the performance of memory allocations in small precision. ------------------------------------------------------------------------ r6192 | thevenyp | 2009-05-05 17:13:37 +0000 (Tue, 05 May 2009) | 3 lines Changed paths: M /trunk/algorithms.tex M /trunk/dump.c M /trunk/get_d64.c M /trunk/get_str.c M /trunk/mpfr-impl.h M /trunk/out_str.c M /trunk/printf.c M /trunk/set_d.c M /trunk/strtofr.c M /trunk/swap.c M /trunk/tests/tests.c M /trunk/tests/tget_str.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow_all.c M /trunk/tests/trint.c M /trunk/tests/tset_str.c M /trunk/tests/tsin.c M /trunk/tests/tsprintf.c M /trunk/tests/tstckintc.c M /trunk/tests/tstrtofr.c M /trunk/tests/tversion.c M /trunk/vasprintf.c Put '#include <string.h>' in mpfr-impl.h, remove it elsewhere. Other cleanup of header inclusion. Other change (by mistake): corrections in algorithms.tex ------------------------------------------------------------------------ r6191 | vlefevre | 2009-05-05 15:42:32 +0000 (Tue, 05 May 2009) | 1 line Changed paths: M /trunk/NEWS NEWS: corrections / limit to 80 characters per line. ------------------------------------------------------------------------ r6190 | thevenyp | 2009-05-05 14:37:42 +0000 (Tue, 05 May 2009) | 2 lines Changed paths: M /trunk/get_d64.c M /trunk/set_d64.c get_d64.c set_d64.c: Fix types. ------------------------------------------------------------------------ r6189 | thevenyp | 2009-05-05 14:34:41 +0000 (Tue, 05 May 2009) | 2 lines Changed paths: M /trunk/printf.c M /trunk/tests/tpow_all.c printf.c tests/tpow_all.c: <string.h> is not automatically included when compiling with --with-gmp-build option. ------------------------------------------------------------------------ r6188 | thevenyp | 2009-05-05 14:06:43 +0000 (Tue, 05 May 2009) | 3 lines Changed paths: M /trunk/Makefile.am M /trunk/NEWS A /trunk/buildopt.c M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/tests/Makefile.am A /trunk/tests/tbuildopt.c NEWS Makefile.am mpfr.h mpfr.texi buildopt.c: New functions mpfr_buildopt_tls_p and mpfr_buildopt_decimal_p. tests/Makefile.am tests/tbuildopt.c: Add tests for mpfr_buildopt_tls_p and mpfr_buildopt_decimal_p. ------------------------------------------------------------------------ r6187 | vlefevre | 2009-05-05 13:55:21 +0000 (Tue, 05 May 2009) | 1 line Changed paths: M /trunk/atan.c atan.c: added comments after checking r6186. ------------------------------------------------------------------------ r6186 | thevenyp | 2009-05-05 10:07:47 +0000 (Tue, 05 May 2009) | 3 lines Changed paths: M /trunk/atan.c M /trunk/tests/tatan.c atan.c: expand exponent range when computing arctan(Inf) and arctan(+-1). tests/tatan.c: Check underflow of arctan(Inf) and arctan(1) with reduced exponent range. ------------------------------------------------------------------------ r6185 | vlefevre | 2009-05-04 16:27:56 +0000 (Mon, 04 May 2009) | 1 line Changed paths: M /trunk/tests/tatan.c tests/tatan.c: replaced GMP_RNDN by MPFR_RNDN. ------------------------------------------------------------------------ r6182 | vlefevre | 2009-04-29 16:19:26 +0000 (Wed, 29 Apr 2009) | 1 line Changed paths: M /trunk/INSTALL M /trunk/tests/tget_f.c Removed trailing spaces. ------------------------------------------------------------------------ r6181 | zimmerma | 2009-04-29 16:07:29 +0000 (Wed, 29 Apr 2009) | 2 lines Changed paths: M /trunk/atan.c [atan.c] fixed bug when x is very near but differs from 1 ------------------------------------------------------------------------ r6180 | vlefevre | 2009-04-29 15:41:23 +0000 (Wed, 29 Apr 2009) | 2 lines Changed paths: M /trunk/tests/tatan.c tests/tatan.c: added testcase for bug found by Christopher Creutzig (atan2_different_prec). ------------------------------------------------------------------------ r6177 | vlefevre | 2009-04-22 12:46:41 +0000 (Wed, 22 Apr 2009) | 2 lines Changed paths: M /trunk/tests/tests.c tests/tests.c (data_check): try to open the data file first from the build directory, then from the source directory. ------------------------------------------------------------------------ r6176 | vlefevre | 2009-04-22 12:00:23 +0000 (Wed, 22 Apr 2009) | 4 lines Changed paths: M /trunk/init2.c init2.c: check that mp_bits_per_limb == BITS_PER_MP_LIMB (useful in case GMP is upgraded with a different ABI, e.g. 32 vs mode32 on PowerPC 64). Without such a check, MPFR can give incorrect results if the ABI's don't match. ------------------------------------------------------------------------ r6175 | vlefevre | 2009-04-22 08:33:57 +0000 (Wed, 22 Apr 2009) | 2 lines Changed paths: M /trunk/tests/Makefile.am M /trunk/tests/tmul.c Improved fix for problem dealt with in r6174: use function src_fopen() (from tests.c) instead of a macro MPFR_SRCDIR. ------------------------------------------------------------------------ r6174 | vlefevre | 2009-04-22 08:13:40 +0000 (Wed, 22 Apr 2009) | 10 lines Changed paths: M /trunk/tests/Makefile.am M /trunk/tests/tmul.c Fixed problem when the srcdir value contains a word that is #define'd by the C implementation (test failure) or a comma (worse, the build of the tests terminates with an error). This can happen only when objdir and srcdir are different directories. * tests/Makefile.am (tmul_CPPFLAGS): Put srcdir pathname in quotes. * tests/tmul.c (MPFR_SRCDIR): Make the default a string. (QUOTE, NAME): Delete. (check_regression): Don't QUOTE MPFR_SRCDIR. Thanks to Sandra Loosemore for the patch. https://sympa.inria.fr/sympa/arc/mpfr/2009-04/msg00038.html ------------------------------------------------------------------------ r6173 | thevenyp | 2009-04-15 17:07:42 +0000 (Wed, 15 Apr 2009) | 3 lines Changed paths: M /trunk/get_f.c M /trunk/tests/tget_f.c get_f.c: remove dead code (x and z always have the same number of limbs). tests/tget_f.c: Add tests with every rounding mode, add tests with random values. ------------------------------------------------------------------------ r6172 | thevenyp | 2009-04-15 09:34:54 +0000 (Wed, 15 Apr 2009) | 2 lines Changed paths: M /trunk/tests/tget_f.c tests/tget_f.c: Fix typos, better error messages. ------------------------------------------------------------------------ r6171 | thevenyp | 2009-04-14 14:34:20 +0000 (Tue, 14 Apr 2009) | 2 lines Changed paths: M /trunk/get_f.c M /trunk/tests/tget_f.c tests/tget_f.c get_f.c: Set result to the maximum value when the mpfr_t is plus infinity and set correct ternary value. ------------------------------------------------------------------------ r6170 | thevenyp | 2009-04-14 14:29:16 +0000 (Tue, 14 Apr 2009) | 2 lines Changed paths: M /trunk/tests/tget_f.c tests/tget_f.c: Fix typo, increase size of y so that x and y have different limb size (they had the same size on MacOS X-32bits). ------------------------------------------------------------------------ r6168 | vlefevre | 2009-04-10 08:29:47 +0000 (Fri, 10 Apr 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: update concerning intmax_t after the change in r6166. ------------------------------------------------------------------------ r6166 | vlefevre | 2009-04-10 08:23:33 +0000 (Fri, 10 Apr 2009) | 2 lines Changed paths: M /trunk/mpfr.h mpfr.h: for intmax_t, also test _STDINT_H and _STDINT_H_. [merged changeset r6165 from the 2.4 branch] ------------------------------------------------------------------------ r6164 | vlefevre | 2009-04-10 08:10:37 +0000 (Fri, 10 Apr 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated the month. ------------------------------------------------------------------------ r6162 | vlefevre | 2009-04-10 08:09:47 +0000 (Fri, 10 Apr 2009) | 5 lines Changed paths: M /trunk/mpfr.h M /trunk/mpfr.texi mpfr.h: for the intmax_t detection, also test INTMAX_MAX / UINTMAX_MAX (this may be useful for users of C++ compilers, if they have defined __STDC_LIMIT_MACROS but not __STDC_CONSTANT_MACROS). mpfr.texi: improvement concerning the use of intmax_t and uintmax_t. [merged changesets r6160 and r6161 from the 2.4 branch] ------------------------------------------------------------------------ r6159 | zimmerma | 2009-04-09 07:40:14 +0000 (Thu, 09 Apr 2009) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] updated Notes on AIX/PowerPC ------------------------------------------------------------------------ r6158 | thevenyp | 2009-04-08 14:59:21 +0000 (Wed, 08 Apr 2009) | 3 lines Changed paths: M /trunk/NEWS M /trunk/get_f.c M /trunk/mpfr.texi M /trunk/tests/tget_f.c NEWS mpfr.texi get_f.c: mpfr_get_f now returns the usual ternary value. tests/tget_f.c: test the ternary value and the erange flag. ------------------------------------------------------------------------ r6157 | vlefevre | 2009-04-08 14:25:26 +0000 (Wed, 08 Apr 2009) | 2 lines Changed paths: M /trunk/get_z.c M /trunk/tests/tget_z.c tests/tget_z.c: do not assume specific values of the ternary value. get_z.c: simplified code. ------------------------------------------------------------------------ r6156 | vlefevre | 2009-04-08 14:19:23 +0000 (Wed, 08 Apr 2009) | 1 line Changed paths: M /trunk/NEWS NEWS: s/an inexact value/a ternary value/ ------------------------------------------------------------------------ r6155 | thevenyp | 2009-04-08 12:53:37 +0000 (Wed, 08 Apr 2009) | 4 lines Changed paths: M /trunk/NEWS M /trunk/get_z.c M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/tests/tget_z.c NEWS mpfr.texi get_z.c: mpfr_get_z now returns an inexact value. mpfr.h: change prototype of mpfr_get_z. tests/tget_z.c: test inexact value. ------------------------------------------------------------------------ r6154 | zimmerma | 2009-04-08 11:10:46 +0000 (Wed, 08 Apr 2009) | 2 lines Changed paths: M /trunk/mpf2mpfr.h [mpf2mpfr.h] added comment for #endif ------------------------------------------------------------------------ r6153 | thevenyp | 2009-04-08 11:09:14 +0000 (Wed, 08 Apr 2009) | 2 lines Changed paths: M /trunk/mpf2mpfr.h mpf2mpfr.h: fix typo ------------------------------------------------------------------------ r6152 | vlefevre | 2009-04-02 16:03:05 +0000 (Thu, 02 Apr 2009) | 1 line Changed paths: M /trunk/get_z.c get_z.c: fixed title in comment. ------------------------------------------------------------------------ r6151 | vlefevre | 2009-04-01 14:22:03 +0000 (Wed, 01 Apr 2009) | 2 lines Changed paths: M /trunk/get_z.c get_z.c: detect out-of-range precision (such a detection could be missed if mpfr_exp_t > mpfr_prec_t). ------------------------------------------------------------------------ r6150 | vlefevre | 2009-04-01 14:07:29 +0000 (Wed, 01 Apr 2009) | 2 lines Changed paths: M /trunk/get_z.c M /trunk/mpfr.h Removed the comment from mpfr.h added in r6149, and patched get_z.c (safer code is better than a comment). ------------------------------------------------------------------------ r6149 | vlefevre | 2009-04-01 14:02:14 +0000 (Wed, 01 Apr 2009) | 1 line Changed paths: M /trunk/mpfr.h mpfr.h: important comment to validate the change done in r6147. ------------------------------------------------------------------------ r6148 | vlefevre | 2009-04-01 13:46:30 +0000 (Wed, 01 Apr 2009) | 1 line Changed paths: M /trunk/get_z_exp.c get_z_exp.c: updated comments. ------------------------------------------------------------------------ r6147 | zimmerma | 2009-04-01 13:26:42 +0000 (Wed, 01 Apr 2009) | 3 lines Changed paths: M /trunk/get_z.c M /trunk/tests/tget_z.c [get_z.c] simplified the code, removed the FIXME [tget_z.c] added new test ------------------------------------------------------------------------ r6146 | zimmerma | 2009-04-01 13:11:13 +0000 (Wed, 01 Apr 2009) | 4 lines Changed paths: M /trunk/mpfr.texi M /trunk/tests/tget_z.c [mpfr.texi] completed documentation of mpfr_get_z_exp (was incomplete for 0) [tget_z.c] added test case for 0 with emin > 0 (should give 100% coverage for get_z.c) ------------------------------------------------------------------------ r6145 | thevenyp | 2009-03-30 14:47:28 +0000 (Mon, 30 Mar 2009) | 3 lines Changed paths: M /trunk/strtofr.c M /trunk/tests/tset_str.c M /trunk/vasprintf.c strtofr.c tests/tset_str.c: Code simplification (sizeof (char) is always 1). vasprintf.c: Cast into size_t (just in case). ------------------------------------------------------------------------ r6144 | thevenyp | 2009-03-30 12:15:40 +0000 (Mon, 30 Mar 2009) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: Code simplification (sizeof (char) is always 1). ------------------------------------------------------------------------ r6143 | thevenyp | 2009-03-27 09:34:03 +0000 (Fri, 27 Mar 2009) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/printf.c M /trunk/vasprintf.c acinclude.m4: remove definition of va_copy, just detect its presence. printf.c vasprintf.c: #define a replacement of va_copy if needed (in the same way as gmp). ------------------------------------------------------------------------ r6142 | thevenyp | 2009-03-26 15:09:38 +0000 (Thu, 26 Mar 2009) | 2 lines Changed paths: M /trunk/acinclude.m4 acinclude.m4: Change MPFR_FUNC_PRINTF_SPEC (renamed MPFR_FUNC_GMP_PRINTF_SPEC) so that it actually checks output. ------------------------------------------------------------------------ r6141 | thevenyp | 2009-03-25 17:53:50 +0000 (Wed, 25 Mar 2009) | 2 lines Changed paths: M /trunk/get_str.c M /trunk/mpfr-impl.h M /trunk/mpfr.texi M /trunk/mpn_exp.c M /trunk/out_str.c M /trunk/tests/inp_str.data M /trunk/tests/tget_str.c M /trunk/tests/tinp_str.c M /trunk/tests/tout_str.c M /trunk/tests/tset_str.c Change base upper limit in string conversion up to 62. ------------------------------------------------------------------------ r6140 | zimmerma | 2009-03-25 12:13:58 +0000 (Wed, 25 Mar 2009) | 4 lines Changed paths: M /trunk/get_str.c M /trunk/mpfr.texi M /trunk/tests/tget_str.c [mpfr.texi] fixed documentation of mpfr_get_str which was wrong [tget_str.c] added test cases for odd base and tie breaking case [get_str.c] fixed typos in comments ------------------------------------------------------------------------ r6139 | zimmerma | 2009-03-25 08:54:17 +0000 (Wed, 25 Mar 2009) | 5 lines Changed paths: M /trunk/tests/random2.c [tests/random2.c] added missing mpfr-test.h (revealed by nightly tests), and removed mpfr-impl.h (already included in mpfr-test.h) I have also removed MPFR_NEED_LONGLONG_H: I don't see why it is needed, and all tests pass. ------------------------------------------------------------------------ r6138 | thevenyp | 2009-03-24 17:19:55 +0000 (Tue, 24 Mar 2009) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: Add a note on mpfr_printf output in binary with precision one. ------------------------------------------------------------------------ r6137 | thevenyp | 2009-03-24 16:51:17 +0000 (Tue, 24 Mar 2009) | 4 lines Changed paths: M /trunk/TODO M /trunk/mpfr-gmp.c M /trunk/mpfr-gmp.h M /trunk/mpfr-impl.h M /trunk/tests/random2.c M /trunk/tests/tests.c M /trunk/urandomb.c urandomb.c mpfr-gmp.c mpfr-gmp.h: mpfr_rand_raw is now in urandom.c. mpfr-impl.h: mpfr_rand_raw is now always build as an internal function. TODO tests/tests.c tests/random2.c: Use mpfr_rand_raw instead of _gmp_rand ------------------------------------------------------------------------ r6136 | thevenyp | 2009-03-24 15:10:52 +0000 (Tue, 24 Mar 2009) | 2 lines Changed paths: M /trunk/Makefile.am M /trunk/NEWS M /trunk/mpfr.h M /trunk/mpfr.texi D /trunk/random2.c M /trunk/tests/Makefile.am M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h A /trunk/tests/random2.c (from /trunk/random2.c:6135) M /trunk/tests/tadd.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/tgamma.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tmul.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tpow.c M /trunk/tests/trandom.c M /trunk/tests/tsi_op.c M /trunk/tests/tsub.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c Move mpfr_random2 to tests directory, remove it from API. ------------------------------------------------------------------------ r6135 | thevenyp | 2009-03-24 14:29:04 +0000 (Tue, 24 Mar 2009) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: Improve documentation in Formatted Output Functions/Format String subsection. ------------------------------------------------------------------------ r6134 | vlefevre | 2009-03-24 11:33:41 +0000 (Tue, 24 Mar 2009) | 1 line Changed paths: M /trunk/cos.c M /trunk/sin.c cos.c, sin.c: added MPFR_ASSERTN for huge expx. ------------------------------------------------------------------------ r6132 | vlefevre | 2009-03-21 00:52:31 +0000 (Sat, 21 Mar 2009) | 6 lines Changed paths: M /trunk/mpfr.texi M /trunk/tests/tstrtofr.c mpfr.texi: corrected mpfr_strtofr documentation ("NAN()" is accepted). tests/tstrtofr.c: added a test for "NAN()". Note: the code follows the ISO C99 standard for strtod, as explained in the mpfr_strtofr documentation, so that the code was correct. [merged changeset 6131 from the 2.4 branch and changed GMP_RNDN into MPFR_RNDN] ------------------------------------------------------------------------ r6130 | vlefevre | 2009-03-19 02:11:38 +0000 (Thu, 19 Mar 2009) | 1 line Changed paths: M /trunk/mpfrlint mpfrlint: added some tests for acinclude.m4 and configure.in (sh). ------------------------------------------------------------------------ r6128 | vlefevre | 2009-03-19 02:03:29 +0000 (Thu, 19 Mar 2009) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.in Applied patch from Ralf Wildenhues. * configure.in: Avoid unportable (and unneeded) shell quoting. * acinclude.m4: Avoid non-POSIX shell construct. ------------------------------------------------------------------------ r6126 | vlefevre | 2009-03-18 11:15:05 +0000 (Wed, 18 Mar 2009) | 1 line Changed paths: M /trunk/tests/tmin_prec.c tests/tmin_prec.c: replaced GMP_RNDN by MPFR_RNDN. ------------------------------------------------------------------------ r6125 | vlefevre | 2009-03-16 18:38:03 +0000 (Mon, 16 Mar 2009) | 1 line Changed paths: M /trunk/tests/tset_ld.c tests/tset_ld.c: removed unused variable. ------------------------------------------------------------------------ r6124 | thevenyp | 2009-03-16 17:46:18 +0000 (Mon, 16 Mar 2009) | 2 lines Changed paths: M /trunk/tests/tset_ld.c tests/tset_ld.c: Add test case for the bug fixed with r6101. ------------------------------------------------------------------------ r6123 | vlefevre | 2009-03-16 15:50:58 +0000 (Mon, 16 Mar 2009) | 1 line Changed paths: M /trunk/tests/tmin_prec.c tests/tmin_prec.c: added tests. ------------------------------------------------------------------------ r6122 | vlefevre | 2009-03-16 15:43:39 +0000 (Mon, 16 Mar 2009) | 1 line Changed paths: M /trunk/tests tests: updated svn:ignore property. ------------------------------------------------------------------------ r6121 | vlefevre | 2009-03-16 15:40:48 +0000 (Mon, 16 Mar 2009) | 1 line Changed paths: M /trunk/min_prec.c min_prec.c: fixed another bug (the code was incorrect with >= 2 limbs). ------------------------------------------------------------------------ r6120 | vlefevre | 2009-03-16 15:37:10 +0000 (Mon, 16 Mar 2009) | 1 line Changed paths: M /trunk/tests/tmin_prec.c tests/tmin_prec.c: bug fix (side effects in MPFR_ASSERTN), new tests. ------------------------------------------------------------------------ r6119 | vlefevre | 2009-03-16 15:28:11 +0000 (Mon, 16 Mar 2009) | 1 line Changed paths: M /trunk/README.dev README.dev: added a note about assertions and code with side effects. ------------------------------------------------------------------------ r6118 | thevenyp | 2009-03-16 15:23:46 +0000 (Mon, 16 Mar 2009) | 2 lines Changed paths: M /trunk/tests/tfprintf.c tests/tfprintf.c: Use a value less than 2^31-1 compatible (thus < LONG_MAX) in bug_20090316 (cf r6112). ------------------------------------------------------------------------ r6117 | vlefevre | 2009-03-16 15:07:50 +0000 (Mon, 16 Mar 2009) | 1 line Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tmin_prec.c Replaced GMP_RND* by MPFR_RND*. ------------------------------------------------------------------------ r6116 | zimmerma | 2009-03-16 12:50:24 +0000 (Mon, 16 Mar 2009) | 3 lines Changed paths: M /trunk/tests/Makefile.am A /trunk/tests/tmin_prec.c [tests/tmin_prec.c] new file contributed from Laurent Fousse [tests/Makefile.am] added tmin_prec ------------------------------------------------------------------------ r6115 | vlefevre | 2009-03-16 12:35:27 +0000 (Mon, 16 Mar 2009) | 1 line Changed paths: M /trunk/min_prec.c min_prec.c: removed a useless test. ------------------------------------------------------------------------ r6114 | vlefevre | 2009-03-16 12:30:20 +0000 (Mon, 16 Mar 2009) | 1 line Changed paths: M /trunk/min_prec.c min_prec.c: fixed another bug. ------------------------------------------------------------------------ r6113 | thevenyp | 2009-03-16 12:26:29 +0000 (Mon, 16 Mar 2009) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: Add more debug assertion on the buffer size. ------------------------------------------------------------------------ r6112 | thevenyp | 2009-03-16 12:03:43 +0000 (Mon, 16 Mar 2009) | 3 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/vasprintf.c vasprintf.c: Fix bug_20090316 (in buffer_cat, the buffer was 1 character too small in some cases). tests/tfprintf.c: Add test for bug_20090316. ------------------------------------------------------------------------ r6111 | vlefevre | 2009-03-16 11:57:41 +0000 (Mon, 16 Mar 2009) | 2 lines Changed paths: M /trunk/tests/tadd.c tests/tadd.c: changed GMP_RND* (from r6071) into MPFR_RND*; this should have been done when porting the patch from the 2.4 branch. ------------------------------------------------------------------------ r6110 | thevenyp | 2009-03-16 10:25:16 +0000 (Mon, 16 Mar 2009) | 2 lines Changed paths: M /trunk/tests/tprintf.c tests/tprintf.c: Use new environment variable MPFR_CHECK_LARGEMEM for memory expensive test. ------------------------------------------------------------------------ r6109 | vlefevre | 2009-03-16 10:12:57 +0000 (Mon, 16 Mar 2009) | 1 line Changed paths: M /trunk/min_prec.c min_prec.c: bug fixed by Laurent. ------------------------------------------------------------------------ r6108 | thevenyp | 2009-03-16 10:01:24 +0000 (Mon, 16 Mar 2009) | 2 lines Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: Fix typo. ------------------------------------------------------------------------ r6107 | vlefevre | 2009-03-16 09:32:21 +0000 (Mon, 16 Mar 2009) | 2 lines Changed paths: M /trunk/min_prec.c M /trunk/mpfr.h M /trunk/mpfr.texi Fixed the prototype of mpfr_min_prec (should return a mpfr_prec_t) and its description. ------------------------------------------------------------------------ r6106 | vlefevre | 2009-03-16 09:26:54 +0000 (Mon, 16 Mar 2009) | 1 line Changed paths: M /trunk/min_prec.c min_prec.c: fixed a bug (but the code should be improved). ------------------------------------------------------------------------ r6105 | vlefevre | 2009-03-16 09:23:46 +0000 (Mon, 16 Mar 2009) | 1 line Changed paths: M /trunk/min_prec.c min_prec.c: simplified the singular cases (see other functions). ------------------------------------------------------------------------ r6104 | lfousse | 2009-03-15 20:44:23 +0000 (Sun, 15 Mar 2009) | 2 lines Changed paths: M /trunk/mpfr.h Add protoype for mpfr_min_prec in mpfr.h. ------------------------------------------------------------------------ r6103 | lfousse | 2009-03-15 20:34:33 +0000 (Sun, 15 Mar 2009) | 2 lines Changed paths: M /trunk/mpfr.texi Add documentation for mpfr_min_prec. ------------------------------------------------------------------------ r6102 | lfousse | 2009-03-15 20:34:00 +0000 (Sun, 15 Mar 2009) | 2 lines Changed paths: M /trunk/Makefile.am A /trunk/min_prec.c New function mpfr_min_prec. ------------------------------------------------------------------------ r6101 | vlefevre | 2009-03-15 03:17:06 +0000 (Sun, 15 Mar 2009) | 2 lines Changed paths: M /trunk/get_ld.c get_ld.c: fixed bugs in the case HAVE_LDOUBLE_IEEE_EXT_LITTLE (one found by Steve Kargl, and another one concerning the mpfr_set_emax value). ------------------------------------------------------------------------ r6100 | thevenyp | 2009-03-13 17:58:59 +0000 (Fri, 13 Mar 2009) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: This is probably dead code, but being uncertain, put an assert here. ------------------------------------------------------------------------ r6099 | thevenyp | 2009-03-13 17:55:13 +0000 (Fri, 13 Mar 2009) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: As the buffer helper functions are not used in the current code with a zero parameter len, do not handle this case anymore, check that these cases do not happened in MPFR_ASSERTD macros, add some additional assert to ensure consistency. ------------------------------------------------------------------------ r6098 | thevenyp | 2009-03-13 17:47:57 +0000 (Fri, 13 Mar 2009) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: make clear that string_buffer.curr is a pointer to the null terminating character, fix the only place where it was not handle so. ------------------------------------------------------------------------ r6097 | thevenyp | 2009-03-13 17:36:20 +0000 (Fri, 13 Mar 2009) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: Fix bug. ------------------------------------------------------------------------ r6096 | thevenyp | 2009-03-13 17:30:10 +0000 (Fri, 13 Mar 2009) | 3 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/vasprintf.c tests/tprintf.c: Add an expensive test where the output number has more than INT_MAX characters. vasprintf.c: Fix the bug triggered by the new test in tsprintf.c. ------------------------------------------------------------------------ r6095 | thevenyp | 2009-03-13 17:17:42 +0000 (Fri, 13 Mar 2009) | 4 lines Changed paths: M /trunk/mpfr.texi M /trunk/tests/tprintf.c M /trunk/tests/tsprintf.c mpfr.texi: Do cosmetic changes and add some details on printf behavior when the precision field is empty. tests/tsprintf.c: improve code coverage. tests/tprintf.c: improve code coverage, check the behavior describe in mpfr.texi. ------------------------------------------------------------------------ r6091 | vlefevre | 2009-03-12 12:54:29 +0000 (Thu, 12 Mar 2009) | 3 lines Changed paths: M /trunk/zeta_ui.c zeta_ui.c: correction r6090 was incorrect as there was another problem: the 3rd argument of mpz_divexact_ui is an unsigned long, not a limb. So, fixed the shift count (assuming no padding bits in unsigned long). ------------------------------------------------------------------------ r6090 | vlefevre | 2009-03-12 12:45:21 +0000 (Thu, 12 Mar 2009) | 3 lines Changed paths: M /trunk/zeta_ui.c zeta_ui.c bug fix: a shift count could be >= width of type (if a limb is a long long and long long is twice the size of a long). This problem was detected by a warning on gcc40 with CFLAGS="-mpowerpc64 -mcpu=970 -O2". ------------------------------------------------------------------------ r6088 | vlefevre | 2009-03-10 01:11:36 +0000 (Tue, 10 Mar 2009) | 1 line Changed paths: M /trunk/tests/tprintf.c tests/tprintf.c: added missing cast to void * for %p. ------------------------------------------------------------------------ r6086 | vlefevre | 2009-03-09 15:51:27 +0000 (Mon, 09 Mar 2009) | 1 line Changed paths: M /trunk/tests/tfprintf.c tests/tfprintf.c: added missing cast to void * for %p. ------------------------------------------------------------------------ r6084 | vlefevre | 2009-03-09 15:42:51 +0000 (Mon, 09 Mar 2009) | 1 line Changed paths: M /trunk/vasprintf.c vasprintf.c: fixed bug in CONSUME_VA_ARG for case MP_LIMB_ARG (%Mu). ------------------------------------------------------------------------ r6082 | vlefevre | 2009-03-09 14:09:10 +0000 (Mon, 09 Mar 2009) | 1 line Changed paths: M /trunk/README.dev README.dev: GMP with ABI=mode32 should be tested on 64-bit PowerPC. ------------------------------------------------------------------------ r6081 | thevenyp | 2009-03-06 18:07:12 +0000 (Fri, 06 Mar 2009) | 3 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/vasprintf.c vasprintf.c: now return -1 when the format string is invalid (undefined behavior in standard C99) tests/tprintf.c: Additional checks with invalid format strings. ------------------------------------------------------------------------ r6080 | thevenyp | 2009-03-06 18:01:24 +0000 (Fri, 06 Mar 2009) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: Add missing conversion specifier accepted with mpfr_t variable. ------------------------------------------------------------------------ r6079 | vlefevre | 2009-03-06 13:03:44 +0000 (Fri, 06 Mar 2009) | 1 line Changed paths: M /trunk/add1.c add1.c: assertions on the argument values should use MPFR_ASSERTN. ------------------------------------------------------------------------ r6077 | zimmerma | 2009-03-06 11:50:19 +0000 (Fri, 06 Mar 2009) | 2 lines Changed paths: M /trunk/cache.c [cache.c] improved comment for mpfr_init_cache ------------------------------------------------------------------------ r6076 | zimmerma | 2009-03-06 11:44:10 +0000 (Fri, 06 Mar 2009) | 2 lines Changed paths: M /trunk/add1.c [add1.c] transformed switch() into if-then-else, to get 100% coverage ------------------------------------------------------------------------ r6074 | vlefevre | 2009-03-06 00:45:57 +0000 (Fri, 06 Mar 2009) | 1 line Changed paths: M /trunk/atan.c M /trunk/cache.c untabify ------------------------------------------------------------------------ r6073 | vlefevre | 2009-03-06 00:40:20 +0000 (Fri, 06 Mar 2009) | 3 lines Changed paths: M /trunk/update-faq update-faq: change GMP_RND into MPFR_RND from the version on the web (since MPFR 3.0 hasn't been released yet, the FAQ still uses the 2.x API). ------------------------------------------------------------------------ r6071 | vlefevre | 2009-03-05 23:46:45 +0000 (Thu, 05 Mar 2009) | 1 line Changed paths: M /trunk/tests/tadd.c tests/tadd.c: completed the code coverage (case bk == 0 in add1.c). ------------------------------------------------------------------------ r6070 | zimmerma | 2009-03-05 19:44:05 +0000 (Thu, 05 Mar 2009) | 2 lines Changed paths: M /trunk/cache.c M /trunk/mpfr-impl.h [mpfr-impl.h,cache.c] commented out mpfr_init_cache ------------------------------------------------------------------------ r6069 | zimmerma | 2009-03-05 16:37:19 +0000 (Thu, 05 Mar 2009) | 2 lines Changed paths: M /trunk/const_catalan.c [const_catalan.c] decreased initial Ziv precision to get 100% coverage ------------------------------------------------------------------------ r6068 | zimmerma | 2009-03-05 16:28:13 +0000 (Thu, 05 Mar 2009) | 3 lines Changed paths: M /trunk/cmp2.c M /trunk/tests/tcmp2.c [cmp2.c] added comments [tcmp2.c] added test to improve coverage to 100% ------------------------------------------------------------------------ r6067 | zimmerma | 2009-03-05 14:12:32 +0000 (Thu, 05 Mar 2009) | 3 lines Changed paths: M /trunk/atan2.c M /trunk/tests/tatan.c [atan2.c,tatan.c] reduced Ziv's initial precision and added test to have 100% coverage of atan2.c ------------------------------------------------------------------------ r6066 | zimmerma | 2009-03-05 13:43:18 +0000 (Thu, 05 Mar 2009) | 2 lines Changed paths: M /trunk/atan.c [atan.c] coverage should now be 100% ------------------------------------------------------------------------ r6065 | zimmerma | 2009-03-04 17:09:02 +0000 (Wed, 04 Mar 2009) | 3 lines Changed paths: M /trunk/TODO M /trunk/algorithms.bib M /trunk/algorithms.tex [algorithms.bib] added new reference [TODO] added pointers ------------------------------------------------------------------------ r6059 | vlefevre | 2009-03-04 12:59:50 +0000 (Wed, 04 Mar 2009) | 2 lines Changed paths: M /trunk/mpfr-gmp.c mpfr-gmp.c (mpfr_assert_fail): output "MPFR" too in assertion failure messages. ------------------------------------------------------------------------ r6057 | vlefevre | 2009-03-04 01:33:17 +0000 (Wed, 04 Mar 2009) | 1 line Changed paths: M /trunk/mpfrlint Updated mpfrlint script. ------------------------------------------------------------------------ r6056 | vlefevre | 2009-03-04 01:06:47 +0000 (Wed, 04 Mar 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated month. ------------------------------------------------------------------------ r6055 | vlefevre | 2009-03-04 01:02:26 +0000 (Wed, 04 Mar 2009) | 1 line Changed paths: M /trunk/NEWS NEWS: say that the license has changed. ------------------------------------------------------------------------ r6054 | vlefevre | 2009-03-03 17:32:00 +0000 (Tue, 03 Mar 2009) | 1 line Changed paths: M /trunk/NEWS Updated NEWS (function mpfr_random has been removed). ------------------------------------------------------------------------ r6053 | zimmerma | 2009-03-03 16:51:07 +0000 (Tue, 03 Mar 2009) | 2 lines Changed paths: M /trunk/FAQ.html M /trunk/NEWS M /trunk/TODO M /trunk/acos.c M /trunk/acosh.c M /trunk/add.c M /trunk/add1.c M /trunk/add1sp.c M /trunk/agm.c M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atan2.c M /trunk/atanh.c M /trunk/cache.c M /trunk/cbrt.c M /trunk/cmp_d.c M /trunk/cmp_ld.c M /trunk/const_catalan.c M /trunk/const_euler.c M /trunk/const_log2.c M /trunk/const_pi.c M /trunk/cos.c M /trunk/cosh.c M /trunk/cot.c M /trunk/coth.c M /trunk/csc.c M /trunk/csch.c M /trunk/div.c M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/div_ui.c M /trunk/eint.c M /trunk/erf.c M /trunk/erfc.c M /trunk/exceptions.c M /trunk/exp.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/factorial.c M /trunk/fits_intmax.c M /trunk/fits_uintmax.c M /trunk/fma.c M /trunk/fms.c M /trunk/gamma.c M /trunk/gen_inverse.h M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_ld.c M /trunk/get_sj.c M /trunk/get_str.c M /trunk/gmp_op.c M /trunk/hypot.c M /trunk/jn.c M /trunk/jyn_asympt.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/log.c M /trunk/log10.c M /trunk/log1p.c M /trunk/log2.c M /trunk/logging.c M /trunk/modf.c M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/mul.c M /trunk/mul_2si.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/print_rnd_mode.c M /trunk/rec_sqrt.c M /trunk/reldiff.c M /trunk/rem1.c M /trunk/replace_all M /trunk/rint.c M /trunk/root.c M /trunk/round_near_x.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/sech.c M /trunk/set_ld.c M /trunk/set_q.c M /trunk/set_rnd.c M /trunk/set_str_raw.c M /trunk/set_uj.c M /trunk/set_z.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sinh_cosh.c M /trunk/speed.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/strtofr.c M /trunk/sub.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/subnormal.c M /trunk/sum.c M /trunk/tan.c M /trunk/tanh.c M /trunk/tests/mpfr-test.h M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.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/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.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/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.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/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.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_ld_2exp.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/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.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/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/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/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.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_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/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/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/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.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/tuneup.c M /trunk/ui_pow.c M /trunk/ui_pow_ui.c M /trunk/vasprintf.c M /trunk/yn.c M /trunk/zeta.c M /trunk/zeta_ui.c GMP_RNDX -> MPFR_RNDX ------------------------------------------------------------------------ r6051 | vlefevre | 2009-03-03 14:05:38 +0000 (Tue, 03 Mar 2009) | 1 line Changed paths: M /trunk/tests tests: added taway to svn:ignore property. ------------------------------------------------------------------------ r6050 | vlefevre | 2009-03-03 14:03:06 +0000 (Tue, 03 Mar 2009) | 1 line Changed paths: M /trunk/BUGS M /trunk/COPYING.LIB M /trunk/FAQ.html M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/abort_prec_max.c M /trunk/acinclude.m4 M /trunk/acos.c M /trunk/acosh.c M /trunk/add.c M /trunk/add1.c M /trunk/add1sp.c M /trunk/add_d.c M /trunk/add_ui.c M /trunk/agm.c M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atan2.c M /trunk/atanh.c M /trunk/cache.c M /trunk/cbrt.c M /trunk/check.c M /trunk/clear.c M /trunk/clears.c M /trunk/cmp.c M /trunk/cmp2.c M /trunk/cmp_abs.c M /trunk/cmp_d.c M /trunk/cmp_ld.c M /trunk/cmp_si.c M /trunk/cmp_ui.c M /trunk/comparisons.c M /trunk/configure.in M /trunk/const_catalan.c M /trunk/const_euler.c M /trunk/const_log2.c M /trunk/const_pi.c M /trunk/constant.c M /trunk/copysign.c M /trunk/cos.c M /trunk/cosh.c M /trunk/cot.c M /trunk/coth.c M /trunk/csc.c M /trunk/csch.c M /trunk/d_div.c M /trunk/d_sub.c M /trunk/dim.c M /trunk/div.c M /trunk/div_2exp.c M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/div_d.c M /trunk/div_ui.c M /trunk/dump.c M /trunk/eint.c M /trunk/eq.c M /trunk/erf.c M /trunk/erfc.c M /trunk/exceptions.c M /trunk/exp.c M /trunk/exp10.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/extract.c M /trunk/factorial.c M /trunk/faq.xsl M /trunk/fits_intmax.c M /trunk/fits_s.h M /trunk/fits_sint.c M /trunk/fits_slong.c M /trunk/fits_sshort.c M /trunk/fits_u.h M /trunk/fits_uint.c M /trunk/fits_uintmax.c M /trunk/fits_ulong.c M /trunk/fits_ushort.c M /trunk/fma.c M /trunk/fms.c M /trunk/frac.c M /trunk/free_cache.c M /trunk/gamma.c M /trunk/gen_inverse.h M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_exp.c M /trunk/get_f.c M /trunk/get_ld.c M /trunk/get_patches.sh M /trunk/get_si.c M /trunk/get_sj.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/get_uj.c M /trunk/get_z.c M /trunk/get_z_exp.c M /trunk/gmp_op.c M /trunk/hypot.c M /trunk/init.c M /trunk/init2.c M /trunk/inits.c M /trunk/inits2.c M /trunk/inp_str.c M /trunk/int_ceil_log2.c M /trunk/isinf.c M /trunk/isinteger.c M /trunk/isnan.c M /trunk/isnum.c M /trunk/isqrt.c M /trunk/iszero.c M /trunk/jn.c M /trunk/jyn_asympt.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/log.c M /trunk/log10.c M /trunk/log1p.c M /trunk/log2.c M /trunk/logging.c M /trunk/mbench/Makefile M /trunk/mbench/README M /trunk/mbench/generate.c M /trunk/mbench/mfv5-arprec.cc M /trunk/mbench/mfv5-cln.cc M /trunk/mbench/mfv5-crlibm.cc M /trunk/mbench/mfv5-libc.cc M /trunk/mbench/mfv5-lidia.cc M /trunk/mbench/mfv5-mpf.cc M /trunk/mbench/mfv5-mpfr.cc M /trunk/mbench/mfv5-ntl.cc M /trunk/mbench/mfv5-pari.cc M /trunk/mbench/mfv5-void.cc M /trunk/mbench/mfv5.cc M /trunk/mbench/mfv5.h M /trunk/mbench/mpfr-gfx.c M /trunk/mbench/mpfr-v4.c M /trunk/mbench/mpfr-v6.c M /trunk/mbench/timp.h M /trunk/minmax.c M /trunk/modf.c M /trunk/mp_clz_tab.c M /trunk/mparam_h.in M /trunk/mpf2mpfr.h M /trunk/mpfr-gmp.c M /trunk/mpfr-gmp.h M /trunk/mpfr-impl.h M /trunk/mpfr-longlong.h M /trunk/mpfr-thread.h M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/mpn_exp.c M /trunk/mul.c M /trunk/mul_2exp.c M /trunk/mul_2si.c M /trunk/mul_2ui.c M /trunk/mul_d.c M /trunk/mul_ui.c M /trunk/mulders.c M /trunk/neg.c M /trunk/next.c M /trunk/out_str.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/powerof2.c M /trunk/print_raw.c M /trunk/print_rnd_mode.c M /trunk/printf.c M /trunk/random2.c M /trunk/rec_sqrt.c M /trunk/reldiff.c M /trunk/rem1.c M /trunk/rint.c M /trunk/root.c M /trunk/round_near_x.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/sec.c M /trunk/sech.c M /trunk/set.c M /trunk/set_d.c M /trunk/set_d64.c M /trunk/set_dfl_prec.c M /trunk/set_exp.c M /trunk/set_f.c M /trunk/set_inf.c M /trunk/set_ld.c M /trunk/set_nan.c M /trunk/set_prc_raw.c M /trunk/set_prec.c M /trunk/set_q.c M /trunk/set_rnd.c M /trunk/set_si.c M /trunk/set_si_2exp.c M /trunk/set_sj.c M /trunk/set_str.c M /trunk/set_str_raw.c M /trunk/set_ui.c M /trunk/set_ui_2exp.c M /trunk/set_uj.c M /trunk/set_z.c M /trunk/setmax.c M /trunk/setmin.c M /trunk/setsign.c M /trunk/sgn.c M /trunk/si_op.c M /trunk/signbit.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sinh_cosh.c M /trunk/speed.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/sqrt_ui.c M /trunk/stack_interface.c M /trunk/strtofr.c M /trunk/sub.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/sub_d.c M /trunk/sub_ui.c M /trunk/subnormal.c M /trunk/sum.c M /trunk/swap.c M /trunk/tan.c M /trunk/tanh.c M /trunk/tests/cmp_str.c 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/reuse.c M /trunk/tests/rnd_mode.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/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.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/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.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/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.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_ld_2exp.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/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/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/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/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.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_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/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/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/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.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/tuneup.c M /trunk/uceil_exp2.c M /trunk/uceil_log2.c M /trunk/ufloor_log2.c M /trunk/ui_div.c M /trunk/ui_pow.c M /trunk/ui_pow_ui.c M /trunk/ui_sub.c M /trunk/urandomb.c M /trunk/vasprintf.c M /trunk/version.c M /trunk/volatile.c M /trunk/yn.c M /trunk/zeta.c M /trunk/zeta_ui.c Update to LGPL v3+, as decided by the main MPFR developers. ------------------------------------------------------------------------ r6043 | vlefevre | 2009-02-27 15:46:06 +0000 (Fri, 27 Feb 2009) | 1 line Changed paths: M /trunk/add.c M /trunk/div_ui.c M /trunk/exp.c M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/rem1.c M /trunk/round_near_x.c M /trunk/set_z.c M /trunk/tests/taway.c M /trunk/tests/tcoth.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/tget_sj.c M /trunk/tests/tinternals.c M /trunk/tests/tpow_all.c M /trunk/zeta.c M /trunk/zeta_ui.c Untabified and deleted trailing spaces (for patches). ------------------------------------------------------------------------ r6041 | zimmerma | 2009-02-27 14:33:12 +0000 (Fri, 27 Feb 2009) | 3 lines Changed paths: M /trunk/rint.c M /trunk/tests/tget_sj.c [rint.c] fixed a bug incorporated with the round away mode [tget_sj.c] fixed the tests for round away ------------------------------------------------------------------------ r6040 | zimmerma | 2009-02-27 14:11:22 +0000 (Fri, 27 Feb 2009) | 5 lines Changed paths: M /trunk/rint.c M /trunk/set_z.c M /trunk/tests/Makefile.am A /trunk/tests/taway.c [rint.c] fixed bug with round away [taway.c] new test file for round away (with random values) [tests/Makefile.am] added taway [set_z.c] GNU style ------------------------------------------------------------------------ r6037 | thevenyp | 2009-02-27 13:38:30 +0000 (Fri, 27 Feb 2009) | 5 lines Changed paths: M /trunk/tests/tests.c tests/tests.c: Change test5rm (formerly test4rm) so that it checks the new GMP_RNDA rounding mode, and that the corresponding rounding towards infinity is checked with GMP_RNDZ or with GMP_RNDA in one-pass mode (now, two-pass mode). Remove a comment about a warning from gcc solved with r5057. ------------------------------------------------------------------------ r6036 | zimmerma | 2009-02-27 13:27:41 +0000 (Fri, 27 Feb 2009) | 2 lines Changed paths: M /trunk/rem1.c M /trunk/tests/tremquo.c [rem1.c] fixed bug found in adding tests for round away ------------------------------------------------------------------------ r6035 | zimmerma | 2009-02-27 06:36:54 +0000 (Fri, 27 Feb 2009) | 2 lines Changed paths: M /trunk/add.c [add.c] added comment for 0 + 0 with round away ------------------------------------------------------------------------ r6034 | vlefevre | 2009-02-26 23:02:57 +0000 (Thu, 26 Feb 2009) | 1 line Changed paths: M /trunk/tests/texceptions.c tests/texceptions.c: removed obsolete comments from r2427. ------------------------------------------------------------------------ r6033 | zimmerma | 2009-02-26 21:28:42 +0000 (Thu, 26 Feb 2009) | 4 lines Changed paths: M /trunk/mpfr.h M /trunk/tests/texceptions.c M /trunk/tests/tsub.c [mpfr.h] added comment about order of rounding modes [texceptions.c] added comments, fixed typo [tsub.c] added test, fixed typo ------------------------------------------------------------------------ r6032 | thevenyp | 2009-02-26 18:21:14 +0000 (Thu, 26 Feb 2009) | 2 lines Changed paths: M /trunk/tests/tdiv.c M /trunk/tests/tmul.c M /trunk/tests/tsqrt.c M /trunk/tests/tsub.c Add tests with round away mode. ------------------------------------------------------------------------ r6031 | vlefevre | 2009-02-26 17:25:26 +0000 (Thu, 26 Feb 2009) | 1 line Changed paths: M /trunk/INSTALL M /trunk/VERSION M /trunk/configure.in M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/version.c Updated version to 3.0.0-dev. ------------------------------------------------------------------------ r6030 | zimmerma | 2009-02-26 15:47:06 +0000 (Thu, 26 Feb 2009) | 2 lines Changed paths: M /trunk/NEWS M /trunk/TODO M /trunk/add1.c M /trunk/cache.c M /trunk/cbrt.c M /trunk/div_ui.c M /trunk/erf.c M /trunk/exceptions.c M /trunk/exp.c M /trunk/hypot.c M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/print_rnd_mode.c M /trunk/root.c M /trunk/round_near_x.c M /trunk/set_rnd.c M /trunk/tests/tcoth.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/tfma.c M /trunk/tests/tfms.c M /trunk/tests/thypot.c M /trunk/tests/tinternals.c M /trunk/tests/tpow.c M /trunk/tests/tpow_all.c M /trunk/zeta.c M /trunk/zeta_ui.c added round to away (still experimental) ------------------------------------------------------------------------ r6026 | zimmerma | 2009-02-26 10:31:39 +0000 (Thu, 26 Feb 2009) | 2 lines Changed paths: M /trunk/mpfr.h [mpfr.h] added comments for rounding modes ------------------------------------------------------------------------ r6022 | vlefevre | 2009-02-26 01:41:26 +0000 (Thu, 26 Feb 2009) | 2 lines Changed paths: M /trunk/m4 Added svn:ignore property on the m4 directory (these .m4 files are generated automatically). ------------------------------------------------------------------------ r6021 | vlefevre | 2009-02-26 01:36:06 +0000 (Thu, 26 Feb 2009) | 2 lines Changed paths: M /trunk/Makefile.am Makefile.am: updated -version-info (since mpfr_random has been removed, we already know its value). ------------------------------------------------------------------------ r6019 | vlefevre | 2009-02-26 01:26:45 +0000 (Thu, 26 Feb 2009) | 2 lines Changed paths: M /trunk/Makefile.am Makefile.am: do not check libtool -version-info value if the VERSION file contains "-dev". ------------------------------------------------------------------------ r6018 | vlefevre | 2009-02-26 01:16:02 +0000 (Thu, 26 Feb 2009) | 2 lines Changed paths: M /trunk/Makefile.am Makefile.am: In a "make dist", check that libtool -version-info value is up-to-date (this is a heuristic only). ------------------------------------------------------------------------ r6016 | vlefevre | 2009-02-26 00:36:25 +0000 (Thu, 26 Feb 2009) | 3 lines Changed paths: M /trunk/README.dev README.dev: updated "To make a release" -- it is important to read this section entirely before making any release (even if some steps may be skipped for some particular releases). ------------------------------------------------------------------------ r6010 | vlefevre | 2009-02-25 22:06:27 +0000 (Wed, 25 Feb 2009) | 1 line Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: do not use VLA's (C99 only). ------------------------------------------------------------------------ r6003 | vlefevre | 2009-02-25 14:24:06 +0000 (Wed, 25 Feb 2009) | 1 line Changed paths: M /trunk/README.dev README.dev: update about patches. ------------------------------------------------------------------------ r5999 | vlefevre | 2009-02-25 12:44:51 +0000 (Wed, 25 Feb 2009) | 1 line Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: coding style: removed spurious spaces. ------------------------------------------------------------------------ r5997 | vlefevre | 2009-02-25 12:16:17 +0000 (Wed, 25 Feb 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated month. ------------------------------------------------------------------------ r5996 | vlefevre | 2009-02-25 12:14:38 +0000 (Wed, 25 Feb 2009) | 3 lines Changed paths: M /trunk/printf.c printf.c: fixed assertion failures in the case buffer == NULL and size == 0 (see r5995). Also replaced MPFR_ASSERTD(buf != NULL) by MPFR_ASSERTN(buf != NULL) since buf is provided as an argument. ------------------------------------------------------------------------ r5995 | vlefevre | 2009-02-25 12:12:52 +0000 (Wed, 25 Feb 2009) | 3 lines Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: added mpfr_snprintf/mpfr_vsnprintf tests with buffer == NULL and size == 0 (as allowed in C99 snprintf/vsnprintf and by the MPFR documentation). ------------------------------------------------------------------------ r5994 | thevenyp | 2009-02-25 09:58:15 +0000 (Wed, 25 Feb 2009) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: Fix typos. ------------------------------------------------------------------------ r5993 | vlefevre | 2009-02-24 19:40:06 +0000 (Tue, 24 Feb 2009) | 1 line Changed paths: M /trunk/tuneup.c tuneup.c: untabified. ------------------------------------------------------------------------ r5992 | thevenyp | 2009-02-24 18:04:04 +0000 (Tue, 24 Feb 2009) | 3 lines Changed paths: M /trunk/printf.c M /trunk/tests/tsprintf.c printf.c: Fix wrong return value, mpfr_snprintf and mpfr_vsnprintf functions must always return the number of character that would be written if the parameter n had been sufficiently large (it previously returned zero when n == 0). tests/tsprintf.c: Fix test of mpfr_snprintf and mpfr_vsnprintf (the wrong return value was checked). ------------------------------------------------------------------------ r5991 | vlefevre | 2009-02-24 15:38:37 +0000 (Tue, 24 Feb 2009) | 1 line Changed paths: M /trunk/printf.c printf.c: fix buffer overflow in mpfr_snprintf and mpfr_vsnprintf. ------------------------------------------------------------------------ r5990 | vlefevre | 2009-02-24 15:37:33 +0000 (Tue, 24 Feb 2009) | 1 line Changed paths: M /trunk/tests/tsprintf.c tsprintf.c: added a test showing a buffer overflow in mpfr_vsnprintf. ------------------------------------------------------------------------ r5989 | vlefevre | 2009-02-24 15:30:06 +0000 (Tue, 24 Feb 2009) | 1 line Changed paths: M /trunk/tests/tsprintf.c tsprintf.c: added a test showing a buffer overflow in mpfr_snprintf. ------------------------------------------------------------------------ r5985 | vlefevre | 2009-02-23 12:21:47 +0000 (Mon, 23 Feb 2009) | 12 lines Changed paths: M /trunk/tests/tests.c M /trunk/tests/tversion.c M /trunk/update-version Changed how the test of MPFR_VERSION_MAJOR, MPFR_VERSION_MINOR and MPFR_VERSION_PATCHLEVEL vs MPFR_VERSION_STRING is performed. Detailed explanations: The test was enabled only in release tarballs (suffix not present), where tests/tversion.c normally contained a "#if 1" (though this is not the case in the MPFR 2.4.0 tarball). In patches, this test should be disabled by changing the "#if 1" into "#if 0", due to the suffix. But as one should be able to apply any patches (in any order), this method was not satisfactory. The test has been moved from tests/tversion.c to tests/tests.c (in function test_version), and the suffix is now ignored in this test; the change of #if has been removed from the update-version script. ------------------------------------------------------------------------ r5981 | vlefevre | 2009-02-20 21:51:01 +0000 (Fri, 20 Feb 2009) | 1 line Changed paths: M /trunk/README.dev README.dev: corrected update-version usage for patches. ------------------------------------------------------------------------ r5978 | vlefevre | 2009-02-20 16:04:19 +0000 (Fri, 20 Feb 2009) | 1 line Changed paths: M /trunk/FAQ.html FAQ update. ------------------------------------------------------------------------ r5975 | zimmerma | 2009-02-20 15:11:17 +0000 (Fri, 20 Feb 2009) | 3 lines Changed paths: M /trunk/mparam_h.in M /trunk/tuneup.c [mparam_h.in] added default thresholds for sparc64 [tuneup.c] print gcc patchlevel ------------------------------------------------------------------------ r5970 | vlefevre | 2009-02-19 01:10:31 +0000 (Thu, 19 Feb 2009) | 1 line Changed paths: M /trunk/speed.c M /trunk/tests/texp.c speed.c, tests/texp.c: untabified. ------------------------------------------------------------------------ r5969 | vlefevre | 2009-02-19 01:08:00 +0000 (Thu, 19 Feb 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: improved mpfr_strtofr documentation (completing r5965). ------------------------------------------------------------------------ r5967 | zimmerma | 2009-02-18 21:31:24 +0000 (Wed, 18 Feb 2009) | 2 lines Changed paths: M /trunk/mparam_h.in [mparam_h.in] added tuning for powerpc64 ------------------------------------------------------------------------ r5966 | thevenyp | 2009-02-18 17:06:02 +0000 (Wed, 18 Feb 2009) | 2 lines Changed paths: M /trunk/strtofr.c strtofr.c: fix typo. ------------------------------------------------------------------------ r5965 | thevenyp | 2009-02-18 16:55:21 +0000 (Wed, 18 Feb 2009) | 4 lines Changed paths: M /trunk/mpfr.texi M /trunk/strtofr.c M /trunk/tests/tstrtofr.c strtofr.c: accept bases up to 62. mpfr.texi: modify mpfr_strtofr documentation accordingly. tests/tstrtofr.c: add tests for bases 62, 60, and 61. ------------------------------------------------------------------------ r5964 | thevenyp | 2009-02-17 16:52:33 +0000 (Tue, 17 Feb 2009) | 2 lines Changed paths: M /trunk/mparam_h.in mparam_h.in: Change core2/64bit parameters. ------------------------------------------------------------------------ r5963 | vlefevre | 2009-02-17 16:46:56 +0000 (Tue, 17 Feb 2009) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/vasprintf.c Checks whether C99 length modifiers 'hh' and 'll' are supported by the system ('hh' is absent on alpha-OSF1-V5, bug reported by Kate Minola). [Merged changeset 5956 from the 2.4 branch.] ------------------------------------------------------------------------ r5962 | zimmerma | 2009-02-17 16:31:46 +0000 (Tue, 17 Feb 2009) | 2 lines Changed paths: M /trunk/tests/texp.c [texp.c] yet another better fix ------------------------------------------------------------------------ r5961 | zimmerma | 2009-02-17 16:23:41 +0000 (Tue, 17 Feb 2009) | 2 lines Changed paths: M /trunk/tests/texp.c [texp.c] fixed previous patch and added comment ------------------------------------------------------------------------ r5960 | zimmerma | 2009-02-17 16:19:25 +0000 (Tue, 17 Feb 2009) | 2 lines Changed paths: M /trunk/tests/texp.c [texp.c] fixed corner case test ------------------------------------------------------------------------ r5958 | vlefevre | 2009-02-16 14:27:52 +0000 (Mon, 16 Feb 2009) | 1 line Changed paths: M /trunk/README.dev README.dev: improved latest change. ------------------------------------------------------------------------ r5957 | vlefevre | 2009-02-16 14:25:10 +0000 (Mon, 16 Feb 2009) | 1 line Changed paths: M /trunk/README.dev README.dev: mentioned update-version for patches. ------------------------------------------------------------------------ r5955 | zimmerma | 2009-02-11 10:09:36 +0000 (Wed, 11 Feb 2009) | 2 lines Changed paths: M /trunk/mbench/mpfr-gfx.c [mpfr-gfx.c] added -p option to produce a Postscript file ------------------------------------------------------------------------ r5954 | zimmerma | 2009-02-10 21:02:22 +0000 (Tue, 10 Feb 2009) | 2 lines Changed paths: M /trunk/mparam_h.in [mparam_h.in] added thresholds for ARM ------------------------------------------------------------------------ r5953 | zimmerma | 2009-02-10 17:39:27 +0000 (Tue, 10 Feb 2009) | 2 lines Changed paths: M /trunk/README.dev [README.dev] added description of how to tune MPFR ------------------------------------------------------------------------ r5952 | zimmerma | 2009-02-10 15:52:48 +0000 (Tue, 10 Feb 2009) | 2 lines Changed paths: M /trunk/README.dev [README.dev] added another example of using mpfr-gfx ------------------------------------------------------------------------ r5951 | zimmerma | 2009-02-10 15:50:40 +0000 (Tue, 10 Feb 2009) | 3 lines Changed paths: M /trunk/mbench/Makefile [Makefile] modified Makefile to compile statically, and to allow also build directories of GMP/MPFR ------------------------------------------------------------------------ r5950 | thevenyp | 2009-02-10 14:21:45 +0000 (Tue, 10 Feb 2009) | 2 lines Changed paths: M /trunk/mbench/mpfr-gfx.c mbench/mpfr-gfx.c: add option -rPREC_RATIO for geometric progression. ------------------------------------------------------------------------ r5949 | zimmerma | 2009-02-10 12:10:46 +0000 (Tue, 10 Feb 2009) | 2 lines Changed paths: M /trunk/mparam_h.in [mparam_h.in] updated Itanium parameters (now for Itanium2) ------------------------------------------------------------------------ r5948 | zimmerma | 2009-02-10 11:26:25 +0000 (Tue, 10 Feb 2009) | 2 lines Changed paths: M /trunk/mparam_h.in [mparam_h.in] added symbol __itanium__ for Itanium[12] ------------------------------------------------------------------------ r5947 | zimmerma | 2009-02-09 21:50:22 +0000 (Mon, 09 Feb 2009) | 3 lines Changed paths: M /trunk/README.dev M /trunk/mbench/mpfr-gfx.c [README.dev] fixed typo [mpfr-gfx.c] added comments in the code (might be useful) ------------------------------------------------------------------------ r5946 | zimmerma | 2009-02-09 20:25:42 +0000 (Mon, 09 Feb 2009) | 2 lines Changed paths: M /trunk/README.dev [README.dev] added pointer to mbench to check the thresholds ------------------------------------------------------------------------ r5945 | zimmerma | 2009-02-09 20:17:46 +0000 (Mon, 09 Feb 2009) | 2 lines Changed paths: M /trunk/mbench/mpfr-gfx.c [mpfr-gfx.c] now also produces a plot.gnuplot file together with plot.data ------------------------------------------------------------------------ r5944 | zimmerma | 2009-02-09 16:18:50 +0000 (Mon, 09 Feb 2009) | 2 lines Changed paths: M /trunk/mparam_h.in [mparam_h.in] updated default thresholds with gmp-4.2.4 ------------------------------------------------------------------------ r5943 | zimmerma | 2009-02-09 16:16:33 +0000 (Mon, 09 Feb 2009) | 2 lines Changed paths: M /trunk/tuneup.c [tuneup.c] fixed typo ------------------------------------------------------------------------ r5942 | zimmerma | 2009-02-09 14:34:34 +0000 (Mon, 09 Feb 2009) | 2 lines Changed paths: M /trunk/Makefile.am [Makefile.am] added stuff to compile speed program ------------------------------------------------------------------------ r5941 | zimmerma | 2009-02-09 14:22:20 +0000 (Mon, 09 Feb 2009) | 5 lines Changed paths: A /trunk/speed.c [speed.c] preliminary program to check the tuning of mpfr (based on tuneup.c) So far it only measures mpfr_mul up to 1000 bits, with increment ratio of 1.1. Requires --with-gmp-build like tuneup. Feel free to improve! ------------------------------------------------------------------------ r5940 | zimmerma | 2009-02-09 13:26:07 +0000 (Mon, 09 Feb 2009) | 2 lines Changed paths: M /trunk/mparam_h.in [mparam_h.in] allow __tune_ia64__ in addition to __ia64 ------------------------------------------------------------------------ r5937 | zimmerma | 2009-02-09 08:16:08 +0000 (Mon, 09 Feb 2009) | 2 lines Changed paths: M /trunk/mparam_h.in [mparam_h.in] replaced __pentium4 by __tune_pentium4__, ... ------------------------------------------------------------------------ r5936 | zimmerma | 2009-02-08 21:58:11 +0000 (Sun, 08 Feb 2009) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/mparam_h.in [acinclude.m4] removed detection of HAVE_HOST_CORE2 [mparam_h.in] replaced HAVE_HOST_CORE2 by __tune_core2__ ------------------------------------------------------------------------ r5930 | thevenyp | 2009-02-06 14:06:54 +0000 (Fri, 06 Feb 2009) | 2 lines Changed paths: M /trunk/tests/mpf_compat.h tests/mpf_compat.h: complete r5922 adding missing mpz_init/mpz_clear. ------------------------------------------------------------------------ r5927 | vlefevre | 2009-02-06 11:57:57 +0000 (Fri, 06 Feb 2009) | 1 line Changed paths: M /trunk/TODO TODO: updated efficiency items. ------------------------------------------------------------------------ r5926 | zimmerma | 2009-02-06 11:18:48 +0000 (Fri, 06 Feb 2009) | 2 lines Changed paths: M /trunk/TODO [TODO] added 2 efficiency items ------------------------------------------------------------------------ r5925 | vlefevre | 2009-02-06 00:02:35 +0000 (Fri, 06 Feb 2009) | 3 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: moved MPFR_DECL_INIT specification into Section "Initialization Functions" (now in the standard MPFR API), and removed now empty Section "Advanced Functions". ------------------------------------------------------------------------ r5924 | vlefevre | 2009-02-05 14:40:38 +0000 (Thu, 05 Feb 2009) | 1 line Changed paths: M /trunk/mparam_h.in mparam_h.in: updated comment to mention -march=native and -mtune=native. ------------------------------------------------------------------------ r5923 | vlefevre | 2009-02-05 11:42:26 +0000 (Thu, 05 Feb 2009) | 1 line Changed paths: M /trunk/mpfr.h mpfr.h: updated a comment concerning MPFR_DECL_INIT. ------------------------------------------------------------------------ r5922 | zimmerma | 2009-02-05 08:01:46 +0000 (Thu, 05 Feb 2009) | 2 lines Changed paths: M /trunk/mpf2mpfr.h M /trunk/tests/mpf_compat.h [mpf2mpfr.h] added mpz_set_f (reported by Francois Morain) ------------------------------------------------------------------------ r5921 | zimmerma | 2009-02-05 07:26:51 +0000 (Thu, 05 Feb 2009) | 3 lines Changed paths: M /trunk/TODO M /trunk/mpfr.texi [mpfr.texi] moved mpfr_inits, mpfr_inits2, mpfr_clears to supported functions [TODO] added new info about MPIR ------------------------------------------------------------------------ r5920 | zimmerma | 2009-02-04 19:46:50 +0000 (Wed, 04 Feb 2009) | 2 lines Changed paths: M /trunk/TODO [TODO] added info to distinguish GMP and MPIR ------------------------------------------------------------------------ r5893 | vlefevre | 2009-01-26 17:04:26 +0000 (Mon, 26 Jan 2009) | 1 line Changed paths: M /trunk/INSTALL M /trunk/VERSION M /trunk/configure.in M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/version.c Updated the version on the trunk. ------------------------------------------------------------------------ r5888 | zimmerma | 2009-01-25 12:50:42 +0000 (Sun, 25 Jan 2009) | 2 lines Changed paths: M /trunk/nightly-test [nightly-test] removed --disable-alloca (GMP option) ------------------------------------------------------------------------ r5887 | vlefevre | 2009-01-25 00:19:30 +0000 (Sun, 25 Jan 2009) | 1 line Changed paths: M /trunk/README.dev README.dev: --disable-alloca is a GMP configure option. ------------------------------------------------------------------------ r5886 | thevenyp | 2009-01-21 15:01:25 +0000 (Wed, 21 Jan 2009) | 3 lines Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: remove tests against libc's printf with "%a" (not in ISO C90), and with "%p" (implementation defined). [merge -c 5885 from branches/2.4] ------------------------------------------------------------------------ r5883 | vlefevre | 2009-01-21 12:43:57 +0000 (Wed, 21 Jan 2009) | 2 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: avoid a compiler bug under Mac OS X Tiger + Xcode (&x == &x is false) that makes tset_d fail; this problem was introduced in r5880. ------------------------------------------------------------------------ r5880 | vlefevre | 2009-01-20 22:12:11 +0000 (Tue, 20 Jan 2009) | 6 lines Changed paths: M /trunk/mpfr-impl.h M /trunk/tests/tset_ld.c Fixed bug reported by Chris Saunders: if _GMP_IEEE_FLOATS is defined, the build of tset_ld.c fails because DOUBLE_ISNAN expects a lvalue. * mpfr-impl.h: documented that for such macros, the argument must be a lvalue, and always make sure that it is a lvalue (so that a failure doesn't depend on the environment). * tests/tset_ld.c: fixed the bug. ------------------------------------------------------------------------ r5879 | vlefevre | 2009-01-20 15:08:45 +0000 (Tue, 20 Jan 2009) | 2 lines Changed paths: M /trunk/tests/tversion.c tests/tversion.c: be more tolerant when checking whether gmp.h version and libgmp version are the same (in case patch level is 0). ------------------------------------------------------------------------ r5878 | vlefevre | 2009-01-20 12:47:05 +0000 (Tue, 20 Jan 2009) | 2 lines Changed paths: M /trunk/tests/tset_ld.c tests/tset_ld.c: added explanation of NaN-related failures in case MPFR_NANISNAN is defined. ------------------------------------------------------------------------ r5875 | vlefevre | 2009-01-20 00:43:20 +0000 (Tue, 20 Jan 2009) | 1 line Changed paths: M /trunk/tests/tconst_log2.c M /trunk/tests/tests.c M /trunk/tests/texp.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tgmpop.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tset.c M /trunk/tests/tset_sj.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tstrtofr.c Added missing void's. ------------------------------------------------------------------------ r5874 | vlefevre | 2009-01-20 00:35:41 +0000 (Tue, 20 Jan 2009) | 2 lines Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: removed a blank line (for consistency with the 2.4 branch). ------------------------------------------------------------------------ r5873 | vlefevre | 2009-01-20 00:33:09 +0000 (Tue, 20 Jan 2009) | 1 line Changed paths: M /trunk/vasprintf.c vasprintf.c: deleted trailing spaces. ------------------------------------------------------------------------ r5869 | vlefevre | 2009-01-19 23:57:53 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: comment for DOUBLE_ISNAN with MPFR_NANISNAN defined. ------------------------------------------------------------------------ r5868 | vlefevre | 2009-01-19 23:42:33 +0000 (Mon, 19 Jan 2009) | 2 lines Changed paths: M /trunk/tests/tset_d.c tests/tset_d.c: fixed test of mpfr_set_d on -0 with gcc -ffast-math (the -d for d = 0.0 was giving 0.0, hence a spurious failure). ------------------------------------------------------------------------ r5867 | vlefevre | 2009-01-19 23:34:54 +0000 (Mon, 19 Jan 2009) | 4 lines Changed paths: M /trunk/mpfr-impl.h M /trunk/tests/tset_ld.c mpfr-impl.h: the DOUBLE_ISNAN macro wasn't working with gcc -ffast-math (at least on x86_64); fixed that by adding another test. tests/tset_ld.c: Isnan_ld wasn't working either; also the NaN test was incorrect. Now, the failure on NaN is correctly reported. ------------------------------------------------------------------------ r5866 | vlefevre | 2009-01-19 22:44:45 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tset_d.c tests/tcmp_d.c, tests/tcmp_ld.c, tests/tset_d.c: corrected message. ------------------------------------------------------------------------ r5865 | vlefevre | 2009-01-19 22:37:27 +0000 (Mon, 19 Jan 2009) | 4 lines Changed paths: M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tset_d.c tests/tcmp_d.c, tests/tcmp_ld.c, tests/tset_d.c: added explanations of NaN-related failures in case MPFR_NANISNAN is defined. Note: in tset_d.c, moved the NaN test before the signed-zero test to catch the failure on the NaN first. ------------------------------------------------------------------------ r5864 | vlefevre | 2009-01-19 22:23:26 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/acinclude.m4 acinclude.m4: improved warning message. ------------------------------------------------------------------------ r5863 | vlefevre | 2009-01-19 22:16:15 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/INSTALL INSTALL: updated "In case of problem". ------------------------------------------------------------------------ r5862 | vlefevre | 2009-01-19 22:12:09 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/acinclude.m4 acinclude.m4: added a warning message for the NAN != NAN test. ------------------------------------------------------------------------ r5860 | thevenyp | 2009-01-19 19:59:12 +0000 (Mon, 19 Jan 2009) | 3 lines Changed paths: M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tests.c M /trunk/tests/tset_d.c tcmp_d.c tset_d.c tcmp_ld.c: Remove tests with NaN when MPFR_NANISNAN is defined. tests.c: Add a warning in a comment that Isnan always returns 0 on systems where MPFR_NANISNAN is defined. ------------------------------------------------------------------------ r5855 | thevenyp | 2009-01-19 18:14:55 +0000 (Mon, 19 Jan 2009) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: do not support 't' when NPRINTF_T is defined, HAVE_STDINT_H -> _MPFR_H_HAVE_INTMAX_T. ------------------------------------------------------------------------ r5853 | thevenyp | 2009-01-19 17:05:13 +0000 (Mon, 19 Jan 2009) | 2 lines Changed paths: M /trunk/tests/tfprintf.c tests/tfprintf.c: renumber tests (there was two tests #9). ------------------------------------------------------------------------ r5852 | vlefevre | 2009-01-19 16:56:17 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/tests/tfprintf.c tests/tfprintf.c: %c takes an int argument, not a char (see C standard). ------------------------------------------------------------------------ r5851 | vlefevre | 2009-01-19 16:53:56 +0000 (Mon, 19 Jan 2009) | 4 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/tests/tsprintf.c tests/tprintf.c, tests/tsprintf.c: * %c takes an int argument, not a char (see C standard), even though this may be equivalent due to integer promotion. * Add void in prototypes of functions taking no arguments. ------------------------------------------------------------------------ r5844 | vlefevre | 2009-01-19 15:46:41 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated references to the GMP manual. ------------------------------------------------------------------------ r5843 | vlefevre | 2009-01-19 15:31:54 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: typo in comment. ------------------------------------------------------------------------ r5842 | vlefevre | 2009-01-19 15:30:52 +0000 (Mon, 19 Jan 2009) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: added .info extension in cross-references, to avoid the bug reported here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484740 ------------------------------------------------------------------------ r5841 | vlefevre | 2009-01-19 14:34:22 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: added a reference to a texinfo bug in a comment. ------------------------------------------------------------------------ r5840 | vlefevre | 2009-01-19 14:02:49 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: added missing @code{}. ------------------------------------------------------------------------ r5839 | vlefevre | 2009-01-19 14:01:13 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: don't -> do not, doesn't -> does not, won't -> will not. ------------------------------------------------------------------------ r5838 | vlefevre | 2009-01-19 13:58:50 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: improved Section "Format String". ------------------------------------------------------------------------ r5837 | thevenyp | 2009-01-19 13:51:45 +0000 (Mon, 19 Jan 2009) | 2 lines Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: check if native types are really processed by libc printf. ------------------------------------------------------------------------ r5836 | vlefevre | 2009-01-19 13:31:27 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/README.dev README.dev: no longer mentions HAVE_QUAD_T since it is no longer used. ------------------------------------------------------------------------ r5835 | thevenyp | 2009-01-19 12:50:08 +0000 (Mon, 19 Jan 2009) | 5 lines Changed paths: M /trunk/acinclude.m4 M /trunk/mpfr.texi M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/vasprintf.c mpfr.texi: Explicit list of type supported by mpfr_printf functions. acinclude.m4: Remove detection of type modifier 'q'. vasprintf.c: Remove support of type modifier 'q'. tests/tfprintf.c tests/tprintf.c: Remove tests with type modifier 'q'. ------------------------------------------------------------------------ r5834 | thevenyp | 2009-01-19 11:05:10 +0000 (Mon, 19 Jan 2009) | 3 lines Changed paths: M /trunk/INSTALL M /trunk/configure.in INSTALL: Warn that --with-gmp, --with-gmp-include/--with-gmp-lib, and --with-gmp-build options are mutually exclusive. configure.in: Check and fail if --with-gmp, --with-gmp-include/--with-gmp-lib, or --with-gmp-build are use simultaneously. ------------------------------------------------------------------------ r5833 | vlefevre | 2009-01-19 10:08:58 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/tests/tests.c tests/tests.c: include <sys/fpu.h> only if need be. ------------------------------------------------------------------------ r5831 | zimmerma | 2009-01-16 15:32:11 +0000 (Fri, 16 Jan 2009) | 3 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] made difference between mpfr_set_str and mpfr_strtofr clearer (after remark from Luis Rivera) ------------------------------------------------------------------------ r5830 | zimmerma | 2009-01-16 15:24:45 +0000 (Fri, 16 Jan 2009) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] fixed order -> kind (typo found by Luis Rivera, thanks) ------------------------------------------------------------------------ r5828 | thevenyp | 2009-01-16 13:35:04 +0000 (Fri, 16 Jan 2009) | 2 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c tfprintf.c tprintf.c: Test double with "%f" instead of "%e" so as to avoid failure due to exponent "e+000" on MS Windows. ------------------------------------------------------------------------ r5827 | thevenyp | 2009-01-16 13:06:27 +0000 (Fri, 16 Jan 2009) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/tests/tsprintf.c M /trunk/vasprintf.c tests/tfprintf.c tests/tsprintf.c tests/tprintf.c acinclude.m4 vasprintf.c: No longer check libc's printf. ------------------------------------------------------------------------ r5826 | thevenyp | 2009-01-16 09:53:15 +0000 (Fri, 16 Jan 2009) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/tests/tsprintf.c acinclude.m4: Check if %Ld specification is supported (not always the case with MS Windows) tests/tfprintf.c tests/tprintf.c tests/tsprintf.c: do not check %Ld specification when not available. ------------------------------------------------------------------------ r5825 | thevenyp | 2009-01-16 09:26:18 +0000 (Fri, 16 Jan 2009) | 3 lines Changed paths: M /trunk/fits_intmax.c M /trunk/fits_uintmax.c M /trunk/get_sj.c M /trunk/get_uj.c M /trunk/set_sj.c M /trunk/set_uj.c M /trunk/tests/tfits.c M /trunk/tests/tset_sj.c M /trunk/vasprintf.c get_uj.c get_sj.c tests/tset_sj.c tests/tfits.c fits_intmax.c fits_uintmax.c set_uj.c set_sj.c: make #include-s for intmax_t uniform. vasprintf.c: make #include-s for intmax_t uniform and use _MPFR_H_HAVE_INTMAX_T instead of HAVE_INTMAX_T. ------------------------------------------------------------------------ r5823 | thevenyp | 2009-01-15 13:24:35 +0000 (Thu, 15 Jan 2009) | 2 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c tfprintf.c tprintf.c: Remove tests with u_quad_t (on Solaris 10, quad_t exists but u_quad_t doesn't, bug reported by Michael Abshoff). ------------------------------------------------------------------------ r5822 | thevenyp | 2009-01-15 13:17:14 +0000 (Thu, 15 Jan 2009) | 2 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c tfprintf.c tprintf.c: Fix included headers, type intmax_t may be defined in inttypes.h or in stdint.h (see autoconf manual 5.6.1 Portability of Headers). ------------------------------------------------------------------------ r5821 | vlefevre | 2009-01-15 10:13:44 +0000 (Thu, 15 Jan 2009) | 1 line Changed paths: M /trunk/ChangeLog ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v". ------------------------------------------------------------------------ r5817 | vlefevre | 2009-01-15 02:22:45 +0000 (Thu, 15 Jan 2009) | 1 line Changed paths: M /trunk/vasprintf.c vasprintf.c: deleted trailing spaces. ------------------------------------------------------------------------ r5816 | vlefevre | 2009-01-15 02:21:57 +0000 (Thu, 15 Jan 2009) | 2 lines Changed paths: M /trunk/configure.in configure.in: be more tolerant when checking whether gmp.h version and libgmp version are the same (in case patch level is 0). ------------------------------------------------------------------------ r5814 | vlefevre | 2009-01-15 01:56:55 +0000 (Thu, 15 Jan 2009) | 3 lines Changed paths: M /trunk/BUGS M /trunk/ChangeLog M /trunk/FAQ.html M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/abort_prec_max.c M /trunk/acinclude.m4 M /trunk/acos.c M /trunk/acosh.c M /trunk/add.c M /trunk/add1.c M /trunk/add1sp.c M /trunk/add_d.c M /trunk/add_ui.c M /trunk/agm.c M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atan2.c M /trunk/atanh.c M /trunk/cache.c M /trunk/cbrt.c M /trunk/check.c M /trunk/clear.c M /trunk/clears.c M /trunk/cmp.c M /trunk/cmp2.c M /trunk/cmp_abs.c M /trunk/cmp_d.c M /trunk/cmp_ld.c M /trunk/cmp_si.c M /trunk/cmp_ui.c M /trunk/comparisons.c M /trunk/configure.in M /trunk/const_catalan.c M /trunk/const_euler.c M /trunk/const_log2.c M /trunk/const_pi.c M /trunk/constant.c M /trunk/copysign.c M /trunk/cos.c M /trunk/cosh.c M /trunk/cot.c M /trunk/coth.c M /trunk/csc.c M /trunk/csch.c M /trunk/d_div.c M /trunk/d_sub.c M /trunk/dim.c M /trunk/div.c M /trunk/div_2exp.c M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/div_d.c M /trunk/div_ui.c M /trunk/dump.c M /trunk/eint.c M /trunk/eq.c M /trunk/erf.c M /trunk/erfc.c M /trunk/exceptions.c M /trunk/exp.c M /trunk/exp10.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/extract.c M /trunk/factorial.c M /trunk/faq.xsl M /trunk/fits_intmax.c M /trunk/fits_s.h M /trunk/fits_sint.c M /trunk/fits_slong.c M /trunk/fits_sshort.c M /trunk/fits_u.h M /trunk/fits_uint.c M /trunk/fits_uintmax.c M /trunk/fits_ulong.c M /trunk/fits_ushort.c M /trunk/fma.c M /trunk/fms.c M /trunk/frac.c M /trunk/free_cache.c M /trunk/gamma.c M /trunk/gen_inverse.h M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_exp.c M /trunk/get_f.c M /trunk/get_ld.c M /trunk/get_patches.sh M /trunk/get_si.c M /trunk/get_sj.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/get_uj.c M /trunk/get_z.c M /trunk/get_z_exp.c M /trunk/gmp_op.c M /trunk/hypot.c M /trunk/init.c M /trunk/init2.c M /trunk/inits.c M /trunk/inits2.c M /trunk/inp_str.c M /trunk/int_ceil_log2.c M /trunk/isinf.c M /trunk/isinteger.c M /trunk/isnan.c M /trunk/isnum.c M /trunk/isqrt.c M /trunk/iszero.c M /trunk/jn.c M /trunk/jyn_asympt.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/log.c M /trunk/log10.c M /trunk/log1p.c M /trunk/log2.c M /trunk/logging.c M /trunk/mbench/Makefile M /trunk/mbench/generate.c M /trunk/mbench/mfv5-arprec.cc M /trunk/mbench/mfv5-cln.cc M /trunk/mbench/mfv5-crlibm.cc M /trunk/mbench/mfv5-libc.cc M /trunk/mbench/mfv5-lidia.cc M /trunk/mbench/mfv5-mpf.cc M /trunk/mbench/mfv5-mpfr.cc M /trunk/mbench/mfv5-ntl.cc M /trunk/mbench/mfv5-pari.cc M /trunk/mbench/mfv5-void.cc M /trunk/mbench/mfv5.cc M /trunk/mbench/mfv5.h M /trunk/mbench/mpfr-gfx.c M /trunk/mbench/mpfr-v4.c M /trunk/mbench/mpfr-v6.c M /trunk/mbench/timp.h M /trunk/minmax.c M /trunk/modf.c M /trunk/mp_clz_tab.c M /trunk/mparam_h.in M /trunk/mpf2mpfr.h M /trunk/mpfr-gmp.c M /trunk/mpfr-gmp.h M /trunk/mpfr-impl.h M /trunk/mpfr-thread.h M /trunk/mpfr.h M /trunk/mpn_exp.c M /trunk/mul.c M /trunk/mul_2exp.c M /trunk/mul_2si.c M /trunk/mul_2ui.c M /trunk/mul_d.c M /trunk/mul_ui.c M /trunk/mulders.c M /trunk/neg.c M /trunk/next.c M /trunk/out_str.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/powerof2.c M /trunk/print_raw.c M /trunk/print_rnd_mode.c M /trunk/printf.c M /trunk/random2.c M /trunk/rec_sqrt.c M /trunk/reldiff.c M /trunk/rem1.c M /trunk/rint.c M /trunk/root.c M /trunk/round_near_x.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/sec.c M /trunk/sech.c M /trunk/set.c M /trunk/set_d.c M /trunk/set_d64.c M /trunk/set_dfl_prec.c M /trunk/set_exp.c M /trunk/set_f.c M /trunk/set_inf.c M /trunk/set_ld.c M /trunk/set_nan.c M /trunk/set_prc_raw.c M /trunk/set_prec.c M /trunk/set_q.c M /trunk/set_rnd.c M /trunk/set_si.c M /trunk/set_si_2exp.c M /trunk/set_sj.c M /trunk/set_str.c M /trunk/set_str_raw.c M /trunk/set_ui.c M /trunk/set_ui_2exp.c M /trunk/set_uj.c M /trunk/set_z.c M /trunk/setmax.c M /trunk/setmin.c M /trunk/setsign.c M /trunk/sgn.c M /trunk/si_op.c M /trunk/signbit.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sinh_cosh.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/sqrt_ui.c M /trunk/stack_interface.c M /trunk/strtofr.c M /trunk/sub.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/sub_d.c M /trunk/sub_ui.c M /trunk/subnormal.c M /trunk/sum.c M /trunk/swap.c M /trunk/tan.c M /trunk/tanh.c M /trunk/tests/cmp_str.c 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/reuse.c M /trunk/tests/rnd_mode.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/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.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/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.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/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.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_ld_2exp.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/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/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/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/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.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_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/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/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/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.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/tuneup.c M /trunk/uceil_exp2.c M /trunk/uceil_log2.c M /trunk/ufloor_log2.c M /trunk/ui_div.c M /trunk/ui_pow.c M /trunk/ui_pow_ui.c M /trunk/ui_sub.c M /trunk/urandomb.c M /trunk/vasprintf.c M /trunk/version.c M /trunk/volatile.c M /trunk/yn.c M /trunk/zeta.c M /trunk/zeta_ui.c Copyright notice update: added 2009 with perl -pi -e 's/2008 Free Software/2008, 2009 Free Software/' **/*(^/) under zsh. ------------------------------------------------------------------------ r5813 | vlefevre | 2009-01-14 00:46:45 +0000 (Wed, 14 Jan 2009) | 1 line Changed paths: M /trunk/tests/tcan_round.c M /trunk/tests/texp.c M /trunk/tests/tfprintf.c M /trunk/tests/tgamma.c M /trunk/tests/tpow.c M /trunk/tests/tpow_z.c M /trunk/tests/tsqrt.c Fixed remaining printf format strings. ------------------------------------------------------------------------ r5812 | vlefevre | 2009-01-14 00:27:06 +0000 (Wed, 14 Jan 2009) | 1 line Changed paths: M /trunk/tests/tadd1sp.c M /trunk/tests/tsub1sp.c tests/tadd1sp.c, tests/tsub1sp.c: fixed function prototypes. ------------------------------------------------------------------------ r5811 | vlefevre | 2009-01-14 00:23:44 +0000 (Wed, 14 Jan 2009) | 1 line Changed paths: M /trunk/tests/teq.c M /trunk/tests/tests.c tests/teq.c, tests/tests.c: fixed printf format strings. ------------------------------------------------------------------------ r5810 | vlefevre | 2009-01-14 00:06:00 +0000 (Wed, 14 Jan 2009) | 1 line Changed paths: M /trunk/tests/tcmp2.c tests/tcmp2.c: fixed printf format strings. ------------------------------------------------------------------------ r5809 | vlefevre | 2009-01-13 23:59:17 +0000 (Tue, 13 Jan 2009) | 1 line Changed paths: M /trunk/tests/tset_str.c tests/tset_str.c: fixed printf format string. ------------------------------------------------------------------------ r5804 | vlefevre | 2009-01-12 17:30:00 +0000 (Mon, 12 Jan 2009) | 4 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: consistency changes and corrections concerning the "erange" flag (do not use @code{} as this is not an identifier, @emph{} is used as this is not an English word -- but @emph{} should probably be used too for the other flag names). ------------------------------------------------------------------------ r5803 | vlefevre | 2009-01-12 17:18:45 +0000 (Mon, 12 Jan 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: typo. ------------------------------------------------------------------------ r5801 | thevenyp | 2009-01-12 16:01:14 +0000 (Mon, 12 Jan 2009) | 5 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.in M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/vasprintf.c acinclude.m4: New macro MPFR_CHECK_PRINTF_SPEC looking for support of the "%jd", "%qd", and "%td" conversion specifications in printf and gmp_printf. configure.in: Call MPFR_CHECK_PRINTF_SPEC when we can link against a suitable gmp library and run test programs at compile time, otherwise (for instance, when cross compiling), everything is enable by default. vasprintf.c: Disable support for length modifiers not supported by libc's printf ('j' and 'q' for this time). tests/tprintf.c, tests/tfprintf.c: Disable tests for length modifiers not supported by gmp_printf ('j', 'q', and 't' for this time). ------------------------------------------------------------------------ r5800 | thevenyp | 2009-01-12 14:16:22 +0000 (Mon, 12 Jan 2009) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: Fix typo. ------------------------------------------------------------------------ r5795 | vlefevre | 2009-01-08 15:36:55 +0000 (Thu, 08 Jan 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: update to January 2009. ------------------------------------------------------------------------ r5794 | vlefevre | 2009-01-08 15:34:27 +0000 (Thu, 08 Jan 2009) | 2 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tsprintf.c Removed useless #include of gmp.h from tests/tfprintf.c and tests/tsprintf.c for consistency. ------------------------------------------------------------------------ r5788 | thevenyp | 2009-01-08 11:56:10 +0000 (Thu, 08 Jan 2009) | 4 lines Changed paths: M /trunk/mpfr.texi M /trunk/tests/tfprintf.c M /trunk/vasprintf.c tests/tfprintf.c: Make tests with 'M' specifier optional. mpfr.texi: Add a warning that gmp may not support 'M' specifier. vasprintf.c: Add warning comment about 'M' specifier. ------------------------------------------------------------------------ r5787 | thevenyp | 2009-01-08 11:52:52 +0000 (Thu, 08 Jan 2009) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: Fix wrong definition of rounding specifiers. ------------------------------------------------------------------------ r5786 | vlefevre | 2008-12-30 13:57:11 +0000 (Tue, 30 Dec 2008) | 1 line Changed paths: M /trunk/out_str.c out_str.c: added assert (check that base is in the required range). ------------------------------------------------------------------------ r5785 | vlefevre | 2008-12-26 14:10:24 +0000 (Fri, 26 Dec 2008) | 1 line Changed paths: M /trunk/README.dev README.dev: suggest "-Wformat=2". ------------------------------------------------------------------------ r5784 | vlefevre | 2008-12-26 14:02:55 +0000 (Fri, 26 Dec 2008) | 1 line Changed paths: M /trunk/zeta.c zeta.c: fixed types for printf when DEBUG is defined. ------------------------------------------------------------------------ r5783 | vlefevre | 2008-12-26 13:57:32 +0000 (Fri, 26 Dec 2008) | 2 lines Changed paths: M /trunk/sub1sp.c sub1sp.c: fixed types for printf when WANT_ASSERT >= 2 and when DEBUG is defined. ------------------------------------------------------------------------ r5782 | vlefevre | 2008-12-26 13:50:14 +0000 (Fri, 26 Dec 2008) | 1 line Changed paths: M /trunk/sub1.c sub1.c: fixed types for printf when DEBUG is defined. ------------------------------------------------------------------------ r5781 | vlefevre | 2008-12-26 13:44:28 +0000 (Fri, 26 Dec 2008) | 2 lines Changed paths: M /trunk/set_d64.c set_d64.c: set T[] to unsigned int (instead of int) since its values are printed with %u. ------------------------------------------------------------------------ r5780 | vlefevre | 2008-12-26 13:36:13 +0000 (Fri, 26 Dec 2008) | 1 line Changed paths: M /trunk/add1sp.c add1sp.c: fixed types for printf when DEBUG is defined. ------------------------------------------------------------------------ r5779 | vlefevre | 2008-12-26 13:33:05 +0000 (Fri, 26 Dec 2008) | 2 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: fixed MPFR_UNSIGNED_MINUS_MODULO logic and added missing parentheses. ------------------------------------------------------------------------ r5778 | vlefevre | 2008-12-26 13:06:14 +0000 (Fri, 26 Dec 2008) | 1 line Changed paths: M /trunk/div.c div.c: fixed types for fprintf when DEBUG and/or DEBUG2 is defined. ------------------------------------------------------------------------ r5777 | vlefevre | 2008-12-26 12:56:09 +0000 (Fri, 26 Dec 2008) | 1 line Changed paths: M /trunk/div.c div.c: fixed #ifdef. ------------------------------------------------------------------------ r5775 | vlefevre | 2008-12-26 12:39:03 +0000 (Fri, 26 Dec 2008) | 2 lines Changed paths: M /trunk/round_p.c round_p.c: fixed types for fprintf when WANT_ASSERT >= 2 (since mp_prec_t is unsigned, it's better to use unsigned long). ------------------------------------------------------------------------ r5774 | vlefevre | 2008-12-26 12:02:07 +0000 (Fri, 26 Dec 2008) | 1 line Changed paths: M /trunk/round_p.c round_p.c: fixed types for fprintf when WANT_ASSERT >= 2. ------------------------------------------------------------------------ r5772 | zimmerma | 2008-12-22 10:40:24 +0000 (Mon, 22 Dec 2008) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.tex] improve documentation of %P ------------------------------------------------------------------------ r5768 | vlefevre | 2008-12-18 15:59:55 +0000 (Thu, 18 Dec 2008) | 1 line Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c Deleted trailing spaces. ------------------------------------------------------------------------ r5762 | thevenyp | 2008-12-17 16:07:32 +0000 (Wed, 17 Dec 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: clean-up code, improve comment, and put optional tests in tail so that they fail last. ------------------------------------------------------------------------ r5761 | thevenyp | 2008-12-17 15:55:20 +0000 (Wed, 17 Dec 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: Add two regression tests. ------------------------------------------------------------------------ r5760 | thevenyp | 2008-12-16 15:56:42 +0000 (Tue, 16 Dec 2008) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/mpfr.texi M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/vasprintf.c acinclude.m4, vasprintf.c, tests/tfprintf.c, tests/tprintf.c, mpfr.texi: quad_t support ------------------------------------------------------------------------ r5759 | thevenyp | 2008-12-16 15:51:59 +0000 (Tue, 16 Dec 2008) | 4 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c tests/tfprintf.c: code clean-up and output improvement. tests/tprintf.c: code clean-up. Note that unsigned long long variable is not set to 1 instead of -1 which was architecture dependent. ------------------------------------------------------------------------ r5758 | vlefevre | 2008-12-16 13:56:28 +0000 (Tue, 16 Dec 2008) | 3 lines Changed paths: M /trunk/tests/tprintf.c tests/tprintf.c: * stdout_redirect is a boolean (i.e., 0 or 1). * output freopen(..., stdout) error message to stderr. ------------------------------------------------------------------------ r5757 | thevenyp | 2008-12-16 13:10:05 +0000 (Tue, 16 Dec 2008) | 3 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c tfprintf.c: more user-friendly messages. tprintf.c: more user-friendly messages. Warning: because stdout might be redirected, error messages are printed to stderr. ------------------------------------------------------------------------ r5756 | vlefevre | 2008-12-15 23:38:21 +0000 (Mon, 15 Dec 2008) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: more explanations on the precision field for mpfr_printf. ------------------------------------------------------------------------ r5755 | vlefevre | 2008-12-15 17:37:05 +0000 (Mon, 15 Dec 2008) | 1 line Changed paths: M /trunk/INSTALL M /trunk/tests/tsprintf.c untabify and remove trailing spaces ------------------------------------------------------------------------ r5754 | thevenyp | 2008-12-15 17:07:40 +0000 (Mon, 15 Dec 2008) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: more explanations on the precision field. ------------------------------------------------------------------------ r5753 | thevenyp | 2008-12-15 16:19:26 +0000 (Mon, 15 Dec 2008) | 5 lines Changed paths: M /trunk/acinclude.m4 M /trunk/mpfr.texi M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/vasprintf.c mpfr.texi: Clearly mention that the length modifier 'q' is unsupported by mpfr-*printf. vasprintf.c: Do not take quad_t as a long long but as an insupported length modifier. acinclude.m4: Remove check for quad_t. tests/tprintf.c tests/tfprintf.c: Remove tests with 'q' length modifier. ------------------------------------------------------------------------ r5751 | vlefevre | 2008-12-15 14:52:54 +0000 (Mon, 15 Dec 2008) | 1 line Changed paths: M /trunk/tests/tstrtofr.c tests/tstrtofr.c: fixed a test (in case |res| > 1). ------------------------------------------------------------------------ r5750 | vlefevre | 2008-12-15 14:35:01 +0000 (Mon, 15 Dec 2008) | 1 line Changed paths: M /trunk/tests/tstrtofr.c tests/tstrtofr.c: fixed alignment bug in error message. ------------------------------------------------------------------------ r5749 | zimmerma | 2008-12-15 13:44:25 +0000 (Mon, 15 Dec 2008) | 2 lines Changed paths: M /trunk/nightly-test [nightly-test] added MPFR_CHECK_LIBC_PRINTF ------------------------------------------------------------------------ r5748 | thevenyp | 2008-12-15 13:43:52 +0000 (Mon, 15 Dec 2008) | 4 lines Changed paths: M /trunk/README.dev M /trunk/acinclude.m4 M /trunk/vasprintf.c acinclude.m4: Check for quad_t. vasprintf.c: Accept length modifier 'q' if HAVE_QUAD_T is defined (instead of HAVE_LONG_LONG). README.dev: Add notice for new HAVE_QUAD_T macro. ------------------------------------------------------------------------ r5747 | zimmerma | 2008-12-15 13:43:40 +0000 (Mon, 15 Dec 2008) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] added warning about usage of mpfr_init ------------------------------------------------------------------------ r5746 | vlefevre | 2008-12-15 13:39:35 +0000 (Mon, 15 Dec 2008) | 1 line Changed paths: M /trunk/tests/tprintf.c tests/tprintf.c: _MPFR_H_HAVE_INTMAX_T -> HAVE_STDINT_H for <stdint.h>. ------------------------------------------------------------------------ r5745 | thevenyp | 2008-12-15 13:33:22 +0000 (Mon, 15 Dec 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: Tests against libc's sprintf function are no more executed unless the MPFR_CHECK_LIBC_PRINTF is defined. ------------------------------------------------------------------------ r5744 | thevenyp | 2008-12-15 13:27:49 +0000 (Mon, 15 Dec 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: move bugs 20080610 and 20081214 outside the function random_double. ------------------------------------------------------------------------ r5743 | vlefevre | 2008-12-15 12:49:58 +0000 (Mon, 15 Dec 2008) | 1 line Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: completed comment about the sign of a null exponent. ------------------------------------------------------------------------ r5742 | vlefevre | 2008-12-15 12:44:09 +0000 (Mon, 15 Dec 2008) | 2 lines Changed paths: M /trunk/INSTALL INSTALL: added a note saying the L modifier was added in C89 (source: C99 rationale, Section 7.19.6.1). ------------------------------------------------------------------------ r5741 | zimmerma | 2008-12-15 12:17:46 +0000 (Mon, 15 Dec 2008) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] more Windows-related changes ------------------------------------------------------------------------ r5740 | zimmerma | 2008-12-15 11:02:17 +0000 (Mon, 15 Dec 2008) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] update on Windows (from Brian Gladman) ------------------------------------------------------------------------ r5739 | zimmerma | 2008-12-15 09:47:46 +0000 (Mon, 15 Dec 2008) | 2 lines Changed paths: M /trunk/configure.in [configure.in] removed useless comment ------------------------------------------------------------------------ r5738 | vlefevre | 2008-12-14 15:28:17 +0000 (Sun, 14 Dec 2008) | 1 line Changed paths: M /trunk/INSTALL INSTALL: references to ISO (international) instead of ANSI (American). ------------------------------------------------------------------------ r5737 | vlefevre | 2008-12-14 15:18:54 +0000 (Sun, 14 Dec 2008) | 1 line Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: corrected a comment. ------------------------------------------------------------------------ r5736 | zimmerma | 2008-12-14 09:43:40 +0000 (Sun, 14 Dec 2008) | 3 lines Changed paths: M /trunk/printf.c M /trunk/vasprintf.c [printf.c,vasprintf.c] include config.h if HAVE_CONFIG_H is defined, to solve problem noticed by Brian Gladman ------------------------------------------------------------------------ r5735 | vlefevre | 2008-12-14 09:37:05 +0000 (Sun, 14 Dec 2008) | 1 line Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: untabified. ------------------------------------------------------------------------ r5734 | zimmerma | 2008-12-14 09:27:08 +0000 (Sun, 14 Dec 2008) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] added hint for using the MinGW runtime ------------------------------------------------------------------------ r5733 | zimmerma | 2008-12-14 08:36:37 +0000 (Sun, 14 Dec 2008) | 3 lines Changed paths: M /trunk/tests/tsprintf.c [tsprintf.c] added new hard-coded test (needs work to overcome error in system asprintf) ------------------------------------------------------------------------ r5732 | zimmerma | 2008-12-14 08:24:42 +0000 (Sun, 14 Dec 2008) | 3 lines Changed paths: M /trunk/tests/tsprintf.c [tsprintf.c] fixed hard-coded test (spec was missing), and print values of xi,yi,spec in case of error ------------------------------------------------------------------------ r5731 | vlefevre | 2008-12-14 00:05:20 +0000 (Sun, 14 Dec 2008) | 1 line Changed paths: M /trunk/INSTALL INSTALL: corrections on r5730. ------------------------------------------------------------------------ r5730 | zimmerma | 2008-12-13 10:19:25 +0000 (Sat, 13 Dec 2008) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] added notes on Windows Vista 64 problem ------------------------------------------------------------------------ r5727 | vlefevre | 2008-12-12 15:00:33 +0000 (Fri, 12 Dec 2008) | 1 line Changed paths: M /trunk/README README: added "compile" since it is distributed in the tarball. ------------------------------------------------------------------------ r5723 | vlefevre | 2008-12-12 14:07:19 +0000 (Fri, 12 Dec 2008) | 2 lines Changed paths: M /trunk Added "compile" to svn:ignore property (this file is installed by "automake --add-missing" due to AM_PROG_CC_C_O, added in r5710). ------------------------------------------------------------------------ r5722 | vlefevre | 2008-12-12 14:01:33 +0000 (Fri, 12 Dec 2008) | 1 line Changed paths: M /trunk/vasprintf.c vasprintf.c: avoid an abort if field width or precision is > INT_MAX. ------------------------------------------------------------------------ r5721 | thevenyp | 2008-12-12 14:00:33 +0000 (Fri, 12 Dec 2008) | 2 lines Changed paths: M /trunk/tests/tests.c M /trunk/tests/tgeneric.c M /trunk/tests/tset_ld.c tests.c, tset_ld.c, tgeneric.c: Code clean-up based on icc warnings (as in r5492): Use #ifdef BOOL_MACRO instead of #if BOOL_MACRO. ------------------------------------------------------------------------ r5720 | thevenyp | 2008-12-12 13:54:37 +0000 (Fri, 12 Dec 2008) | 2 lines Changed paths: M /trunk/configure.in configure.in: remove line 'GCC=' in icc tests which seems to confuse libtool. ------------------------------------------------------------------------ r5719 | vlefevre | 2008-12-12 12:54:10 +0000 (Fri, 12 Dec 2008) | 1 line Changed paths: M /trunk/set_ld.c set_ld.c: rewrote exp computation. ------------------------------------------------------------------------ r5718 | vlefevre | 2008-12-12 12:12:11 +0000 (Fri, 12 Dec 2008) | 1 line Changed paths: M /trunk/vasprintf.c vasprintf.c: avoid a possible gcc 4.1.2 bug with -ftrapv. ------------------------------------------------------------------------ r5717 | vlefevre | 2008-12-12 11:57:37 +0000 (Fri, 12 Dec 2008) | 1 line Changed paths: M /trunk/vasprintf.c vasprintf.c: revert incorrect change in r5713. ------------------------------------------------------------------------ r5716 | zimmerma | 2008-12-12 11:47:52 +0000 (Fri, 12 Dec 2008) | 8 lines Changed paths: M /trunk/set_ld.c [set_ld.c] fixed problem with CC=g++ on 64-bit computer: $ g++ -v Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release x86_64-linux-gnu Thread model: posix gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) ------------------------------------------------------------------------ r5713 | zimmerma | 2008-12-12 10:05:49 +0000 (Fri, 12 Dec 2008) | 3 lines Changed paths: M /trunk/vasprintf.c [vasprintf.c] patch to MPFR_ASSERTN(...) call to avoid failure with gcc -ftrapv with gcc 4.1.2 (probably compiler error) ------------------------------------------------------------------------ r5712 | thevenyp | 2008-12-12 09:20:14 +0000 (Fri, 12 Dec 2008) | 2 lines Changed paths: M /trunk/tests/Makefile.am M /trunk/tests/tmul.c Makefile.am, tmul.c: Rename macro __SRCDIR to MPFR_SRCDIR. ------------------------------------------------------------------------ r5710 | thevenyp | 2008-12-11 15:20:56 +0000 (Thu, 11 Dec 2008) | 4 lines Changed paths: M /trunk/configure.in M /trunk/tests/Makefile.am M /trunk/tests/tmul.c configure.in: Add AM_PROG_CC_C_O needed by tmul_CPPFLAGS. tests/Makefile.am: Add tmul.dat in EXTRA_DIST and pass srcdir to tmul.c through tmul_CPPFLAGS. tests/tmul.c: Add path to tmul.dat. ------------------------------------------------------------------------ r5703 | vlefevre | 2008-12-09 16:46:13 +0000 (Tue, 09 Dec 2008) | 2 lines 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>. ------------------------------------------------------------------------ r5702 | vlefevre | 2008-12-08 16:02:29 +0000 (Mon, 08 Dec 2008) | 1 line Changed paths: M /trunk/README README: CVS -> Subversion. ------------------------------------------------------------------------ r5701 | vlefevre | 2008-12-03 12:40:01 +0000 (Wed, 03 Dec 2008) | 1 line Changed paths: M /trunk/configure.in configure.in: format --enable-decimal-float description on 80 columns. ------------------------------------------------------------------------ r5700 | vlefevre | 2008-12-03 12:38:06 +0000 (Wed, 03 Dec 2008) | 2 lines Changed paths: M /trunk/configure.in configure.in: for --enable-thread-safe, say that the system must support it (like what has been done for --enable-logging, just above). ------------------------------------------------------------------------ r5699 | vlefevre | 2008-12-03 12:31:28 +0000 (Wed, 03 Dec 2008) | 1 line Changed paths: M /trunk/INSTALL INSTALL: added details about ---enable-thread-safe and TLS support. ------------------------------------------------------------------------ r5698 | vlefevre | 2008-11-28 12:09:08 +0000 (Fri, 28 Nov 2008) | 2 lines Changed paths: M /trunk/mpfr.texi M /trunk/urandomb.c urandomb.c: added comments and cleaned up code. mpfr.texi: improved description of mpfr_urandomb. ------------------------------------------------------------------------ r5697 | vlefevre | 2008-11-26 14:39:22 +0000 (Wed, 26 Nov 2008) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: changed URL added in r5696 to avoid a redirection. ------------------------------------------------------------------------ r5696 | zimmerma | 2008-11-26 14:22:37 +0000 (Wed, 26 Nov 2008) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] added official url on ftp.gnu.org ------------------------------------------------------------------------ r5695 | vlefevre | 2008-11-26 09:16:40 +0000 (Wed, 26 Nov 2008) | 1 line Changed paths: M /trunk/tests/tmul.c tests/tmul.c: removed useless variable. ------------------------------------------------------------------------ r5694 | vlefevre | 2008-11-26 09:14:38 +0000 (Wed, 26 Nov 2008) | 1 line Changed paths: M /trunk/tests/tmul.c tests/tmul.c: made reading a string from file more robust. ------------------------------------------------------------------------ r5693 | zimmerma | 2008-11-26 08:14:13 +0000 (Wed, 26 Nov 2008) | 4 lines Changed paths: M /trunk/tests/tmul.c A /trunk/tests/tmul.dat [tmul.c] moved long strings to file tmul.dat, so that gcc -ansi -pedantic-errors works (ISO C90 does not support strings of length > 509) ------------------------------------------------------------------------ r5692 | vlefevre | 2008-11-26 00:55:32 +0000 (Wed, 26 Nov 2008) | 4 lines Changed paths: M /trunk/tests/tinternals.c tests/tinternals.c: updated tests for guaranteed C90 support, e.g. with gcc -ansi -pedantic-errors (avoid error "string length 'nnn' is greater than the length '509' ISO C90 compilers are required to support" because expression for #expr in ASSERT_FAIL macro is too long). ------------------------------------------------------------------------ r5691 | vlefevre | 2008-11-26 00:48:12 +0000 (Wed, 26 Nov 2008) | 1 line Changed paths: M /trunk/README.dev README.dev: in Section "To make a release", suggest -pedantic-errors. ------------------------------------------------------------------------ r5690 | vlefevre | 2008-11-22 15:49:07 +0000 (Sat, 22 Nov 2008) | 5 lines Changed paths: M /trunk/acosh.c M /trunk/agm.c M /trunk/atan.c M /trunk/cos.c M /trunk/fma.c M /trunk/fms.c M /trunk/gamma.c M /trunk/get_str.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/modf.c M /trunk/mpfr-impl.h M /trunk/mul.c M /trunk/mulders.c M /trunk/rec_sqrt.c M /trunk/root.c M /trunk/tanh.c M /trunk/vasprintf.c M /trunk/yn.c r5689 undone: some casts were incorrect (mp_exp_t may be greater than mp_prec_t, so that casting a mp_exp_t into a mp_prec_t can introduce a bug). There may be bugs in some cases, but the casts fix the symptom, not the bug (unless one casts the unsigned type to a signed type that is *strictly* larger, which is not possible here). ------------------------------------------------------------------------ r5689 | zimmerma | 2008-11-22 09:55:42 +0000 (Sat, 22 Nov 2008) | 2 lines Changed paths: M /trunk/acosh.c M /trunk/agm.c M /trunk/atan.c M /trunk/cos.c M /trunk/fma.c M /trunk/fms.c M /trunk/gamma.c M /trunk/get_str.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/modf.c M /trunk/mpfr-impl.h M /trunk/mul.c M /trunk/mulders.c M /trunk/rec_sqrt.c M /trunk/root.c M /trunk/tanh.c M /trunk/vasprintf.c M /trunk/yn.c fixed some signed/unsigned warnings with g++ (please review) ------------------------------------------------------------------------ r5688 | zimmerma | 2008-11-21 12:53:47 +0000 (Fri, 21 Nov 2008) | 3 lines Changed paths: M /trunk/nightly-test [nightly-test] removed MPFR_CHECK_ALL (no longer used) added possibility to choose compiler (e.g., g++) ------------------------------------------------------------------------ r5687 | zimmerma | 2008-11-21 12:44:39 +0000 (Fri, 21 Nov 2008) | 2 lines Changed paths: M /trunk/README.dev [README.dev] better check ./configure CC=g++ ------------------------------------------------------------------------ r5686 | thevenyp | 2008-11-21 10:07:53 +0000 (Fri, 21 Nov 2008) | 2 lines Changed paths: M /trunk/vasprintf.c Fix inclusion order: the limit of integer types like size_t are defined in C++ only when __STDC_LIMIT_MACROS is defined before <stdint.h> is included (from ISO C99 7.18.3). ------------------------------------------------------------------------ r5685 | vlefevre | 2008-11-21 08:27:07 +0000 (Fri, 21 Nov 2008) | 1 line Changed paths: M /trunk/README README: added m4 directory (since it is distributed in the tarball). ------------------------------------------------------------------------ r5684 | vlefevre | 2008-11-20 19:29:58 +0000 (Thu, 20 Nov 2008) | 1 line Changed paths: M /trunk/Makefile.am Forgot to update Makefile.am too (for r5680). ------------------------------------------------------------------------ r5683 | vlefevre | 2008-11-20 19:20:18 +0000 (Thu, 20 Nov 2008) | 1 line Changed paths: M /trunk/configure.in configure.in: added AC_CONFIG_MACRO_DIR([m4]) for r5680. ------------------------------------------------------------------------ r5682 | zimmerma | 2008-11-20 17:14:35 +0000 (Thu, 20 Nov 2008) | 2 lines Changed paths: M /trunk/mpfr-gmp.c [mpfr-gmp.c] added comment on recent bug fix on MacOS ------------------------------------------------------------------------ r5681 | zimmerma | 2008-11-20 10:53:02 +0000 (Thu, 20 Nov 2008) | 3 lines Changed paths: M /trunk/tests/texp.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tpow_all.c [tests] changes to make compilation work with g++ (only fixed errors, several warnings remain) ------------------------------------------------------------------------ r5680 | vlefevre | 2008-11-20 10:42:50 +0000 (Thu, 20 Nov 2008) | 1 line Changed paths: A /trunk/m4 A /trunk/m4/size_max.m4 Added m4/size_max.m4 file (from gettext). ------------------------------------------------------------------------ r5679 | vlefevre | 2008-11-20 10:26:32 +0000 (Thu, 20 Nov 2008) | 1 line Changed paths: M /trunk/README.dev README.dev: paragraph on tentative definitions. ------------------------------------------------------------------------ r5678 | zimmerma | 2008-11-20 09:13:09 +0000 (Thu, 20 Nov 2008) | 3 lines Changed paths: M /trunk/mpfr-gmp.c [mpfr-gmp.c] replace tentative definitions by real definitions, solves configure problems with mpc (see http://lists.gforge.inria.fr/pipermail/mpc-discuss/2008-November/000048.html) ------------------------------------------------------------------------ r5677 | vlefevre | 2008-11-18 01:01:33 +0000 (Tue, 18 Nov 2008) | 1 line Changed paths: M /trunk/hypot.c hypot.c: updated a comment. ------------------------------------------------------------------------ r5676 | vlefevre | 2008-11-18 00:40:13 +0000 (Tue, 18 Nov 2008) | 1 line Changed paths: M /trunk/tests/thypot.c tests/thypot.c: added a test. ------------------------------------------------------------------------ r5675 | vlefevre | 2008-11-18 00:21:09 +0000 (Tue, 18 Nov 2008) | 1 line Changed paths: M /trunk/hypot.c hypot.c: simplified an expression; cosmetic changes. ------------------------------------------------------------------------ r5674 | thevenyp | 2008-11-17 08:43:59 +0000 (Mon, 17 Nov 2008) | 2 lines Changed paths: M /trunk/hypot.c hypot.c: Fix underflow problem when diff_exp<=MPFR_EMAX_MAX-2 using fma (provided that mpfr_fma is immune to it). ------------------------------------------------------------------------ r5673 | thevenyp | 2008-11-17 08:40:52 +0000 (Mon, 17 Nov 2008) | 2 lines Changed paths: M /trunk/algorithms.tex algorithms.tex: Fix one typo in dilogarithm section. ------------------------------------------------------------------------ r5672 | vlefevre | 2008-11-12 14:53:07 +0000 (Wed, 12 Nov 2008) | 1 line Changed paths: M /trunk/NEWS M /trunk/mpfr.texi mpfr.texi, NEWS: update concerning mpfr_eq. ------------------------------------------------------------------------ r5671 | vlefevre | 2008-11-12 14:09:45 +0000 (Wed, 12 Nov 2008) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: improved mpfr_eq documentation. ------------------------------------------------------------------------ r5670 | thevenyp | 2008-11-12 12:33:37 +0000 (Wed, 12 Nov 2008) | 2 lines Changed paths: M /trunk/tests/tstrtofr.c tests/tstrtofr.c: Add more information when test bug20081028 fails. ------------------------------------------------------------------------ r5669 | thevenyp | 2008-11-07 10:19:42 +0000 (Fri, 07 Nov 2008) | 3 lines Changed paths: M /trunk/strtofr.c M /trunk/tests/tstrtofr.c strtofr.c: Replace non-zero digits look up by a simpler test, using the fact that parse_string did remove zeros at end of pstr->mant. tests/tstrtofr.c: Add other test values around 1 for the bug20081028 non regression test. ------------------------------------------------------------------------ r5668 | vlefevre | 2008-11-07 01:12:36 +0000 (Fri, 07 Nov 2008) | 1 line Changed paths: M /trunk/strtofr.c strtofr.c: improved style ("exact" is a boolean). ------------------------------------------------------------------------ r5667 | zimmerma | 2008-11-06 16:53:17 +0000 (Thu, 06 Nov 2008) | 4 lines Changed paths: M /trunk/strtofr.c M /trunk/tests/tstrtofr.c [strtofr.c] new patch (ternary value was still wrong in some cases), should be ok now [tstrtofr.c] added new test ------------------------------------------------------------------------ r5666 | zimmerma | 2008-11-05 17:10:10 +0000 (Wed, 05 Nov 2008) | 2 lines Changed paths: M /trunk/mpn_exp.c M /trunk/strtofr.c [strtofr.c] review of patch added in revision 5660, and added comments ------------------------------------------------------------------------ r5665 | vlefevre | 2008-10-29 14:31:20 +0000 (Wed, 29 Oct 2008) | 1 line Changed paths: M /trunk/NEWS Updated NEWS file. ------------------------------------------------------------------------ r5662 | vlefevre | 2008-10-29 13:52:17 +0000 (Wed, 29 Oct 2008) | 2 lines Changed paths: M /trunk/strtofr.c strtofr.c: in r5660, as pstr_size and pstr->prec both have type size_t, changed the type of i from mp_size_t to size_t for consistency. ------------------------------------------------------------------------ r5661 | vlefevre | 2008-10-29 13:43:14 +0000 (Wed, 29 Oct 2008) | 3 lines Changed paths: M /trunk/strtofr.c strtofr.c: reverted the change done in r3008, which led to a trivial assertion. I think the goal is to make sure that pstr_size (of type size_t) can be represented in a mp_exp_t (as required in the code). ------------------------------------------------------------------------ r5660 | thevenyp | 2008-10-29 12:05:11 +0000 (Wed, 29 Oct 2008) | 2 lines Changed paths: M /trunk/strtofr.c strtofr.c: fix bug '[#6604] incorrect directed rounding in mpfr_strtofr'. ------------------------------------------------------------------------ r5659 | vlefevre | 2008-10-29 02:31:21 +0000 (Wed, 29 Oct 2008) | 3 lines Changed paths: M /trunk/configure.in 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 ------------------------------------------------------------------------ r5658 | vlefevre | 2008-10-29 01:21:29 +0000 (Wed, 29 Oct 2008) | 2 lines Changed paths: M /trunk/tests/tstrtofr.c tests/tstrtofr.c: added bug20081028 (bug found by Christoph Lauter in mpfr_set_str; this is the corresponding bug in mpfr_strtofr). ------------------------------------------------------------------------ r5657 | vlefevre | 2008-10-29 01:10:36 +0000 (Wed, 29 Oct 2008) | 1 line Changed paths: M /trunk/tests/tstrtofr.c tests/tstrtofr.c: corrections related to C usage. ------------------------------------------------------------------------ r5656 | vlefevre | 2008-10-29 00:59:00 +0000 (Wed, 29 Oct 2008) | 1 line Changed paths: M /trunk/tests/tset_str.c tests/tset_str.c: added bug20081028 (bug found by Christoph Lauter). ------------------------------------------------------------------------ r5655 | vlefevre | 2008-10-27 03:55:33 +0000 (Mon, 27 Oct 2008) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated @dircategory (request by Karl Berry). ------------------------------------------------------------------------ r5654 | vlefevre | 2008-10-27 03:27:10 +0000 (Mon, 27 Oct 2008) | 1 line Changed paths: M /trunk/BUGS M /trunk/FAQ.html M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/abort_prec_max.c M /trunk/acinclude.m4 M /trunk/acos.c M /trunk/acosh.c M /trunk/add.c M /trunk/add1.c M /trunk/add1sp.c M /trunk/add_d.c M /trunk/add_ui.c M /trunk/agm.c M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atan2.c M /trunk/atanh.c M /trunk/cache.c M /trunk/cbrt.c M /trunk/check.c M /trunk/clear.c M /trunk/clears.c M /trunk/cmp.c M /trunk/cmp2.c M /trunk/cmp_abs.c M /trunk/cmp_d.c M /trunk/cmp_ld.c M /trunk/cmp_si.c M /trunk/cmp_ui.c M /trunk/comparisons.c M /trunk/configure.in M /trunk/const_catalan.c M /trunk/const_euler.c M /trunk/const_log2.c M /trunk/const_pi.c M /trunk/constant.c M /trunk/copysign.c M /trunk/cos.c M /trunk/cosh.c M /trunk/cot.c M /trunk/coth.c M /trunk/csc.c M /trunk/csch.c M /trunk/d_div.c M /trunk/d_sub.c M /trunk/dim.c M /trunk/div.c M /trunk/div_2exp.c M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/div_d.c M /trunk/div_ui.c M /trunk/dump.c M /trunk/eint.c M /trunk/eq.c M /trunk/erf.c M /trunk/erfc.c M /trunk/exceptions.c M /trunk/exp.c M /trunk/exp10.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/extract.c M /trunk/factorial.c M /trunk/faq.xsl M /trunk/fits_intmax.c M /trunk/fits_s.h M /trunk/fits_sint.c M /trunk/fits_slong.c M /trunk/fits_sshort.c M /trunk/fits_u.h M /trunk/fits_uint.c M /trunk/fits_uintmax.c M /trunk/fits_ulong.c M /trunk/fits_ushort.c M /trunk/fma.c M /trunk/fms.c M /trunk/frac.c M /trunk/free_cache.c M /trunk/gamma.c M /trunk/gen_inverse.h M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_exp.c M /trunk/get_f.c M /trunk/get_ld.c M /trunk/get_patches.sh M /trunk/get_si.c M /trunk/get_sj.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/get_uj.c M /trunk/get_z.c M /trunk/get_z_exp.c M /trunk/gmp_op.c M /trunk/hypot.c M /trunk/init.c M /trunk/init2.c M /trunk/inits.c M /trunk/inits2.c M /trunk/inp_str.c M /trunk/int_ceil_log2.c M /trunk/isinf.c M /trunk/isinteger.c M /trunk/isnan.c M /trunk/isnum.c M /trunk/isqrt.c M /trunk/iszero.c M /trunk/jn.c M /trunk/jyn_asympt.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/log.c M /trunk/log10.c M /trunk/log1p.c M /trunk/log2.c M /trunk/logging.c M /trunk/minmax.c M /trunk/modf.c M /trunk/mp_clz_tab.c M /trunk/mparam_h.in M /trunk/mpf2mpfr.h M /trunk/mpfr-gmp.c M /trunk/mpfr-gmp.h M /trunk/mpfr-impl.h M /trunk/mpfr-thread.h M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/mpfrlint M /trunk/mpn_exp.c M /trunk/mul.c M /trunk/mul_2exp.c M /trunk/mul_2si.c M /trunk/mul_2ui.c M /trunk/mul_d.c M /trunk/mul_ui.c M /trunk/mulders.c M /trunk/neg.c M /trunk/next.c M /trunk/out_str.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/powerof2.c M /trunk/print_raw.c M /trunk/print_rnd_mode.c M /trunk/printf.c M /trunk/random2.c M /trunk/rec_sqrt.c M /trunk/reldiff.c M /trunk/rem1.c M /trunk/rint.c M /trunk/root.c M /trunk/round_near_x.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/sec.c M /trunk/sech.c M /trunk/set.c M /trunk/set_d.c M /trunk/set_d64.c M /trunk/set_dfl_prec.c M /trunk/set_exp.c M /trunk/set_f.c M /trunk/set_inf.c M /trunk/set_ld.c M /trunk/set_nan.c M /trunk/set_prc_raw.c M /trunk/set_prec.c M /trunk/set_q.c M /trunk/set_rnd.c M /trunk/set_si.c M /trunk/set_si_2exp.c M /trunk/set_sj.c M /trunk/set_str.c M /trunk/set_str_raw.c M /trunk/set_ui.c M /trunk/set_ui_2exp.c M /trunk/set_uj.c M /trunk/set_z.c M /trunk/setmax.c M /trunk/setmin.c M /trunk/setsign.c M /trunk/sgn.c M /trunk/si_op.c M /trunk/signbit.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sinh_cosh.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/sqrt_ui.c M /trunk/stack_interface.c M /trunk/strtofr.c M /trunk/sub.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/sub_d.c M /trunk/sub_ui.c M /trunk/subnormal.c M /trunk/sum.c M /trunk/swap.c M /trunk/tan.c M /trunk/tanh.c M /trunk/tests/cmp_str.c 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/reuse.c M /trunk/tests/rnd_mode.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/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.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/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.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/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.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_ld_2exp.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/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/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/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/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.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_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/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/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/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.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/tuneup.c M /trunk/uceil_exp2.c M /trunk/uceil_log2.c M /trunk/ufloor_log2.c M /trunk/ui_div.c M /trunk/ui_pow.c M /trunk/ui_pow_ui.c M /trunk/ui_sub.c M /trunk/urandomb.c M /trunk/vasprintf.c M /trunk/version.c M /trunk/volatile.c M /trunk/yn.c M /trunk/zeta.c M /trunk/zeta_ui.c This is now GNU MPFR! ------------------------------------------------------------------------ r5653 | vlefevre | 2008-10-27 03:10:36 +0000 (Mon, 27 Oct 2008) | 1 line Changed paths: M /trunk/README README: CVS -> Subversion. ------------------------------------------------------------------------ r5652 | thevenyp | 2008-10-23 18:40:33 +0000 (Thu, 23 Oct 2008) | 3 lines Changed paths: M /trunk/tests/tsprintf.c M /trunk/vasprintf.c vasprintf.c: Fix bug with '#' and 'g' flag combination, see also defect report at http://www.open-std.org/jtc1/sc22/wg14/www/docs/dr_233.htm. tests/tsprintf.c: Fix wrong test value accordingly, add non-regression tests. ------------------------------------------------------------------------ r5651 | zimmerma | 2008-10-23 07:29:29 +0000 (Thu, 23 Oct 2008) | 2 lines Changed paths: M /trunk/get_d64.c M /trunk/set_d64.c [get_d64.c,set_d64.c] added reference to TR 24732 ------------------------------------------------------------------------ r5650 | vlefevre | 2008-10-16 08:17:35 +0000 (Thu, 16 Oct 2008) | 1 line Changed paths: M /trunk/mpfr.h mpfr.h: added a comment about MPFR_SIGN. ------------------------------------------------------------------------ r5649 | zimmerma | 2008-10-05 08:51:41 +0000 (Sun, 05 Oct 2008) | 3 lines Changed paths: M /trunk/mpfr.h [mpfr.h] fixed typo, and added warning about MPFR_SIGN. Shouldn't we move it in mpfr-impl.h? ------------------------------------------------------------------------ r5647 | vlefevre | 2008-10-03 11:45:14 +0000 (Fri, 03 Oct 2008) | 1 line Changed paths: M /trunk/INSTALL M /trunk/configure.in INSTALL, configure.in: corrected documentation of --with-gmp* options. ------------------------------------------------------------------------ r5645 | vlefevre | 2008-10-02 11:40:42 +0000 (Thu, 02 Oct 2008) | 1 line Changed paths: M /trunk/INSTALL INSTALL: gave more details about --with-gmp-build. ------------------------------------------------------------------------ r5644 | zimmerma | 2008-10-02 11:17:49 +0000 (Thu, 02 Oct 2008) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] added warning about usage of --with-gmp-build ------------------------------------------------------------------------ r5643 | vlefevre | 2008-09-21 11:56:06 +0000 (Sun, 21 Sep 2008) | 2 lines Changed paths: M /trunk/TODO TODO: updated LIA-2 terminology ("pole" was in the latest public draft, "infinitary" in the final standard). ------------------------------------------------------------------------ r5642 | thevenyp | 2008-09-19 08:50:01 +0000 (Fri, 19 Sep 2008) | 2 lines Changed paths: M /trunk/tests/tstrtofr.c tests/tstrtofr.c: Remove underflow test unintentionally committed with revision 5640. ------------------------------------------------------------------------ r5640 | thevenyp | 2008-09-18 16:33:16 +0000 (Thu, 18 Sep 2008) | 2 lines Changed paths: M /trunk/Makefile.am M /trunk/mpfr.h M /trunk/mpfr.texi D /trunk/random.c M /trunk/tests/reuse.c M /trunk/tests/tabs.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tatan.c M /trunk/tests/tcmp2.c M /trunk/tests/tcomparisons.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teq.c M /trunk/tests/tests.c M /trunk/tests/texp.c M /trunk/tests/tfma.c M /trunk/tests/tfms.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_str.c M /trunk/tests/tmul.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_z.c M /trunk/tests/trandom.c M /trunk/tests/tset.c M /trunk/tests/tset_f.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_str.c M /trunk/tests/tsgn.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsum.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c Remove obsolete mpfr_random function and replace it by mpfr_urandomb in tests. ------------------------------------------------------------------------ r5639 | thevenyp | 2008-09-18 16:25:31 +0000 (Thu, 18 Sep 2008) | 2 lines Changed paths: M /trunk/exceptions.c Add void in prototype. ------------------------------------------------------------------------ r5638 | vlefevre | 2008-09-18 13:40:11 +0000 (Thu, 18 Sep 2008) | 1 line Changed paths: M /trunk/tests/tests.c tests/tests.c: added comments about the MPFR_FPU_PREC macro. ------------------------------------------------------------------------ r5636 | zimmerma | 2008-09-18 12:48:28 +0000 (Thu, 18 Sep 2008) | 3 lines Changed paths: M /trunk/tests/tget_str.c [tget_str.c] replaced 'double' input by 'char*' to avoid problems with single precision (partially solves #3353) ------------------------------------------------------------------------ r5634 | zimmerma | 2008-09-17 12:28:22 +0000 (Wed, 17 Sep 2008) | 2 lines Changed paths: M /trunk/README.dev [README.dev] added item about coverage of releases ------------------------------------------------------------------------ r5632 | zimmerma | 2008-09-16 12:48:29 +0000 (Tue, 16 Sep 2008) | 2 lines Changed paths: M /trunk/AUTHORS M /trunk/Makefile.am M /trunk/algorithms.tex M /trunk/atan.c M /trunk/extract.c M /trunk/mpfr.texi final got rid of generic.c (bug 6199) ------------------------------------------------------------------------ r5631 | zimmerma | 2008-09-16 12:37:11 +0000 (Tue, 16 Sep 2008) | 2 lines Changed paths: D /trunk/generic.c [generic.c] removed unused file ------------------------------------------------------------------------ r5630 | vlefevre | 2008-09-16 09:53:59 +0000 (Tue, 16 Sep 2008) | 2 lines Changed paths: M /trunk/NEWS M /trunk/mpfr.texi NEWS, mpfr.texi: documented the fact that mpfr_random and mpfr_random2 will be suppressed in the next release. ------------------------------------------------------------------------ r5629 | vlefevre | 2008-09-16 08:53:00 +0000 (Tue, 16 Sep 2008) | 1 line Changed paths: M /trunk/ChangeLog ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v". ------------------------------------------------------------------------ r5623 | thevenyp | 2008-09-10 10:00:31 +0000 (Wed, 10 Sep 2008) | 2 lines Changed paths: M /trunk/tests/tpow_z.c tests/tpow_z.c: Check test for bug20080904 with the minimum possible negative exponent so as not to underflow with (future) 128 bits machine. ------------------------------------------------------------------------ r5620 | vlefevre | 2008-09-06 10:19:10 +0000 (Sat, 06 Sep 2008) | 1 line Changed paths: M /trunk/pow.c pow.c: fixed bug20080904 (from tpow_z.c). ------------------------------------------------------------------------ r5619 | vlefevre | 2008-09-06 10:08:37 +0000 (Sat, 06 Sep 2008) | 1 line Changed paths: M /trunk/pow.c pow.c: added log messages. ------------------------------------------------------------------------ r5618 | thevenyp | 2008-09-05 10:10:41 +0000 (Fri, 05 Sep 2008) | 2 lines Changed paths: M /trunk/tests/tpow_z.c tests/tpow_z.c: Add a test that underflows. ------------------------------------------------------------------------ r5616 | vlefevre | 2008-09-05 09:05:25 +0000 (Fri, 05 Sep 2008) | 1 line Changed paths: M /trunk/configure.in configure.in: updated a comment (for the next automake version). ------------------------------------------------------------------------ r5614 | vlefevre | 2008-09-05 08:56:53 +0000 (Fri, 05 Sep 2008) | 1 line Changed paths: M /trunk/NEWS NEWS: added a note about mpfr_init_gmp_rand (removed in r4953). ------------------------------------------------------------------------ r5613 | vlefevre | 2008-09-04 02:44:04 +0000 (Thu, 04 Sep 2008) | 1 line Changed paths: M /trunk/README.dev README.dev: update (about AM_MAINTAINER_MODE). ------------------------------------------------------------------------ r5609 | vlefevre | 2008-09-02 15:09:20 +0000 (Tue, 02 Sep 2008) | 1 line Changed paths: M /trunk/README Updated README file. ------------------------------------------------------------------------ r5607 | vlefevre | 2008-09-01 11:51:00 +0000 (Mon, 01 Sep 2008) | 1 line Changed paths: M /trunk/README.dev D /trunk/patch-libtool Removed patch-libtool and updated README.dev as libtool has been fixed. ------------------------------------------------------------------------ r5606 | vlefevre | 2008-09-01 11:47:16 +0000 (Mon, 01 Sep 2008) | 1 line Changed paths: M /trunk/NEWS NEWS file update (get default $CC and $CFLAGS from gmp.h). ------------------------------------------------------------------------ r5605 | vlefevre | 2008-09-01 11:46:24 +0000 (Mon, 01 Sep 2008) | 1 line Changed paths: M /trunk/configure.in configure.in: removed a useless blank line. ------------------------------------------------------------------------ r5604 | vlefevre | 2008-09-01 11:40:36 +0000 (Mon, 01 Sep 2008) | 1 line Changed paths: M /trunk/README.dev README.dev: reverse-merged r5440 (about __GMP_CC/__GMP_CFLAGS) as said. ------------------------------------------------------------------------ r5602 | zimmerma | 2008-08-27 11:43:31 +0000 (Wed, 27 Aug 2008) | 3 lines Changed paths: M /trunk/algorithms.tex [algorithms.tex] the truncation error for rec_sqrt was correct, but the reasoning was not detailed enough ------------------------------------------------------------------------ r5600 | vlefevre | 2008-08-27 10:58:23 +0000 (Wed, 27 Aug 2008) | 3 lines Changed paths: A /trunk/patch-aclocal-icc Added patch-aclocal-icc; this is a port of the patch posted on http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485421 for aclocal.m4 when libtool 1.5.26-4 from Debian has been used. ------------------------------------------------------------------------ r5599 | zimmerma | 2008-08-27 10:00:35 +0000 (Wed, 27 Aug 2008) | 3 lines Changed paths: M /trunk/algorithms.tex M /trunk/rec_sqrt.c M /trunk/round_p.c [rec_sqrt.c] fixed bug "bad_case1" (truncation error was forgotten, when output precision was smaller than input precision) ------------------------------------------------------------------------ r5595 | vlefevre | 2008-08-27 08:40:53 +0000 (Wed, 27 Aug 2008) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated the month. ------------------------------------------------------------------------ r5593 | vlefevre | 2008-08-26 13:56:06 +0000 (Tue, 26 Aug 2008) | 1 line Changed paths: M /trunk/tests/trec_sqrt.c tests/trec_sqrt.c: enable the tests only with MPFR 2.4.0+. ------------------------------------------------------------------------ r5592 | vlefevre | 2008-08-26 13:32:45 +0000 (Tue, 26 Aug 2008) | 1 line Changed paths: M /trunk/NEWS NEWS: noted when some changes were applied in 2.3.* versions. ------------------------------------------------------------------------ r5590 | vlefevre | 2008-08-25 13:26:32 +0000 (Mon, 25 Aug 2008) | 1 line Changed paths: M /trunk/README.dev README.dev: completed information about integer types. ------------------------------------------------------------------------ r5589 | vlefevre | 2008-08-25 10:55:38 +0000 (Mon, 25 Aug 2008) | 1 line Changed paths: M /trunk/README.dev README.dev: added information about mixing signed and unsigned types. ------------------------------------------------------------------------ r5588 | vlefevre | 2008-08-25 10:40:09 +0000 (Mon, 25 Aug 2008) | 3 lines Changed paths: M /trunk/li2.c li2.c: avoid even more mixing between signed and unsigned types, by casting mpfr_prec_t to mp_exp_t in expressions involving mp_exp_t. This time the bug is fixed: tli2 no longer freezes in 64 bits. ------------------------------------------------------------------------ r5587 | vlefevre | 2008-08-25 10:26:54 +0000 (Mon, 25 Aug 2008) | 4 lines Changed paths: M /trunk/li2.c li2.c: use an "int" instead of "unsigned int" in li2_series() to avoid mixing signed and unsigned types, which can yield implicit conversions from signed into unsigned, and maybe problems on some platforms. This doesn't fix the current freeze of tli2 on 64-bit machines, though. ------------------------------------------------------------------------ r5585 | vlefevre | 2008-08-24 23:07:45 +0000 (Sun, 24 Aug 2008) | 2 lines Changed paths: M /trunk/tests/tgeneric.c tests/tgeneric.c: changed the way a warning with gcc 4.2+ is avoided (r5335), as suggested by Manuel López-Ibáñez on GCC bug 36299. ------------------------------------------------------------------------ r5584 | vlefevre | 2008-08-21 10:27:58 +0000 (Thu, 21 Aug 2008) | 2 lines Changed paths: A /trunk/tests/data/sqr M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c Added data_check support to mpfr_sqr. Added bad_cases support to mpfr_sqr and mpfr_sqrt. ------------------------------------------------------------------------ r5582 | vlefevre | 2008-08-21 10:17:19 +0000 (Thu, 21 Aug 2008) | 1 line Changed paths: M /trunk/tests/tsqr.c tests/tsqr.c: corrected function definitions. ------------------------------------------------------------------------ r5581 | vlefevre | 2008-08-21 10:12:49 +0000 (Thu, 21 Aug 2008) | 1 line Changed paths: A /trunk/tests/data/rec_sqrt M /trunk/tests/trec_sqrt.c Added data_check & bad_cases support to mpfr_rec_sqrt. ------------------------------------------------------------------------ r5580 | vlefevre | 2008-08-21 10:09:34 +0000 (Thu, 21 Aug 2008) | 1 line Changed paths: M /trunk/tests/trec_sqrt.c tests/trec_sqrt.c: added bad case that makes mpfr_rec_sqrt fail. ------------------------------------------------------------------------ r5579 | vlefevre | 2008-08-21 03:03:23 +0000 (Thu, 21 Aug 2008) | 3 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: as not all ICC versions define the __ICC macro (only the __INTEL_COMPILER macro can be defined), define the __MPFR_ICC and __MPFR_GNUC macros in another way. ------------------------------------------------------------------------ r5578 | vlefevre | 2008-08-21 02:48:41 +0000 (Thu, 21 Aug 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: fixed compilation failure when HAVE_DENORMS isn't defined, such as with icc 10.1 on Itanium. ------------------------------------------------------------------------ r5577 | vlefevre | 2008-08-21 02:43:45 +0000 (Thu, 21 Aug 2008) | 3 lines Changed paths: M /trunk/tests/tprintf.c tests/tprintf.c: to allow random values to be reproducible, do not call randlimb several times in a same expression, because the evaluation order is unspecified. ------------------------------------------------------------------------ r5576 | vlefevre | 2008-08-21 02:38:07 +0000 (Thu, 21 Aug 2008) | 1 line Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: added test of mpfr_rec_sqrt (only with MPFR 2.4.0+). ------------------------------------------------------------------------ r5575 | vlefevre | 2008-08-21 02:35:37 +0000 (Thu, 21 Aug 2008) | 1 line Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: removed useless parentheses. ------------------------------------------------------------------------ r5574 | vlefevre | 2008-08-21 02:27:56 +0000 (Thu, 21 Aug 2008) | 1 line Changed paths: M /trunk/rec_sqrt.c rec_sqrt.c: added logging support. ------------------------------------------------------------------------ r5572 | vlefevre | 2008-08-21 01:27:38 +0000 (Thu, 21 Aug 2008) | 2 lines Changed paths: M /trunk/algorithms.tex algorithms.tex: replaced "towards" by "toward" for consistency with the MPFR manual and the standards. ------------------------------------------------------------------------ r5570 | vlefevre | 2008-08-21 01:22:42 +0000 (Thu, 21 Aug 2008) | 2 lines Changed paths: M /trunk/algorithms.tex algorithms.tex: corrected English usage, spelling and typography in the section on mpfr_hypot. ------------------------------------------------------------------------ r5566 | vlefevre | 2008-08-20 22:17:34 +0000 (Wed, 20 Aug 2008) | 3 lines Changed paths: M /trunk/tests/thypot.c tests/thypot.c: added a test for tiny x and y (already done by the generic tests, but not yet in the 2.3 branch in extended exponent range). ------------------------------------------------------------------------ r5565 | vlefevre | 2008-08-20 21:43:34 +0000 (Wed, 20 Aug 2008) | 2 lines Changed paths: M /trunk/tests/tgeneric.c tests/tgeneric.c: for the special cases tested in precision p1 for n <= 3, set the extended exponent range. ------------------------------------------------------------------------ r5564 | vlefevre | 2008-08-20 21:10:29 +0000 (Wed, 20 Aug 2008) | 1 line Changed paths: M /trunk/tests/thypot.c tests/thypot.c: improved error messages. ------------------------------------------------------------------------ r5563 | vlefevre | 2008-08-20 20:48:44 +0000 (Wed, 20 Aug 2008) | 3 lines Changed paths: M /trunk/tests/thypot.c tests/thypot.c: perform some tests both in the current exponent range and in the extended exponent range, so that the lost-overflow bug of MPFR 2.3.1 can be triggered on 64-bit machines too. ------------------------------------------------------------------------ r5561 | vlefevre | 2008-08-20 19:43:57 +0000 (Wed, 20 Aug 2008) | 3 lines Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: * In cmpres(), if z1 and z2 were both zeros, their sign wasn't tested. * Added test of mpfr_sqr and mpfr_sqrt. ------------------------------------------------------------------------ r5559 | vlefevre | 2008-08-20 16:24:24 +0000 (Wed, 20 Aug 2008) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: added a paragraph on MPFR internal data. ------------------------------------------------------------------------ r5557 | vlefevre | 2008-08-20 14:11:18 +0000 (Wed, 20 Aug 2008) | 2 lines Changed paths: M /trunk/pow_si.c pow_si.c: fixed the underflow/overflow detection for n < 0 by using a method similar to mpfr_pow_z. ------------------------------------------------------------------------ r5556 | vlefevre | 2008-08-20 13:21:00 +0000 (Wed, 20 Aug 2008) | 1 line Changed paths: M /trunk/pow_si.c pow_si.c: added logging support. ------------------------------------------------------------------------ r5555 | vlefevre | 2008-08-20 12:58:21 +0000 (Wed, 20 Aug 2008) | 4 lines Changed paths: M /trunk/pow.c pow.c: fixed bug in mpfr_pow_general by computing correct bounds on exp(y*ln|x|). ==> tpow no longer fails in bug20080820. Note: this bug could affect only underflow cases and possibly cases near overflow. ------------------------------------------------------------------------ r5554 | vlefevre | 2008-08-20 12:48:53 +0000 (Wed, 20 Aug 2008) | 1 line Changed paths: M /trunk/tests/tpow.c tests/tpow.c: updated comment for bug20080820(). ------------------------------------------------------------------------ r5553 | vlefevre | 2008-08-20 12:47:40 +0000 (Wed, 20 Aug 2008) | 1 line Changed paths: M /trunk/tests/tpow.c tests/tpow.c: added testcase for bug mentioned in r5552. ------------------------------------------------------------------------ r5552 | vlefevre | 2008-08-20 11:41:13 +0000 (Wed, 20 Aug 2008) | 4 lines Changed paths: M /trunk/pow_z.c pow_z.c: solves the underflow problem in round-to-nearest by using mpfr_pow_general in precision 2 (like in mpfr_pow_pos_z), but this currently fails due to a more general bug from r4940 (the rounding modes to compute an upper bound on exp(y*ln|x|) are incorrect). ------------------------------------------------------------------------ r5551 | vlefevre | 2008-08-20 06:42:16 +0000 (Wed, 20 Aug 2008) | 1 line Changed paths: M /trunk/pow_z.c pow_z.c: formatting. ------------------------------------------------------------------------ r5550 | vlefevre | 2008-08-20 06:36:59 +0000 (Wed, 20 Aug 2008) | 1 line Changed paths: M /trunk/pow_z.c pow_z.c: moved a log message. ------------------------------------------------------------------------ r5549 | vlefevre | 2008-08-20 06:34:52 +0000 (Wed, 20 Aug 2008) | 1 line Changed paths: M /trunk/pow_z.c pow_z.c: added log messages. ------------------------------------------------------------------------ r5548 | vlefevre | 2008-08-20 05:55:56 +0000 (Wed, 20 Aug 2008) | 1 line Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: added an underflow test of x^y with y integer < 0. ------------------------------------------------------------------------ r5547 | vlefevre | 2008-08-20 04:17:03 +0000 (Wed, 20 Aug 2008) | 3 lines Changed paths: M /trunk/pow_z.c pow_z.c: no longer take care of the possibly lost overflow flag, as the other functions do not do this either; this general problem has been fixed in mpfr_check_range (r5545). ------------------------------------------------------------------------ r5545 | vlefevre | 2008-08-20 04:07:16 +0000 (Wed, 20 Aug 2008) | 7 lines Changed paths: M /trunk/NEWS M /trunk/exceptions.c M /trunk/mpfr.texi Fixed the following problem: The overflow flag can be lost in many functions called with the maximum exponent equal to MPFR_EMAX_MAX (this is the default on 32-bit machines) when the temporary result (in a higher precision) is representable but once rounded, it yields an overflow. This needed a slight change of behavior of the mpfr_check_range function (defined in exceptions.c). Described this change in mpfr.texi and NEWS. ------------------------------------------------------------------------ r5544 | vlefevre | 2008-08-20 02:59:16 +0000 (Wed, 20 Aug 2008) | 1 line Changed paths: M /trunk/pow_z.c pow_z.c: fixed some of the underflow/overflow problems for z < 0. ------------------------------------------------------------------------ r5543 | vlefevre | 2008-08-20 02:56:38 +0000 (Wed, 20 Aug 2008) | 1 line Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: fixed mpfr_clear in overflow_inv. ------------------------------------------------------------------------ r5542 | vlefevre | 2008-08-20 02:50:02 +0000 (Wed, 20 Aug 2008) | 1 line Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: more detailed error messages. ------------------------------------------------------------------------ r5541 | vlefevre | 2008-08-20 01:23:30 +0000 (Wed, 20 Aug 2008) | 5 lines Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: improved overflow_inv tests to trigger a bug in mpfr_pow_z due to incorrect rounding mode settings in r5315: on a 64-bit Linux machine, "./tpow_all 1" ends with: Bad overflow flag in overflow_inv for mpfr_pow, extended exponent range, s = 1, t = 1, GMP_RNDZ ------------------------------------------------------------------------ r5540 | vlefevre | 2008-08-20 00:32:17 +0000 (Wed, 20 Aug 2008) | 1 line Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: in overflow_inv, reduced t to [0,5] and added tests. ------------------------------------------------------------------------ r5539 | vlefevre | 2008-08-19 23:48:19 +0000 (Tue, 19 Aug 2008) | 1 line Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: improved error messages. ------------------------------------------------------------------------ r5538 | vlefevre | 2008-08-19 23:39:35 +0000 (Tue, 19 Aug 2008) | 2 lines Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: changed the precisions in overflow_inv for clearer output (the reported failures are the same). ------------------------------------------------------------------------ r5537 | vlefevre | 2008-08-19 23:34:23 +0000 (Tue, 19 Aug 2008) | 3 lines Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: information about extended exponent range wasn't always output. For simplicity to provide such an information, made ext a global variable. ------------------------------------------------------------------------ r5536 | vlefevre | 2008-08-19 23:23:10 +0000 (Tue, 19 Aug 2008) | 1 line Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: added overflow tests for x^(-1). -> Failure. ------------------------------------------------------------------------ r5535 | vlefevre | 2008-08-19 00:35:49 +0000 (Tue, 19 Aug 2008) | 1 line Changed paths: M /trunk/mpfr-impl.h M /trunk/pow.c Fixed basic underflow checking in mpfr_pow. ------------------------------------------------------------------------ r5534 | vlefevre | 2008-08-18 23:30:59 +0000 (Mon, 18 Aug 2008) | 4 lines Changed paths: M /trunk/README.dev M /trunk/lngamma.c M /trunk/mpfr-impl.h mpfr-impl.h: defined macro INITIALIZED to declare that some variable is initialized before being used. README.dev: described the use of this macro. lngamma.c: replaced the dummy initialization by this macro. ------------------------------------------------------------------------ r5533 | vlefevre | 2008-08-16 01:04:05 +0000 (Sat, 16 Aug 2008) | 1 line Changed paths: M /trunk/pow.c pow.c: updated comments. ------------------------------------------------------------------------ r5532 | vlefevre | 2008-08-16 00:48:58 +0000 (Sat, 16 Aug 2008) | 1 line Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: added tests -> assertion failed in pow.c line 603. ------------------------------------------------------------------------ r5531 | vlefevre | 2008-08-15 23:56:47 +0000 (Fri, 15 Aug 2008) | 1 line Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: added test of mpfr_ui_div. ------------------------------------------------------------------------ r5530 | vlefevre | 2008-08-15 23:28:46 +0000 (Fri, 15 Aug 2008) | 1 line Changed paths: M /trunk/pow_z.c pow_z.c: improved comments. ------------------------------------------------------------------------ r5527 | vlefevre | 2008-08-14 16:34:58 +0000 (Thu, 14 Aug 2008) | 4 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: additions related to MPFR caches. * Added Section "Memory Handling" mentioning caches. * Added call to mpfr_free_cache in the first example. * Updated description of function mpfr_free_cache. ------------------------------------------------------------------------ r5525 | vlefevre | 2008-08-14 10:17:24 +0000 (Thu, 14 Aug 2008) | 2 lines Changed paths: M /trunk/tests/texp.c tests/texp.c: improved an underflow test to trigger the bug fixed in r5453 on 32-bit machines too. ------------------------------------------------------------------------ r5524 | vlefevre | 2008-08-14 09:39:24 +0000 (Thu, 14 Aug 2008) | 1 line Changed paths: M /trunk/log.c log.c: fixed a log message. ------------------------------------------------------------------------ r5523 | vlefevre | 2008-08-14 09:38:04 +0000 (Thu, 14 Aug 2008) | 1 line Changed paths: M /trunk/exp_2.c exp_2.c: fixed other log messages. ------------------------------------------------------------------------ r5522 | vlefevre | 2008-08-14 09:20:14 +0000 (Thu, 14 Aug 2008) | 2 lines Changed paths: M /trunk/exp_2.c exp_2.c: fixed a log message (the format didn't correspond to the types) and improved it. ------------------------------------------------------------------------ r5519 | vlefevre | 2008-08-12 22:27:44 +0000 (Tue, 12 Aug 2008) | 1 line Changed paths: M /trunk/tests/tdiv.c tests/tdiv.c: completed underflow test by testing negative results too. ------------------------------------------------------------------------ r5517 | vlefevre | 2008-08-12 22:03:37 +0000 (Tue, 12 Aug 2008) | 5 lines Changed paths: M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/mul_2si.c M /trunk/tests/tmul_2exp.c mul_2si.c, div_2si.c, div_2ui.c: fixed double-rounding problem in rounding to nearest when the rounded result in unbounded exponent range is 2^(emin - 2). tests/tmul_2exp.c: test x = 15/16 too. Now tmul_2exp no longer fails (with the correction in div.c from r5515). ------------------------------------------------------------------------ r5516 | vlefevre | 2008-08-12 21:56:55 +0000 (Tue, 12 Aug 2008) | 2 lines Changed paths: M /trunk/tests/tdiv.c tests/tdiv.c correction: the underflow bug was in case when the result had to be zero. ------------------------------------------------------------------------ r5515 | vlefevre | 2008-08-12 21:52:25 +0000 (Tue, 12 Aug 2008) | 3 lines Changed paths: M /trunk/div.c div.c: fixed underflow bug that occurs in rounding to nearest when the rounded result in unbounded exponent range is 2^(emin - 2) and inex > 0: one got a non-zero result instead of +/-0. ------------------------------------------------------------------------ r5514 | vlefevre | 2008-08-12 21:47:44 +0000 (Tue, 12 Aug 2008) | 2 lines Changed paths: M /trunk/tests/tdiv.c tests/tdiv.c: added a test that triggers a bug in mpfr_div in case of underflow in rounding to nearest when the result must be non-zero. ------------------------------------------------------------------------ r5513 | vlefevre | 2008-08-12 14:43:50 +0000 (Tue, 12 Aug 2008) | 1 line Changed paths: M /trunk/div.c div.c: added logging support. ------------------------------------------------------------------------ r5512 | vlefevre | 2008-08-12 13:54:40 +0000 (Tue, 12 Aug 2008) | 1 line Changed paths: M /trunk/tests/tmul_2exp.c tests/tmul_2exp.c: test mpfr_div_2ui too. ------------------------------------------------------------------------ r5511 | vlefevre | 2008-08-12 13:37:03 +0000 (Tue, 12 Aug 2008) | 1 line Changed paths: M /trunk/tests/tmul_2exp.c tests/tmul_2exp.c: test mpfr_div_2si too. ------------------------------------------------------------------------ r5510 | vlefevre | 2008-08-12 13:28:20 +0000 (Tue, 12 Aug 2008) | 2 lines Changed paths: M /trunk/tests/tmul_2exp.c tests/tmul_2exp.c: updated underflow() test to trigger a double-rounding bug in case of underflow. ------------------------------------------------------------------------ r5509 | vlefevre | 2008-08-12 13:11:19 +0000 (Tue, 12 Aug 2008) | 2 lines Changed paths: M /trunk/tests/texp.c tests/texp.c: updated comment (the double-rounding bug triggered by underflow_up() is in mpfr_mul_2si). ------------------------------------------------------------------------ r5508 | vlefevre | 2008-08-12 13:02:08 +0000 (Tue, 12 Aug 2008) | 2 lines Changed paths: M /trunk/tests/texp.c tests/texp.c: updated underflow_up() test: added case exp(eps) ~= 1/2, which fails due to a double-rounding problem in rescaling the result. ------------------------------------------------------------------------ r5507 | vlefevre | 2008-08-12 12:08:10 +0000 (Tue, 12 Aug 2008) | 1 line Changed paths: M /trunk/tests/texp.c tests/texp.c: improved comments in underflow_up(). ------------------------------------------------------------------------ r5505 | vlefevre | 2008-08-11 08:09:14 +0000 (Mon, 11 Aug 2008) | 33 lines Changed paths: M /trunk/mpfr-impl.h M /trunk/pow.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/tests/tpow_all.c Merged vlefevre branch: svn merge -c-5445 . svn merge -r5436:HEAD .../mpfr/branches/vlefevre * pow.c: - Moved the general case from mpfr_pow() to a new internal function mpfr_pow_general(). - In this function (from old code), avoid unnecessary overflow test if the intermediate result is not an infinity (which was the case of underflow with non-zero result, thus not an overflow). - Fixed a double-rounding problem that occurred in this function in some underflow cases when rescaling the result. - Added log messages. * mpfr-impl.h: added mpfr_pow_general prototype. * pow_z.c: - The underflow case of mpfr_pow_pos_z() in rounding to nearest, which was incorrect, is now handled by calling mpfr_pow_general(), which can scale the result thus decide whether the rounded result should be 0 or nextabove(0). To avoid the exact cases of x^y with y integer (not supported by mpfr_pow_general()), rounding is done in precision 2 (this is also faster!). - Fixed underflow-related bug (case exact result = 2^(emin-2), in rounding to nearest). - Added log messages. * pow_ui.c: - Swapped parameters x and y for consistency (-> y = x^n). - Fixed the internal overflows and underflows (which could yield spurious overflows/underflows and incorrect results) by using mpfr_pow_z. * tests/tpow_all.c: - Test flags in test_others and cmpres; cmpres argument z1 can now be a null pointer (if unknown pure FP value, thus not tested). - Added a test of 2^(emin - i/4) with 0 <= i <= 12, that triggered the bugs mentioned above (and now fixed). ------------------------------------------------------------------------ r5503 | vlefevre | 2008-08-11 07:02:01 +0000 (Mon, 11 Aug 2008) | 1 line Changed paths: M /trunk/tests/tmul_2exp.c tests/tmul_2exp.c: added underflow tests. ------------------------------------------------------------------------ r5502 | vlefevre | 2008-08-11 07:00:17 +0000 (Mon, 11 Aug 2008) | 1 line Changed paths: M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/mul_2si.c M /trunk/mul_2ui.c Added logging support to mpfr_{mul,div}_2{si,ui}. ------------------------------------------------------------------------ r5498 | vlefevre | 2008-08-08 14:29:03 +0000 (Fri, 08 Aug 2008) | 1 line Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: added a space for MPFR_LOG_MSG. ------------------------------------------------------------------------ r5496 | vlefevre | 2008-08-08 14:20:45 +0000 (Fri, 08 Aug 2008) | 1 line Changed paths: M /trunk/README.dev README.dev: corrected MPFR_LOG_MSG example. ------------------------------------------------------------------------ r5494 | vlefevre | 2008-08-08 07:27:23 +0000 (Fri, 08 Aug 2008) | 1 line Changed paths: M /trunk/mpfr.h mpfr.h: added a comment concerning ICC. ------------------------------------------------------------------------ r5493 | vlefevre | 2008-08-07 21:56:50 +0000 (Thu, 07 Aug 2008) | 1 line Changed paths: M /trunk/atan2.c M /trunk/get_d64.c M /trunk/li2.c M /trunk/set_d64.c M /trunk/tests/tget_set_d64.c M /trunk/yn.c Final code clean-up based on icc warnings. ------------------------------------------------------------------------ r5492 | vlefevre | 2008-08-07 21:17:14 +0000 (Thu, 07 Aug 2008) | 7 lines Changed paths: M /trunk/cache.c M /trunk/clears.c M /trunk/cos.c M /trunk/fits_intmax.c M /trunk/fits_uintmax.c M /trunk/frac.c M /trunk/get_ld.c M /trunk/get_sj.c M /trunk/get_uj.c M /trunk/hypot.c M /trunk/inits.c M /trunk/inits2.c M /trunk/mpfr-impl.h M /trunk/mul.c M /trunk/set_sj.c M /trunk/set_uj.c M /trunk/tests/tfits.c M /trunk/tests/tget_sj.c M /trunk/tests/tset_sj.c M /trunk/volatile.c Further code clean-up (and consistency) based on icc warnings: * Removed useless code. * Avoid hiding variable declarations. * Use #ifdef BOOL_MACRO instead of #if BOOL_MACRO. * In MPFR_RNDRAW_GEN macro definition, variables declared locally now start with an underscore to avoid possible conflits with parameters (and modified macro calls that use these variables). ------------------------------------------------------------------------ r5491 | vlefevre | 2008-08-07 17:13:16 +0000 (Thu, 07 Aug 2008) | 1 line Changed paths: M /trunk/round_prec.c round_prec.c: avoid hiding variable declaration (detected by icc). ------------------------------------------------------------------------ r5490 | vlefevre | 2008-08-07 16:30:13 +0000 (Thu, 07 Aug 2008) | 2 lines Changed paths: M /trunk/pow_si.c pow_si.c: fixed Ziv's iteration (code from r3305) by using MPFR_ZIV_NEXT (problem detected by icc, because variable "loop" was never used). ------------------------------------------------------------------------ r5489 | vlefevre | 2008-08-07 16:15:28 +0000 (Thu, 07 Aug 2008) | 2 lines Changed paths: M /trunk/mul_ui.c mul_ui.c: removed variable that was set but never used (detected by icc, but not by gcc, probably because of early optimization). ------------------------------------------------------------------------ r5488 | vlefevre | 2008-08-07 16:08:45 +0000 (Thu, 07 Aug 2008) | 4 lines Changed paths: M /trunk/inp_str.c inp_str.c: fixed possible implementation-defined behavior (a value from the unsigned char range -- from getc -- was stored in a char, and if the char type is signed and the value cannot be represented in a char, this is implementation-defined). ------------------------------------------------------------------------ r5487 | vlefevre | 2008-08-07 15:36:59 +0000 (Thu, 07 Aug 2008) | 1 line Changed paths: M /trunk/get_str.c get_str.c: avoid hiding variable declaration (detected by icc). ------------------------------------------------------------------------ r5486 | vlefevre | 2008-08-07 14:44:18 +0000 (Thu, 07 Aug 2008) | 1 line Changed paths: M /trunk/div.c div.c: avoid hiding variable declaration (detected by icc). ------------------------------------------------------------------------ r5485 | vlefevre | 2008-08-07 14:33:44 +0000 (Thu, 07 Aug 2008) | 2 lines Changed paths: M /trunk/README.dev M /trunk/mpfr-impl.h M /trunk/mpfr.h mpfr.h, mpfr-impl.h: avoid warnings with icc (at least icc 10.1). README.dev: added a paragraph on the test of "boolean" macros. ------------------------------------------------------------------------ r5483 | vlefevre | 2008-08-05 08:02:07 +0000 (Tue, 05 Aug 2008) | 1 line Changed paths: M /trunk/configure.in configure.in: dist-lzma needs automake 1.10.1. ------------------------------------------------------------------------ r5481 | vlefevre | 2008-08-04 08:39:47 +0000 (Mon, 04 Aug 2008) | 1 line Changed paths: M /trunk/configure.in configure.in: "make dist" generates lzma-compressed tarball too. ------------------------------------------------------------------------ r5480 | zimmerma | 2008-08-02 09:36:31 +0000 (Sat, 02 Aug 2008) | 3 lines Changed paths: M /trunk/exp_2.c [exp_2.c] fixed case where cancel is negative, added comments and improved code when initial n is known to be 0 ------------------------------------------------------------------------ r5479 | vlefevre | 2008-08-01 21:18:06 +0000 (Fri, 01 Aug 2008) | 1 line Changed paths: M /trunk/exp_2.c exp_2.c: MPFR_EXP -> MPFR_GET_EXP. ------------------------------------------------------------------------ r5478 | zimmerma | 2008-08-01 16:45:45 +0000 (Fri, 01 Aug 2008) | 2 lines Changed paths: M /trunk/exp_2.c [exp_2.c] fixed bug20080731 ------------------------------------------------------------------------ r5477 | vlefevre | 2008-07-31 16:30:31 +0000 (Thu, 31 Jul 2008) | 1 line Changed paths: M /trunk Added algorithms.out to svn:ignore property. ------------------------------------------------------------------------ r5476 | vlefevre | 2008-07-31 16:27:42 +0000 (Thu, 31 Jul 2008) | 1 line Changed paths: M /trunk/tests/texp.c tests/texp.c: added testcase for new bug found in mpfr_exp_2. ------------------------------------------------------------------------ r5475 | vlefevre | 2008-07-31 16:02:54 +0000 (Thu, 31 Jul 2008) | 3 lines Changed paths: M /trunk/exp.c M /trunk/exp_2.c exp.c, exp_2.c: fixed the overflow/underflow detection. The underflow_up test in texp.c still fails for mpfr_exp_2 only, but this seems to be due to a bug in this function (incorrect error bound?). ------------------------------------------------------------------------ r5474 | vlefevre | 2008-07-31 15:03:49 +0000 (Thu, 31 Jul 2008) | 3 lines Changed paths: M /trunk/tests/texp.c tests/texp.c: added underflow tests to underflow_up; currently fail due to incorrect underflow detection in mpfr_exp (and if this detection is disabled, mpfr_exp_3 behaves correctly, but not mpfr_exp_2). ------------------------------------------------------------------------ r5473 | thevenyp | 2008-07-31 14:08:09 +0000 (Thu, 31 Jul 2008) | 2 lines Changed paths: M /trunk/algorithms.tex Fix typos, improve wording. ------------------------------------------------------------------------ r5472 | vlefevre | 2008-07-31 13:01:16 +0000 (Thu, 31 Jul 2008) | 1 line Changed paths: M /trunk/exp_2.c Added logging support to mpfr_exp_2 (exp_2.c). ------------------------------------------------------------------------ r5471 | vlefevre | 2008-07-31 11:36:01 +0000 (Thu, 31 Jul 2008) | 1 line Changed paths: M /trunk/tests/texp.c tests/texp.c: updated comment concerning the bug fixed in r5469. ------------------------------------------------------------------------ r5470 | vlefevre | 2008-07-31 10:24:28 +0000 (Thu, 31 Jul 2008) | 1 line Changed paths: M /trunk/exp.c exp.c: updated comment about the exp3.c routine. ------------------------------------------------------------------------ r5469 | vlefevre | 2008-07-31 10:22:48 +0000 (Thu, 31 Jul 2008) | 1 line Changed paths: M /trunk/exp3.c exp3.c: fixed internal underflow. ------------------------------------------------------------------------ r5468 | vlefevre | 2008-07-31 09:59:53 +0000 (Thu, 31 Jul 2008) | 1 line Changed paths: M /trunk/fma.c M /trunk/fms.c fma.c, fms.c: added a comment about apparently incorrect scaling. ------------------------------------------------------------------------ r5466 | vlefevre | 2008-07-31 09:46:43 +0000 (Thu, 31 Jul 2008) | 1 line Changed paths: M /trunk/sqr.c M /trunk/sqrt.c Added logging support to mpfr_sqr and mpfr_sqrt. ------------------------------------------------------------------------ r5465 | thevenyp | 2008-07-31 08:31:11 +0000 (Thu, 31 Jul 2008) | 3 lines Changed paths: M /trunk/BUGS M /trunk/hypot.c hypot.c: Fix comment. BUGS: Add known bug for mpfr_hypot. ------------------------------------------------------------------------ r5464 | thevenyp | 2008-07-30 15:13:42 +0000 (Wed, 30 Jul 2008) | 5 lines Changed paths: M /trunk/algorithms.tex M /trunk/hypot.c M /trunk/tests/thypot.c algorithms.tex: Prove the correctness of the algorithm used for mpfr_hypot when the difference of inputs' exponents is less then exp_max - 2. hypot.c: Change algorithm according to its description in algorithms.tex tests/thypot.c: Fix tests (some were present but didn't trigger any error). ------------------------------------------------------------------------ r5463 | vlefevre | 2008-07-30 14:01:45 +0000 (Wed, 30 Jul 2008) | 1 line Changed paths: M /trunk/tests/texp.c tests/texp.c: completed a comment. ------------------------------------------------------------------------ r5462 | vlefevre | 2008-07-30 11:26:52 +0000 (Wed, 30 Jul 2008) | 6 lines Changed paths: M /trunk/tests/texp.c tests/texp.c: updated underflow_up test of log(2^(emin - 1)) + eps: * In the old test (- log(2) < eps < 0 in GMP_RNDN), do not test the flags, as this may be incorrect on some platforms (though unlikely). Better tests will be provided later. * Added test for case eps > 0, which triggers a bug in mpfr_exp_3 (underflow flag sometimes set while it shouldn't be set). ------------------------------------------------------------------------ r5461 | vlefevre | 2008-07-30 08:33:51 +0000 (Wed, 30 Jul 2008) | 2 lines Changed paths: M /trunk/exp.c exp.c: completed a comment, describing how rigorous underflow/overflow detection can be done. ------------------------------------------------------------------------ r5460 | vlefevre | 2008-07-30 08:18:01 +0000 (Wed, 30 Jul 2008) | 2 lines Changed paths: M /trunk/exp.c exp.c: removed an incorrect comment (corresponds to exp_2.c and already in exp_2.c). ------------------------------------------------------------------------ r5459 | vlefevre | 2008-07-29 14:34:10 +0000 (Tue, 29 Jul 2008) | 1 line Changed paths: M /trunk/exp.c exp.c: underflow/overflow detection is still a bit incorrect. ------------------------------------------------------------------------ r5458 | vlefevre | 2008-07-29 14:17:18 +0000 (Tue, 29 Jul 2008) | 1 line Changed paths: M /trunk/TODO TODO: added "test underflow/overflow detection...". ------------------------------------------------------------------------ r5457 | vlefevre | 2008-07-29 14:13:11 +0000 (Tue, 29 Jul 2008) | 1 line Changed paths: M /trunk/exp.c exp.c: fixed underflow/overflow detection. ------------------------------------------------------------------------ r5456 | vlefevre | 2008-07-29 13:24:19 +0000 (Tue, 29 Jul 2008) | 1 line Changed paths: M /trunk/exp_2.c exp_2.c: GNU style. ------------------------------------------------------------------------ r5455 | vlefevre | 2008-07-29 12:23:04 +0000 (Tue, 29 Jul 2008) | 2 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: make sure that mpfr_get_exp_t and mpfr_set_exp_t are correctly defined. ------------------------------------------------------------------------ r5454 | vlefevre | 2008-07-26 10:46:26 +0000 (Sat, 26 Jul 2008) | 1 line Changed paths: M /trunk/tests/texp.c tests/texp.c: updated comment of underflow_up. ------------------------------------------------------------------------ r5453 | vlefevre | 2008-07-26 10:44:22 +0000 (Sat, 26 Jul 2008) | 3 lines Changed paths: M /trunk/exp_2.c exp_2.c: solved the assertion failure by detecting a zero due to a cancellation and increasing the precision via Ziv's loop in such a case. ------------------------------------------------------------------------ r5452 | vlefevre | 2008-07-26 10:29:57 +0000 (Sat, 26 Jul 2008) | 2 lines Changed paths: M /trunk/exp_2.c exp_2.c: added another assertion, that is checked independently of the value of MPFR_EXP_2_THRESHOLD (better for debugging). ------------------------------------------------------------------------ r5451 | vlefevre | 2008-07-26 10:21:09 +0000 (Sat, 26 Jul 2008) | 3 lines Changed paths: M /trunk/exp_2.c exp_2.c: added an assertion (more explicit than a similar assertion that would fail later) in mpfr_exp2_aux, caught by the underflow_up test in texp.c for prec = 16 on a 64-bit Linux machine. ------------------------------------------------------------------------ r5450 | vlefevre | 2008-07-25 21:02:13 +0000 (Fri, 25 Jul 2008) | 2 lines Changed paths: M /trunk/tests/texp.c tests/texp.c: added a test that shows incorrect underflow detection in mpfr_exp, with possible assertion failure. ------------------------------------------------------------------------ r5445 | vlefevre | 2008-07-25 11:52:07 +0000 (Fri, 25 Jul 2008) | 1 line Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: added test of mpfr_exp2 and mpfr_exp10. ------------------------------------------------------------------------ r5443 | vlefevre | 2008-07-25 10:31:19 +0000 (Fri, 25 Jul 2008) | 1 line Changed paths: M /trunk/TODO TODO: update. ------------------------------------------------------------------------ r5442 | vlefevre | 2008-07-25 10:28:41 +0000 (Fri, 25 Jul 2008) | 1 line Changed paths: M /trunk/TODO TODO: added "option to use a 32-bit exponent type on LP64 machines". ------------------------------------------------------------------------ r5441 | vlefevre | 2008-07-23 13:52:09 +0000 (Wed, 23 Jul 2008) | 1 line Changed paths: M /trunk/acinclude.m4 acinclude.m4: updated AC_PREREQ line due to the use of AC_PROG_SED. ------------------------------------------------------------------------ r5440 | zimmerma | 2008-07-23 13:29:50 +0000 (Wed, 23 Jul 2008) | 2 lines Changed paths: M /trunk/README.dev added reminder ------------------------------------------------------------------------ r5439 | zimmerma | 2008-07-23 13:26:26 +0000 (Wed, 23 Jul 2008) | 4 lines Changed paths: M /trunk/configure.in patch from Patrick to get __GMP_CC and __GMP_CFLAGS from gmp.h (future undocumented feature for GMP 4.2.3) -> we need to check those are the names chosen by GMP 4.2.3 when it will be out ------------------------------------------------------------------------ r5434 | vlefevre | 2008-07-21 23:03:36 +0000 (Mon, 21 Jul 2008) | 2 lines Changed paths: M /trunk/pow.c pow.c: fixed incorrect rounding in the general case when the result is negative and rnd = GMP_RNDD or GMP_RNDU (bug20080721 in tpow.c). ------------------------------------------------------------------------ r5433 | vlefevre | 2008-07-21 22:44:32 +0000 (Mon, 21 Jul 2008) | 1 line Changed paths: M /trunk/tests/tpow.c tests/tpow.c: completed test bug20080721. ------------------------------------------------------------------------ r5432 | vlefevre | 2008-07-21 22:01:11 +0000 (Mon, 21 Jul 2008) | 1 line Changed paths: M /trunk/pow.c pow.c: fixed the non-trivial cases with large integer y. ------------------------------------------------------------------------ r5431 | vlefevre | 2008-07-21 17:17:51 +0000 (Mon, 21 Jul 2008) | 1 line Changed paths: M /trunk/tests/tpow.c tests/tpow.c: added comment for bug20080721. ------------------------------------------------------------------------ r5430 | vlefevre | 2008-07-21 16:54:18 +0000 (Mon, 21 Jul 2008) | 1 line Changed paths: M /trunk/tests/tpow.c tests/tpow.c: found another bug in mpfr_pow with large integers. ------------------------------------------------------------------------ r5429 | vlefevre | 2008-07-21 13:06:51 +0000 (Mon, 21 Jul 2008) | 1 line Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: added a test that detects a bug in an underflow case. ------------------------------------------------------------------------ r5428 | vlefevre | 2008-07-21 09:48:22 +0000 (Mon, 21 Jul 2008) | 2 lines Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: made the comparisons between the power functions generic to be able to add other tests. ------------------------------------------------------------------------ r5427 | vlefevre | 2008-07-20 23:34:50 +0000 (Sun, 20 Jul 2008) | 1 line Changed paths: M /trunk/pow_z.c pow_z.c: use MPFR_IS_POS(x) instead of MPFR_SIGN(x) > 0. ------------------------------------------------------------------------ r5425 | vlefevre | 2008-07-20 00:36:23 +0000 (Sun, 20 Jul 2008) | 1 line Changed paths: M /trunk/pow_si.c pow_si.c: corrected a comment. ------------------------------------------------------------------------ r5424 | vlefevre | 2008-07-20 00:22:50 +0000 (Sun, 20 Jul 2008) | 1 line Changed paths: M /trunk/tests/tpow_z.c tests/tpow_z.c: fixed NaN^0 test. ------------------------------------------------------------------------ r5423 | vlefevre | 2008-07-20 00:17:02 +0000 (Sun, 20 Jul 2008) | 4 lines Changed paths: M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/tests M /trunk/tests/Makefile.am A /trunk/tests/tpow_all.c Fixed a bug in pow_ui.c and pow_z.c: NaN^0 returned NaN instead of 1 (see documentation). Affected functions: mpfr_pow_ui, mpfr_pow_si and mpfr_pow_z (but not mpfr_pow). Added new test file tests/tpow_all.c to test all the MPFR power functions on simple and special values. ------------------------------------------------------------------------ r5418 | vlefevre | 2008-07-19 16:09:13 +0000 (Sat, 19 Jul 2008) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: forgot the case x^(±0). ------------------------------------------------------------------------ r5417 | vlefevre | 2008-07-19 15:36:57 +0000 (Sat, 19 Jul 2008) | 1 line Changed paths: M /trunk/pow_z.c pow_z.c: updated comments. ------------------------------------------------------------------------ r5416 | vlefevre | 2008-07-19 15:21:30 +0000 (Sat, 19 Jul 2008) | 2 lines Changed paths: M /trunk/tests/tpow_z.c tests/tpow_z.c: test bug20080223() didn't check that the result wasn't a NaN. Fixed. ------------------------------------------------------------------------ r5413 | vlefevre | 2008-07-19 13:52:27 +0000 (Sat, 19 Jul 2008) | 1 line Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: removed trailing whitespace. ------------------------------------------------------------------------ r5412 | vlefevre | 2008-07-11 01:52:47 +0000 (Fri, 11 Jul 2008) | 2 lines Changed paths: M /trunk/BUGS BUGS: potential problem with integer division and pre-C99 compilers, noted by Philippe. ------------------------------------------------------------------------ r5411 | thevenyp | 2008-07-08 12:44:59 +0000 (Tue, 08 Jul 2008) | 1 line Changed paths: M /trunk/generic.c M /trunk/vasprintf.c Fix typos ------------------------------------------------------------------------ r5410 | thevenyp | 2008-06-30 12:31:54 +0000 (Mon, 30 Jun 2008) | 2 lines Changed paths: M /trunk/vasprintf.c Fix typo (gmp macro TMP_ALLOC instead of MPFR_TMP_ALLOC). ------------------------------------------------------------------------ r5409 | vlefevre | 2008-06-27 09:26:43 +0000 (Fri, 27 Jun 2008) | 1 line Changed paths: M /trunk/vasprintf.c vasprintf.c: fixed comment from r5408. ------------------------------------------------------------------------ r5408 | thevenyp | 2008-06-27 08:36:34 +0000 (Fri, 27 Jun 2008) | 6 lines Changed paths: M /trunk/acinclude.m4 M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/tests/tsprintf.c M /trunk/vasprintf.c acinclude.m4: add a check defining va_copy macro when needed. vasprintf.c: use TMP_ALLOC instead of variable-length array (C99). tests/tfprintf.c tests/tsprintf.c: #define length of array instead of const int so as to avoid variable-length array (C99). tests/tprintf.c: #define length of array instead of const int so as to avoid variable-length array (C99). remove use of function dup (dependency with <unistd.h>). ------------------------------------------------------------------------ r5407 | vlefevre | 2008-06-25 09:08:26 +0000 (Wed, 25 Jun 2008) | 1 line Changed paths: M /trunk/README.dev README.dev: updated "To make a release" (mention various compilers). ------------------------------------------------------------------------ r5406 | vlefevre | 2008-06-23 02:27:02 +0000 (Mon, 23 Jun 2008) | 1 line Changed paths: M /trunk/configure.in configure.in: added comments about icc. ------------------------------------------------------------------------ r5405 | vlefevre | 2008-06-22 12:16:43 +0000 (Sun, 22 Jun 2008) | 2 lines Changed paths: M /trunk/TODO TODO: added "replace the *_THRESHOLD macros by global (TLS) variables that can be changed at run time [...]". ------------------------------------------------------------------------ r5400 | vlefevre | 2008-06-16 22:06:11 +0000 (Mon, 16 Jun 2008) | 4 lines Changed paths: M /trunk/INSTALL INSTALL: updated GMP's URL (the old one no longer worked), using http://www.gnu.org/software/gmp/ as suggested by Karl Berry (see GNU policies). ------------------------------------------------------------------------ r5398 | vlefevre | 2008-06-13 13:54:37 +0000 (Fri, 13 Jun 2008) | 3 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: changed the license for the inclusion of the manual in Debian (see <http://www.debian.org/vote/2006/vote_001>). ------------------------------------------------------------------------ r5396 | vlefevre | 2008-06-11 13:09:33 +0000 (Wed, 11 Jun 2008) | 3 lines Changed paths: M /trunk/AUTHORS AUTHORS: converted from ISO-8859-1 to UTF-8 (this is the standard nowadays and this is the encoding declared on InriaGforge). ------------------------------------------------------------------------ r5395 | thevenyp | 2008-06-11 10:06:56 +0000 (Wed, 11 Jun 2008) | 2 lines Changed paths: M /trunk/mpfr.texi Fix typo in mpfr_printf documentation. ------------------------------------------------------------------------ r5394 | vlefevre | 2008-06-11 09:25:01 +0000 (Wed, 11 Jun 2008) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: removed a misleading and now useless comment. ------------------------------------------------------------------------ r5393 | vlefevre | 2008-06-11 09:21:26 +0000 (Wed, 11 Jun 2008) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: improved a comment. ------------------------------------------------------------------------ r5392 | vlefevre | 2008-06-11 09:20:53 +0000 (Wed, 11 Jun 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c tsprintf.c: typo in a comment. ------------------------------------------------------------------------ r5391 | thevenyp | 2008-06-11 08:57:47 +0000 (Wed, 11 Jun 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c Fix comparison between mpfr string and libc string. ------------------------------------------------------------------------ r5390 | zimmerma | 2008-06-10 21:12:32 +0000 (Tue, 10 Jun 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c added test for bug(?) found by Vincent with icc ------------------------------------------------------------------------ r5389 | thevenyp | 2008-06-10 14:18:37 +0000 (Tue, 10 Jun 2008) | 3 lines Changed paths: M /trunk/mpfr-impl.h M /trunk/tests/mpf_compat.h M /trunk/tests/tsprintf.c M /trunk/vasprintf.c Change #include <stdio.h> to #include <cstdio> when compiled with a C++ compiler. Assume that mpfr_rnd_t and wchar_t arguments in a variadic functions are converted to 'int' by C++ compilers. ------------------------------------------------------------------------ r5387 | vlefevre | 2008-06-10 14:13:59 +0000 (Tue, 10 Jun 2008) | 4 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: generate an error (with a clear error message) with g++ and --enable-logging since compilation fails (--enable-logging is mainly for testing and is already incompatible with threading support anyway). ------------------------------------------------------------------------ r5386 | zimmerma | 2008-06-10 08:47:11 +0000 (Tue, 10 Jun 2008) | 3 lines Changed paths: M /trunk/algorithms.bib M /trunk/algorithms.tex M /trunk/exp_2.c the O(l^{1/2}) method to evaluate power series is due to Paterson and Stockmeyer and not Brent/Kung ------------------------------------------------------------------------ r5385 | vlefevre | 2008-06-09 16:21:34 +0000 (Mon, 09 Jun 2008) | 9 lines Changed paths: M /trunk/README.dev M /trunk/acinclude.m4 M /trunk/get_str.c M /trunk/mpfr-gmp.c M /trunk/tests/mpfr-test.h M /trunk/tests/reuse.c M /trunk/tests/tabs.c M /trunk/tests/tadd.c M /trunk/tests/tconst_log2.c M /trunk/tests/tcos.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tdiv.c M /trunk/tests/tests.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/tfactorial.c M /trunk/tests/tfma.c M /trunk/tests/tfms.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_str.c M /trunk/tests/tgmpop.c M /trunk/tests/thypot.c M /trunk/tests/tinternals.c M /trunk/tests/tlgamma.c M /trunk/tests/tmul.c M /trunk/tests/tout_str.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset_f.c M /trunk/tests/tset_si.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsqrt.c M /trunk/tests/tstckintc.c M /trunk/tests/tsub.c M /trunk/tests/tsubnormal.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tzeta_ui.c M /trunk/vasprintf.c Clean-up and various changes to be able to build MPFR with g++. But the following 3 tests currently fail with g++ 4.3.1: FAIL: tprintf FAIL: tsprintf FAIL: tfprintf This is an "Illegal instruction" error, so probably a bug in g++. [Edit: acinclude.m4 now uses gl_SIZE_MAX, typically from size_max.m4, but which is not installed on all machines; this will be added to the MPFR repository in changesets 5680 and 5683.] ------------------------------------------------------------------------ r5384 | vlefevre | 2008-06-09 14:09:34 +0000 (Mon, 09 Jun 2008) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: do not use pointer arithmetic on void *. ------------------------------------------------------------------------ r5383 | vlefevre | 2008-06-09 13:55:05 +0000 (Mon, 09 Jun 2008) | 4 lines Changed paths: M /trunk/configure.in configure.in: added -Wpointer-arith to gcc options (this warning is useful as pointer arithmetic on void * is a gcc extension and doesn't work with g++). ------------------------------------------------------------------------ r5382 | vlefevre | 2008-06-09 12:26:26 +0000 (Mon, 09 Jun 2008) | 2 lines Changed paths: M /trunk/README.dev README.dev: mentioned a libtool bug with recent versions of icc. ------------------------------------------------------------------------ r5381 | vlefevre | 2008-06-09 08:47:58 +0000 (Mon, 09 Jun 2008) | 4 lines Changed paths: M /trunk/sum.c sum.c: * Completed a comment about T ** and const T ** mismatch. * Removed a useless and misleading const that makes icc complain. ------------------------------------------------------------------------ r5380 | zimmerma | 2008-06-08 12:14:11 +0000 (Sun, 08 Jun 2008) | 2 lines Changed paths: M /trunk/algorithms.tex M /trunk/log.c fixed typos ------------------------------------------------------------------------ r5379 | zimmerma | 2008-06-07 21:45:24 +0000 (Sat, 07 Jun 2008) | 2 lines Changed paths: M /trunk/algorithms.tex use DeclareMathOperator for erf and erfc ------------------------------------------------------------------------ r5378 | zimmerma | 2008-06-07 11:34:59 +0000 (Sat, 07 Jun 2008) | 3 lines Changed paths: M /trunk/algorithms.tex M /trunk/atan.c fixed typo, added argument reduction for atan (we should try it since I believe atan is slow wrt exp, log, sin, cos for large precisions) ------------------------------------------------------------------------ r5377 | zimmerma | 2008-06-07 11:21:14 +0000 (Sat, 07 Jun 2008) | 3 lines Changed paths: M /trunk/algorithms.tex M /trunk/log1p.c simplified error analysis of log1p (did not match the code), and improved the code (in particular when 1+x is exact, directly call mpfr_log and avoid Ziv). ------------------------------------------------------------------------ r5376 | vlefevre | 2008-06-06 12:01:17 +0000 (Fri, 06 Jun 2008) | 2 lines Changed paths: M /trunk/rec_sqrt.c rec_sqrt.c: removed execution bit. ------------------------------------------------------------------------ r5375 | vlefevre | 2008-06-06 11:47:19 +0000 (Fri, 06 Jun 2008) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: update about build problems and the FAQ. ------------------------------------------------------------------------ r5374 | vlefevre | 2008-06-06 02:10:19 +0000 (Fri, 06 Jun 2008) | 3 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: added a comment about why the cross reference to GNU Libtool doesn't work from MPFR's directory. ------------------------------------------------------------------------ r5373 | vlefevre | 2008-06-06 01:33:49 +0000 (Fri, 06 Jun 2008) | 5 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: added Section 4.1 "Headers and Libraries" partly based on GMP's. Note: in the generated mpfr.info file, the cross reference to libtool does not work (though GMP's info manual has exactly the same one and it works there). I couldn't figure out why. ------------------------------------------------------------------------ r5372 | vlefevre | 2008-06-06 01:17:08 +0000 (Fri, 06 Jun 2008) | 3 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: make cross reference in HTML similar to texinfo's default one in PDF. ------------------------------------------------------------------------ r5371 | vlefevre | 2008-06-04 11:57:28 +0000 (Wed, 04 Jun 2008) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated the month. ------------------------------------------------------------------------ r5370 | vlefevre | 2008-06-04 11:51:25 +0000 (Wed, 04 Jun 2008) | 2 lines Changed paths: M /trunk/mpfrlint mpfrlint: check the LGPL license version. ------------------------------------------------------------------------ r5369 | vlefevre | 2008-06-04 11:34:10 +0000 (Wed, 04 Jun 2008) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated paragraph on the license in "Introduction to MPFR". ------------------------------------------------------------------------ r5368 | vlefevre | 2008-06-04 11:25:59 +0000 (Wed, 04 Jun 2008) | 3 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated GFDL version from 1.1 to 1.2 to match fdl.texi (this should have been done in r4059). ------------------------------------------------------------------------ r5367 | vlefevre | 2008-06-04 11:24:37 +0000 (Wed, 04 Jun 2008) | 2 lines Changed paths: M /trunk/mpfrlint mpfrlint: check GFDL versions. ------------------------------------------------------------------------ r5366 | vlefevre | 2008-06-04 11:13:23 +0000 (Wed, 04 Jun 2008) | 4 lines Changed paths: M /trunk/mpfr.texi M /trunk/update-version mpfr.texi, update-version: in the MPFR manual, replaced two http://www.mpfr.org/ by the URL corresponding to the version, which can be updated by update-version. ------------------------------------------------------------------------ r5365 | vlefevre | 2008-06-04 10:30:48 +0000 (Wed, 04 Jun 2008) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: completed paragraph on MPFR vs double-precision numbers. ------------------------------------------------------------------------ r5364 | vlefevre | 2008-06-04 10:22:02 +0000 (Wed, 04 Jun 2008) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: replaced each @code{mpfr} by MPFR (for consistency). ------------------------------------------------------------------------ r5362 | vlefevre | 2008-06-03 09:06:48 +0000 (Tue, 03 Jun 2008) | 2 lines Changed paths: M /trunk/mpfr.h mpfr.h: fixed a comment. ------------------------------------------------------------------------ r5361 | vlefevre | 2008-05-23 13:44:59 +0000 (Fri, 23 May 2008) | 2 lines Changed paths: M /trunk/tests tests: added tprintf to svn:ignore property. ------------------------------------------------------------------------ r5360 | vlefevre | 2008-05-23 11:00:28 +0000 (Fri, 23 May 2008) | 3 lines Changed paths: M /trunk/README.dev M /trunk/lngamma.c M /trunk/sub1sp.c Added documentation about "'var' may be used uninitialized in this function" warnings. ------------------------------------------------------------------------ r5359 | zimmerma | 2008-05-22 11:05:19 +0000 (Thu, 22 May 2008) | 3 lines Changed paths: M /trunk/lngamma.c M /trunk/sub1sp.c Added comments about int i = i trick to avoid warning about uninitialized variables. This has the advantage to generate no code, but works for gcc only. ------------------------------------------------------------------------ r5358 | zimmerma | 2008-05-21 08:23:21 +0000 (Wed, 21 May 2008) | 4 lines Changed paths: M /trunk/sub1sp.c initialize bbcp and bbcp1 to -1 (should be invalid) added MPFR_ASSERTN to check they are not -1 before reads simplified a test: (rnd == RNDN) || (rnd != RNDZ) ==> rnd != RNDZ ------------------------------------------------------------------------ r5357 | zimmerma | 2008-05-21 07:01:17 +0000 (Wed, 21 May 2008) | 4 lines Changed paths: M /trunk/lngamma.c M /trunk/sub1sp.c got rid of false (?) compiler warnings for uninitialized values -> we might want to revert this change if we find a better solution and/or if the problem is fixed in gcc ------------------------------------------------------------------------ r5356 | vlefevre | 2008-05-20 09:38:38 +0000 (Tue, 20 May 2008) | 4 lines Changed paths: M /trunk/cache.c M /trunk/hypot.c M /trunk/mpfr-impl.h M /trunk/round_near_x.c Reverted changeset r5355. Better patch to avoid the warnings "warning: label 'addoneulp_doit' defined but not used" in MPFR_RNDRAW_GEN by adding the dummy code in the macro itself. ------------------------------------------------------------------------ r5355 | vlefevre | 2008-05-20 09:31:17 +0000 (Tue, 20 May 2008) | 4 lines Changed paths: M /trunk/cache.c M /trunk/hypot.c M /trunk/mpfr-impl.h M /trunk/round_near_x.c Avoid warnings "warning: label 'addoneulp_doit' defined but not used" due to the use of MPFR_RNDRAW_GEN. Dummy source code is inserted, but this is safe, clean (optimized away) and IMHO not too obtrusive. ------------------------------------------------------------------------ r5353 | vlefevre | 2008-05-08 01:12:42 +0000 (Thu, 08 May 2008) | 3 lines Changed paths: M /trunk/acinclude.m4 acinclude.m4: locally add -I$srcdir to CPPFLAGS for the thread-safe test (fixes bug #5556). ------------------------------------------------------------------------ r5351 | vlefevre | 2008-04-10 08:13:11 +0000 (Thu, 10 Apr 2008) | 2 lines Changed paths: M /trunk/INSTALL INSTALL: added a paragraph about -ffast-math / -fast compiler options. ------------------------------------------------------------------------ r5350 | vlefevre | 2008-04-07 09:13:52 +0000 (Mon, 07 Apr 2008) | 4 lines Changed paths: M /trunk/tests/tcmp.c tcmp.c: fixed some tests (if mpfr_cmp2 returns an incorrect result, the bug may be some non-reproducible behavior, so don't compute it a second time to say what the value was!) and clean-up. ------------------------------------------------------------------------ r5349 | zimmerma | 2008-04-07 08:54:32 +0000 (Mon, 07 Apr 2008) | 2 lines Changed paths: M /trunk/tests/tcmp.c fixed compiler warning ------------------------------------------------------------------------ r5348 | zimmerma | 2008-04-06 21:14:07 +0000 (Sun, 06 Apr 2008) | 2 lines Changed paths: M /trunk/tests/memory.c M /trunk/tests/tcmp2.c some other changes suggested by Patrick Pelissier for 16-bit portability ------------------------------------------------------------------------ r5347 | zimmerma | 2008-04-06 20:03:47 +0000 (Sun, 06 Apr 2008) | 4 lines Changed paths: M /trunk/tests/tcmp.c M /trunk/tests/tdiv.c M /trunk/tests/tget_f.c M /trunk/tests/tout_str.c M /trunk/tests/tpow_z.c M /trunk/tests/tset_d.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/tstrtofr.c M /trunk/tests/tui_sub.c a few patches suggested by Patrick Pelissier to ease porting to 16-bit architectures: removed useless #include <time.h>, changed 1024 to 1024L, int i to lng i ------------------------------------------------------------------------ r5346 | zimmerma | 2008-03-17 12:14:38 +0000 (Mon, 17 Mar 2008) | 2 lines Changed paths: M /trunk/TODO added item about frac_* functions ------------------------------------------------------------------------ r5345 | zimmerma | 2008-03-16 12:45:07 +0000 (Sun, 16 Mar 2008) | 2 lines Changed paths: M /trunk/modf.c fixed typo ------------------------------------------------------------------------ r5344 | thevenyp | 2008-03-11 12:35:57 +0000 (Tue, 11 Mar 2008) | 4 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c tests/tfprintf.c: set output to stdout when invocked with one command-line parameter. tests/tprintf.c: add IO errors processing. ------------------------------------------------------------------------ r5343 | thevenyp | 2008-03-10 16:33:41 +0000 (Mon, 10 Mar 2008) | 3 lines Changed paths: M /trunk/tests/Makefile.am A /trunk/tests/tprintf.c tests/tprintf.c: add tests for mpfr_printf and mpfr_vprintf. Makefile.am: add tprintf.c to check_PROGRAMS. ------------------------------------------------------------------------ r5342 | thevenyp | 2008-03-10 16:18:45 +0000 (Mon, 10 Mar 2008) | 6 lines Changed paths: M /trunk/TODO M /trunk/tests/tfprintf.c M /trunk/vasprintf.c TODO: remove newly added functions vasprintf.c: change type of some variables taking care of signed/unsigned comparisons, improve conditional tests, improve buffer allocation, improve comments. tests/tfprintf.c: remove silly code. ------------------------------------------------------------------------ r5341 | thevenyp | 2008-03-10 15:41:09 +0000 (Mon, 10 Mar 2008) | 5 lines Changed paths: M /trunk/acinclude.m4 M /trunk/tests/tfprintf.c M /trunk/vasprintf.c acinclude.m4: add check for long long compiler support, define HAVE_LONG_LONG. vasprintf.c: raise an error when it encounter an unsupported format in format string. tests/tfprintf.c: HAVE_SDTINT_H -> _MPFR_H_HAVE_INTMAX_T ------------------------------------------------------------------------ r5340 | thevenyp | 2008-03-10 14:14:12 +0000 (Mon, 10 Mar 2008) | 4 lines Changed paths: M /trunk/tests/tsprintf.c M /trunk/vasprintf.c vasprintf.c: fix rounding bit bug with %RNa. tests/tsprintf.c: add tests for %RNa (rounding bit bug, tie case, trailing zeros in fractional part. ------------------------------------------------------------------------ r5339 | thevenyp | 2008-03-10 13:56:46 +0000 (Mon, 10 Mar 2008) | 5 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/vasprintf.c vasprintf.c: fix bug in macro CONSUME_VA_ARG with a mp_limb_t or mp_limb_t array argument vasprintf.c: clean code storing the number of character in a pointer and fix bug with a mp_limb_t or mp_limb_t array argument tests/tfprintf.c: add tests for %n with all kinds of type, get rid of machine dependent limits of type (use +1/-1 instead) ------------------------------------------------------------------------ r5338 | thevenyp | 2008-03-10 10:56:03 +0000 (Mon, 10 Mar 2008) | 3 lines Changed paths: M /trunk/tests/tsprintf.c M /trunk/vasprintf.c vasprintf.c: fix bug of forgotten decimal point with %#.0Rf tests/tsprintf.c: add test with %#Rf and an integer mpfr_t ------------------------------------------------------------------------ r5337 | thevenyp | 2008-03-10 10:06:48 +0000 (Mon, 10 Mar 2008) | 3 lines Changed paths: M /trunk/algorithms.tex M /trunk/li2.c li2.c: improve error estimation in Ziv loop. algorithm.tex:improve proof of mpfr_li2 algorithm. ------------------------------------------------------------------------ r5336 | thevenyp | 2008-03-10 09:53:18 +0000 (Mon, 10 Mar 2008) | 3 lines Changed paths: M /trunk/algorithms.tex M /trunk/hypot.c hypot.c: change shift amount for exponents so as to avoid overflow in Ziv loop. algorithm.tex: improve proof for mpfr_hypot algorithm (unfinished). ------------------------------------------------------------------------ r5335 | vlefevre | 2008-03-07 15:08:07 +0000 (Fri, 07 Mar 2008) | 3 lines Changed paths: M /trunk/tests/tgeneric.c tgeneric.c: avoid a warning with gcc 4.2+ about a test that is always true (the style of the code is now a bit better too). ------------------------------------------------------------------------ r5334 | thevenyp | 2008-02-29 14:29:15 +0000 (Fri, 29 Feb 2008) | 2 lines Changed paths: M /trunk/tests/reuse.c add mpfr_hypot ------------------------------------------------------------------------ r5333 | thevenyp | 2008-02-29 12:30:07 +0000 (Fri, 29 Feb 2008) | 2 lines Changed paths: M /trunk/tests/reuse.c fix wrong arguments (set in r5332) ------------------------------------------------------------------------ r5332 | thevenyp | 2008-02-29 12:16:26 +0000 (Fri, 29 Feb 2008) | 2 lines Changed paths: M /trunk/tests/reuse.c add missing functions ------------------------------------------------------------------------ r5331 | thevenyp | 2008-02-29 10:23:46 +0000 (Fri, 29 Feb 2008) | 2 lines Changed paths: M /trunk/tests/reuse.c cosmetic changes ------------------------------------------------------------------------ r5330 | thevenyp | 2008-02-28 16:11:33 +0000 (Thu, 28 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tfprintf.c add mixed format tests (with different types and different sizes) ------------------------------------------------------------------------ r5329 | thevenyp | 2008-02-28 16:05:50 +0000 (Thu, 28 Feb 2008) | 3 lines Changed paths: M /trunk/tests/tsprintf.c M /trunk/vasprintf.c vasprintf.c: fix "%%" bug tests/tsprintf.c: add a test setting "%%" bug off ------------------------------------------------------------------------ r5328 | thevenyp | 2008-02-28 15:17:52 +0000 (Thu, 28 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c cosmetic changes ------------------------------------------------------------------------ r5327 | thevenyp | 2008-02-28 15:16:09 +0000 (Thu, 28 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c use system number of bits in the significant of a double (instead of 53) ------------------------------------------------------------------------ r5326 | thevenyp | 2008-02-27 15:19:55 +0000 (Wed, 27 Feb 2008) | 2 lines Changed paths: M /trunk/cosh.c M /trunk/sinh.c M /trunk/sinh_cosh.c add handle for the case exp(x) overflows but sinh(x) is representable ------------------------------------------------------------------------ r5325 | thevenyp | 2008-02-27 13:42:35 +0000 (Wed, 27 Feb 2008) | 2 lines Changed paths: M /trunk/add_d.c M /trunk/d_div.c M /trunk/d_sub.c M /trunk/div_d.c M /trunk/mul_d.c M /trunk/sub_d.c further code simplification ------------------------------------------------------------------------ r5324 | thevenyp | 2008-02-27 12:57:24 +0000 (Wed, 27 Feb 2008) | 2 lines Changed paths: M /trunk/mul_d.c code simplification (same as in r5323) ------------------------------------------------------------------------ r5323 | thevenyp | 2008-02-27 12:55:12 +0000 (Wed, 27 Feb 2008) | 2 lines Changed paths: M /trunk/add_d.c M /trunk/d_div.c M /trunk/d_sub.c M /trunk/div_d.c M /trunk/sub_d.c code simplification. ------------------------------------------------------------------------ r5322 | thevenyp | 2008-02-27 11:13:18 +0000 (Wed, 27 Feb 2008) | 4 lines Changed paths: M /trunk/add_d.c M /trunk/d_div.c M /trunk/d_sub.c M /trunk/div_d.c M /trunk/sub_d.c M /trunk/tests/tadd_d.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdiv_d.c M /trunk/tests/tmul_d.c M /trunk/tests/tsub_d.c add_d.c, div_d.c, sub_d.c, d_div.c, d_sub.c: restore flags in case of exception. This fixes the bug revealed by MPFR_SUSPICIOUS_OVERFLOW tests/tadd_d.c, tests/tsub_d.c, tests/tdiv_d.c, tests/tmul_d.c, tests/td_sub.c, tests/td_div.c, test/tmul_d.c: add checks for exception flags and ternary value ------------------------------------------------------------------------ r5321 | thevenyp | 2008-02-27 10:00:11 +0000 (Wed, 27 Feb 2008) | 3 lines Changed paths: M /trunk/mul_d.c M /trunk/tests/tmul_d.c mul_d.c: restore flags set by mpfr_mul. This fixes the bug revealed by MPFR_SUSPICIOUS_OVERFLOW test/tmul_d.c: add checks for exception flags ------------------------------------------------------------------------ r5320 | vlefevre | 2008-02-27 09:43:38 +0000 (Wed, 27 Feb 2008) | 3 lines Changed paths: M /trunk/README.dev README.dev: updated the section about new functions (added a paragraph on exception handling). ------------------------------------------------------------------------ r5319 | thevenyp | 2008-02-26 17:45:53 +0000 (Tue, 26 Feb 2008) | 2 lines Changed paths: M /trunk/algorithms.tex improve proof for euclidean distance algorithm (unfinished) ------------------------------------------------------------------------ r5318 | vlefevre | 2008-02-26 16:20:04 +0000 (Tue, 26 Feb 2008) | 2 lines Changed paths: M /trunk/pow_z.c pow_z.c: rewrote an ambiguous comment. ------------------------------------------------------------------------ r5317 | vlefevre | 2008-02-26 16:10:28 +0000 (Tue, 26 Feb 2008) | 2 lines Changed paths: M /trunk/pow_z.c pow_z.c: removed obsolete comments and updated a comment. ------------------------------------------------------------------------ r5316 | vlefevre | 2008-02-26 15:57:53 +0000 (Tue, 26 Feb 2008) | 4 lines Changed paths: M /trunk/pow_z.c pow_z.c: the same variable was used with two different meanings. Changed the type and the name of the one inside the Ziv loop (unsigned is theoretically more correct due to the bitwise OR). ------------------------------------------------------------------------ r5315 | zimmerma | 2008-02-24 18:17:18 +0000 (Sun, 24 Feb 2008) | 8 lines Changed paths: M /trunk/pow_z.c M /trunk/tests/tpow_z.c fixed bug reported by Carl Witty (on 32-bit computers): sage: RR(1.99999999)^RR(-(2^30)) 5.11264311088393e-323228495 sage: RR(1.999999999)^RR(-(2^30)) 0.000000000000000 sage: RR(2.0)^RR(-(2^30)) 2.38256490488795e-323228497 ------------------------------------------------------------------------ r5314 | zimmerma | 2008-02-23 22:52:30 +0000 (Sat, 23 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tpow_z.c added bug reported by Carl Witty ------------------------------------------------------------------------ r5313 | thevenyp | 2008-02-22 16:04:09 +0000 (Fri, 22 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tli2.c remove commented code ------------------------------------------------------------------------ r5312 | thevenyp | 2008-02-22 15:59:35 +0000 (Fri, 22 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tli2.c add worst cases for RNDZ and RNDU with inexact flag checking ------------------------------------------------------------------------ r5311 | vlefevre | 2008-02-22 15:49:36 +0000 (Fri, 22 Feb 2008) | 2 lines Changed paths: M /trunk/hypot.c hypot.c: added a FIXME comment. ------------------------------------------------------------------------ r5310 | vlefevre | 2008-02-22 15:45:27 +0000 (Fri, 22 Feb 2008) | 3 lines Changed paths: M /trunk/algorithms.tex algorithms.tex: one can have a better upper bound on \sqrt{x^2+y^2}-|x| (added as a comment in case this can be useful). ------------------------------------------------------------------------ r5309 | vlefevre | 2008-02-22 15:17:19 +0000 (Fri, 22 Feb 2008) | 2 lines Changed paths: M /trunk/algorithms.tex algorithms.tex: use hyperref. ------------------------------------------------------------------------ r5308 | thevenyp | 2008-02-21 16:42:13 +0000 (Thu, 21 Feb 2008) | 2 lines Changed paths: M /trunk/algorithms.tex add more details in mpfr_hypot description ------------------------------------------------------------------------ r5307 | thevenyp | 2008-02-21 16:40:40 +0000 (Thu, 21 Feb 2008) | 3 lines Changed paths: M /trunk/algorithms.tex cosmetic change: display "EXP" in small capitals no more use of {\rm \EXP}, use macro \Exp everywhere ------------------------------------------------------------------------ r5306 | thevenyp | 2008-02-20 14:04:46 +0000 (Wed, 20 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tli2.c add worst case test ------------------------------------------------------------------------ r5305 | thevenyp | 2008-02-20 11:54:26 +0000 (Wed, 20 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c add test with locale da_DK ------------------------------------------------------------------------ r5304 | thevenyp | 2008-02-20 10:33:33 +0000 (Wed, 20 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tfma.c M /trunk/tests/tfms.c actually trigger overflow on all architectures ------------------------------------------------------------------------ r5303 | zimmerma | 2008-02-20 08:36:44 +0000 (Wed, 20 Feb 2008) | 2 lines Changed paths: M /trunk/nightly-test added MPFR_SUSPICIOUS_OVERFLOW in nightly tests ------------------------------------------------------------------------ r5302 | vlefevre | 2008-02-20 03:08:46 +0000 (Wed, 20 Feb 2008) | 3 lines Changed paths: M /trunk/hypot.c hypot.c: fixed overflow flag problem in RNDD/RNDZ modes (testcase was added in r5301, and another check in r5300). ------------------------------------------------------------------------ r5301 | vlefevre | 2008-02-20 02:51:30 +0000 (Wed, 20 Feb 2008) | 2 lines Changed paths: M /trunk/tests/thypot.c tests/thypot.c: added check_overflow test (currently fails in 32 bits). ------------------------------------------------------------------------ r5300 | vlefevre | 2008-02-20 02:38:05 +0000 (Wed, 20 Feb 2008) | 7 lines Changed paths: M /trunk/tests/tgeneric.c tests/tgeneric.c: added a test that detects suspicious overflows and fails when the overflow flag is not set. This test is enabled only if the MPFR_SUSPICIOUS_OVERFLOW environment variable is set, and shows a bug in mpfr_hypot on 32-bit machines (i.e. when the current exponent range is the maximum exponent range, so that mpfr_check_range() has no effect). ------------------------------------------------------------------------ r5299 | thevenyp | 2008-02-19 15:54:49 +0000 (Tue, 19 Feb 2008) | 2 lines Changed paths: M /trunk/hypot.c restore flag overflow dropped by MPFR_SAVE_EXPO ------------------------------------------------------------------------ r5298 | thevenyp | 2008-02-18 17:30:02 +0000 (Mon, 18 Feb 2008) | 5 lines Changed paths: M /trunk/tests/tests.c M /trunk/tests/tsum.c use of (*__gmp_allocate_func)/(*__gmp_free_func) instead of mpfr_allocate_func/mpfr_free_func; the modification in r5281 doesn't work when mpfr is compiled with --gmp_build option. ------------------------------------------------------------------------ r5297 | vlefevre | 2008-02-18 16:37:03 +0000 (Mon, 18 Feb 2008) | 2 lines Changed paths: M /trunk/hypot.c hypot.c: it's better to scale by (Ex + Ey) / 2. ------------------------------------------------------------------------ r5296 | vlefevre | 2008-02-18 16:06:20 +0000 (Mon, 18 Feb 2008) | 3 lines Changed paths: M /trunk/README.dev README.dev: now, the ChangeLog file should be in UTF-8, like in other software (not much difference in practice). ------------------------------------------------------------------------ r5295 | thevenyp | 2008-02-18 15:58:36 +0000 (Mon, 18 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c improve code coverage ------------------------------------------------------------------------ r5294 | thevenyp | 2008-02-18 15:39:45 +0000 (Mon, 18 Feb 2008) | 2 lines Changed paths: M /trunk/printf.c M /trunk/tests/tsprintf.c code simplification ------------------------------------------------------------------------ r5293 | thevenyp | 2008-02-18 13:48:11 +0000 (Mon, 18 Feb 2008) | 2 lines Changed paths: M /trunk/vasprintf.c take trailing zeros into account when separating thousands ------------------------------------------------------------------------ r5292 | zimmerma | 2008-02-18 13:24:47 +0000 (Mon, 18 Feb 2008) | 2 lines Changed paths: M /trunk/hypot.c fixed problem when x and y are very small ------------------------------------------------------------------------ r5291 | thevenyp | 2008-02-18 12:37:31 +0000 (Mon, 18 Feb 2008) | 4 lines Changed paths: M /trunk/hypot.c M /trunk/tests/thypot.c hypot.c: set flags when returning tests/thypot.c: change custom random tests to tgeneric ones ------------------------------------------------------------------------ r5290 | vlefevre | 2008-02-15 17:38:31 +0000 (Fri, 15 Feb 2008) | 12 lines Changed paths: M /trunk/add1sp.c M /trunk/fma.c M /trunk/fms.c M /trunk/li2.c M /trunk/mpfr.texi M /trunk/mul.c M /trunk/pow.c M /trunk/sub1sp.c M /trunk/tests/tabs.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/tatan.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcos.c M /trunk/tests/tcot.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texp.c M /trunk/tests/tfma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tget_str.c M /trunk/tests/tgmpop.c M /trunk/tests/tinternals.c M /trunk/tests/tlog.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/tnext.c M /trunk/tests/tpow.c M /trunk/tests/tpow_z.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsum.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_sub.c M /trunk/tests/tzeta.c For the terminating null pointer of the functions mpfr_inits, mpfr_inits2, mpfr_clears, always use the type mpfr_ptr (no longer void *). Updated the description of these functions in the manual (mpfr.texi). The reason is that the C standard does not guarantee that (void *) 0 has the same representation as a null pointer to a structure (and even the same size). In most C implementations, the representations are the same, but one never knows (dynamical checking is also always possible)... The change has been done with: perl -pi -e \ 's/(mpfr_(clear|init)s.*)\(void *\*\) *0\)/$1(mpfr_ptr) 0)/' **/*.c under zsh. ------------------------------------------------------------------------ r5289 | thevenyp | 2008-02-15 15:58:21 +0000 (Fri, 15 Feb 2008) | 2 lines Changed paths: M /trunk/vasprintf.c fix typo ------------------------------------------------------------------------ r5288 | thevenyp | 2008-02-15 15:30:06 +0000 (Fri, 15 Feb 2008) | 3 lines Changed paths: M /trunk/tests/tsprintf.c M /trunk/vasprintf.c vasprintf.c: fix buffer_sandwich (use for thousands separator) tests/tsprintf.c: add tests with "da_DK" locale ------------------------------------------------------------------------ r5287 | thevenyp | 2008-02-15 14:04:11 +0000 (Fri, 15 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tabs.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tfrac.c M /trunk/tests/tset.c add generic tests ------------------------------------------------------------------------ r5286 | thevenyp | 2008-02-15 12:49:53 +0000 (Fri, 15 Feb 2008) | 2 lines Changed paths: M /trunk/mpfr.texi cosmetic changes ------------------------------------------------------------------------ r5285 | thevenyp | 2008-02-15 09:10:03 +0000 (Fri, 15 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c fix incorrect function call ------------------------------------------------------------------------ r5284 | thevenyp | 2008-02-14 17:09:35 +0000 (Thu, 14 Feb 2008) | 2 lines Changed paths: M /trunk/mpfr.texi M /trunk/tests/tsprintf.c M /trunk/vasprintf.c fix "%P" case, add test for it. ------------------------------------------------------------------------ r5283 | thevenyp | 2008-02-13 17:21:27 +0000 (Wed, 13 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tfprintf.c avoid style 'f' with large numbers ------------------------------------------------------------------------ r5282 | vlefevre | 2008-02-13 13:43:01 +0000 (Wed, 13 Feb 2008) | 2 lines Changed paths: M /trunk/tests tests: updated svn:ignore property. ------------------------------------------------------------------------ r5281 | thevenyp | 2008-02-12 15:32:22 +0000 (Tue, 12 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tests.c M /trunk/tests/tsum.c use of mpfr_allocate_func/mpfr_free_func instead of malloc/free ------------------------------------------------------------------------ r5280 | thevenyp | 2008-02-12 14:46:22 +0000 (Tue, 12 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tget_str.c remove unneeded free and mpfr_clear ------------------------------------------------------------------------ r5279 | thevenyp | 2008-02-12 14:40:34 +0000 (Tue, 12 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c add tests for mpfr_snprintf and mpfr_vsnprintf ------------------------------------------------------------------------ r5278 | vlefevre | 2008-02-12 14:21:21 +0000 (Tue, 12 Feb 2008) | 2 lines Changed paths: M /trunk/README.dev README.dev: added a note about freeing the memory in the tests. ------------------------------------------------------------------------ r5277 | thevenyp | 2008-02-12 13:50:14 +0000 (Tue, 12 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tget_str.c M /trunk/tests/tout_str.c move tests of mpfr_get_str function from tout_str.c to tget_str.c ------------------------------------------------------------------------ r5276 | thevenyp | 2008-02-12 13:46:16 +0000 (Tue, 12 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c initialize fmt[] size ------------------------------------------------------------------------ r5275 | thevenyp | 2008-02-12 13:30:39 +0000 (Tue, 12 Feb 2008) | 4 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tsprintf.c tfprintf.c: fix comment. tsprintf.c: fix comment and get rid of libc rand(). ------------------------------------------------------------------------ r5274 | thevenyp | 2008-02-12 12:52:35 +0000 (Tue, 12 Feb 2008) | 3 lines Changed paths: M /trunk/tests/Makefile.am A /trunk/tests/tfprintf.c D /trunk/tests/tprintf.c A /trunk/tests/tsprintf.c (from /trunk/tests/tprintf.c:5272) rename tprintf.c as tsprintf.c, because it does not deal with mpfr_printf. add tests for mpfr_fprintf functions ------------------------------------------------------------------------ r5273 | thevenyp | 2008-02-12 08:43:02 +0000 (Tue, 12 Feb 2008) | 3 lines Changed paths: M /trunk/printf.c remove errno setting in snprintf, it is already done in vasprintf correct grammatical faults in comment ------------------------------------------------------------------------ r5272 | vlefevre | 2008-02-08 16:25:37 +0000 (Fri, 08 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tests.c tests/tests.c: undo r5270. ------------------------------------------------------------------------ r5271 | vlefevre | 2008-02-08 16:23:31 +0000 (Fri, 08 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tests.c tests/tests.c: fixed assertion failure introduced in r5265. ------------------------------------------------------------------------ r5270 | thevenyp | 2008-02-08 16:19:41 +0000 (Fri, 08 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tests.c remove exponent checking ------------------------------------------------------------------------ r5269 | thevenyp | 2008-02-08 13:53:09 +0000 (Fri, 08 Feb 2008) | 3 lines Changed paths: M /trunk/mpfr-gmp.h M /trunk/set_uj.c mpfr-gmp.h: Cancel r5261 changes removing the overload due to added test. set_uj.c: Don't call memset when len is zero. ------------------------------------------------------------------------ r5268 | thevenyp | 2008-02-08 13:20:24 +0000 (Fri, 08 Feb 2008) | 2 lines Changed paths: M /trunk/vasprintf.c improve assertion. ------------------------------------------------------------------------ r5267 | thevenyp | 2008-02-08 09:59:57 +0000 (Fri, 08 Feb 2008) | 2 lines Changed paths: M /trunk/mpfr-impl.h M /trunk/tests/tprintf.c M /trunk/vasprintf.c add support of thousands separator option (' flag, defined in Single UNIX Specification v2) ------------------------------------------------------------------------ r5266 | thevenyp | 2008-02-08 09:41:25 +0000 (Fri, 08 Feb 2008) | 2 lines Changed paths: M /trunk/vasprintf.c better string buffer management ------------------------------------------------------------------------ r5265 | vlefevre | 2008-02-07 14:40:53 +0000 (Thu, 07 Feb 2008) | 9 lines Changed paths: M /trunk/tests/tacosh.c M /trunk/tests/tests.c M /trunk/tests/tgeneric.c In tests_default_random, allow emin and emax to be outside of the current exponent range, so that underflow/overflow checks can be done on 64-bit machines. If the resulting random number is outside of the current range, the exponent range is extended, and restored by the caller once the test has been done. In tests/tacosh.c, changed TEST_RANDOM_EMIN and TEST_RANDOM_EMAX to MPFR_EMAX_MAX for test_generic_huge, so that the intermediate overflow case in mpfr_acosh is tested on 64-bit machines. ------------------------------------------------------------------------ r5264 | thevenyp | 2008-02-07 14:17:36 +0000 (Thu, 07 Feb 2008) | 3 lines Changed paths: M /trunk/tests/tprintf.c fix comment. In fact, GNU libc4 accept '%F', libc5, glibc 2.0, and glibc 2.1 don't, and glibc 2.2 accept it with C99 semantics. ------------------------------------------------------------------------ r5263 | vlefevre | 2008-02-06 14:17:26 +0000 (Wed, 06 Feb 2008) | 2 lines Changed paths: M /trunk/mpfr.h mpfr.h: added a comment about the mpfr_rnd_t enum. ------------------------------------------------------------------------ r5262 | vlefevre | 2008-02-06 13:48:33 +0000 (Wed, 06 Feb 2008) | 2 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: removed MPFR_CHECK* macros as they are not used. ------------------------------------------------------------------------ r5261 | thevenyp | 2008-02-05 17:08:25 +0000 (Tue, 05 Feb 2008) | 2 lines Changed paths: M /trunk/mpfr-gmp.h MPN_ZERO (dst, n) doesn't call memset when n==0, it prevents warning when compiled with gcc -D_FORTIFY_SOURCE ------------------------------------------------------------------------ r5260 | zimmerma | 2008-02-04 16:39:56 +0000 (Mon, 04 Feb 2008) | 2 lines Changed paths: M /trunk/TODO added suggestion from Keith Briggs ------------------------------------------------------------------------ r5259 | thevenyp | 2008-02-04 16:15:06 +0000 (Mon, 04 Feb 2008) | 3 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/vasprintf.c vasprintf.c: add code for %n specifier with any type tests/tprintf.c: add test for %n specifier ------------------------------------------------------------------------ r5258 | thevenyp | 2008-02-04 16:10:17 +0000 (Mon, 04 Feb 2008) | 2 lines Changed paths: M /trunk/mpfr.texi improve mention on format string restriction ------------------------------------------------------------------------ r5257 | thevenyp | 2008-02-04 15:28:16 +0000 (Mon, 04 Feb 2008) | 2 lines Changed paths: M /trunk/mpfr.texi mention restriction on type field in the format string. ------------------------------------------------------------------------ r5256 | thevenyp | 2008-02-04 14:28:14 +0000 (Mon, 04 Feb 2008) | 2 lines Changed paths: M /trunk/vasprintf.c check possible overflows in exponent part, improve comments. ------------------------------------------------------------------------ r5255 | thevenyp | 2008-02-04 13:46:52 +0000 (Mon, 04 Feb 2008) | 2 lines Changed paths: M /trunk/printf.c ensure null-terminated string for (v)snprintf. ------------------------------------------------------------------------ r5254 | thevenyp | 2008-02-01 16:07:40 +0000 (Fri, 01 Feb 2008) | 2 lines Changed paths: M /trunk/mpfr.texi improve mpfr_printf documentation ------------------------------------------------------------------------ r5253 | vlefevre | 2008-02-01 14:08:37 +0000 (Fri, 01 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tests.c tests.c: fixed perror argument in data_check. ------------------------------------------------------------------------ r5252 | thevenyp | 2008-02-01 14:02:52 +0000 (Fri, 01 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tests.c improve error handling ------------------------------------------------------------------------ r5251 | thevenyp | 2008-02-01 12:05:07 +0000 (Fri, 01 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tests.c check fscanf return value, manage error case ------------------------------------------------------------------------ r5249 | zimmerma | 2008-02-01 11:02:22 +0000 (Fri, 01 Feb 2008) | 2 lines Changed paths: M /trunk/mpfr.texi added parentheses to avoid ambiguity (suggested by Keith Briggs) ------------------------------------------------------------------------ r5248 | thevenyp | 2008-02-01 09:48:38 +0000 (Fri, 01 Feb 2008) | 2 lines Changed paths: M /trunk/printf.c add some "%s" format string to prevent format string attack ------------------------------------------------------------------------ r5247 | thevenyp | 2008-01-31 08:41:14 +0000 (Thu, 31 Jan 2008) | 2 lines Changed paths: M /trunk/vasprintf.c fix typo ------------------------------------------------------------------------ r5246 | thevenyp | 2008-01-30 13:19:36 +0000 (Wed, 30 Jan 2008) | 2 lines Changed paths: M /trunk/vasprintf.c homogeneous use of logical variable ------------------------------------------------------------------------ r5245 | vlefevre | 2008-01-30 12:48:51 +0000 (Wed, 30 Jan 2008) | 3 lines Changed paths: M /trunk/rec_sqrt.c rec_sqrt.c: use MPFR_GET_EXP instead of MPFR_EXP, and avoid the bitwise AND on a signed integer. ------------------------------------------------------------------------ r5244 | vlefevre | 2008-01-30 12:39:02 +0000 (Wed, 30 Jan 2008) | 2 lines Changed paths: M /trunk/mpfr.h M /trunk/rec_sqrt.c M /trunk/tests/tprintf.c M /trunk/tests/trec_sqrt.c Reformat. ------------------------------------------------------------------------ r5242 | vlefevre | 2008-01-30 12:29:13 +0000 (Wed, 30 Jan 2008) | 2 lines Changed paths: M /trunk/INSTALL M /trunk/mpfr.texi Document how to produce PDF and HTML versions of the manual. ------------------------------------------------------------------------ r5241 | thevenyp | 2008-01-30 10:06:38 +0000 (Wed, 30 Jan 2008) | 2 lines Changed paths: M /trunk/tests/tprintf.c change to values acceptable by 32-bits machines ------------------------------------------------------------------------ r5240 | thevenyp | 2008-01-30 09:34:21 +0000 (Wed, 30 Jan 2008) | 2 lines Changed paths: M /trunk/vasprintf.c fix wrong statement in MPFR_ASSERTD ------------------------------------------------------------------------ r5239 | zimmerma | 2008-01-30 08:19:41 +0000 (Wed, 30 Jan 2008) | 5 lines Changed paths: M /trunk/nightly-test added compilation options suggested by Debian: http://alioth.debian.org/projects/hardening/ http://lists.debian.org/debian-devel/2007/12/msg00090.html (except -Wl,zrelro which does not seem to work) ------------------------------------------------------------------------ r5238 | thevenyp | 2008-01-29 17:59:18 +0000 (Tue, 29 Jan 2008) | 3 lines Changed paths: M /trunk/tests/tprintf.c So as to avoid conversion error, get rid of mpfr_set_d/mpf_set_d except in random_double(). Skip conversion error in random_double(). ------------------------------------------------------------------------ r5237 | thevenyp | 2008-01-29 17:01:24 +0000 (Tue, 29 Jan 2008) | 2 lines Changed paths: M /trunk/vasprintf.c fix typo in comment ------------------------------------------------------------------------ r5236 | thevenyp | 2008-01-29 17:00:31 +0000 (Tue, 29 Jan 2008) | 2 lines Changed paths: M /trunk/vasprintf.c get rid of limitation on number of character by specifier ------------------------------------------------------------------------ r5235 | thevenyp | 2008-01-29 15:42:47 +0000 (Tue, 29 Jan 2008) | 4 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/vasprintf.c vasprintf.c: fix %Rg case tests/tprintf.c: add %Re, %Rf, and %Rg tests tests/tprintf.c: add random checking against libc ------------------------------------------------------------------------ r5231 | thevenyp | 2008-01-28 10:46:20 +0000 (Mon, 28 Jan 2008) | 2 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/vasprintf.c remove (undocumented) integer conversion support for mpfr_t ------------------------------------------------------------------------ r5230 | thevenyp | 2008-01-28 10:34:46 +0000 (Mon, 28 Jan 2008) | 2 lines Changed paths: M /trunk/printf.c M /trunk/vasprintf.c set errno to EOVERFLOW when printf-like functions should return value exceeding INT_MAX ------------------------------------------------------------------------ r5229 | thevenyp | 2008-01-28 10:19:09 +0000 (Mon, 28 Jan 2008) | 2 lines Changed paths: M /trunk/mpfr.h change internal name of printf-like functions under preprocessor conditionals, add explanation in comment. ------------------------------------------------------------------------ r5228 | vlefevre | 2008-01-25 15:09:21 +0000 (Fri, 25 Jan 2008) | 2 lines Changed paths: M /trunk/TODO TODO: added a possible class of tests. ------------------------------------------------------------------------ r5225 | vlefevre | 2008-01-23 17:01:24 +0000 (Wed, 23 Jan 2008) | 2 lines Changed paths: M /trunk/tests/tests.c tests.c: remove a blank line in an error message. ------------------------------------------------------------------------ r5224 | vlefevre | 2008-01-23 16:51:02 +0000 (Wed, 23 Jan 2008) | 4 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tests.c M /trunk/tests/tversion.c Test that the MPFR library version matches the mpfr.h version in any test file (this should avoid some bug reports that don't mention the real problem). ------------------------------------------------------------------------ r5222 | vlefevre | 2008-01-23 16:24:59 +0000 (Wed, 23 Jan 2008) | 2 lines Changed paths: M /trunk/tests/tversion.c tversion.c: improved an error message. ------------------------------------------------------------------------ r5219 | vlefevre | 2008-01-23 13:36:21 +0000 (Wed, 23 Jan 2008) | 2 lines Changed paths: M /trunk/acinclude.m4 acinclude.m4: fixed configure test for TLS support. ------------------------------------------------------------------------ r5217 | vlefevre | 2008-01-23 12:29:30 +0000 (Wed, 23 Jan 2008) | 2 lines Changed paths: M /trunk/NEWS NEWS file update (configure test for TLS support). ------------------------------------------------------------------------ r5213 | vlefevre | 2008-01-23 12:17:51 +0000 (Wed, 23 Jan 2008) | 2 lines Changed paths: M /trunk/add_d.c M /trunk/d_div.c M /trunk/d_sub.c M /trunk/div_d.c M /trunk/li2.c M /trunk/mbench/generate.c M /trunk/mbench/mpfr-gfx.c M /trunk/mbench/mpfr-v4.c M /trunk/mbench/mpfr-v6.c M /trunk/modf.c M /trunk/mul_d.c M /trunk/printf.c M /trunk/rec_sqrt.c M /trunk/rem1.c M /trunk/sinh_cosh.c M /trunk/sub_d.c M /trunk/tests/tadd_d.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdiv_d.c M /trunk/tests/tfmod.c M /trunk/tests/tli2.c M /trunk/tests/tmodf.c M /trunk/tests/tmul_d.c M /trunk/tests/tprintf.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsub_d.c M /trunk/vasprintf.c Added svn:keywords and svn:eol-style properties on new .c files. ------------------------------------------------------------------------ r5212 | vlefevre | 2008-01-23 11:46:10 +0000 (Wed, 23 Jan 2008) | 9 lines Changed paths: M /trunk/Makefile.am M /trunk/acinclude.m4 M /trunk/mpfr-impl.h A /trunk/mpfr-thread.h Changes related to thread-local variables / TLS support. * Moved the MPFR_THREAD_ATTR definition from mpfr-impl.h into a new header file mpfr-thread.h, and updated Makefile.am accordingly. * Removed the compiler check __MPFR_GNUC(3,3) || __MPFR_ICC(8,1,0) as this test leaded to both false positives and false negatives concerning TLS support. Assume that __thread should be used for thread-local variables (except for the MS compiler). * Added a configure test to acinclude.m4 (in MPFR_CONFIGS). ------------------------------------------------------------------------ r5211 | zimmerma | 2008-01-22 12:13:08 +0000 (Tue, 22 Jan 2008) | 2 lines Changed paths: M /trunk/README.dev added item about timings for a new release ------------------------------------------------------------------------ r5210 | zimmerma | 2008-01-22 12:09:19 +0000 (Tue, 22 Jan 2008) | 3 lines Changed paths: A /trunk/mbench A /trunk/mbench/Makefile A /trunk/mbench/README A /trunk/mbench/generate.c A /trunk/mbench/mfv5-arprec.cc A /trunk/mbench/mfv5-cln.cc A /trunk/mbench/mfv5-crlibm.cc A /trunk/mbench/mfv5-libc.cc A /trunk/mbench/mfv5-lidia.cc A /trunk/mbench/mfv5-mpf.cc A /trunk/mbench/mfv5-mpfr.cc A /trunk/mbench/mfv5-ntl.cc A /trunk/mbench/mfv5-pari.cc A /trunk/mbench/mfv5-void.cc A /trunk/mbench/mfv5.cc A /trunk/mbench/mfv5.h A /trunk/mbench/mpfr-gfx.c A /trunk/mbench/mpfr-v4.c A /trunk/mbench/mpfr-v6.c A /trunk/mbench/timp.h mbench program written by Patrick Pelissier to measure clock cycles of MPFR (and other libraries) for small precision ------------------------------------------------------------------------ r5207 | vlefevre | 2008-01-22 09:51:00 +0000 (Tue, 22 Jan 2008) | 3 lines Changed paths: M /trunk/NEWS NEWS: noted the changes concerning mpfr_strtofr (changesets 5146, 5147, 5148, 5149, 5167, 5172, 5173). ------------------------------------------------------------------------ r5205 | vlefevre | 2008-01-22 09:21:37 +0000 (Tue, 22 Jan 2008) | 2 lines Changed paths: M /trunk/mpfr-gmp.h mpfr-gmp.h: small fix of a macro. ------------------------------------------------------------------------ r5204 | vlefevre | 2008-01-21 12:42:57 +0000 (Mon, 21 Jan 2008) | 2 lines Changed paths: M /trunk/mpfr-gmp.h mpfr-gmp.h: for temporary allocations, use alloca() if size < 16384. ------------------------------------------------------------------------ r5203 | vlefevre | 2008-01-19 10:43:38 +0000 (Sat, 19 Jan 2008) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: inverse square root -> reciprocal square root. ------------------------------------------------------------------------ r5202 | zimmerma | 2008-01-18 16:20:48 +0000 (Fri, 18 Jan 2008) | 2 lines Changed paths: M /trunk/mpfr.texi added mpfr_rec_sqrt in mpfr.texi (forgot in last commit) ------------------------------------------------------------------------ r5201 | vlefevre | 2008-01-18 15:47:39 +0000 (Fri, 18 Jan 2008) | 2 lines Changed paths: M /trunk/NEWS NEWS: added mpfr_rec_sqrt for MPFR 2.4.*. ------------------------------------------------------------------------ r5200 | zimmerma | 2008-01-18 14:03:27 +0000 (Fri, 18 Jan 2008) | 2 lines Changed paths: M /trunk/TODO removed rec_sqrt (done) ------------------------------------------------------------------------ r5199 | thevenyp | 2008-01-17 17:46:53 +0000 (Thu, 17 Jan 2008) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: merge code for "%Ra" and "%Rb" ------------------------------------------------------------------------ r5198 | thevenyp | 2008-01-16 12:54:47 +0000 (Wed, 16 Jan 2008) | 2 lines Changed paths: M /trunk/vasprintf.c cosmetic change: replace "enum _arg_type" by "enum arg_t" ------------------------------------------------------------------------ r5197 | thevenyp | 2008-01-16 10:58:11 +0000 (Wed, 16 Jan 2008) | 3 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/vasprintf.c vasprintf.c: fix %g case; merge %e, %f, %g code tests/tprintf.c: add tests for %Rg ------------------------------------------------------------------------ r5196 | thevenyp | 2008-01-16 10:50:42 +0000 (Wed, 16 Jan 2008) | 2 lines Changed paths: M /trunk/vasprintf.c add MPFR_SAVE_EXPO macros ------------------------------------------------------------------------ r5195 | thevenyp | 2008-01-16 10:44:18 +0000 (Wed, 16 Jan 2008) | 2 lines Changed paths: M /trunk/vasprintf.c cosmetic changes: only one leading underscore for an identifier with file scope ------------------------------------------------------------------------ r5194 | thevenyp | 2008-01-16 10:29:58 +0000 (Wed, 16 Jan 2008) | 2 lines Changed paths: M /trunk/vasprintf.c add needed va_list argument in READ_INT macro ------------------------------------------------------------------------ r5193 | vlefevre | 2008-01-16 09:30:15 +0000 (Wed, 16 Jan 2008) | 2 lines Changed paths: M /trunk/tests tests: added trec_sqrt to svn:ignore property. ------------------------------------------------------------------------ r5191 | vlefevre | 2008-01-16 09:05:22 +0000 (Wed, 16 Jan 2008) | 4 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: when building MPFR with the GMP build directory, use TMP_ALLOC(s) instead of TMP_SALLOC(s), as we don't know whether allocations are small or big (see gmp-impl.h). ------------------------------------------------------------------------ r5190 | zimmerma | 2008-01-16 07:57:24 +0000 (Wed, 16 Jan 2008) | 2 lines Changed paths: M /trunk/rec_sqrt.c moved from ASSERTD to ASSERTN an assertion which does not depend on MPFR ------------------------------------------------------------------------ r5189 | zimmerma | 2008-01-15 17:16:35 +0000 (Tue, 15 Jan 2008) | 2 lines Changed paths: A /trunk/tests/trec_sqrt.c this file might be useful to test mpfr_rec_sqrt... ------------------------------------------------------------------------ r5188 | zimmerma | 2008-01-15 17:10:17 +0000 (Tue, 15 Jan 2008) | 5 lines Changed paths: M /trunk/Makefile.am M /trunk/algorithms.tex M /trunk/mpfr.h M /trunk/rec_sqrt.c M /trunk/tests/Makefile.am M /trunk/tests/tests.c rec_sqrt.c: complete rewrite, to allow to use directly the MPFR internal representation as input (without shift), and to allow different input and output precisions, without loss of efficiency other files: added new function mpfr_rec_sqrt ------------------------------------------------------------------------ r5187 | vlefevre | 2008-01-14 17:23:44 +0000 (Mon, 14 Jan 2008) | 2 lines Changed paths: M /trunk/rec_sqrt.c rec_sqrt.c: deleted trailing whitespace. ------------------------------------------------------------------------ r5186 | vlefevre | 2008-01-14 17:22:35 +0000 (Mon, 14 Jan 2008) | 3 lines Changed paths: M /trunk/mpfr-gmp.c M /trunk/mpfr-gmp.h mpfr-gmp.{c,h}: no longer use alloca() for the temporary allocations as this can make MPFR crash in some high precisions, due to limited stack. ------------------------------------------------------------------------ r5185 | thevenyp | 2008-01-14 10:41:19 +0000 (Mon, 14 Jan 2008) | 2 lines Changed paths: M /trunk/tests/tprintf.c add bug found by Paul Zimmermann ------------------------------------------------------------------------ r5184 | thevenyp | 2008-01-14 10:33:01 +0000 (Mon, 14 Jan 2008) | 3 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/vasprintf.c vasprintf.c: fix wrong computation of digit number with %Rf when 0 < op < 1 tests/tprintf.c: simpler 10^-n case ------------------------------------------------------------------------ r5182 | vlefevre | 2008-01-14 08:34:00 +0000 (Mon, 14 Jan 2008) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: typo. ------------------------------------------------------------------------ r5181 | vlefevre | 2008-01-11 21:54:06 +0000 (Fri, 11 Jan 2008) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated month. ------------------------------------------------------------------------ r5180 | vlefevre | 2008-01-11 21:45:08 +0000 (Fri, 11 Jan 2008) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: added a warning concerning huge precisions. ------------------------------------------------------------------------ r5179 | thevenyp | 2008-01-10 17:18:23 +0000 (Thu, 10 Jan 2008) | 2 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/vasprintf.c fix %f case ------------------------------------------------------------------------ r5178 | thevenyp | 2008-01-10 17:06:11 +0000 (Thu, 10 Jan 2008) | 2 lines Changed paths: M /trunk/vasprintf.c cosmetic changes ------------------------------------------------------------------------ r5177 | zimmerma | 2008-01-08 07:36:23 +0000 (Tue, 08 Jan 2008) | 2 lines Changed paths: M /trunk/mpfr.texi small changes for acos/asin/atan/atan2 rounded outside their output range ------------------------------------------------------------------------ r5176 | zimmerma | 2008-01-07 21:11:03 +0000 (Mon, 07 Jan 2008) | 3 lines Changed paths: M /trunk/mpfr.texi added note about output of acos/asin/atan/atan2 which might be outside the function domain ------------------------------------------------------------------------ r5175 | zimmerma | 2008-01-05 09:20:12 +0000 (Sat, 05 Jan 2008) | 2 lines Changed paths: M /trunk/rec_sqrt.c new version with improved tables, use macros from mpfr-impl.h, removed tabs ------------------------------------------------------------------------ r5173 | vlefevre | 2008-01-04 21:57:08 +0000 (Fri, 04 Jan 2008) | 4 lines Changed paths: M /trunk/strtofr.c M /trunk/tests/tstrtofr.c Fixed return value of mpfr_strtofr in case of invalid data (it was -1, but it should be 0 since it is a ternary value and the result is 0, which is exact). Added test of the ternary value in this case. ------------------------------------------------------------------------ r5172 | vlefevre | 2008-01-04 21:33:19 +0000 (Fri, 04 Jan 2008) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: better description of mpfr_strtofr. ------------------------------------------------------------------------ r5171 | vlefevre | 2008-01-04 13:11:46 +0000 (Fri, 04 Jan 2008) | 2 lines Changed paths: M /trunk/NEWS NEWS update (new functions in the trunk). ------------------------------------------------------------------------ r5167 | vlefevre | 2008-01-04 12:07:14 +0000 (Fri, 04 Jan 2008) | 15 lines Changed paths: M /trunk/mpfr.texi M /trunk/strtofr.c M /trunk/tests/tstrtofr.c Changes related to mpfr_strtofr. * strtofr.c: for mpfr_strtofr, data corresponding to NaN can now have an optional sign (since the documentation said that parsing followed the standard C strtod function and this change makes invalid data now valid, so that there should be no compatibility problems). * tests/tstrtofr.c: changed the test for -42P17 in base 16 (this was eventually regarded as a documentation bug); added tests. * mpfr.texi: almost completely rewrote the specification of the mpfr_strtofr function. Changes: - the binary exponent is now accepted even without the 0b or 0x prefix; - data corresponding to NaN can now have an optional sign (this was a bit ambiguous); - many other ambiguities avoided. ------------------------------------------------------------------------ r5166 | zimmerma | 2008-01-04 10:35:04 +0000 (Fri, 04 Jan 2008) | 5 lines Changed paths: A /trunk/rec_sqrt.c the function mpfr_mpn_rec_sqrt() provides a faithful approximation of the inverse square root. Some improvements can still be made, but the interface should not change, thus we can start writing the mpfr_rec_sqrt function that calls it. ------------------------------------------------------------------------ r5164 | vlefevre | 2008-01-02 17:19:42 +0000 (Wed, 02 Jan 2008) | 2 lines Changed paths: M /trunk/FAQ.html FAQ update. ------------------------------------------------------------------------ r5161 | vlefevre | 2008-01-01 12:31:06 +0000 (Tue, 01 Jan 2008) | 3 lines Changed paths: M /trunk/tests/tgamma.c tgamma.c: completed test in r5159 with another one that was failing in the default exponent range. ------------------------------------------------------------------------ r5160 | vlefevre | 2008-01-01 12:07:21 +0000 (Tue, 01 Jan 2008) | 2 lines Changed paths: M /trunk/printf.c M /trunk/vasprintf.c delete trailing spaces. ------------------------------------------------------------------------ r5159 | zimmerma | 2008-01-01 09:44:28 +0000 (Tue, 01 Jan 2008) | 2 lines Changed paths: M /trunk/gamma.c M /trunk/tests/tgamma.c fixed bug in case of underflow (wrong sign) ------------------------------------------------------------------------ r5157 | vlefevre | 2008-01-01 03:57:20 +0000 (Tue, 01 Jan 2008) | 4 lines Changed paths: M /trunk/gen_inverse.h gen_inverse.h: fixed the bug reported by Kevin Rauch a few hours ago (and that was detected by the generic tests and by mpfrlint after the latest changes). ------------------------------------------------------------------------ r5154 | vlefevre | 2008-01-01 03:47:50 +0000 (Tue, 01 Jan 2008) | 2 lines Changed paths: M /trunk/mpfrlint mpfrlint: incorrect use of mpfr_<flag>_p is also checked in .h files. ------------------------------------------------------------------------ r5151 | vlefevre | 2008-01-01 03:26:37 +0000 (Tue, 01 Jan 2008) | 4 lines Changed paths: M /trunk/BUGS M /trunk/FAQ.html M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/abort_prec_max.c M /trunk/acinclude.m4 M /trunk/acos.c M /trunk/acosh.c M /trunk/add.c M /trunk/add1.c M /trunk/add1sp.c M /trunk/add_d.c M /trunk/add_ui.c M /trunk/agm.c M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atan2.c M /trunk/atanh.c M /trunk/cache.c M /trunk/cbrt.c M /trunk/check.c M /trunk/clear.c M /trunk/clears.c M /trunk/cmp.c M /trunk/cmp2.c M /trunk/cmp_abs.c M /trunk/cmp_d.c M /trunk/cmp_ld.c M /trunk/cmp_si.c M /trunk/cmp_ui.c M /trunk/comparisons.c M /trunk/configure.in M /trunk/const_catalan.c M /trunk/const_euler.c M /trunk/const_log2.c M /trunk/const_pi.c M /trunk/constant.c M /trunk/copysign.c M /trunk/cos.c M /trunk/cosh.c M /trunk/cot.c M /trunk/coth.c M /trunk/csc.c M /trunk/csch.c M /trunk/d_div.c M /trunk/d_sub.c M /trunk/dim.c M /trunk/div.c M /trunk/div_2exp.c M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/div_d.c M /trunk/div_ui.c M /trunk/dump.c M /trunk/eint.c M /trunk/eq.c M /trunk/erf.c M /trunk/erfc.c M /trunk/exceptions.c M /trunk/exp.c M /trunk/exp10.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/extract.c M /trunk/factorial.c M /trunk/faq.xsl M /trunk/fits_intmax.c M /trunk/fits_s.h M /trunk/fits_sint.c M /trunk/fits_slong.c M /trunk/fits_sshort.c M /trunk/fits_u.h M /trunk/fits_uint.c M /trunk/fits_uintmax.c M /trunk/fits_ulong.c M /trunk/fits_ushort.c M /trunk/fma.c M /trunk/fms.c M /trunk/frac.c M /trunk/free_cache.c M /trunk/gamma.c M /trunk/gen_inverse.h M /trunk/generic.c M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_exp.c M /trunk/get_f.c M /trunk/get_ld.c M /trunk/get_patches.sh M /trunk/get_si.c M /trunk/get_sj.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/get_uj.c M /trunk/get_z.c M /trunk/get_z_exp.c M /trunk/gmp_op.c M /trunk/hypot.c M /trunk/init.c M /trunk/init2.c M /trunk/inits.c M /trunk/inits2.c M /trunk/inp_str.c M /trunk/int_ceil_log2.c M /trunk/isinf.c M /trunk/isinteger.c M /trunk/isnan.c M /trunk/isnum.c M /trunk/isqrt.c M /trunk/iszero.c M /trunk/jn.c M /trunk/jyn_asympt.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/log.c M /trunk/log10.c M /trunk/log1p.c M /trunk/log2.c M /trunk/logging.c M /trunk/minmax.c M /trunk/modf.c M /trunk/mp_clz_tab.c M /trunk/mparam_h.in M /trunk/mpf2mpfr.h M /trunk/mpfr-gmp.c M /trunk/mpfr-gmp.h M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/mpn_exp.c M /trunk/mul.c M /trunk/mul_2exp.c M /trunk/mul_2si.c M /trunk/mul_2ui.c M /trunk/mul_d.c M /trunk/mul_ui.c M /trunk/mulders.c M /trunk/neg.c M /trunk/next.c M /trunk/out_str.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/powerof2.c M /trunk/print_raw.c M /trunk/print_rnd_mode.c M /trunk/printf.c M /trunk/random.c M /trunk/random2.c M /trunk/reldiff.c M /trunk/rem1.c M /trunk/rint.c M /trunk/root.c M /trunk/round_near_x.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/sec.c M /trunk/sech.c M /trunk/set.c M /trunk/set_d.c M /trunk/set_d64.c M /trunk/set_dfl_prec.c M /trunk/set_exp.c M /trunk/set_f.c M /trunk/set_inf.c M /trunk/set_ld.c M /trunk/set_nan.c M /trunk/set_prc_raw.c M /trunk/set_prec.c M /trunk/set_q.c M /trunk/set_rnd.c M /trunk/set_si.c M /trunk/set_si_2exp.c M /trunk/set_sj.c M /trunk/set_str.c M /trunk/set_str_raw.c M /trunk/set_ui.c M /trunk/set_ui_2exp.c M /trunk/set_uj.c M /trunk/set_z.c M /trunk/setmax.c M /trunk/setmin.c M /trunk/setsign.c M /trunk/sgn.c M /trunk/si_op.c M /trunk/signbit.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sinh_cosh.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/sqrt_ui.c M /trunk/stack_interface.c M /trunk/strtofr.c M /trunk/sub.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/sub_d.c M /trunk/sub_ui.c M /trunk/subnormal.c M /trunk/sum.c M /trunk/swap.c M /trunk/tan.c M /trunk/tanh.c M /trunk/tests/cmp_str.c 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/reuse.c M /trunk/tests/rnd_mode.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/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.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/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.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/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.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_ld_2exp.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/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/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/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.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_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/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/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.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/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.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/tuneup.c M /trunk/uceil_exp2.c M /trunk/uceil_log2.c M /trunk/ufloor_log2.c M /trunk/ui_div.c M /trunk/ui_pow.c M /trunk/ui_pow_ui.c M /trunk/ui_sub.c M /trunk/urandomb.c M /trunk/vasprintf.c M /trunk/version.c M /trunk/volatile.c M /trunk/yn.c M /trunk/zeta.c M /trunk/zeta_ui.c Copyright notice update: added 2008 with perl -pi -e 's/2007 Free Software/2007, 2008 Free Software/' **/*(^/) under zsh. ------------------------------------------------------------------------ r5150 | vlefevre | 2008-01-01 03:17:56 +0000 (Tue, 01 Jan 2008) | 5 lines Changed paths: M /trunk/tests/tgeneric.c tgeneric.c: in the bug detection with flags set before the function call, the erange flag was set, so that no checks were performed on the return value. Fixed that by not setting the erange flag. -> Now, 7 tests fail! ------------------------------------------------------------------------ r5149 | vlefevre | 2007-12-31 02:32:11 +0000 (Mon, 31 Dec 2007) | 5 lines Changed paths: M /trunk/tests/tstrtofr.c tstrtofr.c: added test of -42P17 with base = 0 and 16. This currently fails with base = 16 (-42P17 is parsed as -0x42P17 instead of -42 with the remaining characters "P17"), but we could alternatively regard the mpfr_strtofr specification (in mpfr.texi) as incorrect. ------------------------------------------------------------------------ r5148 | vlefevre | 2007-12-30 18:20:34 +0000 (Sun, 30 Dec 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: corrections in the specification of mpfr_strtofr (see FIXME). ------------------------------------------------------------------------ r5147 | vlefevre | 2007-12-30 17:48:06 +0000 (Sun, 30 Dec 2007) | 5 lines Changed paths: M /trunk/strtofr.c M /trunk/tests/tset_str.c strtofr.c: base arguments different from 0 and 2..36 have never been accepted. So, instead of returning the confusing -1 (it's a ternary value), let's add an assert for the moment. An alternative solution is to return 0 and set the erange flag. ------------------------------------------------------------------------ r5146 | vlefevre | 2007-12-30 17:17:36 +0000 (Sun, 30 Dec 2007) | 2 lines Changed paths: M /trunk/strtofr.c strtofr.c: minor change (in the style); a comment was ambiguous. ------------------------------------------------------------------------ r5145 | vlefevre | 2007-12-29 22:02:14 +0000 (Sat, 29 Dec 2007) | 2 lines Changed paths: M /trunk/TODO TODO update (tests: generic bad cases). ------------------------------------------------------------------------ r5144 | vlefevre | 2007-12-29 21:46:50 +0000 (Sat, 29 Dec 2007) | 3 lines Changed paths: M /trunk/tests/reuse.c M /trunk/tests/tadd_d.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdiv_d.c M /trunk/tests/tfmod.c M /trunk/tests/tli2.c M /trunk/tests/tmodf.c M /trunk/tests/tmul_d.c M /trunk/tests/tprintf.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsub_d.c Added #if MPFR_VERSION >= MPFR_VERSION_NUM(2,4,0) conditionals to be able to test MPFR 2.3.* with the (more complete) tests from the trunk. ------------------------------------------------------------------------ r5143 | vlefevre | 2007-12-29 17:07:10 +0000 (Sat, 29 Dec 2007) | 2 lines Changed paths: M /trunk/README.dev README.dev: updated item 6 of "To make a release". ------------------------------------------------------------------------ r5138 | vlefevre | 2007-12-28 02:37:11 +0000 (Fri, 28 Dec 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated month. ------------------------------------------------------------------------ r5136 | vlefevre | 2007-12-27 16:12:57 +0000 (Thu, 27 Dec 2007) | 2 lines Changed paths: M /trunk/tests/tadd1sp.c M /trunk/tests/tests.c M /trunk/tests/tset_exp.c M /trunk/tests/tsubnormal.c tests: check the exponent range, in particular at the end of each test. ------------------------------------------------------------------------ r5135 | vlefevre | 2007-12-27 16:00:56 +0000 (Thu, 27 Dec 2007) | 2 lines Changed paths: M /trunk/tests/texceptions.c texceptions.c: GNU coding style. ------------------------------------------------------------------------ r5134 | vlefevre | 2007-12-27 15:59:46 +0000 (Thu, 27 Dec 2007) | 2 lines Changed paths: M /trunk/tests/texceptions.c texceptions.c: restore the exponent range. ------------------------------------------------------------------------ r5132 | vlefevre | 2007-12-27 03:10:01 +0000 (Thu, 27 Dec 2007) | 3 lines Changed paths: M /trunk/exp2.c exp2.c: removed incorrect comment (the overflow test was OK due to the mpfr_clear_flags above, but the new test is slightly better anyway). ------------------------------------------------------------------------ r5127 | zimmerma | 2007-12-21 15:31:55 +0000 (Fri, 21 Dec 2007) | 3 lines Changed paths: M /trunk/mparam_h.in added tuning parameters for 32-bit Core 2 (thanks to Patrick Pelissier and Emmanuel Thome) ------------------------------------------------------------------------ r5124 | vlefevre | 2007-12-20 08:53:50 +0000 (Thu, 20 Dec 2007) | 2 lines Changed paths: M /trunk/tests/tpow.c tpow.c: enable testcase bug20071218. ------------------------------------------------------------------------ r5123 | vlefevre | 2007-12-19 18:15:03 +0000 (Wed, 19 Dec 2007) | 2 lines Changed paths: M /trunk/BUGS BUGS: possible incorrect results due to internal underflow. ------------------------------------------------------------------------ r5122 | vlefevre | 2007-12-19 18:00:59 +0000 (Wed, 19 Dec 2007) | 3 lines Changed paths: M /trunk/pow.c pow.c: detect all underflow cases (some of them were leading to an infinite loop, see bug20071218 in tpow.c). ------------------------------------------------------------------------ r5121 | vlefevre | 2007-12-19 15:04:43 +0000 (Wed, 19 Dec 2007) | 2 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: updated description of MPFR_CAN_ROUND. ------------------------------------------------------------------------ r5120 | vlefevre | 2007-12-19 14:49:34 +0000 (Wed, 19 Dec 2007) | 2 lines Changed paths: M /trunk/round_p.c round_p.c: in comment, "round to zero" -> "round toward zero". ------------------------------------------------------------------------ r5119 | vlefevre | 2007-12-19 14:27:30 +0000 (Wed, 19 Dec 2007) | 2 lines Changed paths: M /trunk/tests/tpow.c tpow.c: formatting. ------------------------------------------------------------------------ r5118 | vlefevre | 2007-12-19 14:25:10 +0000 (Wed, 19 Dec 2007) | 3 lines Changed paths: M /trunk/tests/tpow.c tpow.c: added testcase for another bug found by Kevin P. Rauch. Execute tpow with an argument to enable it. ------------------------------------------------------------------------ r5117 | thevenyp | 2007-12-19 10:32:52 +0000 (Wed, 19 Dec 2007) | 3 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/vasprintf.c vasprintf.c: add sprnt_fp_e for "%e" processing tests/tprintf.c: change tests for decimal output (but need further tests) ------------------------------------------------------------------------ r5116 | thevenyp | 2007-12-19 09:26:37 +0000 (Wed, 19 Dec 2007) | 2 lines Changed paths: M /trunk/tests/tprintf.c add checks for zero ------------------------------------------------------------------------ r5115 | vlefevre | 2007-12-18 15:51:00 +0000 (Tue, 18 Dec 2007) | 11 lines Changed paths: M /trunk/acosh.c M /trunk/atan2.c M /trunk/cosh.c M /trunk/cot.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/fma.c M /trunk/fms.c M /trunk/gamma.c M /trunk/mpfr-impl.h M /trunk/mpfrlint M /trunk/pow.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/rint.c M /trunk/sinh.c M /trunk/sinh_cosh.c M /trunk/tests/tgeneric.c M /trunk/yn.c Merged the feature-block branch to the trunk: * New MPFR_BLOCK* macros (see mpfr-impl.h) and mpfrlint check to test exception flags in a more reliable way and detect possible problems with mpfrlint. * Improved the generic tests (tests/tgeneric.c): for the second function call, sometimes set all the flags since risk of failures are known when some flags are already set. * Modified code to use these new MPFR_BLOCK* macros. This fixed bugs related to exceptions (where flags are set before the call); in particular, tcot and ty1 failed with the improved generic tests. ------------------------------------------------------------------------ r5113 | thevenyp | 2007-12-18 15:09:30 +0000 (Tue, 18 Dec 2007) | 4 lines Changed paths: M /trunk/printf.c M /trunk/vasprintf.c printf.c: each mpfr_printf-like function return -1 and set erange flag in error case vasprintf.c: change types in struct char_fp vasprintf.c: add many size checking ------------------------------------------------------------------------ r5112 | thevenyp | 2007-12-18 13:48:07 +0000 (Tue, 18 Dec 2007) | 2 lines Changed paths: M /trunk/vasprintf.c simplify code, improve comments ------------------------------------------------------------------------ r5110 | vlefevre | 2007-12-18 12:54:25 +0000 (Tue, 18 Dec 2007) | 6 lines Changed paths: M /trunk/pow_z.c M /trunk/tests/tpow_z.c Fixed bug in mpfr_pow_z: if x = y (same mpfr_t argument), the input argument is negative and not a power of two, z is positive and odd, an overflow or underflow occurs, and the temporary result res is positive, then the result gets a wrong sign (positive instead of negative). Testcase. ------------------------------------------------------------------------ r5108 | vlefevre | 2007-12-18 12:08:42 +0000 (Tue, 18 Dec 2007) | 5 lines Changed paths: M /trunk/pow_ui.c M /trunk/tests/tpow.c Fixed bug in mpfr_pow_ui (introduced in r3214): if x = y (same mpfr_t argument), the input argument is negative, n is odd, an overflow or underflow occurs, and the temporary result res is positive, then the result gets a wrong sign (positive instead of negative). Testcase. ------------------------------------------------------------------------ r5107 | vlefevre | 2007-12-18 11:24:53 +0000 (Tue, 18 Dec 2007) | 2 lines Changed paths: M /trunk/pow_ui.c pow_ui.c: fixed an assertion. ------------------------------------------------------------------------ r5106 | vlefevre | 2007-12-18 10:27:28 +0000 (Tue, 18 Dec 2007) | 2 lines Changed paths: M /trunk/BUGS BUGS: update concerning overflow/underflow exceptions. ------------------------------------------------------------------------ r5105 | thevenyp | 2007-12-18 10:08:21 +0000 (Tue, 18 Dec 2007) | 2 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/vasprintf.c exponent continuity with one hexadecimal digit ouput ------------------------------------------------------------------------ r5104 | thevenyp | 2007-12-17 14:41:58 +0000 (Mon, 17 Dec 2007) | 2 lines Changed paths: M /trunk/vasprintf.c #define CASE_INT_MAX_ARG to nil when HAVE_STDINT_H is not defined ------------------------------------------------------------------------ r5103 | thevenyp | 2007-12-17 13:52:26 +0000 (Mon, 17 Dec 2007) | 3 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/vasprintf.c vasprintf.c: add sprnt_fp_b for "%b" processing tests/tprintf.c: add tests for binary output ------------------------------------------------------------------------ r5102 | thevenyp | 2007-12-17 13:49:11 +0000 (Mon, 17 Dec 2007) | 2 lines Changed paths: M /trunk/vasprintf.c fix count of characters in exponent part ------------------------------------------------------------------------ r5101 | thevenyp | 2007-12-17 13:46:24 +0000 (Mon, 17 Dec 2007) | 2 lines Changed paths: M /trunk/vasprintf.c simplify code, remove trailing spaces and improve comment ------------------------------------------------------------------------ r5100 | vlefevre | 2007-12-17 12:04:53 +0000 (Mon, 17 Dec 2007) | 2 lines Changed paths: M /trunk/TODO TODO: added note about the successive calls to strcat in vasprintf.c. ------------------------------------------------------------------------ r5099 | thevenyp | 2007-12-17 10:16:34 +0000 (Mon, 17 Dec 2007) | 2 lines Changed paths: M /trunk/tests/tprintf.c add tests for 1 hexa digit output ------------------------------------------------------------------------ r5093 | vlefevre | 2007-12-16 00:15:25 +0000 (Sun, 16 Dec 2007) | 2 lines Changed paths: M /trunk/tests/tpow.c tests/tpow.c: fixed indentation. ------------------------------------------------------------------------ r5092 | zimmerma | 2007-12-15 14:29:06 +0000 (Sat, 15 Dec 2007) | 2 lines Changed paths: M /trunk/reldiff.c fixed typo ------------------------------------------------------------------------ r5091 | zimmerma | 2007-12-15 09:42:13 +0000 (Sat, 15 Dec 2007) | 2 lines Changed paths: M /trunk/asin.c M /trunk/tests/tasin.c fixed bug reported by Kevin Rauch ------------------------------------------------------------------------ r5090 | thevenyp | 2007-12-14 17:12:05 +0000 (Fri, 14 Dec 2007) | 2 lines Changed paths: M /trunk/vasprintf.c change display with just one hexadecimal digit ------------------------------------------------------------------------ r5089 | zimmerma | 2007-12-14 14:26:21 +0000 (Fri, 14 Dec 2007) | 2 lines Changed paths: M /trunk/sin_cos.c simplified MPFR_FAST_COMPUTE_IF_SMALL_INPUT part (in case of overlap) ------------------------------------------------------------------------ r5088 | thevenyp | 2007-12-14 14:08:28 +0000 (Fri, 14 Dec 2007) | 2 lines Changed paths: M /trunk/tests/tprintf.c fix wrong call ------------------------------------------------------------------------ r5087 | zimmerma | 2007-12-14 13:24:44 +0000 (Fri, 14 Dec 2007) | 2 lines Changed paths: M /trunk/round_near_x.c added comments, got rid of compiler warnings ------------------------------------------------------------------------ r5086 | zimmerma | 2007-12-14 13:10:41 +0000 (Fri, 14 Dec 2007) | 2 lines Changed paths: M /trunk/sinh_cosh.c added warning ------------------------------------------------------------------------ r5085 | vlefevre | 2007-12-14 12:36:25 +0000 (Fri, 14 Dec 2007) | 2 lines Changed paths: M /trunk/sin_cos.c sin_cos.c: improved changeset 5084; in particular, added a missing cast. ------------------------------------------------------------------------ r5084 | zimmerma | 2007-12-14 09:24:11 +0000 (Fri, 14 Dec 2007) | 4 lines Changed paths: M /trunk/sin_cos.c M /trunk/tests/reuse.c M /trunk/tests/tsin_cos.c sin_cos.c, tsin_cos.c: fixed bug occurring when arguments overlap and MPFR_FAST_COMPUTE_IF_SMALL_INPUT fails reuse.c: improved output in case of error ------------------------------------------------------------------------ r5083 | thevenyp | 2007-12-14 09:20:36 +0000 (Fri, 14 Dec 2007) | 2 lines Changed paths: M /trunk/vasprintf.c improve one digit case, add comment ------------------------------------------------------------------------ r5082 | vlefevre | 2007-12-14 09:06:26 +0000 (Fri, 14 Dec 2007) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: added a FIXME comment. Bug? ------------------------------------------------------------------------ r5081 | vlefevre | 2007-12-14 09:05:30 +0000 (Fri, 14 Dec 2007) | 2 lines Changed paths: M /trunk/get_str.c M /trunk/vasprintf.c Minor changes concerning num_to_text. The ending \0 isn't needed. ------------------------------------------------------------------------ r5080 | thevenyp | 2007-12-14 08:56:31 +0000 (Fri, 14 Dec 2007) | 2 lines Changed paths: M /trunk/tests/tfmod.c M /trunk/tests/tprintf.c M /trunk/tests/tsinh_cosh.c simplify error output code ------------------------------------------------------------------------ r5079 | thevenyp | 2007-12-14 08:45:48 +0000 (Fri, 14 Dec 2007) | 2 lines Changed paths: M /trunk/vasprintf.c add num_to_text array for hexadecimal digits ------------------------------------------------------------------------ r5078 | thevenyp | 2007-12-14 08:17:43 +0000 (Fri, 14 Dec 2007) | 2 lines Changed paths: M /trunk/tests/tfmod.c M /trunk/tests/tprintf.c M /trunk/tests/tsinh_cosh.c output errors to stdout ------------------------------------------------------------------------ r5077 | thevenyp | 2007-12-13 17:20:42 +0000 (Thu, 13 Dec 2007) | 4 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/vasprintf.c vasprintf.c: group hexadecimal output processing in a new sprnt_fp_a function. tests/tprintf.c: add tests for %a case tests/tprintf.c: factorize error message output ------------------------------------------------------------------------ r5076 | vlefevre | 2007-12-13 17:08:44 +0000 (Thu, 13 Dec 2007) | 2 lines Changed paths: M /trunk/get_d64.c get_d64.c: fixed comment. ------------------------------------------------------------------------ r5075 | vlefevre | 2007-12-13 17:03:19 +0000 (Thu, 13 Dec 2007) | 3 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: added missing #include <string.h> (useful if MPFR is built with the GMP build directory, as mpfr-gmp.h isn't used in this case). ------------------------------------------------------------------------ r5074 | thevenyp | 2007-12-13 16:59:31 +0000 (Thu, 13 Dec 2007) | 2 lines Changed paths: M /trunk/mpfr.texi Fix typos. ------------------------------------------------------------------------ r5073 | thevenyp | 2007-12-13 16:58:01 +0000 (Thu, 13 Dec 2007) | 2 lines Changed paths: M /trunk/printf.c Add handle for null size case in mpfr_snprintf ------------------------------------------------------------------------ r5072 | thevenyp | 2007-12-13 16:53:24 +0000 (Thu, 13 Dec 2007) | 2 lines Changed paths: M /trunk/vasprintf.c Add some comments and assertions. ------------------------------------------------------------------------ r5071 | thevenyp | 2007-12-13 16:42:19 +0000 (Thu, 13 Dec 2007) | 2 lines Changed paths: M /trunk/vasprintf.c #define's for nan and inf strings ------------------------------------------------------------------------ r5070 | thevenyp | 2007-12-13 16:20:30 +0000 (Thu, 13 Dec 2007) | 2 lines Changed paths: M /trunk/mpfr.texi short documentation of printf-like functions. ------------------------------------------------------------------------ r5069 | vlefevre | 2007-12-12 23:02:12 +0000 (Wed, 12 Dec 2007) | 3 lines Changed paths: M /trunk/README.dev README.dev: added information about my tool "eet" to be able to see the warnings more easily. ------------------------------------------------------------------------ r5068 | vlefevre | 2007-12-12 14:46:26 +0000 (Wed, 12 Dec 2007) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: updated comment concerning the case nbchar > INT_MAX. ------------------------------------------------------------------------ r5067 | zimmerma | 2007-11-30 17:26:38 +0000 (Fri, 30 Nov 2007) | 2 lines Changed paths: M /trunk/jn.c changed default return value in mpfr_jn_k0 ------------------------------------------------------------------------ r5066 | zimmerma | 2007-11-30 17:09:03 +0000 (Fri, 30 Nov 2007) | 2 lines Changed paths: M /trunk/exp.c M /trunk/exp3.c M /trunk/tests/texp.c fixed underflow problem in mpfr_exp_3 ------------------------------------------------------------------------ r5065 | zimmerma | 2007-11-30 15:03:56 +0000 (Fri, 30 Nov 2007) | 3 lines Changed paths: M /trunk/jn.c M /trunk/tests/tset_str.c tests/tset_str.c: added command-line argument for output base jn.c: replaced double-precision LOG2 constant by binary string (more portable) ------------------------------------------------------------------------ r5064 | zimmerma | 2007-11-30 13:50:23 +0000 (Fri, 30 Nov 2007) | 2 lines Changed paths: M /trunk/exp_2.c fixed underflow problem ------------------------------------------------------------------------ r5063 | zimmerma | 2007-11-30 12:05:02 +0000 (Fri, 30 Nov 2007) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/mparam_h.in experimental code to distinguish Core2 from AMD64 ------------------------------------------------------------------------ r5062 | zimmerma | 2007-11-30 10:43:43 +0000 (Fri, 30 Nov 2007) | 2 lines Changed paths: M /trunk/exp.c M /trunk/pow_ui.c removed manual change to __gmpfr_emin outside the allowed range ------------------------------------------------------------------------ r5061 | zimmerma | 2007-11-30 10:02:38 +0000 (Fri, 30 Nov 2007) | 2 lines Changed paths: M /trunk/mparam_h.in added suggestion from Patrick Pelissier ------------------------------------------------------------------------ r5059 | zimmerma | 2007-11-29 21:34:15 +0000 (Thu, 29 Nov 2007) | 5 lines Changed paths: M /trunk/pow_z.c M /trunk/tests/tpow.c Fixed another bug reported by Kevin Rauch (__gmpfr_emin was set smaller than the minimum allowed value, which produced an exponent wrap-around and a wrong result in mpfr_mul). Not sure if all problems are solved, nevertheless __gmpfr_emin is now in the allowed range. ------------------------------------------------------------------------ r5058 | vlefevre | 2007-11-29 18:03:50 +0000 (Thu, 29 Nov 2007) | 2 lines Changed paths: M /trunk/pow.c Fixed indentation. ------------------------------------------------------------------------ r5057 | vlefevre | 2007-11-29 17:55:42 +0000 (Thu, 29 Nov 2007) | 4 lines Changed paths: M /trunk/tests/tests.c tests.c: in test4rm, initialize rndnext with an invalid value (meaning that rndnext will really be initialized later), and added an assert to check that this value isn't propagated to rnd. ------------------------------------------------------------------------ r5056 | vlefevre | 2007-11-29 17:45:03 +0000 (Thu, 29 Nov 2007) | 2 lines Changed paths: M /trunk/tests/tests.c tests.c: added a comment about rndnext in test4rm. ------------------------------------------------------------------------ r5055 | vlefevre | 2007-11-29 17:28:34 +0000 (Thu, 29 Nov 2007) | 2 lines Changed paths: M /trunk/tests/tests.c tests.c: added an assertion. ------------------------------------------------------------------------ r5054 | zimmerma | 2007-11-29 17:00:34 +0000 (Thu, 29 Nov 2007) | 3 lines Changed paths: M /trunk/pow.c M /trunk/tests/tpow.c fixed bug reported by Kevin Rauch (wrong sign in case of underflow for large negative x and large odd negative y) ------------------------------------------------------------------------ r5053 | thevenyp | 2007-11-29 14:02:23 +0000 (Thu, 29 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c untabify and remove trailing spaces ------------------------------------------------------------------------ r5052 | thevenyp | 2007-11-29 12:54:29 +0000 (Thu, 29 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c fix padding error in sprnt_inf ------------------------------------------------------------------------ r5051 | thevenyp | 2007-11-29 12:50:50 +0000 (Thu, 29 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c factorization of special numbers output in sprnt_nan and sprnt_inf functions ------------------------------------------------------------------------ r5050 | thevenyp | 2007-11-29 12:43:47 +0000 (Thu, 29 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c fix comment about the size of format string buffer ------------------------------------------------------------------------ r5049 | thevenyp | 2007-11-29 12:32:02 +0000 (Thu, 29 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c replace memory management functions mpfr_default_* by __gmp_*_func ------------------------------------------------------------------------ r5048 | zimmerma | 2007-11-29 10:16:37 +0000 (Thu, 29 Nov 2007) | 2 lines Changed paths: M /trunk/mparam_h.in updated Core 2 thresholds (obtained with gmp-4.2.2 and Gaudry's patch) ------------------------------------------------------------------------ r5047 | vlefevre | 2007-11-29 09:21:01 +0000 (Thu, 29 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c Typo in comment. ------------------------------------------------------------------------ r5046 | thevenyp | 2007-11-29 08:36:49 +0000 (Thu, 29 Nov 2007) | 2 lines Changed paths: M /trunk/printf.c fix typo pointed out in revision 5044 ------------------------------------------------------------------------ r5045 | vlefevre | 2007-11-28 14:36:21 +0000 (Wed, 28 Nov 2007) | 2 lines Changed paths: M /trunk/printf.c printf.c: more comments about snprintf. ------------------------------------------------------------------------ r5044 | vlefevre | 2007-11-28 14:00:33 +0000 (Wed, 28 Nov 2007) | 2 lines Changed paths: M /trunk/printf.c printf.c: added a comment concerning a warning (a bug, IMHO). ------------------------------------------------------------------------ r5043 | vlefevre | 2007-11-28 13:35:22 +0000 (Wed, 28 Nov 2007) | 3 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: added FIXME comment concerning the case nbchar > INT_MAX, with a reference to POSIX. ------------------------------------------------------------------------ r5042 | thevenyp | 2007-11-28 13:32:24 +0000 (Wed, 28 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c add explanations about buffer size ------------------------------------------------------------------------ r5041 | thevenyp | 2007-11-28 12:53:15 +0000 (Wed, 28 Nov 2007) | 2 lines Changed paths: M /trunk/printf.c M /trunk/vasprintf.c change __gmp_const into const ------------------------------------------------------------------------ r5040 | vlefevre | 2007-11-28 10:29:33 +0000 (Wed, 28 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: added an assert. ------------------------------------------------------------------------ r5039 | thevenyp | 2007-11-28 10:13:55 +0000 (Wed, 28 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c fix output with space flag ------------------------------------------------------------------------ r5038 | thevenyp | 2007-11-28 10:09:19 +0000 (Wed, 28 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c add MPFR_ASSERTD to prevent buffer overflow ------------------------------------------------------------------------ r5037 | thevenyp | 2007-11-28 10:00:42 +0000 (Wed, 28 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c replace use of ptrdiff_t by size_t where possible ------------------------------------------------------------------------ r5032 | thevenyp | 2007-11-27 15:13:44 +0000 (Tue, 27 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c factorisation of temp string alloc in buffer_pad function ------------------------------------------------------------------------ r5031 | thevenyp | 2007-11-27 14:47:30 +0000 (Tue, 27 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c cosmetic changes ------------------------------------------------------------------------ r5030 | thevenyp | 2007-11-27 14:05:29 +0000 (Tue, 27 Nov 2007) | 3 lines Changed paths: M /trunk/vasprintf.c compatibility of types between nbc fields and mp_exp_t fix wrong size of buffer string exp_fmt ------------------------------------------------------------------------ r5026 | vlefevre | 2007-11-27 12:55:31 +0000 (Tue, 27 Nov 2007) | 3 lines Changed paths: A /trunk/mpfrlint Added initial mpfrlint sh script to check possible problems in the MPFR source. ------------------------------------------------------------------------ r5025 | thevenyp | 2007-11-27 09:53:31 +0000 (Tue, 27 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c change 'g'/'G' to 'e'/'E' or 'f'/'F' according to C99 rules ------------------------------------------------------------------------ r5024 | thevenyp | 2007-11-26 17:44:10 +0000 (Mon, 26 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c replace mpfr_default_(re)allocate by __gmp_(re)allocate for the returned string (freed by mpfr_free_str) ------------------------------------------------------------------------ r5023 | thevenyp | 2007-11-26 17:38:17 +0000 (Mon, 26 Nov 2007) | 2 lines Changed paths: M /trunk/tests/tprintf.c tprintf.c: replace __gmp_const by const ------------------------------------------------------------------------ r5022 | vlefevre | 2007-11-26 15:27:56 +0000 (Mon, 26 Nov 2007) | 3 lines Changed paths: M /trunk/printf.c printf.c: added FIXME comment: snprintf is new in C99. It must be checked with a configure test. ------------------------------------------------------------------------ r5021 | vlefevre | 2007-11-26 15:19:46 +0000 (Mon, 26 Nov 2007) | 2 lines Changed paths: M /trunk/tests tests: updated svn:ignore property. ------------------------------------------------------------------------ r5020 | vlefevre | 2007-11-26 15:16:09 +0000 (Mon, 26 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: reformat. ------------------------------------------------------------------------ r5019 | vlefevre | 2007-11-26 15:14:23 +0000 (Mon, 26 Nov 2007) | 2 lines Changed paths: M /trunk/mpfr-impl.h M /trunk/out_str.c M /trunk/strtofr.c MPFR_DECIMAL_POINT now needs to have type char (because of vasprintf.c). ------------------------------------------------------------------------ r5018 | vlefevre | 2007-11-26 15:11:53 +0000 (Mon, 26 Nov 2007) | 2 lines Changed paths: M /trunk/tests/tprintf.c tests/tprintf.c: changeset 4996 was incorrect. Fixed. ------------------------------------------------------------------------ r5017 | vlefevre | 2007-11-26 14:42:46 +0000 (Mon, 26 Nov 2007) | 2 lines Changed paths: M /trunk/README.dev README.dev: Avoid variable names "l", "I" and "O". ------------------------------------------------------------------------ r5016 | vlefevre | 2007-11-26 14:09:52 +0000 (Mon, 26 Nov 2007) | 2 lines Changed paths: M /trunk/README.dev README.dev: added a note about the locales. ------------------------------------------------------------------------ r5015 | thevenyp | 2007-11-26 13:55:28 +0000 (Mon, 26 Nov 2007) | 6 lines Changed paths: M /trunk/printf.c M /trunk/vasprintf.c printf.c: fix use of pointer of string vasprintf.c: add conditional compilation directives for wchar and wint_t vasprintf.c: add padding for special values vasprintf.c: fix output for value 1.0 and format "%Rf" vasprintf.c: replace __gmp_const by const ------------------------------------------------------------------------ r5014 | vlefevre | 2007-11-26 09:57:47 +0000 (Mon, 26 Nov 2007) | 9 lines Changed paths: M /trunk/acinclude.m4 M /trunk/vasprintf.c acinclude.m4: check wchar.h header (see below). vasprintf.c: * No longer depend on toupper (which returns locale-dependent results) to generate 'A'..'F' (see C standard). * Removed #include <ctype.h> which was hiding a bug (see below). * Added missing #include <wchar.h> if HAVE_WCHAR_H is defined. But the compilation fails if <wchar.h> doesn't exist due to the use of wchar_t and wint_t. ------------------------------------------------------------------------ r5013 | vlefevre | 2007-11-26 09:44:24 +0000 (Mon, 26 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: updated comments. ------------------------------------------------------------------------ r5012 | vlefevre | 2007-11-26 09:37:47 +0000 (Mon, 26 Nov 2007) | 5 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: * Removed #include <stdlib.h> now useless. * Added FIXME comment. * Replaced _MP_EXP_FORMAT_SPEC (reserved) by MPFR_EXP_FORMAT_SPEC. ------------------------------------------------------------------------ r5011 | vlefevre | 2007-11-26 09:32:20 +0000 (Mon, 26 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: added FIXME comments. ------------------------------------------------------------------------ r5010 | vlefevre | 2007-11-26 09:18:06 +0000 (Mon, 26 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: fixed a typo in a comment and improved another comment. ------------------------------------------------------------------------ r5009 | vlefevre | 2007-11-24 01:46:30 +0000 (Sat, 24 Nov 2007) | 3 lines Changed paths: M /trunk/mpfr.h mpfr.h: moved function declarations out of "#ifdef _MPFR_H_HAVE_VA_LIST" and/or "#ifdef _MPFR_H_HAVE_FILE" when this makes sense. ------------------------------------------------------------------------ r5008 | vlefevre | 2007-11-24 01:41:33 +0000 (Sat, 24 Nov 2007) | 2 lines Changed paths: M /trunk/tests/tprintf.c tests/tprintf.c: added missing "void" in function declarations. ------------------------------------------------------------------------ r5007 | vlefevre | 2007-11-24 01:36:47 +0000 (Sat, 24 Nov 2007) | 2 lines Changed paths: M /trunk/mpfr.h M /trunk/tests/tcan_round.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/tset_f.c M /trunk/vasprintf.c Untabified and removed trailing spaces. ------------------------------------------------------------------------ r5006 | vlefevre | 2007-11-24 01:33:00 +0000 (Sat, 24 Nov 2007) | 3 lines Changed paths: M /trunk/README.dev M /trunk/mpfr.texi mpfr.texi: corrections (English usage and texinfo). Added corresponding notes at the end of the README.dev file. ------------------------------------------------------------------------ r5005 | vlefevre | 2007-11-24 01:24:05 +0000 (Sat, 24 Nov 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: s/rounding to the nearest mode/rounding to nearest mode/ ------------------------------------------------------------------------ r5004 | vlefevre | 2007-11-24 01:22:31 +0000 (Sat, 24 Nov 2007) | 3 lines Changed paths: M /trunk/mpfr.texi mpfr.texi consistency changes: "towards" -> "toward" (because this is what the IEEE-754 standard uses, and we have mpfr_nexttoward). ------------------------------------------------------------------------ r5003 | vlefevre | 2007-11-24 01:17:08 +0000 (Sat, 24 Nov 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: English typography corrections (no space before ":"). ------------------------------------------------------------------------ r5002 | vlefevre | 2007-11-24 01:15:22 +0000 (Sat, 24 Nov 2007) | 4 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: the use of the abs function was incorrect as its argument has type int, which may be smaller than an mp_exp_t. Fixed that and replaced uceil_log10 by uceil_log10_exp_p2. ------------------------------------------------------------------------ r5001 | vlefevre | 2007-11-24 00:55:50 +0000 (Sat, 24 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: fixed uceil_log10 for x close to ULONG_MAX. ------------------------------------------------------------------------ r5000 | zimmerma | 2007-11-23 20:22:10 +0000 (Fri, 23 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c got rid of math.h ------------------------------------------------------------------------ r4999 | vlefevre | 2007-11-23 19:20:38 +0000 (Fri, 23 Nov 2007) | 2 lines Changed paths: M /trunk/tests/tprintf.c tests/tprintf.c: include <stdarg.h>. ------------------------------------------------------------------------ r4998 | vlefevre | 2007-11-23 19:19:04 +0000 (Fri, 23 Nov 2007) | 3 lines Changed paths: M /trunk/mpfr.h M /trunk/printf.c M /trunk/vasprintf.c stdarg-related corrections, as HAVE_STDARG is not standard thus must not be tested in mpfr.h! ------------------------------------------------------------------------ r4997 | vlefevre | 2007-11-23 19:07:54 +0000 (Fri, 23 Nov 2007) | 3 lines Changed paths: M /trunk/tests/tprintf.c tests/tprintf.c: enable the tests only if HAVE_STDARG is defined, i.e. if the printf-like functions are defined. ------------------------------------------------------------------------ r4996 | vlefevre | 2007-11-23 19:02:46 +0000 (Fri, 23 Nov 2007) | 7 lines Changed paths: M /trunk/tests/tprintf.c tests/tprintf.c: * Non-standard headers should be included after the standard headers (when possible). * The setlocale function is used only if <locale.h> has been included. * Use tests_start_mpfr / tests_end_mpfr; this shows a bug: tests_free(): attempt to free bad pointer 0x1801200 ------------------------------------------------------------------------ r4995 | vlefevre | 2007-11-23 18:54:37 +0000 (Fri, 23 Nov 2007) | 2 lines Changed paths: M /trunk/tests/tests.c tests/tests.c: setlocale is used only if <locale.h> has been included. ------------------------------------------------------------------------ r4994 | vlefevre | 2007-11-23 18:48:52 +0000 (Fri, 23 Nov 2007) | 2 lines Changed paths: M /trunk/out_str.c out_str.c: remove other occurrence of <locale.h>. ------------------------------------------------------------------------ r4993 | thevenyp | 2007-11-23 17:35:46 +0000 (Fri, 23 Nov 2007) | 12 lines Changed paths: M /trunk/Makefile.am M /trunk/acinclude.m4 M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/mpfr.texi A /trunk/printf.c M /trunk/strtofr.c M /trunk/tests/Makefile.am M /trunk/tests/tests.c A /trunk/tests/tprintf.c A /trunk/vasprintf.c Makefile.am: add mpfr_printf-like functions mpfr.h: add mpfr_printf-like functions printf.c: printf, sprintf, snprintf, asprintf and 'v' variants vasprintf.c: vasprintf functions used by its likes mpfr.texi: add description for printf family functions tests/Makefile.am: add test for printf tests/tprintf.c: tests for printf-like functions acinclude.m4: define HAVE_LOCALE_H mpfr-impl.h: define MPFR_DECIMAL_POINT even if no locale.h strtofr.c: remove locale.h inclusion (done by mpfr-impl.h ) tests/tests.c: use HAVE_LOCALE_H ------------------------------------------------------------------------ r4991 | vlefevre | 2007-11-23 16:55:03 +0000 (Fri, 23 Nov 2007) | 4 lines Changed paths: M /trunk/tests/tisqrt.c tests/tisqrt.c: test the 32-bit __gmpfr_cuberoot bound cases (9 per value) exhaustively (running tisqrt is still immediate on a recent machine). ------------------------------------------------------------------------ r4990 | vlefevre | 2007-11-23 16:49:45 +0000 (Fri, 23 Nov 2007) | 2 lines Changed paths: M /trunk/tests/tisqrt.c tests/tisqrt.c: test the 32-bit __gmpfr_isqrt bound cases exhaustively. ------------------------------------------------------------------------ r4989 | vlefevre | 2007-11-23 15:10:56 +0000 (Fri, 23 Nov 2007) | 2 lines Changed paths: M /trunk/acinclude.m4 acinclude.m4: test the availability of <string.h>. ------------------------------------------------------------------------ r4988 | vlefevre | 2007-11-23 14:30:36 +0000 (Fri, 23 Nov 2007) | 2 lines Changed paths: M /trunk/acinclude.m4 acinclude.m4: test the availability of <locale.h>. ------------------------------------------------------------------------ r4987 | vlefevre | 2007-11-23 14:26:39 +0000 (Fri, 23 Nov 2007) | 2 lines Changed paths: M /trunk/acinclude.m4 acinclude.m4: updated comment concerning the checked functions. ------------------------------------------------------------------------ r4986 | vlefevre | 2007-11-23 14:24:50 +0000 (Fri, 23 Nov 2007) | 3 lines Changed paths: M /trunk/acinclude.m4 acinclude.m4: added memmove to the checked functions (though this test is currently useless, except for the corresponding information). ------------------------------------------------------------------------ r4985 | vlefevre | 2007-11-23 14:19:40 +0000 (Fri, 23 Nov 2007) | 2 lines Changed paths: M /trunk/acinclude.m4 acinclude.m4: updated a comment concerning the function checking. ------------------------------------------------------------------------ r4984 | vlefevre | 2007-11-23 13:46:04 +0000 (Fri, 23 Nov 2007) | 3 lines Changed paths: M /trunk/gmp_op.c gmp_op.c: removed old "#include <stddef.h>" line (seems to be useless now, and note that <stdio.h> is included by default in mpfr-impl.h). ------------------------------------------------------------------------ r4982 | vlefevre | 2007-11-23 13:09:39 +0000 (Fri, 23 Nov 2007) | 2 lines Changed paths: M /trunk/tests/tj0.c tests/tj0.c: fixed test. ------------------------------------------------------------------------ r4980 | vlefevre | 2007-11-23 12:58:53 +0000 (Fri, 23 Nov 2007) | 2 lines Changed paths: M /trunk/jn.c jn.c: added integer overflow checking. ------------------------------------------------------------------------ r4978 | vlefevre | 2007-11-23 10:06:07 +0000 (Fri, 23 Nov 2007) | 2 lines Changed paths: M /trunk/tests/memory.c tests/memory.c: fixed copyright notice. ------------------------------------------------------------------------ r4969 | vlefevre | 2007-11-21 14:50:18 +0000 (Wed, 21 Nov 2007) | 4 lines Changed paths: M /trunk/tests/tzeta.c tests/tzeta.c: completed test of mpfr_zeta bug fixed in r4920 (the value of zeta(large negative) was also wrong in GMP_RNDU: -Inf instead of the largest negative MPFR number). ------------------------------------------------------------------------ r4957 | zimmerma | 2007-11-20 14:43:14 +0000 (Tue, 20 Nov 2007) | 3 lines Changed paths: M /trunk/tests/tinp_str.c reverted back to rev. 4951 (otherwise we would have to free memory for all exit calls) ------------------------------------------------------------------------ r4956 | thevenyp | 2007-11-20 11:21:10 +0000 (Tue, 20 Nov 2007) | 3 lines Changed paths: M /trunk/tests/tpow_z.c M /trunk/tests/trandom.c M /trunk/tests/tset_f.c use of RANDS instead of __gmp_rands tset_f.c add checking with random values ------------------------------------------------------------------------ r4955 | thevenyp | 2007-11-19 11:07:49 +0000 (Mon, 19 Nov 2007) | 4 lines Changed paths: M /trunk/tests/tests.c M /trunk/tests/tli2.c M /trunk/tests/tpow_z.c M /trunk/tests/trandom.c M /trunk/tests/tset_f.c tli2.c: fix wrong assertion in copyright motice test.c: fixed seed for reproducible errors trandom.c tpow_z.c tset_f.c: integration with GMP_CHECK_RANDOMIZE process ------------------------------------------------------------------------ r4954 | zimmerma | 2007-11-17 12:15:53 +0000 (Sat, 17 Nov 2007) | 2 lines Changed paths: M /trunk/tests/tasin.c added missing call to tests_end_mpfr ------------------------------------------------------------------------ r4953 | zimmerma | 2007-11-17 09:59:19 +0000 (Sat, 17 Nov 2007) | 5 lines Changed paths: M /trunk/mpfr-gmp.c M /trunk/mpfr-gmp.h M /trunk/tests/mpfr-test.h M /trunk/tests/reuse.c M /trunk/tests/tadd.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/tgamma.c M /trunk/tests/tget_f.c M /trunk/tests/tli2.c M /trunk/tests/tmul.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tpow.c M /trunk/tests/tpow_z.c M /trunk/tests/trandom.c M /trunk/tests/troot.c M /trunk/tests/tset_f.c M /trunk/tests/tsi_op.c M /trunk/tests/tsub.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c got rid of mpfr_init_gmp_rand/MPFR_TEST_USE_RANDS and not-reentrant gmp random functions (mpn_random*, mpz_random*, mpf_random*). Now all tests use either RANDS (which is cleared by tests_rand_end called by tests_end_mpfr), or the gmp_randstate_t mechanism. ------------------------------------------------------------------------ r4952 | zimmerma | 2007-11-16 17:09:12 +0000 (Fri, 16 Nov 2007) | 2 lines Changed paths: M /trunk/tests/tinp_str.c added missing mpfr_clear and tests_end_mpfr (thanks Michael Abshoff) ------------------------------------------------------------------------ r4951 | zimmerma | 2007-11-16 14:28:29 +0000 (Fri, 16 Nov 2007) | 2 lines Changed paths: M /trunk/mul.c fixed problem reported by valgrind (thanks to Michael Abshoff) ------------------------------------------------------------------------ r4950 | zimmerma | 2007-11-06 22:07:31 +0000 (Tue, 06 Nov 2007) | 2 lines Changed paths: M /trunk/div_ui.c M /trunk/tests/tdiv_ui.c fixed bug in div_ui for x=0 and u<>0 (sign of result was not set) ------------------------------------------------------------------------ r4949 | thevenyp | 2007-11-06 10:53:43 +0000 (Tue, 06 Nov 2007) | 4 lines Changed paths: M /trunk/algorithms.bib M /trunk/algorithms.tex algorithms.tex: fix bibtex references for dilogarithm function algorithms.bib: add references for dilogarithm function ------------------------------------------------------------------------ r4948 | vlefevre | 2007-11-05 11:18:46 +0000 (Mon, 05 Nov 2007) | 2 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: removed trailing spaces. ------------------------------------------------------------------------ r4947 | zimmerma | 2007-11-05 10:53:21 +0000 (Mon, 05 Nov 2007) | 2 lines Changed paths: M /trunk/mpfr-impl.h M /trunk/pow.c added new macro MPFR_ALIAS ------------------------------------------------------------------------ r4946 | zimmerma | 2007-11-04 11:10:23 +0000 (Sun, 04 Nov 2007) | 2 lines Changed paths: M /trunk/expm1.c removed unused label ------------------------------------------------------------------------ r4945 | vlefevre | 2007-11-04 00:46:45 +0000 (Sun, 04 Nov 2007) | 3 lines Changed paths: M /trunk/pow_z.c pow_z.c: fixed bug that occurs when x is a power of 2 and the result overflows (wrong sign); this bug has always been present (from r3215). ------------------------------------------------------------------------ r4944 | vlefevre | 2007-11-04 00:44:04 +0000 (Sun, 04 Nov 2007) | 2 lines Changed paths: M /trunk/tests/tpow.c M /trunk/tests/tpow_z.c tpow.c, tpow_z.c: removed a printf that was left by mistake. ------------------------------------------------------------------------ r4943 | vlefevre | 2007-11-04 00:36:23 +0000 (Sun, 04 Nov 2007) | 3 lines Changed paths: M /trunk/tests/tpow_z.c tpow_z.c: added testcase for the latest mpfr_pow bug (rev 4942), which is in fact a bug in mpfr_pow_z. ------------------------------------------------------------------------ r4942 | vlefevre | 2007-11-04 00:28:20 +0000 (Sun, 04 Nov 2007) | 3 lines Changed paths: M /trunk/tests/tpow.c tpow.c: added testcase for new bug found by Kevin P. Rauch; removed a mpfr_dump that was left by mistake. ------------------------------------------------------------------------ r4941 | vlefevre | 2007-11-03 09:28:23 +0000 (Sat, 03 Nov 2007) | 2 lines Changed paths: M /trunk/pow.c pow.c: removed FIXME comment. ------------------------------------------------------------------------ r4940 | zimmerma | 2007-11-03 08:45:17 +0000 (Sat, 03 Nov 2007) | 2 lines Changed paths: M /trunk/pow.c fixed case x < 0, y large integer ------------------------------------------------------------------------ r4939 | vlefevre | 2007-11-03 02:05:04 +0000 (Sat, 03 Nov 2007) | 2 lines Changed paths: M /trunk/pow.c pow.c: added FIXME comment. ------------------------------------------------------------------------ r4938 | vlefevre | 2007-11-03 01:59:23 +0000 (Sat, 03 Nov 2007) | 5 lines Changed paths: M /trunk/tests/tpow.c tpow.c: added testcase for new bug found by Kevin P. Rauch. The problem occurs on x^y with x negative and y an integer whose exponent is > 256 (so that mpfr_pow_z isn't used, and the generic code is used instead and fails because x is negative). ------------------------------------------------------------------------ r4937 | vlefevre | 2007-11-02 15:02:50 +0000 (Fri, 02 Nov 2007) | 2 lines Changed paths: M /trunk/pow.c M /trunk/tests/tpow.c Fixed several bugs in mpfr_pow (from rev 3592 and 4932); added testcase. ------------------------------------------------------------------------ r4936 | vlefevre | 2007-11-02 14:29:21 +0000 (Fri, 02 Nov 2007) | 3 lines Changed paths: M /trunk/tests/tpow.c tpow.c: added an overflow test in reduced exponent range (-> assertion failure in the current pow.c code). ------------------------------------------------------------------------ r4935 | vlefevre | 2007-11-02 13:02:45 +0000 (Fri, 02 Nov 2007) | 3 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: added a comment concerning __gmpfr_one, __gmpfr_two and __gmpfr_four. ------------------------------------------------------------------------ r4934 | vlefevre | 2007-11-02 12:54:14 +0000 (Fri, 02 Nov 2007) | 3 lines Changed paths: M /trunk/cmp_abs.c Bug fix: in cmp_abs.c, changed MPFR_GET_EXP into MPFR_EXP to allow exponents outside the current exponent range (needed for mpfr_pow). ------------------------------------------------------------------------ r4933 | vlefevre | 2007-10-31 15:46:57 +0000 (Wed, 31 Oct 2007) | 2 lines Changed paths: M /trunk/TODO M /trunk/erfc.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/mpfr.texi M /trunk/pow.c M /trunk/rem1.c M /trunk/tests/tfmod.c M /trunk/tests/tgamma.c M /trunk/tests/tpow.c M /trunk/tests/tzeta.c Untabified and removed trailing spaces. ------------------------------------------------------------------------ r4932 | zimmerma | 2007-10-30 16:29:46 +0000 (Tue, 30 Oct 2007) | 3 lines Changed paths: M /trunk/mpfr-impl.h M /trunk/pow.c M /trunk/tests/tpow.c pow.c, tpow.c: fixed bugs reported by Kevin Rauch mpfr-impl.h: fixed typo ------------------------------------------------------------------------ r4931 | zimmerma | 2007-10-30 14:35:24 +0000 (Tue, 30 Oct 2007) | 2 lines Changed paths: M /trunk/algorithms.tex cosmetic changes ------------------------------------------------------------------------ r4930 | zimmerma | 2007-10-30 14:00:30 +0000 (Tue, 30 Oct 2007) | 2 lines Changed paths: M /trunk/algorithms.tex added missing \Li2 ------------------------------------------------------------------------ r4929 | zimmerma | 2007-10-28 15:18:03 +0000 (Sun, 28 Oct 2007) | 3 lines Changed paths: M /trunk/li2.c M /trunk/tests/data/li2 M /trunk/tests/tli2.c added more test cases for mpfr_li2 improved MPFR_FAST_COMPUTE_IF_SMALL_INPUT case for x > 0 ------------------------------------------------------------------------ r4928 | zimmerma | 2007-10-28 13:16:02 +0000 (Sun, 28 Oct 2007) | 3 lines Changed paths: M /trunk/lngamma.c M /trunk/tests/tlgamma.c fixed bug mentioned by Kevin Rauch: mpfr_lgamma was hanging for tiny input (had to implement a complete loop in that case) ------------------------------------------------------------------------ r4927 | zimmerma | 2007-10-28 12:29:01 +0000 (Sun, 28 Oct 2007) | 2 lines Changed paths: M /trunk/jn.c M /trunk/jyn_asympt.c M /trunk/tests/tj0.c fixed bug reported by Kevin Rauch: wrong sign for jn(n even, large negative x) ------------------------------------------------------------------------ r4926 | zimmerma | 2007-10-28 12:18:04 +0000 (Sun, 28 Oct 2007) | 3 lines Changed paths: M /trunk/TODO removed item on mpfr_sinh_cosh (done) added more info on item on efficiency of mpfr_sin ------------------------------------------------------------------------ r4925 | zimmerma | 2007-10-28 11:53:51 +0000 (Sun, 28 Oct 2007) | 2 lines Changed paths: M /trunk/mpfr.texi added comment about function/macro in custom interface ------------------------------------------------------------------------ r4924 | zimmerma | 2007-10-28 11:11:13 +0000 (Sun, 28 Oct 2007) | 4 lines Changed paths: M /trunk/jn.c M /trunk/tests/tjn.c jn.c: improved choice of initial precision in Taylor series (takes into account cancellation) tests/tjn.c: now "tjn p n z" evaluates j(n,z) to precision p ------------------------------------------------------------------------ r4923 | vlefevre | 2007-10-27 12:59:35 +0000 (Sat, 27 Oct 2007) | 2 lines Changed paths: M /trunk/factorial.c factorial.c: added FIXME comment. ------------------------------------------------------------------------ r4922 | vlefevre | 2007-10-27 12:23:43 +0000 (Sat, 27 Oct 2007) | 4 lines Changed paths: M /trunk/gamma.c gamma.c: attempt to fix wrong fix in 4918 (the maximum exponent can be > 2^30 on 64-bit machines). There may still be problems in huge precisions. ------------------------------------------------------------------------ r4921 | zimmerma | 2007-10-27 11:17:24 +0000 (Sat, 27 Oct 2007) | 3 lines Changed paths: M /trunk/mpfr.texi added note about efficiency of special functions corrected typo ------------------------------------------------------------------------ r4920 | zimmerma | 2007-10-27 11:07:33 +0000 (Sat, 27 Oct 2007) | 2 lines Changed paths: M /trunk/tests/tzeta.c M /trunk/zeta.c fixed bug in zeta(large negative) reported by Kevin Rauch [wrong inexact flag] ------------------------------------------------------------------------ r4919 | zimmerma | 2007-10-27 08:15:57 +0000 (Sat, 27 Oct 2007) | 2 lines Changed paths: M /trunk/erfc.c M /trunk/tests/terf.c fixed inefficiency reported by Kevin Rauch when x large negative (erfc -> 2) ------------------------------------------------------------------------ r4918 | zimmerma | 2007-10-26 19:12:24 +0000 (Fri, 26 Oct 2007) | 2 lines Changed paths: M /trunk/gamma.c M /trunk/tests/tgamma.c fixed another bug found by Kevin Rauch: gamma(huge integer) failed on 64-bit ------------------------------------------------------------------------ r4917 | zimmerma | 2007-10-26 18:34:54 +0000 (Fri, 26 Oct 2007) | 2 lines Changed paths: M /trunk/lngamma.c M /trunk/tests/tlgamma.c fixed bug found by Kevin Rauch (emin/emax not restored for x=1,2) ------------------------------------------------------------------------ r4916 | zimmerma | 2007-10-26 18:05:43 +0000 (Fri, 26 Oct 2007) | 2 lines Changed paths: M /trunk/tests/tli2.c added test for reference values ------------------------------------------------------------------------ r4915 | zimmerma | 2007-10-26 18:05:12 +0000 (Fri, 26 Oct 2007) | 2 lines Changed paths: A /trunk/tests/data/li2 reference values for li2 ------------------------------------------------------------------------ r4914 | thevenyp | 2007-10-26 17:32:19 +0000 (Fri, 26 Oct 2007) | 3 lines Changed paths: M /trunk/algorithms.tex M /trunk/li2.c algorithms.tex: description of dilogarithm algorithm li2.c: conformity with description in algorithm.tex ------------------------------------------------------------------------ r4913 | vlefevre | 2007-10-23 10:16:22 +0000 (Tue, 23 Oct 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: small change in the description of mpfr_subnormalize. ------------------------------------------------------------------------ r4912 | zimmerma | 2007-10-23 09:02:35 +0000 (Tue, 23 Oct 2007) | 2 lines Changed paths: M /trunk/mpfr.texi added more details in the description of subnormalize ------------------------------------------------------------------------ r4908 | vlefevre | 2007-10-23 02:43:39 +0000 (Tue, 23 Oct 2007) | 2 lines Changed paths: M /trunk/subnormal.c subnormal.c: fixed the bugs when old_inex is INT_MIN or INT_MAX. ------------------------------------------------------------------------ r4907 | vlefevre | 2007-10-23 02:35:00 +0000 (Tue, 23 Oct 2007) | 3 lines Changed paths: M /trunk/tests/tsubnormal.c tsubnormal.c: added some tests showing bugs when old_inex is INT_MIN or INT_MAX. ------------------------------------------------------------------------ r4906 | vlefevre | 2007-10-23 02:31:48 +0000 (Tue, 23 Oct 2007) | 2 lines Changed paths: M /trunk/subnormal.c subnormal.c: corrected comment. ------------------------------------------------------------------------ r4905 | vlefevre | 2007-10-23 01:52:28 +0000 (Tue, 23 Oct 2007) | 8 lines Changed paths: M /trunk/mpfr.texi M /trunk/subnormal.c Changeset r4904 introduced an assertion failure, but the assertion emax - emin >= PREC(x) wasn't necessary: the value of emax doesn't matter, except when the exponent is increased due to the rounding. So, we just document that if the result cannot be represented in the current exponent range, the behavior is undefined (updated mpfr.texi accordingly). Removed the assertion from subnormal.c and added a new one to have an abort if such an undefined behavior occurs. ------------------------------------------------------------------------ r4904 | zimmerma | 2007-10-22 18:38:49 +0000 (Mon, 22 Oct 2007) | 2 lines Changed paths: M /trunk/subnormal.c M /trunk/tests/tsubnormal.c fixed 2 bugs reported by Kevin Rauch ------------------------------------------------------------------------ r4903 | vlefevre | 2007-10-22 16:41:45 +0000 (Mon, 22 Oct 2007) | 2 lines Changed paths: M /trunk/subnormal.c subnormal.c: replaced incorrect comment. ------------------------------------------------------------------------ r4902 | vlefevre | 2007-10-22 15:22:24 +0000 (Mon, 22 Oct 2007) | 2 lines Changed paths: M /trunk/tests tests: updated svn:ignore property. ------------------------------------------------------------------------ r4901 | zimmerma | 2007-10-22 08:55:51 +0000 (Mon, 22 Oct 2007) | 2 lines Changed paths: M /trunk/algorithms.bib added new references ------------------------------------------------------------------------ r4899 | zimmerma | 2007-10-20 09:18:37 +0000 (Sat, 20 Oct 2007) | 2 lines Changed paths: M /trunk/li2.c added asymptotic expansions ------------------------------------------------------------------------ r4898 | thevenyp | 2007-10-19 16:08:27 +0000 (Fri, 19 Oct 2007) | 3 lines Changed paths: M /trunk/li2.c M /trunk/tests/tli2.c li2.c: add Ziv's loop in li2_series tli2.c: add a function for fixed value checking ------------------------------------------------------------------------ r4897 | thevenyp | 2007-10-17 16:10:03 +0000 (Wed, 17 Oct 2007) | 3 lines Changed paths: M /trunk/li2.c M /trunk/tests/tli2.c li2.c: fix a typo and fix use of taylor series tests/tli2.c: use default random function ------------------------------------------------------------------------ r4896 | thevenyp | 2007-10-16 17:02:02 +0000 (Tue, 16 Oct 2007) | 2 lines Changed paths: M /trunk/Makefile.am A /trunk/li2.c M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/tests/Makefile.am M /trunk/tests/reuse.c A /trunk/tests/tli2.c add dilogarithm function ------------------------------------------------------------------------ r4895 | zimmerma | 2007-10-15 14:11:22 +0000 (Mon, 15 Oct 2007) | 2 lines Changed paths: M /trunk/TODO added item in Efficiency section ------------------------------------------------------------------------ r4894 | zimmerma | 2007-10-15 13:14:30 +0000 (Mon, 15 Oct 2007) | 3 lines Changed paths: M /trunk/TODO added table of contents removed last section (mpf/mpfr integration) ------------------------------------------------------------------------ r4893 | vlefevre | 2007-10-15 01:58:45 +0000 (Mon, 15 Oct 2007) | 3 lines Changed paths: M /trunk/acosh.c M /trunk/algorithms.tex Fixed acosh(x) with x slightly larger than 1, using sqrt(2(x-1)) and a complete error analysis. ------------------------------------------------------------------------ r4892 | vlefevre | 2007-10-15 00:46:10 +0000 (Mon, 15 Oct 2007) | 3 lines Changed paths: M /trunk/tests/tacosh.c tests/tacosh.c: added another test with x a bit larger than 1 and prec(y) << prec(x). ------------------------------------------------------------------------ r4891 | vlefevre | 2007-10-12 16:07:23 +0000 (Fri, 12 Oct 2007) | 2 lines Changed paths: M /trunk/acosh.c acosh.c: added a comment about the fix I did in r4814. ------------------------------------------------------------------------ r4890 | zimmerma | 2007-10-09 20:22:47 +0000 (Tue, 09 Oct 2007) | 2 lines Changed paths: M /trunk/TODO added extra reference for slowness of mpfr_root ------------------------------------------------------------------------ r4888 | vlefevre | 2007-10-09 11:48:52 +0000 (Tue, 09 Oct 2007) | 2 lines Changed paths: M /trunk/FAQ.html FAQ update (added Question 8). ------------------------------------------------------------------------ r4887 | vlefevre | 2007-10-09 11:03:16 +0000 (Tue, 09 Oct 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: another small change in Contributors section. ------------------------------------------------------------------------ r4886 | vlefevre | 2007-10-09 10:35:28 +0000 (Tue, 09 Oct 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: small change in Contributors section. ------------------------------------------------------------------------ r4885 | vlefevre | 2007-10-09 09:59:18 +0000 (Tue, 09 Oct 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: mention Fiable and AOC actions in the Contributors section. ------------------------------------------------------------------------ r4884 | zimmerma | 2007-10-09 07:50:42 +0000 (Tue, 09 Oct 2007) | 3 lines Changed paths: M /trunk/mpfr.texi added reference to ACM TOMS paper updated other references, and Contributors section ------------------------------------------------------------------------ r4883 | zimmerma | 2007-10-09 06:11:31 +0000 (Tue, 09 Oct 2007) | 2 lines Changed paths: M /trunk/mpfr.texi fixed typo in sectioning ------------------------------------------------------------------------ r4882 | zimmerma | 2007-10-08 17:16:51 +0000 (Mon, 08 Oct 2007) | 3 lines Changed paths: M /trunk/mpfr.texi removed mpfr_get_d1 from documented functions removed old commented functions ------------------------------------------------------------------------ r4881 | zimmerma | 2007-10-08 14:48:38 +0000 (Mon, 08 Oct 2007) | 4 lines Changed paths: M /trunk/mpfr.texi renamed "Rounding Mode Related Functions" to "Rounding Related Functions" put mpfr_can_round in "Rounding Related Functions" (now exported) exchanged order of sections "Miscellaneous Functions" and "Rounding Related Functions" ------------------------------------------------------------------------ r4880 | zimmerma | 2007-10-08 11:04:34 +0000 (Mon, 08 Oct 2007) | 2 lines Changed paths: M /trunk/mpfr.texi added hint for mpfr_can_round to get ternary value ------------------------------------------------------------------------ r4879 | zimmerma | 2007-10-08 10:09:56 +0000 (Mon, 08 Oct 2007) | 2 lines Changed paths: M /trunk/sin.c changed mpfr_can_round() call into MPFR_CAN_ROUND() call ------------------------------------------------------------------------ r4878 | vlefevre | 2007-10-05 12:18:17 +0000 (Fri, 05 Oct 2007) | 2 lines Changed paths: M /trunk/update-version Updated update-version to make patches easier to produce. ------------------------------------------------------------------------ r4876 | vlefevre | 2007-10-04 01:57:35 +0000 (Thu, 04 Oct 2007) | 3 lines Changed paths: M /trunk/atan2.c M /trunk/tests/tatan.c Fixed a bug (found by Robert Bajema) in mpfr_atan2, which can occur if the underflow flag is set before the call and x > 0; added testcase. ------------------------------------------------------------------------ r4875 | vlefevre | 2007-10-03 15:13:06 +0000 (Wed, 03 Oct 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: improved mpfr_set_exp description too. ------------------------------------------------------------------------ r4874 | vlefevre | 2007-10-03 15:09:49 +0000 (Wed, 03 Oct 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: improved mpfr_get_exp documentation. ------------------------------------------------------------------------ r4873 | vlefevre | 2007-10-03 15:05:31 +0000 (Wed, 03 Oct 2007) | 3 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: mantissa -> significand (to use the terminology from IEEE 754 and ISO C99). ------------------------------------------------------------------------ r4872 | vlefevre | 2007-10-03 14:36:38 +0000 (Wed, 03 Oct 2007) | 2 lines Changed paths: M /trunk/configure.in configure.in: better error message if libgmp is not found. ------------------------------------------------------------------------ r4871 | thevenyp | 2007-10-02 16:08:02 +0000 (Tue, 02 Oct 2007) | 1 line Changed paths: M /trunk/algorithms.tex fix some typos ------------------------------------------------------------------------ r4870 | zimmerma | 2007-09-28 16:14:03 +0000 (Fri, 28 Sep 2007) | 2 lines Changed paths: M /trunk/TODO added references ------------------------------------------------------------------------ r4869 | thevenyp | 2007-09-28 12:08:56 +0000 (Fri, 28 Sep 2007) | 5 lines Changed paths: M /trunk/Makefile.am D /trunk/fmod.c M /trunk/mpfr.texi A /trunk/rem1.c D /trunk/remquo.c M /trunk/tests/tfmod.c merge fmod, remaider and remquo into a single file rem1.c. merge code into a single internal function mpfr_rem1. fix false statement in mpfr.texi: rop and op1 have the same sign for mpfr_fmod but not for mpfr_remainder and mpfr_remquo. ------------------------------------------------------------------------ r4868 | vlefevre | 2007-09-26 16:20:35 +0000 (Wed, 26 Sep 2007) | 2 lines Changed paths: M /trunk/tests/tfmod.c tests/tfmod.c: added static. ------------------------------------------------------------------------ r4867 | thevenyp | 2007-09-26 11:30:29 +0000 (Wed, 26 Sep 2007) | 2 lines Changed paths: M /trunk/Makefile.am A /trunk/fmod.c M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/tests/Makefile.am M /trunk/tests/reuse.c A /trunk/tests/tfmod.c new fmod function ------------------------------------------------------------------------ r4866 | vlefevre | 2007-09-22 00:17:11 +0000 (Sat, 22 Sep 2007) | 2 lines Changed paths: M /trunk/tests tests: updated svn:ignore property. ------------------------------------------------------------------------ r4865 | vlefevre | 2007-09-22 00:15:49 +0000 (Sat, 22 Sep 2007) | 2 lines Changed paths: M /trunk/add_d.c M /trunk/modf.c M /trunk/mpfr.texi M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sinh_cosh.c M /trunk/tests/reuse.c M /trunk/tests/tadd_d.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdiv_d.c M /trunk/tests/tgeneric.c M /trunk/tests/tmodf.c M /trunk/tests/tmul_d.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsub_d.c M /trunk/tests/ttrunc.c GNU coding style, reformatting, exit (-1) -> exit (1). ------------------------------------------------------------------------ r4864 | thevenyp | 2007-09-21 08:29:01 +0000 (Fri, 21 Sep 2007) | 2 lines Changed paths: M /trunk/Makefile.am M /trunk/mpfr.h M /trunk/mpfr.texi A /trunk/sinh_cosh.c M /trunk/tests/Makefile.am M /trunk/tests/reuse.c A /trunk/tests/tsinh_cosh.c new mpfr_sinh_cosh function ------------------------------------------------------------------------ r4863 | vlefevre | 2007-09-19 02:24:31 +0000 (Wed, 19 Sep 2007) | 2 lines Changed paths: M /trunk/BUGS BUGS: removed __gmpfr_isqrt bug. ------------------------------------------------------------------------ r4862 | vlefevre | 2007-09-19 02:12:09 +0000 (Wed, 19 Sep 2007) | 3 lines Changed paths: M /trunk/isqrt.c M /trunk/tests/tisqrt.c isqrt.c: quick fix of __gmpfr_cuberoot (a full proof is needed). tests/tisqrt.c: added much more tests for __gmpfr_cuberoot. ------------------------------------------------------------------------ r4861 | vlefevre | 2007-09-19 01:46:58 +0000 (Wed, 19 Sep 2007) | 7 lines Changed paths: M /trunk/tests/tisqrt.c tisqrt.c: improved tests. When doing touch tests.c tisqrt.c make tisqrt CFLAGS="-g -O2 -ffloat-store -DMPFR_FPU_PREC=_FPU_SINGLE" ./tisqrt with gcc 4.2.1 on a Linux/x86 machine, on gets: Error in __gmpfr_cuberoot (4251527999): got 1620 instead of 1619 ------------------------------------------------------------------------ r4860 | vlefevre | 2007-09-19 01:12:33 +0000 (Wed, 19 Sep 2007) | 2 lines Changed paths: M /trunk/tests/tisqrt.c tisqrt.c: added __gmpfr_cuberoot() tests. ------------------------------------------------------------------------ r4859 | vlefevre | 2007-09-19 01:03:11 +0000 (Wed, 19 Sep 2007) | 2 lines Changed paths: M /trunk/isqrt.c isqrt.c: corrected the explanation. ------------------------------------------------------------------------ r4858 | vlefevre | 2007-09-19 00:57:46 +0000 (Wed, 19 Sep 2007) | 2 lines Changed paths: M /trunk/isqrt.c isqrt.c: fixed __gmpfr_isqrt. ------------------------------------------------------------------------ r4857 | vlefevre | 2007-09-18 14:54:59 +0000 (Tue, 18 Sep 2007) | 2 lines Changed paths: M /trunk/tests tests: updated svn:ignore property. ------------------------------------------------------------------------ r4856 | vlefevre | 2007-09-18 14:52:23 +0000 (Tue, 18 Sep 2007) | 2 lines Changed paths: M /trunk/tests/Makefile.am A /trunk/tests/tisqrt.c tests: added tisqrt.c (test file for __gmpfr_isqrt internal function). ------------------------------------------------------------------------ r4855 | vlefevre | 2007-09-18 14:37:59 +0000 (Tue, 18 Sep 2007) | 2 lines Changed paths: M /trunk/BUGS BUGS: added __gmpfr_isqrt bug. ------------------------------------------------------------------------ r4854 | vlefevre | 2007-09-18 14:26:48 +0000 (Tue, 18 Sep 2007) | 2 lines Changed paths: M /trunk/isqrt.c isqrt.c: fixed a cast and added a FIXME comment. ------------------------------------------------------------------------ r4853 | vlefevre | 2007-09-18 14:16:46 +0000 (Tue, 18 Sep 2007) | 2 lines Changed paths: M /trunk/isqrt.c isqrt.c: GNU coding style. ------------------------------------------------------------------------ r4852 | vlefevre | 2007-09-18 12:21:14 +0000 (Tue, 18 Sep 2007) | 2 lines Changed paths: M /trunk/sin.c sin.c: extend the exponent range. ------------------------------------------------------------------------ r4851 | vlefevre | 2007-09-18 12:14:15 +0000 (Tue, 18 Sep 2007) | 2 lines Changed paths: M /trunk/sqr.c sqr.c: set the global inexact flag. ------------------------------------------------------------------------ r4850 | vlefevre | 2007-09-18 12:09:13 +0000 (Tue, 18 Sep 2007) | 2 lines Changed paths: M /trunk/sqrt.c sqrt.c: avoid the exponent range extension. ------------------------------------------------------------------------ r4849 | vlefevre | 2007-09-18 12:02:07 +0000 (Tue, 18 Sep 2007) | 2 lines Changed paths: M /trunk/tests/tsqr.c tsqr.c: added generic tests (shows that the inexact flag isn't set). ------------------------------------------------------------------------ r4848 | vlefevre | 2007-09-18 11:55:32 +0000 (Tue, 18 Sep 2007) | 3 lines Changed paths: M /trunk/sqrt.c sqrt.c: extend exponent range (this also fixes the fact that the global inexact flag wasn't set). ------------------------------------------------------------------------ r4847 | vlefevre | 2007-09-18 11:51:23 +0000 (Tue, 18 Sep 2007) | 3 lines Changed paths: M /trunk/tests/tsqrt.c tsqrt.c: added generic tests (shows that the inexact flag isn't set, which is a bug reported by Guillaume Revy). ------------------------------------------------------------------------ r4846 | thevenyp | 2007-09-17 11:05:18 +0000 (Mon, 17 Sep 2007) | 1 line Changed paths: M /trunk/modf.c M /trunk/tests/tmodf.c modf.c: take care of user exponent range (possible underflow/overflow) ------------------------------------------------------------------------ r4845 | vlefevre | 2007-09-16 09:44:33 +0000 (Sun, 16 Sep 2007) | 2 lines Changed paths: M /trunk/tests/tsin_cos.c tsin_cos.c: fixed the tiny() test. ------------------------------------------------------------------------ r4844 | vlefevre | 2007-09-16 09:43:04 +0000 (Sun, 16 Sep 2007) | 4 lines Changed paths: M /trunk/sin_cos.c sin_cos.c: fixed the overflow and cancellation problems by using MPFR_FAST_COMPUTE_IF_SMALL_INPUT from the mpfr_sin and mpfr_cos functions (I'll fix the test later). ------------------------------------------------------------------------ r4843 | vlefevre | 2007-09-16 09:09:39 +0000 (Sun, 16 Sep 2007) | 2 lines Changed paths: M /trunk/tests/tsin_cos.c tsin_cos.c: added test on tiny values. ------------------------------------------------------------------------ r4842 | zimmerma | 2007-09-16 08:28:27 +0000 (Sun, 16 Sep 2007) | 4 lines Changed paths: M /trunk/sin_cos.c Put back previous patch, now avoids overflow, and added more explanations. This is still not a definitive solution, but more efficient than 2.3.0 in the case x is small. ------------------------------------------------------------------------ r4841 | vlefevre | 2007-09-15 08:30:36 +0000 (Sat, 15 Sep 2007) | 2 lines Changed paths: M /trunk/sin_cos.c Efficiency regression wasn't fixed correctly -> commented out the code. ------------------------------------------------------------------------ r4840 | zimmerma | 2007-09-15 08:15:15 +0000 (Sat, 15 Sep 2007) | 2 lines Changed paths: M /trunk/sin_cos.c fixed efficiency regression pointed out by Andreas Enge ------------------------------------------------------------------------ r4839 | zimmerma | 2007-09-13 19:08:25 +0000 (Thu, 13 Sep 2007) | 3 lines Changed paths: M /trunk/mpfr.texi M /trunk/sin_cos.c M /trunk/tests/reuse.c fixed bug in mpfr_sin_cos found by Philippe: z (to save the cosine) was not allowed to be identical to the input x ------------------------------------------------------------------------ r4838 | thevenyp | 2007-09-13 16:48:49 +0000 (Thu, 13 Sep 2007) | 1 line Changed paths: M /trunk/Makefile.am M /trunk/TODO A /trunk/modf.c M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/sin_cos.c M /trunk/tests/Makefile.am M /trunk/tests/reuse.c A /trunk/tests/tmodf.c new function mpfr_modf and add restrictions on mpfr_sin_cos' variables ------------------------------------------------------------------------ r4837 | thevenyp | 2007-09-11 13:01:54 +0000 (Tue, 11 Sep 2007) | 1 line Changed paths: M /trunk/tests/tadd_d.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdiv_d.c M /trunk/tests/tmul_d.c M /trunk/tests/tsub_d.c add some simple test cases in tadd_d.c and friends ------------------------------------------------------------------------ r4836 | vlefevre | 2007-09-10 07:55:58 +0000 (Mon, 10 Sep 2007) | 2 lines Changed paths: M /trunk/prepare prepare: output a message saying that this script is obsolete. ------------------------------------------------------------------------ r4835 | zimmerma | 2007-09-09 19:08:17 +0000 (Sun, 09 Sep 2007) | 2 lines Changed paths: M /trunk/mpfr.texi added restrictions to mpfr_add_d and friends ------------------------------------------------------------------------ r4834 | zimmerma | 2007-09-08 06:41:22 +0000 (Sat, 08 Sep 2007) | 2 lines Changed paths: M /trunk/TODO removed functions mpfr_add_d ... which are done ------------------------------------------------------------------------ r4833 | zimmerma | 2007-09-07 15:35:49 +0000 (Fri, 07 Sep 2007) | 2 lines Changed paths: M /trunk/AUTHORS added Philippe Theveny ------------------------------------------------------------------------ r4832 | thevenyp | 2007-09-07 14:47:34 +0000 (Fri, 07 Sep 2007) | 1 line Changed paths: M /trunk/Makefile.am A /trunk/add_d.c A /trunk/d_div.c A /trunk/d_sub.c A /trunk/div_d.c M /trunk/mpfr.h M /trunk/mpfr.texi A /trunk/mul_d.c A /trunk/sub_d.c M /trunk/tests/Makefile.am A /trunk/tests/tadd_d.c A /trunk/tests/td_div.c A /trunk/tests/td_sub.c A /trunk/tests/tdiv_d.c M /trunk/tests/tgeneric.c A /trunk/tests/tmul_d.c A /trunk/tests/tsub_d.c new arithmetic functions with a double argument ------------------------------------------------------------------------ r4831 | vlefevre | 2007-09-07 13:04:09 +0000 (Fri, 07 Sep 2007) | 2 lines Changed paths: M /trunk/tests/tacosh.c tacosh.c: added generic tests for the overflow case. ------------------------------------------------------------------------ r4830 | vlefevre | 2007-09-07 13:03:32 +0000 (Fri, 07 Sep 2007) | 2 lines Changed paths: M /trunk/acosh.c acosh.c: reduce the precision for ln(2); smaller error bound. ------------------------------------------------------------------------ r4829 | vlefevre | 2007-09-07 13:02:13 +0000 (Fri, 07 Sep 2007) | 2 lines Changed paths: M /trunk/tests/tgeneric.c tgeneric.c: undefine some macros at the end. ------------------------------------------------------------------------ r4828 | vlefevre | 2007-09-07 12:30:36 +0000 (Fri, 07 Sep 2007) | 2 lines Changed paths: M /trunk/acosh.c acosh.c: fixed overflow bug. ------------------------------------------------------------------------ r4827 | vlefevre | 2007-09-07 11:54:53 +0000 (Fri, 07 Sep 2007) | 3 lines Changed paths: M /trunk/acosh.c M /trunk/tests/tacosh.c acosh.c: mentioned bug due to overflow in mpfr_mul. tests/tacosh.c: added corresponding testcase (for 32-bit machines). ------------------------------------------------------------------------ r4826 | vlefevre | 2007-09-07 11:26:30 +0000 (Fri, 07 Sep 2007) | 2 lines Changed paths: M /trunk/tests/tacosh.c tacosh.c: use tests_default_random(). ------------------------------------------------------------------------ r4825 | vlefevre | 2007-09-07 11:25:42 +0000 (Fri, 07 Sep 2007) | 2 lines Changed paths: M /trunk/tests/tests.c tests.c: improved tests_default_random(). ------------------------------------------------------------------------ r4823 | vlefevre | 2007-09-02 23:17:48 +0000 (Sun, 02 Sep 2007) | 2 lines Changed paths: M /trunk/Makefile.am Makefile.am: fixed get_patches rule. ------------------------------------------------------------------------ r4821 | vlefevre | 2007-09-02 22:29:28 +0000 (Sun, 02 Sep 2007) | 4 lines Changed paths: M /trunk/Makefile.am Makefile.am: cd $(srcdir) before executing get_patches.sh (thanks to Daniel Jacobowitz for noticing this); for more information, see the note just before the get_patches.c rule. ------------------------------------------------------------------------ r4819 | vlefevre | 2007-08-31 17:09:15 +0000 (Fri, 31 Aug 2007) | 2 lines Changed paths: M /trunk/acosh.c acosh.c: added MPFR_UNLIKELY. ------------------------------------------------------------------------ r4817 | vlefevre | 2007-08-31 15:50:48 +0000 (Fri, 31 Aug 2007) | 2 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tests.c M /trunk/tests/texp.c M /trunk/tests/texpm1.c M /trunk/tests/tlog.c M /trunk/tests/tlog1p.c M /trunk/tests/tsin.c M /trunk/tests/tsinh.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c Added generic bad case tests. ------------------------------------------------------------------------ r4816 | vlefevre | 2007-08-31 15:34:23 +0000 (Fri, 31 Aug 2007) | 2 lines Changed paths: M /trunk/algorithms.tex algorithms.tex: deleted trailing spaces. ------------------------------------------------------------------------ r4815 | vlefevre | 2007-08-31 15:33:34 +0000 (Fri, 31 Aug 2007) | 2 lines Changed paths: M /trunk/algorithms.tex algorithms.tex: correction in section on mpfr_asinh: acosh -> asinh. ------------------------------------------------------------------------ r4814 | vlefevre | 2007-08-31 15:31:37 +0000 (Fri, 31 Aug 2007) | 3 lines Changed paths: M /trunk/acosh.c M /trunk/algorithms.tex M /trunk/tests/tacosh.c Fixed bug in mpfr_acosh for arguments slightly larger than 1; updated algorithms.tex; fixed testcase. ------------------------------------------------------------------------ r4813 | vlefevre | 2007-08-31 13:06:59 +0000 (Fri, 31 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tacosh.c tacosh.c: added testcase for bug in mpfr_acosh (assertion failure). ------------------------------------------------------------------------ r4812 | vlefevre | 2007-08-31 12:02:37 +0000 (Fri, 31 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tasin.c tasin.c: increased the number of generic tests. ------------------------------------------------------------------------ r4811 | vlefevre | 2007-08-31 11:33:53 +0000 (Fri, 31 Aug 2007) | 3 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tasin.c M /trunk/tests/tatanh.c M /trunk/tests/tcosh.c M /trunk/tests/tcsch.c M /trunk/tests/tdim.c M /trunk/tests/teint.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tgeneric.c M /trunk/tests/tlog1p.c M /trunk/tests/tpow.c M /trunk/tests/tsech.c M /trunk/tests/tsinh.c M /trunk/tests/ttanh.c M /trunk/tests/tzeta.c Improved generic tests by limiting the exponent range of the random numbers for some functions. ------------------------------------------------------------------------ r4810 | vlefevre | 2007-08-30 15:09:11 +0000 (Thu, 30 Aug 2007) | 3 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tagm.c M /trunk/tests/tests.c M /trunk/tests/tgeneric.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog2.c M /trunk/tests/tpow.c Generic tests: adjust the proportion of negative numbers returned by the random function in order to get fewer NaN cases. ------------------------------------------------------------------------ r4809 | vlefevre | 2007-08-30 14:26:54 +0000 (Thu, 30 Aug 2007) | 3 lines Changed paths: M /trunk/tests/tgeneric.c tgeneric.c: output a warning when too few normal cases are tested (so that the random function can be improved...). ------------------------------------------------------------------------ r4808 | vlefevre | 2007-08-30 13:50:59 +0000 (Thu, 30 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tests.c tests.c: function split (for future addition). ------------------------------------------------------------------------ r4806 | vlefevre | 2007-08-30 10:37:17 +0000 (Thu, 30 Aug 2007) | 2 lines Changed paths: M /trunk/configure.in configure.in: updated copyright notice (for consistency). ------------------------------------------------------------------------ r4803 | vlefevre | 2007-08-30 10:29:54 +0000 (Thu, 30 Aug 2007) | 2 lines Changed paths: M /trunk/tests/mpfr-test.h Bug fix: added missing _MPFR_PROTO in mpfr-test.h. ------------------------------------------------------------------------ r4802 | vlefevre | 2007-08-30 10:12:22 +0000 (Thu, 30 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tgeneric.c tgeneric.c: updated description line. ------------------------------------------------------------------------ r4800 | vlefevre | 2007-08-29 19:59:07 +0000 (Wed, 29 Aug 2007) | 3 lines Changed paths: M /trunk/BUGS M /trunk/FAQ.html M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/acinclude.m4 M /trunk/comparisons.c M /trunk/exp.c M /trunk/faq.xsl M /trunk/neg.c Updated copyright notice (for an unknown reason, some files were missing from the change done in r4350). ------------------------------------------------------------------------ r4795 | vlefevre | 2007-08-28 15:37:59 +0000 (Tue, 28 Aug 2007) | 3 lines Changed paths: M /trunk/atan2.c atan2.c: as we supposed some property, let's add an assertion (which can be evaluated at compile time). ------------------------------------------------------------------------ r4794 | vlefevre | 2007-08-28 15:27:17 +0000 (Tue, 28 Aug 2007) | 2 lines Changed paths: M /trunk/atan2.c atan2.c: improved comment. ------------------------------------------------------------------------ r4793 | vlefevre | 2007-08-28 15:24:27 +0000 (Tue, 28 Aug 2007) | 2 lines Changed paths: M /trunk/atan2.c atan2.c: completed the underflow case. ------------------------------------------------------------------------ r4792 | vlefevre | 2007-08-28 14:19:37 +0000 (Tue, 28 Aug 2007) | 3 lines Changed paths: M /trunk/atan2.c atan2.c: fixed the underflow case except in GMP_RNDN with 2^(-emin-2) < |y/x| < 2^(-emin-1). ------------------------------------------------------------------------ r4791 | vlefevre | 2007-08-28 14:18:35 +0000 (Tue, 28 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tatan.c tatan.c: added small-value tests in the other rounding modes. ------------------------------------------------------------------------ r4790 | vlefevre | 2007-08-28 13:51:04 +0000 (Tue, 28 Aug 2007) | 3 lines Changed paths: M /trunk/atan2.c atan2.c: implemented the special case where x is positive and y/x is computed exactly (solving the underflow problems in this case). ------------------------------------------------------------------------ r4789 | vlefevre | 2007-08-28 13:49:02 +0000 (Tue, 28 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tatan.c tatan.c: added a similar test, but with an exact division result. ------------------------------------------------------------------------ r4788 | vlefevre | 2007-08-28 13:35:40 +0000 (Tue, 28 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tatan.c tatan.c: fixed test. ------------------------------------------------------------------------ r4786 | vlefevre | 2007-08-28 13:16:16 +0000 (Tue, 28 Aug 2007) | 2 lines Changed paths: M /trunk/README.dev README.dev: added a paragraph concerning Ziv loops. ------------------------------------------------------------------------ r4785 | vlefevre | 2007-08-28 09:34:36 +0000 (Tue, 28 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tatan.c tatan.c: updated comment. ------------------------------------------------------------------------ r4784 | vlefevre | 2007-08-28 08:59:09 +0000 (Tue, 28 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tatan.c tatan.c: extended the latest testcase to any platform (e.g. 64 bits). ------------------------------------------------------------------------ r4783 | vlefevre | 2007-08-28 08:49:00 +0000 (Tue, 28 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tatan.c tatan.c: added testcase from a bug reported by Christopher Creutzig. ------------------------------------------------------------------------ r4781 | vlefevre | 2007-08-27 14:27:34 +0000 (Mon, 27 Aug 2007) | 2 lines Changed paths: M /trunk M /trunk/tests Updated svn:ignore properties. ------------------------------------------------------------------------ r4779 | vlefevre | 2007-08-27 11:55:00 +0000 (Mon, 27 Aug 2007) | 7 lines Changed paths: M /trunk/FAQ.html FAQ update: * The question numbers are now hardcoded instead of being generated with CSS rules. * Added the list of questions at the top. * CSS styles: a grey bar is displayed on the left of the target answer (if the browser supports the ":target" pseudo-class from CSS3). ------------------------------------------------------------------------ r4778 | vlefevre | 2007-08-27 10:56:11 +0000 (Mon, 27 Aug 2007) | 2 lines Changed paths: M /trunk/faq.xsl faq.xsl: added a comment. ------------------------------------------------------------------------ r4776 | vlefevre | 2007-08-27 10:44:17 +0000 (Mon, 27 Aug 2007) | 2 lines Changed paths: M /trunk/FAQ.html FAQ update. ------------------------------------------------------------------------ r4774 | vlefevre | 2007-08-22 15:51:41 +0000 (Wed, 22 Aug 2007) | 6 lines Changed paths: M /trunk/INSTALL INSTALL: added another warning concerning the --with-gmp options. For instance, under Linux, "cpp -I/usr/include -v < /dev/null" says: ignoring duplicate directory "/usr/include" as it is a non-system directory that duplicates a system directory and does not modify the include search path as wanted. ------------------------------------------------------------------------ r4772 | vlefevre | 2007-08-15 17:29:44 +0000 (Wed, 15 Aug 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: improved description of mpfr_setsign. ------------------------------------------------------------------------ r4770 | vlefevre | 2007-08-14 11:41:37 +0000 (Tue, 14 Aug 2007) | 2 lines Changed paths: M /trunk/NEWS Added to NEWS: Thread-safe support with Microsoft Visual compiler. ------------------------------------------------------------------------ r4768 | vlefevre | 2007-08-14 11:34:22 +0000 (Tue, 14 Aug 2007) | 5 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: if MPFR_USE_THREAD_SAFE is defined (--enable-thread-safe): * Added support for MSC (thanks to Brian Gladman). * Define MPFR_THREAD_ATTR even after #error to make the error more visible (see comment in the source). ------------------------------------------------------------------------ r4765 | vlefevre | 2007-08-13 10:41:51 +0000 (Mon, 13 Aug 2007) | 3 lines Changed paths: M /trunk/tests/tstckintc.c tstckintc.c: fixed bus error on Solaris (the address of Buffer was not a multiple of 4). ------------------------------------------------------------------------ r4761 | vlefevre | 2007-08-13 05:05:39 +0000 (Mon, 13 Aug 2007) | 2 lines Changed paths: M /trunk/NEWS NEWS: new functions mpfr_signbit, mpfr_setsign, mpfr_copysign. ------------------------------------------------------------------------ r4759 | vlefevre | 2007-08-13 04:53:32 +0000 (Mon, 13 Aug 2007) | 8 lines Changed paths: M /trunk/Makefile.am M /trunk/TODO M /trunk/copysign.c M /trunk/mpfr.h M /trunk/mpfr.texi A /trunk/setsign.c A /trunk/signbit.c M /trunk/tests/tcopysign.c Implemented changes suggested in <https://sympa.inria.fr/sympa/arc/mpfr/2007-07/msg00123.html>. * Made mpfr_copysign() like the corresponding function in IEEE 754 (was an internal function until now). * Added mpfr_signbit() and mpfr_setsign(). * Documented these three functions. * Updated TODO. ------------------------------------------------------------------------ r4757 | vlefevre | 2007-08-13 04:34:33 +0000 (Mon, 13 Aug 2007) | 2 lines Changed paths: M /trunk/jyn_asympt.c M /trunk/remquo.c M /trunk/tests/texp10.c M /trunk/tests/tl2b.c Make svn properties consistent. ------------------------------------------------------------------------ r4752 | vlefevre | 2007-08-11 22:41:05 +0000 (Sat, 11 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tatan.c Fixed mpfr_inits and mpfr_clears calls in tests/tatan.c. ------------------------------------------------------------------------ r4751 | vlefevre | 2007-08-11 22:38:54 +0000 (Sat, 11 Aug 2007) | 3 lines Changed paths: A /trunk/check_inits_clears Added check_inits_clears Perl script to check that a cast is performed for the last argument of mpfr_inits, mpfr_inits2 and mpfr_clears. ------------------------------------------------------------------------ r4747 | vlefevre | 2007-08-10 02:19:57 +0000 (Fri, 10 Aug 2007) | 2 lines Changed paths: M /trunk/INSTALL M /trunk/VERSION M /trunk/configure.in M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/version.c Updated version to 2.4.0-dev. ------------------------------------------------------------------------ r4744 | vlefevre | 2007-08-10 02:11:05 +0000 (Fri, 10 Aug 2007) | 2 lines Changed paths: M /trunk/NEWS NEWS update. ------------------------------------------------------------------------ r4743 | vlefevre | 2007-08-10 02:06:56 +0000 (Fri, 10 Aug 2007) | 2 lines Changed paths: M /trunk/ChangeLog ChangeLog update with "TZ=UTC svn log -v". ------------------------------------------------------------------------ r4742 | vlefevre | 2007-08-10 01:41:01 +0000 (Fri, 10 Aug 2007) | 3 lines Changed paths: M /trunk/asinh.c asinh.c: fixed assertion failure (see test 4 in tasinh.c, added in r4740), that was due to an exception. ------------------------------------------------------------------------ r4741 | vlefevre | 2007-08-10 01:38:25 +0000 (Fri, 10 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tasinh.c tasinh.c: fixed test. ------------------------------------------------------------------------ r4740 | vlefevre | 2007-08-10 01:18:46 +0000 (Fri, 10 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tasinh.c tasinh.c: added worst case that yields an assertion failure. ------------------------------------------------------------------------ r4739 | vlefevre | 2007-08-09 17:21:32 +0000 (Thu, 09 Aug 2007) | 2 lines Changed paths: A /trunk/tests/data/cbrt M /trunk/tests/tcbrt.c Added data_check support to cbrt. ------------------------------------------------------------------------ r4738 | vlefevre | 2007-08-09 15:45:47 +0000 (Thu, 09 Aug 2007) | 3 lines Changed paths: M /trunk/log.c log.c: fixed assertion failure (see test x_near_one in tlog.c, added in r4736), that was due to an exception. ------------------------------------------------------------------------ r4737 | vlefevre | 2007-08-09 12:12:56 +0000 (Thu, 09 Aug 2007) | 6 lines Changed paths: M /trunk/pow.c pow.c: added MPFR_SMALL_INPUT_AFTER_SAVE_EXPO for the case where |y * log(x)| is very small (I can't really test because this code currently fails due to a bug in mpfr_log: see test x_near_one added to tlog.c as changeset 4736; this bug is also present in the 2.2 branch). ------------------------------------------------------------------------ r4736 | vlefevre | 2007-08-09 11:58:59 +0000 (Thu, 09 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tlog.c tlog.c: added a test leading to an assertion failure in mpfr_log. ------------------------------------------------------------------------ r4735 | vlefevre | 2007-08-09 11:45:19 +0000 (Thu, 09 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tpow.c tpow.c: added a test where x is close to 1. ------------------------------------------------------------------------ r4734 | vlefevre | 2007-08-09 11:02:28 +0000 (Thu, 09 Aug 2007) | 2 lines Changed paths: A /trunk/tests/data/exp10 Added empty file tests/data/exp10 to avoid an error with -dev versions. ------------------------------------------------------------------------ r4733 | vlefevre | 2007-08-09 10:18:50 +0000 (Thu, 09 Aug 2007) | 2 lines Changed paths: M /trunk/mpfr-impl.h M /trunk/round_near_x.c Added a TODO concerning the description of mpfr_round_near_x. ------------------------------------------------------------------------ r4732 | vlefevre | 2007-08-09 09:48:59 +0000 (Thu, 09 Aug 2007) | 2 lines Changed paths: A /trunk/tests/data/expm1 A /trunk/tests/data/log1p A /trunk/tests/data/log2 Added empty files in tests/data to avoid errors with -dev versions. ------------------------------------------------------------------------ r4731 | vlefevre | 2007-08-09 09:39:43 +0000 (Thu, 09 Aug 2007) | 2 lines Changed paths: M /trunk/ui_pow.c mpfr_ui_pow fix: added a MPFR_SAVE_EXPO_UPDATE_FLAGS. ------------------------------------------------------------------------ r4730 | vlefevre | 2007-08-09 02:52:27 +0000 (Thu, 09 Aug 2007) | 2 lines Changed paths: M /trunk/tests M /trunk/tests/Makefile.am A /trunk/tests/texp10.c Added texp10.c (texp10 currently fails). ------------------------------------------------------------------------ r4729 | vlefevre | 2007-08-09 02:26:33 +0000 (Thu, 09 Aug 2007) | 2 lines Changed paths: M /trunk/tests/texp2.c texp2.c: reformat and added some tests which were missing. ------------------------------------------------------------------------ r4728 | vlefevre | 2007-08-08 15:12:56 +0000 (Wed, 08 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tl2b.c M /trunk/tests/tremquo.c Updated svn:keywords and svn:eol-style properties in tests. ------------------------------------------------------------------------ r4727 | vlefevre | 2007-08-08 15:11:15 +0000 (Wed, 08 Aug 2007) | 2 lines Changed paths: M /trunk/tests/texpm1.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c Added data_check calls to texpm1, tlog1p and tlog2. ------------------------------------------------------------------------ r4726 | vlefevre | 2007-08-08 14:37:28 +0000 (Wed, 08 Aug 2007) | 3 lines Changed paths: M /trunk/tests/tests.c tests/tests.c: in data_check(), mode 'Z', do not test GMP_RNDN if the precision for the directed rounding modes is MPFR_PREC_MIN. ------------------------------------------------------------------------ r4725 | vlefevre | 2007-08-04 23:13:52 +0000 (Sat, 04 Aug 2007) | 2 lines Changed paths: M /trunk/TODO TODO: more on mpfr_sin (and mpfr_cos). ------------------------------------------------------------------------ r4724 | vlefevre | 2007-08-04 22:58:01 +0000 (Sat, 04 Aug 2007) | 2 lines Changed paths: M /trunk/TODO TODO: update concerning sin/cos/tan. ------------------------------------------------------------------------ r4723 | vlefevre | 2007-08-03 02:45:32 +0000 (Fri, 03 Aug 2007) | 3 lines Changed paths: M /trunk/tests/tests.c tests/tests.c: in data_check(), check the 4 rounding modes if rnd is 'Z' (in order to test the worst cases). ------------------------------------------------------------------------ r4722 | vlefevre | 2007-08-03 01:30:20 +0000 (Fri, 03 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tests.c Fixed coding style (for ansi2knr in particular). ------------------------------------------------------------------------ r4721 | vlefevre | 2007-08-02 10:19:44 +0000 (Thu, 02 Aug 2007) | 2 lines Changed paths: M /trunk/Makefile.am Makefile.am: added a comment about "get_patches.c". ------------------------------------------------------------------------ r4720 | vlefevre | 2007-08-02 10:07:48 +0000 (Thu, 02 Aug 2007) | 8 lines Changed paths: M /trunk/Makefile.am No longer set "CLEANFILES = get_patches.c" in Makefile.am so that a "make clean" doesn't remove the get_patches.c file, as rebuilding it needs a Unix shell (and some standard utilities). Anyway the update of this file should be regarded as part of the patch process, then this file is just like any other .c files. Note: "make dist" includes this file in the archives, so that concerning the build, everything is like before as long as no patches are applied. ------------------------------------------------------------------------ r4719 | zimmerma | 2007-08-01 18:07:32 +0000 (Wed, 01 Aug 2007) | 2 lines Changed paths: M /trunk/TODO added item about sNaN/qNaN ------------------------------------------------------------------------ r4718 | vlefevre | 2007-07-31 14:28:20 +0000 (Tue, 31 Jul 2007) | 3 lines Changed paths: M /trunk/copysign.c copysign.c: reformat, updated comment (but this function is still not documented in mpfr.texi). ------------------------------------------------------------------------ r4717 | vlefevre | 2007-07-31 14:12:15 +0000 (Tue, 31 Jul 2007) | 3 lines Changed paths: M /trunk/INSTALL M /trunk/VERSION M /trunk/configure.in M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/version.c Updated version back to 2.3.0-dev since the 2.3 branch will be recreated from the trunk (too many changes!). ------------------------------------------------------------------------ r4716 | vlefevre | 2007-07-31 13:34:37 +0000 (Tue, 31 Jul 2007) | 2 lines Changed paths: M /trunk/tests/tl2b.c tl2b.c: enable output even when the constants are correct. ------------------------------------------------------------------------ r4715 | vlefevre | 2007-07-31 13:25:24 +0000 (Tue, 31 Jul 2007) | 3 lines Changed paths: M /trunk Added get_patches.c to the svn:ignore property, as this file is generated. ------------------------------------------------------------------------ r4714 | vlefevre | 2007-07-31 13:23:37 +0000 (Tue, 31 Jul 2007) | 13 lines Changed paths: M /trunk/free_cache.c M /trunk/get_str.c M /trunk/mpfr-impl.h M /trunk/tests M /trunk/tests/Makefile.am A /trunk/tests/tl2b.c Replaced l2b cache by constants, as suggested by Patrick Pelissier, to avoid efficiency problems with the stack interface and heavily threaded applications. * Added tests/tl2b.c to generate / check the constants. * tests/Makefile.am: added tl2b to check_PROGRAMS. * tests directory: added tl2b to the svn:ignore property. * mpfr-impl.h: updated the __gmpfr_l2b declaration. * free_cache.c: disabled free_l2b (since there's no longer a cache). * get_str.c: added the code generated by tl2b; for the bootstrap, one can just write: const __mpfr_struct __gmpfr_l2b[BASE_MAX-1][2] = { { { 0 } } }; Removed the code (in ceil_mul) that computed these constants. ------------------------------------------------------------------------ r4713 | vlefevre | 2007-07-30 22:37:30 +0000 (Mon, 30 Jul 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated the documentation of the mpfr_get_d function family. ------------------------------------------------------------------------ r4712 | vlefevre | 2007-07-30 11:12:45 +0000 (Mon, 30 Jul 2007) | 2 lines Changed paths: M /trunk/README.dev M /trunk/TODO Patch tracking: updated README.dev and TODO files. ------------------------------------------------------------------------ r4711 | vlefevre | 2007-07-30 10:45:01 +0000 (Mon, 30 Jul 2007) | 3 lines Changed paths: M /trunk/Makefile.am M /trunk/NEWS A /trunk/PATCHES A /trunk/get_patches.sh M /trunk/mpfr.h M /trunk/mpfr.texi Added support for tracking applied patches with new function mpfr_get_patches(). ------------------------------------------------------------------------ r4710 | vlefevre | 2007-07-30 09:41:55 +0000 (Mon, 30 Jul 2007) | 4 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated the example concerning mpfr_get_version() vs MPFR_VERSION_STRING ("Warning" instead of "Error", make sure that the example fits on 80 columns in the info file). ------------------------------------------------------------------------ r4709 | vlefevre | 2007-07-30 09:37:06 +0000 (Mon, 30 Jul 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated description of mpfr_get_version(). ------------------------------------------------------------------------ r4708 | vlefevre | 2007-07-30 09:31:58 +0000 (Mon, 30 Jul 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated description of mpfr_get_version(). ------------------------------------------------------------------------ r4707 | zimmerma | 2007-07-28 15:03:05 +0000 (Sat, 28 Jul 2007) | 2 lines Changed paths: M /trunk/TODO added files that are not 100% covered by tests ------------------------------------------------------------------------ r4706 | vlefevre | 2007-07-27 22:04:24 +0000 (Fri, 27 Jul 2007) | 2 lines Changed paths: M /trunk/coverage coverage: added --disable-shared --enable-static to configure. ------------------------------------------------------------------------ r4705 | vlefevre | 2007-07-27 21:59:04 +0000 (Fri, 27 Jul 2007) | 2 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: added more casts for g++. ------------------------------------------------------------------------ r4704 | vlefevre | 2007-07-27 21:54:22 +0000 (Fri, 27 Jul 2007) | 2 lines Changed paths: M /trunk/mpfr-impl.h Reformat. ------------------------------------------------------------------------ r4703 | vlefevre | 2007-07-27 21:48:03 +0000 (Fri, 27 Jul 2007) | 2 lines Changed paths: M /trunk/const_log2.c M /trunk/mpfr-impl.h M /trunk/mul.c Applied patch from Patrick to be able to build MPFR with g++. ------------------------------------------------------------------------ r4702 | zimmerma | 2007-07-26 12:02:24 +0000 (Thu, 26 Jul 2007) | 2 lines Changed paths: M /trunk/mparam_h.in added default thresholds for Core 2 ------------------------------------------------------------------------ r4701 | vlefevre | 2007-07-25 15:34:52 +0000 (Wed, 25 Jul 2007) | 5 lines Changed paths: M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texp.c M /trunk/tests/texp2.c M /trunk/tests/tgamma.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tlgamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tmul.c M /trunk/tests/tpow.c M /trunk/tests/tsin.c M /trunk/tests/tsinh.c M /trunk/tests/tsqrt.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/tui_div.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c No longer use MPFR_CHECK_ALL in tests. In '-dev' versions, assume that the data files exist and return an error whenever a file cannot be opened. In the other versions, return silently if the file cannot be opened. ------------------------------------------------------------------------ r4700 | vlefevre | 2007-07-25 15:18:45 +0000 (Wed, 25 Jul 2007) | 2 lines Changed paths: M /trunk/Makefile.am D /trunk/mpfr-test.h M /trunk/tests/Makefile.am A /trunk/tests/mpfr-test.h (from /trunk/mpfr-test.h:4698) Moved mpfr-test.h into the tests directory. ------------------------------------------------------------------------ r4699 | zimmerma | 2007-07-25 15:15:55 +0000 (Wed, 25 Jul 2007) | 2 lines Changed paths: M /trunk/cos.c fixed "efficiency bug" (argument reduction was broken) ------------------------------------------------------------------------ r4698 | vlefevre | 2007-07-25 14:45:13 +0000 (Wed, 25 Jul 2007) | 3 lines Changed paths: M /trunk/tests/tests.c tests.c: in data_check(), made whitespace skipping consistent and check that the result value is immediately followed by a \n. ------------------------------------------------------------------------ r4697 | vlefevre | 2007-07-25 14:02:23 +0000 (Wed, 25 Jul 2007) | 3 lines Changed paths: M /trunk/tests/tests.c [tests.c] Fixed some types (the result of getc() is not necessarily representable in a char). ------------------------------------------------------------------------ r4696 | vlefevre | 2007-07-25 13:45:10 +0000 (Wed, 25 Jul 2007) | 5 lines Changed paths: M /trunk/tests/tests.c tests.c: changes in the error messages (BTW, we decided to output everything to stdout for consistency, even though messages for assertion failure are written to stderr) and replaced an abort () by an exit (1). ------------------------------------------------------------------------ r4695 | vlefevre | 2007-07-25 10:58:54 +0000 (Wed, 25 Jul 2007) | 2 lines Changed paths: M /trunk/jyn_asympt.c M /trunk/tests/tests.c Delete trailing spaces. ------------------------------------------------------------------------ r4694 | zimmerma | 2007-07-25 10:01:45 +0000 (Wed, 25 Jul 2007) | 5 lines Changed paths: M /trunk/Makefile.am M /trunk/jn.c A /trunk/jyn_asympt.c M /trunk/tests/tests.c M /trunk/yn.c jyn_asympt.c: new common file for asymptotic expansion in jn/yn tests/tests.c: print precisions in case of failure jn.c: now use jyn_asympt.c yn.c: now implement asymptotic expansion (jyn_asympt.c) ------------------------------------------------------------------------ r4693 | zimmerma | 2007-07-25 09:58:31 +0000 (Wed, 25 Jul 2007) | 2 lines Changed paths: M /trunk/tests/data/y0 M /trunk/tests/data/y1 fixed more wrong entries in Gonnet's test suite ------------------------------------------------------------------------ r4692 | zimmerma | 2007-07-24 15:12:39 +0000 (Tue, 24 Jul 2007) | 2 lines Changed paths: M /trunk/jn.c contribution of first neglected term to error was wrong ------------------------------------------------------------------------ r4691 | zimmerma | 2007-07-24 15:08:51 +0000 (Tue, 24 Jul 2007) | 2 lines Changed paths: M /trunk/tests/data/y0 fixed wrong entry (not enough precision was used in Maple) ------------------------------------------------------------------------ r4690 | zimmerma | 2007-07-24 13:42:35 +0000 (Tue, 24 Jul 2007) | 2 lines Changed paths: M /trunk/algorithms.tex M /trunk/jn.c M /trunk/tests/data/j0 M /trunk/tests/tj0.c M /trunk/tests/tj1.c implemented asymptotic expansion for large argument in j0/j1/jn ------------------------------------------------------------------------ r4689 | zimmerma | 2007-07-20 16:12:03 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: M /trunk/nightly-test define MPFR_CHECK_ALL for nightly tests ------------------------------------------------------------------------ r4688 | zimmerma | 2007-07-20 16:11:15 +0000 (Fri, 20 Jul 2007) | 3 lines Changed paths: M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/terf.c M /trunk/tests/texp.c M /trunk/tests/texp2.c M /trunk/tests/tgamma.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tlgamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tmul.c M /trunk/tests/tpow.c M /trunk/tests/tsin.c M /trunk/tests/tsinh.c M /trunk/tests/tsqrt.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/tui_div.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c Added code to check mpfr against Gonnet's tables when the environment variable MPFR_CHECK_ALL is defined (some table entries were checked by MuPAD) ------------------------------------------------------------------------ r4687 | zimmerma | 2007-07-20 16:04:38 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: M /trunk/tests/data/gonnet.mpl added comment ------------------------------------------------------------------------ r4686 | zimmerma | 2007-07-20 15:58:20 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/y0 A /trunk/tests/data/y1 test data files mpfr mpfr_y0 and mpfr_y1, ***not*** checked with MuPAD ------------------------------------------------------------------------ r4685 | zimmerma | 2007-07-20 15:55:03 +0000 (Fri, 20 Jul 2007) | 3 lines Changed paths: M /trunk/tests/data/CheckData.mu added auxiliary MuPAD functions improved Ziv's strategy: add half of DIGITS each time ------------------------------------------------------------------------ r4684 | zimmerma | 2007-07-20 15:52:52 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/tanh test data file for mpfr_tanh, checked by MuPAD ------------------------------------------------------------------------ r4683 | zimmerma | 2007-07-20 15:51:28 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/tan test data file for mpfr_tan, checked with MuPAD (except 3 indicated entries) ------------------------------------------------------------------------ r4682 | zimmerma | 2007-07-20 15:39:23 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/sqrt test data file for mpfr_sqrt, checked with MuPAD ------------------------------------------------------------------------ r4681 | zimmerma | 2007-07-20 15:28:32 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/sinh test data file for mpfr_sinh, checked by MuPAD (except indicated lines) ------------------------------------------------------------------------ r4680 | zimmerma | 2007-07-20 15:17:58 +0000 (Fri, 20 Jul 2007) | 3 lines Changed paths: A /trunk/tests/data/sin test data file for mpfr_sin, checked by MuPAD (except tiny inputs indicated in file) ------------------------------------------------------------------------ r4679 | zimmerma | 2007-07-20 13:45:40 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/pow275 test data file for x^(11/4), checked with MuPAD ------------------------------------------------------------------------ r4678 | zimmerma | 2007-07-20 13:41:01 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: M /trunk/tests/data/log10 finally, I was able to check it with MuPAD ------------------------------------------------------------------------ r4677 | zimmerma | 2007-07-20 13:36:16 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/exp2 test data file for 2^x, checked with MuPAD ------------------------------------------------------------------------ r4676 | zimmerma | 2007-07-20 13:28:30 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/mulpi test data file for Pi*x, checked with MuPAD ------------------------------------------------------------------------ r4675 | zimmerma | 2007-07-20 12:56:27 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/log test data file for mpfr_log, checked with MuPAD ------------------------------------------------------------------------ r4674 | zimmerma | 2007-07-20 12:54:43 +0000 (Fri, 20 Jul 2007) | 3 lines Changed paths: A /trunk/tests/data/j0 A /trunk/tests/data/j1 A /trunk/tests/data/lgamma A /trunk/tests/data/log10 test data files for mpfr_j0, mpfr_j1, mpfr_lgamma, mpfr_log10, ***not*** tested with MuPAD (not Dom::Interval interface) ------------------------------------------------------------------------ r4673 | zimmerma | 2007-07-20 12:52:25 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/inv test data file for 1/x, i.e., mpfr_ui_div(1,x), checked with MuPAD ------------------------------------------------------------------------ r4672 | zimmerma | 2007-07-20 12:45:10 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/gamma test data file for mpfr_gamma, ***not*** checked by MuPAD ------------------------------------------------------------------------ r4671 | zimmerma | 2007-07-20 12:44:09 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/exp test data file for mpfr_exp, checked with MuPAD ------------------------------------------------------------------------ r4670 | zimmerma | 2007-07-20 12:43:34 +0000 (Fri, 20 Jul 2007) | 3 lines Changed paths: A /trunk/tests/data/erf A /trunk/tests/data/erfc test data files for erf and erfc (not checked by MuPAD, since Dom::Interval does not have an interface for those functions in MuPAD 3.2.0) ------------------------------------------------------------------------ r4669 | zimmerma | 2007-07-20 12:35:54 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/cosh test data file for mpfr_cosh, checked with MuPAD ------------------------------------------------------------------------ r4668 | zimmerma | 2007-07-20 12:33:31 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/cos test data file for mpfr_cos, checked by MuPAD ------------------------------------------------------------------------ r4667 | zimmerma | 2007-07-20 12:02:36 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/atanh test data file for mpfr_atanh, checked with MuPAD ------------------------------------------------------------------------ r4666 | zimmerma | 2007-07-20 11:42:54 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/atan test data file for atan, checked with MuPAD ------------------------------------------------------------------------ r4665 | zimmerma | 2007-07-20 11:06:48 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/asinh test file for mpfr_asinh, checked with MuPAD ------------------------------------------------------------------------ r4664 | zimmerma | 2007-07-20 11:04:14 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/asin data file for mpfr_asin, checked with MuPAD using CheckData.mu ------------------------------------------------------------------------ r4663 | zimmerma | 2007-07-20 10:13:10 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/acosh data file for mpfr_acosh, checked with MuPAD using CheckData.mu ------------------------------------------------------------------------ r4662 | zimmerma | 2007-07-20 10:12:37 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: M /trunk/tests/data/CheckData.mu improved output ------------------------------------------------------------------------ r4661 | zimmerma | 2007-07-20 10:05:11 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/CheckData.mu MuPAD file to check a data file ------------------------------------------------------------------------ r4658 | vlefevre | 2007-07-20 00:18:14 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: M /trunk/free_cache.c M /trunk/get_str.c M /trunk/mpfr-impl.h Renamed mpfr_l2b as __gmpfr_l2b for consistency. ------------------------------------------------------------------------ r4657 | zimmerma | 2007-07-19 19:49:15 +0000 (Thu, 19 Jul 2007) | 2 lines Changed paths: M /trunk/mpfr-longlong.h patch from Brian Gladman to build mpfr.dll ------------------------------------------------------------------------ r4656 | zimmerma | 2007-07-19 16:07:58 +0000 (Thu, 19 Jul 2007) | 2 lines Changed paths: M /trunk/tests/data/acos M /trunk/tests/data/gonnet.mpl added copyright information about Gonnet's package ------------------------------------------------------------------------ r4655 | zimmerma | 2007-07-19 16:03:38 +0000 (Thu, 19 Jul 2007) | 2 lines Changed paths: M /trunk/tests/tests.c modified data_check() to allow comment lines starting with # ------------------------------------------------------------------------ r4654 | zimmerma | 2007-07-19 14:55:47 +0000 (Thu, 19 Jul 2007) | 2 lines Changed paths: M /trunk/mpfr-test.h M /trunk/tests/tacos.c M /trunk/tests/tests.c new (experimental) mechanism to check data files (see example in tacos.c) ------------------------------------------------------------------------ r4653 | zimmerma | 2007-07-19 14:54:49 +0000 (Thu, 19 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data A /trunk/tests/data/acos A /trunk/tests/data/gonnet.mpl new directory for test data ------------------------------------------------------------------------ r4652 | zimmerma | 2007-07-19 10:52:00 +0000 (Thu, 19 Jul 2007) | 2 lines Changed paths: M /trunk/tests/tcos.c added test for inexact flag (bug fixed in r4630) ------------------------------------------------------------------------ r4651 | vlefevre | 2007-07-18 23:09:35 +0000 (Wed, 18 Jul 2007) | 4 lines Changed paths: M /trunk/atan2.c M /trunk/erfc.c erfc.c, atan2.c: added missing "MPFR_SAVE_EXPO_FREE (expo);" before "return mpfr_underflow (...);". erfc.c: replaced a goto by an else. ------------------------------------------------------------------------ r4650 | zimmerma | 2007-07-18 16:24:08 +0000 (Wed, 18 Jul 2007) | 2 lines Changed paths: M /trunk/atan2.c now deal with underflow in y/x (remains to deal with overflow) ------------------------------------------------------------------------ r4649 | zimmerma | 2007-07-18 16:19:31 +0000 (Wed, 18 Jul 2007) | 2 lines Changed paths: M /trunk/tests/tset_str.c now can specify output base when argc > 1 ------------------------------------------------------------------------ r4648 | zimmerma | 2007-07-18 16:18:14 +0000 (Wed, 18 Jul 2007) | 2 lines Changed paths: M /trunk/tests/tlgamma.c MPFR_EQUAL -> mpfr_equal_p ------------------------------------------------------------------------ r4647 | zimmerma | 2007-07-18 15:48:57 +0000 (Wed, 18 Jul 2007) | 2 lines Changed paths: M /trunk/erfc.c M /trunk/tests/terf.c fixed problem with erfc() near underflow region ------------------------------------------------------------------------ r4646 | zimmerma | 2007-07-18 13:51:07 +0000 (Wed, 18 Jul 2007) | 3 lines Changed paths: M /trunk/atan2.c M /trunk/tests/tatan.c atan2.c: quick-and-dirty fix for atan2(y,1) tests/tatan.c: fix tests from Christopher [x and y were interchanged] ------------------------------------------------------------------------ r4645 | zimmerma | 2007-07-18 12:19:22 +0000 (Wed, 18 Jul 2007) | 2 lines Changed paths: M /trunk/tests/tatan.c added test from Ch. Creutzig ------------------------------------------------------------------------ r4644 | zimmerma | 2007-07-18 08:23:30 +0000 (Wed, 18 Jul 2007) | 2 lines Changed paths: M /trunk/agm.c apply patch suggested in bug #3604 ------------------------------------------------------------------------ r4643 | zimmerma | 2007-07-17 14:30:00 +0000 (Tue, 17 Jul 2007) | 4 lines Changed paths: M /trunk/lngamma.c M /trunk/tests/tlgamma.c previous bug fix for tiny negative inputs in mpfr_lgamma was incorrect: result was NaN, but this was not detected by the tests since mpfr_cmp (y, NaN) is always true! ------------------------------------------------------------------------ r4642 | vlefevre | 2007-07-17 13:14:21 +0000 (Tue, 17 Jul 2007) | 2 lines Changed paths: M /trunk/get_str.c M /trunk/strtofr.c Added comments and fixed an indentation bug. ------------------------------------------------------------------------ r4641 | zimmerma | 2007-07-17 06:26:24 +0000 (Tue, 17 Jul 2007) | 4 lines Changed paths: M /trunk/cos.c in reconstruction after computation of cos(x/2^k) for reduced argument, it may be that cos(x) is zero to the working precision. Then restart Ziv's algorithm with a larger precision. ------------------------------------------------------------------------ r4640 | zimmerma | 2007-07-16 12:51:17 +0000 (Mon, 16 Jul 2007) | 4 lines Changed paths: M /trunk/lngamma.c M /trunk/tests/tlgamma.c lngamma.c: fix for small inputs tlgamma.c: added more tests from Kaveh Ghazi ------------------------------------------------------------------------ r4639 | zimmerma | 2007-07-16 11:22:13 +0000 (Mon, 16 Jul 2007) | 3 lines Changed paths: M /trunk/sin_cos.c M /trunk/tests/ttan.c sin_cos.c: 2nd arg of 1st mpfr_can_round call was wrong ttan.c: fixed wrong reference value ------------------------------------------------------------------------ r4638 | zimmerma | 2007-07-16 06:58:08 +0000 (Mon, 16 Jul 2007) | 2 lines Changed paths: M /trunk/TODO added comment about sinpi, etc. ------------------------------------------------------------------------ r4637 | zimmerma | 2007-07-15 09:09:10 +0000 (Sun, 15 Jul 2007) | 2 lines Changed paths: M /trunk/tests/ttan.c added new test, and re-enabled test that was too slow ------------------------------------------------------------------------ r4636 | zimmerma | 2007-07-14 07:30:37 +0000 (Sat, 14 Jul 2007) | 2 lines Changed paths: M /trunk/nightly-test removed MPFR_CHECK_TINY, added MPFR_CHECK_MAX ------------------------------------------------------------------------ r4635 | vlefevre | 2007-07-10 08:52:50 +0000 (Tue, 10 Jul 2007) | 2 lines Changed paths: M /trunk/tests/terf.c terf.c: added testcase for bug reported by Christopher Creutzig. ------------------------------------------------------------------------ r4633 | vlefevre | 2007-07-09 11:41:04 +0000 (Mon, 09 Jul 2007) | 2 lines Changed paths: M /trunk/init2.c Removed a #include that was probably added by mistake in r2590. ------------------------------------------------------------------------ r4632 | vlefevre | 2007-07-09 11:39:29 +0000 (Mon, 09 Jul 2007) | 3 lines Changed paths: M /trunk/abort_prec_max.c M /trunk/cos.c M /trunk/dump.c M /trunk/eint.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/fma.c M /trunk/fms.c M /trunk/free_cache.c M /trunk/get_d64.c M /trunk/get_si.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/init2.c M /trunk/inp_str.c M /trunk/logging.c M /trunk/mpfr-gmp.c M /trunk/mpfr-impl.h M /trunk/out_str.c M /trunk/pow.c M /trunk/print_raw.c M /trunk/remquo.c M /trunk/set_d64.c M /trunk/set_uj.c M /trunk/strtofr.c M /trunk/tuneup.c M /trunk/ui_pow.c M /trunk/zeta.c <stdio.h> and <limits.h> are now included unconditionally in mpfr-impl.h (removed their inclusion from the C files for consistency). ------------------------------------------------------------------------ r4630 | zimmerma | 2007-07-04 10:07:31 +0000 (Wed, 04 Jul 2007) | 2 lines Changed paths: M /trunk/cos.c ternary flag was wrong in case s=1 or -1 and rounding up/nearest ------------------------------------------------------------------------ r4629 | zimmerma | 2007-07-04 09:32:23 +0000 (Wed, 04 Jul 2007) | 2 lines Changed paths: M /trunk/algorithms.tex M /trunk/tan.c updated algorithms.tex with new additive argument reduction for sin/cos/tan ------------------------------------------------------------------------ r4628 | vlefevre | 2007-07-03 23:35:05 +0000 (Tue, 03 Jul 2007) | 2 lines Changed paths: M /trunk/lngamma.c lngamma.c: reformat and replaced mpfr_cmp(...) == 0 by mpfr_equal_p. ------------------------------------------------------------------------ r4626 | zimmerma | 2007-07-03 19:12:40 +0000 (Tue, 03 Jul 2007) | 2 lines Changed paths: M /trunk/free_cache.c changed stdlib to stdio for NULL (see README.dev) ------------------------------------------------------------------------ r4625 | zimmerma | 2007-07-03 19:10:33 +0000 (Tue, 03 Jul 2007) | 3 lines Changed paths: M /trunk/lngamma.c M /trunk/tests/tlgamma.c fixed bug in tlgamma and added test (need to implement Ziv's strategy in tiny case) ------------------------------------------------------------------------ r4624 | zimmerma | 2007-07-03 18:45:28 +0000 (Tue, 03 Jul 2007) | 2 lines Changed paths: M /trunk/free_cache.c added missing include ------------------------------------------------------------------------ r4622 | vlefevre | 2007-07-03 16:11:39 +0000 (Tue, 03 Jul 2007) | 7 lines Changed paths: M /trunk/free_cache.c M /trunk/mpfr.texi M /trunk/tests/tests.c Fixed the bug reported by David Billinghurst to the MPFR mailing-list on 2007-07-03 (memory leaks under some conditions): * moved the free_l2b() function from tests/tests.c to free_cache.c; * mpfr_free_cache() (from free_cache.c) now calls free_l2b(); * as a consequence, no longer call free_l2b() in tests_end_mpfr(); * documented the behavior in mpfr.texi (under mpfr_free_cache). ------------------------------------------------------------------------ r4620 | vlefevre | 2007-07-03 15:05:01 +0000 (Tue, 03 Jul 2007) | 2 lines Changed paths: M /trunk/tests/tj0.c tj0.c: added testcase from Sisyphus (assertion failed). ------------------------------------------------------------------------ r4618 | vlefevre | 2007-07-03 13:03:22 +0000 (Tue, 03 Jul 2007) | 2 lines Changed paths: M /trunk/README.dev README.dev: explain how to test the library interface compatibility. ------------------------------------------------------------------------ r4616 | vlefevre | 2007-07-02 23:30:52 +0000 (Mon, 02 Jul 2007) | 2 lines Changed paths: M /trunk/README.dev README.dev: mentions patch-libtool and how to apply it. ------------------------------------------------------------------------ r4615 | vlefevre | 2007-07-02 23:26:01 +0000 (Mon, 02 Jul 2007) | 3 lines Changed paths: A /trunk/patch-libtool Added patch-libtool (patch for aclocal.m4 and configure that comes from <http://thread.gmane.org/gmane.comp.gnu.libtool.bugs/5771/focus=5776>). ------------------------------------------------------------------------ r4614 | vlefevre | 2007-07-02 12:17:08 +0000 (Mon, 02 Jul 2007) | 2 lines Changed paths: M /trunk/NEWS NEWS: mention that the shared library is now enabled by default on 2.3. ------------------------------------------------------------------------ r4610 | vlefevre | 2007-07-02 10:44:17 +0000 (Mon, 02 Jul 2007) | 2 lines Changed paths: M /trunk/README.dev README.dev: updated item 2 of "To make a release". ------------------------------------------------------------------------ r4608 | vlefevre | 2007-07-02 10:39:46 +0000 (Mon, 02 Jul 2007) | 2 lines Changed paths: M /trunk/TODO M /trunk/mpfr.texi Reformat. ------------------------------------------------------------------------ r4607 | vlefevre | 2007-07-02 00:41:32 +0000 (Mon, 02 Jul 2007) | 2 lines Changed paths: M /trunk/INSTALL M /trunk/VERSION M /trunk/configure.in M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/version.c Updated version to 2.4.0-dev. ------------------------------------------------------------------------ r4605 | vlefevre | 2007-07-02 00:32:27 +0000 (Mon, 02 Jul 2007) | 2 lines Changed paths: M /trunk/ChangeLog ChangeLog update. ------------------------------------------------------------------------ r4604 | vlefevre | 2007-07-02 00:31:13 +0000 (Mon, 02 Jul 2007) | 2 lines Changed paths: M /trunk/NEWS NEWS: update. ------------------------------------------------------------------------ r4603 | vlefevre | 2007-07-01 23:17:57 +0000 (Sun, 01 Jul 2007) | 2 lines Changed paths: M /trunk/Makefile.am Makefile.am: updated comment concerning -version-info. ------------------------------------------------------------------------ r4602 | vlefevre | 2007-07-01 23:01:10 +0000 (Sun, 01 Jul 2007) | 2 lines Changed paths: M /trunk/Makefile.am M /trunk/NEWS M /trunk/TODO A /trunk/fms.c (from /trunk/fma.c:4598) M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/tests M /trunk/tests/Makefile.am A /trunk/tests/tfms.c (from /trunk/tests/tfma.c:4601) Added mpfr_fms based on mpfr_fma. ------------------------------------------------------------------------ r4601 | vlefevre | 2007-07-01 22:45:08 +0000 (Sun, 01 Jul 2007) | 2 lines Changed paths: M /trunk/tests/tfma.c tfma.c: added a space. ------------------------------------------------------------------------ r4600 | vlefevre | 2007-07-01 22:38:39 +0000 (Sun, 01 Jul 2007) | 2 lines Changed paths: M /trunk/tests/tfma.c tfma.c: typo. ------------------------------------------------------------------------ r4599 | vlefevre | 2007-07-01 22:20:09 +0000 (Sun, 01 Jul 2007) | 2 lines Changed paths: M /trunk/tests/tfma.c Reformat. ------------------------------------------------------------------------ r4598 | vlefevre | 2007-07-01 22:14:15 +0000 (Sun, 01 Jul 2007) | 2 lines Changed paths: M /trunk/fma.c fma.c: minor changes for consistency with the future fms. ------------------------------------------------------------------------ r4597 | vlefevre | 2007-07-01 21:52:21 +0000 (Sun, 01 Jul 2007) | 5 lines Changed paths: M /trunk/BUGS M /trunk/fma.c M /trunk/tests/tfma.c Completed the implementation of mpfr_fma (except in some corner cases where overflows/underflows and huge precisions are involved at the same time). Added underflow tests. Removed item from the BUGS file (the remaining problems more or less correspond to the first item). ------------------------------------------------------------------------ r4596 | vlefevre | 2007-07-01 03:10:06 +0000 (Sun, 01 Jul 2007) | 2 lines Changed paths: M /trunk/cos.c M /trunk/sin.c M /trunk/sin_cos.c Untabified. ------------------------------------------------------------------------ r4595 | vlefevre | 2007-07-01 01:58:17 +0000 (Sun, 01 Jul 2007) | 2 lines Changed paths: M /trunk/tests/tfma.c tfma.c: added overflow test to test_underflow. ------------------------------------------------------------------------ r4594 | vlefevre | 2007-07-01 01:36:04 +0000 (Sun, 01 Jul 2007) | 3 lines Changed paths: M /trunk/fma.c M /trunk/tests/tfma.c fma.c: implemented the main cases where x * y underflows. tests/tfma.c: fixed overflow tests and added underflow tests. ------------------------------------------------------------------------ r4593 | vlefevre | 2007-06-30 02:11:43 +0000 (Sat, 30 Jun 2007) | 2 lines Changed paths: M /trunk/NEWS NEWS: update. ------------------------------------------------------------------------ r4592 | vlefevre | 2007-06-29 23:36:34 +0000 (Fri, 29 Jun 2007) | 2 lines Changed paths: M /trunk/BUGS BUGS: updated item on mpfr_fma. ------------------------------------------------------------------------ r4591 | vlefevre | 2007-06-29 23:32:29 +0000 (Fri, 29 Jun 2007) | 3 lines Changed paths: M /trunk/fma.c fma.c: completed the cases where x*y/4 needs to be used, except the very particular cases where an underflow occurs, that remain to be done. ------------------------------------------------------------------------ r4590 | vlefevre | 2007-06-29 13:35:03 +0000 (Fri, 29 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tfma.c tfma.c: fixed a printf. ------------------------------------------------------------------------ r4589 | vlefevre | 2007-06-29 13:32:20 +0000 (Fri, 29 Jun 2007) | 2 lines Changed paths: M /trunk/fma.c fma.c: added an assertion. ------------------------------------------------------------------------ r4588 | vlefevre | 2007-06-29 13:30:30 +0000 (Fri, 29 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tfma.c tfma.c: fixed overflow tests. ------------------------------------------------------------------------ r4587 | vlefevre | 2007-06-29 12:24:40 +0000 (Fri, 29 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tfma.c tfma.c: check NaN in test_overflow2. ------------------------------------------------------------------------ r4586 | vlefevre | 2007-06-29 12:19:09 +0000 (Fri, 29 Jun 2007) | 2 lines Changed paths: M /trunk/fma.c fma.c: updated a comment. ------------------------------------------------------------------------ r4585 | vlefevre | 2007-06-29 12:14:55 +0000 (Fri, 29 Jun 2007) | 3 lines Changed paths: M /trunk/tests/tfma.c tfma.c: added more overflow tests (needed to distinguish the cases where z/4 underflows or not -- see fma.c). ------------------------------------------------------------------------ r4584 | vlefevre | 2007-06-29 12:06:13 +0000 (Fri, 29 Jun 2007) | 3 lines Changed paths: M /trunk/tests/tfma.c tfma.c: added tests (-> assertion failed because mpfr_fma implementation isn't complete). ------------------------------------------------------------------------ r4583 | vlefevre | 2007-06-28 23:01:22 +0000 (Thu, 28 Jun 2007) | 4 lines Changed paths: M /trunk/BUGS M /trunk/acos.c acos.c: disabled change from r3145 ("Optimize mpfr_acos by choosing a better initial precision.") that was buggy. BUGS: removed mpfr_acos bug. ------------------------------------------------------------------------ r4582 | vlefevre | 2007-06-28 22:40:59 +0000 (Thu, 28 Jun 2007) | 2 lines Changed paths: M /trunk/BUGS BUGS: updated item on the mpfr_acos bug. ------------------------------------------------------------------------ r4581 | vlefevre | 2007-06-28 22:38:10 +0000 (Thu, 28 Jun 2007) | 4 lines Changed paths: M /trunk/BUGS BUGS: updated item on the mpfr_acos test (the bug wasn't visible on 32-bit machines due to an integer overflow, but the result should have been correct anyway). ------------------------------------------------------------------------ r4580 | vlefevre | 2007-06-28 22:27:09 +0000 (Thu, 28 Jun 2007) | 4 lines Changed paths: M /trunk/acos.c acos.c: fixed integer overflows; to avoid undefined behavior, I had to add an assertion that is not always satisfied (the code needs to be rewritten to take tiny arguments into account). ------------------------------------------------------------------------ r4579 | vlefevre | 2007-06-28 17:30:39 +0000 (Thu, 28 Jun 2007) | 2 lines Changed paths: M /trunk/BUGS BUGS: update (mpfr_cot has just been fixed). ------------------------------------------------------------------------ r4578 | vlefevre | 2007-06-28 17:29:27 +0000 (Thu, 28 Jun 2007) | 4 lines Changed paths: M /trunk/cot.c M /trunk/tests/tcot.c cot.c: implemented the case |x| = 2^emin. tests/tcot.c: added tests for this case, in 3 exponent ranges (as this is an overflow limit). ------------------------------------------------------------------------ r4577 | vlefevre | 2007-06-28 17:00:15 +0000 (Thu, 28 Jun 2007) | 3 lines Changed paths: M /trunk/div.c Fixed bug in div.c: rnd_mode could be modified (MPFR_INVERT_RND), but the original value was assumed in case of underflow or overflow. ------------------------------------------------------------------------ r4576 | vlefevre | 2007-06-28 16:40:26 +0000 (Thu, 28 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tdiv.c tdiv.c: added a test showing another bug in mpfr_div. ------------------------------------------------------------------------ r4575 | vlefevre | 2007-06-28 11:54:41 +0000 (Thu, 28 Jun 2007) | 5 lines Changed paths: M /trunk/BUGS M /trunk/cot.c cot.c: use MPFR_SAVE_EXPO_UPDATE_FLAGS, but the case +/- 2^emin could still be buggy with the current code; added a MPFR_ASSERTN (0) until it is implemented. BUGS: updated item on mpfr_cot. ------------------------------------------------------------------------ r4574 | zimmerma | 2007-06-28 07:59:28 +0000 (Thu, 28 Jun 2007) | 4 lines Changed paths: M /trunk/sin.c M /trunk/sin_cos.c M /trunk/tan.c M /trunk/tests/tcos.c M /trunk/tests/tcot.c M /trunk/tests/tcsc.c M /trunk/tests/tsec.c M /trunk/tests/tsin.c M /trunk/tests/ttan.c fixed several problems with huge arguments in periodic functions mpfr_sin: complete rewrite, using mpfr_remainder for argument reduction mpfr_sin_cos: ditto ------------------------------------------------------------------------ r4573 | zimmerma | 2007-06-25 13:29:38 +0000 (Mon, 25 Jun 2007) | 2 lines Changed paths: M /trunk/cos.c M /trunk/tests/tcos.c fixed stupid bug (subtraction of unsigned longs) ------------------------------------------------------------------------ r4572 | zimmerma | 2007-06-25 09:48:43 +0000 (Mon, 25 Jun 2007) | 3 lines Changed paths: M /trunk/cos.c M /trunk/tests/tcos.c M /trunk/tests/tgeneric.c cos.c: implemented argument reduction by 2Pi tcos.c/tgeneric.c: reduce large exponent used when MPFR_CHECK_MAX is defined ------------------------------------------------------------------------ r4571 | vlefevre | 2007-06-22 14:45:28 +0000 (Fri, 22 Jun 2007) | 2 lines Changed paths: M /trunk/BUGS BUGS: added bugs. ------------------------------------------------------------------------ r4570 | vlefevre | 2007-06-22 12:15:03 +0000 (Fri, 22 Jun 2007) | 4 lines Changed paths: M /trunk/coth.c M /trunk/sech.c M /trunk/tests/tcoth.c M /trunk/tests/tsech.c coth.c, sech.c: a rounding mode was incorrect. tests/tcoth.c: added underflowed_cothinf test. tests/tsech.c: added overflowed_sech0 test. ------------------------------------------------------------------------ r4569 | vlefevre | 2007-06-22 00:12:18 +0000 (Fri, 22 Jun 2007) | 8 lines Changed paths: M /trunk/coth.c M /trunk/csc.c M /trunk/csch.c M /trunk/gen_inverse.h M /trunk/sec.c M /trunk/tests/tsec.c * gen_inverse.h: ACTION_TINY must be called after MPFR_SAVE_EXPO_MARK (this is necessary for some functions). Moved MPFR_SAVE_EXPO_FREE after the "end:" label. * coth.c, csc.c, csch.c: as a consequence, MPFR_SAVE_EXPO_UPDATE_FLAGS had to be added before "goto end;". * sec.c: a rounding mode was incorrect. * tests/tsec.c: added overflowed_sec0 test. ------------------------------------------------------------------------ r4568 | vlefevre | 2007-06-21 23:36:19 +0000 (Thu, 21 Jun 2007) | 3 lines Changed paths: M /trunk/sin_cos.c M /trunk/tests/tsin_cos.c sin_cos.c: fixed a bug for x = 0 in reduced exponent range. tests/tsin_cos.c: added overflowed_sin_cos0 test. ------------------------------------------------------------------------ r4567 | vlefevre | 2007-06-21 14:32:14 +0000 (Thu, 21 Jun 2007) | 3 lines Changed paths: M /trunk/BUGS BUGS: Some functions do not use MPFR_SAVE_EXPO_* macros, thus do not behave correctly in a reduced exponent range. ------------------------------------------------------------------------ r4566 | vlefevre | 2007-06-21 14:28:13 +0000 (Thu, 21 Jun 2007) | 3 lines Changed paths: M /trunk/factorial.c M /trunk/tests/tfactorial.c factorial.c: a rounding mode was incorrect. tests/tfactorial.c: added overflowed_fac0 test. ------------------------------------------------------------------------ r4565 | vlefevre | 2007-06-21 14:16:17 +0000 (Thu, 21 Jun 2007) | 5 lines Changed paths: M /trunk/exp2.c M /trunk/tests/texp2.c exp2.c: use MPFR_SMALL_INPUT_AFTER_SAVE_EXPO instead of MPFR_FAST_COMPUTE_IF_SMALL_INPUT since 1 (__gmpfr_one) isn't necessarily representable. tests/texp2.c: added overflowed_exp2_0 test. ------------------------------------------------------------------------ r4564 | vlefevre | 2007-06-21 13:59:38 +0000 (Thu, 21 Jun 2007) | 3 lines Changed paths: M /trunk/exp.c M /trunk/tests/texp.c exp.c: fixed problems in reduced exponent range. tests/texp.c: added overflowed_exp0 test. ------------------------------------------------------------------------ r4563 | vlefevre | 2007-06-21 13:43:03 +0000 (Thu, 21 Jun 2007) | 2 lines Changed paths: M /trunk/exp.c exp.c bug fix: a rounding mode was incorrect. ------------------------------------------------------------------------ r4562 | vlefevre | 2007-06-21 13:40:55 +0000 (Thu, 21 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tcos.c tcos.c: fixed error message in overflowed_cos0 test. ------------------------------------------------------------------------ r4561 | vlefevre | 2007-06-21 13:38:44 +0000 (Thu, 21 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tcos.c tcos.c: removed an obsolete comment from the overflowed_cos0 test. ------------------------------------------------------------------------ r4560 | vlefevre | 2007-06-21 13:35:45 +0000 (Thu, 21 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tcos.c tcos.c: improved overflowed_cos0 test. ------------------------------------------------------------------------ r4559 | vlefevre | 2007-06-21 12:49:03 +0000 (Thu, 21 Jun 2007) | 3 lines Changed paths: M /trunk/get_str.c M /trunk/tests/tget_str.c get_str.c: use MPFR_SAVE_EXPO. tests/tget_str.c: enabled the test with a reduced exponent range. ------------------------------------------------------------------------ r4558 | vlefevre | 2007-06-21 12:13:06 +0000 (Thu, 21 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tget_str.c tget_str.c: added a test (disabled by default) with emax = 0. ------------------------------------------------------------------------ r4557 | vlefevre | 2007-06-21 11:53:16 +0000 (Thu, 21 Jun 2007) | 3 lines Changed paths: M /trunk/add1sp.c M /trunk/mul.c M /trunk/sub1sp.c M /trunk/tests/tabs.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tatan.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcos.c M /trunk/tests/tdiv.c M /trunk/tests/terf.c M /trunk/tests/texp.c M /trunk/tests/tget_str.c M /trunk/tests/tgmpop.c M /trunk/tests/tlog.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tpow_z.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsqr.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsum.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_sub.c M /trunk/tests/tzeta.c Corrected mpfr_inits, mpfr_inits2 and mpfr_clears calls with NULL argument (-> (void *) 0). ------------------------------------------------------------------------ r4556 | vlefevre | 2007-06-21 11:38:33 +0000 (Thu, 21 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tget_str.c tget_str.c: reformatted/corrected a function. ------------------------------------------------------------------------ r4555 | vlefevre | 2007-06-21 11:30:38 +0000 (Thu, 21 Jun 2007) | 4 lines Changed paths: M /trunk/tests/tacos.c M /trunk/tests/tasin.c M /trunk/tests/tatan.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/texp.c M /trunk/tests/texp2.c M /trunk/tests/tlog.c M /trunk/tests/ttanh.c Tests: when restoring the exponent range, save emin/emax first instead of using MPFR_EMIN_MIN/MPFR_EMAX_MAX (which have no longer corresponded to the default exponent range since quite a long time). ------------------------------------------------------------------------ r4554 | vlefevre | 2007-06-21 11:01:46 +0000 (Thu, 21 Jun 2007) | 2 lines Changed paths: M /trunk/BUGS BUGS: update. ------------------------------------------------------------------------ r4553 | vlefevre | 2007-06-20 13:22:49 +0000 (Wed, 20 Jun 2007) | 2 lines Changed paths: M /trunk/agm.c M /trunk/atan.c M /trunk/exp3.c M /trunk/gen_inverse.h M /trunk/jn.c M /trunk/lngamma.c M /trunk/mpfr.h M /trunk/remquo.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sqr.c M /trunk/tests/tcoth.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tremquo.c M /trunk/tests/tyn.c M /trunk/tests/tzeta_ui.c M /trunk/tuneup.c M /trunk/zeta_ui.c Untabified and removed trailing spaces. ------------------------------------------------------------------------ r4552 | vlefevre | 2007-06-20 13:12:41 +0000 (Wed, 20 Jun 2007) | 2 lines Changed paths: M /trunk/generic.c M /trunk/mpfr-gmp.h Bug fix: preprocessor # must be in the first column. ------------------------------------------------------------------------ r4551 | vlefevre | 2007-06-20 12:29:26 +0000 (Wed, 20 Jun 2007) | 2 lines Changed paths: M /trunk/remquo.c remquo.c bug fix: preprocessor # must be in the first column. ------------------------------------------------------------------------ r4550 | vlefevre | 2007-06-20 11:58:25 +0000 (Wed, 20 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tcos.c tcos.c: fixed and improved the overflowed_cos0 test. ------------------------------------------------------------------------ r4549 | vlefevre | 2007-06-20 11:38:47 +0000 (Wed, 20 Jun 2007) | 2 lines Changed paths: M /trunk/cos.c cos.c bug fix: a rounding mode was incorrect. ------------------------------------------------------------------------ r4548 | vlefevre | 2007-06-20 11:32:56 +0000 (Wed, 20 Jun 2007) | 3 lines Changed paths: M /trunk/cos.c cos.c: use MPFR_SMALL_INPUT_AFTER_SAVE_EXPO instead of MPFR_FAST_COMPUTE_IF_SMALL_INPUT. ------------------------------------------------------------------------ r4547 | vlefevre | 2007-06-20 11:27:41 +0000 (Wed, 20 Jun 2007) | 2 lines Changed paths: M /trunk/cos.c cos.c: untabified. ------------------------------------------------------------------------ r4546 | vlefevre | 2007-06-20 10:55:52 +0000 (Wed, 20 Jun 2007) | 3 lines Changed paths: M /trunk/tests/tcos.c tcos.c: added tests for x very small and emax = 0 (some of them currently fail). ------------------------------------------------------------------------ r4545 | vlefevre | 2007-06-20 10:06:56 +0000 (Wed, 20 Jun 2007) | 2 lines Changed paths: M /trunk/mpfr-impl.h Added a comment concerning the MPFR_SMALL_INPUT_AFTER_SAVE_EXPO macro. ------------------------------------------------------------------------ r4544 | vlefevre | 2007-06-20 10:03:03 +0000 (Wed, 20 Jun 2007) | 3 lines Changed paths: M /trunk/expm1.c M /trunk/mpfr-impl.h Added MPFR_SMALL_INPUT_AFTER_SAVE_EXPO macro; updated expm1.c to use this variant (and moved MPFR_SAVE_EXPO_MARK after the test ex < 0). ------------------------------------------------------------------------ r4543 | vlefevre | 2007-06-19 15:17:21 +0000 (Tue, 19 Jun 2007) | 2 lines Changed paths: M /trunk/mpfr.texi Documented log(-0). ------------------------------------------------------------------------ r4542 | vlefevre | 2007-06-19 15:11:21 +0000 (Tue, 19 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c Added a few tests of log functions. ------------------------------------------------------------------------ r4541 | vlefevre | 2007-06-18 13:01:03 +0000 (Mon, 18 Jun 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated Section "Floating-Point Values on Special Numbers". ------------------------------------------------------------------------ r4540 | vlefevre | 2007-06-12 10:54:06 +0000 (Tue, 12 Jun 2007) | 2 lines Changed paths: M /trunk/TODO TODO: allow generic tests to run with a restricted exponent range. ------------------------------------------------------------------------ r4539 | vlefevre | 2007-06-12 10:51:17 +0000 (Tue, 12 Jun 2007) | 4 lines Changed paths: M /trunk/expm1.c expm1.c: fixed bug for x = -max_value due to an intermediate overflow (flags were incorrect); at the same time, potential problems due to a restricted exponent range are also fixed. ------------------------------------------------------------------------ r4538 | vlefevre | 2007-06-12 09:17:33 +0000 (Tue, 12 Jun 2007) | 3 lines Changed paths: M /trunk/tests/tgeneric.c tgeneric.c: check the function on large arguments (±maximum_value) when the MPFR_CHECK_MAX environment variable is defined. ------------------------------------------------------------------------ r4537 | vlefevre | 2007-06-11 13:40:14 +0000 (Mon, 11 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tlgamma.c tests/tlgamma.c: re-enabled sign checking. ------------------------------------------------------------------------ r4536 | zimmerma | 2007-06-11 09:30:08 +0000 (Mon, 11 Jun 2007) | 3 lines Changed paths: M /trunk/lngamma.c M /trunk/tests/tlgamma.c fixed problem with mpfr_lgamma for tiny negative input (and fixed use of generic test) ------------------------------------------------------------------------ r4535 | vlefevre | 2007-06-05 20:50:07 +0000 (Tue, 05 Jun 2007) | 3 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] Small change in new Section "Floating-Point Values on Special Numbers" (suggested by Paul). ------------------------------------------------------------------------ r4534 | zimmerma | 2007-06-05 19:41:43 +0000 (Tue, 05 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tzeta.c M /trunk/zeta.c fixed bug for tiny negative input (and added corresponding test) ------------------------------------------------------------------------ r4533 | vlefevre | 2007-06-05 11:06:57 +0000 (Tue, 05 Jun 2007) | 2 lines Changed paths: M /trunk/algorithms.tex algorithms.tex: Mulder -> Mulders. ------------------------------------------------------------------------ r4532 | zimmerma | 2007-06-04 11:26:10 +0000 (Mon, 04 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tdiv.c added test for "Witty's bug" on 64-bit machines ------------------------------------------------------------------------ r4531 | vlefevre | 2007-06-04 11:19:33 +0000 (Mon, 04 Jun 2007) | 2 lines Changed paths: M /trunk/div.c div.c: GNU coding style. ------------------------------------------------------------------------ r4530 | zimmerma | 2007-06-04 11:04:30 +0000 (Mon, 04 Jun 2007) | 3 lines Changed paths: M /trunk/div.c M /trunk/tests/tdiv.c tdiv.c: added missing mpfr_clear's, and spaces before function calls div.c: fixed bug found by Carl Witty, and added more comments ------------------------------------------------------------------------ r4529 | vlefevre | 2007-06-04 10:55:47 +0000 (Mon, 04 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tdiv.c tdiv.c: oops... the result should be 1. ------------------------------------------------------------------------ r4528 | vlefevre | 2007-06-04 10:50:42 +0000 (Mon, 04 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tdiv.c tdiv.c: added test from Carl Witty's bug report on 2007-06-03. ------------------------------------------------------------------------ r4527 | vlefevre | 2007-06-01 13:48:35 +0000 (Fri, 01 Jun 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated Section "Floating-Point Values on Special Numbers". ------------------------------------------------------------------------ r4526 | vlefevre | 2007-06-01 13:31:14 +0000 (Fri, 01 Jun 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated Section "Floating-Point Values on Special Numbers". ------------------------------------------------------------------------ r4525 | vlefevre | 2007-06-01 13:29:33 +0000 (Fri, 01 Jun 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated month. ------------------------------------------------------------------------ r4524 | vlefevre | 2007-06-01 13:01:20 +0000 (Fri, 01 Jun 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: added @: after "resp." (when it was missing). ------------------------------------------------------------------------ r4523 | vlefevre | 2007-05-31 15:51:37 +0000 (Thu, 31 May 2007) | 2 lines Changed paths: M /trunk/mpfr.texi Started a new section "Floating-Point Values on Special Numbers". ------------------------------------------------------------------------ r4522 | vlefevre | 2007-05-31 15:47:00 +0000 (Thu, 31 May 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: inf -> Inf for consistency. ------------------------------------------------------------------------ r4521 | vlefevre | 2007-05-31 15:05:19 +0000 (Thu, 31 May 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi @deftypefun correction: void * -> {void *} (for the PDF). ------------------------------------------------------------------------ r4520 | vlefevre | 2007-05-31 15:02:11 +0000 (Thu, 31 May 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: consistency changes in section titles; made titles unique. ------------------------------------------------------------------------ r4519 | vlefevre | 2007-05-31 12:16:06 +0000 (Thu, 31 May 2007) | 2 lines Changed paths: M /trunk/set_d64.c set_d64.c: replaced an "if" by a "#if" to avoid a gcc warning. ------------------------------------------------------------------------ r4518 | vlefevre | 2007-05-31 12:11:03 +0000 (Thu, 31 May 2007) | 4 lines Changed paths: M /trunk/get_d64.c M /trunk/set_d64.c get_d64.c: use BITS_PER_MP_LIMB instead of GMP_BITS_PER_LIMB (which does not seem to exist). set_d64.c: use BITS_PER_MP_LIMB instead of mp_bits_per_limb. ------------------------------------------------------------------------ r4517 | vlefevre | 2007-05-31 11:50:08 +0000 (Thu, 31 May 2007) | 2 lines Changed paths: M /trunk/get_d64.c M /trunk/set_d64.c get_d64.c, set_d64.c: improved code to avoid some warnings. ------------------------------------------------------------------------ r4516 | vlefevre | 2007-05-31 11:39:23 +0000 (Thu, 31 May 2007) | 2 lines Changed paths: M /trunk/get_d64.c M /trunk/set_d64.c Untabified get_d64.c and set_d64.c. ------------------------------------------------------------------------ r4515 | vlefevre | 2007-05-31 11:33:55 +0000 (Thu, 31 May 2007) | 2 lines Changed paths: M /trunk/get_d64.c get_d64.c: added missing #include. ------------------------------------------------------------------------ r4514 | vlefevre | 2007-05-31 09:20:43 +0000 (Thu, 31 May 2007) | 2 lines Changed paths: M /trunk/BUGS BUGS: update. ------------------------------------------------------------------------ r4513 | vlefevre | 2007-05-31 09:16:38 +0000 (Thu, 31 May 2007) | 2 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: improved error message when thread safe is not supported. ------------------------------------------------------------------------ r4512 | vlefevre | 2007-05-30 15:27:10 +0000 (Wed, 30 May 2007) | 3 lines Changed paths: M /trunk/INSTALL INSTALL: say that relative paths in configure options are not supported (autoconf doesn't seem to have support for them). ------------------------------------------------------------------------ r4511 | vlefevre | 2007-05-30 12:04:22 +0000 (Wed, 30 May 2007) | 3 lines Changed paths: M /trunk/TODO M /trunk/mpfr.texi M /trunk/tests/tsgn.c Documented the new behavior of mpfr_sgn (in fact, it was already partly required by the tsgn.c tests!) and added new mpfr_sgn tests. ------------------------------------------------------------------------ r4510 | vlefevre | 2007-05-30 11:21:32 +0000 (Wed, 30 May 2007) | 2 lines Changed paths: M /trunk/TODO TODO: added an item about the behavior of mpfr_sgn on NaN. ------------------------------------------------------------------------ r4509 | vlefevre | 2007-05-30 11:13:23 +0000 (Wed, 30 May 2007) | 3 lines Changed paths: M /trunk/tests/tgeneric.c tgeneric.c: no longer check the MPFR_CHECK_TINY environment variable as all the bugs related to tiny arguments have been fixed. ------------------------------------------------------------------------ r4508 | vlefevre | 2007-05-30 10:17:09 +0000 (Wed, 30 May 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: corrections following the remarks by Nathalie Revol. ------------------------------------------------------------------------ r4507 | vlefevre | 2007-05-29 23:11:06 +0000 (Tue, 29 May 2007) | 2 lines Changed paths: M /trunk/yn.c yn.c: untabify. ------------------------------------------------------------------------ r4506 | zimmerma | 2007-05-29 22:02:35 +0000 (Tue, 29 May 2007) | 2 lines Changed paths: M /trunk/yn.c fix for small inputs in y1 ------------------------------------------------------------------------ r4505 | vlefevre | 2007-05-29 21:31:22 +0000 (Tue, 29 May 2007) | 4 lines Changed paths: M /trunk/erf.c M /trunk/lngamma.c M /trunk/mpfr-impl.h Defined new macros SIGN and SAME_SIGN in mpfr-impl.h to canonicalize the ternary value and to compare such values. Use SAME_SIGN in erf.c and lngamma.c. ------------------------------------------------------------------------ r4504 | zimmerma | 2007-05-29 21:04:57 +0000 (Tue, 29 May 2007) | 2 lines Changed paths: M /trunk/yn.c fixed problem of tiny arguments for y0 ------------------------------------------------------------------------ r4503 | zimmerma | 2007-05-29 16:44:02 +0000 (Tue, 29 May 2007) | 4 lines Changed paths: M /trunk/erf.c M /trunk/lngamma.c lngamma.c: fixed problem of tiny inputs in lngamma (still remains lgamma to deal with) erf.c: small correction (inexact flags might have been inexact :-) ------------------------------------------------------------------------ r4502 | zimmerma | 2007-05-29 12:24:20 +0000 (Tue, 29 May 2007) | 2 lines Changed paths: M /trunk/csch.c M /trunk/jn.c fixed tiny input problem with csch, j0, j1 ------------------------------------------------------------------------ r4501 | zimmerma | 2007-05-29 10:09:00 +0000 (Tue, 29 May 2007) | 2 lines Changed paths: M /trunk/cot.c added special code for tiny inputs ------------------------------------------------------------------------ r4500 | vlefevre | 2007-05-29 09:52:12 +0000 (Tue, 29 May 2007) | 2 lines Changed paths: M /trunk/tests/tgeneric_ui.c tgeneric_ui.c: no longer check the MPFR_CHECK_TINY environment variable. ------------------------------------------------------------------------ r4499 | vlefevre | 2007-05-29 09:33:56 +0000 (Tue, 29 May 2007) | 2 lines Changed paths: M /trunk/erf.c erf.c: removed workaround to mpfr_div_ui bug, as the bug is now fixed. ------------------------------------------------------------------------ r4498 | vlefevre | 2007-05-29 09:29:02 +0000 (Tue, 29 May 2007) | 5 lines Changed paths: M /trunk/div_ui.c div_ui.c: * Cleaned up the use of the sh variable (there was a useless sh = 0, so I'm not sure that there isn't a bug...). * Added underflow check. ------------------------------------------------------------------------ r4497 | vlefevre | 2007-05-29 08:48:49 +0000 (Tue, 29 May 2007) | 4 lines Changed paths: M /trunk/tests/tgeneric_ui.c Added check of tiny arguments to tgeneric_ui.c (if MPFR_CHECK_TINY is defined, like in tgeneric.c); mpfr_div_ui currently fails due to the lack of underflow checking. ------------------------------------------------------------------------ r4496 | zimmerma | 2007-05-29 08:12:30 +0000 (Tue, 29 May 2007) | 5 lines Changed paths: M /trunk/README.dev M /trunk/erf.c README.dev: fixed typo erf.c: implemented special case for tiny x, and partially get rid of double usage implemented ------------------------------------------------------------------------ r4495 | vlefevre | 2007-05-28 23:11:56 +0000 (Mon, 28 May 2007) | 4 lines Changed paths: M /trunk/README.dev M /trunk/cos.c M /trunk/exp2.c M /trunk/gamma.c M /trunk/gen_inverse.h M /trunk/sinh.c MPFR_RET (mpfr_check_range (...)) -> return mpfr_check_range (...) as mpfr_check_range already handles the inexact flag. Reformatting (removed trailing spaces, untabified). ------------------------------------------------------------------------ r4494 | zimmerma | 2007-05-28 21:51:11 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/sech.c fixed problem of tiny input ------------------------------------------------------------------------ r4493 | zimmerma | 2007-05-28 21:44:37 +0000 (Mon, 28 May 2007) | 3 lines Changed paths: M /trunk/coth.c M /trunk/csc.c fixed problem of tiny input for coth (and new fix again for csc, which takes into account the sign of the input) ------------------------------------------------------------------------ r4492 | zimmerma | 2007-05-28 21:23:23 +0000 (Mon, 28 May 2007) | 3 lines Changed paths: M /trunk/csc.c M /trunk/gen_inverse.h M /trunk/sec.c fixed problem of tiny inputs in mpfr_sec and mpfr_csc, by adding a SPECIAL_TINY macro in gen_inverse.h ------------------------------------------------------------------------ r4491 | zimmerma | 2007-05-28 20:56:41 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/tests/tzeta.c M /trunk/zeta.c the test for the tiny input case was too optimistic: fixed and added test. ------------------------------------------------------------------------ r4490 | zimmerma | 2007-05-28 20:24:23 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/zeta.c fixed case of tiny input ------------------------------------------------------------------------ r4489 | zimmerma | 2007-05-28 19:54:27 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/gamma.c fixed problem for tiny arguments ------------------------------------------------------------------------ r4488 | zimmerma | 2007-05-28 18:33:26 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/cosh.c added MPFR_FAST_COMPUTE_IF_SMALL_INPUT call ------------------------------------------------------------------------ r4487 | zimmerma | 2007-05-28 18:19:08 +0000 (Mon, 28 May 2007) | 3 lines Changed paths: M /trunk/mpfr-impl.h M /trunk/round_near_x.c changed 1st-order Taylor term from x to v to avoid confusion with the argument x of the function f(x), and fixed some typos ------------------------------------------------------------------------ r4486 | zimmerma | 2007-05-28 17:15:11 +0000 (Mon, 28 May 2007) | 3 lines Changed paths: M /trunk/exp2.c fixed direction of rounding for MPFR_FAST_COMPUTE_IF_SMALL_INPUT (was wrong for x < 0) ------------------------------------------------------------------------ r4485 | zimmerma | 2007-05-28 17:02:57 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/strtofr.c fixed typo ------------------------------------------------------------------------ r4484 | zimmerma | 2007-05-28 16:19:06 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/exp2.c M /trunk/tests/texp2.c added call to MPFR_FAST_COMPUTE_IF_SMALL_INPUT in exp2 ------------------------------------------------------------------------ r4483 | zimmerma | 2007-05-28 15:51:00 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/nightly-test re-enabled MPFR_CHECK_TINY ------------------------------------------------------------------------ r4482 | zimmerma | 2007-05-28 15:34:10 +0000 (Mon, 28 May 2007) | 3 lines Changed paths: M /trunk/configure.in M /trunk/mpfr.texi improved documentation of mpfr_set/get_decimal64 functions fixed problem in configure.in (_Decimal64 was tested too early) ------------------------------------------------------------------------ r4481 | vlefevre | 2007-05-28 15:17:44 +0000 (Mon, 28 May 2007) | 3 lines Changed paths: M /trunk/tests/tests.c tests/tests.c: fixed two bugs concerning the timeout (including an old one: we need to call getrlimit to initialize rlim_max). ------------------------------------------------------------------------ r4480 | zimmerma | 2007-05-28 15:07:05 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/nightly-test new syntax for timeouts ------------------------------------------------------------------------ r4479 | zimmerma | 2007-05-28 15:06:30 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/mpfr-impl.h fixed typo ------------------------------------------------------------------------ r4478 | vlefevre | 2007-05-28 13:57:32 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk Added mkinstalldirs to svn:ignore property. ------------------------------------------------------------------------ r4477 | vlefevre | 2007-05-28 13:56:33 +0000 (Mon, 28 May 2007) | 5 lines Changed paths: M /trunk/configure.in M /trunk/tests/tests.c Changed --with-tests-timeout into --enable-tests-timeout as documented in the autoconf manual (--with-* are for external packages only). When this is enabled, environment variable MPFR_TESTS_TIMEOUT allows to override the default timeout (use the value 0 to disable timeouts). ------------------------------------------------------------------------ r4476 | vlefevre | 2007-05-28 11:29:45 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/NEWS Updated NEWS file. ------------------------------------------------------------------------ r4475 | vlefevre | 2007-05-28 11:04:00 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: small improvement. ------------------------------------------------------------------------ r4474 | vlefevre | 2007-05-28 10:37:07 +0000 (Mon, 28 May 2007) | 3 lines Changed paths: M /trunk/mpfr.h M /trunk/sgn.c M /trunk/tests/tcmp_ui.c Fixed a bug in the mpfr_cmp_ui macro occurring on NaN and the constant 0 by specifying the behavior of mpfr_sgn on NaN. ------------------------------------------------------------------------ r4473 | vlefevre | 2007-05-28 09:26:07 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: typography corrections concerning "i.e.". ------------------------------------------------------------------------ r4472 | vlefevre | 2007-05-28 09:17:37 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: consistency changes. ------------------------------------------------------------------------ r4471 | vlefevre | 2007-05-28 09:11:39 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: more details in Section "Exceptions". ------------------------------------------------------------------------ r4470 | vlefevre | 2007-05-28 02:12:05 +0000 (Mon, 28 May 2007) | 3 lines Changed paths: M /trunk/tests/tgeneric.c tgeneric.c: check the function on tiny arguments (±2^(emin-1)) when the MPFR_CHECK_TINY environment variable is defined. ------------------------------------------------------------------------ r4469 | vlefevre | 2007-05-28 00:54:09 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/TODO Typo. ------------------------------------------------------------------------ r4468 | vlefevre | 2007-05-28 00:27:16 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/BUGS M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atanh.c M /trunk/cos.c M /trunk/erfc.c M /trunk/expm1.c M /trunk/log1p.c M /trunk/mpfr-impl.h M /trunk/round_near_x.c M /trunk/sin.c M /trunk/sinh.c M /trunk/tan.c M /trunk/tanh.c M /trunk/zeta.c Avoid integer overflow in MPFR_FAST_COMPUTE_IF_SMALL_INPUT. ------------------------------------------------------------------------ r4467 | zimmerma | 2007-05-25 21:03:43 +0000 (Fri, 25 May 2007) | 3 lines Changed paths: M /trunk/remquo.c M /trunk/tests/tremquo.c completed implementation of Vincent's algorithm for mpfr_remquo all tests now pass again ------------------------------------------------------------------------ r4466 | zimmerma | 2007-05-24 21:45:25 +0000 (Thu, 24 May 2007) | 3 lines Changed paths: M /trunk/remquo.c new version of mpfr_remainder, using Vincent's algorithm (still remains to deal with special arguments, and make mpfr_remquo call it) ------------------------------------------------------------------------ r4465 | zimmerma | 2007-05-23 22:09:57 +0000 (Wed, 23 May 2007) | 2 lines Changed paths: M /trunk/TODO added note about fms ------------------------------------------------------------------------ r4464 | zimmerma | 2007-05-23 21:55:55 +0000 (Wed, 23 May 2007) | 2 lines Changed paths: M /trunk/fma.c fixed typo ------------------------------------------------------------------------ r4463 | zimmerma | 2007-05-23 21:26:14 +0000 (Wed, 23 May 2007) | 2 lines Changed paths: M /trunk/gamma.c M /trunk/tests/tgamma.c fixed problem for x integer and rounding to nearest ------------------------------------------------------------------------ r4462 | zimmerma | 2007-05-23 18:33:35 +0000 (Wed, 23 May 2007) | 2 lines Changed paths: M /trunk/sin.c workaround for bug when x is very small (check_tiny in tsin) ------------------------------------------------------------------------ r4461 | vlefevre | 2007-05-22 12:06:00 +0000 (Tue, 22 May 2007) | 2 lines Changed paths: M /trunk/BUGS Updated BUGS (again). ------------------------------------------------------------------------ r4460 | vlefevre | 2007-05-22 11:50:06 +0000 (Tue, 22 May 2007) | 3 lines Changed paths: M /trunk/BUGS M /trunk/TODO Updated BUGS and TODO (mpfr_lgamma has been implemented, but see BUGS, and gamma(-integer) with integer >= 1 is defined as NaN). ------------------------------------------------------------------------ r4459 | vlefevre | 2007-05-22 08:41:00 +0000 (Tue, 22 May 2007) | 2 lines Changed paths: M /trunk/tests/tsin.c tsin.c: check sin on +/- 2^(emin-1) (test by Christopher Creutzig). ------------------------------------------------------------------------ r4458 | vlefevre | 2007-05-22 08:25:20 +0000 (Tue, 22 May 2007) | 3 lines Changed paths: M /trunk/tests/tgamma.c tgamma.c: added test of gamma on some integral values (from Christopher Creutzig); this test is enabled only when an argument is provided. ------------------------------------------------------------------------ r4457 | vlefevre | 2007-05-22 00:29:16 +0000 (Tue, 22 May 2007) | 2 lines Changed paths: M /trunk/fma.c fma.c: improved comments and simplified the code. ------------------------------------------------------------------------ r4456 | vlefevre | 2007-05-22 00:11:18 +0000 (Tue, 22 May 2007) | 5 lines Changed paths: M /trunk/fma.c fma.c: implemented exponent range expansion and the main part when the multiplication overflows. The following remains to do: * when the multiplication overflows: some corner cases; * when the multiplication underflows: everything. ------------------------------------------------------------------------ r4455 | vlefevre | 2007-05-21 11:52:33 +0000 (Mon, 21 May 2007) | 3 lines Changed paths: M /trunk/tests/tlgamma.c tlgamma.c: I re-enable the generic tests of mpfr_lgamma now, to make sure that it is fixed before the 2.3.0 release candidate. ------------------------------------------------------------------------ r4454 | vlefevre | 2007-05-21 11:49:41 +0000 (Mon, 21 May 2007) | 2 lines Changed paths: M /trunk/tests/tfma.c tfma.c: added an overflow test (currently fails). ------------------------------------------------------------------------ r4453 | vlefevre | 2007-05-21 08:44:22 +0000 (Mon, 21 May 2007) | 2 lines Changed paths: M /trunk/tests/tfma.c tfma.c: whitespace change. ------------------------------------------------------------------------ r4452 | vlefevre | 2007-05-21 08:43:41 +0000 (Mon, 21 May 2007) | 2 lines Changed paths: M /trunk/tests/tfma.c tfma.c: added tests on special and exact values. ------------------------------------------------------------------------ r4451 | zimmerma | 2007-05-17 22:05:42 +0000 (Thu, 17 May 2007) | 3 lines Changed paths: M /trunk/TODO M /trunk/lngamma.c fixed error analysis in mpfr_lngamma added mpfr_inp_raw/mpfr_out_raw in TODO ------------------------------------------------------------------------ r4450 | vlefevre | 2007-05-16 14:52:57 +0000 (Wed, 16 May 2007) | 2 lines Changed paths: M /trunk/TODO TODO: fixed mpfr_fms formula to match the one on Itanium and PowerPC. ------------------------------------------------------------------------ r4449 | vlefevre | 2007-05-07 09:01:39 +0000 (Mon, 07 May 2007) | 2 lines Changed paths: M /trunk/algorithms.tex algorithms.tex: improved the description of mpfr_remquo. ------------------------------------------------------------------------ r4448 | zimmerma | 2007-05-06 13:25:55 +0000 (Sun, 06 May 2007) | 2 lines Changed paths: M /trunk/algorithms.tex improved description of remainder and remquo ------------------------------------------------------------------------ r4447 | vlefevre | 2007-05-06 11:16:12 +0000 (Sun, 06 May 2007) | 2 lines Changed paths: M /trunk/algorithms.tex My latest change was not completely correct... ------------------------------------------------------------------------ r4446 | vlefevre | 2007-05-06 11:13:41 +0000 (Sun, 06 May 2007) | 2 lines Changed paths: M /trunk/algorithms.tex Updated description of algorithm for mpfr_remainder. ------------------------------------------------------------------------ r4445 | zimmerma | 2007-05-06 08:18:50 +0000 (Sun, 06 May 2007) | 2 lines Changed paths: M /trunk/algorithms.tex added description of algorithm for mpfr_remainder ------------------------------------------------------------------------ r4444 | vlefevre | 2007-05-04 14:25:31 +0000 (Fri, 04 May 2007) | 2 lines Changed paths: M /trunk/remquo.c remquo.c: suggest to use mpz_powm. ------------------------------------------------------------------------ r4443 | vlefevre | 2007-05-04 13:19:27 +0000 (Fri, 04 May 2007) | 3 lines Changed paths: M /trunk/remquo.c remquo.c: added a comment (idea to compute the remainder much more efficiently in the case x much larger than y). ------------------------------------------------------------------------ r4442 | zimmerma | 2007-05-04 12:45:36 +0000 (Fri, 04 May 2007) | 2 lines Changed paths: M /trunk/remquo.c added assert and ideas for native implementation ------------------------------------------------------------------------ r4441 | zimmerma | 2007-05-04 06:27:38 +0000 (Fri, 04 May 2007) | 2 lines Changed paths: M /trunk/tests/tremquo.c put back test (disabled for test) ------------------------------------------------------------------------ r4440 | zimmerma | 2007-05-04 06:26:56 +0000 (Fri, 04 May 2007) | 2 lines Changed paths: M /trunk/remquo.c M /trunk/tests/tremquo.c fixed problem when rem and x are the same variable ------------------------------------------------------------------------ r4439 | vlefevre | 2007-05-04 00:36:01 +0000 (Fri, 04 May 2007) | 2 lines Changed paths: M /trunk/tests/tremquo.c tremquo.c: added a test that leads to a segmentation fault. ------------------------------------------------------------------------ r4438 | vlefevre | 2007-05-04 00:29:47 +0000 (Fri, 04 May 2007) | 2 lines Changed paths: M /trunk/tests/tremquo.c tremquo.c: fixed tests (= -> ==). ------------------------------------------------------------------------ r4437 | zimmerma | 2007-05-03 20:07:20 +0000 (Thu, 03 May 2007) | 4 lines Changed paths: M /trunk/mpfr.texi M /trunk/remquo.c M /trunk/tests/tremquo.c fixed two issues found by Kaveh Ghazi: * remainder was wrong for |x/y| < 1 * remainder had wrong sign when zero ------------------------------------------------------------------------ r4436 | zimmerma | 2007-05-03 15:56:03 +0000 (Thu, 03 May 2007) | 2 lines Changed paths: M /trunk/lngamma.c more details of error analysis ------------------------------------------------------------------------ r4435 | vlefevre | 2007-05-03 13:30:34 +0000 (Thu, 03 May 2007) | 2 lines Changed paths: M /trunk/tests Updated svn:ignore property. ------------------------------------------------------------------------ r4434 | vlefevre | 2007-05-03 13:28:31 +0000 (Thu, 03 May 2007) | 2 lines Changed paths: M /trunk Updated svn:ignore property. ------------------------------------------------------------------------ r4433 | zimmerma | 2007-05-03 13:16:34 +0000 (Thu, 03 May 2007) | 2 lines Changed paths: M /trunk/tests/tremquo.c fixed precision for command-line usage ------------------------------------------------------------------------ r4432 | vlefevre | 2007-05-03 13:15:49 +0000 (Thu, 03 May 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: added mpfr_lgamma. ------------------------------------------------------------------------ r4431 | zimmerma | 2007-05-03 13:10:31 +0000 (Thu, 03 May 2007) | 2 lines Changed paths: M /trunk/tests/tremquo.c added code to use tremquo with command-line arguments (tremquo x y) ------------------------------------------------------------------------ r4430 | vlefevre | 2007-05-02 16:03:52 +0000 (Wed, 02 May 2007) | 2 lines Changed paths: M /trunk/configure.in configure.in: improved comment. ------------------------------------------------------------------------ r4429 | vlefevre | 2007-05-02 15:52:51 +0000 (Wed, 02 May 2007) | 4 lines Changed paths: M /trunk/configure.in configure.in: added a comment on the AC_ARG_ENABLE(decimal-float...) part. The addition of this code was the cause of the test_CFLAGS problem (see r4425 log), but this code is still wrong. ------------------------------------------------------------------------ r4428 | zimmerma | 2007-05-02 15:41:18 +0000 (Wed, 02 May 2007) | 2 lines Changed paths: M /trunk/tests/tremquo.c modified test (2147483648 is not representable as 32-bit long in C90) ------------------------------------------------------------------------ r4427 | vlefevre | 2007-05-02 15:20:50 +0000 (Wed, 02 May 2007) | 2 lines Changed paths: M /trunk/remquo.c M /trunk/yn.c Removed unused variables. ------------------------------------------------------------------------ r4426 | vlefevre | 2007-05-02 15:18:18 +0000 (Wed, 02 May 2007) | 4 lines Changed paths: M /trunk/get_str.c get_str.c: * Removed useless prototype declaration (function no longer defined). * Fixed initializer. ------------------------------------------------------------------------ r4425 | vlefevre | 2007-05-02 15:14:44 +0000 (Wed, 02 May 2007) | 4 lines Changed paths: M /trunk/configure.in configure.in: moved the definition of test_CFLAGS upward (it was always set to "set", either because of things added to configure.in or because of new autoconf). ------------------------------------------------------------------------ r4424 | vlefevre | 2007-05-02 14:54:47 +0000 (Wed, 02 May 2007) | 2 lines Changed paths: M /trunk/mpfr.h mpfr.h: added mpfr_lgamma prototype. ------------------------------------------------------------------------ r4423 | zimmerma | 2007-05-02 14:23:11 +0000 (Wed, 02 May 2007) | 3 lines Changed paths: M /trunk/NEWS M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/remquo.c M /trunk/tests/tremquo.c argument quo of remquo is now a pointer to long instead of int added new functions in NEWS ------------------------------------------------------------------------ r4422 | zimmerma | 2007-05-02 12:21:24 +0000 (Wed, 02 May 2007) | 2 lines Changed paths: M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/remquo.c M /trunk/tests/tremquo.c changed order of arguments: now mpfr_remquo (r, q, x, y, rnd). ------------------------------------------------------------------------ r4421 | vlefevre | 2007-05-02 11:53:58 +0000 (Wed, 02 May 2007) | 2 lines Changed paths: M /trunk/remquo.c remquo.c: fixed variable name for MPFR_LOG_FUNC. ------------------------------------------------------------------------ r4420 | zimmerma | 2007-05-02 10:12:11 +0000 (Wed, 02 May 2007) | 2 lines Changed paths: M /trunk/Makefile.am M /trunk/TODO M /trunk/mpfr.h M /trunk/mpfr.texi A /trunk/remquo.c M /trunk/tests/Makefile.am A /trunk/tests/tremquo.c added mpfr_remquo and mpfr_remainder ------------------------------------------------------------------------ r4419 | zimmerma | 2007-04-27 12:48:01 +0000 (Fri, 27 Apr 2007) | 2 lines Changed paths: M /trunk/lngamma.c fixed error analysis (error was over-estimated) ------------------------------------------------------------------------ r4418 | vlefevre | 2007-04-26 10:12:51 +0000 (Thu, 26 Apr 2007) | 2 lines Changed paths: M /trunk/lngamma.c lngamma.c: a bit more details in the error analysis for z0 < 1. ------------------------------------------------------------------------ r4417 | vlefevre | 2007-04-26 09:20:37 +0000 (Thu, 26 Apr 2007) | 2 lines Changed paths: M /trunk/lngamma.c lngamma.c: a bit more details in the error analysis for z0 < 1. ------------------------------------------------------------------------ r4416 | zimmerma | 2007-04-26 08:26:39 +0000 (Thu, 26 Apr 2007) | 2 lines Changed paths: M /trunk/lngamma.c u was used for two different meanings in the error analysis for z0 < 1 ------------------------------------------------------------------------ r4415 | vlefevre | 2007-04-25 12:52:09 +0000 (Wed, 25 Apr 2007) | 2 lines Changed paths: M /trunk/get_d64.c M /trunk/jn.c M /trunk/set_d64.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tinternals.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/yn.c Updated Subversion properties on .c files (now consistent). ------------------------------------------------------------------------ r4414 | vlefevre | 2007-04-25 12:49:47 +0000 (Wed, 25 Apr 2007) | 2 lines Changed paths: M /trunk/tests Updated svn:ignore property. ------------------------------------------------------------------------ r4413 | vlefevre | 2007-04-25 12:48:05 +0000 (Wed, 25 Apr 2007) | 4 lines Changed paths: M /trunk/lngamma.c M /trunk/tests/Makefile.am A /trunk/tests/tlgamma.c M /trunk/tests/tlngamma.c Added preliminary support for mpfr_lngamma and tests. TODO: add support for negative numbers with small exponent. Re-enable the generic tests when this is done. ------------------------------------------------------------------------ r4412 | vlefevre | 2007-04-25 10:58:14 +0000 (Wed, 25 Apr 2007) | 3 lines Changed paths: M /trunk/lngamma.c lngamma.c: There was an assertion failed, probably because the error was too large; fixed that by restarting with a larger precision. ------------------------------------------------------------------------ r4411 | vlefevre | 2007-04-25 10:51:03 +0000 (Wed, 25 Apr 2007) | 2 lines Changed paths: M /trunk/lngamma.c lngamma.c: fixed -2k-1 <= x <= -2k test. ------------------------------------------------------------------------ r4410 | vlefevre | 2007-04-25 09:07:03 +0000 (Wed, 25 Apr 2007) | 3 lines Changed paths: M /trunk/tests/tlngamma.c tests/tlngamma.c: added a test showing a bug in lngamma (due to the use of mpfr_get_si even when the number doesn't fit in a long). ------------------------------------------------------------------------ r4409 | zimmerma | 2007-04-22 08:58:35 +0000 (Sun, 22 Apr 2007) | 2 lines Changed paths: M /trunk/jn.c M /trunk/tests/tjn.c fixed bug for negative even index in mpfr_jn (wrong sign) ------------------------------------------------------------------------ r4408 | zimmerma | 2007-04-12 12:16:04 +0000 (Thu, 12 Apr 2007) | 2 lines Changed paths: M /trunk/README.dev added warning ------------------------------------------------------------------------ r4407 | zimmerma | 2007-04-12 08:24:19 +0000 (Thu, 12 Apr 2007) | 2 lines Changed paths: M /trunk/README.dev added Bit Twiddling Hacks ------------------------------------------------------------------------ r4406 | vlefevre | 2007-04-05 12:01:07 +0000 (Thu, 05 Apr 2007) | 3 lines Changed paths: M /trunk/mpfr.texi MPFR manual: added a brief description of mpfr_t (this may be needed to write correct code) and mpfr_ptr (used by mpfr_sum). ------------------------------------------------------------------------ r4405 | vlefevre | 2007-04-02 15:32:00 +0000 (Mon, 02 Apr 2007) | 4 lines Changed paths: M /trunk/jn.c M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/tests/tjn.c M /trunk/tests/tyn.c M /trunk/yn.c Changed mpfr_{jn,yn}_si (mpfr_t res, mpfr_t x, long n, ...) into mpfr_{jn,yn} (mpfr_t res, long n, mpfr_t x, ...), as discussed by mail; fixed a typo in mpfr.texi in mpfr_{y0,y1,yn} description. ------------------------------------------------------------------------ r4404 | zimmerma | 2007-03-31 21:23:00 +0000 (Sat, 31 Mar 2007) | 2 lines Changed paths: M /trunk/TODO added url of GSL manual ------------------------------------------------------------------------ r4403 | zimmerma | 2007-03-31 21:15:26 +0000 (Sat, 31 Mar 2007) | 2 lines Changed paths: M /trunk/TODO fixed misunderstanding about definition of Bessel functions ------------------------------------------------------------------------ r4402 | zimmerma | 2007-03-31 17:59:23 +0000 (Sat, 31 Mar 2007) | 2 lines Changed paths: M /trunk/TODO removed Bessel functions J_n and Y_n ------------------------------------------------------------------------ r4401 | zimmerma | 2007-03-31 14:01:00 +0000 (Sat, 31 Mar 2007) | 2 lines Changed paths: M /trunk/Makefile.am M /trunk/algorithms.bib M /trunk/algorithms.tex M /trunk/jn.c M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/tests/Makefile.am A /trunk/tests/ty0.c A /trunk/tests/ty1.c A /trunk/tests/tyn.c A /trunk/yn.c added Bessel functions of second kind (y0, y1, yn_si) ------------------------------------------------------------------------ r4400 | zimmerma | 2007-03-31 13:55:06 +0000 (Sat, 31 Mar 2007) | 2 lines Changed paths: M /trunk/tests/tj0.c M /trunk/tests/tj1.c now test_generic calls respectively j0 and j1, not zeta! ------------------------------------------------------------------------ r4399 | vlefevre | 2007-03-30 14:35:56 +0000 (Fri, 30 Mar 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: INF -> Inf for consistency. ------------------------------------------------------------------------ r4398 | vlefevre | 2007-03-30 14:34:00 +0000 (Fri, 30 Mar 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: PI -> Pi for consistency. ------------------------------------------------------------------------ r4397 | vlefevre | 2007-03-29 02:33:02 +0000 (Thu, 29 Mar 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: -0 -> @minus{}0. ------------------------------------------------------------------------ r4396 | vlefevre | 2007-03-29 02:28:46 +0000 (Thu, 29 Mar 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: fixed bug introduced in rev 4377, which made TeX fail. ------------------------------------------------------------------------ r4395 | vlefevre | 2007-03-29 02:00:04 +0000 (Thu, 29 Mar 2007) | 2 lines Changed paths: M /trunk/tests Added tj0, tj1 and tjn to svn:ignore property of "tests" directory. ------------------------------------------------------------------------ r4393 | zimmerma | 2007-03-26 09:29:40 +0000 (Mon, 26 Mar 2007) | 2 lines Changed paths: M /trunk/jn.c mpfr_jn -> mpfr_jn_si ------------------------------------------------------------------------ r4392 | zimmerma | 2007-03-23 20:30:20 +0000 (Fri, 23 Mar 2007) | 3 lines Changed paths: M /trunk/algorithms.tex M /trunk/jn.c M /trunk/tests/tjn.c now check underflow for large n in mpfr_jn_si added more tests ------------------------------------------------------------------------ r4391 | zimmerma | 2007-03-23 16:37:16 +0000 (Fri, 23 Mar 2007) | 2 lines Changed paths: M /trunk/tests/tjn.c added more tests (large values of n) ------------------------------------------------------------------------ r4390 | zimmerma | 2007-03-23 16:22:01 +0000 (Fri, 23 Mar 2007) | 2 lines Changed paths: M /trunk/jn.c fixed another stupid bug ------------------------------------------------------------------------ r4389 | zimmerma | 2007-03-23 15:49:35 +0000 (Fri, 23 Mar 2007) | 3 lines Changed paths: M /trunk/jn.c M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/tests/tjn.c mpfr_jn -> mpfr_jn_si, with 'int' argument changed to 'long' fixed bug in mpfr_jn_si (forgot to increase working precision) ------------------------------------------------------------------------ r4388 | vlefevre | 2007-03-23 15:47:17 +0000 (Fri, 23 Mar 2007) | 3 lines Changed paths: M /trunk/README.dev README.dev: added a warning about the meaning of the output "inexact" value in the function logging code. ------------------------------------------------------------------------ r4387 | vlefevre | 2007-03-23 15:38:20 +0000 (Fri, 23 Mar 2007) | 2 lines Changed paths: M /trunk/add.c M /trunk/sub.c Added log support for mpfr_add and mpfr_sub. ------------------------------------------------------------------------ r4386 | lfousse | 2007-03-23 13:43:18 +0000 (Fri, 23 Mar 2007) | 2 lines Changed paths: M /trunk/algorithms.tex Correction: added missing $b_n$. ------------------------------------------------------------------------ r4385 | zimmerma | 2007-03-22 17:12:00 +0000 (Thu, 22 Mar 2007) | 2 lines Changed paths: M /trunk/Makefile.am M /trunk/algorithms.tex A /trunk/jn.c M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/tests/Makefile.am M /trunk/tests/reuse.c A /trunk/tests/tj0.c A /trunk/tests/tj1.c A /trunk/tests/tjn.c added Bessel functions of first kind: j0, j1, jn ------------------------------------------------------------------------ r4384 | vlefevre | 2007-03-19 09:11:17 +0000 (Mon, 19 Mar 2007) | 2 lines Changed paths: M /trunk/mpfr.texi MPFR manual: improved description of mpfr_get_str. ------------------------------------------------------------------------ r4383 | zimmerma | 2007-03-19 07:43:16 +0000 (Mon, 19 Mar 2007) | 2 lines Changed paths: M /trunk/get_str.c fixed typos in comments ------------------------------------------------------------------------ r4382 | zimmerma | 2007-03-18 20:16:15 +0000 (Sun, 18 Mar 2007) | 2 lines Changed paths: M /trunk/mpfr.texi documented restriction to n in mpfr_get_str ------------------------------------------------------------------------ r4380 | vlefevre | 2007-03-13 15:46:08 +0000 (Tue, 13 Mar 2007) | 3 lines Changed paths: M /trunk/INSTALL Updated INSTALL based on AIX/PowerPC tests and results from Julie Kurpa and information on <http://www.ess.uci.edu/esmf/FAQ.html#gcc-errors>. ------------------------------------------------------------------------ r4379 | vlefevre | 2007-03-03 01:55:32 +0000 (Sat, 03 Mar 2007) | 2 lines Changed paths: M /trunk/README.dev README.dev: updated "To make a release" section. ------------------------------------------------------------------------ r4378 | vlefevre | 2007-03-02 11:16:59 +0000 (Fri, 02 Mar 2007) | 3 lines Changed paths: M /trunk/mpfr.texi Made modified paragraph on mpfr_get_str more correct from a logical point of view. ------------------------------------------------------------------------ r4377 | zimmerma | 2007-03-02 09:15:04 +0000 (Fri, 02 Mar 2007) | 2 lines Changed paths: M /trunk/mpfr.texi modified paragraph on mpfr_get_str (size of allocated string) ------------------------------------------------------------------------ r4376 | zimmerma | 2007-02-25 13:04:13 +0000 (Sun, 25 Feb 2007) | 2 lines Changed paths: M /trunk/TODO added tentative implementation of fmod ------------------------------------------------------------------------ r4375 | zimmerma | 2007-02-20 02:58:16 +0000 (Tue, 20 Feb 2007) | 2 lines Changed paths: M /trunk/TODO added suggestion about remquo ------------------------------------------------------------------------ r4374 | zimmerma | 2007-02-19 21:50:26 +0000 (Mon, 19 Feb 2007) | 2 lines Changed paths: M /trunk/TODO added comment ------------------------------------------------------------------------ r4373 | zimmerma | 2007-02-19 21:43:23 +0000 (Mon, 19 Feb 2007) | 2 lines Changed paths: M /trunk/TODO added C99 rationale for remquo ------------------------------------------------------------------------ r4372 | zimmerma | 2007-02-19 03:52:30 +0000 (Mon, 19 Feb 2007) | 3 lines Changed paths: M /trunk/acosh.c M /trunk/algorithms.tex M /trunk/asinh.c M /trunk/atanh.c M /trunk/const_catalan.c M /trunk/log1p.c fixed error in generic error for the logarithm, and propagated new bound in algorithms.tex and source files ------------------------------------------------------------------------ r4371 | zimmerma | 2007-02-18 20:10:20 +0000 (Sun, 18 Feb 2007) | 2 lines Changed paths: M /trunk/TODO added new item ------------------------------------------------------------------------ r4370 | vlefevre | 2007-02-15 23:35:25 +0000 (Thu, 15 Feb 2007) | 3 lines Changed paths: A /trunk/update-patchv (from /branches/2.2/update-patchv:4367) Added update-patchv script to update some files before a patch is built (script from 2.2 branch). ------------------------------------------------------------------------ r4365 | vlefevre | 2007-02-14 09:31:19 +0000 (Wed, 14 Feb 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated paragraph on the underflow before/after rounding. ------------------------------------------------------------------------ r4364 | zimmerma | 2007-02-14 03:34:21 +0000 (Wed, 14 Feb 2007) | 2 lines Changed paths: M /trunk/TODO added reference ------------------------------------------------------------------------ r4363 | vlefevre | 2007-02-12 16:34:21 +0000 (Mon, 12 Feb 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: added Exceptions section. ------------------------------------------------------------------------ r4361 | vlefevre | 2007-02-12 12:18:19 +0000 (Mon, 12 Feb 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated month. ------------------------------------------------------------------------ r4359 | vlefevre | 2007-02-12 12:04:14 +0000 (Mon, 12 Feb 2007) | 2 lines Changed paths: M /trunk/NEWS M /trunk/mpfr.texi Note that the mpfr.info file is now installed in the share subdirectory. ------------------------------------------------------------------------ r4358 | vlefevre | 2007-02-10 11:30:18 +0000 (Sat, 10 Feb 2007) | 4 lines Changed paths: M /trunk/tests/tpow.c tests/tpow.c: removed comment since there are other <limits.h> macros in the file (and this is an old bug: the first one was introduced in rev 2783). ------------------------------------------------------------------------ r4357 | zimmerma | 2007-02-10 08:05:30 +0000 (Sat, 10 Feb 2007) | 2 lines Changed paths: M /trunk/tests/tpow.c added missing include ------------------------------------------------------------------------ r4356 | vlefevre | 2007-02-09 14:17:32 +0000 (Fri, 09 Feb 2007) | 3 lines Changed paths: M /trunk/pow_si.c M /trunk/tests/tpow.c Fixed an integer overflow in pow_si.c (detected with -ftrapv) and added a corresponding testcase in tests/tpow.c. ------------------------------------------------------------------------ r4355 | vlefevre | 2007-02-09 13:30:57 +0000 (Fri, 09 Feb 2007) | 2 lines Changed paths: M /trunk/pow_si.c pow_si.c: another comment about the overflow detection. ------------------------------------------------------------------------ r4354 | vlefevre | 2007-02-09 13:14:07 +0000 (Fri, 09 Feb 2007) | 2 lines Changed paths: M /trunk/pow_si.c pow_si.c: added the proof of overflow checking. ------------------------------------------------------------------------ r4353 | vlefevre | 2007-02-09 11:55:51 +0000 (Fri, 09 Feb 2007) | 2 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: added a comment about the exponent limits for MPFR numbers. ------------------------------------------------------------------------ r4352 | vlefevre | 2007-02-08 15:47:13 +0000 (Thu, 08 Feb 2007) | 7 lines Changed paths: M /trunk/mpfr.h M /trunk/set_si.c M /trunk/set_si_2exp.c M /trunk/set_ui.c M /trunk/set_ui_2exp.c M /trunk/tests/tset_si.c Reimplemented mpfr_set_si_2exp and mpfr_set_ui_2exp, and mpfr_set_si and mpfr_set_ui using the 2exp versions with e = 0. This fixes a bug in corner cases (emin >= 4 and some other constraints) in mpfr_set_si and mpfr_set_ui that incorrectly lead to an underflow flag set, and fixes mpfr_set_si_2exp and mpfr_set_ui_2exp in case of overflow or underflow (replacing the r4346 fix). Added corresponding testcases. ------------------------------------------------------------------------ r4350 | vlefevre | 2007-02-07 01:48:01 +0000 (Wed, 07 Feb 2007) | 3 lines Changed paths: M /trunk/abort_prec_max.c M /trunk/acos.c M /trunk/acosh.c M /trunk/add.c M /trunk/add1.c M /trunk/add1sp.c M /trunk/add_ui.c M /trunk/agm.c M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atan2.c M /trunk/atanh.c M /trunk/cache.c M /trunk/cbrt.c M /trunk/check.c M /trunk/clear.c M /trunk/clears.c M /trunk/cmp.c M /trunk/cmp2.c M /trunk/cmp_abs.c M /trunk/cmp_d.c M /trunk/cmp_ld.c M /trunk/cmp_si.c M /trunk/cmp_ui.c M /trunk/comparisons.c M /trunk/const_catalan.c M /trunk/const_euler.c M /trunk/const_log2.c M /trunk/const_pi.c M /trunk/constant.c M /trunk/copysign.c M /trunk/cos.c M /trunk/cosh.c M /trunk/cot.c M /trunk/coth.c M /trunk/csc.c M /trunk/csch.c M /trunk/dim.c M /trunk/div.c M /trunk/div_2exp.c M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/div_ui.c M /trunk/dump.c M /trunk/eint.c M /trunk/eq.c M /trunk/erfc.c M /trunk/exceptions.c M /trunk/exp10.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/extract.c M /trunk/factorial.c M /trunk/fits_intmax.c M /trunk/fits_s.h M /trunk/fits_sint.c M /trunk/fits_slong.c M /trunk/fits_sshort.c M /trunk/fits_u.h M /trunk/fits_uint.c M /trunk/fits_uintmax.c M /trunk/fits_ulong.c M /trunk/fits_ushort.c M /trunk/fma.c M /trunk/frac.c M /trunk/free_cache.c M /trunk/gamma.c M /trunk/gen_inverse.h M /trunk/generic.c M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_exp.c M /trunk/get_f.c M /trunk/get_ld.c M /trunk/get_si.c M /trunk/get_sj.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/get_uj.c M /trunk/get_z.c M /trunk/get_z_exp.c M /trunk/gmp_op.c M /trunk/hypot.c M /trunk/init.c M /trunk/init2.c M /trunk/inits.c M /trunk/inits2.c M /trunk/inp_str.c M /trunk/int_ceil_log2.c M /trunk/isinf.c M /trunk/isinteger.c M /trunk/isnan.c M /trunk/isnum.c M /trunk/isqrt.c M /trunk/iszero.c M /trunk/lngamma.c M /trunk/log.c M /trunk/log10.c M /trunk/log1p.c M /trunk/log2.c M /trunk/logging.c M /trunk/minmax.c M /trunk/mpf2mpfr.h M /trunk/mpfr-gmp.c M /trunk/mpfr-gmp.h M /trunk/mpfr-impl.h M /trunk/mpfr-test.h M /trunk/mpfr.h M /trunk/mpn_exp.c M /trunk/mul.c M /trunk/mul_2exp.c M /trunk/mul_2si.c M /trunk/mul_2ui.c M /trunk/mul_ui.c M /trunk/mulders.c M /trunk/neg.c M /trunk/next.c M /trunk/out_str.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/powerof2.c M /trunk/print_raw.c M /trunk/print_rnd_mode.c M /trunk/random.c M /trunk/random2.c M /trunk/reldiff.c M /trunk/rint.c M /trunk/root.c M /trunk/round_near_x.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/sec.c M /trunk/sech.c M /trunk/set.c M /trunk/set_d.c M /trunk/set_d64.c M /trunk/set_dfl_prec.c M /trunk/set_exp.c M /trunk/set_f.c M /trunk/set_inf.c M /trunk/set_ld.c M /trunk/set_nan.c M /trunk/set_prc_raw.c M /trunk/set_prec.c M /trunk/set_q.c M /trunk/set_rnd.c M /trunk/set_si.c M /trunk/set_si_2exp.c M /trunk/set_sj.c M /trunk/set_str.c M /trunk/set_str_raw.c M /trunk/set_ui.c M /trunk/set_ui_2exp.c M /trunk/set_uj.c M /trunk/set_z.c M /trunk/setmax.c M /trunk/setmin.c M /trunk/sgn.c M /trunk/si_op.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/sqrt_ui.c M /trunk/stack_interface.c M /trunk/strtofr.c M /trunk/sub.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/sub_ui.c M /trunk/subnormal.c M /trunk/sum.c M /trunk/swap.c M /trunk/tan.c M /trunk/tanh.c M /trunk/tests/cmp_str.c M /trunk/tests/memory.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr_compat.c M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabs.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.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/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.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/tfrac.c M /trunk/tests/tgamma.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_ld_2exp.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/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/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/tminmax.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.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_z.c M /trunk/tests/trandom.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.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_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/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/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.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/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/tversion.c M /trunk/tests/tzeta_ui.c M /trunk/tuneup.c M /trunk/uceil_exp2.c M /trunk/uceil_log2.c M /trunk/ufloor_log2.c M /trunk/ui_div.c M /trunk/ui_pow.c M /trunk/ui_pow_ui.c M /trunk/ui_sub.c M /trunk/urandomb.c M /trunk/version.c M /trunk/volatile.c M /trunk/zeta_ui.c Added "Contributed by the Arenaire and Cacao projects, INRIA." to the copyright notices and removed a few old things. ------------------------------------------------------------------------ r4347 | zimmerma | 2007-02-01 13:15:34 +0000 (Thu, 01 Feb 2007) | 2 lines Changed paths: M /trunk/mpfr.h added missing macro (thanks to Izhar Wallach <izharw@keddem.com>) ------------------------------------------------------------------------ r4346 | vlefevre | 2007-01-20 13:45:20 +0000 (Sat, 20 Jan 2007) | 2 lines Changed paths: M /trunk/set_si_2exp.c Fixed mpfr_set_si_2exp in case of overflow or underflow. ------------------------------------------------------------------------ r4345 | vlefevre | 2007-01-19 08:31:32 +0000 (Fri, 19 Jan 2007) | 2 lines Changed paths: M /trunk/pow_si.c pow_si.c: fixed the overflow detection for x power of 2 and n negative. ------------------------------------------------------------------------ r4344 | vlefevre | 2007-01-19 07:24:26 +0000 (Fri, 19 Jan 2007) | 3 lines Changed paths: M /trunk/tests/tget_f.c tests/tget_f.c: fixed a test that had an integer overflow (detected with -ftrapv). ------------------------------------------------------------------------ r4343 | vlefevre | 2007-01-19 07:07:10 +0000 (Fri, 19 Jan 2007) | 6 lines Changed paths: M /trunk/pow_si.c pow_si.c: Before fixing the bug corresponding to the testcase added in rev 4342, let's fix another one that can be detected with -ftrapv when n = LONG_MIN (since -n is not representable in this case). With wrapping, we always got the correct result because mp_exp_t is currently at most a long *and* because of side effects! ------------------------------------------------------------------------ r4342 | vlefevre | 2007-01-19 06:51:13 +0000 (Fri, 19 Jan 2007) | 2 lines Changed paths: M /trunk/tests/tpow.c tests/tpow.c: added a test which fails (undetected integer overflow). ------------------------------------------------------------------------ r4341 | vlefevre | 2007-01-19 06:44:09 +0000 (Fri, 19 Jan 2007) | 2 lines Changed paths: M /trunk/tests/tpow.c tests/tpow.c: new test was wrong; fixed. ------------------------------------------------------------------------ r4340 | vlefevre | 2007-01-19 06:39:23 +0000 (Fri, 19 Jan 2007) | 2 lines Changed paths: M /trunk/tests/tpow.c tests/tpow.c: corrected tests and added another test. ------------------------------------------------------------------------ r4339 | vlefevre | 2007-01-19 05:10:16 +0000 (Fri, 19 Jan 2007) | 2 lines Changed paths: M /trunk/tests/tpow.c tests/tpow.c: added tests. ------------------------------------------------------------------------ r4338 | vlefevre | 2007-01-19 04:23:17 +0000 (Fri, 19 Jan 2007) | 2 lines Changed paths: M /trunk/pow_si.c pow_si.c: added an assertion. ------------------------------------------------------------------------ r4337 | vlefevre | 2007-01-18 01:28:02 +0000 (Thu, 18 Jan 2007) | 2 lines Changed paths: M /trunk/TODO TODO: merged both requests for mpfr_sinh_cosh. ------------------------------------------------------------------------ r4335 | zimmerma | 2007-01-17 19:38:49 +0000 (Wed, 17 Jan 2007) | 2 lines Changed paths: M /trunk/dim.c M /trunk/mpfr.texi added documentation for mpfr_dim (was missing) ------------------------------------------------------------------------ r4334 | zimmerma | 2007-01-17 19:26:47 +0000 (Wed, 17 Jan 2007) | 2 lines Changed paths: M /trunk/TODO added item ------------------------------------------------------------------------ r4333 | vlefevre | 2007-01-17 17:34:09 +0000 (Wed, 17 Jan 2007) | 4 lines Changed paths: M /trunk/get_str.c M /trunk/mpfr-impl.h M /trunk/tests/tests.c Replaced some computations using the type double by computations using MPFR, for mpfr_get_str, allowing it to work with an x86 processor set up in single-precision mode. ------------------------------------------------------------------------ r4332 | vlefevre | 2007-01-16 23:15:29 +0000 (Tue, 16 Jan 2007) | 2 lines Changed paths: M /trunk/pow_si.c Updated comment concerning LONG_MIN / 1. ------------------------------------------------------------------------ r4331 | vlefevre | 2007-01-15 00:40:17 +0000 (Mon, 15 Jan 2007) | 2 lines Changed paths: M /trunk/README.dev README.dev: updated "To make a release" section. ------------------------------------------------------------------------ r4329 | vlefevre | 2007-01-10 16:35:27 +0000 (Wed, 10 Jan 2007) | 2 lines Changed paths: D /trunk/mpzroot.c D /trunk/rootrem.c Removed mpzroot.c and rootrem.c from the repository. ------------------------------------------------------------------------ r4328 | vlefevre | 2007-01-10 16:32:46 +0000 (Wed, 10 Jan 2007) | 3 lines Changed paths: M /trunk/Makefile.am D /trunk/log_b2.h Removed log_b2.h (has never been used) from the repository and from libmpfr_la_SOURCES in Makefile.am. ------------------------------------------------------------------------ r4327 | vlefevre | 2007-01-10 15:40:05 +0000 (Wed, 10 Jan 2007) | 2 lines Changed paths: M /trunk/FAQ.html FAQ.html: Added details to MPF-related Q&A's. ------------------------------------------------------------------------ r4326 | vlefevre | 2007-01-10 12:51:56 +0000 (Wed, 10 Jan 2007) | 2 lines Changed paths: M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/abort_prec_max.c M /trunk/acinclude.m4 M /trunk/acos.c M /trunk/acosh.c M /trunk/add.c M /trunk/add1.c M /trunk/add1sp.c M /trunk/add_ui.c M /trunk/agm.c M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atan2.c M /trunk/atanh.c M /trunk/cache.c M /trunk/cbrt.c M /trunk/check.c M /trunk/clear.c M /trunk/clears.c M /trunk/cmp.c M /trunk/cmp2.c M /trunk/cmp_abs.c M /trunk/cmp_d.c M /trunk/cmp_ld.c M /trunk/cmp_si.c M /trunk/cmp_ui.c M /trunk/comparisons.c M /trunk/configure.in M /trunk/const_catalan.c M /trunk/const_euler.c M /trunk/const_log2.c M /trunk/const_pi.c M /trunk/constant.c M /trunk/copysign.c M /trunk/cos.c M /trunk/cosh.c M /trunk/cot.c M /trunk/coth.c M /trunk/csc.c M /trunk/csch.c M /trunk/dim.c M /trunk/div.c M /trunk/div_2exp.c M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/div_ui.c M /trunk/dump.c M /trunk/eint.c M /trunk/eq.c M /trunk/erf.c M /trunk/erfc.c M /trunk/exceptions.c M /trunk/exp.c M /trunk/exp10.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/extract.c M /trunk/factorial.c M /trunk/faq.xsl M /trunk/fits_intmax.c M /trunk/fits_s.h M /trunk/fits_sint.c M /trunk/fits_slong.c M /trunk/fits_sshort.c M /trunk/fits_u.h M /trunk/fits_uint.c M /trunk/fits_uintmax.c M /trunk/fits_ulong.c M /trunk/fits_ushort.c M /trunk/fma.c M /trunk/frac.c M /trunk/free_cache.c M /trunk/gamma.c M /trunk/gen_inverse.h M /trunk/generic.c M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_exp.c M /trunk/get_f.c M /trunk/get_ld.c M /trunk/get_si.c M /trunk/get_sj.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/get_uj.c M /trunk/get_z.c M /trunk/get_z_exp.c M /trunk/gmp_op.c M /trunk/hypot.c M /trunk/init.c M /trunk/init2.c M /trunk/inits.c M /trunk/inits2.c M /trunk/inp_str.c M /trunk/int_ceil_log2.c M /trunk/isinf.c M /trunk/isinteger.c M /trunk/isnan.c M /trunk/isnum.c M /trunk/isqrt.c M /trunk/iszero.c M /trunk/lngamma.c M /trunk/log.c M /trunk/log10.c M /trunk/log1p.c M /trunk/log2.c M /trunk/logging.c M /trunk/minmax.c M /trunk/mp_clz_tab.c M /trunk/mparam_h.in M /trunk/mpf2mpfr.h M /trunk/mpfr-gmp.c M /trunk/mpfr-gmp.h M /trunk/mpfr-impl.h M /trunk/mpfr-test.h M /trunk/mpfr.h M /trunk/mpn_exp.c M /trunk/mpzroot.c M /trunk/mul.c M /trunk/mul_2exp.c M /trunk/mul_2si.c M /trunk/mul_2ui.c M /trunk/mul_ui.c M /trunk/mulders.c M /trunk/neg.c M /trunk/next.c M /trunk/out_str.c M /trunk/pow.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/powerof2.c M /trunk/print_raw.c M /trunk/print_rnd_mode.c M /trunk/random.c M /trunk/random2.c M /trunk/reldiff.c M /trunk/rint.c M /trunk/root.c M /trunk/rootrem.c M /trunk/round_near_x.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/sec.c M /trunk/sech.c M /trunk/set.c M /trunk/set_d.c M /trunk/set_d64.c M /trunk/set_dfl_prec.c M /trunk/set_exp.c M /trunk/set_f.c M /trunk/set_inf.c M /trunk/set_ld.c M /trunk/set_nan.c M /trunk/set_prc_raw.c M /trunk/set_prec.c M /trunk/set_q.c M /trunk/set_rnd.c M /trunk/set_si.c M /trunk/set_si_2exp.c M /trunk/set_sj.c M /trunk/set_str.c M /trunk/set_str_raw.c M /trunk/set_ui.c M /trunk/set_ui_2exp.c M /trunk/set_uj.c M /trunk/set_z.c M /trunk/setmax.c M /trunk/setmin.c M /trunk/sgn.c M /trunk/si_op.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/sqrt_ui.c M /trunk/stack_interface.c M /trunk/strtofr.c M /trunk/sub.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/sub_ui.c M /trunk/subnormal.c M /trunk/sum.c M /trunk/swap.c M /trunk/tan.c M /trunk/tanh.c M /trunk/tests/cmp_str.c M /trunk/tests/memory.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr_compat.c M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.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_ui.c M /trunk/tests/tagm.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.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/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/terf.c M /trunk/tests/texceptions.c M /trunk/tests/texp.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/tfrac.c M /trunk/tests/tgamma.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_ld_2exp.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/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/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/tminmax.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.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_z.c M /trunk/tests/trandom.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.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_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/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/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.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/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/tversion.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/tuneup.c M /trunk/uceil_exp2.c M /trunk/uceil_log2.c M /trunk/ufloor_log2.c M /trunk/ui_div.c M /trunk/ui_pow.c M /trunk/ui_pow_ui.c M /trunk/ui_sub.c M /trunk/urandomb.c M /trunk/version.c M /trunk/volatile.c M /trunk/zeta.c M /trunk/zeta_ui.c Copyright notice update: added 2007. ------------------------------------------------------------------------ r4325 | vlefevre | 2007-01-10 12:37:05 +0000 (Wed, 10 Jan 2007) | 6 lines Changed paths: M /trunk/BUGS M /trunk/README.dev M /trunk/tests/tests.c * tests/tests.c: under Linux/x86, the FPU precision can be set before doing the tests (see MPFR_FPU_PREC), so that MPFR can be tested under various FP environments (2 tests currently fail with _FPU_SINGLE). * README.dev: updated "To make a release" section. * BUGS: mentioned the above bug. ------------------------------------------------------------------------ r4323 | vlefevre | 2007-01-08 16:36:00 +0000 (Mon, 08 Jan 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi -> January 2007. ------------------------------------------------------------------------ r4321 | zimmerma | 2007-01-08 16:03:52 +0000 (Mon, 08 Jan 2007) | 2 lines Changed paths: M /trunk/mpfr.texi added support from LIP, and different INRIA project-teams ------------------------------------------------------------------------ r4320 | vlefevre | 2007-01-03 16:19:45 +0000 (Wed, 03 Jan 2007) | 2 lines Changed paths: M /trunk/pow_si.c Minor change. ------------------------------------------------------------------------ r4319 | vlefevre | 2006-12-29 03:42:39 +0000 (Fri, 29 Dec 2006) | 2 lines Changed paths: M /trunk/TODO TODO: macros/functions to get/set the sign of a MPFR number. ------------------------------------------------------------------------ r4318 | zimmerma | 2006-12-21 14:10:51 +0000 (Thu, 21 Dec 2006) | 2 lines Changed paths: M /trunk/Makefile.am M /trunk/root.c remove new rootrem implementation (unclear copyright status) ------------------------------------------------------------------------ r4317 | vlefevre | 2006-12-19 22:32:09 +0000 (Tue, 19 Dec 2006) | 3 lines Changed paths: M /trunk/const_catalan.c M /trunk/const_pi.c M /trunk/cos.c M /trunk/eint.c M /trunk/erfc.c M /trunk/gamma.c M /trunk/lngamma.c M /trunk/zeta.c Replaced mpfr_mul_2exp and mpfr_div_2exp by mpfr_mul_2ui and mpfr_div_2ui respectively (when this makes sense, of course). ------------------------------------------------------------------------ r4316 | zimmerma | 2006-12-19 13:59:59 +0000 (Tue, 19 Dec 2006) | 2 lines Changed paths: M /trunk/zeta_ui.c mpfr_div_2exp -> mpfr_div_2ui ------------------------------------------------------------------------ r4315 | zimmerma | 2006-12-19 07:08:13 +0000 (Tue, 19 Dec 2006) | 2 lines Changed paths: M /trunk/TODO M /trunk/algorithms.tex M /trunk/zeta_ui.c improved efficiency of zeta_ui(s) for 3^(-s) < 1/2*ulp(1) ------------------------------------------------------------------------ r4314 | vlefevre | 2006-12-18 17:09:43 +0000 (Mon, 18 Dec 2006) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: update concerning MPFR_USE_EXTENSION. ------------------------------------------------------------------------ r4313 | zimmerma | 2006-12-18 16:03:26 +0000 (Mon, 18 Dec 2006) | 2 lines Changed paths: M /trunk/rootrem.c added copyright header ------------------------------------------------------------------------ r4312 | zimmerma | 2006-12-18 12:04:19 +0000 (Mon, 18 Dec 2006) | 2 lines Changed paths: M /trunk/TODO added item ------------------------------------------------------------------------ r4311 | vlefevre | 2006-12-15 14:28:53 +0000 (Fri, 15 Dec 2006) | 2 lines Changed paths: M /trunk/TODO M /trunk/mpfr.h M /trunk/mpfr.texi Implemented MPFR_USE_EXTENSION support. ------------------------------------------------------------------------ r4310 | zimmerma | 2006-12-15 08:42:21 +0000 (Fri, 15 Dec 2006) | 4 lines Changed paths: M /trunk/zeta_ui.c improved efficiency for zeta(m) in precision p when m is large but still smaller than p, for example m=1024 and p=2048 gives a speedup of about 23 (thanks to Jim White for reporting the problem) ------------------------------------------------------------------------ r4309 | zimmerma | 2006-12-14 15:19:17 +0000 (Thu, 14 Dec 2006) | 2 lines Changed paths: M /trunk/zeta_ui.c added MPFR_ZIV_INIT stuff ------------------------------------------------------------------------ r4308 | zimmerma | 2006-12-07 07:17:58 +0000 (Thu, 07 Dec 2006) | 2 lines Changed paths: M /trunk/algorithms.tex fixed typo ------------------------------------------------------------------------ r4307 | vlefevre | 2006-12-05 09:42:22 +0000 (Tue, 05 Dec 2006) | 2 lines Changed paths: M /trunk/TODO TODO: to be added: MPFR_USE_EXTENSION macro. ------------------------------------------------------------------------ r4306 | vlefevre | 2006-11-29 09:50:57 +0000 (Wed, 29 Nov 2006) | 2 lines Changed paths: M /trunk/README.dev README.dev: update. ------------------------------------------------------------------------ r4300 | vlefevre | 2006-11-29 08:54:24 +0000 (Wed, 29 Nov 2006) | 2 lines Changed paths: M /trunk/INSTALL INSTALL: update of the "Notes on Windows 32" section. ------------------------------------------------------------------------ r4299 | zimmerma | 2006-11-27 08:56:12 +0000 (Mon, 27 Nov 2006) | 2 lines Changed paths: M /trunk/set_uj.c added comment about last change ------------------------------------------------------------------------ r4298 | zimmerma | 2006-11-27 08:26:02 +0000 (Mon, 27 Nov 2006) | 2 lines Changed paths: M /trunk/set_uj.c fixed warning on 64-bit machines ------------------------------------------------------------------------ r4297 | vlefevre | 2006-11-26 18:58:05 +0000 (Sun, 26 Nov 2006) | 2 lines Changed paths: M /trunk/tests/tpow.c tests/tpow.c: added worst cases. ------------------------------------------------------------------------ r4296 | vlefevre | 2006-11-26 18:52:26 +0000 (Sun, 26 Nov 2006) | 2 lines Changed paths: M /trunk/tests/troot.c tests/troot.c: two more worst cases. ------------------------------------------------------------------------ r4295 | vlefevre | 2006-11-25 20:05:15 +0000 (Sat, 25 Nov 2006) | 2 lines Changed paths: M /trunk/tests/troot.c tests/troot.c: added a worst case. ------------------------------------------------------------------------ r4293 | vlefevre | 2006-11-25 19:46:42 +0000 (Sat, 25 Nov 2006) | 2 lines Changed paths: M /trunk/BUGS BUGS: removed obsolete "compiler bugs" section. ------------------------------------------------------------------------ r4292 | zimmerma | 2006-11-25 09:51:07 +0000 (Sat, 25 Nov 2006) | 2 lines Changed paths: M /trunk/tests/tpow.c added worst case ------------------------------------------------------------------------ r4286 | vlefevre | 2006-11-25 00:15:30 +0000 (Sat, 25 Nov 2006) | 2 lines Changed paths: M /trunk/INSTALL Partially rewrote the INSTALL file. ------------------------------------------------------------------------ r4284 | vlefevre | 2006-11-24 14:46:41 +0000 (Fri, 24 Nov 2006) | 2 lines Changed paths: M /trunk/Makefile.am Makefile.am: fixed libtool's -version-info flag (and comment). ------------------------------------------------------------------------ r4279 | vlefevre | 2006-11-24 00:44:20 +0000 (Fri, 24 Nov 2006) | 2 lines Changed paths: M /trunk/configure.in configure.in: check for gmp.h a bit earlier. ------------------------------------------------------------------------ r4278 | zimmerma | 2006-11-23 14:10:10 +0000 (Thu, 23 Nov 2006) | 2 lines Changed paths: M /trunk/nightly-test added --with-tests-timeout=60 for nightly tests ------------------------------------------------------------------------ r4277 | zimmerma | 2006-11-23 14:08:47 +0000 (Thu, 23 Nov 2006) | 2 lines Changed paths: M /trunk/configure.in M /trunk/tests/tests.c test timeout is now a configure option (e.g. --with-tests-timeout=60) ------------------------------------------------------------------------ r4276 | zimmerma | 2006-11-23 13:25:35 +0000 (Thu, 23 Nov 2006) | 2 lines Changed paths: M /trunk/gamma.c replaced set_d by set_str_binary (more portable) ------------------------------------------------------------------------ r4274 | vlefevre | 2006-11-23 00:34:58 +0000 (Thu, 23 Nov 2006) | 2 lines Changed paths: M /trunk/INSTALL INSTALL: several additions. ------------------------------------------------------------------------ r4272 | vlefevre | 2006-11-22 17:25:20 +0000 (Wed, 22 Nov 2006) | 2 lines Changed paths: M /trunk/INSTALL INSTALL: small update. ------------------------------------------------------------------------ r4270 | vlefevre | 2006-11-22 15:25:22 +0000 (Wed, 22 Nov 2006) | 2 lines Changed paths: M /trunk/FAQ.html FAQ update (added a CSS counter). ------------------------------------------------------------------------ r4268 | vlefevre | 2006-11-22 15:23:30 +0000 (Wed, 22 Nov 2006) | 2 lines Changed paths: M /trunk/update-faq update-faq: added a workaround for the libxslt bug 377440. ------------------------------------------------------------------------ r4267 | vlefevre | 2006-11-22 11:48:44 +0000 (Wed, 22 Nov 2006) | 2 lines Changed paths: M /trunk/TODO TODO: update concerning the patches information. ------------------------------------------------------------------------ r4266 | zimmerma | 2006-11-22 08:03:59 +0000 (Wed, 22 Nov 2006) | 2 lines Changed paths: M /trunk/nightly-test set GMP_CHECK_RANDOMIZE to get random tests ------------------------------------------------------------------------ r4263 | vlefevre | 2006-11-21 18:01:15 +0000 (Tue, 21 Nov 2006) | 2 lines Changed paths: M /trunk/README Updated README file. ------------------------------------------------------------------------ r4259 | vlefevre | 2006-11-20 16:32:36 +0000 (Mon, 20 Nov 2006) | 2 lines Changed paths: M /trunk/README.dev README.dev: mention the version suffix. ------------------------------------------------------------------------ r4258 | vlefevre | 2006-11-20 16:25:47 +0000 (Mon, 20 Nov 2006) | 2 lines Changed paths: M /trunk/VERSION M /trunk/configure.in M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/version.c Updated version to 2.3.0-dev. ------------------------------------