------------------------------------------------------------------------
r6604 | vlefevre | 2009-11-30 02:38:45 +0000 (Mon, 30 Nov 2009) | 1 line
Changed paths:
   M /branches/2.4/VERSION
   M /branches/2.4/configure.in
   M /branches/2.4/mpfr.h
   M /branches/2.4/mpfr.texi
   M /branches/2.4/version.c

Updated version to 2.4.2.
------------------------------------------------------------------------
r6603 | vlefevre | 2009-11-30 02:20:23 +0000 (Mon, 30 Nov 2009) | 1 line
Changed paths:
   M /branches/2.4/uceil_exp2.c

uceil_exp2.c: fixed indentation.
------------------------------------------------------------------------
r6601 | vlefevre | 2009-11-29 03:25:20 +0000 (Sun, 29 Nov 2009) | 3 lines
Changed paths:
   M /branches/2.4/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).
[merged changeset r6599 from the trunk]
------------------------------------------------------------------------
r6600 | vlefevre | 2009-11-29 03:21:06 +0000 (Sun, 29 Nov 2009) | 1 line
Changed paths:
   M /branches/2.4/VERSION
   M /branches/2.4/configure.in
   M /branches/2.4/mpfr.h
   M /branches/2.4/mpfr.texi
   M /branches/2.4/version.c

Switched version back to 2.4.2-dev.
------------------------------------------------------------------------
r6591 | vlefevre | 2009-11-25 12:54:55 +0000 (Wed, 25 Nov 2009) | 1 line
Changed paths:
   M /branches/2.4/ChangeLog

ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v".
------------------------------------------------------------------------
r6590 | vlefevre | 2009-11-25 12:51:59 +0000 (Wed, 25 Nov 2009) | 1 line
Changed paths:
   M /branches/2.4/VERSION
   M /branches/2.4/configure.in
   M /branches/2.4/mpfr.h
   M /branches/2.4/mpfr.texi
   M /branches/2.4/version.c

Updated version to 2.4.2-rc3.
------------------------------------------------------------------------
r6589 | vlefevre | 2009-11-25 12:51:33 +0000 (Wed, 25 Nov 2009) | 1 line
Changed paths:
   M /branches/2.4/VERSION
   M /branches/2.4/configure.in
   M /branches/2.4/mpfr.h
   M /branches/2.4/mpfr.texi
   M /branches/2.4/version.c

Updated version to 2.4.2-rc2.
------------------------------------------------------------------------
r6588 | vlefevre | 2009-11-25 12:25:08 +0000 (Wed, 25 Nov 2009) | 1 line
Changed paths:
   M /branches/2.4/acinclude.m4
   M /branches/2.4/tests/tfprintf.c
   M /branches/2.4/tests/tprintf.c

Reverted changeset r6584 and applied modified patch by Philippe Théveny.
------------------------------------------------------------------------
r6584 | vlefevre | 2009-11-25 10:42:05 +0000 (Wed, 25 Nov 2009) | 3 lines
Changed paths:
   M /branches/2.4/acinclude.m4
   M /branches/2.4/tests/tfprintf.c
   M /branches/2.4/tests/tprintf.c

[acinclude.m4] added test for %zu
[tfprintf.c,tprintf.c] added #ifdef's for NPRINTF_ZU
[merged changeset r6582 from the trunk]
------------------------------------------------------------------------
r6583 | vlefevre | 2009-11-25 10:22:59 +0000 (Wed, 25 Nov 2009) | 1 line
Changed paths:
   M /branches/2.4/NEWS

NEWS: update.
------------------------------------------------------------------------
r6581 | vlefevre | 2009-11-25 10:17:56 +0000 (Wed, 25 Nov 2009) | 3 lines
Changed paths:
   M /branches/2.4/configure.in

configure.in: fixed the GMP CC/CFLAGS detection and replaced
"test ... -o ..." (obsolete in POSIX) by "test ... || test ..."
and "test ... -a ..." (obsolete in POSIX) by "test ... && test ...".
------------------------------------------------------------------------
r6579 | vlefevre | 2009-11-25 09:52:55 +0000 (Wed, 25 Nov 2009) | 2 lines
Changed paths:
   M /branches/2.4/tests/tstckintc.c

tests/tstckintc.c: fixed types for the printf %p format specifier
(trunk r6577).
------------------------------------------------------------------------
r6578 | vlefevre | 2009-11-25 09:52:29 +0000 (Wed, 25 Nov 2009) | 1 line
Changed paths:
   M /branches/2.4/tests/tget_ld_2exp.c

tests/tget_ld_2exp.c: %La -> %Le for C89 compatibility (trunk r6575).
------------------------------------------------------------------------
r6572 | vlefevre | 2009-11-24 23:40:14 +0000 (Tue, 24 Nov 2009) | 1 line
Changed paths:
   M /branches/2.4/NEWS

NEWS: mentions that GCC 4.4.0 does not build MPFR 2.4.2 correctly.
------------------------------------------------------------------------
r6565 | vlefevre | 2009-11-24 15:23:36 +0000 (Tue, 24 Nov 2009) | 1 line
Changed paths:
   M /branches/2.4/INSTALL

INSTALL: made instructions more clear.
------------------------------------------------------------------------
r6558 | vlefevre | 2009-11-22 23:33:49 +0000 (Sun, 22 Nov 2009) | 2 lines
Changed paths:
   M /branches/2.4/sin_cos.c

sin_cos.c: fixed bug in mpfr_can_round call (introduced in r4574).
bug20091122 no longer fails!
------------------------------------------------------------------------
r6555 | vlefevre | 2009-11-22 22:33:24 +0000 (Sun, 22 Nov 2009) | 1 line
Changed paths:
   M /branches/2.4/tests/tsin_cos.c

tests/tsin_cos.c: use !mpfr_equal_p instead of mpfr_cmp.
------------------------------------------------------------------------
r6554 | vlefevre | 2009-11-22 22:20:21 +0000 (Sun, 22 Nov 2009) | 1 line
Changed paths:
   M /branches/2.4/tests/tsin_cos.c

tests/tsin_cos.c: added bug20091122 (reported by Laurent Fousse).
------------------------------------------------------------------------
r6553 | vlefevre | 2009-11-22 22:10:35 +0000 (Sun, 22 Nov 2009) | 1 line
Changed paths:
   M /branches/2.4/VERSION
   M /branches/2.4/configure.in
   M /branches/2.4/mpfr.h
   M /branches/2.4/mpfr.texi
   M /branches/2.4/version.c

Switched version back to 2.4.2-dev.
------------------------------------------------------------------------
r6551 | vlefevre | 2009-11-20 21:43:14 +0000 (Fri, 20 Nov 2009) | 1 line
Changed paths:
   M /branches/2.4/ChangeLog

ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v".
------------------------------------------------------------------------
r6549 | vlefevre | 2009-11-20 21:34:36 +0000 (Fri, 20 Nov 2009) | 1 line
Changed paths:
   M /branches/2.4/tests/tconst_pi.c

tests/tconst_pi.c: fixed types for C++.
------------------------------------------------------------------------
r6548 | vlefevre | 2009-11-20 13:58:23 +0000 (Fri, 20 Nov 2009) | 1 line
Changed paths:
   M /branches/2.4/ChangeLog

ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v".
------------------------------------------------------------------------
r6547 | vlefevre | 2009-11-20 13:57:05 +0000 (Fri, 20 Nov 2009) | 1 line
Changed paths:
   M /branches/2.4/VERSION
   M /branches/2.4/configure.in
   M /branches/2.4/mpfr.h
   M /branches/2.4/mpfr.texi
   M /branches/2.4/version.c

Updated version to 2.4.2-rc2.
------------------------------------------------------------------------
r6546 | vlefevre | 2009-11-20 13:55:15 +0000 (Fri, 20 Nov 2009) | 1 line
Changed paths:
   M /branches/2.4/NEWS

NEWS: update.
------------------------------------------------------------------------
r6544 | vlefevre | 2009-11-20 12:46:43 +0000 (Fri, 20 Nov 2009) | 2 lines
Changed paths:
   M /branches/2.4/mpfr.h
   M /branches/2.4/mpfr.texi

Changeset r6160 broke Solaris builds. Fixed that by no longer checking
INTMAX_MAX and UINTMAX_MAX to detect use of <stdint.h> / <inttypes.h>.
------------------------------------------------------------------------
r6542 | vlefevre | 2009-11-10 14:54:26 +0000 (Tue, 10 Nov 2009) | 2 lines
Changed paths:
   M /branches/2.4/tests/tcos.c

tests/tcos.c: added testcase associated with the bug fixed in r6536.
[Ported testcase r6534 from the trunk.]
------------------------------------------------------------------------
r6541 | vlefevre | 2009-11-09 01:44:27 +0000 (Mon, 09 Nov 2009) | 2 lines
Changed paths:
   M /branches/2.4/cache.c
   M /branches/2.4/tests/tconst_pi.c

Fixed bug in cache.c with directed rounding, and added corresponding
testcase in tests/tconst_pi.c [Ported changeset r6527 from the trunk]
------------------------------------------------------------------------
r6540 | vlefevre | 2009-11-09 01:31:08 +0000 (Mon, 09 Nov 2009) | 2 lines
Changed paths:
   M /branches/2.4/cache.c
   M /branches/2.4/mpfr-impl.h

[cache.c, mpfr-impl.h] Removed mpfr_init_cache (unused and undocumented
function). [Patches r6070, r6074 and r6077 merged from the trunk.]
------------------------------------------------------------------------
r6539 | vlefevre | 2009-11-09 01:17:50 +0000 (Mon, 09 Nov 2009) | 2 lines
Changed paths:
   M /branches/2.4/lngamma.c

[lngamma.c] Fixed typo, added comments about argument reduction, and
replaced code using doubles. [Patch r6520 ported from the trunk.]
------------------------------------------------------------------------
r6538 | vlefevre | 2009-11-09 01:01:32 +0000 (Mon, 09 Nov 2009) | 2 lines
Changed paths:
   M /branches/2.4/li2.c
   M /branches/2.4/tests/tli2.c

Fixed bug in mpfr_li2 when x is near 0 and added testcase.
[Patch r6512 ported from the trunk.]
------------------------------------------------------------------------
r6536 | vlefevre | 2009-11-02 01:33:07 +0000 (Mon, 02 Nov 2009) | 2 lines
Changed paths:
   M /branches/2.4/cos.c

cos.c: fixed case where reduced argument is zero.
[merged r6535 from trunk]
------------------------------------------------------------------------
r6532 | vlefevre | 2009-10-30 15:01:40 +0000 (Fri, 30 Oct 2009) | 4 lines
Changed paths:
   M /branches/2.4/tests/tsin_cos.c

tests/tsin_cos.c: because I'm not confident in the current sin_cos.c
code, I've reduced the precision again in the consistency test (so that
it is more likely to find a bad case). This yields an assertion failure
in get_exp.c (Linux/x86_64). Hardcoded testcase will come later.
------------------------------------------------------------------------
r6531 | vlefevre | 2009-10-30 14:54:44 +0000 (Fri, 30 Oct 2009) | 1 line
Changed paths:
   M /branches/2.4/sin_cos.c

sin_cos.c: ported the patch r6507 from the trunk.
------------------------------------------------------------------------
r6530 | vlefevre | 2009-10-30 14:50:45 +0000 (Fri, 30 Oct 2009) | 2 lines
Changed paths:
   M /branches/2.4/tests/tsin_cos.c

tests/tsin_cos.c: modified bug20091008 so that the failure occurs
(in the 2.4 branch).
------------------------------------------------------------------------
r6529 | vlefevre | 2009-10-30 14:44:38 +0000 (Fri, 30 Oct 2009) | 3 lines
Changed paths:
   M /branches/2.4/tests/tsin_cos.c

tests/tsin_cos.c: in the consistency test, use smaller precisions
to make the bug r6507 more likely to appear, and indeed it appears
under Linux/x86_64 with the default seed.
------------------------------------------------------------------------
r6528 | vlefevre | 2009-10-30 14:09:20 +0000 (Fri, 30 Oct 2009) | 1 line
Changed paths:
   M /branches/2.4/tests/tsin_cos.c

tests/tsin_cos.c: added consistency check.
------------------------------------------------------------------------
r6508 | vlefevre | 2009-10-09 07:16:43 +0000 (Fri, 09 Oct 2009) | 3 lines
Changed paths:
   M /branches/2.4/tests/tsin_cos.c

tests/tsin_cos.c: ported testcase bug20091008 from the trunk (r6507)
without checking the inexact value because of its new meaning in the
trunk, but it doesn't seem to show any bug in the 2.4 branch.
------------------------------------------------------------------------
r6500 | vlefevre | 2009-09-29 14:55:23 +0000 (Tue, 29 Sep 2009) | 4 lines
Changed paths:
   M /branches/2.4/atan.c

atan.c: replaced the test oldn0 < 3*n0+1 by oldn0 < 3 * (n0 + 1) like
in the trunk (r6483). Since the expression 3 * (n0 + 1) is used later,
this makes the code more readable; but as oldn0 is a multiple of 3,
both tests are equivalent (and equivalent to oldn0 <= 3*n0).
------------------------------------------------------------------------
r6499 | vlefevre | 2009-09-29 14:44:29 +0000 (Tue, 29 Sep 2009) | 1 line
Changed paths:
   M /branches/2.4/FAQ.html

FAQ update.
------------------------------------------------------------------------
r6491 | vlefevre | 2009-09-25 11:06:38 +0000 (Fri, 25 Sep 2009) | 1 line
Changed paths:
   M /branches/2.4/tests/Makefile.am

tests/Makefile.am: added information about LOADLIBES.
------------------------------------------------------------------------
r6481 | vlefevre | 2009-09-20 23:32:06 +0000 (Sun, 20 Sep 2009) | 1 line
Changed paths:
   M /branches/2.4/mpfrlint

mpfrlint: check that lines aren't too long.
------------------------------------------------------------------------
r6479 | vlefevre | 2009-09-20 19:07:20 +0000 (Sun, 20 Sep 2009) | 2 lines
Changed paths:
   M /branches/2.4/Makefile.am

Makefile.am: line-wrap libmpfr_la_SOURCES (M-q with Emacs) for
compatibility with some vendor grep.
------------------------------------------------------------------------
r6477 | vlefevre | 2009-09-20 19:02:29 +0000 (Sun, 20 Sep 2009) | 2 lines
Changed paths:
   M /branches/2.4/Makefile.am
   M /branches/2.4/tests/Makefile.am

Makefile.am, tests/Makefile.am: patch from Ralf Wildenhues (backported).
http://lists.gnu.org/archive/html/bug-automake/2009-09/msg00033.html
------------------------------------------------------------------------
r6472 | vlefevre | 2009-09-18 14:52:05 +0000 (Fri, 18 Sep 2009) | 2 lines
Changed paths:
   M /branches/2.4/frac.c
   M /branches/2.4/tests/tfrac.c

frac.c, tests/tfrac.c: fixed underflow case in mpfr_frac and added
testcase. [Bug fixed in r6471 in the trunk.]
------------------------------------------------------------------------
r6468 | vlefevre | 2009-09-18 13:54:38 +0000 (Fri, 18 Sep 2009) | 3 lines
Changed paths:
   M /branches/2.4/frac.c
   M /branches/2.4/tests/tfrac.c

[frac.c] Patch r6457 was incorrect: the problem with the non-significant
bits had to be dealt with only in the case t = r. This is now fixed
(corresponding changesets in trunk: 6458, 6460, 6464, 6467).
------------------------------------------------------------------------
r6457 | vlefevre | 2009-09-18 11:36:15 +0000 (Fri, 18 Sep 2009) | 3 lines
Changed paths:
   M /branches/2.4/frac.c
   M /branches/2.4/tests/tfrac.c

frac.c, tests/tfrac.c: fixed bug in mpfr_frac (the non-significant bits
in low limb were not cleared) and added testcase (this corresponds to
changesets 6453 to 6456 in trunk).
------------------------------------------------------------------------
r6452 | vlefevre | 2009-09-18 10:39:02 +0000 (Fri, 18 Sep 2009) | 1 line
Changed paths:
   M /branches/2.4/tests/tmodf.c

tests/tmodf.c: typo in error message.
------------------------------------------------------------------------
r6438 | vlefevre | 2009-09-15 13:15:48 +0000 (Tue, 15 Sep 2009) | 1 line
Changed paths:
   M /branches/2.4/mpfrlint

mpfrlint: bug fix.
------------------------------------------------------------------------
r6436 | vlefevre | 2009-09-15 13:13:34 +0000 (Tue, 15 Sep 2009) | 1 line
Changed paths:
   M /branches/2.4/mpfr.texi

mpfr.texi: updated the month.
------------------------------------------------------------------------
r6434 | vlefevre | 2009-09-15 13:12:45 +0000 (Tue, 15 Sep 2009) | 1 line
Changed paths:
   M /branches/2.4/mpfrlint

mpfrlint: execute svn in C locale.
------------------------------------------------------------------------
r6432 | vlefevre | 2009-09-15 13:11:08 +0000 (Tue, 15 Sep 2009) | 1 line
Changed paths:
   M /branches/2.4/mpfrlint

mpfrlint: check mpfr.texi's UPDATED-MONTH.
------------------------------------------------------------------------
r6430 | vlefevre | 2009-09-15 12:41:52 +0000 (Tue, 15 Sep 2009) | 1 line
Changed paths:
   M /branches/2.4/VERSION
   M /branches/2.4/configure.in
   M /branches/2.4/mpfr.h
   M /branches/2.4/mpfr.texi
   M /branches/2.4/version.c

Switched version back to 2.4.2-dev.
------------------------------------------------------------------------
r6429 | vlefevre | 2009-09-15 12:27:04 +0000 (Tue, 15 Sep 2009) | 1 line
Changed paths:
   M /branches/2.4/mpfr.texi

mpfr.texi: updated mpfr_sum description from the trunk.
------------------------------------------------------------------------
r6422 | vlefevre | 2009-09-14 21:32:40 +0000 (Mon, 14 Sep 2009) | 6 lines
Changed paths:
   M /branches/2.4/get_ld.c
   M /branches/2.4/tests/tget_ld_2exp.c

get_ld.c, tests/tget_ld_2exp.c: backported patch r6418 fixing bug
reported by Nelson Beebe:
  http://websympa.loria.fr/wwsympa/arc/mpfr/2009-05/msg00061.html
  http://article.gmane.org/gmane.comp.lib.mpfr.general/119
Note: the test also works on platforms where 1e-16383 is not
representable as a long double (one should have d = e = 0).
------------------------------------------------------------------------
r6420 | vlefevre | 2009-09-14 16:20:45 +0000 (Mon, 14 Sep 2009) | 1 line
Changed paths:
   M /branches/2.4/iszero.c

iszero.c: corrected a comment.
------------------------------------------------------------------------
r6416 | vlefevre | 2009-09-11 23:28:46 +0000 (Fri, 11 Sep 2009) | 6 lines
Changed paths:
   M /branches/2.4/vasprintf.c

vasprintf.c: fixed problem reported on
  http://websympa.loria.fr/wwsympa/arc/mpfr/2009-09/msg00012.html
  http://article.gmane.org/gmane.comp.lib.mpfr.general/409
for mingw32, which defines wint_t as an unsigned short (though
this is here forbidden by the ISO C99 standard).
[changeset 6415 from the trunk]
------------------------------------------------------------------------
r6406 | vlefevre | 2009-09-02 23:00:55 +0000 (Wed, 02 Sep 2009) | 1 line
Changed paths:
   M /branches/2.4/atan2.c
   M /branches/2.4/div.c
   M /branches/2.4/exp2.c
   M /branches/2.4/gen_inverse.h
   M /branches/2.4/get_str.c
   M /branches/2.4/mpfr-impl.h
   M /branches/2.4/mpfr-longlong.h
   M /branches/2.4/mpn_exp.c
   M /branches/2.4/pow.c
   M /branches/2.4/pow_z.c
   M /branches/2.4/rec_sqrt.c
   M /branches/2.4/rint.c
   M /branches/2.4/round_near_x.c
   M /branches/2.4/strtofr.c
   M /branches/2.4/sub.c
   M /branches/2.4/sub1.c
   M /branches/2.4/tests/tests.c
   M /branches/2.4/tests/texp.c
   M /branches/2.4/tests/tli2.c

towards -> toward (consistency).
------------------------------------------------------------------------
r6405 | vlefevre | 2009-09-02 22:49:53 +0000 (Wed, 02 Sep 2009) | 1 line
Changed paths:
   M /branches/2.4/tests/tests.c

tests/tests.c: typo in comment.
------------------------------------------------------------------------
r6395 | vlefevre | 2009-08-26 23:29:08 +0000 (Wed, 26 Aug 2009) | 1 line
Changed paths:
   M /branches/2.4/tests/tsprintf.c

tsprintf.c: fixed locale_da_DK test.
------------------------------------------------------------------------
r6392 | vlefevre | 2009-08-26 16:58:50 +0000 (Wed, 26 Aug 2009) | 1 line
Changed paths:
   M /branches/2.4/tests/tsprintf.c

tests/tsprintf.c: bug fix (uncommented an "exit(1);").
------------------------------------------------------------------------
r6388 | vlefevre | 2009-08-26 09:53:25 +0000 (Wed, 26 Aug 2009) | 1 line
Changed paths:
   M /branches/2.4/ChangeLog

ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v".
------------------------------------------------------------------------
r6387 | vlefevre | 2009-08-26 09:49:08 +0000 (Wed, 26 Aug 2009) | 1 line
Changed paths:
   M /branches/2.4/Makefile.am
   M /branches/2.4/VERSION
   M /branches/2.4/configure.in
   M /branches/2.4/mpfr.h
   M /branches/2.4/mpfr.texi
   M /branches/2.4/version.c

Updated version to 2.4.2-rc1. Updated libmpfr_la_LDFLAGS in Makefile.am.
------------------------------------------------------------------------
r6386 | vlefevre | 2009-08-26 09:43:45 +0000 (Wed, 26 Aug 2009) | 1 line
Changed paths:
   M /branches/2.4/NEWS

NEWS: update.
------------------------------------------------------------------------
r6385 | vlefevre | 2009-08-26 09:41:47 +0000 (Wed, 26 Aug 2009) | 2 lines
Changed paths:
   M /branches/2.4/README.dev

README.dev: removed the part about mpfr-longlong.h, which can no longer
be updated from GMP in the 2.4 branch due to the licence change in GMP.
------------------------------------------------------------------------
r6384 | vlefevre | 2009-08-26 09:39:05 +0000 (Wed, 26 Aug 2009) | 1 line
Changed paths:
   M /branches/2.4/README.dev

README.dev: update from the trunk.
------------------------------------------------------------------------
r6383 | vlefevre | 2009-08-26 09:36:50 +0000 (Wed, 26 Aug 2009) | 8 lines
Changed paths:
   M /branches/2.4/Makefile.am
   M /branches/2.4/README
   A /branches/2.4/examples (from /trunk/examples:6368)
   M /branches/2.4/examples/ReadMe
   M /branches/2.4/examples/divworst.c
   M /branches/2.4/examples/rndo-add.c
   M /branches/2.4/examples/sample.c
   M /branches/2.4/mpfr.texi

Install some documentation files and examples (merged changesets
6362 and 6368 from the trunk, with the necessary updates for the
2.4 branch). Details:
  * Added "examples" directory with a ReadMe file and 3 examples
    (keeping the same licence as the library).
  * Makefile.am: added nobase_dist_doc_DATA.
  * README: added "examples/".
  * mpfr.texi: update concerning install directories.
------------------------------------------------------------------------
r6382 | vlefevre | 2009-08-26 08:51:41 +0000 (Wed, 26 Aug 2009) | 6 lines
Changed paths:
   M /branches/2.4/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.
[merged changeset 6381 from the trunk]
------------------------------------------------------------------------
r6379 | vlefevre | 2009-08-25 12:32:27 +0000 (Tue, 25 Aug 2009) | 1 line
Changed paths:
   M /branches/2.4/NEWS

NEWS: update.
------------------------------------------------------------------------
r6377 | vlefevre | 2009-08-25 12:19:58 +0000 (Tue, 25 Aug 2009) | 4 lines
Changed paths:
   M /branches/2.4/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).
------------------------------------------------------------------------
r6371 | vlefevre | 2009-08-21 21:56:04 +0000 (Fri, 21 Aug 2009) | 2 lines
Changed paths:
   M /branches/2.4/mpfr.texi

mpfr.texi: various changes about the IEEE 754-2008 standard, as done
in r6030.
------------------------------------------------------------------------
r6370 | vlefevre | 2009-08-21 21:43:48 +0000 (Fri, 21 Aug 2009) | 1 line
Changed paths:
   M /branches/2.4/mpfr.texi

mpfr.texi: the sign bit of a NaN is unspecified.
------------------------------------------------------------------------
r6361 | vlefevre | 2009-08-05 11:40:22 +0000 (Wed, 05 Aug 2009) | 1 line
Changed paths:
   M /branches/2.4/mpfr.texi

mpfr.texi: updated section "Installing MPFR".
------------------------------------------------------------------------
r6359 | vlefevre | 2009-08-05 10:39:23 +0000 (Wed, 05 Aug 2009) | 1 line
Changed paths:
   M /branches/2.4/mpfr.texi

mpfr.texi: corrected a spelling mistake.
------------------------------------------------------------------------
r6357 | vlefevre | 2009-08-05 10:25:24 +0000 (Wed, 05 Aug 2009) | 4 lines
Changed paths:
   M /branches/2.4/Makefile.am
   M /branches/2.4/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).
------------------------------------------------------------------------
r6355 | vlefevre | 2009-08-04 00:55:34 +0000 (Tue, 04 Aug 2009) | 3 lines
Changed paths:
   M /branches/2.4/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.
------------------------------------------------------------------------
r6343 | vlefevre | 2009-07-20 20:58:15 +0000 (Mon, 20 Jul 2009) | 1 line
Changed paths:
   M /branches/2.4/NEWS

NEWS: update.
------------------------------------------------------------------------
r6342 | thevenyp | 2009-07-20 15:32:22 +0000 (Mon, 20 Jul 2009) | 2 lines
Changed paths:
   M /branches/2.4/NEWS

NEWS: Add the new mpfr_printf behavior for empty precision field with "%Rf".

------------------------------------------------------------------------
r6341 | thevenyp | 2009-07-20 15:21:02 +0000 (Mon, 20 Jul 2009) | 5 lines
Changed paths:
   M /branches/2.4/mpfr.texi
   M /branches/2.4/tests/tfprintf.c
   M /branches/2.4/tests/tprintf.c
   M /branches/2.4/tests/tsprintf.c
   M /branches/2.4/vasprintf.c

mpfr.texi: Restate subsection Formatted Output Functions/Format String.
vasprintf.c: 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.
[merge r6256 r6257 r6340 from trunk]

------------------------------------------------------------------------
r6338 | vlefevre | 2009-07-17 20:53:06 +0000 (Fri, 17 Jul 2009) | 2 lines
Changed paths:
   M /branches/2.4/coth.c
   M /branches/2.4/tests/tcoth.c

[coth.c, tcoth.c] fixed coth(+/0) which was wrong (reported by
Christopher Creutzig) [merged changeset 6334 from trunk]
------------------------------------------------------------------------
r6331 | thevenyp | 2009-07-08 13:58:53 +0000 (Wed, 08 Jul 2009) | 3 lines
Changed paths:
   M /branches/2.4/vasprintf.c

vasprintf.c: Fix bug in precision 0 with format %.0Rf (0.5 rounds to 0). Fix bug with %Rf, non-zero precision and a value rounded up to the next power of ten.
[merge r6325 r6328 r6329 r6330 from trunk]

------------------------------------------------------------------------
r6327 | vlefevre | 2009-07-08 10:43:38 +0000 (Wed, 08 Jul 2009) | 1 line
Changed paths:
   M /branches/2.4/tests/tsprintf.c

tsprintf.c: added tests of some halfway cases.
------------------------------------------------------------------------
r6321 | vlefevre | 2009-07-08 07:37:27 +0000 (Wed, 08 Jul 2009) | 1 line
Changed paths:
   M /branches/2.4/tests/tsprintf.c

tsprintf.c: added a test that triggers an assertion failure.
------------------------------------------------------------------------
r6318 | vlefevre | 2009-07-08 07:15:04 +0000 (Wed, 08 Jul 2009) | 2 lines
Changed paths:
   M /branches/2.4/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).
------------------------------------------------------------------------
r6317 | vlefevre | 2009-07-07 08:21:19 +0000 (Tue, 07 Jul 2009) | 1 line
Changed paths:
   M /branches/2.4/tests/tsprintf.c

tsprintf.c: added test on emax (for %Ra and %Rb).
------------------------------------------------------------------------
r6312 | vlefevre | 2009-07-06 12:45:55 +0000 (Mon, 06 Jul 2009) | 1 line
Changed paths:
   M /branches/2.4/ChangeLog

ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v".
------------------------------------------------------------------------
r6309 | thevenyp | 2009-07-06 11:45:46 +0000 (Mon, 06 Jul 2009) | 3 lines
Changed paths:
   M /branches/2.4/tests/tfprintf.c
   M /branches/2.4/tests/tprintf.c

tests/tfprintf.c tests/tprintf.c: Do not test very small values with %f.
[merge r6279 from trunk]

------------------------------------------------------------------------
r6308 | vlefevre | 2009-07-06 11:17:15 +0000 (Mon, 06 Jul 2009) | 1 line
Changed paths:
   M /branches/2.4/mpfr.texi

mpfr.texi: updated the month.
------------------------------------------------------------------------
r6306 | vlefevre | 2009-07-06 11:16:26 +0000 (Mon, 06 Jul 2009) | 1 line
Changed paths:
   M /branches/2.4/mpfr.texi

mpfr.texi consistency: @var{stdout} -> @code{stdout}.
------------------------------------------------------------------------
r6304 | vlefevre | 2009-07-06 11:09:34 +0000 (Mon, 06 Jul 2009) | 2 lines
Changed paths:
   M /branches/2.4/vasprintf.c

vasprintf.c: do not use a potential function call in SAFE_ABS macro.
[merged changeset 6303 from trunk]
------------------------------------------------------------------------
r6302 | thevenyp | 2009-07-06 08:37:51 +0000 (Mon, 06 Jul 2009) | 2 lines
Changed paths:
   M /branches/2.4/tests/tsprintf.c
   M /branches/2.4/vasprintf.c

vasprintf.c tests/tsprintf.c: deleted trailing spaces.

------------------------------------------------------------------------
r6299 | thevenyp | 2009-06-29 13:24:48 +0000 (Mon, 29 Jun 2009) | 4 lines
Changed paths:
   M /branches/2.4/tests/tsprintf.c
   M /branches/2.4/vasprintf.c

vasprintf.c: Fix bug with %.0Rg and %.0Rf when the value to display is rounded up to the next power of ten.
tests/tsprintf.c: Tests for %Rf and %Rg when the value to display is rounded up to the next power of ten.
[merge r6298 from trunk]

------------------------------------------------------------------------
r6291 | vlefevre | 2009-06-23 02:17:11 +0000 (Tue, 23 Jun 2009) | 1 line
Changed paths:
   M /branches/2.4/mpfr.texi

mpfr.texi: updated the month.
------------------------------------------------------------------------
r6289 | vlefevre | 2009-06-23 02:14:06 +0000 (Tue, 23 Jun 2009) | 2 lines
Changed paths:
   M /branches/2.4/mpfr.texi

mpfr.texi: fixed description of mpfr_get_str in the case n = 0
(merged changesets 6269, 6270 and 6287 from the trunk).
------------------------------------------------------------------------
r6288 | vlefevre | 2009-06-23 02:11:50 +0000 (Tue, 23 Jun 2009) | 1 line
Changed paths:
   M /branches/2.4/get_str.c

get_str.c: added a space.
------------------------------------------------------------------------
r6284 | vlefevre | 2009-06-21 20:55:24 +0000 (Sun, 21 Jun 2009) | 1 line
Changed paths:
   M /branches/2.4/vasprintf.c

vasprintf.c: corrected comments.
------------------------------------------------------------------------
r6281 | thevenyp | 2009-06-19 16:46:41 +0000 (Fri, 19 Jun 2009) | 4 lines
Changed paths:
   M /branches/2.4/tests/tfprintf.c
   M /branches/2.4/tests/tprintf.c
   M /branches/2.4/tests/tsprintf.c
   M /branches/2.4/vasprintf.c

vasprintf.c: Fix bug with %%, %.0Ra, %.0Rb (now accepted as precision 0), %.0Rg and %.0Rf when the value to display is rounded up to the next power of the base.
tests/tfprintf.c tests/tsprintf.c tests/tprintf.c: Tests for %%, and fixed behavior of %Ra, %Rb, %Rf and %Rg.
[merge r6258 r6265 r6278 r6280 from trunk]

------------------------------------------------------------------------
r6273 | vlefevre | 2009-06-14 11:55:47 +0000 (Sun, 14 Jun 2009) | 5 lines
Changed paths:
   M /branches/2.4/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.
  http://websympa.loria.fr/wwsympa/arc/mpfr/2009-06/msg00036.html
  http://article.gmane.org/gmane.comp.lib.mpfr.general/174
------------------------------------------------------------------------
r6262 | vlefevre | 2009-05-29 13:52:51 +0000 (Fri, 29 May 2009) | 1 line
Changed paths:
   M /branches/2.4/vasprintf.c

vasprintf.c: do not use GMP's namespace for identifiers defined in MPFR.
------------------------------------------------------------------------
r6260 | vlefevre | 2009-05-29 12:28:55 +0000 (Fri, 29 May 2009) | 1 line
Changed paths:
   M /branches/2.4/mpfr.h

mpfr.h: rewrote a comment.
------------------------------------------------------------------------
r6253 | thevenyp | 2009-05-27 15:02:46 +0000 (Wed, 27 May 2009) | 2 lines
Changed paths:
   M /branches/2.4/NEWS

NEWS: remind buffer overflow fixed with r6223.

------------------------------------------------------------------------
r6250 | thevenyp | 2009-05-27 13:38:36 +0000 (Wed, 27 May 2009) | 3 lines
Changed paths:
   M /branches/2.4/get_d64.c
   M /branches/2.4/set_d64.c

get_d64.c set_d64.c: Fix types.
[merge r6190 r6248 from trunk]

------------------------------------------------------------------------
r6249 | thevenyp | 2009-05-27 13:33:17 +0000 (Wed, 27 May 2009) | 2 lines
Changed paths:
   M /branches/2.4/get_d64.c
   M /branches/2.4/set_d64.c

get_d64.c set_d64.c: revert r6215.

------------------------------------------------------------------------
r6244 | vlefevre | 2009-05-27 02:25:42 +0000 (Wed, 27 May 2009) | 1 line
Changed paths:
   M /branches/2.4/mpfr.texi

mpfr.texi: updated the month.
------------------------------------------------------------------------
r6243 | vlefevre | 2009-05-27 02:22:18 +0000 (Wed, 27 May 2009) | 1 line
Changed paths:
   M /branches/2.4/mpfr.h

mpfr.h untabified.
------------------------------------------------------------------------
r6242 | vlefevre | 2009-05-27 02:21:30 +0000 (Wed, 27 May 2009) | 1 line
Changed paths:
   M /branches/2.4/tests/tfmod.c

tests/tfmod.c: deleted trailing whitespace.
------------------------------------------------------------------------
r6239 | vlefevre | 2009-05-20 22:43:16 +0000 (Wed, 20 May 2009) | 2 lines
Changed paths:
   M /branches/2.4/tests/tgeneric.c

tests/tgeneric.c: corrected comment from r6238 (the mpfr_fmod bug was
actually fixed in r6235 for the 2.4 branch).
------------------------------------------------------------------------
r6238 | vlefevre | 2009-05-20 22:34:09 +0000 (Wed, 20 May 2009) | 4 lines
Changed paths:
   M /branches/2.4/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 the trunk
in r6230 (and potentially other bugs). Thanks to Eric Veach for the
idea. [This change is almost r6237 from the trunk.]
------------------------------------------------------------------------
r6235 | thevenyp | 2009-05-20 16:08:03 +0000 (Wed, 20 May 2009) | 4 lines
Changed paths:
   M /branches/2.4/rem1.c
   M /branches/2.4/tests/mpfr-test.h
   M /branches/2.4/tests/tfmod.c

rem1.c tests/tfmod.c: Fix bug found by Eric Veach.
tests/mpfr-test.h: added mpfr_cmp_ui0 macro (check that x is not a NaN).
[merge -r 6229:6234 from trunk]

------------------------------------------------------------------------
r6228 | thevenyp | 2009-05-14 12:19:07 +0000 (Thu, 14 May 2009) | 2 lines
Changed paths:
   M /branches/2.4/NEWS

NEWS: Update.

------------------------------------------------------------------------
r6227 | thevenyp | 2009-05-14 11:56:16 +0000 (Thu, 14 May 2009) | 4 lines
Changed paths:
   M /branches/2.4/tests/tests.c

tests/tests.c (data_check): try to open the data file first from the
build directory, then from the source directory.
[merge r6177 from trunk]

------------------------------------------------------------------------
r6226 | thevenyp | 2009-05-14 11:49:45 +0000 (Thu, 14 May 2009) | 6 lines
Changed paths:
   M /branches/2.4/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.
[merge r6176 from trunk]

------------------------------------------------------------------------
r6225 | thevenyp | 2009-05-14 11:45:00 +0000 (Thu, 14 May 2009) | 3 lines
Changed paths:
   M /branches/2.4/INSTALL

INSTALL: updated Notes on AIX/PowerPC
[merge r6159 r6182 from trunk]

------------------------------------------------------------------------
r6224 | thevenyp | 2009-05-14 09:55:00 +0000 (Thu, 14 May 2009) | 5 lines
Changed paths:
   M /branches/2.4/acinclude.m4
   M /branches/2.4/printf.c
   M /branches/2.4/vasprintf.c

acinclude.m4: Change MPFR_FUNC_PRINTF_SPEC (renamed MPFR_FUNC_GMP_PRINTF_SPEC) so that it actually checks output.
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).
[merge r6142 r6143 from trunk]

------------------------------------------------------------------------
r6223 | thevenyp | 2009-05-14 09:41:25 +0000 (Thu, 14 May 2009) | 4 lines
Changed paths:
   M /branches/2.4/tests/tfprintf.c
   M /branches/2.4/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.
[merge r6112 r6113 r6118 from trunk]

------------------------------------------------------------------------
r6222 | thevenyp | 2009-05-14 09:32:10 +0000 (Thu, 14 May 2009) | 4 lines
Changed paths:
   M /branches/2.4/tests/tprintf.c
   M /branches/2.4/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.
[merge r6096 r6110 from trunk]

------------------------------------------------------------------------
r6221 | thevenyp | 2009-05-14 08:48:57 +0000 (Thu, 14 May 2009) | 5 lines
Changed paths:
   M /branches/2.4/tests/tprintf.c
   M /branches/2.4/tests/tsprintf.c
   M /branches/2.4/vasprintf.c

vasprintf.c: Fix behavior in case of error as in the documentation (return -1 when the format string is invalid).
tests/tsprintf.c: Improve code coverage.
tests/tprintf.c: Additional checks with invalid format strings.
[merge r6081 r6095 r6108 from trunk]

------------------------------------------------------------------------
r6219 | thevenyp | 2009-05-13 17:41:45 +0000 (Wed, 13 May 2009) | 3 lines
Changed paths:
   M /branches/2.4/vasprintf.c

vasprintf.c: Code cleaning.
[merge r6098 r6099 r6100 from trunk]

------------------------------------------------------------------------
r6218 | thevenyp | 2009-05-13 17:31:34 +0000 (Wed, 13 May 2009) | 3 lines
Changed paths:
   M /branches/2.4/vasprintf.c

vasprintf.c: Fix bug.
[merge -c 6097 from trunk]

------------------------------------------------------------------------
r6217 | thevenyp | 2009-05-13 17:19:59 +0000 (Wed, 13 May 2009) | 3 lines
Changed paths:
   M /branches/2.4/mpfr.texi

mpfr.texi: Improve documentation in Formatted Output Functions/Format String subsection.
[merge r6080 r6095 r6135 r6138 from trunk]

------------------------------------------------------------------------
r6216 | thevenyp | 2009-05-13 17:10:03 +0000 (Wed, 13 May 2009) | 4 lines
Changed paths:
   M /branches/2.4/dump.c
   M /branches/2.4/get_d64.c
   M /branches/2.4/get_str.c
   M /branches/2.4/mpfr-impl.h
   M /branches/2.4/out_str.c
   M /branches/2.4/set_d.c
   M /branches/2.4/strtofr.c
   M /branches/2.4/swap.c
   M /branches/2.4/tests/tests.c
   M /branches/2.4/tests/tget_str.c
   M /branches/2.4/tests/tout_str.c
   M /branches/2.4/tests/toutimpl.c
   M /branches/2.4/tests/tpow_all.c
   M /branches/2.4/tests/trint.c
   M /branches/2.4/tests/tset_str.c
   M /branches/2.4/tests/tsin.c
   M /branches/2.4/tests/tsprintf.c
   M /branches/2.4/tests/tstckintc.c
   M /branches/2.4/tests/tstrtofr.c
   M /branches/2.4/tests/tversion.c
   M /branches/2.4/vasprintf.c

<string.h> is not automatically included when compiling with --with-gmp-build option, so put '#include <string.h>' in mpfr-impl.h, remove it elsewhere.
Other cleanup of header inclusion.
[partial merge of r6189 and r6192 from trunk]

------------------------------------------------------------------------
r6215 | thevenyp | 2009-05-13 16:58:30 +0000 (Wed, 13 May 2009) | 3 lines
Changed paths:
   M /branches/2.4/get_d64.c
   M /branches/2.4/set_d64.c

get_d64.c set_d64.c: Fix types.
[merge -c 6190 from trunk]

------------------------------------------------------------------------
r6214 | thevenyp | 2009-05-13 16:54:35 +0000 (Wed, 13 May 2009) | 7 lines
Changed paths:
   M /branches/2.4/atan.c
   M /branches/2.4/tests/tatan.c

tests/tatan.c: added testcase for bug found by Christopher Creutzig
               (atan2_different_prec). Check underflow of arctan(Inf) and
               arctan(1) with reduced exponent range.
atan.c: fixed bug when x is very near but differs from 1 atan.c: expand
        exponent range when computing arctan(Inf) and arctan(+-1).
[merge r6180 r6181 r6186 r6187 from trunk]

------------------------------------------------------------------------
r6213 | thevenyp | 2009-05-13 16:37:50 +0000 (Wed, 13 May 2009) | 7 lines
Changed paths:
   M /branches/2.4/tests/Makefile.am
   M /branches/2.4/tests/tmul.c

tests/Makefile.am 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.
[--snip--]
