diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2008-09-16 08:53:00 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2008-09-16 08:53:00 +0000 |
commit | 5f80f986d8d44760fc6e1157dffa106ca81ad41c (patch) | |
tree | 40fe12bca5c1b741d26ce1e6e1da0f73d3790af2 /ChangeLog | |
parent | bc34cd5c5d0ce98a48dc3208f29d2e8529c0ec2c (diff) | |
download | mpfr-5f80f986d8d44760fc6e1157dffa106ca81ad41c.tar.gz |
ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v".
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5629 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6179 |
1 files changed, 6175 insertions, 4 deletions
@@ -1,4 +1,6175 @@ ------------------------------------------------------------------------ +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) | 7 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++. + +------------------------------------------------------------------------ +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 reproducable 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 +<http://websympa.loria.fr/wwsympa/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 @@ -1698,7 +7869,7 @@ 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) +tgeneric.c: check the function on large arguments (±maximum_value) when the MPFR_CHECK_MAX environment variable is defined. ------------------------------------------------------------------------ @@ -2235,7 +8406,7 @@ 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 +tgeneric.c: check the function on tiny arguments (±2^(emin-1)) when the MPFR_CHECK_TINY environment variable is defined. ------------------------------------------------------------------------ @@ -9946,7 +16117,7 @@ Changed paths: M /trunk/mpfr.texi M /trunk/tests/thypot.c -hypot(±oo, NaN) now returns +oo, as in ISO C99 (wasn't documented). +hypot(±oo, NaN) now returns +oo, as in ISO C99 (wasn't documented). ------------------------------------------------------------------------ r3575 | pelissip | 2005-05-17 14:09:21 +0000 (Tue, 17 May 2005) | 2 lines @@ -19851,7 +26022,7 @@ Changed paths: A /trunk/tests/tinits.c New functions mpfr_inits, mpfr_inits2 and mpfr_clears to initialize or -free several floating-point numbers (written by Patrick Pélissier). +free several floating-point numbers (written by Patrick Pélissier). ------------------------------------------------------------------------ r2408 | lefevre | 2003-09-09 16:09:42 +0000 (Tue, 09 Sep 2003) | 4 lines |