On 2009-01-06 23:00:40 +0100, Vincent Lefevre wrote: > On 2009-01-06 11:20:20 -0500, C. Michael Pilato wrote: > > I've been sitting on this thread for a looooooooong time. Still no time to > > really invest here, but I filed issue #3353 so we don't lose this discussion > > forever. > > This is not just a documentation bug: with --incremental --deltas, > I get a delta on the changed files only (as expected), but the delta > is too big: it contains a lot of text that hasn't changed. The problem > is much more important in the latest revisions than in the first ones.
Actually the --incremental option doesn't matter. For instance, it is not useful when doing a dump from revision 0, and I get exactly the same bug, as said below. I've attached two files showing the problem. I've obtained them with: $ svn diff -c3876 file:///home/vlefevre/private/svn-mpfr > mpfr-diff $ svnadmin dump --incremental --deltas ~/private/svn-mpfr -r3876 > mpfr-dump $ ll mpfr-* -rw-r--r-- 1 vlefevre vlefevre 2590 2011-12-25 22:38:31 mpfr-diff -rw-r--r-- 1 vlefevre vlefevre 9333 2011-12-25 22:38:34 mpfr-dump on my own copy of the MPFR repository (to be able to use svnadmin). This corresponds to a ChangeLog update (note: CVS was used at that time, and the repository was converted to Subversion later). One can see in mpfr-diff that there are changes only for 2005-09. But in mpfr-dump, one can see text corresponding to 2005-09, 2004-09, 2003-01, and 2001-10. Text corresponding to 2001..2004 shouldn't have appeared as nothing has changed! I get the same data for the revision 3876 (i.e. removing everything that doesn't belong to this revision) whether I do svnadmin dump --incremental --deltas ~/private/svn-mpfr -r3876 or I do svnadmin dump --deltas ~/private/svn-mpfr -r 0:3876 showing that --incremental doesn't matter regarding this bug. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <http://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
Index: trunk/ChangeLog =================================================================== --- trunk/ChangeLog (revision 3875) +++ trunk/ChangeLog (revision 3876) @@ -1,5 +1,74 @@ +2005-09-29 Vincent Lefevre <vincent.lefe...@loria.fr> + + * mpfr.h, tests/tset_si.c: + Fixed bug in mpfr_set_ui macro when parameters are expressions + with side effects. + +2005-09-29 Paul Zimmermann <paul.zimmerm...@loria.fr> + + * algorithms.tex: fixed missing accent + +2005-09-28 Vincent Lefevre <vincent.lefe...@loria.fr> + + * lngamma.c: Small optimization. + + * tests/tlngamma.c: Test the sign of 0. + +2005-09-28 Paul Zimmermann <paul.zimmerm...@loria.fr> + + * lngamma.c, tests/tlngamma.c: fixed infinite loop for lngamma(2) + +2005-09-28 Vincent Lefevre <vincent.lefe...@loria.fr> + + * Makefile.am: + Updated libmpfr_la_LDFLAGS (note: it shouldn't be incremented again + before the 2.3.0 release). + +2005-09-26 Paul Zimmermann <paul.zimmerm...@loria.fr> + + * zeta_ui.c: new function: Zeta with integer argument + +2005-09-23 Paul Zimmermann <paul.zimmerm...@loria.fr> + + * Makefile.am, algorithms.bib, algorithms.tex, mpfr.h, mpfr.texi, tests/Makefile.am, tests/tzeta_ui.c: + new function mpfr_zeta_ui for integer argument + +2005-09-21 Paul Zimmermann <paul.zimmerm...@loria.fr> + + * algorithms.tex: added brief description of algorithm for mpfr_zeta + +2005-09-18 Vincent Lefevre <vincent.lefe...@loria.fr> + + * INSTALL: + Mentioned problems with the Tru64 make and other minor changes. + [2.2 branch] + + * INSTALL: + Mentioned problems with the Tru64 make and other minor changes. + +2005-09-17 Vincent Lefevre <vincent.lefe...@loria.fr> + + * configure.in: [2.2 branch] + Fixed the GMP linking test: replaced __gmp_version, which corresponds + to a variable, by __gmpz_init (suggested by the GMP documentation), + which corresponds to a function, as the auto tools assume the symbol + corresponds to a function. It was failing with the AIX linker. + + * configure.in: + Fixed the GMP linking test: replaced __gmp_version, which corresponds + to a variable, by __gmpz_init (suggested by the GMP documentation), + which corresponds to a function, as the auto tools assume the symbol + corresponds to a function. It was failing with the AIX linker. + 2005-09-16 Vincent Lefevre <vincent.lefe...@loria.fr> + * zeta.c: Better initial precision. + + * const_euler.c: + Fixed overflow problem for large precisions. [2.2 branch] + + * const_euler.c: Untabify. + * tests/tcoth.c, coth.c: Fixed stupid bug (coth was computing 1/tan instead of 1/tanh). [2.2 branch]
SVN-fs-dump-format-version: 3 UUID: b598dc39-d153-4b53-ab27-47c10eb00ac7 Revision-number: 3876 Prop-content-length: 110 Content-length: 110 K 7 svn:log V 8 Update. K 10 svn:author V 8 vlefevre K 8 svn:date V 27 2005-09-29T09:52:33.000000Z PROPS-END Node-path: trunk/ChangeLog Node-kind: file Node-action: change Text-delta: true Text-delta-base-md5: 483f122a641a93e84479acfd62190bf4 Text-delta-base-sha1: 44b145bae225758111b6d8b36ec20da9027e3dc7 Text-content-length: 8721 Text-content-md5: 0e73204fe6cf663c0067dd6b4312c3ae Text-content-sha1: 9199d488f1a6b3f7f2fd3770e1069aaaf11c8e7f Content-length: 8721 SVN 66 J72005-09-29 Vincent Lefevre <vincent.lefe...@loria.fr> * mpfr.h, tests/tset_si.c: Fixed bug in mpfr_set_ui macro when parameters are expressions with side effects. 2005-09-29 Paul Zimmermann <paul.zimmerm...@loria.fr> * algorithms.tex: fixed missing accent 2005-09-28 Vincent Lefevre <vincent.lefe...@loria.fr> * lngamma.c: Small optimization. * tests/tlngamma.c: Test the sign of 0. 2005-09-28 Paul Zimmermann <paul.zimmerm...@loria.fr> * lngamma.c, tests/tlngamma.c: fixed infinite loop for lngamma(2) 2005-09-28 Vincent Lefevre <vincent.lefe...@loria.fr> * Makefile.am: Updated libmpfr_la_LDFLAGS (note: it shouldn't be incremented again before the 2.3.0 release). 2005-09-26 Paul Zimmermann <paul.zimmerm...@loria.fr> * zeta_ui.c: new function: Zeta with integer argument 2005-09-23 Paul Zimmermann <paul.zimmerm...@loria.fr> * Makefile.am, algorithms.bib, algorithms.tex, mpfr.h, mpfr.texi, tests/Makefile.am, tests/tzeta_ui.c: new function mpfr_zeta_ui for integer argument 2005-09-21 Paul Zimmermann <paul.zimmerm...@loria.fr> * algorithms.tex: added brief description of algorithm for mpfr_zeta 2005-09-18 Vincent Lefevre <vincent.lefe...@loria.fr> * INSTALL: Mentioned problems with the Tru64 make and other minor changes. [2.2 branch] * INSTALL: Mentioned problems with the Tru64 make and other minor changes. 2005-09-17 Vincent Lefevre <vincent.lefe...@loria.fr> * configure.in: [2.2 branch] Fixed the GMP linking test: replaced __gmp_version, which corresponds to a variable, by __gmpz_init (suggested by the GMP documentation), which corresponds to a function, as the auto tools assume the symbol corresponds to a function. It was failing with the AIX linker. * configure.in: Fixed the GMP linking test: replaced __gmp_version, which corresponds to a variable, by __gmpz_init (suggested by the GMP documentation), which corresponds to a function, as the auto tools assume the symbol corresponds to a function. It was failing with the AIX linker. 2005-09-16 Vincent Lefevre <vincent.lefe...@loria.fr> * zeta.c: Better initial precision. * const_euler.c: Fixed overflow problem for large precisions. [2.2 branch] * const_euler.c: Untabify. |s A¤ B®@ rmann <paul.zimmerm...@loria.fr> * get_ui.c: forgot to check for 0 * get_ui.c: now use mpfr_rint() 2004-09-24Update doc of mpfr_get_str (Minimum space is 7). 2004-09-24 Paul Zimmermann <paul.zimmerm...@loria.fr> * get_ui.c, tests/tset_si.c: fixed double-rounding bug in get_ui 2004-09-23 Patrick Pelissier <patrick.peliss...@loria.fr> * mpf2mpfr.h: Prevent from multiple inclusion. mpf_init inits to 0 rather than NAN. * mpfr.h: Fix some tiny problems. 2004-09-23 Paul Zimmermann <paul.zimmerm...@loria.fr> * TODO: added item on rounding to odd 2004-09-21 Patrick Pelissier <patrick.peliss...@loria.fr> * strtofr.c: Fix a bug in FreeBsd 5.20 / Alpha / Gcc 3.3.3. Nor a MPFR bug, but add some code to avoid it. * strtofr.c, tests/tstrtofr.c: Add a new test and clarify a comment. * strtofr.c: Update Assertion for pow2. 2004-09-20 Patrick Pelissier <patrick.peliss...@loria.fr> * NEWS: Update NEWS. * TODO: Update TODO due to new function mpfr_strtofr * configure.in, get_d.c, mpfr-impl.h, mpfr.h, set_d.c, strtofr.c, tests/memory.c, tests/tdiv.c, tests/tests.c, tests/tget_str.c, tests/trint.c, tests/tset_d.c, tests/tset_q.c, tests/tset_str.c, tests/tstrtofr.c: Add ICC detection && support. Remove some potential warnings in the test files. * Makefile.am, mpfr.texi, strtofr.c, tests/Makefile.am, tests/tstrtofr.c: Add mpfr_strtofr function. Add mpfr_strtofr test file. Add mpfr_strtofr documentation. * configure.in: Improve GMP.h vs libgmp.a version checking. 2004-09-17entry (new function 1/sqrt(x)) 2004-09-17 Patrick Pelissier <patrick.peliss...@loria.fr> * acinclude.m4, configure.in, tests/Makefile.am: Use LIBS instead of LDADD for libraries (GMP). * configure.in: Min GMP version is 4.1.0 now. 2004-09-16 Patrick Pelissier <patrick.peliss...@loria.fr> * configure.in: Add a check if both gmp.h and libgmp.a have the same version. * mpfr-impl.h: Fix a typo. 2004-09-15 Patrick Pelissier <patrick.peliss...@loria.fr> * tests/tset_str.c: Add a forgotten regressiÀ g_b2.h from include_HEADERS to libmpfr_a_SOURCES, it doesn't want to be installed. * set_str.c: Correction to memory leak fix, need "result" for final rounding. 2003-01-17 Kevin Ryde <use...@zip.com.au> * set_str.c: Fix two memory leaks. * tests/Makefile.am (LDADD): Add $(MPFR_LIBM). * configure.in: Remove -lm setups, now handled by MPFR_CHECK_LIBM. * acinclude.m4 (MPFR_CHECK_LIBM): New macro. (MPFR_CONFIGS): Use it. 2003-01-17 Paul Zimmermann <paul.zimmerm...@loria.fr> * BUGS, NEWS, README, TODO, acinclude.m4: added copyright notices and license statements * tests/tcmp2.c: now use __gmpfr_floor_log2 instead of floor/log to get rid of math.h * tests/tagm.c: removed unused function dagm(), and get rid of math.h added tests for NaN, Inf's 2003-01-17 Vincent Lefevre <vincent.lefe...@loria.fr> * acinclude.m4: Re-added $OBJEXT, using AC_REQUIRE([AC_OBJEXT]) for old autoconf. 2003-01-16 Paul Zimmermann <paul.zimmerm...@loria.fr> * tests/tcmp2.c: put back math.h * tests/tagm.c: added back math.h (for sqrt) * Makefile.am: added log_b2.h in include_HEADERS * tests/Makefile.am: added tsin_cos * tests/tadd.c: added #ifdef HAVE_DENORMS for denormalized test * tests/tcmp2.c, tests/tcmp_ui.c, tests/teq.c, tests/tmul_ui.c, tests/tout_str.c, tests/tset.c, tests/tsub.c: removed math.h * tests/tset_d.c, tests/tsin.c, tests/tsin_cos.c, tests/tsqrt.c, tests/tsqrt_ui.c, tests/tsub_ui.c, tests/tadd.c, tests/tcmp.c, tests/tcos.c, tests/tdiv.c, tests/tdiv_ui.c, tests/texp.c, tests/tlog.c, tests/tmul.c: added year 2003 in copyright line removed math.h * tests/ttan.c, tests/tui_div.c, tests/tui_sub.c: added 2003, removed math.h * tests/tabs.c: added 2003 * tests/tadd_ui.c: added 2003, removed math.h * tests/tagm.c: removed math.h * tests/tset_str.c, tests/memory.c: added 2003 * tests/trandom.c: removed math.h * tests/tget_str.c: added year 2003 removed math.h * tests/tadd.c: patch for compiler bug on hppa2.0w-hp-hpux11.11 2003-01-16 Vincent Lefevre <vincent.lefe...@loria.fr> * set_ld.c: Macro LONGDOUBLE_ISNAN wasn't defined. 2003-01-16 Paul Zimmermann <paul.zimmerm...@loria.fr> * mpà ðdc ðd x.loria.fr> * algorithms.tex: correction d'erreurs sur les notations + correction de la regle 9 2001-10-12 Paul Zimmermann <zimme...@greux.loria.fr> * mpfr-impl.h: fixed MPFR_ASSERT documented MPFR_ASSERTN and MPFR_ASSERTD * tests/tset_f.c: added test for mpfr_init_set_f prototype * tests/tmul_ui.c: added test for inexact flag corrected a wrong test * tests/tadd.c: cosmetic change * tests/Makefile.am: added tsub_ui (did exist but forgotten in Makefile) and tset (new file) * tests/tset.c: test file for mpfr_set, initial version * mpfr.texi: void -> int as return value for several functions and explained the ternary return value * ui_sub.c, set_f.c: implemented inexact flag * mpfr.h: void -> int as return value for new functions implementing inexact flag * set_d.c: implemeted inexact flag in mpfr_set_d * round.c: implemented inexact flag in mpfr_round * neg.c: implemented inexact flag * mul_ui.c: completely rewritten * mul.c: computation of inexact flag now directly uses mpfr_round_raw * mpfr-impl.h: added 'if' in MPFR_ASSERT to avoid compiler warning * add.c: put initial value in variables which may be used without being initialized * TODO: updated things done, added Rounding section 2001-10-11 David Daney <da...@greux.loria.fr> * algorithms.tex: ajout de log1p et expm1 2001-10-11 Paul Zimmermann <zimme...@greux.loria.fr> * tests/tatan.c: reduced number of random tests (took too much time) * tests/tsub.c: added random tests for inexact flag * sub.c, sub_ui.c: implemented inexact flag * tests/tui_sub.c, tests/tsub_ui.c: added random tests for inexact flag 2001-10-11 David Daney <da...@greux.loria.fr> * algorithms.tex: ajout du log generic et de fma 2001-10-11 Paul Zimmermann <zimme...@greux.loria.fr> * sqrt.c: inexact flag was wrong in some cases * tests/tsqrt.c: added random tests for inexact flag * tests/tasin.c: reduced number of loops per precision from 100 to 10 (test was too long) * configure: improved check for gmp-impl.h/config.h/gmp-mparam.h/longlong.h and corresponding error message * INSTALL: stack-alloc.h no longer needed (will be included in gm