diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2007-07-02 00:32:27 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2007-07-02 00:32:27 +0000 |
commit | 3dd767b0ed73c3f8f67aade1a68465b0fe9efb01 (patch) | |
tree | 542365325c42dce4752a38ee48acb7ff4ec969bc /ChangeLog | |
parent | c55c18b8e668787b143324d767dea1d534ac4f48 (diff) | |
download | mpfr-3dd767b0ed73c3f8f67aade1a68465b0fe9efb01.tar.gz |
ChangeLog update.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4605 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 43259 |
1 files changed, 35063 insertions, 8196 deletions
@@ -1,12529 +1,39396 @@ -2005-10-19 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r4604 | vlefevre | 2007-07-02 00:31:13 +0000 (Mon, 02 Jul 2007) | 2 lines +Changed paths: + M /trunk/NEWS + +NEWS: update. + +------------------------------------------------------------------------ +r4603 | vlefevre | 2007-07-01 23:17:57 +0000 (Sun, 01 Jul 2007) | 2 lines +Changed paths: + M /trunk/Makefile.am + +Makefile.am: updated comment concerning -version-info. + +------------------------------------------------------------------------ +r4602 | vlefevre | 2007-07-01 23:01:10 +0000 (Sun, 01 Jul 2007) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/NEWS + M /trunk/TODO + A /trunk/fms.c (from /trunk/fma.c:4598) + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/tests + M /trunk/tests/Makefile.am + A /trunk/tests/tfms.c (from /trunk/tests/tfma.c:4601) + +Added mpfr_fms based on mpfr_fma. + +------------------------------------------------------------------------ +r4601 | vlefevre | 2007-07-01 22:45:08 +0000 (Sun, 01 Jul 2007) | 2 lines +Changed paths: + M /trunk/tests/tfma.c + +tfma.c: added a space. + +------------------------------------------------------------------------ +r4600 | vlefevre | 2007-07-01 22:38:39 +0000 (Sun, 01 Jul 2007) | 2 lines +Changed paths: + M /trunk/tests/tfma.c + +tfma.c: typo. - * agm.c, algorithms.tex: - documented algorithm used in mpfr_agm and fixed code accordingly +------------------------------------------------------------------------ +r4599 | vlefevre | 2007-07-01 22:20:09 +0000 (Sun, 01 Jul 2007) | 2 lines +Changed paths: + M /trunk/tests/tfma.c + +Reformat. -2005-10-10 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r4598 | vlefevre | 2007-07-01 22:14:15 +0000 (Sun, 01 Jul 2007) | 2 lines +Changed paths: + M /trunk/fma.c - * TODO: added efficiency item +fma.c: minor changes for consistency with the future fms. - * mpzroot.c, root.c, rootrem.c: - now mpzroot/rootrem compile without gmp internal headers +------------------------------------------------------------------------ +r4597 | vlefevre | 2007-07-01 21:52:21 +0000 (Sun, 01 Jul 2007) | 5 lines +Changed paths: + M /trunk/BUGS + M /trunk/fma.c + M /trunk/tests/tfma.c -2005-10-07 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Completed the implementation of mpfr_fma (except in some corner cases +where overflows/underflows and huge precisions are involved at the +same time). Added underflow tests. Removed item from the BUGS file +(the remaining problems more or less correspond to the first item). - * root.c: - Disabled new rootrem/mpz_root as compilation fails (headers can't - be found). +------------------------------------------------------------------------ +r4596 | vlefevre | 2007-07-01 03:10:06 +0000 (Sun, 01 Jul 2007) | 2 lines +Changed paths: + M /trunk/cos.c + M /trunk/sin.c + M /trunk/sin_cos.c + +Untabified. - * mul.c: Temporary optimization (patch from Patrick Pelissier). +------------------------------------------------------------------------ +r4595 | vlefevre | 2007-07-01 01:58:17 +0000 (Sun, 01 Jul 2007) | 2 lines +Changed paths: + M /trunk/tests/tfma.c -2005-10-06 Vincent Lefevre <Vincent.Lefevre@loria.fr> +tfma.c: added overflow test to test_underflow. - * tests/tpow.c: - One of the tests was using the fabs function, but -lm isn't given when - generating the executable, making the linking fail under HP-UX. Fixed - by not using this fabs function. +------------------------------------------------------------------------ +r4594 | vlefevre | 2007-07-01 01:36:04 +0000 (Sun, 01 Jul 2007) | 3 lines +Changed paths: + M /trunk/fma.c + M /trunk/tests/tfma.c - * tests/tpow.c: - One of the tests was using the fabs function, but -lm isn't given when - generating the executable, making the linking fail under HP-UX. Fixed - by not using this fabs function. [2.2 branch] +fma.c: implemented the main cases where x * y underflows. +tests/tfma.c: fixed overflow tests and added underflow tests. -2005-10-05 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r4593 | vlefevre | 2007-06-30 02:11:43 +0000 (Sat, 30 Jun 2007) | 2 lines +Changed paths: + M /trunk/NEWS - * sin_cos.c: small improvement in sign detection +NEWS: update. + +------------------------------------------------------------------------ +r4592 | vlefevre | 2007-06-29 23:36:34 +0000 (Fri, 29 Jun 2007) | 2 lines +Changed paths: + M /trunk/BUGS + +BUGS: updated item on mpfr_fma. + +------------------------------------------------------------------------ +r4591 | vlefevre | 2007-06-29 23:32:29 +0000 (Fri, 29 Jun 2007) | 3 lines +Changed paths: + M /trunk/fma.c + +fma.c: completed the cases where x*y/4 needs to be used, except the very +particular cases where an underflow occurs, that remain to be done. + +------------------------------------------------------------------------ +r4590 | vlefevre | 2007-06-29 13:35:03 +0000 (Fri, 29 Jun 2007) | 2 lines +Changed paths: + M /trunk/tests/tfma.c - * Makefile.am, mpzroot.c, root.c, rootrem.c: - improved mpfr_root, using the new mpn_rootrem code written with Torbjo"rn +tfma.c: fixed a printf. -2005-09-29 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r4589 | vlefevre | 2007-06-29 13:32:20 +0000 (Fri, 29 Jun 2007) | 2 lines +Changed paths: + M /trunk/fma.c - * mpfr.h, tests/tset_si.c: - Applied the mpfr_set_ui macro patch to the 2.2 branch. +fma.c: added an assertion. - * lngamma.c, tests/tlngamma.c: - Applied the lngamma(2) patches to the 2.2 branch. +------------------------------------------------------------------------ +r4588 | vlefevre | 2007-06-29 13:30:30 +0000 (Fri, 29 Jun 2007) | 2 lines +Changed paths: + M /trunk/tests/tfma.c - * mpfr.h, tests/tset_si.c: - Fixed bug in mpfr_set_ui macro when parameters are expressions - with side effects. +tfma.c: fixed overflow tests. -2005-09-29 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r4587 | vlefevre | 2007-06-29 12:24:40 +0000 (Fri, 29 Jun 2007) | 2 lines +Changed paths: + M /trunk/tests/tfma.c - * algorithms.tex: fixed missing accent +tfma.c: check NaN in test_overflow2. + +------------------------------------------------------------------------ +r4586 | vlefevre | 2007-06-29 12:19:09 +0000 (Fri, 29 Jun 2007) | 2 lines +Changed paths: + M /trunk/fma.c + +fma.c: updated a comment. + +------------------------------------------------------------------------ +r4585 | vlefevre | 2007-06-29 12:14:55 +0000 (Fri, 29 Jun 2007) | 3 lines +Changed paths: + M /trunk/tests/tfma.c + +tfma.c: added more overflow tests (needed to distinguish the cases +where z/4 underflows or not -- see fma.c). + +------------------------------------------------------------------------ +r4584 | vlefevre | 2007-06-29 12:06:13 +0000 (Fri, 29 Jun 2007) | 3 lines +Changed paths: + M /trunk/tests/tfma.c + +tfma.c: added tests (-> assertion failed because mpfr_fma implementation +isn't complete). + +------------------------------------------------------------------------ +r4583 | vlefevre | 2007-06-28 23:01:22 +0000 (Thu, 28 Jun 2007) | 4 lines +Changed paths: + M /trunk/BUGS + M /trunk/acos.c + +acos.c: disabled change from r3145 ("Optimize mpfr_acos by choosing +a better initial precision.") that was buggy. +BUGS: removed mpfr_acos bug. + +------------------------------------------------------------------------ +r4582 | vlefevre | 2007-06-28 22:40:59 +0000 (Thu, 28 Jun 2007) | 2 lines +Changed paths: + M /trunk/BUGS + +BUGS: updated item on the mpfr_acos bug. + +------------------------------------------------------------------------ +r4581 | vlefevre | 2007-06-28 22:38:10 +0000 (Thu, 28 Jun 2007) | 4 lines +Changed paths: + M /trunk/BUGS + +BUGS: updated item on the mpfr_acos test (the bug wasn't visible on +32-bit machines due to an integer overflow, but the result should +have been correct anyway). + +------------------------------------------------------------------------ +r4580 | vlefevre | 2007-06-28 22:27:09 +0000 (Thu, 28 Jun 2007) | 4 lines +Changed paths: + M /trunk/acos.c + +acos.c: fixed integer overflows; to avoid undefined behavior, I had +to add an assertion that is not always satisfied (the code needs to +be rewritten to take tiny arguments into account). + +------------------------------------------------------------------------ +r4579 | vlefevre | 2007-06-28 17:30:39 +0000 (Thu, 28 Jun 2007) | 2 lines +Changed paths: + M /trunk/BUGS + +BUGS: update (mpfr_cot has just been fixed). + +------------------------------------------------------------------------ +r4578 | vlefevre | 2007-06-28 17:29:27 +0000 (Thu, 28 Jun 2007) | 4 lines +Changed paths: + M /trunk/cot.c + M /trunk/tests/tcot.c + +cot.c: implemented the case |x| = 2^emin. +tests/tcot.c: added tests for this case, in 3 exponent ranges +(as this is an overflow limit). + +------------------------------------------------------------------------ +r4577 | vlefevre | 2007-06-28 17:00:15 +0000 (Thu, 28 Jun 2007) | 3 lines +Changed paths: + M /trunk/div.c + +Fixed bug in div.c: rnd_mode could be modified (MPFR_INVERT_RND), but +the original value was assumed in case of underflow or overflow. + +------------------------------------------------------------------------ +r4576 | vlefevre | 2007-06-28 16:40:26 +0000 (Thu, 28 Jun 2007) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c + +tdiv.c: added a test showing another bug in mpfr_div. + +------------------------------------------------------------------------ +r4575 | vlefevre | 2007-06-28 11:54:41 +0000 (Thu, 28 Jun 2007) | 5 lines +Changed paths: + M /trunk/BUGS + M /trunk/cot.c + +cot.c: use MPFR_SAVE_EXPO_UPDATE_FLAGS, but the case +/- 2^emin could +still be buggy with the current code; added a MPFR_ASSERTN (0) until +it is implemented. +BUGS: updated item on mpfr_cot. + +------------------------------------------------------------------------ +r4574 | zimmerma | 2007-06-28 07:59:28 +0000 (Thu, 28 Jun 2007) | 4 lines +Changed paths: + M /trunk/sin.c + M /trunk/sin_cos.c + M /trunk/tan.c + M /trunk/tests/tcos.c + M /trunk/tests/tcot.c + M /trunk/tests/tcsc.c + M /trunk/tests/tsec.c + M /trunk/tests/tsin.c + M /trunk/tests/ttan.c + +fixed several problems with huge arguments in periodic functions +mpfr_sin: complete rewrite, using mpfr_remainder for argument reduction +mpfr_sin_cos: ditto + +------------------------------------------------------------------------ +r4573 | zimmerma | 2007-06-25 13:29:38 +0000 (Mon, 25 Jun 2007) | 2 lines +Changed paths: + M /trunk/cos.c + M /trunk/tests/tcos.c + +fixed stupid bug (subtraction of unsigned longs) + +------------------------------------------------------------------------ +r4572 | zimmerma | 2007-06-25 09:48:43 +0000 (Mon, 25 Jun 2007) | 3 lines +Changed paths: + M /trunk/cos.c + M /trunk/tests/tcos.c + M /trunk/tests/tgeneric.c + +cos.c: implemented argument reduction by 2Pi +tcos.c/tgeneric.c: reduce large exponent used when MPFR_CHECK_MAX is defined + +------------------------------------------------------------------------ +r4571 | vlefevre | 2007-06-22 14:45:28 +0000 (Fri, 22 Jun 2007) | 2 lines +Changed paths: + M /trunk/BUGS + +BUGS: added bugs. + +------------------------------------------------------------------------ +r4570 | vlefevre | 2007-06-22 12:15:03 +0000 (Fri, 22 Jun 2007) | 4 lines +Changed paths: + M /trunk/coth.c + M /trunk/sech.c + M /trunk/tests/tcoth.c + M /trunk/tests/tsech.c + +coth.c, sech.c: a rounding mode was incorrect. +tests/tcoth.c: added underflowed_cothinf test. +tests/tsech.c: added overflowed_sech0 test. + +------------------------------------------------------------------------ +r4569 | vlefevre | 2007-06-22 00:12:18 +0000 (Fri, 22 Jun 2007) | 8 lines +Changed paths: + M /trunk/coth.c + M /trunk/csc.c + M /trunk/csch.c + M /trunk/gen_inverse.h + M /trunk/sec.c + M /trunk/tests/tsec.c + +* gen_inverse.h: ACTION_TINY must be called after MPFR_SAVE_EXPO_MARK + (this is necessary for some functions). Moved MPFR_SAVE_EXPO_FREE + after the "end:" label. +* coth.c, csc.c, csch.c: as a consequence, MPFR_SAVE_EXPO_UPDATE_FLAGS + had to be added before "goto end;". +* sec.c: a rounding mode was incorrect. +* tests/tsec.c: added overflowed_sec0 test. + +------------------------------------------------------------------------ +r4568 | vlefevre | 2007-06-21 23:36:19 +0000 (Thu, 21 Jun 2007) | 3 lines +Changed paths: + M /trunk/sin_cos.c + M /trunk/tests/tsin_cos.c + +sin_cos.c: fixed a bug for x = 0 in reduced exponent range. +tests/tsin_cos.c: added overflowed_sin_cos0 test. + +------------------------------------------------------------------------ +r4567 | vlefevre | 2007-06-21 14:32:14 +0000 (Thu, 21 Jun 2007) | 3 lines +Changed paths: + M /trunk/BUGS + +BUGS: Some functions do not use MPFR_SAVE_EXPO_* macros, thus do not +behave correctly in a reduced exponent range. + +------------------------------------------------------------------------ +r4566 | vlefevre | 2007-06-21 14:28:13 +0000 (Thu, 21 Jun 2007) | 3 lines +Changed paths: + M /trunk/factorial.c + M /trunk/tests/tfactorial.c + +factorial.c: a rounding mode was incorrect. +tests/tfactorial.c: added overflowed_fac0 test. + +------------------------------------------------------------------------ +r4565 | vlefevre | 2007-06-21 14:16:17 +0000 (Thu, 21 Jun 2007) | 5 lines +Changed paths: + M /trunk/exp2.c + M /trunk/tests/texp2.c + +exp2.c: use MPFR_SMALL_INPUT_AFTER_SAVE_EXPO instead of +MPFR_FAST_COMPUTE_IF_SMALL_INPUT since 1 (__gmpfr_one) isn't +necessarily representable. +tests/texp2.c: added overflowed_exp2_0 test. + +------------------------------------------------------------------------ +r4564 | vlefevre | 2007-06-21 13:59:38 +0000 (Thu, 21 Jun 2007) | 3 lines +Changed paths: + M /trunk/exp.c + M /trunk/tests/texp.c + +exp.c: fixed problems in reduced exponent range. +tests/texp.c: added overflowed_exp0 test. + +------------------------------------------------------------------------ +r4563 | vlefevre | 2007-06-21 13:43:03 +0000 (Thu, 21 Jun 2007) | 2 lines +Changed paths: + M /trunk/exp.c + +exp.c bug fix: a rounding mode was incorrect. + +------------------------------------------------------------------------ +r4562 | vlefevre | 2007-06-21 13:40:55 +0000 (Thu, 21 Jun 2007) | 2 lines +Changed paths: + M /trunk/tests/tcos.c + +tcos.c: fixed error message in overflowed_cos0 test. + +------------------------------------------------------------------------ +r4561 | vlefevre | 2007-06-21 13:38:44 +0000 (Thu, 21 Jun 2007) | 2 lines +Changed paths: + M /trunk/tests/tcos.c + +tcos.c: removed an obsolete comment from the overflowed_cos0 test. + +------------------------------------------------------------------------ +r4560 | vlefevre | 2007-06-21 13:35:45 +0000 (Thu, 21 Jun 2007) | 2 lines +Changed paths: + M /trunk/tests/tcos.c + +tcos.c: improved overflowed_cos0 test. + +------------------------------------------------------------------------ +r4559 | vlefevre | 2007-06-21 12:49:03 +0000 (Thu, 21 Jun 2007) | 3 lines +Changed paths: + M /trunk/get_str.c + M /trunk/tests/tget_str.c + +get_str.c: use MPFR_SAVE_EXPO. +tests/tget_str.c: enabled the test with a reduced exponent range. + +------------------------------------------------------------------------ +r4558 | vlefevre | 2007-06-21 12:13:06 +0000 (Thu, 21 Jun 2007) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c + +tget_str.c: added a test (disabled by default) with emax = 0. + +------------------------------------------------------------------------ +r4557 | vlefevre | 2007-06-21 11:53:16 +0000 (Thu, 21 Jun 2007) | 3 lines +Changed paths: + M /trunk/add1sp.c + M /trunk/mul.c + M /trunk/sub1sp.c + M /trunk/tests/tabs.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd1sp.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tatan.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tconst_pi.c + M /trunk/tests/tcos.c + M /trunk/tests/tdiv.c + M /trunk/tests/terf.c + M /trunk/tests/texp.c + M /trunk/tests/tget_str.c + M /trunk/tests/tgmpop.c + M /trunk/tests/tlog.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tpow_z.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_sj.c + M /trunk/tests/tsi_op.c + M /trunk/tests/tsin.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsqr.c + M /trunk/tests/tsub1sp.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tsum.c + M /trunk/tests/ttrunc.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_sub.c + M /trunk/tests/tzeta.c + +Corrected mpfr_inits, mpfr_inits2 and mpfr_clears calls with NULL +argument (-> (void *) 0). + +------------------------------------------------------------------------ +r4556 | vlefevre | 2007-06-21 11:38:33 +0000 (Thu, 21 Jun 2007) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c + +tget_str.c: reformatted/corrected a function. + +------------------------------------------------------------------------ +r4555 | vlefevre | 2007-06-21 11:30:38 +0000 (Thu, 21 Jun 2007) | 4 lines +Changed paths: + M /trunk/tests/tacos.c + M /trunk/tests/tasin.c + M /trunk/tests/tatan.c + M /trunk/tests/tcos.c + M /trunk/tests/tcosh.c + M /trunk/tests/texp.c + M /trunk/tests/texp2.c + M /trunk/tests/tlog.c + M /trunk/tests/ttanh.c + +Tests: when restoring the exponent range, save emin/emax first instead +of using MPFR_EMIN_MIN/MPFR_EMAX_MAX (which have no longer corresponded +to the default exponent range since quite a long time). + +------------------------------------------------------------------------ +r4554 | vlefevre | 2007-06-21 11:01:46 +0000 (Thu, 21 Jun 2007) | 2 lines +Changed paths: + M /trunk/BUGS + +BUGS: update. + +------------------------------------------------------------------------ +r4553 | vlefevre | 2007-06-20 13:22:49 +0000 (Wed, 20 Jun 2007) | 2 lines +Changed paths: + M /trunk/agm.c + M /trunk/atan.c + M /trunk/exp3.c + M /trunk/gen_inverse.h + M /trunk/jn.c + M /trunk/lngamma.c + M /trunk/mpfr.h + M /trunk/remquo.c + M /trunk/sin.c + M /trunk/sin_cos.c + M /trunk/sqr.c + M /trunk/tests/tcoth.c + M /trunk/tests/tget_set_d64.c + M /trunk/tests/tremquo.c + M /trunk/tests/tyn.c + M /trunk/tests/tzeta_ui.c + M /trunk/tuneup.c + M /trunk/zeta_ui.c + +Untabified and removed trailing spaces. + +------------------------------------------------------------------------ +r4552 | vlefevre | 2007-06-20 13:12:41 +0000 (Wed, 20 Jun 2007) | 2 lines +Changed paths: + M /trunk/generic.c + M /trunk/mpfr-gmp.h + +Bug fix: preprocessor # must be in the first column. + +------------------------------------------------------------------------ +r4551 | vlefevre | 2007-06-20 12:29:26 +0000 (Wed, 20 Jun 2007) | 2 lines +Changed paths: + M /trunk/remquo.c + +remquo.c bug fix: preprocessor # must be in the first column. + +------------------------------------------------------------------------ +r4550 | vlefevre | 2007-06-20 11:58:25 +0000 (Wed, 20 Jun 2007) | 2 lines +Changed paths: + M /trunk/tests/tcos.c + +tcos.c: fixed and improved the overflowed_cos0 test. + +------------------------------------------------------------------------ +r4549 | vlefevre | 2007-06-20 11:38:47 +0000 (Wed, 20 Jun 2007) | 2 lines +Changed paths: + M /trunk/cos.c + +cos.c bug fix: a rounding mode was incorrect. + +------------------------------------------------------------------------ +r4548 | vlefevre | 2007-06-20 11:32:56 +0000 (Wed, 20 Jun 2007) | 3 lines +Changed paths: + M /trunk/cos.c + +cos.c: use MPFR_SMALL_INPUT_AFTER_SAVE_EXPO instead of +MPFR_FAST_COMPUTE_IF_SMALL_INPUT. + +------------------------------------------------------------------------ +r4547 | vlefevre | 2007-06-20 11:27:41 +0000 (Wed, 20 Jun 2007) | 2 lines +Changed paths: + M /trunk/cos.c + +cos.c: untabified. + +------------------------------------------------------------------------ +r4546 | vlefevre | 2007-06-20 10:55:52 +0000 (Wed, 20 Jun 2007) | 3 lines +Changed paths: + M /trunk/tests/tcos.c + +tcos.c: added tests for x very small and emax = 0 (some of them +currently fail). + +------------------------------------------------------------------------ +r4545 | vlefevre | 2007-06-20 10:06:56 +0000 (Wed, 20 Jun 2007) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +Added a comment concerning the MPFR_SMALL_INPUT_AFTER_SAVE_EXPO macro. + +------------------------------------------------------------------------ +r4544 | vlefevre | 2007-06-20 10:03:03 +0000 (Wed, 20 Jun 2007) | 3 lines +Changed paths: + M /trunk/expm1.c + M /trunk/mpfr-impl.h + +Added MPFR_SMALL_INPUT_AFTER_SAVE_EXPO macro; updated expm1.c to use +this variant (and moved MPFR_SAVE_EXPO_MARK after the test ex < 0). + +------------------------------------------------------------------------ +r4543 | vlefevre | 2007-06-19 15:17:21 +0000 (Tue, 19 Jun 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Documented log(-0). + +------------------------------------------------------------------------ +r4542 | vlefevre | 2007-06-19 15:11:21 +0000 (Tue, 19 Jun 2007) | 2 lines +Changed paths: + M /trunk/tests/tlog.c + M /trunk/tests/tlog10.c + M /trunk/tests/tlog1p.c + M /trunk/tests/tlog2.c + +Added a few tests of log functions. -2005-09-28 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r4541 | vlefevre | 2007-06-18 13:01:03 +0000 (Mon, 18 Jun 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * lngamma.c: Small optimization. +mpfr.texi: updated Section "Floating-Point Values on Special Numbers". - * tests/tlngamma.c: Test the sign of 0. +------------------------------------------------------------------------ +r4540 | vlefevre | 2007-06-12 10:54:06 +0000 (Tue, 12 Jun 2007) | 2 lines +Changed paths: + M /trunk/TODO -2005-09-28 Paul Zimmermann <Paul.Zimmermann@loria.fr> +TODO: allow generic tests to run with a restricted exponent range. - * lngamma.c, tests/tlngamma.c: fixed infinite loop for lngamma(2) +------------------------------------------------------------------------ +r4539 | vlefevre | 2007-06-12 10:51:17 +0000 (Tue, 12 Jun 2007) | 4 lines +Changed paths: + M /trunk/expm1.c -2005-09-28 Vincent Lefevre <Vincent.Lefevre@loria.fr> +expm1.c: fixed bug for x = -max_value due to an intermediate overflow +(flags were incorrect); at the same time, potential problems due to a +restricted exponent range are also fixed. - * Makefile.am: - Updated libmpfr_la_LDFLAGS (note: it shouldn't be incremented again - before the 2.3.0 release). +------------------------------------------------------------------------ +r4538 | vlefevre | 2007-06-12 09:17:33 +0000 (Tue, 12 Jun 2007) | 3 lines +Changed paths: + M /trunk/tests/tgeneric.c -2005-09-26 Paul Zimmermann <Paul.Zimmermann@loria.fr> +tgeneric.c: check the function on large arguments (±maximum_value) +when the MPFR_CHECK_MAX environment variable is defined. - * zeta_ui.c: new function: Zeta with integer argument +------------------------------------------------------------------------ +r4537 | vlefevre | 2007-06-11 13:40:14 +0000 (Mon, 11 Jun 2007) | 2 lines +Changed paths: + M /trunk/tests/tlgamma.c -2005-09-23 Paul Zimmermann <Paul.Zimmermann@loria.fr> +tests/tlgamma.c: re-enabled sign checking. - * Makefile.am, algorithms.bib, algorithms.tex, mpfr.h, mpfr.texi, tests/Makefile.am, tests/tzeta_ui.c: - new function mpfr_zeta_ui for integer argument +------------------------------------------------------------------------ +r4536 | zimmerma | 2007-06-11 09:30:08 +0000 (Mon, 11 Jun 2007) | 3 lines +Changed paths: + M /trunk/lngamma.c + M /trunk/tests/tlgamma.c -2005-09-21 Paul Zimmermann <Paul.Zimmermann@loria.fr> +fixed problem with mpfr_lgamma for tiny negative input (and fixed use of +generic test) - * algorithms.tex: added brief description of algorithm for mpfr_zeta +------------------------------------------------------------------------ +r4535 | vlefevre | 2007-06-05 20:50:07 +0000 (Tue, 05 Jun 2007) | 3 lines +Changed paths: + M /trunk/mpfr.texi -2005-09-18 Vincent Lefevre <Vincent.Lefevre@loria.fr> +[mpfr.texi] Small change in new Section "Floating-Point Values on +Special Numbers" (suggested by Paul). - * INSTALL: - Mentioned problems with the Tru64 make and other minor changes. - [2.2 branch] +------------------------------------------------------------------------ +r4534 | zimmerma | 2007-06-05 19:41:43 +0000 (Tue, 05 Jun 2007) | 2 lines +Changed paths: + M /trunk/tests/tzeta.c + M /trunk/zeta.c - * INSTALL: - Mentioned problems with the Tru64 make and other minor changes. +fixed bug for tiny negative input (and added corresponding test) -2005-09-17 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r4533 | vlefevre | 2007-06-05 11:06:57 +0000 (Tue, 05 Jun 2007) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * configure.in: [2.2 branch] - Fixed the GMP linking test: replaced __gmp_version, which corresponds - to a variable, by __gmpz_init (suggested by the GMP documentation), - which corresponds to a function, as the auto tools assume the symbol - corresponds to a function. It was failing with the AIX linker. +algorithms.tex: Mulder -> Mulders. - * configure.in: - Fixed the GMP linking test: replaced __gmp_version, which corresponds - to a variable, by __gmpz_init (suggested by the GMP documentation), - which corresponds to a function, as the auto tools assume the symbol - corresponds to a function. It was failing with the AIX linker. +------------------------------------------------------------------------ +r4532 | zimmerma | 2007-06-04 11:26:10 +0000 (Mon, 04 Jun 2007) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c -2005-09-16 Vincent Lefevre <Vincent.Lefevre@loria.fr> +added test for "Witty's bug" on 64-bit machines - * zeta.c: Better initial precision. +------------------------------------------------------------------------ +r4531 | vlefevre | 2007-06-04 11:19:33 +0000 (Mon, 04 Jun 2007) | 2 lines +Changed paths: + M /trunk/div.c - * const_euler.c: - Fixed overflow problem for large precisions. [2.2 branch] +div.c: GNU coding style. - * const_euler.c: Untabify. +------------------------------------------------------------------------ +r4530 | zimmerma | 2007-06-04 11:04:30 +0000 (Mon, 04 Jun 2007) | 3 lines +Changed paths: + M /trunk/div.c + M /trunk/tests/tdiv.c - * tests/tcoth.c, coth.c: - Fixed stupid bug (coth was computing 1/tan instead of 1/tanh). - [2.2 branch] +tdiv.c: added missing mpfr_clear's, and spaces before function calls +div.c: fixed bug found by Carl Witty, and added more comments - * gamma.c: Untabify. +------------------------------------------------------------------------ +r4529 | vlefevre | 2007-06-04 10:55:47 +0000 (Mon, 04 Jun 2007) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c - * mpfr.texi: Propagated the changes from the trunk to the 2.2 branch: - - documented the mpfr_get_f and mpfr_pow_z functions; - - fixed typos found by Tomonori Kouya in mpfr_atan2 description; - - updated Contributors section. +tdiv.c: oops... the result should be 1. -2005-09-16 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r4528 | vlefevre | 2007-06-04 10:50:42 +0000 (Mon, 04 Jun 2007) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c - * mpfr.texi: added missing documentation for mpfr_get_f and mpfr_pow_z +tdiv.c: added test from Carl Witty's bug report on 2007-06-03. -2005-09-16 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r4527 | vlefevre | 2007-06-01 13:48:35 +0000 (Fri, 01 Jun 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * mpfr.texi: Fixed typos found by Tomonori Kouya. +mpfr.texi: updated Section "Floating-Point Values on Special Numbers". -2005-09-16 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r4526 | vlefevre | 2007-06-01 13:31:14 +0000 (Fri, 01 Jun 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * coth.c, tests/tcoth.c: - fixed stupid bug (coth was computing 1/tan instead of 1/tanh) +mpfr.texi: updated Section "Floating-Point Values on Special Numbers". -2005-09-15 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r4525 | vlefevre | 2007-06-01 13:29:33 +0000 (Fri, 01 Jun 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * const_euler.c: fixed overflow problem for large precision +mpfr.texi: updated month. - * zeta.c: added log(precz) in initial precision +------------------------------------------------------------------------ +r4524 | vlefevre | 2007-06-01 13:01:20 +0000 (Fri, 01 Jun 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi -2005-09-13 Vincent Lefevre <Vincent.Lefevre@loria.fr> +mpfr.texi: added @: after "resp." (when it was missing). - * exp.c, tests/texp.c: - Fixed bug in exp(-eps) for rounding toward zero (test was also wrong). - [2.1 branch] +------------------------------------------------------------------------ +r4523 | vlefevre | 2007-05-31 15:51:37 +0000 (Thu, 31 May 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * ChangeLog: Update. [2.2 branch] +Started a new section "Floating-Point Values on Special Numbers". - * exp.c, tests/texp.c: - Fixed bug in exp(-eps) for rounding toward zero (test was also wrong). - [2.2 branch] +------------------------------------------------------------------------ +r4522 | vlefevre | 2007-05-31 15:47:00 +0000 (Thu, 31 May 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi -2005-09-13 Paul Zimmermann <Paul.Zimmermann@loria.fr> +mpfr.texi: inf -> Inf for consistency. - * exp.c, tests/texp.c: - fixed bug in exp(-eps) for rounding toward zero (test was also - wrong...) +------------------------------------------------------------------------ +r4521 | vlefevre | 2007-05-31 15:05:19 +0000 (Thu, 31 May 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi -2005-09-13 Vincent Lefevre <Vincent.Lefevre@loria.fr> +mpfr.texi @deftypefun correction: void * -> {void *} (for the PDF). - * README.dev: Updated "To make a release". +------------------------------------------------------------------------ +r4520 | vlefevre | 2007-05-31 15:02:11 +0000 (Thu, 31 May 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * ChangeLog: Update. [2.2 branch] +mpfr.texi: consistency changes in section titles; made titles unique. - * constant.c: Added missing MPFR_THREAD_ATTR. [2.2 branch] +------------------------------------------------------------------------ +r4519 | vlefevre | 2007-05-31 12:16:06 +0000 (Thu, 31 May 2007) | 2 lines +Changed paths: + M /trunk/set_d64.c - * NEWS: Minor update. [2.2 branch] +set_d64.c: replaced an "if" by a "#if" to avoid a gcc warning. - * NEWS: Minor update. +------------------------------------------------------------------------ +r4518 | vlefevre | 2007-05-31 12:11:03 +0000 (Thu, 31 May 2007) | 4 lines +Changed paths: + M /trunk/get_d64.c + M /trunk/set_d64.c - * constant.c: Added missing MPFR_THREAD_ATTR. +get_d64.c: use BITS_PER_MP_LIMB instead of GMP_BITS_PER_LIMB (which +does not seem to exist). +set_d64.c: use BITS_PER_MP_LIMB instead of mp_bits_per_limb. -2005-09-11 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r4517 | vlefevre | 2007-05-31 11:50:08 +0000 (Thu, 31 May 2007) | 2 lines +Changed paths: + M /trunk/get_d64.c + M /trunk/set_d64.c - * ChangeLog: Update. [2.2 branch] +get_d64.c, set_d64.c: improved code to avoid some warnings. - * mparam_h.in, mul.c, tuneup.c: Fixed tuneup. [2.2 branch] +------------------------------------------------------------------------ +r4516 | vlefevre | 2007-05-31 11:39:23 +0000 (Thu, 31 May 2007) | 2 lines +Changed paths: + M /trunk/get_d64.c + M /trunk/set_d64.c - * tuneup.c: Avoid a conflict with GMP. +Untabified get_d64.c and set_d64.c. - * mparam_h.in, mul.c, tuneup.c: - Reverted to previous mparam_h.in and mul.c, and applied Patrick's - patch instead. +------------------------------------------------------------------------ +r4515 | vlefevre | 2007-05-31 11:33:55 +0000 (Thu, 31 May 2007) | 2 lines +Changed paths: + M /trunk/get_d64.c - * README.dev, mpfr-impl.h, tests/trint.c, tests/tstckintc.c: - [2.2 branch] - Fixed a #ifdef in mpfr-impl.h (when --enable-assert isn't used). - Fixed uninitialized variable in trint.c (with gcc -std=c99). - Added #include <string.h> for memmove in tstckintc.c (see ISO C99). +get_d64.c: added missing #include. - * tests/tstckintc.c: - Added #include <string.h> for memmove (see ISO C99 standard). +------------------------------------------------------------------------ +r4514 | vlefevre | 2007-05-31 09:20:43 +0000 (Thu, 31 May 2007) | 2 lines +Changed paths: + M /trunk/BUGS - * README.dev: Minor change. +BUGS: update. - * tests/trint.c: Fixed uninitialized variable (with gcc -std=c99). +------------------------------------------------------------------------ +r4513 | vlefevre | 2007-05-31 09:16:38 +0000 (Thu, 31 May 2007) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h - * mpfr-impl.h: Fixed a #ifdef (when --enable-assert isn't used). +mpfr-impl.h: improved error message when thread safe is not supported. - * ChangeLog: Update. [2.2 branch] +------------------------------------------------------------------------ +r4512 | vlefevre | 2007-05-30 15:27:10 +0000 (Wed, 30 May 2007) | 3 lines +Changed paths: + M /trunk/INSTALL - * README.dev, int_ceil_log2.c, mpfr-impl.h: - Minor patches from the trunk. [2.2 branch] +INSTALL: say that relative paths in configure options are not supported +(autoconf doesn't seem to have support for them). - * int_ceil_log2.c, mpfr-impl.h: - Changed the MPFR_ASSERTD into a MPFR_ASSERTN for MPFR_INT_CEIL_LOG2 - since the assertion cannot be guaranteed for every C implementation. +------------------------------------------------------------------------ +r4511 | vlefevre | 2007-05-30 12:04:22 +0000 (Wed, 30 May 2007) | 3 lines +Changed paths: + M /trunk/TODO + M /trunk/mpfr.texi + M /trunk/tests/tsgn.c -2005-09-10 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Documented the new behavior of mpfr_sgn (in fact, it was already partly +required by the tsgn.c tests!) and added new mpfr_sgn tests. - * mpfr-impl.h: Fix spelling mistake. +------------------------------------------------------------------------ +r4510 | vlefevre | 2007-05-30 11:21:32 +0000 (Wed, 30 May 2007) | 2 lines +Changed paths: + M /trunk/TODO - * README.dev: Add new note about MPFR_TMP_DECL +TODO: added an item about the behavior of mpfr_sgn on NaN. -2005-09-09 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r4509 | vlefevre | 2007-05-30 11:13:23 +0000 (Wed, 30 May 2007) | 3 lines +Changed paths: + M /trunk/tests/tgeneric.c - * tests/tset_f.c, algorithms.tex, gamma.c, lngamma.c, mparam_h.in, mul.c, tests/tgamma.c, tests/tlngamma.c: - Ported patches from the trunk to the 2.2 branch. +tgeneric.c: no longer check the MPFR_CHECK_TINY environment variable +as all the bugs related to tiny arguments have been fixed. -2005-09-09 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r4508 | vlefevre | 2007-05-30 10:17:09 +0000 (Wed, 30 May 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * mparam_h.in: - reduced default of MPFR_MUL_THRESHOLD by 1, since now - MPFR_MUL_THRESHOLD+1 is considered in mul.c +mpfr.texi: corrections following the remarks by Nathalie Revol. + +------------------------------------------------------------------------ +r4507 | vlefevre | 2007-05-29 23:11:06 +0000 (Tue, 29 May 2007) | 2 lines +Changed paths: + M /trunk/yn.c + +yn.c: untabify. + +------------------------------------------------------------------------ +r4506 | zimmerma | 2007-05-29 22:02:35 +0000 (Tue, 29 May 2007) | 2 lines +Changed paths: + M /trunk/yn.c + +fix for small inputs in y1 + +------------------------------------------------------------------------ +r4505 | vlefevre | 2007-05-29 21:31:22 +0000 (Tue, 29 May 2007) | 4 lines +Changed paths: + M /trunk/erf.c + M /trunk/lngamma.c + M /trunk/mpfr-impl.h + +Defined new macros SIGN and SAME_SIGN in mpfr-impl.h to canonicalize +the ternary value and to compare such values. Use SAME_SIGN in erf.c +and lngamma.c. + +------------------------------------------------------------------------ +r4504 | zimmerma | 2007-05-29 21:04:57 +0000 (Tue, 29 May 2007) | 2 lines +Changed paths: + M /trunk/yn.c + +fixed problem of tiny arguments for y0 + +------------------------------------------------------------------------ +r4503 | zimmerma | 2007-05-29 16:44:02 +0000 (Tue, 29 May 2007) | 4 lines +Changed paths: + M /trunk/erf.c + M /trunk/lngamma.c + +lngamma.c: fixed problem of tiny inputs in lngamma (still remains lgamma + to deal with) +erf.c: small correction (inexact flags might have been inexact :-) + +------------------------------------------------------------------------ +r4502 | zimmerma | 2007-05-29 12:24:20 +0000 (Tue, 29 May 2007) | 2 lines +Changed paths: + M /trunk/csch.c + M /trunk/jn.c + +fixed tiny input problem with csch, j0, j1 + +------------------------------------------------------------------------ +r4501 | zimmerma | 2007-05-29 10:09:00 +0000 (Tue, 29 May 2007) | 2 lines +Changed paths: + M /trunk/cot.c + +added special code for tiny inputs + +------------------------------------------------------------------------ +r4500 | vlefevre | 2007-05-29 09:52:12 +0000 (Tue, 29 May 2007) | 2 lines +Changed paths: + M /trunk/tests/tgeneric_ui.c + +tgeneric_ui.c: no longer check the MPFR_CHECK_TINY environment variable. + +------------------------------------------------------------------------ +r4499 | vlefevre | 2007-05-29 09:33:56 +0000 (Tue, 29 May 2007) | 2 lines +Changed paths: + M /trunk/erf.c + +erf.c: removed workaround to mpfr_div_ui bug, as the bug is now fixed. + +------------------------------------------------------------------------ +r4498 | vlefevre | 2007-05-29 09:29:02 +0000 (Tue, 29 May 2007) | 5 lines +Changed paths: + M /trunk/div_ui.c + +div_ui.c: + * Cleaned up the use of the sh variable (there was a useless sh = 0, + so I'm not sure that there isn't a bug...). + * Added underflow check. + +------------------------------------------------------------------------ +r4497 | vlefevre | 2007-05-29 08:48:49 +0000 (Tue, 29 May 2007) | 4 lines +Changed paths: + M /trunk/tests/tgeneric_ui.c + +Added check of tiny arguments to tgeneric_ui.c (if MPFR_CHECK_TINY is +defined, like in tgeneric.c); mpfr_div_ui currently fails due to the +lack of underflow checking. + +------------------------------------------------------------------------ +r4496 | zimmerma | 2007-05-29 08:12:30 +0000 (Tue, 29 May 2007) | 5 lines +Changed paths: + M /trunk/README.dev + M /trunk/erf.c + +README.dev: fixed typo +erf.c: implemented special case for tiny x, and partially get rid of double + usage +implemented + +------------------------------------------------------------------------ +r4495 | vlefevre | 2007-05-28 23:11:56 +0000 (Mon, 28 May 2007) | 4 lines +Changed paths: + M /trunk/README.dev + M /trunk/cos.c + M /trunk/exp2.c + M /trunk/gamma.c + M /trunk/gen_inverse.h + M /trunk/sinh.c + +MPFR_RET (mpfr_check_range (...)) -> return mpfr_check_range (...) +as mpfr_check_range already handles the inexact flag. +Reformatting (removed trailing spaces, untabified). + +------------------------------------------------------------------------ +r4494 | zimmerma | 2007-05-28 21:51:11 +0000 (Mon, 28 May 2007) | 2 lines +Changed paths: + M /trunk/sech.c + +fixed problem of tiny input + +------------------------------------------------------------------------ +r4493 | zimmerma | 2007-05-28 21:44:37 +0000 (Mon, 28 May 2007) | 3 lines +Changed paths: + M /trunk/coth.c + M /trunk/csc.c + +fixed problem of tiny input for coth (and new fix again for csc, which +takes into account the sign of the input) + +------------------------------------------------------------------------ +r4492 | zimmerma | 2007-05-28 21:23:23 +0000 (Mon, 28 May 2007) | 3 lines +Changed paths: + M /trunk/csc.c + M /trunk/gen_inverse.h + M /trunk/sec.c + +fixed problem of tiny inputs in mpfr_sec and mpfr_csc, +by adding a SPECIAL_TINY macro in gen_inverse.h + +------------------------------------------------------------------------ +r4491 | zimmerma | 2007-05-28 20:56:41 +0000 (Mon, 28 May 2007) | 2 lines +Changed paths: + M /trunk/tests/tzeta.c + M /trunk/zeta.c -2005-09-09 Vincent Lefevre <Vincent.Lefevre@loria.fr> +the test for the tiny input case was too optimistic: fixed and added test. + +------------------------------------------------------------------------ +r4490 | zimmerma | 2007-05-28 20:24:23 +0000 (Mon, 28 May 2007) | 2 lines +Changed paths: + M /trunk/zeta.c + +fixed case of tiny input + +------------------------------------------------------------------------ +r4489 | zimmerma | 2007-05-28 19:54:27 +0000 (Mon, 28 May 2007) | 2 lines +Changed paths: + M /trunk/gamma.c + +fixed problem for tiny arguments + +------------------------------------------------------------------------ +r4488 | zimmerma | 2007-05-28 18:33:26 +0000 (Mon, 28 May 2007) | 2 lines +Changed paths: + M /trunk/cosh.c + +added MPFR_FAST_COMPUTE_IF_SMALL_INPUT call + +------------------------------------------------------------------------ +r4487 | zimmerma | 2007-05-28 18:19:08 +0000 (Mon, 28 May 2007) | 3 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/round_near_x.c + +changed 1st-order Taylor term from x to v to avoid confusion with the +argument x of the function f(x), and fixed some typos + +------------------------------------------------------------------------ +r4486 | zimmerma | 2007-05-28 17:15:11 +0000 (Mon, 28 May 2007) | 3 lines +Changed paths: + M /trunk/exp2.c + +fixed direction of rounding for MPFR_FAST_COMPUTE_IF_SMALL_INPUT +(was wrong for x < 0) + +------------------------------------------------------------------------ +r4485 | zimmerma | 2007-05-28 17:02:57 +0000 (Mon, 28 May 2007) | 2 lines +Changed paths: + M /trunk/strtofr.c + +fixed typo + +------------------------------------------------------------------------ +r4484 | zimmerma | 2007-05-28 16:19:06 +0000 (Mon, 28 May 2007) | 2 lines +Changed paths: + M /trunk/exp2.c + M /trunk/tests/texp2.c + +added call to MPFR_FAST_COMPUTE_IF_SMALL_INPUT in exp2 + +------------------------------------------------------------------------ +r4483 | zimmerma | 2007-05-28 15:51:00 +0000 (Mon, 28 May 2007) | 2 lines +Changed paths: + M /trunk/nightly-test - * algorithms.tex: Fixed another LaTeX error. +re-enabled MPFR_CHECK_TINY - * README.dev: Updated "To make a release". +------------------------------------------------------------------------ +r4482 | zimmerma | 2007-05-28 15:34:10 +0000 (Mon, 28 May 2007) | 3 lines +Changed paths: + M /trunk/configure.in + M /trunk/mpfr.texi - * lngamma.c: - Use (mpz_t *) 0 instead of NULL (this is not less clear and this - works with the native SunOS 4 C compiler). +improved documentation of mpfr_set/get_decimal64 functions +fixed problem in configure.in (_Decimal64 was tested too early) -2005-09-09 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r4481 | vlefevre | 2007-05-28 15:17:44 +0000 (Mon, 28 May 2007) | 3 lines +Changed paths: + M /trunk/tests/tests.c - * tests/tset_f.c: avoid . in mpf_set_str (locale-sensitive) +tests/tests.c: fixed two bugs concerning the timeout (including an +old one: we need to call getrlimit to initialize rlim_max). - * tests/tgamma.c, tests/tlngamma.c, gamma.c, lngamma.c, mpfr.texi: - cleanup of gamma and lngamma +------------------------------------------------------------------------ +r4480 | zimmerma | 2007-05-28 15:07:05 +0000 (Mon, 28 May 2007) | 2 lines +Changed paths: + M /trunk/nightly-test + +new syntax for timeouts + +------------------------------------------------------------------------ +r4479 | zimmerma | 2007-05-28 15:06:30 +0000 (Mon, 28 May 2007) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +fixed typo + +------------------------------------------------------------------------ +r4478 | vlefevre | 2007-05-28 13:57:32 +0000 (Mon, 28 May 2007) | 2 lines +Changed paths: + M /trunk + +Added mkinstalldirs to svn:ignore property. + +------------------------------------------------------------------------ +r4477 | vlefevre | 2007-05-28 13:56:33 +0000 (Mon, 28 May 2007) | 5 lines +Changed paths: + M /trunk/configure.in + M /trunk/tests/tests.c + +Changed --with-tests-timeout into --enable-tests-timeout as documented +in the autoconf manual (--with-* are for external packages only). When +this is enabled, environment variable MPFR_TESTS_TIMEOUT allows to +override the default timeout (use the value 0 to disable timeouts). + +------------------------------------------------------------------------ +r4476 | vlefevre | 2007-05-28 11:29:45 +0000 (Mon, 28 May 2007) | 2 lines +Changed paths: + M /trunk/NEWS + +Updated NEWS file. + +------------------------------------------------------------------------ +r4475 | vlefevre | 2007-05-28 11:04:00 +0000 (Mon, 28 May 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +mpfr.texi: small improvement. + +------------------------------------------------------------------------ +r4474 | vlefevre | 2007-05-28 10:37:07 +0000 (Mon, 28 May 2007) | 3 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/sgn.c + M /trunk/tests/tcmp_ui.c + +Fixed a bug in the mpfr_cmp_ui macro occurring on NaN and the constant 0 +by specifying the behavior of mpfr_sgn on NaN. + +------------------------------------------------------------------------ +r4473 | vlefevre | 2007-05-28 09:26:07 +0000 (Mon, 28 May 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +mpfr.texi: typography corrections concerning "i.e.". + +------------------------------------------------------------------------ +r4472 | vlefevre | 2007-05-28 09:17:37 +0000 (Mon, 28 May 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +mpfr.texi: consistency changes. + +------------------------------------------------------------------------ +r4471 | vlefevre | 2007-05-28 09:11:39 +0000 (Mon, 28 May 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +mpfr.texi: more details in Section "Exceptions". + +------------------------------------------------------------------------ +r4470 | vlefevre | 2007-05-28 02:12:05 +0000 (Mon, 28 May 2007) | 3 lines +Changed paths: + M /trunk/tests/tgeneric.c + +tgeneric.c: check the function on tiny arguments (±2^(emin-1)) when +the MPFR_CHECK_TINY environment variable is defined. + +------------------------------------------------------------------------ +r4469 | vlefevre | 2007-05-28 00:54:09 +0000 (Mon, 28 May 2007) | 2 lines +Changed paths: + M /trunk/TODO + +Typo. + +------------------------------------------------------------------------ +r4468 | vlefevre | 2007-05-28 00:27:16 +0000 (Mon, 28 May 2007) | 2 lines +Changed paths: + M /trunk/BUGS + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atan.c + M /trunk/atanh.c + M /trunk/cos.c + M /trunk/erfc.c + M /trunk/expm1.c + M /trunk/log1p.c + M /trunk/mpfr-impl.h + M /trunk/round_near_x.c + M /trunk/sin.c + M /trunk/sinh.c + M /trunk/tan.c + M /trunk/tanh.c + M /trunk/zeta.c + +Avoid integer overflow in MPFR_FAST_COMPUTE_IF_SMALL_INPUT. + +------------------------------------------------------------------------ +r4467 | zimmerma | 2007-05-25 21:03:43 +0000 (Fri, 25 May 2007) | 3 lines +Changed paths: + M /trunk/remquo.c + M /trunk/tests/tremquo.c + +completed implementation of Vincent's algorithm for mpfr_remquo +all tests now pass again + +------------------------------------------------------------------------ +r4466 | zimmerma | 2007-05-24 21:45:25 +0000 (Thu, 24 May 2007) | 3 lines +Changed paths: + M /trunk/remquo.c + +new version of mpfr_remainder, using Vincent's algorithm +(still remains to deal with special arguments, and make mpfr_remquo call it) + +------------------------------------------------------------------------ +r4465 | zimmerma | 2007-05-23 22:09:57 +0000 (Wed, 23 May 2007) | 2 lines +Changed paths: + M /trunk/TODO + +added note about fms + +------------------------------------------------------------------------ +r4464 | zimmerma | 2007-05-23 21:55:55 +0000 (Wed, 23 May 2007) | 2 lines +Changed paths: + M /trunk/fma.c + +fixed typo + +------------------------------------------------------------------------ +r4463 | zimmerma | 2007-05-23 21:26:14 +0000 (Wed, 23 May 2007) | 2 lines +Changed paths: + M /trunk/gamma.c + M /trunk/tests/tgamma.c + +fixed problem for x integer and rounding to nearest -2005-09-08 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r4462 | zimmerma | 2007-05-23 18:33:35 +0000 (Wed, 23 May 2007) | 2 lines +Changed paths: + M /trunk/sin.c + +workaround for bug when x is very small (check_tiny in tsin) - * mul.c: - MUL_THRESHOLD -> MUL_THRESHOLD+1 (to allow MUL_THRESHOLD=0, needed for - tuneup.c) +------------------------------------------------------------------------ +r4461 | vlefevre | 2007-05-22 12:06:00 +0000 (Tue, 22 May 2007) | 2 lines +Changed paths: + M /trunk/BUGS + +Updated BUGS (again). - * algorithms.tex: fixed LaTeX error +------------------------------------------------------------------------ +r4460 | vlefevre | 2007-05-22 11:50:06 +0000 (Tue, 22 May 2007) | 3 lines +Changed paths: + M /trunk/BUGS + M /trunk/TODO + +Updated BUGS and TODO (mpfr_lgamma has been implemented, but see BUGS, +and gamma(-integer) with integer >= 1 is defined as NaN). + +------------------------------------------------------------------------ +r4459 | vlefevre | 2007-05-22 08:41:00 +0000 (Tue, 22 May 2007) | 2 lines +Changed paths: + M /trunk/tests/tsin.c -2005-09-08 Vincent Lefevre <Vincent.Lefevre@loria.fr> +tsin.c: check sin on +/- 2^(emin-1) (test by Christopher Creutzig). + +------------------------------------------------------------------------ +r4458 | vlefevre | 2007-05-22 08:25:20 +0000 (Tue, 22 May 2007) | 3 lines +Changed paths: + M /trunk/tests/tgamma.c - * README.dev, fixperm: - Added fixperm script to fix the file permissions broken by CVS. - [trunk and 2.2 branch] +tgamma.c: added test of gamma on some integral values (from Christopher +Creutzig); this test is enabled only when an argument is provided. + +------------------------------------------------------------------------ +r4457 | vlefevre | 2007-05-22 00:29:16 +0000 (Tue, 22 May 2007) | 2 lines +Changed paths: + M /trunk/fma.c - * fixperm: - file fixperm was added on branch mpfr-2-2-branch on 2005-09-08 09:05:58 +0000 +fma.c: improved comments and simplified the code. - * NEWS: Update. +------------------------------------------------------------------------ +r4456 | vlefevre | 2007-05-22 00:11:18 +0000 (Tue, 22 May 2007) | 5 lines +Changed paths: + M /trunk/fma.c - * tests/tlngamma.c: Forgot to add tlngamma.c. [2.2 branch] +fma.c: implemented exponent range expansion and the main part when the +multiplication overflows. The following remains to do: + * when the multiplication overflows: some corner cases; + * when the multiplication underflows: everything. - * mpfr.texi: Update (mpfr_lngamma). [2.2 branch] +------------------------------------------------------------------------ +r4455 | vlefevre | 2007-05-21 11:52:33 +0000 (Mon, 21 May 2007) | 3 lines +Changed paths: + M /trunk/tests/tlgamma.c - * lngamma.c: Forgot to add lngamma.c. [2.2 branch] +tlgamma.c: I re-enable the generic tests of mpfr_lgamma now, to make +sure that it is fixed before the 2.3.0 release candidate. -2005-09-08 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r4454 | vlefevre | 2007-05-21 11:49:41 +0000 (Mon, 21 May 2007) | 2 lines +Changed paths: + M /trunk/tests/tfma.c - * TODO: added one item +tfma.c: added an overflow test (currently fails). -2005-09-08 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r4453 | vlefevre | 2007-05-21 08:44:22 +0000 (Mon, 21 May 2007) | 2 lines +Changed paths: + M /trunk/tests/tfma.c - * tests/Makefile.am: Fix: readded dependencies. [2.2 branch] +tfma.c: whitespace change. - * tests/Makefile.am: Fix: readded dependencies. +------------------------------------------------------------------------ +r4452 | vlefevre | 2007-05-21 08:43:41 +0000 (Mon, 21 May 2007) | 2 lines +Changed paths: + M /trunk/tests/tfma.c -2005-09-06 Vincent Lefevre <Vincent.Lefevre@loria.fr> +tfma.c: added tests on special and exact values. - * Makefile.am, NEWS, TODO, gamma.c, mpfr-impl.h, mpfr.h, tests/Makefile.am, tests/tgamma.c, tests/tversion.c: - Patches from the trunk: added mpfr_lngamma, fixed mpfr_gamma, - more detailed error message in tversion. [2.2 branch] +------------------------------------------------------------------------ +r4451 | zimmerma | 2007-05-17 22:05:42 +0000 (Thu, 17 May 2007) | 3 lines +Changed paths: + M /trunk/TODO + M /trunk/lngamma.c - * tests/tversion.c: More detailed error message. +fixed error analysis in mpfr_lngamma +added mpfr_inp_raw/mpfr_out_raw in TODO - * lngamma.c: Change for ansi2knr. +------------------------------------------------------------------------ +r4450 | vlefevre | 2007-05-16 14:52:57 +0000 (Wed, 16 May 2007) | 2 lines +Changed paths: + M /trunk/TODO - * lngamma.c: Code clean-up (again). +TODO: fixed mpfr_fms formula to match the one on Itanium and PowerPC. - * lngamma.c: - Use GMP's allocate functions instead of C's. Code clean-up. +------------------------------------------------------------------------ +r4449 | vlefevre | 2007-05-07 09:01:39 +0000 (Mon, 07 May 2007) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * lngamma.c: Reformat. +algorithms.tex: improved the description of mpfr_remquo. -2005-09-06 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r4448 | zimmerma | 2007-05-06 13:25:55 +0000 (Sun, 06 May 2007) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * tests/tgamma.c: missing set_emin +improved description of remainder and remquo - * tests/tgamma.c: - added missing call to MPFR_TEST_USE_RANDS() [3 blocks non-freed] +------------------------------------------------------------------------ +r4447 | vlefevre | 2007-05-06 11:16:12 +0000 (Sun, 06 May 2007) | 2 lines +Changed paths: + M /trunk/algorithms.tex -2005-09-06 Vincent Lefevre <Vincent.Lefevre@loria.fr> +My latest change was not completely correct... - * set_str_raw.c, tests/tsub.c: - Ported patches from the trunk to the 2.2 branch. +------------------------------------------------------------------------ +r4446 | vlefevre | 2007-05-06 11:13:41 +0000 (Sun, 06 May 2007) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * tests/tsub.c: - Fixed a bug (detected after mpfr_set_str_binary has been fixed) - in tests/tsub.c introduced in 1.6 (2001-10-19). +Updated description of algorithm for mpfr_remainder. - * set_str_raw.c: - mpfr_set_str_binary was buggy and inefficient. Let's use mpfr_strtofr. +------------------------------------------------------------------------ +r4445 | zimmerma | 2007-05-06 08:18:50 +0000 (Sun, 06 May 2007) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * mpfr-impl.h: - Replaced unsigned long bit-fields (GCC extension) by insigned int - bit-fields. [2.2 branch] +added description of algorithm for mpfr_remainder - * mpfr-impl.h: - Replaced unsigned long bit-fields (GCC extension) by insigned int - bit-fields. +------------------------------------------------------------------------ +r4444 | vlefevre | 2007-05-04 14:25:31 +0000 (Fri, 04 May 2007) | 2 lines +Changed paths: + M /trunk/remquo.c -2005-09-05 Vincent Lefevre <Vincent.Lefevre@loria.fr> +remquo.c: suggest to use mpz_powm. - * mpfr-gmp.h: - MPN_COPY now calls memcpy only if dst != src (otherwise this is an - undefined behavior), and if WANT_ASSERT is defined, it checks that - there is no overlap. [2.2 branch] +------------------------------------------------------------------------ +r4443 | vlefevre | 2007-05-04 13:19:27 +0000 (Fri, 04 May 2007) | 3 lines +Changed paths: + M /trunk/remquo.c - * mpfr-gmp.h: - MPN_COPY now calls memcpy only if dst != src (otherwise this is an - undefined behavior), and if WANT_ASSERT is defined, it checks that - there is no overlap. +remquo.c: added a comment (idea to compute the remainder much more +efficiently in the case x much larger than y). -2005-09-02 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r4442 | zimmerma | 2007-05-04 12:45:36 +0000 (Fri, 04 May 2007) | 2 lines +Changed paths: + M /trunk/remquo.c - * acinclude.m4, mpfr-impl.h: - Avoid MIPSpro / IRIX64 (incorrect) optimizations for DOUBLE_ISNAN. - [2.2 branch] +added assert and ideas for native implementation - * add1sp.c, sub1sp.c: - Do not put expressions with side effects in MPFR_ASSERTN. [2.2 branch] +------------------------------------------------------------------------ +r4441 | zimmerma | 2007-05-04 06:27:38 +0000 (Fri, 04 May 2007) | 2 lines +Changed paths: + M /trunk/tests/tremquo.c - * mpfr-impl.h: - Avoid MIPSpro / IRIX64 (incorrect) optimizations for DOUBLE_ISNAN. +put back test (disabled for test) - * acinclude.m4, mpfr-impl.h: - More portable DOUBLE_ISNAN (useful for MIPSpro under IRIX64). +------------------------------------------------------------------------ +r4440 | zimmerma | 2007-05-04 06:26:56 +0000 (Fri, 04 May 2007) | 2 lines +Changed paths: + M /trunk/remquo.c + M /trunk/tests/tremquo.c -2005-09-02 Paul Zimmermann <Paul.Zimmermann@loria.fr> +fixed problem when rem and x are the same variable - * gamma.c, tests/tgamma.c: - improved trade-off between fac_ui and gamma when argument is integer +------------------------------------------------------------------------ +r4439 | vlefevre | 2007-05-04 00:36:01 +0000 (Fri, 04 May 2007) | 2 lines +Changed paths: + M /trunk/tests/tremquo.c -2005-09-02 Vincent Lefevre <Vincent.Lefevre@loria.fr> +tremquo.c: added a test that leads to a segmentation fault. - * acinclude.m4: Reformat. +------------------------------------------------------------------------ +r4438 | vlefevre | 2007-05-04 00:29:47 +0000 (Fri, 04 May 2007) | 2 lines +Changed paths: + M /trunk/tests/tremquo.c -2005-09-02 Paul Zimmermann <Paul.Zimmermann@loria.fr> +tremquo.c: fixed tests (= -> ==). - * TODO, gamma.c, tests/tgamma.c: fixed remaining problem in gamma - removed LogGamma from TODO +------------------------------------------------------------------------ +r4437 | zimmerma | 2007-05-03 20:07:20 +0000 (Thu, 03 May 2007) | 4 lines +Changed paths: + M /trunk/mpfr.texi + M /trunk/remquo.c + M /trunk/tests/tremquo.c -2005-09-02 Vincent Lefevre <Vincent.Lefevre@loria.fr> +fixed two issues found by Kaveh Ghazi: +* remainder was wrong for |x/y| < 1 +* remainder had wrong sign when zero - * add1sp.c, sub1sp.c: - Do not put expressions with side effects in MPFR_ASSERTN. +------------------------------------------------------------------------ +r4436 | zimmerma | 2007-05-03 15:56:03 +0000 (Thu, 03 May 2007) | 2 lines +Changed paths: + M /trunk/lngamma.c -2005-09-01 Paul Zimmermann <Paul.Zimmermann@loria.fr> +more details of error analysis - * gamma.c, tests/tgamma.c: now uses lngamma code for x < 1 too - added new tests from Kenneth Wilder +------------------------------------------------------------------------ +r4435 | vlefevre | 2007-05-03 13:30:34 +0000 (Thu, 03 May 2007) | 2 lines +Changed paths: + M /trunk/tests - * tests/tgamma.c: added another test +Updated svn:ignore property. - * tests/tgamma.c: removed useless prototype +------------------------------------------------------------------------ +r4434 | vlefevre | 2007-05-03 13:28:31 +0000 (Thu, 03 May 2007) | 2 lines +Changed paths: + M /trunk -2005-09-01 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Updated svn:ignore property. - * mpfr.texi: Updated month. [2.2 branch] +------------------------------------------------------------------------ +r4433 | zimmerma | 2007-05-03 13:16:34 +0000 (Thu, 03 May 2007) | 2 lines +Changed paths: + M /trunk/tests/tremquo.c - * log.c, tests/tlog.c: Ported fix to the 2.2 branch. +fixed precision for command-line usage -2005-08-31 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r4432 | vlefevre | 2007-05-03 13:15:49 +0000 (Thu, 03 May 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * sum.c: - Fixed memory leak (missing MPFR_TMP_FREE in a particular case). - [2.2 branch, patch ported from the trunk] +mpfr.texi: added mpfr_lgamma. - * sum.c: - Fixed memory leak (missing MPFR_TMP_FREE in a particular case). +------------------------------------------------------------------------ +r4431 | zimmerma | 2007-05-03 13:10:31 +0000 (Thu, 03 May 2007) | 2 lines +Changed paths: + M /trunk/tests/tremquo.c - * sum.c: Fixed the code formatting. +added code to use tremquo with command-line arguments (tremquo x y) - * README.dev: Updated Point 6 of "To make a release". +------------------------------------------------------------------------ +r4430 | vlefevre | 2007-05-02 16:03:52 +0000 (Wed, 02 May 2007) | 2 lines +Changed paths: + M /trunk/configure.in - * mul.c: - Fixed memory leak (missing MPFR_TMP_FREE in a particular case). +configure.in: improved comment. - * mul.c: - Fixed memory leak (missing MPFR_TMP_FREE in a particular case). - [2.2 branch] +------------------------------------------------------------------------ +r4429 | vlefevre | 2007-05-02 15:52:51 +0000 (Wed, 02 May 2007) | 4 lines +Changed paths: + M /trunk/configure.in -2005-08-31 Paul Zimmermann <Paul.Zimmermann@loria.fr> +configure.in: added a comment on the AC_ARG_ENABLE(decimal-float...) +part. The addition of this code was the cause of the test_CFLAGS problem +(see r4425 log), but this code is still wrong. - * mpfr.texi: added lngamma +------------------------------------------------------------------------ +r4428 | zimmerma | 2007-05-02 15:41:18 +0000 (Wed, 02 May 2007) | 2 lines +Changed paths: + M /trunk/tests/tremquo.c - * tests/tlog.c: added new test (emax) +modified test (2147483648 is not representable as 32-bit long in C90) - * tests/tgamma.c: now random tests also use x >= 1 +------------------------------------------------------------------------ +r4427 | vlefevre | 2007-05-02 15:20:50 +0000 (Wed, 02 May 2007) | 2 lines +Changed paths: + M /trunk/remquo.c + M /trunk/yn.c - * log.c: added SAVE_EXPO stuff +Removed unused variables. - * lngamma.c, mpfr.h, tests/Makefile.am, tests/tlngamma.c: - new function lngamma +------------------------------------------------------------------------ +r4426 | vlefevre | 2007-05-02 15:18:18 +0000 (Wed, 02 May 2007) | 4 lines +Changed paths: + M /trunk/get_str.c + +get_str.c: + * Removed useless prototype declaration (function no longer defined). + * Fixed initializer. + +------------------------------------------------------------------------ +r4425 | vlefevre | 2007-05-02 15:14:44 +0000 (Wed, 02 May 2007) | 4 lines +Changed paths: + M /trunk/configure.in + +configure.in: moved the definition of test_CFLAGS upward (it was +always set to "set", either because of things added to configure.in +or because of new autoconf). + +------------------------------------------------------------------------ +r4424 | vlefevre | 2007-05-02 14:54:47 +0000 (Wed, 02 May 2007) | 2 lines +Changed paths: + M /trunk/mpfr.h + +mpfr.h: added mpfr_lgamma prototype. + +------------------------------------------------------------------------ +r4423 | zimmerma | 2007-05-02 14:23:11 +0000 (Wed, 02 May 2007) | 3 lines +Changed paths: + M /trunk/NEWS + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/remquo.c + M /trunk/tests/tremquo.c + +argument quo of remquo is now a pointer to long instead of int +added new functions in NEWS + +------------------------------------------------------------------------ +r4422 | zimmerma | 2007-05-02 12:21:24 +0000 (Wed, 02 May 2007) | 2 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/remquo.c + M /trunk/tests/tremquo.c + +changed order of arguments: now mpfr_remquo (r, q, x, y, rnd). + +------------------------------------------------------------------------ +r4421 | vlefevre | 2007-05-02 11:53:58 +0000 (Wed, 02 May 2007) | 2 lines +Changed paths: + M /trunk/remquo.c + +remquo.c: fixed variable name for MPFR_LOG_FUNC. + +------------------------------------------------------------------------ +r4420 | zimmerma | 2007-05-02 10:12:11 +0000 (Wed, 02 May 2007) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/TODO + M /trunk/mpfr.h + M /trunk/mpfr.texi + A /trunk/remquo.c + M /trunk/tests/Makefile.am + A /trunk/tests/tremquo.c + +added mpfr_remquo and mpfr_remainder + +------------------------------------------------------------------------ +r4419 | zimmerma | 2007-04-27 12:48:01 +0000 (Fri, 27 Apr 2007) | 2 lines +Changed paths: + M /trunk/lngamma.c + +fixed error analysis (error was over-estimated) + +------------------------------------------------------------------------ +r4418 | vlefevre | 2007-04-26 10:12:51 +0000 (Thu, 26 Apr 2007) | 2 lines +Changed paths: + M /trunk/lngamma.c + +lngamma.c: a bit more details in the error analysis for z0 < 1. + +------------------------------------------------------------------------ +r4417 | vlefevre | 2007-04-26 09:20:37 +0000 (Thu, 26 Apr 2007) | 2 lines +Changed paths: + M /trunk/lngamma.c + +lngamma.c: a bit more details in the error analysis for z0 < 1. + +------------------------------------------------------------------------ +r4416 | zimmerma | 2007-04-26 08:26:39 +0000 (Thu, 26 Apr 2007) | 2 lines +Changed paths: + M /trunk/lngamma.c + +u was used for two different meanings in the error analysis for z0 < 1 + +------------------------------------------------------------------------ +r4415 | vlefevre | 2007-04-25 12:52:09 +0000 (Wed, 25 Apr 2007) | 2 lines +Changed paths: + M /trunk/get_d64.c + M /trunk/jn.c + M /trunk/set_d64.c + M /trunk/tests/tget_ld_2exp.c + M /trunk/tests/tget_set_d64.c + M /trunk/tests/tinternals.c + M /trunk/tests/tj0.c + M /trunk/tests/tj1.c + M /trunk/tests/tjn.c + M /trunk/tests/ty0.c + M /trunk/tests/ty1.c + M /trunk/tests/tyn.c + M /trunk/yn.c + +Updated Subversion properties on .c files (now consistent). + +------------------------------------------------------------------------ +r4414 | vlefevre | 2007-04-25 12:49:47 +0000 (Wed, 25 Apr 2007) | 2 lines +Changed paths: + M /trunk/tests + +Updated svn:ignore property. + +------------------------------------------------------------------------ +r4413 | vlefevre | 2007-04-25 12:48:05 +0000 (Wed, 25 Apr 2007) | 4 lines +Changed paths: + M /trunk/lngamma.c + M /trunk/tests/Makefile.am + A /trunk/tests/tlgamma.c + M /trunk/tests/tlngamma.c + +Added preliminary support for mpfr_lngamma and tests. +TODO: add support for negative numbers with small exponent. +Re-enable the generic tests when this is done. + +------------------------------------------------------------------------ +r4412 | vlefevre | 2007-04-25 10:58:14 +0000 (Wed, 25 Apr 2007) | 3 lines +Changed paths: + M /trunk/lngamma.c + +lngamma.c: There was an assertion failed, probably because the error +was too large; fixed that by restarting with a larger precision. + +------------------------------------------------------------------------ +r4411 | vlefevre | 2007-04-25 10:51:03 +0000 (Wed, 25 Apr 2007) | 2 lines +Changed paths: + M /trunk/lngamma.c + +lngamma.c: fixed -2k-1 <= x <= -2k test. + +------------------------------------------------------------------------ +r4410 | vlefevre | 2007-04-25 09:07:03 +0000 (Wed, 25 Apr 2007) | 3 lines +Changed paths: + M /trunk/tests/tlngamma.c + +tests/tlngamma.c: added a test showing a bug in lngamma (due to the +use of mpfr_get_si even when the number doesn't fit in a long). + +------------------------------------------------------------------------ +r4409 | zimmerma | 2007-04-22 08:58:35 +0000 (Sun, 22 Apr 2007) | 2 lines +Changed paths: + M /trunk/jn.c + M /trunk/tests/tjn.c + +fixed bug for negative even index in mpfr_jn (wrong sign) + +------------------------------------------------------------------------ +r4408 | zimmerma | 2007-04-12 12:16:04 +0000 (Thu, 12 Apr 2007) | 2 lines +Changed paths: + M /trunk/README.dev + +added warning + +------------------------------------------------------------------------ +r4407 | zimmerma | 2007-04-12 08:24:19 +0000 (Thu, 12 Apr 2007) | 2 lines +Changed paths: + M /trunk/README.dev + +added Bit Twiddling Hacks + +------------------------------------------------------------------------ +r4406 | vlefevre | 2007-04-05 12:01:07 +0000 (Thu, 05 Apr 2007) | 3 lines +Changed paths: + M /trunk/mpfr.texi + +MPFR manual: added a brief description of mpfr_t (this may be needed +to write correct code) and mpfr_ptr (used by mpfr_sum). + +------------------------------------------------------------------------ +r4405 | vlefevre | 2007-04-02 15:32:00 +0000 (Mon, 02 Apr 2007) | 4 lines +Changed paths: + M /trunk/jn.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/tests/tjn.c + M /trunk/tests/tyn.c + M /trunk/yn.c + +Changed mpfr_{jn,yn}_si (mpfr_t res, mpfr_t x, long n, ...) into +mpfr_{jn,yn} (mpfr_t res, long n, mpfr_t x, ...), as discussed by +mail; fixed a typo in mpfr.texi in mpfr_{y0,y1,yn} description. + +------------------------------------------------------------------------ +r4404 | zimmerma | 2007-03-31 21:23:00 +0000 (Sat, 31 Mar 2007) | 2 lines +Changed paths: + M /trunk/TODO + +added url of GSL manual + +------------------------------------------------------------------------ +r4403 | zimmerma | 2007-03-31 21:15:26 +0000 (Sat, 31 Mar 2007) | 2 lines +Changed paths: + M /trunk/TODO - * gamma.c: now uses lngamma code for x > 1 +fixed misunderstanding about definition of Bessel functions + +------------------------------------------------------------------------ +r4402 | zimmerma | 2007-03-31 17:59:23 +0000 (Sat, 31 Mar 2007) | 2 lines +Changed paths: + M /trunk/TODO + +removed Bessel functions J_n and Y_n + +------------------------------------------------------------------------ +r4401 | zimmerma | 2007-03-31 14:01:00 +0000 (Sat, 31 Mar 2007) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/algorithms.bib + M /trunk/algorithms.tex + M /trunk/jn.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/tests/Makefile.am + A /trunk/tests/ty0.c + A /trunk/tests/ty1.c + A /trunk/tests/tyn.c + A /trunk/yn.c + +added Bessel functions of second kind (y0, y1, yn_si) + +------------------------------------------------------------------------ +r4400 | zimmerma | 2007-03-31 13:55:06 +0000 (Sat, 31 Mar 2007) | 2 lines +Changed paths: + M /trunk/tests/tj0.c + M /trunk/tests/tj1.c + +now test_generic calls respectively j0 and j1, not zeta! - * Makefile.am: added lngamma +------------------------------------------------------------------------ +r4399 | vlefevre | 2007-03-30 14:35:56 +0000 (Fri, 30 Mar 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +mpfr.texi: INF -> Inf for consistency. + +------------------------------------------------------------------------ +r4398 | vlefevre | 2007-03-30 14:34:00 +0000 (Fri, 30 Mar 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +mpfr.texi: PI -> Pi for consistency. + +------------------------------------------------------------------------ +r4397 | vlefevre | 2007-03-29 02:33:02 +0000 (Thu, 29 Mar 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +mpfr.texi: -0 -> @minus{}0. + +------------------------------------------------------------------------ +r4396 | vlefevre | 2007-03-29 02:28:46 +0000 (Thu, 29 Mar 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +mpfr.texi: fixed bug introduced in rev 4377, which made TeX fail. + +------------------------------------------------------------------------ +r4395 | vlefevre | 2007-03-29 02:00:04 +0000 (Thu, 29 Mar 2007) | 2 lines +Changed paths: + M /trunk/tests + +Added tj0, tj1 and tjn to svn:ignore property of "tests" directory. + +------------------------------------------------------------------------ +r4393 | zimmerma | 2007-03-26 09:29:40 +0000 (Mon, 26 Mar 2007) | 2 lines +Changed paths: + M /trunk/jn.c + +mpfr_jn -> mpfr_jn_si + +------------------------------------------------------------------------ +r4392 | zimmerma | 2007-03-23 20:30:20 +0000 (Fri, 23 Mar 2007) | 3 lines +Changed paths: + M /trunk/algorithms.tex + M /trunk/jn.c + M /trunk/tests/tjn.c + +now check underflow for large n in mpfr_jn_si +added more tests + +------------------------------------------------------------------------ +r4391 | zimmerma | 2007-03-23 16:37:16 +0000 (Fri, 23 Mar 2007) | 2 lines +Changed paths: + M /trunk/tests/tjn.c + +added more tests (large values of n) + +------------------------------------------------------------------------ +r4390 | zimmerma | 2007-03-23 16:22:01 +0000 (Fri, 23 Mar 2007) | 2 lines +Changed paths: + M /trunk/jn.c + +fixed another stupid bug + +------------------------------------------------------------------------ +r4389 | zimmerma | 2007-03-23 15:49:35 +0000 (Fri, 23 Mar 2007) | 3 lines +Changed paths: + M /trunk/jn.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/tests/tjn.c + +mpfr_jn -> mpfr_jn_si, with 'int' argument changed to 'long' +fixed bug in mpfr_jn_si (forgot to increase working precision) + +------------------------------------------------------------------------ +r4388 | vlefevre | 2007-03-23 15:47:17 +0000 (Fri, 23 Mar 2007) | 3 lines +Changed paths: + M /trunk/README.dev -2005-08-31 Vincent Lefevre <Vincent.Lefevre@loria.fr> +README.dev: added a warning about the meaning of the output "inexact" +value in the function logging code. - * configure.in: - Fix for the following problem: #error is not sufficient with cc - on IRIX64, and autoconf 2.59 doesn't cope with that. [2.2 branch] +------------------------------------------------------------------------ +r4387 | vlefevre | 2007-03-23 15:38:20 +0000 (Fri, 23 Mar 2007) | 2 lines +Changed paths: + M /trunk/add.c + M /trunk/sub.c - * VERSION, configure.in, mpfr.h, mpfr.texi, version.c: - Updated version to 2.3.0. +Added log support for mpfr_add and mpfr_sub. - * configure.in: - Fix for the following problem: #error is not sufficient with cc - on IRIX64, and autoconf 2.59 doesn't cope with that. +------------------------------------------------------------------------ +r4386 | lfousse | 2007-03-23 13:43:18 +0000 (Fri, 23 Mar 2007) | 2 lines +Changed paths: + M /trunk/algorithms.tex -2005-08-30 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Correction: added missing $b_n$. - * ChangeLog: Update. [2.2 branch] +------------------------------------------------------------------------ +r4385 | zimmerma | 2007-03-22 17:12:00 +0000 (Thu, 22 Mar 2007) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/algorithms.tex + A /trunk/jn.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/tests/Makefile.am + M /trunk/tests/reuse.c + A /trunk/tests/tj0.c + A /trunk/tests/tj1.c + A /trunk/tests/tjn.c - * mul.c: - Patch from Patrick to solve efficiency problem when one operand is - sparse (e.g. from ui_pow_ui) + other minor changes. [2.2 branch] +added Bessel functions of first kind: j0, j1, jn - * .cvsignore, tests/.cvsignore: Added .cvsignore files. +------------------------------------------------------------------------ +r4384 | vlefevre | 2007-03-19 09:11:17 +0000 (Mon, 19 Mar 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * mul.c: Unobfuscated 2 assertions. +MPFR manual: improved description of mpfr_get_str. - * mul.c: Fixed indentation and some comments. +------------------------------------------------------------------------ +r4383 | zimmerma | 2007-03-19 07:43:16 +0000 (Mon, 19 Mar 2007) | 2 lines +Changed paths: + M /trunk/get_str.c - * mul.c: - Recommitted the patch (without discarding previous modifications). +fixed typos in comments - * mul.c: - Reverted to the previous version, as the patch discarded previous - modifications. +------------------------------------------------------------------------ +r4382 | zimmerma | 2007-03-18 20:16:15 +0000 (Sun, 18 Mar 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi -2005-08-30 Paul Zimmermann <Paul.Zimmermann@loria.fr> +documented restriction to n in mpfr_get_str - * tests/tgamma.c: added two new tests +------------------------------------------------------------------------ +r4380 | vlefevre | 2007-03-13 15:46:08 +0000 (Tue, 13 Mar 2007) | 3 lines +Changed paths: + M /trunk/INSTALL - * mul.c: - patch from Patrick to solve efficiency problem when one operand is - sparse (e.g. from ui_pow_ui) +Updated INSTALL based on AIX/PowerPC tests and results from Julie Kurpa +and information on <http://www.ess.uci.edu/esmf/FAQ.html#gcc-errors>. -2005-08-29 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r4379 | vlefevre | 2007-03-03 01:55:32 +0000 (Sat, 03 Mar 2007) | 2 lines +Changed paths: + M /trunk/README.dev - * algorithms.tex, gamma.c, mpfr-impl.h, pow.c, tests/tgamma.c: - check for overflow/underflow in pow and gamma +README.dev: updated "To make a release" section. -2005-08-24 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r4378 | vlefevre | 2007-03-02 11:16:59 +0000 (Fri, 02 Mar 2007) | 3 lines +Changed paths: + M /trunk/mpfr.texi - * add1sp.c, mpfr-impl.h, mul.c, print_raw.c, sub1sp.c: - When WANT_ASSERT >= 2: the corresponding messages are now output - to stderr instead of stdout. +Made modified paragraph on mpfr_get_str more correct from a logical +point of view. - * set_uj.c: - Improved C compliance when mp_limb_t and uintmax_t have the same size - (concerning >> BITS_PER_MP_LIMB); some other small improvements. +------------------------------------------------------------------------ +r4377 | zimmerma | 2007-03-02 09:15:04 +0000 (Fri, 02 Mar 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * round_p.c, tests/tcan_round.c: - No longer assume that a mp_limb_t fits in an unsigned long (this - is not true under IRIX, where a mp_limb_t has 64 bits and a long - has 32 bits by default). In round_p.c, error messages are output - to stderr instead of stdout. +modified paragraph on mpfr_get_str (size of allocated string) + +------------------------------------------------------------------------ +r4376 | zimmerma | 2007-02-25 13:04:13 +0000 (Sun, 25 Feb 2007) | 2 lines +Changed paths: + M /trunk/TODO -2005-08-23 Vincent Lefevre <Vincent.Lefevre@loria.fr> +added tentative implementation of fmod - * set_ld.c: This was wrong. Let's do it even more like the 2.1 branch. +------------------------------------------------------------------------ +r4375 | zimmerma | 2007-02-20 02:58:16 +0000 (Tue, 20 Feb 2007) | 2 lines +Changed paths: + M /trunk/TODO - * set_ld.c: Patch 1.25 didn't work under OSF1 with cc. Let's do it like - the 2.1 branch (it now does work under OSF1 with cc). +added suggestion about remquo -2005-08-21 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r4374 | zimmerma | 2007-02-19 21:50:26 +0000 (Mon, 19 Feb 2007) | 2 lines +Changed paths: + M /trunk/TODO - * NEWS, mpfr-impl.h, mpfr.texi, out_str.c, strtofr.c: - Better locale support (for the decimal point in string conversions - and input/output). +added comment -2005-08-18 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r4373 | zimmerma | 2007-02-19 21:43:23 +0000 (Mon, 19 Feb 2007) | 2 lines +Changed paths: + M /trunk/TODO - * mpfr.texi: Misc changes (spelling, typography...). +added C99 rationale for remquo - * agm.c, extract.c, fits_u.h, free_cache.c, generic.c, get_si.c, init2.c, mpfr-test.h, next.c, print_raw.c, set_f.c, tests/cmp_str.c, tests/tagm.c, tests/tcmp_ui.c, tests/tcosh.c, tests/tdim.c, tests/terf.c, tests/tfits.c, tests/tgamma.c, tests/tget_d.c, tests/tnext.c, tests/tstrtofr.c, tests/tsub_ui.c, tests/ttanh.c, tests/tversion.c: - Updated copyright line. +------------------------------------------------------------------------ +r4372 | zimmerma | 2007-02-19 03:52:30 +0000 (Mon, 19 Feb 2007) | 3 lines +Changed paths: + M /trunk/acosh.c + M /trunk/algorithms.tex + M /trunk/asinh.c + M /trunk/atanh.c + M /trunk/const_catalan.c + M /trunk/log1p.c - * set_ld.c, tests/tset_ld.c: - Support C implementations giving an incorrect value for the precision - of long double or where long doubles are implemented with FP expansions - (like under Mac OS X), as in the 2.1 branch. +fixed error in generic error for the logarithm, and propagated new bound +in algorithms.tex and source files - * get_ld.c, mpfr-impl.h: - Updated mpfr_get_ld: removed useless and non-portable hacks, fixed - bugs, and slightly changed the behavior for the x87 extended format - (we shouldn't return long double's with more precision than really - supported, e.g. on FreeBSD and NetBSD). +------------------------------------------------------------------------ +r4371 | zimmerma | 2007-02-18 20:10:20 +0000 (Sun, 18 Feb 2007) | 2 lines +Changed paths: + M /trunk/TODO - * get_ld.c: Added an assertion. +added new item -2005-08-17 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r4370 | vlefevre | 2007-02-15 23:35:25 +0000 (Thu, 15 Feb 2007) | 3 lines +Changed paths: + A /trunk/update-patchv (from /branches/2.2/update-patchv:4367) - * set_ld.c: Reformatted (GNU style). +Added update-patchv script to update some files before a patch is built +(script from 2.2 branch). -2005-08-17 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r4365 | vlefevre | 2007-02-14 09:31:19 +0000 (Wed, 14 Feb 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * configure.in: Improve the warning message by adding the lines: - "we cannot run a program linked with GMP (if you cannot - see the version numbers above)." +mpfr.texi: updated paragraph on the underflow before/after rounding. + +------------------------------------------------------------------------ +r4364 | zimmerma | 2007-02-14 03:34:21 +0000 (Wed, 14 Feb 2007) | 2 lines +Changed paths: + M /trunk/TODO + +added reference + +------------------------------------------------------------------------ +r4363 | vlefevre | 2007-02-12 16:34:21 +0000 (Mon, 12 Feb 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +mpfr.texi: added Exceptions section. + +------------------------------------------------------------------------ +r4361 | vlefevre | 2007-02-12 12:18:19 +0000 (Mon, 12 Feb 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +mpfr.texi: updated month. + +------------------------------------------------------------------------ +r4359 | vlefevre | 2007-02-12 12:04:14 +0000 (Mon, 12 Feb 2007) | 2 lines +Changed paths: + M /trunk/NEWS + M /trunk/mpfr.texi + +Note that the mpfr.info file is now installed in the share subdirectory. + +------------------------------------------------------------------------ +r4358 | vlefevre | 2007-02-10 11:30:18 +0000 (Sat, 10 Feb 2007) | 4 lines +Changed paths: + M /trunk/tests/tpow.c + +tests/tpow.c: removed comment since there are other <limits.h> macros +in the file (and this is an old bug: the first one was introduced in +rev 2783). + +------------------------------------------------------------------------ +r4357 | zimmerma | 2007-02-10 08:05:30 +0000 (Sat, 10 Feb 2007) | 2 lines +Changed paths: + M /trunk/tests/tpow.c + +added missing include + +------------------------------------------------------------------------ +r4356 | vlefevre | 2007-02-09 14:17:32 +0000 (Fri, 09 Feb 2007) | 3 lines +Changed paths: + M /trunk/pow_si.c + M /trunk/tests/tpow.c + +Fixed an integer overflow in pow_si.c (detected with -ftrapv) and +added a corresponding testcase in tests/tpow.c. + +------------------------------------------------------------------------ +r4355 | vlefevre | 2007-02-09 13:30:57 +0000 (Fri, 09 Feb 2007) | 2 lines +Changed paths: + M /trunk/pow_si.c + +pow_si.c: another comment about the overflow detection. + +------------------------------------------------------------------------ +r4354 | vlefevre | 2007-02-09 13:14:07 +0000 (Fri, 09 Feb 2007) | 2 lines +Changed paths: + M /trunk/pow_si.c + +pow_si.c: added the proof of overflow checking. + +------------------------------------------------------------------------ +r4353 | vlefevre | 2007-02-09 11:55:51 +0000 (Fri, 09 Feb 2007) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +mpfr-impl.h: added a comment about the exponent limits for MPFR numbers. + +------------------------------------------------------------------------ +r4352 | vlefevre | 2007-02-08 15:47:13 +0000 (Thu, 08 Feb 2007) | 7 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/set_si.c + M /trunk/set_si_2exp.c + M /trunk/set_ui.c + M /trunk/set_ui_2exp.c + M /trunk/tests/tset_si.c + +Reimplemented mpfr_set_si_2exp and mpfr_set_ui_2exp, and mpfr_set_si +and mpfr_set_ui using the 2exp versions with e = 0. This fixes a bug +in corner cases (emin >= 4 and some other constraints) in mpfr_set_si +and mpfr_set_ui that incorrectly lead to an underflow flag set, and +fixes mpfr_set_si_2exp and mpfr_set_ui_2exp in case of overflow or +underflow (replacing the r4346 fix). Added corresponding testcases. + +------------------------------------------------------------------------ +r4350 | vlefevre | 2007-02-07 01:48:01 +0000 (Wed, 07 Feb 2007) | 3 lines +Changed paths: + M /trunk/abort_prec_max.c + M /trunk/acos.c + M /trunk/acosh.c + M /trunk/add.c + M /trunk/add1.c + M /trunk/add1sp.c + M /trunk/add_ui.c + M /trunk/agm.c + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atan.c + M /trunk/atan2.c + M /trunk/atanh.c + M /trunk/cache.c + M /trunk/cbrt.c + M /trunk/check.c + M /trunk/clear.c + M /trunk/clears.c + M /trunk/cmp.c + M /trunk/cmp2.c + M /trunk/cmp_abs.c + M /trunk/cmp_d.c + M /trunk/cmp_ld.c + M /trunk/cmp_si.c + M /trunk/cmp_ui.c + M /trunk/comparisons.c + M /trunk/const_catalan.c + M /trunk/const_euler.c + M /trunk/const_log2.c + M /trunk/const_pi.c + M /trunk/constant.c + M /trunk/copysign.c + M /trunk/cos.c + M /trunk/cosh.c + M /trunk/cot.c + M /trunk/coth.c + M /trunk/csc.c + M /trunk/csch.c + M /trunk/dim.c + M /trunk/div.c + M /trunk/div_2exp.c + M /trunk/div_2si.c + M /trunk/div_2ui.c + M /trunk/div_ui.c + M /trunk/dump.c + M /trunk/eint.c + M /trunk/eq.c + M /trunk/erfc.c + M /trunk/exceptions.c + M /trunk/exp10.c + M /trunk/exp2.c + M /trunk/exp3.c + M /trunk/exp_2.c + M /trunk/expm1.c + M /trunk/extract.c + M /trunk/factorial.c + M /trunk/fits_intmax.c + M /trunk/fits_s.h + M /trunk/fits_sint.c + M /trunk/fits_slong.c + M /trunk/fits_sshort.c + M /trunk/fits_u.h + M /trunk/fits_uint.c + M /trunk/fits_uintmax.c + M /trunk/fits_ulong.c + M /trunk/fits_ushort.c + M /trunk/fma.c + M /trunk/frac.c + M /trunk/free_cache.c + M /trunk/gamma.c + M /trunk/gen_inverse.h + M /trunk/generic.c + M /trunk/get_d.c + M /trunk/get_d64.c + M /trunk/get_exp.c + M /trunk/get_f.c + M /trunk/get_ld.c + M /trunk/get_si.c + M /trunk/get_sj.c + M /trunk/get_str.c + M /trunk/get_ui.c + M /trunk/get_uj.c + M /trunk/get_z.c + M /trunk/get_z_exp.c + M /trunk/gmp_op.c + M /trunk/hypot.c + M /trunk/init.c + M /trunk/init2.c + M /trunk/inits.c + M /trunk/inits2.c + M /trunk/inp_str.c + M /trunk/int_ceil_log2.c + M /trunk/isinf.c + M /trunk/isinteger.c + M /trunk/isnan.c + M /trunk/isnum.c + M /trunk/isqrt.c + M /trunk/iszero.c + M /trunk/lngamma.c + M /trunk/log.c + M /trunk/log10.c + M /trunk/log1p.c + M /trunk/log2.c + M /trunk/logging.c + M /trunk/minmax.c + M /trunk/mpf2mpfr.h + M /trunk/mpfr-gmp.c + M /trunk/mpfr-gmp.h + M /trunk/mpfr-impl.h + M /trunk/mpfr-test.h + M /trunk/mpfr.h + M /trunk/mpn_exp.c + M /trunk/mul.c + M /trunk/mul_2exp.c + M /trunk/mul_2si.c + M /trunk/mul_2ui.c + M /trunk/mul_ui.c + M /trunk/mulders.c + M /trunk/neg.c + M /trunk/next.c + M /trunk/out_str.c + M /trunk/pow.c + M /trunk/pow_si.c + M /trunk/pow_ui.c + M /trunk/pow_z.c + M /trunk/powerof2.c + M /trunk/print_raw.c + M /trunk/print_rnd_mode.c + M /trunk/random.c + M /trunk/random2.c + M /trunk/reldiff.c + M /trunk/rint.c + M /trunk/root.c + M /trunk/round_near_x.c + M /trunk/round_p.c + M /trunk/round_prec.c + M /trunk/round_raw_generic.c + M /trunk/sec.c + M /trunk/sech.c + M /trunk/set.c + M /trunk/set_d.c + M /trunk/set_d64.c + M /trunk/set_dfl_prec.c + M /trunk/set_exp.c + M /trunk/set_f.c + M /trunk/set_inf.c + M /trunk/set_ld.c + M /trunk/set_nan.c + M /trunk/set_prc_raw.c + M /trunk/set_prec.c + M /trunk/set_q.c + M /trunk/set_rnd.c + M /trunk/set_si.c + M /trunk/set_si_2exp.c + M /trunk/set_sj.c + M /trunk/set_str.c + M /trunk/set_str_raw.c + M /trunk/set_ui.c + M /trunk/set_ui_2exp.c + M /trunk/set_uj.c + M /trunk/set_z.c + M /trunk/setmax.c + M /trunk/setmin.c + M /trunk/sgn.c + M /trunk/si_op.c + M /trunk/sin.c + M /trunk/sin_cos.c + M /trunk/sinh.c + M /trunk/sqr.c + M /trunk/sqrt.c + M /trunk/sqrt_ui.c + M /trunk/stack_interface.c + M /trunk/strtofr.c + M /trunk/sub.c + M /trunk/sub1.c + M /trunk/sub1sp.c + M /trunk/sub_ui.c + M /trunk/subnormal.c + M /trunk/sum.c + M /trunk/swap.c + M /trunk/tan.c + M /trunk/tanh.c + M /trunk/tests/cmp_str.c + M /trunk/tests/memory.c + M /trunk/tests/mpf_compat.c + M /trunk/tests/mpf_compat.h + M /trunk/tests/mpfr_compat.c + M /trunk/tests/reuse.c + M /trunk/tests/rnd_mode.c + M /trunk/tests/tabs.c + M /trunk/tests/tacosh.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd1sp.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tasin.c + M /trunk/tests/tasinh.c + M /trunk/tests/tatan.c + M /trunk/tests/tatanh.c + M /trunk/tests/tcan_round.c + M /trunk/tests/tcbrt.c + M /trunk/tests/tcheck.c + M /trunk/tests/tcmp.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tcmp_d.c + M /trunk/tests/tcmp_ld.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tcmpabs.c + M /trunk/tests/tcomparisons.c + M /trunk/tests/tconst_catalan.c + M /trunk/tests/tconst_euler.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tconst_pi.c + M /trunk/tests/tcopysign.c + M /trunk/tests/tcos.c + M /trunk/tests/tcosh.c + M /trunk/tests/tcot.c + M /trunk/tests/tcoth.c + M /trunk/tests/tcsc.c + M /trunk/tests/tcsch.c + M /trunk/tests/tdim.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/teint.c + M /trunk/tests/teq.c + M /trunk/tests/tests.c + M /trunk/tests/texceptions.c + M /trunk/tests/texp.c + M /trunk/tests/texp2.c + M /trunk/tests/texpm1.c + M /trunk/tests/tfactorial.c + M /trunk/tests/tfits.c + M /trunk/tests/tfma.c + M /trunk/tests/tfrac.c + M /trunk/tests/tgamma.c + M /trunk/tests/tgeneric.c + M /trunk/tests/tgeneric_ui.c + M /trunk/tests/tget_d.c + M /trunk/tests/tget_d_2exp.c + M /trunk/tests/tget_f.c + M /trunk/tests/tget_ld_2exp.c + M /trunk/tests/tget_set_d64.c + M /trunk/tests/tget_sj.c + M /trunk/tests/tget_str.c + M /trunk/tests/tget_z.c + M /trunk/tests/tgmpop.c + M /trunk/tests/thyperbolic.c + M /trunk/tests/thypot.c + M /trunk/tests/tinits.c + M /trunk/tests/tinp_str.c + M /trunk/tests/tinternals.c + M /trunk/tests/tisnan.c + M /trunk/tests/tlngamma.c + M /trunk/tests/tlog.c + M /trunk/tests/tlog10.c + M /trunk/tests/tlog1p.c + M /trunk/tests/tlog2.c + M /trunk/tests/tminmax.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tnext.c + M /trunk/tests/tout_str.c + M /trunk/tests/toutimpl.c + M /trunk/tests/tpow.c + M /trunk/tests/tpow3.c + M /trunk/tests/tpow_z.c + M /trunk/tests/trandom.c + M /trunk/tests/trint.c + M /trunk/tests/troot.c + M /trunk/tests/tround_prec.c + M /trunk/tests/tsec.c + M /trunk/tests/tsech.c + M /trunk/tests/tset.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_exp.c + M /trunk/tests/tset_f.c + M /trunk/tests/tset_ld.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_sj.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsgn.c + M /trunk/tests/tsi_op.c + M /trunk/tests/tsin.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsinh.c + M /trunk/tests/tsqr.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tstckintc.c + M /trunk/tests/tstrtofr.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub1sp.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tsubnormal.c + M /trunk/tests/tsum.c + M /trunk/tests/tswap.c + M /trunk/tests/ttan.c + M /trunk/tests/ttanh.c + M /trunk/tests/ttrunc.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_pow.c + M /trunk/tests/tui_sub.c + M /trunk/tests/tversion.c + M /trunk/tests/tzeta_ui.c + M /trunk/tuneup.c + M /trunk/uceil_exp2.c + M /trunk/uceil_log2.c + M /trunk/ufloor_log2.c + M /trunk/ui_div.c + M /trunk/ui_pow.c + M /trunk/ui_pow_ui.c + M /trunk/ui_sub.c + M /trunk/urandomb.c + M /trunk/version.c + M /trunk/volatile.c + M /trunk/zeta_ui.c + +Added "Contributed by the Arenaire and Cacao projects, INRIA." to the +copyright notices and removed a few old things. + +------------------------------------------------------------------------ +r4347 | zimmerma | 2007-02-01 13:15:34 +0000 (Thu, 01 Feb 2007) | 2 lines +Changed paths: + M /trunk/mpfr.h + +added missing macro (thanks to Izhar Wallach <izharw@keddem.com>) + +------------------------------------------------------------------------ +r4346 | vlefevre | 2007-01-20 13:45:20 +0000 (Sat, 20 Jan 2007) | 2 lines +Changed paths: + M /trunk/set_si_2exp.c + +Fixed mpfr_set_si_2exp in case of overflow or underflow. + +------------------------------------------------------------------------ +r4345 | vlefevre | 2007-01-19 08:31:32 +0000 (Fri, 19 Jan 2007) | 2 lines +Changed paths: + M /trunk/pow_si.c + +pow_si.c: fixed the overflow detection for x power of 2 and n negative. + +------------------------------------------------------------------------ +r4344 | vlefevre | 2007-01-19 07:24:26 +0000 (Fri, 19 Jan 2007) | 3 lines +Changed paths: + M /trunk/tests/tget_f.c + +tests/tget_f.c: fixed a test that had an integer overflow (detected +with -ftrapv). + +------------------------------------------------------------------------ +r4343 | vlefevre | 2007-01-19 07:07:10 +0000 (Fri, 19 Jan 2007) | 6 lines +Changed paths: + M /trunk/pow_si.c + +pow_si.c: Before fixing the bug corresponding to the testcase added in +rev 4342, let's fix another one that can be detected with -ftrapv when +n = LONG_MIN (since -n is not representable in this case). +With wrapping, we always got the correct result because mp_exp_t is +currently at most a long *and* because of side effects! + +------------------------------------------------------------------------ +r4342 | vlefevre | 2007-01-19 06:51:13 +0000 (Fri, 19 Jan 2007) | 2 lines +Changed paths: + M /trunk/tests/tpow.c + +tests/tpow.c: added a test which fails (undetected integer overflow). + +------------------------------------------------------------------------ +r4341 | vlefevre | 2007-01-19 06:44:09 +0000 (Fri, 19 Jan 2007) | 2 lines +Changed paths: + M /trunk/tests/tpow.c + +tests/tpow.c: new test was wrong; fixed. + +------------------------------------------------------------------------ +r4340 | vlefevre | 2007-01-19 06:39:23 +0000 (Fri, 19 Jan 2007) | 2 lines +Changed paths: + M /trunk/tests/tpow.c + +tests/tpow.c: corrected tests and added another test. + +------------------------------------------------------------------------ +r4339 | vlefevre | 2007-01-19 05:10:16 +0000 (Fri, 19 Jan 2007) | 2 lines +Changed paths: + M /trunk/tests/tpow.c + +tests/tpow.c: added tests. + +------------------------------------------------------------------------ +r4338 | vlefevre | 2007-01-19 04:23:17 +0000 (Fri, 19 Jan 2007) | 2 lines +Changed paths: + M /trunk/pow_si.c + +pow_si.c: added an assertion. + +------------------------------------------------------------------------ +r4337 | vlefevre | 2007-01-18 01:28:02 +0000 (Thu, 18 Jan 2007) | 2 lines +Changed paths: + M /trunk/TODO + +TODO: merged both requests for mpfr_sinh_cosh. + +------------------------------------------------------------------------ +r4335 | zimmerma | 2007-01-17 19:38:49 +0000 (Wed, 17 Jan 2007) | 2 lines +Changed paths: + M /trunk/dim.c + M /trunk/mpfr.texi + +added documentation for mpfr_dim (was missing) + +------------------------------------------------------------------------ +r4334 | zimmerma | 2007-01-17 19:26:47 +0000 (Wed, 17 Jan 2007) | 2 lines +Changed paths: + M /trunk/TODO + +added item + +------------------------------------------------------------------------ +r4333 | vlefevre | 2007-01-17 17:34:09 +0000 (Wed, 17 Jan 2007) | 4 lines +Changed paths: + M /trunk/get_str.c + M /trunk/mpfr-impl.h + M /trunk/tests/tests.c + +Replaced some computations using the type double by computations using +MPFR, for mpfr_get_str, allowing it to work with an x86 processor set +up in single-precision mode. + +------------------------------------------------------------------------ +r4332 | vlefevre | 2007-01-16 23:15:29 +0000 (Tue, 16 Jan 2007) | 2 lines +Changed paths: + M /trunk/pow_si.c + +Updated comment concerning LONG_MIN / 1. + +------------------------------------------------------------------------ +r4331 | vlefevre | 2007-01-15 00:40:17 +0000 (Mon, 15 Jan 2007) | 2 lines +Changed paths: + M /trunk/README.dev + +README.dev: updated "To make a release" section. + +------------------------------------------------------------------------ +r4329 | vlefevre | 2007-01-10 16:35:27 +0000 (Wed, 10 Jan 2007) | 2 lines +Changed paths: + D /trunk/mpzroot.c + D /trunk/rootrem.c + +Removed mpzroot.c and rootrem.c from the repository. + +------------------------------------------------------------------------ +r4328 | vlefevre | 2007-01-10 16:32:46 +0000 (Wed, 10 Jan 2007) | 3 lines +Changed paths: + M /trunk/Makefile.am + D /trunk/log_b2.h + +Removed log_b2.h (has never been used) from the repository and from +libmpfr_la_SOURCES in Makefile.am. + +------------------------------------------------------------------------ +r4327 | vlefevre | 2007-01-10 15:40:05 +0000 (Wed, 10 Jan 2007) | 2 lines +Changed paths: + M /trunk/FAQ.html + +FAQ.html: Added details to MPF-related Q&A's. + +------------------------------------------------------------------------ +r4326 | vlefevre | 2007-01-10 12:51:56 +0000 (Wed, 10 Jan 2007) | 2 lines +Changed paths: + M /trunk/NEWS + M /trunk/README + M /trunk/TODO + M /trunk/abort_prec_max.c + M /trunk/acinclude.m4 + M /trunk/acos.c + M /trunk/acosh.c + M /trunk/add.c + M /trunk/add1.c + M /trunk/add1sp.c + M /trunk/add_ui.c + M /trunk/agm.c + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atan.c + M /trunk/atan2.c + M /trunk/atanh.c + M /trunk/cache.c + M /trunk/cbrt.c + M /trunk/check.c + M /trunk/clear.c + M /trunk/clears.c + M /trunk/cmp.c + M /trunk/cmp2.c + M /trunk/cmp_abs.c + M /trunk/cmp_d.c + M /trunk/cmp_ld.c + M /trunk/cmp_si.c + M /trunk/cmp_ui.c + M /trunk/comparisons.c + M /trunk/configure.in + M /trunk/const_catalan.c + M /trunk/const_euler.c + M /trunk/const_log2.c + M /trunk/const_pi.c + M /trunk/constant.c + M /trunk/copysign.c + M /trunk/cos.c + M /trunk/cosh.c + M /trunk/cot.c + M /trunk/coth.c + M /trunk/csc.c + M /trunk/csch.c + M /trunk/dim.c + M /trunk/div.c + M /trunk/div_2exp.c + M /trunk/div_2si.c + M /trunk/div_2ui.c + M /trunk/div_ui.c + M /trunk/dump.c + M /trunk/eint.c + M /trunk/eq.c + M /trunk/erf.c + M /trunk/erfc.c + M /trunk/exceptions.c + M /trunk/exp.c + M /trunk/exp10.c + M /trunk/exp2.c + M /trunk/exp3.c + M /trunk/exp_2.c + M /trunk/expm1.c + M /trunk/extract.c + M /trunk/factorial.c + M /trunk/faq.xsl + M /trunk/fits_intmax.c + M /trunk/fits_s.h + M /trunk/fits_sint.c + M /trunk/fits_slong.c + M /trunk/fits_sshort.c + M /trunk/fits_u.h + M /trunk/fits_uint.c + M /trunk/fits_uintmax.c + M /trunk/fits_ulong.c + M /trunk/fits_ushort.c + M /trunk/fma.c + M /trunk/frac.c + M /trunk/free_cache.c + M /trunk/gamma.c + M /trunk/gen_inverse.h + M /trunk/generic.c + M /trunk/get_d.c + M /trunk/get_d64.c + M /trunk/get_exp.c + M /trunk/get_f.c + M /trunk/get_ld.c + M /trunk/get_si.c + M /trunk/get_sj.c + M /trunk/get_str.c + M /trunk/get_ui.c + M /trunk/get_uj.c + M /trunk/get_z.c + M /trunk/get_z_exp.c + M /trunk/gmp_op.c + M /trunk/hypot.c + M /trunk/init.c + M /trunk/init2.c + M /trunk/inits.c + M /trunk/inits2.c + M /trunk/inp_str.c + M /trunk/int_ceil_log2.c + M /trunk/isinf.c + M /trunk/isinteger.c + M /trunk/isnan.c + M /trunk/isnum.c + M /trunk/isqrt.c + M /trunk/iszero.c + M /trunk/lngamma.c + M /trunk/log.c + M /trunk/log10.c + M /trunk/log1p.c + M /trunk/log2.c + M /trunk/logging.c + M /trunk/minmax.c + M /trunk/mp_clz_tab.c + M /trunk/mparam_h.in + M /trunk/mpf2mpfr.h + M /trunk/mpfr-gmp.c + M /trunk/mpfr-gmp.h + M /trunk/mpfr-impl.h + M /trunk/mpfr-test.h + M /trunk/mpfr.h + M /trunk/mpn_exp.c + M /trunk/mpzroot.c + M /trunk/mul.c + M /trunk/mul_2exp.c + M /trunk/mul_2si.c + M /trunk/mul_2ui.c + M /trunk/mul_ui.c + M /trunk/mulders.c + M /trunk/neg.c + M /trunk/next.c + M /trunk/out_str.c + M /trunk/pow.c + M /trunk/pow_ui.c + M /trunk/pow_z.c + M /trunk/powerof2.c + M /trunk/print_raw.c + M /trunk/print_rnd_mode.c + M /trunk/random.c + M /trunk/random2.c + M /trunk/reldiff.c + M /trunk/rint.c + M /trunk/root.c + M /trunk/rootrem.c + M /trunk/round_near_x.c + M /trunk/round_p.c + M /trunk/round_prec.c + M /trunk/round_raw_generic.c + M /trunk/sec.c + M /trunk/sech.c + M /trunk/set.c + M /trunk/set_d.c + M /trunk/set_d64.c + M /trunk/set_dfl_prec.c + M /trunk/set_exp.c + M /trunk/set_f.c + M /trunk/set_inf.c + M /trunk/set_ld.c + M /trunk/set_nan.c + M /trunk/set_prc_raw.c + M /trunk/set_prec.c + M /trunk/set_q.c + M /trunk/set_rnd.c + M /trunk/set_si.c + M /trunk/set_si_2exp.c + M /trunk/set_sj.c + M /trunk/set_str.c + M /trunk/set_str_raw.c + M /trunk/set_ui.c + M /trunk/set_ui_2exp.c + M /trunk/set_uj.c + M /trunk/set_z.c + M /trunk/setmax.c + M /trunk/setmin.c + M /trunk/sgn.c + M /trunk/si_op.c + M /trunk/sin.c + M /trunk/sin_cos.c + M /trunk/sinh.c + M /trunk/sqr.c + M /trunk/sqrt.c + M /trunk/sqrt_ui.c + M /trunk/stack_interface.c + M /trunk/strtofr.c + M /trunk/sub.c + M /trunk/sub1.c + M /trunk/sub1sp.c + M /trunk/sub_ui.c + M /trunk/subnormal.c + M /trunk/sum.c + M /trunk/swap.c + M /trunk/tan.c + M /trunk/tanh.c + M /trunk/tests/cmp_str.c + M /trunk/tests/memory.c + M /trunk/tests/mpf_compat.c + M /trunk/tests/mpf_compat.h + M /trunk/tests/mpfr_compat.c + M /trunk/tests/reuse.c + M /trunk/tests/rnd_mode.c + M /trunk/tests/tabs.c + M /trunk/tests/tacos.c + M /trunk/tests/tacosh.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd1sp.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tasin.c + M /trunk/tests/tasinh.c + M /trunk/tests/tatan.c + M /trunk/tests/tatanh.c + M /trunk/tests/tcan_round.c + M /trunk/tests/tcbrt.c + M /trunk/tests/tcheck.c + M /trunk/tests/tcmp.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tcmp_d.c + M /trunk/tests/tcmp_ld.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tcmpabs.c + M /trunk/tests/tcomparisons.c + M /trunk/tests/tconst_catalan.c + M /trunk/tests/tconst_euler.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tconst_pi.c + M /trunk/tests/tcopysign.c + M /trunk/tests/tcos.c + M /trunk/tests/tcosh.c + M /trunk/tests/tcot.c + M /trunk/tests/tcoth.c + M /trunk/tests/tcsc.c + M /trunk/tests/tcsch.c + M /trunk/tests/tdim.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/teint.c + M /trunk/tests/teq.c + M /trunk/tests/terf.c + M /trunk/tests/texceptions.c + M /trunk/tests/texp.c + M /trunk/tests/texp2.c + M /trunk/tests/texpm1.c + M /trunk/tests/tfactorial.c + M /trunk/tests/tfits.c + M /trunk/tests/tfma.c + M /trunk/tests/tfrac.c + M /trunk/tests/tgamma.c + M /trunk/tests/tgeneric.c + M /trunk/tests/tgeneric_ui.c + M /trunk/tests/tget_d.c + M /trunk/tests/tget_d_2exp.c + M /trunk/tests/tget_f.c + M /trunk/tests/tget_ld_2exp.c + M /trunk/tests/tget_set_d64.c + M /trunk/tests/tget_sj.c + M /trunk/tests/tget_str.c + M /trunk/tests/tget_z.c + M /trunk/tests/tgmpop.c + M /trunk/tests/thyperbolic.c + M /trunk/tests/thypot.c + M /trunk/tests/tinits.c + M /trunk/tests/tinp_str.c + M /trunk/tests/tinternals.c + M /trunk/tests/tisnan.c + M /trunk/tests/tlngamma.c + M /trunk/tests/tlog.c + M /trunk/tests/tlog10.c + M /trunk/tests/tlog1p.c + M /trunk/tests/tlog2.c + M /trunk/tests/tminmax.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tnext.c + M /trunk/tests/tout_str.c + M /trunk/tests/toutimpl.c + M /trunk/tests/tpow.c + M /trunk/tests/tpow3.c + M /trunk/tests/tpow_z.c + M /trunk/tests/trandom.c + M /trunk/tests/trint.c + M /trunk/tests/troot.c + M /trunk/tests/tround_prec.c + M /trunk/tests/tsec.c + M /trunk/tests/tsech.c + M /trunk/tests/tset.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_exp.c + M /trunk/tests/tset_f.c + M /trunk/tests/tset_ld.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_sj.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsgn.c + M /trunk/tests/tsi_op.c + M /trunk/tests/tsin.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsinh.c + M /trunk/tests/tsqr.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tstckintc.c + M /trunk/tests/tstrtofr.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub1sp.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tsubnormal.c + M /trunk/tests/tsum.c + M /trunk/tests/tswap.c + M /trunk/tests/ttan.c + M /trunk/tests/ttanh.c + M /trunk/tests/ttrunc.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_pow.c + M /trunk/tests/tui_sub.c + M /trunk/tests/tversion.c + M /trunk/tests/tzeta.c + M /trunk/tests/tzeta_ui.c + M /trunk/tuneup.c + M /trunk/uceil_exp2.c + M /trunk/uceil_log2.c + M /trunk/ufloor_log2.c + M /trunk/ui_div.c + M /trunk/ui_pow.c + M /trunk/ui_pow_ui.c + M /trunk/ui_sub.c + M /trunk/urandomb.c + M /trunk/version.c + M /trunk/volatile.c + M /trunk/zeta.c + M /trunk/zeta_ui.c + +Copyright notice update: added 2007. + +------------------------------------------------------------------------ +r4325 | vlefevre | 2007-01-10 12:37:05 +0000 (Wed, 10 Jan 2007) | 6 lines +Changed paths: + M /trunk/BUGS + M /trunk/README.dev + M /trunk/tests/tests.c + +* tests/tests.c: under Linux/x86, the FPU precision can be set before +doing the tests (see MPFR_FPU_PREC), so that MPFR can be tested under +various FP environments (2 tests currently fail with _FPU_SINGLE). +* README.dev: updated "To make a release" section. +* BUGS: mentioned the above bug. + +------------------------------------------------------------------------ +r4323 | vlefevre | 2007-01-08 16:36:00 +0000 (Mon, 08 Jan 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +mpfr.texi -> January 2007. + +------------------------------------------------------------------------ +r4321 | zimmerma | 2007-01-08 16:03:52 +0000 (Mon, 08 Jan 2007) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +added support from LIP, and different INRIA project-teams + +------------------------------------------------------------------------ +r4320 | vlefevre | 2007-01-03 16:19:45 +0000 (Wed, 03 Jan 2007) | 2 lines +Changed paths: + M /trunk/pow_si.c + +Minor change. + +------------------------------------------------------------------------ +r4319 | vlefevre | 2006-12-29 03:42:39 +0000 (Fri, 29 Dec 2006) | 2 lines +Changed paths: + M /trunk/TODO + +TODO: macros/functions to get/set the sign of a MPFR number. + +------------------------------------------------------------------------ +r4318 | zimmerma | 2006-12-21 14:10:51 +0000 (Thu, 21 Dec 2006) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/root.c + +remove new rootrem implementation (unclear copyright status) + +------------------------------------------------------------------------ +r4317 | vlefevre | 2006-12-19 22:32:09 +0000 (Tue, 19 Dec 2006) | 3 lines +Changed paths: + M /trunk/const_catalan.c + M /trunk/const_pi.c + M /trunk/cos.c + M /trunk/eint.c + M /trunk/erfc.c + M /trunk/gamma.c + M /trunk/lngamma.c + M /trunk/zeta.c + +Replaced mpfr_mul_2exp and mpfr_div_2exp by mpfr_mul_2ui and +mpfr_div_2ui respectively (when this makes sense, of course). + +------------------------------------------------------------------------ +r4316 | zimmerma | 2006-12-19 13:59:59 +0000 (Tue, 19 Dec 2006) | 2 lines +Changed paths: + M /trunk/zeta_ui.c + +mpfr_div_2exp -> mpfr_div_2ui + +------------------------------------------------------------------------ +r4315 | zimmerma | 2006-12-19 07:08:13 +0000 (Tue, 19 Dec 2006) | 2 lines +Changed paths: + M /trunk/TODO + M /trunk/algorithms.tex + M /trunk/zeta_ui.c + +improved efficiency of zeta_ui(s) for 3^(-s) < 1/2*ulp(1) + +------------------------------------------------------------------------ +r4314 | vlefevre | 2006-12-18 17:09:43 +0000 (Mon, 18 Dec 2006) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +mpfr.texi: update concerning MPFR_USE_EXTENSION. + +------------------------------------------------------------------------ +r4313 | zimmerma | 2006-12-18 16:03:26 +0000 (Mon, 18 Dec 2006) | 2 lines +Changed paths: + M /trunk/rootrem.c -2005-08-16 Paul Zimmermann <Paul.Zimmermann@loria.fr> +added copyright header - * algorithms.tex: added pointer for gamma +------------------------------------------------------------------------ +r4312 | zimmerma | 2006-12-18 12:04:19 +0000 (Mon, 18 Dec 2006) | 2 lines +Changed paths: + M /trunk/TODO - * gamma.c: fixed comments (code did not change) +added item - * algorithms.bib, algorithms.tex, gamma.c: - added formula for gamma function +------------------------------------------------------------------------ +r4311 | vlefevre | 2006-12-15 14:28:53 +0000 (Fri, 15 Dec 2006) | 2 lines +Changed paths: + M /trunk/TODO + M /trunk/mpfr.h + M /trunk/mpfr.texi - * tests/tgamma.c: fixed last test (expected result was wrong) +Implemented MPFR_USE_EXTENSION support. - * gamma.c: fixed bug for tiny input +------------------------------------------------------------------------ +r4310 | zimmerma | 2006-12-15 08:42:21 +0000 (Fri, 15 Dec 2006) | 4 lines +Changed paths: + M /trunk/zeta_ui.c - * tests/tgamma.c: added test case +improved efficiency for zeta(m) in precision p when m is large +but still smaller than p, for example m=1024 and p=2048 gives a +speedup of about 23 (thanks to Jim White for reporting the problem) -2005-08-12 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r4309 | zimmerma | 2006-12-14 15:19:17 +0000 (Thu, 14 Dec 2006) | 2 lines +Changed paths: + M /trunk/zeta_ui.c - * Makefile.am: Reintroduce the computing of the dependencies. +added MPFR_ZIV_INIT stuff -2005-08-11 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r4308 | zimmerma | 2006-12-07 07:17:58 +0000 (Thu, 07 Dec 2006) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * mpfr-impl.h, tests/tget_d.c, tests/tset_d.c: - Added MPFR_DOUBLE_SPEC (not used yet, except for warning messages). +fixed typo -2005-08-10 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r4307 | vlefevre | 2006-12-05 09:42:22 +0000 (Tue, 05 Dec 2006) | 2 lines +Changed paths: + M /trunk/TODO - * mpfr.texi: - Completed the documentation of mpfr_strtofr (concerning the exponent). +TODO: to be added: MPFR_USE_EXTENSION macro. - * mpfr.texi: - Removed double spaces in mpfr_strtofr description (this matters - for the info format). +------------------------------------------------------------------------ +r4306 | vlefevre | 2006-11-29 09:50:57 +0000 (Wed, 29 Nov 2006) | 2 lines +Changed paths: + M /trunk/README.dev - * tests/tget_d.c: Added a temporary test for non-IEEE-754 double's. +README.dev: update. -2005-08-09 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r4300 | vlefevre | 2006-11-29 08:54:24 +0000 (Wed, 29 Nov 2006) | 2 lines +Changed paths: + M /trunk/INSTALL - * mpfr.h, tests/tstckintc.c: Fix bug for pre-ansi compiler. +INSTALL: update of the "Notes on Windows 32" section. - * NEWS: Remove redundant entries. +------------------------------------------------------------------------ +r4299 | zimmerma | 2006-11-27 08:56:12 +0000 (Mon, 27 Nov 2006) | 2 lines +Changed paths: + M /trunk/set_uj.c -2005-08-08 Paul Zimmermann <Paul.Zimmermann@loria.fr> +added comment about last change - * NEWS, TODO, sin.c, tests/tsin.c: - fixed bug in mpfr_sin (possible wrong inexact flag for rounding to - nearest) added items in NEWS and TODO +------------------------------------------------------------------------ +r4298 | zimmerma | 2006-11-27 08:26:02 +0000 (Mon, 27 Nov 2006) | 2 lines +Changed paths: + M /trunk/set_uj.c -2005-08-05 Patrick Pelissier <Patrick.Pelissier@loria.fr> +fixed warning on 64-bit machines - * mpfr.texi: Update information +------------------------------------------------------------------------ +r4297 | vlefevre | 2006-11-26 18:58:05 +0000 (Sun, 26 Nov 2006) | 2 lines +Changed paths: + M /trunk/tests/tpow.c - * mpfr.h, stack_interface.c, tests/tstckintc.c: - Rename mpfr_stack to mpfr_custom_ +tests/tpow.c: added worst cases. -2005-08-03 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r4296 | vlefevre | 2006-11-26 18:52:26 +0000 (Sun, 26 Nov 2006) | 2 lines +Changed paths: + M /trunk/tests/troot.c - * VERSION, mpfr.h, mpfr.texi, version.c: - Update for future version in 2.1 branch. +tests/troot.c: two more worst cases. - * mpfr.texi: Updated the date. [2.1 branch] +------------------------------------------------------------------------ +r4295 | vlefevre | 2006-11-25 20:05:15 +0000 (Sat, 25 Nov 2006) | 2 lines +Changed paths: + M /trunk/tests/troot.c - * ChangeLog: Update. +tests/troot.c: added a worst case. - * FAQ.html, Makefile.am, NEWS, README: Added FAQ. [2.1 branch] +------------------------------------------------------------------------ +r4293 | vlefevre | 2006-11-25 19:46:42 +0000 (Sat, 25 Nov 2006) | 2 lines +Changed paths: + M /trunk/BUGS - * FAQ.html, README: Added/updated copyright information. +BUGS: removed obsolete "compiler bugs" section. - * ChangeLog, NEWS: Update. +------------------------------------------------------------------------ +r4292 | zimmerma | 2006-11-25 09:51:07 +0000 (Sat, 25 Nov 2006) | 2 lines +Changed paths: + M /trunk/tests/tpow.c - * NEWS: Update. [2.1 branch] +added worst case -2005-08-02 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r4286 | vlefevre | 2006-11-25 00:15:30 +0000 (Sat, 25 Nov 2006) | 2 lines +Changed paths: + M /trunk/INSTALL - * TODO: Remove "Stack Interface" from TODO. +Partially rewrote the INSTALL file. -2005-08-01 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r4284 | vlefevre | 2006-11-24 14:46:41 +0000 (Fri, 24 Nov 2006) | 2 lines +Changed paths: + M /trunk/Makefile.am - * tests/tsubnormal.c, subnormal.c, tests/Makefile.am: - Add test file for mpfr_subnormalize +Makefile.am: fixed libtool's -version-info flag (and comment). - * mpfr.texi: Add documentation for MPFR stack interface +------------------------------------------------------------------------ +r4279 | vlefevre | 2006-11-24 00:44:20 +0000 (Fri, 24 Nov 2006) | 2 lines +Changed paths: + M /trunk/configure.in - * tests/tstckintc.c: - Add a new test to avoid potential problems if mp_limb_t != long. +configure.in: check for gmp.h a bit earlier. -2005-08-01 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r4278 | zimmerma | 2006-11-23 14:10:10 +0000 (Thu, 23 Nov 2006) | 2 lines +Changed paths: + M /trunk/nightly-test - * set_ld.c: - Forgot to keep the old value of d when computations need to be redone. - [2.1 branch] +added --with-tests-timeout=60 for nightly tests - * tests/tset_ld.c: Fixed the tests. [2.1 branch] +------------------------------------------------------------------------ +r4277 | zimmerma | 2006-11-23 14:08:47 +0000 (Thu, 23 Nov 2006) | 2 lines +Changed paths: + M /trunk/configure.in + M /trunk/tests/tests.c - * set_ld.c: - Support C implementations giving an incorrect value for the precision - of long double or where long doubles are implemented with FP expansions - (like under Mac OS X). Not tested yet... [2.1 branch] +test timeout is now a configure option (e.g. --with-tests-timeout=60) -2005-07-26 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r4276 | zimmerma | 2006-11-23 13:25:35 +0000 (Thu, 23 Nov 2006) | 2 lines +Changed paths: + M /trunk/gamma.c - * Makefile.am, mpfr.h, mpfr.texi, stack_interface.c, tests/Makefile.am, tests/tstckintc.c: - Add first version of MPFR stack interface. - Need to check if everything is ok, specially the test. +replaced set_d by set_str_binary (more portable) - * mpfr-impl.h: Fix and clean up logging for GCC 4.0.x +------------------------------------------------------------------------ +r4274 | vlefevre | 2006-11-23 00:34:58 +0000 (Thu, 23 Nov 2006) | 2 lines +Changed paths: + M /trunk/INSTALL - * mpfr-impl.h: Clean up code. +INSTALL: several additions. - * README.dev, logging.c, mpfr-impl.h: Improve logging: - + The file is not created if there is nothing to log. - + Add new ENVIRONMENT variables: MPFR_LOG_ALL and MPFR_LOG_STAT. +------------------------------------------------------------------------ +r4272 | vlefevre | 2006-11-22 17:25:20 +0000 (Wed, 22 Nov 2006) | 2 lines +Changed paths: + M /trunk/INSTALL - * atan.c: Add experimental code (Disabled). +INSTALL: small update. - * strtofr.c: Fix comment +------------------------------------------------------------------------ +r4270 | vlefevre | 2006-11-22 15:25:22 +0000 (Wed, 22 Nov 2006) | 2 lines +Changed paths: + M /trunk/FAQ.html - * tests/tsin.c: Add a new regression test (to fix). +FAQ update (added a CSS counter). -2005-07-22 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r4268 | vlefevre | 2006-11-22 15:23:30 +0000 (Wed, 22 Nov 2006) | 2 lines +Changed paths: + M /trunk/update-faq - * erfc.c: Fix bug for high values of input (assertion failed) - because erf(x) ~ 1, so 1-erf(x) ~ 0, and we can't - get the EXP of tmp. +update-faq: added a workaround for the libxslt bug 377440. -2005-07-18 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r4267 | vlefevre | 2006-11-22 11:48:44 +0000 (Wed, 22 Nov 2006) | 2 lines +Changed paths: + M /trunk/TODO - * update-version: Fix bug (AC_INIT version wasn't updated). - Display a note about libtool version before quitting. +TODO: update concerning the patches information. - * acinclude.m4, configure.in: Clean up. - Add comment. - Add a new test: check if the charset has consecutive values. +------------------------------------------------------------------------ +r4266 | zimmerma | 2006-11-22 08:03:59 +0000 (Wed, 22 Nov 2006) | 2 lines +Changed paths: + M /trunk/nightly-test -2005-07-12 Vincent Lefevre <Vincent.Lefevre@loria.fr> +set GMP_CHECK_RANDOMIZE to get random tests - * mpfr.texi: Updated documentation of mpfr_strtofr. +------------------------------------------------------------------------ +r4263 | vlefevre | 2006-11-21 18:01:15 +0000 (Tue, 21 Nov 2006) | 2 lines +Changed paths: + M /trunk/README -2005-07-12 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Updated README file. - * exp3.c: Fix an overflow bug (use of int instead of unsigned long). - Optimize code (5% faster). +------------------------------------------------------------------------ +r4259 | vlefevre | 2006-11-20 16:32:36 +0000 (Mon, 20 Nov 2006) | 2 lines +Changed paths: + M /trunk/README.dev -2005-07-11 Vincent Lefevre <Vincent.Lefevre@loria.fr> +README.dev: mention the version suffix. - * strtofr.c: Updated copyright line. [2.1 branch] +------------------------------------------------------------------------ +r4258 | vlefevre | 2006-11-20 16:25:47 +0000 (Mon, 20 Nov 2006) | 2 lines +Changed paths: + M /trunk/VERSION + M /trunk/configure.in + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/version.c - * strtofr.c: Fixed locale bug. [2.1 branch] +Updated version to 2.3.0-dev. - * BUGS, acinclude.m4, mpfr-impl.h, strcasecmp.c, strncasecmp.c, strtofr.c: - Fixed locale bug. Function strncasecmp is no longer used. +------------------------------------------------------------------------ +r4257 | vlefevre | 2006-11-20 16:24:20 +0000 (Mon, 20 Nov 2006) | 2 lines +Changed paths: + M /trunk/tests/tversion.c + M /trunk/update-version -2005-07-09 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Added version suffix support (useful for dev and rc versions). - * BUGS, acinclude.m4, tests/tests.c: - In the tests, set the locale to the current one. This allows to test - MPFR under various locales, showing a bug in the parse_string function - due to the use of the strncasecmp function ('i' and 'I' don't match - with LC_ALL="tr_TR.ISO8859-9"). +------------------------------------------------------------------------ +r4256 | vlefevre | 2006-11-20 14:45:50 +0000 (Mon, 20 Nov 2006) | 2 lines +Changed paths: + M /trunk/nightly-test -2005-07-07 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Rewrote nightly-test in sh and fixed a security hole. - * configure.in: Improve displayed warning if GMP versions differ. +------------------------------------------------------------------------ +r4255 | zimmerma | 2006-11-20 14:08:00 +0000 (Mon, 20 Nov 2006) | 2 lines +Changed paths: + M /trunk/tests/tests.c -2005-07-06 Patrick Pelissier <Patrick.Pelissier@loria.fr> +added cpu time limit of 60 seconds in tests - * INSTALL: Add a solution for a problem. +------------------------------------------------------------------------ +r4254 | vlefevre | 2006-11-20 13:44:04 +0000 (Mon, 20 Nov 2006) | 2 lines +Changed paths: + M /trunk/TODO -2005-07-05 Vincent Lefevre <Vincent.Lefevre@loria.fr> +TODO: update. - * tests/tatan.c: Added in-place tests for atan(+/-0). +------------------------------------------------------------------------ +r4252 | zimmerma | 2006-11-20 12:59:26 +0000 (Mon, 20 Nov 2006) | 2 lines +Changed paths: + M /trunk/nightly-test - * tests/tatan.c, atan.c: Fixed bug for atan(-0). [2.1 branch] +added an argument to give the branch (use trunk or branches/2.2 for example) -2005-07-05 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r4250 | vlefevre | 2006-11-20 11:36:25 +0000 (Mon, 20 Nov 2006) | 2 lines +Changed paths: + M /trunk/tests/tgamma.c - * atan.c: Fix bug of signed 0. - Optimize code. (20% for 53 bits). +tests/tgamma.c: restore emin and emax to their default values. - * tests/tatan.c: Improve test for signed 0. +------------------------------------------------------------------------ +r4249 | zimmerma | 2006-11-20 11:00:45 +0000 (Mon, 20 Nov 2006) | 2 lines +Changed paths: + M /trunk/gamma.c + M /trunk/tests/tgamma.c -2005-06-28 Patrick Pelissier <Patrick.Pelissier@loria.fr> +fixed bug in overflow test - * atan.c: Simplify a condition which was always true. - (p is always negative). +------------------------------------------------------------------------ +r4248 | zimmerma | 2006-11-20 09:52:45 +0000 (Mon, 20 Nov 2006) | 2 lines +Changed paths: + M /trunk/gamma.c + M /trunk/tests/tgamma.c - * atan.c: Add assertion. +fixed bug in mpfr_gamma for exact result - * atan.c: Simplify code for final step (when i== n0): - since we do n0-i=0 steps, atan(Ak/2^k) ~= Ak/2^k. - So we could speed up the final computation (9% faster). +------------------------------------------------------------------------ +r4246 | zimmerma | 2006-11-20 07:39:36 +0000 (Mon, 20 Nov 2006) | 2 lines +Changed paths: + M /trunk/nightly-test - * atan.c: Optimize: when computing arctan(p/2^r) simplify - p/2^r if p is even. - Clean up and remove tabi table. It was useless. +added two configure options -2005-06-22 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r4245 | zimmerma | 2006-11-20 07:32:36 +0000 (Mon, 20 Nov 2006) | 2 lines +Changed paths: + M /trunk/erfc.c - * acinclude.m4, configure.in: Clean up configure and acinclude: - + Remove useless test in MPFR_CONFIGS (Check for valid NAN). - Its result is not use by MPFR. - + Remove useless macros (AC_CHECK_OS, AC_CHECK_MACH and AC_MY_HEADERS). - + Move detection of math/rint,round,floor,ceil to MPFR_CONFIGS. +simplified test :-) -2005-06-20 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r4244 | vlefevre | 2006-11-20 05:40:58 +0000 (Mon, 20 Nov 2006) | 3 lines +Changed paths: + M /trunk/configure.in - * sum.c: GNU coding style. +configure.in: unset GMP_CFLAGS and GMP_CC in case the user has set such +environment variables for another use. + +------------------------------------------------------------------------ +r4243 | vlefevre | 2006-11-20 04:45:11 +0000 (Mon, 20 Nov 2006) | 3 lines +Changed paths: + M /trunk/tests/texp2.c -2005-06-16 Paul Zimmermann <Paul.Zimmermann@loria.fr> +tests/texp2.c: fixed a problem with a value that is not necessarily +representable (on platforms without long long). + +------------------------------------------------------------------------ +r4242 | vlefevre | 2006-11-20 00:27:53 +0000 (Mon, 20 Nov 2006) | 2 lines +Changed paths: + M /trunk/BUGS - * get_str.c: improved m=0 case when b is a power of 2 +BUGS: removed item on mpfr_eint (now fixed). -2005-06-15 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r4241 | vlefevre | 2006-11-20 00:25:10 +0000 (Mon, 20 Nov 2006) | 2 lines +Changed paths: + M /trunk/erfc.c - * cos.c: Replace mpfr_div_2ui call by SET_EXP/GET_EXP - since it can't overflow. +Untabify. - * cos.c: Speed up a few (from 10822 to 10600). +------------------------------------------------------------------------ +r4240 | zimmerma | 2006-11-19 21:27:33 +0000 (Sun, 19 Nov 2006) | 2 lines +Changed paths: + M /trunk/exp_2.c - * BUGS: Update +replaced double by mpfr_t (problem on 64-bit machines) -2005-06-14 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r4239 | zimmerma | 2006-11-19 18:22:51 +0000 (Sun, 19 Nov 2006) | 2 lines +Changed paths: + M /trunk/tests/terf.c - * powerof2.c: - Replace check for a power of 2 for the high limb by a check - for "high bit limb" for the high limb. +added more tests - * mul_ui.c: - Fix bug in mul_ui (always alloc buffer instead of trying to reuse it). +------------------------------------------------------------------------ +r4238 | zimmerma | 2006-11-19 18:08:38 +0000 (Sun, 19 Nov 2006) | 2 lines +Changed paths: + A /trunk/nightly-test - * tests/tmul_ui.c: Add new test (failed). +script for nightly tests - * div_ui.c, mul_ui.c: Add Fast case for u==1 - Add Fast case for u a power of 2 (Call mul/div_2si). +------------------------------------------------------------------------ +r4237 | zimmerma | 2006-11-19 14:35:02 +0000 (Sun, 19 Nov 2006) | 4 lines +Changed paths: + M /trunk/erfc.c + M /trunk/pow.c + M /trunk/tests/tcos.c + M /trunk/tests/tcot.c + M /trunk/tests/tcsc.c + M /trunk/tests/terf.c + M /trunk/tests/texp.c + M /trunk/tests/tsin.c + M /trunk/tests/tsum.c + M /trunk/tests/ttan.c + +fixed bug in pow (isodd -> assertion failed) +fixed problem in erfc for large input +reduced tests that took too much time + +------------------------------------------------------------------------ +r4236 | vlefevre | 2006-11-19 11:34:06 +0000 (Sun, 19 Nov 2006) | 3 lines +Changed paths: + M /trunk/mpfr.texi + +mpfr.texi: updated description of mpfr_eint, as the whole input domain +is now supported. + +------------------------------------------------------------------------ +r4235 | vlefevre | 2006-11-19 11:17:03 +0000 (Sun, 19 Nov 2006) | 2 lines +Changed paths: + M /trunk/eint.c + M /trunk/erfc.c + +Untabify. + +------------------------------------------------------------------------ +r4234 | vlefevre | 2006-11-19 11:01:25 +0000 (Sun, 19 Nov 2006) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +mpfr-impl.h: added a comment about MPFR_WARNING. + +------------------------------------------------------------------------ +r4233 | zimmerma | 2006-11-19 09:28:35 +0000 (Sun, 19 Nov 2006) | 3 lines +Changed paths: + M /trunk/BUGS + M /trunk/eint.c + M /trunk/erfc.c + +fixed bug in erfc (forgot to compare result of cmp_si) +fixed infinite loop in eint (test for use of asympt was not tight enough) + +------------------------------------------------------------------------ +r4232 | zimmerma | 2006-11-19 08:48:17 +0000 (Sun, 19 Nov 2006) | 2 lines +Changed paths: + M /trunk/algorithms.tex + M /trunk/eint.c + M /trunk/tests/teint.c + +added asymptotic expansion for mpfr_eint (don't need MPFR_WARNING any more) + +------------------------------------------------------------------------ +r4231 | vlefevre | 2006-11-18 20:55:17 +0000 (Sat, 18 Nov 2006) | 2 lines +Changed paths: + M /trunk/BUGS + M /trunk/tests/terf.c + +Added a mpfr_erfc test that shows a bug and updated BUGS file. + +------------------------------------------------------------------------ +r4229 | vlefevre | 2006-11-17 09:07:23 +0000 (Fri, 17 Nov 2006) | 2 lines +Changed paths: + M /trunk/configure.in + +configure.in: Added a comment concerning GMP version checking. + +------------------------------------------------------------------------ +r4228 | vlefevre | 2006-11-17 08:58:29 +0000 (Fri, 17 Nov 2006) | 5 lines +Changed paths: + M /trunk/configure.in + +configure.in: Before testing GMP header and library versions, set +LD_RUN_PATH locally if a --with-gmp* option is used, so that the +right version of the GMP library is used. There is no need to do +something similar for "make check" as libtool does the job. + +------------------------------------------------------------------------ +r4227 | vlefevre | 2006-11-17 08:15:24 +0000 (Fri, 17 Nov 2006) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Updated mpfr_erfc documentation (now supported in whole domain). + +------------------------------------------------------------------------ +r4226 | vlefevre | 2006-11-17 03:16:16 +0000 (Fri, 17 Nov 2006) | 2 lines +Changed paths: + M /trunk/BUGS + +BUGS: removed mpfr_pow_z bug. + +------------------------------------------------------------------------ +r4225 | vlefevre | 2006-11-17 03:13:24 +0000 (Fri, 17 Nov 2006) | 2 lines +Changed paths: + M /trunk/mpfr-test.h + M /trunk/tests/Makefile.am + M /trunk/tests/tests.c + M /trunk/tests/tgeneric.c + +Merged the new generic tests. + +------------------------------------------------------------------------ +r4224 | vlefevre | 2006-11-17 02:55:09 +0000 (Fri, 17 Nov 2006) | 3 lines +Changed paths: + M /trunk/pow_si.c - * cos.c: Fix bug (use of GCC specific attribute). +Partially fixed a bug in mpfr_pow_si (overflow/underflow detection for +n < 0). + +------------------------------------------------------------------------ +r4223 | vlefevre | 2006-11-17 02:46:56 +0000 (Fri, 17 Nov 2006) | 2 lines +Changed paths: + M /trunk/tests/tpow_z.c -2005-06-13 Patrick Pelissier <Patrick.Pelissier@loria.fr> +tests/tpow_z.c: various corrections. + +------------------------------------------------------------------------ +r4222 | vlefevre | 2006-11-17 02:27:06 +0000 (Fri, 17 Nov 2006) | 3 lines +Changed paths: + M /trunk/pow_z.c + M /trunk/tests/tpow.c + +Partially fixed another bug in mpfr_pow_z (overflow/underflow detection +for z < 0) and added corresponding testcases. + +------------------------------------------------------------------------ +r4221 | vlefevre | 2006-11-17 01:56:31 +0000 (Fri, 17 Nov 2006) | 4 lines +Changed paths: + M /trunk/pow_z.c + M /trunk/tests/tpow.c + +Fixed a bug in mpfr_pow_z concerning the underflow flag and added the +corresponding testcase (but the case z < 0 is still buggy concerning +the flags). + +------------------------------------------------------------------------ +r4219 | zimmerma | 2006-11-16 15:02:08 +0000 (Thu, 16 Nov 2006) | 3 lines +Changed paths: + M /trunk/BUGS + M /trunk/algorithms.tex + M /trunk/erfc.c + M /trunk/tests/terf.c + +implemented asymptotic formula for erfc (fixed both slowness for large +arguments, and call to MPFR_WARNING with return value NaN for huge arguments) + +------------------------------------------------------------------------ +r4218 | zimmerma | 2006-11-16 10:19:19 +0000 (Thu, 16 Nov 2006) | 2 lines +Changed paths: + M /trunk/tests/terf.c + +added new test + +------------------------------------------------------------------------ +r4216 | zimmerma | 2006-11-14 16:42:46 +0000 (Tue, 14 Nov 2006) | 2 lines +Changed paths: + M /trunk/erfc.c + M /trunk/tests/terf.c + +fixed problem for large negative input + +------------------------------------------------------------------------ +r4215 | vlefevre | 2006-11-14 14:26:02 +0000 (Tue, 14 Nov 2006) | 2 lines +Changed paths: + M /trunk/TODO + +TODO: slight change in the proposed mpfr_lgamma prototype (arg order). + +------------------------------------------------------------------------ +r4214 | vlefevre | 2006-11-13 09:07:20 +0000 (Mon, 13 Nov 2006) | 3 lines +Changed paths: + M /trunk/TODO + M /trunk/mpfr.texi + +About mpfr_lngamma/mpfr_lgamma: added mpfr_lgamma to TODO and updated +mpfr_lngamma description in mpfr.texi. + +------------------------------------------------------------------------ +r4213 | vlefevre | 2006-11-13 08:39:16 +0000 (Mon, 13 Nov 2006) | 2 lines +Changed paths: + M /trunk/BUGS + +BUGS: update. + +------------------------------------------------------------------------ +r4212 | vlefevre | 2006-11-13 07:26:31 +0000 (Mon, 13 Nov 2006) | 2 lines +Changed paths: + M /trunk/tests/terf.c + +tests/terf.c: added a test that yields a segfault (execute "terf 1"). + +------------------------------------------------------------------------ +r4211 | zimmerma | 2006-11-10 16:05:07 +0000 (Fri, 10 Nov 2006) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +moved the [gs]et_decimal64 functions after the [gs]et_ld functions + +------------------------------------------------------------------------ +r4210 | vlefevre | 2006-11-10 15:14:58 +0000 (Fri, 10 Nov 2006) | 3 lines +Changed paths: + M /trunk/mpfr.texi + +mpfr.texi: changed @code{--enable-decimal-float} into @samp{...} +for consistency with the other configure options. + +------------------------------------------------------------------------ +r4209 | vlefevre | 2006-11-10 15:13:30 +0000 (Fri, 10 Nov 2006) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +mpfr.texi: updated the note concerning mpfr_eint and mpfr_erfc. + +------------------------------------------------------------------------ +r4208 | vlefevre | 2006-11-10 14:54:19 +0000 (Fri, 10 Nov 2006) | 9 lines +Changed paths: + M /branches/new-generic-tests/tests/Makefile.am + M /trunk/configure.in + M /trunk/eint.c + M /trunk/erfc.c + M /trunk/mpfr-impl.h + +Added warnings support. + * configure.in: added --enable-warnings configure option. + * mpfr-impl.h: defined MPFR_WARNING(W) macro. + * eint.c, erfc.c: use MPFR_WARNING instead of fprintf. + * tests/Makefile.am (new-generic-tests branch): run the tests with + MPFR_QUIET=1 to avoid output of useless warnings, as some tests + (with large arguments) can generate such warnings, which are all + expected. + +------------------------------------------------------------------------ +r4206 | vlefevre | 2006-11-10 13:28:54 +0000 (Fri, 10 Nov 2006) | 2 lines +Changed paths: + M /trunk/tests + +Added tget_set_d64 to svn:ignore property of "tests" directory. + +------------------------------------------------------------------------ +r4205 | vlefevre | 2006-11-10 09:05:56 +0000 (Fri, 10 Nov 2006) | 2 lines +Changed paths: + M /trunk/TODO + +TODO: "add a configure test for --enable-logging..." + +------------------------------------------------------------------------ +r4204 | vlefevre | 2006-11-10 01:30:10 +0000 (Fri, 10 Nov 2006) | 2 lines +Changed paths: + M /trunk/configure.in + +More information for --enable-logging configure option. + +------------------------------------------------------------------------ +r4203 | vlefevre | 2006-11-10 01:24:33 +0000 (Fri, 10 Nov 2006) | 2 lines +Changed paths: + M /trunk/logging.c + M /trunk/mpfr-impl.h + +Fixed test of logging support. + +------------------------------------------------------------------------ +r4202 | vlefevre | 2006-11-10 01:01:24 +0000 (Fri, 10 Nov 2006) | 5 lines +Changed paths: + M /trunk/INSTALL + M /trunk/configure.in + +Removed --with-irix64 configure option and "case $OS_TYPE" code from +configure.in; see + http://sympa.loria.fr/wwsympa/arc/mpfr/2006-11/msg00009.html +for the reasons. + +------------------------------------------------------------------------ +r4201 | zimmerma | 2006-11-09 14:25:48 +0000 (Thu, 09 Nov 2006) | 2 lines +Changed paths: + M /trunk/tests/tget_set_d64.c + +added more checks with native format + +------------------------------------------------------------------------ +r4200 | zimmerma | 2006-11-09 13:37:33 +0000 (Thu, 09 Nov 2006) | 2 lines +Changed paths: + M /trunk/configure.in + M /trunk/tests/tget_set_d64.c + +added detection of decimal format in configure (DPD or BID) + +------------------------------------------------------------------------ +r4199 | vlefevre | 2006-11-09 11:39:34 +0000 (Thu, 09 Nov 2006) | 3 lines +Changed paths: + M /trunk/strtofr.c + +strtofr.c: removed a useless cast (ISO C99 standard 6.2.5#3) and updated +a comment as isdigit is no longer used. + +------------------------------------------------------------------------ +r4198 | vlefevre | 2006-11-09 11:13:48 +0000 (Thu, 09 Nov 2006) | 3 lines +Changed paths: + M /trunk/strtofr.c + +strtofr.c fix: no longer use isdigit, as MPFR requires non-localized +digits. + +------------------------------------------------------------------------ +r4197 | zimmerma | 2006-11-09 11:05:05 +0000 (Thu, 09 Nov 2006) | 2 lines +Changed paths: + M /trunk/get_d64.c + M /trunk/set_d64.c + M /trunk/tests/tget_set_d64.c + +modified to work on 64-bit machines too + +------------------------------------------------------------------------ +r4196 | vlefevre | 2006-11-09 09:31:09 +0000 (Thu, 09 Nov 2006) | 2 lines +Changed paths: + M /trunk/get_d64.c + +get_d64.c: fixed problems related to signed/unsigned values. + +------------------------------------------------------------------------ +r4195 | vlefevre | 2006-11-09 09:03:17 +0000 (Thu, 09 Nov 2006) | 4 lines +Changed paths: + M /trunk/strtofr.c + +strtofr.c: fixed a bug that could occur on platforms with signed chars, +when the user provides a string with negative characters (e.g. accented +characters, in practice). + +------------------------------------------------------------------------ +r4194 | zimmerma | 2006-11-09 07:29:15 +0000 (Thu, 09 Nov 2006) | 4 lines +Changed paths: + M /trunk/get_d64.c + M /trunk/set_d64.c + M /trunk/tests/tget_set_d64.c + +complete rewrite of mpfr_set_decimal64 and mpfr_get_decimal64: now use +internal string <-> _Decimal64 conversion functions, which perform native +conversion from/to BID or DPD + +------------------------------------------------------------------------ +r4193 | zimmerma | 2006-11-08 09:32:52 +0000 (Wed, 08 Nov 2006) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +added mpfr_set_decimal64 and mpfr_get_decimal64 + +------------------------------------------------------------------------ +r4192 | vlefevre | 2006-11-08 08:55:33 +0000 (Wed, 08 Nov 2006) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +mpfr-impl.h: fixed a compile error if _Decimal64 is unknown. + +------------------------------------------------------------------------ +r4191 | zimmerma | 2006-11-08 07:47:07 +0000 (Wed, 08 Nov 2006) | 3 lines +Changed paths: + M /trunk/configure.in + M /trunk/get_d64.c + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/set_d64.c + M /trunk/tests/tget_set_d64.c + +added new configure option --enable-decimal-float to build mpfr_set_decimal64 +and mpfr_get_decimal64 (checks _Decimal64, and _GMP_IEEE_FLOATS is defined) + +------------------------------------------------------------------------ +r4190 | zimmerma | 2006-11-07 16:47:45 +0000 (Tue, 07 Nov 2006) | 3 lines +Changed paths: + M /trunk/configure.in + M /trunk/get_d64.c + M /trunk/mpfr.h + M /trunk/set_d64.c + M /trunk/tests/tget_set_d64.c - * tests/troot.c, root.c: Rechnage the meaning of root for k=0. +added --enable-decimal-float in configure, and corresponding macro +WANT_DECIMAL_FLOATS + +------------------------------------------------------------------------ +r4189 | vlefevre | 2006-11-07 15:09:16 +0000 (Tue, 07 Nov 2006) | 2 lines +Changed paths: + M /trunk/tests/tversion.c - * root.c, tests/troot.c: Fix bug with x<0 and k even +tests/tversion.c: improved error message and added gmp.h/libgmp test. - * root.c, tests/troot.c: Add special case for k==0 - Add test for special case k==0 +------------------------------------------------------------------------ +r4188 | vlefevre | 2006-11-07 14:38:42 +0000 (Tue, 07 Nov 2006) | 2 lines +Changed paths: + M /trunk/tests/tversion.c -2005-06-13 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Fixed a small bug in tests/tversion.c (should never occur anyway). - * const_pi.c: added assertion +------------------------------------------------------------------------ +r4187 | vlefevre | 2006-11-06 01:23:37 +0000 (Mon, 06 Nov 2006) | 2 lines +Changed paths: + M /trunk/logging.c + +logging.c: clean-up. -2005-06-13 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r4186 | vlefevre | 2006-11-05 16:12:16 +0000 (Sun, 05 Nov 2006) | 2 lines +Changed paths: + M /trunk/README.dev + +README.dev: updated things to do before a release. + +------------------------------------------------------------------------ +r4185 | zimmerma | 2006-11-05 15:41:27 +0000 (Sun, 05 Nov 2006) | 2 lines +Changed paths: + M /trunk/Makefile.am + A /trunk/get_d64.c + M /trunk/get_str.c + M /trunk/mpfr.h + A /trunk/set_d64.c + M /trunk/tests/Makefile.am + A /trunk/tests/tget_set_d64.c - * cache.c: Improve efficiency of initial call to mpfr_cache. +added new (preliminary) conversions functions to/from decimal64 + +------------------------------------------------------------------------ +r4184 | zimmerma | 2006-11-05 15:17:30 +0000 (Sun, 05 Nov 2006) | 2 lines +Changed paths: + M /trunk/erfc.c - * tests/tsum.c: Add new check (+INF -INF --> NAN). +changed header file: stdlib.h -> stdio.h + +------------------------------------------------------------------------ +r4183 | vlefevre | 2006-11-03 18:38:05 +0000 (Fri, 03 Nov 2006) | 2 lines +Changed paths: + M /trunk/set_d.c + +Fixed a bug related to signed/unsigned types. -2005-06-10 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r4182 | vlefevre | 2006-11-03 10:05:51 +0000 (Fri, 03 Nov 2006) | 2 lines +Changed paths: + M /trunk/tests/tgamma.c + +tgamma.c: avoid useless mpfr_get_d. + +------------------------------------------------------------------------ +r4181 | vlefevre | 2006-11-03 09:54:24 +0000 (Fri, 03 Nov 2006) | 2 lines +Changed paths: + M /trunk/tests/tpow.c + +tpow.c: replaced a mpfr_cmp_d by a mpfr_cmp_str1. + +------------------------------------------------------------------------ +r4180 | vlefevre | 2006-11-03 09:50:45 +0000 (Fri, 03 Nov 2006) | 2 lines +Changed paths: + M /trunk/lngamma.c + +lngamma.c: added a comment. + +------------------------------------------------------------------------ +r4179 | vlefevre | 2006-11-03 09:42:31 +0000 (Fri, 03 Nov 2006) | 2 lines +Changed paths: + M /trunk/tests/tlngamma.c - * mpfr-impl.h, mpfr.h, mpfr.texi, sum.c, tests/tsum.c: - Fix bug of NAN and INF. - Fix bug in documentation (mpfr_sum wasn't exactly what is decribed). - Improve test. - Change internal names. - Clean up. +tlngamma.c: avoid useless mpfr_get_d. - * eint.c: Fix bug: check if mpfr_log returns 0. +------------------------------------------------------------------------ +r4178 | vlefevre | 2006-10-27 21:21:56 +0000 (Fri, 27 Oct 2006) | 2 lines +Changed paths: + M /trunk/eint.c -2005-06-08 Patrick Pelissier <Patrick.Pelissier@loria.fr> +eint.c: better overflow checking; fix: all allocated memory now freed. - * eint.c: Replace MPFR_EXP to MPFR_GET_EXP - Use GROUP function - Use MPFR_MPZ_SIZEINBASE2 - Factorize the mpfr_mul_2exp chain. +------------------------------------------------------------------------ +r4177 | vlefevre | 2006-10-27 17:03:32 +0000 (Fri, 27 Oct 2006) | 2 lines +Changed paths: + M /trunk/eint.c - * sin.c: Replace int to mp_prec_t for precision... +eint.c: forgot 2 mpfr_clear's. - * acos.c, const_euler.c, mulders.c, zeta.c: - Fix warning due to comparison of unsigned and signed integers. +------------------------------------------------------------------------ +r4174 | vlefevre | 2006-10-27 16:12:34 +0000 (Fri, 27 Oct 2006) | 2 lines +Changed paths: + M /trunk/eint.c - * atan.c, extract.c, strtofr.c: - Fix warnings due to comparaison between signed and unsigned. - Reinclude string.h for strtofr. +eint.c fix: and changed the #if into if. -2005-06-08 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r4173 | vlefevre | 2006-10-27 16:10:22 +0000 (Fri, 27 Oct 2006) | 2 lines +Changed paths: + M /trunk/eint.c - * add1.c: [2.1 branch] - Fixed bug introduced with the new internal format on 2003-10-27. +eint.c fix: replaced BITS_PER_MP_LIMB by sizeof(mp_exp_t) * CHAR_BIT. - * add1.c: - Fixed bug introduced with the new internal format on 2003-10-27. +------------------------------------------------------------------------ +r4172 | vlefevre | 2006-10-27 12:39:20 +0000 (Fri, 27 Oct 2006) | 4 lines +Changed paths: + M /trunk/erfc.c + M /trunk/mpfr.texi + +The current implementation of mpfr_erfc cannot compute the result for +large inputs. Return NaN with the erange flag set instead of aborting. +Documented this behavior in mpfr.texi. + +------------------------------------------------------------------------ +r4171 | zimmerma | 2006-10-27 11:56:14 +0000 (Fri, 27 Oct 2006) | 3 lines +Changed paths: + M /trunk/eint.c + +improved bound for x with BITS_PER_MP_LIMB=32 + added bound for BITS_PER_MP_LIMB=64 + +------------------------------------------------------------------------ +r4169 | vlefevre | 2006-10-27 01:30:32 +0000 (Fri, 27 Oct 2006) | 4 lines +Changed paths: + M /trunk/eint.c + M /trunk/mpfr.texi + +The current implementation of mpfr_eint cannot compute the result for +large inputs. Return NaN with the erange flag set instead of aborting. +Documented this behavior in mpfr.texi. - * add1.c: Updated comments. +------------------------------------------------------------------------ +r4168 | vlefevre | 2006-10-27 00:59:33 +0000 (Fri, 27 Oct 2006) | 2 lines +Changed paths: + M /trunk/tests/tzeta.c + +tzeta.c patch 4166 should have been committed to the trunk. Fixing... -2005-06-08 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r4167 | zimmerma | 2006-10-26 17:17:01 +0000 (Thu, 26 Oct 2006) | 2 lines +Changed paths: + M /trunk/eint.c + M /trunk/erf.c + M /trunk/erfc.c - * atan.c: Fix introduced bug due to missing NULL. +added tests for overflows or underflows + +------------------------------------------------------------------------ +r4166 | zimmerma | 2006-10-26 15:19:43 +0000 (Thu, 26 Oct 2006) | 2 lines +Changed paths: + M /branches/new-generic-tests/tests/tzeta.c + M /trunk/zeta.c + +fixed problem for large negative s (return +Inf or -Inf) + +------------------------------------------------------------------------ +r4165 | zimmerma | 2006-10-26 13:55:26 +0000 (Thu, 26 Oct 2006) | 2 lines +Changed paths: + M /trunk/coth.c + +fixed dummy error in last commit + +------------------------------------------------------------------------ +r4164 | vlefevre | 2006-10-26 08:52:01 +0000 (Thu, 26 Oct 2006) | 2 lines +Changed paths: + M /trunk/eint.c + +In latest change, replaced exit(1) by abort(). + +------------------------------------------------------------------------ +r4163 | zimmerma | 2006-10-26 08:18:23 +0000 (Thu, 26 Oct 2006) | 4 lines +Changed paths: + M /trunk/eint.c + M /trunk/tests/teint.c + +added test for eint() +added error message when input is too large in eint(), waiting for asymptotic + expansion - * clear.c: Fix introduced bug (NULL not defined). +------------------------------------------------------------------------ +r4162 | vlefevre | 2006-10-26 01:40:17 +0000 (Thu, 26 Oct 2006) | 2 lines +Changed paths: + M /trunk/coth.c + M /trunk/gen_inverse.h + +Untabified and added a FIXME. - * add1sp.c, atan.c, clear.c, div.c, gamma.c, get_f.c, get_str.c, mpfr-impl.h, mul.c, round_p.c, set_z.c, sin.c, strtofr.c, sub1sp.c, subnormal.c, zeta.c: - Clean up use of stdio.h: - it is now included by mpfr-impl iff DEBUG is defined or WANT_ASSERT is - defined. +------------------------------------------------------------------------ +r4161 | zimmerma | 2006-10-25 17:49:57 +0000 (Wed, 25 Oct 2006) | 3 lines +Changed paths: + M /trunk/coth.c + M /trunk/csch.c + M /trunk/gen_inverse.h + M /trunk/tests/tcoth.c + M /trunk/tests/tcsch.c + M /trunk/tests/tsech.c + +fixed overflow/underflow problems in csch and sech +fixed problem for huge argument in coth - * tests/tsum.c: Fix warnings. +------------------------------------------------------------------------ +r4159 | vlefevre | 2006-10-25 17:01:07 +0000 (Wed, 25 Oct 2006) | 9 lines +Changed paths: + M /trunk/FAQ.html + M /trunk/faq.xsl + M /trunk/update-faq - * sub1sp.c: Clean up code. +FAQ-related updates: + * faq.xsl: Include styles from http://www.mpfr.org/styles/visual.css + by using a system entity (but GNOME libxslt bug 345147 is still + present in Debian, so don't use /*<![CDATA[*/ and /*]]>*/ yet). + * update-faq: add /*<![CDATA[*/ and /*]]>*/ after calling xsltproc. + * FAQ.html: update from the MPFR web site: various changes, including: + + added id attributes on dt elements (FAQ items) to allow anchors; + + updated FAQ for undefined references. - * add1sp.c: Improve checking if WANT_ASSERT >= 2 +------------------------------------------------------------------------ +r4157 | vlefevre | 2006-10-25 14:18:59 +0000 (Wed, 25 Oct 2006) | 2 lines +Changed paths: + M /trunk/INSTALL -2005-06-07 Patrick Pelissier <Patrick.Pelissier@loria.fr> +INSTALL: mention the MPFR FAQ. + +------------------------------------------------------------------------ +r4155 | vlefevre | 2006-10-23 02:10:13 +0000 (Mon, 23 Oct 2006) | 2 lines +Changed paths: + M /trunk/set_uj.c + +Added a comment about a warning (this confused a user). + +------------------------------------------------------------------------ +r4153 | vlefevre | 2006-10-11 11:43:07 +0000 (Wed, 11 Oct 2006) | 2 lines +Changed paths: + M /trunk/TODO + +TODO: added an item about version information. + +------------------------------------------------------------------------ +r4152 | vlefevre | 2006-10-05 14:40:39 +0000 (Thu, 05 Oct 2006) | 2 lines +Changed paths: + M /trunk/TODO + +TODO: updated item. + +------------------------------------------------------------------------ +r4151 | zimmerma | 2006-10-05 10:52:30 +0000 (Thu, 05 Oct 2006) | 2 lines +Changed paths: + M /trunk/TODO + +added item + +------------------------------------------------------------------------ +r4149 | zimmerma | 2006-10-02 19:55:09 +0000 (Mon, 02 Oct 2006) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +fixed wrong emax in example for mpfr_subnormalize + +------------------------------------------------------------------------ +r4147 | vlefevre | 2006-09-07 09:27:11 +0000 (Thu, 07 Sep 2006) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +MPFR manual: say that errno may be set to non-zero. + +------------------------------------------------------------------------ +r4145 | vlefevre | 2006-08-31 12:26:29 +0000 (Thu, 31 Aug 2006) | 2 lines +Changed paths: + M /trunk/tests/tests.c + +tests/tests.c: typo. + +------------------------------------------------------------------------ +r4143 | vlefevre | 2006-08-28 12:09:10 +0000 (Mon, 28 Aug 2006) | 2 lines +Changed paths: + M /trunk/tests/texp2.c + +Fixed texp2 overflow tests on 64-bit machines. + +------------------------------------------------------------------------ +r4142 | vlefevre | 2006-08-28 11:58:54 +0000 (Mon, 28 Aug 2006) | 2 lines +Changed paths: + M /trunk/tests/reuse.c + +tests/reuse.c: avoid a warning; code reformatted (GNU style). + +------------------------------------------------------------------------ +r4140 | vlefevre | 2006-08-23 14:08:12 +0000 (Wed, 23 Aug 2006) | 2 lines +Changed paths: + M /trunk/BUGS + +BUGS: minor update. + +------------------------------------------------------------------------ +r4138 | vlefevre | 2006-08-21 12:51:49 +0000 (Mon, 21 Aug 2006) | 2 lines +Changed paths: + M /trunk/BUGS + +BUGS: updated "known bugs" section. + +------------------------------------------------------------------------ +r4136 | vlefevre | 2006-08-21 12:40:20 +0000 (Mon, 21 Aug 2006) | 2 lines +Changed paths: + M /trunk/lngamma.c + +Fixed an exponent/flags-related bug in lngamma.c. + +------------------------------------------------------------------------ +r4134 | vlefevre | 2006-08-21 11:12:25 +0000 (Mon, 21 Aug 2006) | 2 lines +Changed paths: + M /trunk + +Updated svn:ignore property. + +------------------------------------------------------------------------ +r4133 | vlefevre | 2006-08-20 08:34:40 +0000 (Sun, 20 Aug 2006) | 5 lines +Changed paths: + M /trunk/pow.c + M /trunk/tests/tpow.c + +Fixed several problems in pow.c concerning underflows, overflows and +flags (including the inexact flag, which could be incorrectly set in +case of NaN), and added some testcases. Problems in pow_z.c have not +been fixed yet. + +------------------------------------------------------------------------ +r4131 | vlefevre | 2006-08-20 00:44:26 +0000 (Sun, 20 Aug 2006) | 5 lines +Changed paths: + M /trunk/add1.c + M /trunk/add1sp.c + M /trunk/exceptions.c + M /trunk/exp.c + M /trunk/mpfr-impl.h + M /trunk/mul.c + M /trunk/sub1.c + M /trunk/sub1sp.c + +Partial fix: The inexact flag was not always set in some functions. +In particular, it is now set by mpfr_check_range (if t is not zero) +since mpfr_check_range usually comes just after MPFR_SAVE_EXPO_FREE +(which restores the previous flags). + +------------------------------------------------------------------------ +r4129 | vlefevre | 2006-08-19 14:33:23 +0000 (Sat, 19 Aug 2006) | 2 lines +Changed paths: + M /trunk/exp2.c + M /trunk/tests/texp2.c + +Added an assertion for mpfr_exp2 and a test. + +------------------------------------------------------------------------ +r4127 | vlefevre | 2006-08-16 20:09:49 +0000 (Wed, 16 Aug 2006) | 5 lines +Changed paths: + M /trunk/expm1.c + +Optimized mpfr_expm1 for large (in absolute value) negative values in +order to avoid the TMD (the result is very close to -1). Without this +patch, mpfr_expm1 could take dozens of MBs and the new generic tests +for texpm1 could take several hours instead of less than 1 second. + +------------------------------------------------------------------------ +r4125 | vlefevre | 2006-08-16 16:31:25 +0000 (Wed, 16 Aug 2006) | 7 lines +Changed paths: + M /trunk/expm1.c + +Fixed a bug in expm1 for very small negative arguments (and perhaps +some very small positive arguments too); this bug is similar to the +one in log1p that was recently found and fixed. It was detected by +the new generic tests (not committed yet), therefore no testcases +are provided. Note: the mpfr_expm1 function is still buggy (freezes +on -0.10E18, prec 2 -> prec 13); this is a different bug. + +------------------------------------------------------------------------ +r4123 | vlefevre | 2006-08-16 09:20:00 +0000 (Wed, 16 Aug 2006) | 3 lines +Changed paths: + M /trunk/exp2.c + M /trunk/tests/texp2.c + +In mpfr_exp2, the overflow flag was not set if mpfr_exp2 overflowed +with x < emax. Added testcase. + +------------------------------------------------------------------------ +r4121 | vlefevre | 2006-08-15 17:52:21 +0000 (Tue, 15 Aug 2006) | 4 lines +Changed paths: + M /trunk/exp2.c + M /trunk/tests/texp2.c + +The latest mpfr_exp2 fix contained a bug. Partially rewrote mpfr_exp2 +to fix this bug and another one (and added a corresponding testcase: +exp2(10000000000.5), which was freezing). + +------------------------------------------------------------------------ +r4119 | vlefevre | 2006-08-15 11:37:20 +0000 (Tue, 15 Aug 2006) | 2 lines +Changed paths: + M /trunk/exp2.c + +Better fix for exp2 exponent range bug. + +------------------------------------------------------------------------ +r4117 | vlefevre | 2006-08-15 10:44:34 +0000 (Tue, 15 Aug 2006) | 3 lines +Changed paths: + M /trunk/exp2.c + M /trunk/tests/texp2.c + +Fixed bug in mpfr_exp2 when the argument is an integer and emin > 1. +Added a testcase to texp2. + +------------------------------------------------------------------------ +r4116 | vlefevre | 2006-08-14 23:00:39 +0000 (Mon, 14 Aug 2006) | 3 lines +Changed paths: + M /trunk/tests + +Added tget_ld_2exp to svn:ignore property of "tests" directory +(should have been done in rev 4028). + +------------------------------------------------------------------------ +r4114 | vlefevre | 2006-08-14 22:23:01 +0000 (Mon, 14 Aug 2006) | 2 lines +Changed paths: + M /trunk/log1p.c + M /trunk/tests/tlog1p.c + +Fixed bug in log1p for small negative values of x and added testcase. + +------------------------------------------------------------------------ +r4112 | vlefevre | 2006-08-14 17:39:01 +0000 (Mon, 14 Aug 2006) | 2 lines +Changed paths: + M /trunk/tests/tests.c + +Code style correction for ansi2knr. + +------------------------------------------------------------------------ +r4110 | vlefevre | 2006-07-25 21:10:21 +0000 (Tue, 25 Jul 2006) | 2 lines +Changed paths: + M /trunk/INSTALL - * sin.c: Fix wrong assertion. +INSTALL: more information. - * tests/tsum.c: Improve test by adding special cases. +------------------------------------------------------------------------ +r4108 | vlefevre | 2006-07-25 20:36:23 +0000 (Tue, 25 Jul 2006) | 2 lines +Changed paths: + M /trunk/INSTALL - * mpfr-impl.h: - MPFR_GET_EXP was wrongly defined and does nothing due to recursive - macro (mpfr_get_exp is also defined to be a fast macro). Fix this - by removing the macro call in MPFR_GET_EXP in case of ASSERT >= 1. - 2 tests failed now! +INSTALL: added a note about include/library paths. - * tests/tsum.c: Clean up and improve check. +------------------------------------------------------------------------ +r4106 | vlefevre | 2006-07-21 08:22:40 +0000 (Fri, 21 Jul 2006) | 2 lines +Changed paths: + M /trunk/INSTALL - * sum.c: Handle case n==0 and n==1 as special cases. +INSTALL: added information about setup after the library installation. - * const_catalan.c, tests/tconst_catalan.c: - Simplify test to use tgeneric. - Add note about Worst Case of const_catalan up to 100,000,000 +------------------------------------------------------------------------ +r4104 | vlefevre | 2006-07-20 07:23:06 +0000 (Thu, 20 Jul 2006) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + M /trunk/configure.in - * atan.c: Use GROUP functions. +Improved linker flag settings on darwin. - * tests/tconst_pi.c: Improve coverage. +------------------------------------------------------------------------ +r4103 | vlefevre | 2006-07-18 07:51:58 +0000 (Tue, 18 Jul 2006) | 2 lines +Changed paths: + M /trunk/configure.in - * mpfr-impl.h: Fix bug in MPFR_GROUP_REPREC_3. +configure.in: fixed a linking problem on darwin. -2005-06-06 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r4101 | vlefevre | 2006-07-16 02:52:18 +0000 (Sun, 16 Jul 2006) | 5 lines +Changed paths: + M /trunk/configure.in + M /trunk/tests/Makefile.am - * tests/tset_si.c, tests/tui_pow.c, ui_pow_ui.c: Improve coverage +One needs automake 1.6; autoreconf fails with automake 1.4. Adding +the 1.6 automake option will make the error message less obfuscated, +but unfortunately, one won't have the necessary automake version +automatically called, even if it is installed. - * tests/tcmp_ui.c: Improve coverage test +------------------------------------------------------------------------ +r4099 | zimmerma | 2006-07-05 14:35:36 +0000 (Wed, 05 Jul 2006) | 2 lines +Changed paths: + M /trunk/TODO - * Makefile.am, mpfr.h, tests/tdiv.c, tests/tget_str.c, tests/tzeta.c: - Remove mpfr_sub_one_ulp from MPFR library. - Keep the C file until we are sure it not needed anymore. +added item - * tests/tnext.c: Improve coverage. +------------------------------------------------------------------------ +r4098 | zimmerma | 2006-07-05 14:23:57 +0000 (Wed, 05 Jul 2006) | 2 lines +Changed paths: + M /trunk/root.c - * tests/texp.c, tests/tget_str.c, tests/tsqrt.c, tests/tzeta.c, Makefile.am, div_ui.c, hypot.c, tests/tdiv.c: - Remove mpfr_add_one_ulp from MPFR library. - The function is still in the CVS. +fixed wrong comment (thanks Keith Briggs) - * gamma.c: Add experimental code (disabled). - For 5000 bits, gamma(12.5) takes 4s instead of 18s. - But it changes the error analysis... +------------------------------------------------------------------------ +r4097 | zimmerma | 2006-07-05 14:23:16 +0000 (Wed, 05 Jul 2006) | 2 lines +Changed paths: + M /trunk/root.c - * gamma.c: Reduce use of intermediary variables. +new mpn_rootrem is still not in gmp-4.2 - * zeta.c: Improve comment of previous change. +------------------------------------------------------------------------ +r4096 | zimmerma | 2006-06-20 12:55:55 +0000 (Tue, 20 Jun 2006) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * zeta.c: Use FastCompute if x is positive and big, ie it uses - Zeta(x)=1+1/2^X+O(1/3^x) +replaced <= by = -2005-06-03 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r4095 | zimmerma | 2006-06-19 13:57:32 +0000 (Mon, 19 Jun 2006) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * ui_pow_ui.c: Add new and faster trivial case for y <= 1 and n <= 1 +changed <= into = -2005-06-02 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r4094 | zimmerma | 2006-06-19 09:10:38 +0000 (Mon, 19 Jun 2006) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * COPYING, COPYING.LIB: Forget thoses two. Update from FSF site. +comments from Keith Briggs - * BUGS, NEWS, README, TODO: Finish updating files. +------------------------------------------------------------------------ +r4093 | vlefevre | 2006-06-09 13:36:30 +0000 (Fri, 09 Jun 2006) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * mul_ui.c, mulders.c, neg.c, next.c, out_str.c, pow.c, pow_si.c, pow_ui.c, pow_z.c, powerof2.c, print_raw.c, print_rnd_mode.c, random.c, random2.c, reldiff.c, rint.c, root.c, round_near_x.c, round_p.c, round_prec.c, round_raw_generic.c, sec.c, sech.c, set.c, set_d.c, set_dfl_prec.c, set_exp.c, set_f.c, set_inf.c, set_ld.c, set_nan.c, set_prc_raw.c, set_prec.c, set_q.c, set_rnd.c, set_si.c, set_si_2exp.c, set_sj.c, set_str.c, set_str_raw.c, set_ui.c, set_ui_2exp.c, set_uj.c, set_z.c, setmax.c, setmin.c, sgn.c, si_op.c, sin.c, sin_cos.c, sinh.c, sqr.c, sqrt.c, sqrt_ui.c, strcasecmp.c, strncasecmp.c, strtofr.c, sub.c, sub1.c, sub1sp.c, sub_one_ulp.c, sub_ui.c, subnormal.c, sum.c, swap.c, tan.c, tanh.c, tests/cmp_str.c, tests/memory.c, tests/mpf_compat.c, tests/mpfr_compat.c, tests/reuse.c, tests/rnd_mode.c, tests/tabs.c, tests/tacos.c, tests/tacosh.c, tests/tadd.c, tests/tadd1sp.c, tests/tadd_ui.c, tests/tagm.c, tests/tasin.c, tests/tasinh.c, tests/tatan.c, tests/tatanh.c, tests/tcan_round.c, tests/tcbrt.c, tests/tcheck.c, tests/tcmp.c, tests/tcmp2.c, tests/tcmp_d.c, tests/tcmp_ld.c, tests/tcmp_ui.c, tests/tcmpabs.c, tests/tcomparisons.c, tests/tconst_catalan.c, tests/tconst_euler.c, tests/tconst_log2.c, tests/tconst_pi.c, tests/tcopysign.c, tests/tcos.c, tests/tcosh.c, tests/tcot.c, tests/tcoth.c, tests/tcsc.c, tests/tcsch.c, tests/tdim.c, tests/tdiv.c, tests/tdiv_ui.c, tests/teint.c, tests/teq.c, tests/terf.c, tests/tests.c, tests/texceptions.c, tests/texp.c, tests/texp2.c, tests/texpm1.c, tests/tfactorial.c, tests/tfits.c, tests/tfma.c, tests/tfrac.c, tests/tgamma.c, tests/tgeneric.c, tests/tgeneric_ui.c, tests/tget_d.c, tests/tget_d_2exp.c, tests/tget_f.c, tests/tget_sj.c, tests/tget_str.c, tests/tget_z.c, tests/tgmpop.c, tests/thyperbolic.c, tests/thypot.c, tests/tinits.c, tests/tinp_str.c, tests/tisnan.c, tests/tlog.c, tests/tlog10.c, tests/tlog1p.c, tests/tlog2.c, tests/tminmax.c, tests/tmul.c, tests/tmul_2exp.c, tests/tmul_ui.c, tests/tnext.c, tests/tout_str.c, tests/toutimpl.c, tests/tpow.c, tests/tpow3.c, tests/tpow_z.c, tests/trandom.c, tests/trint.c, tests/troot.c, tests/tround_prec.c, tests/tsec.c, tests/tsech.c, tests/tset.c, tests/tset_d.c, tests/tset_exp.c, tests/tset_f.c, tests/tset_ld.c, tests/tset_q.c, tests/tset_si.c, tests/tset_sj.c, tests/tset_str.c, tests/tset_z.c, tests/tsgn.c, tests/tsi_op.c, tests/tsin.c, tests/tsin_cos.c, tests/tsinh.c, tests/tsqr.c, tests/tsqrt.c, tests/tsqrt_ui.c, tests/tstrtofr.c, tests/tsub.c, tests/tsub1sp.c, tests/tsub_ui.c, tests/tsum.c, tests/tswap.c, tests/ttan.c, tests/ttanh.c, tests/ttrunc.c, tests/tui_div.c, tests/tui_pow.c, tests/tui_sub.c, tests/tversion.c, tests/tzeta.c, tuneup.c, uceil_exp2.c, uceil_log2.c, ufloor_log2.c, ui_div.c, ui_pow.c, ui_pow_ui.c, ui_sub.c, urandomb.c, version.c, volatile.c, zeta.c, abort_prec_max.c, acos.c, acosh.c, add.c, add1.c, add1sp.c, add_one_ulp.c, add_ui.c, agm.c, asin.c, asinh.c, atan.c, atan2.c, atanh.c, cache.c, cbrt.c, check.c, clear.c, clears.c, cmp.c, cmp2.c, cmp_abs.c, cmp_d.c, cmp_ld.c, cmp_si.c, cmp_ui.c, comparisons.c, const_catalan.c, const_euler.c, const_log2.c, const_pi.c, constant.c, copysign.c, cos.c, cosh.c, cot.c, coth.c, csc.c, csch.c, dim.c, div.c, div_2exp.c, div_2si.c, div_2ui.c, div_ui.c, dump.c, eint.c, eq.c, erf.c, erfc.c, exceptions.c, exp.c, exp10.c, exp2.c, exp3.c, exp_2.c, expm1.c, extract.c, factorial.c, fits_intmax.c, fits_s.h, fits_sint.c, fits_slong.c, fits_sshort.c, fits_u.h, fits_uint.c, fits_uintmax.c, fits_ulong.c, fits_ushort.c, fma.c, frac.c, free_cache.c, gamma.c, gen_inverse.h, generic.c, get_d.c, get_exp.c, get_f.c, get_ld.c, get_si.c, get_sj.c, get_str.c, get_ui.c, get_uj.c, get_z.c, get_z_exp.c, gmp_op.c, hypot.c, init.c, init2.c, inits.c, inits2.c, inp_str.c, int_ceil_log2.c, isinf.c, isinteger.c, isnan.c, isnum.c, isqrt.c, iszero.c, log.c, log10.c, log1p.c, log2.c, logging.c, minmax.c, mp_clz_tab.c, mpf2mpfr.h, mpfr-gmp.c, mpfr-gmp.h, mpfr-impl.h, mpfr-longlong.h, mpfr-test.h, mpfr.h, mpn_exp.c, mul.c, mul_2exp.c, mul_2si.c, mul_2ui.c: - Change the address of the FSF. +algorithms.tex: corrected several English mistakes and typography. - * gamma.c: - Optimize it a few by avoiding calling fac_ui for each iteration - of the main loop. +------------------------------------------------------------------------ +r4092 | zimmerma | 2006-06-09 12:41:47 +0000 (Fri, 09 Jun 2006) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * zeta.c: Reduce # of vars inside the main loop. - Use GROUP function. - Improve overflow problems (Use of int instead of mp_prec_t). +fixed typo - * gamma.c: - Improve efficiency by removing 2 variables (Loop uses only 4 vars). - Use GROUP. +------------------------------------------------------------------------ +r4091 | zimmerma | 2006-06-09 09:51:59 +0000 (Fri, 09 Jun 2006) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * Makefile.am, abort_prec_max.c, cos.c, cosh.c, sinh.c, tan.c, tanh.c: - Add support for MPFR_GROUP functions. +replaced error() by \error() - * mpfr-impl.h: - Add attribute const and noreturn for function (via macros). - Add new macros GROUP_INIT_6 and GROUP_REPREC_6 for zeta and gamma. +------------------------------------------------------------------------ +r4090 | vlefevre | 2006-06-09 08:17:58 +0000 (Fri, 09 Jun 2006) | 2 lines +Changed paths: + M /trunk/algorithms.tex -2005-06-02 Paul Zimmermann <Paul.Zimmermann@loria.fr> +algorithms.tex: another fixed notation for roundings. - * TODO: added missing functions from gnumeric +------------------------------------------------------------------------ +r4089 | zimmerma | 2006-06-09 08:07:29 +0000 (Fri, 09 Jun 2006) | 3 lines +Changed paths: + M /trunk/algorithms.tex -2005-06-02 Patrick Pelissier <Patrick.Pelissier@loria.fr> +added section on Notations +fixed notations for roundings - * TODO: Update stack-interface. - Remove round_near_x item. - Add new functions to implement. - Reformat file. +------------------------------------------------------------------------ +r4088 | vlefevre | 2006-06-09 07:49:43 +0000 (Fri, 09 Jun 2006) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * tests/tconst_pi.c: Fix input precision of mp_prec_t. - May be outside 'int' range. So it uses 'long' instead and - a proper check. +algorithms.tex: changed the page style to plain (for page numbers). -2005-05-25 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r4086 | vlefevre | 2006-06-07 23:48:43 +0000 (Wed, 07 Jun 2006) | 2 lines +Changed paths: + M /trunk/FAQ.html - * README.dev: Added coding recommendations concerning C++ compilers. +FAQ update. -2005-05-23 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r4083 | vlefevre | 2006-05-29 19:00:31 +0000 (Mon, 29 May 2006) | 3 lines +Changed paths: + M /trunk/acinclude.m4 + M /trunk/configure.in - * mpfr-impl.h: Final version of MPFR_GROUP macros. +Define HAVE_ATTRIBUTE_MODE if supported; useful for s390, but incomplete +and will fail on platforms with gcc and CHAR_BIT != 8. - * strtofr.c, tests/tstrtofr.c: Improve coverage test. +------------------------------------------------------------------------ +r4081 | vlefevre | 2006-05-19 16:43:35 +0000 (Fri, 19 May 2006) | 2 lines +Changed paths: + M /trunk/configure.in -2005-05-20 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Add compiler flags (CPPFLAGS, LDFLAGS) in a consistent order. - * exp_2.c: Remove variable t which wasn't used! +------------------------------------------------------------------------ +r4079 | vlefevre | 2006-05-18 00:10:06 +0000 (Thu, 18 May 2006) | 2 lines +Changed paths: + M /trunk/mpfr.texi -2005-05-18 Patrick Pelissier <Patrick.Pelissier@loria.fr> +MPFR manual consistency: Custom interface -> Custom Interface. - * mul_ui.c, round_prec.c, set_f.c, sqr.c, sqrt.c, strtofr.c, sub1.c, sub1sp.c, sum.c, tests/tsum.c, tuneup.c, add1.c, add1sp.c, agm.c, cos.c, div-short.c, div.c, div_ui.c, exp_2.c, generic.c, get_str.c, init2.c, log.c, mpfr-impl.h, mpn_exp.c, mul.c: - Replace TMP_ALLOC by MPFR_TMP_ALLOC - Replace TMP_DECL by MPFR_TMP_DECL - Replace TMP_MARK by MPFR_TMP_MARK - Replace TMP_FREE by MPFR_TMP_FREE - Add support for GMP's TMP_SALLOC. +------------------------------------------------------------------------ +r4075 | vlefevre | 2006-05-17 23:20:38 +0000 (Wed, 17 May 2006) | 2 lines +Changed paths: + M /trunk/TODO - * pow.c: New way of handling exact value. - Fix bug of wrong rounding and wrong ternary value if the power - is exact, but at an upper precision than the working precision. - Now it computes the power exactly if it detects it is exact. +TODO: added a note about the change 4049 in div.c. - * mpfr.texi: Precise that 1 is not the only value. +------------------------------------------------------------------------ +r4072 | vlefevre | 2006-04-18 15:08:52 +0000 (Tue, 18 Apr 2006) | 3 lines +Changed paths: + M /trunk/mul.c -2005-05-18 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Removed the #ifndef __hpux from mul.c (after a test on a HP-UX machine, +I got no failures, even with the old mpfr-longlong.h). - * mpfr.texi: an 1 -> a 1. +------------------------------------------------------------------------ +r4071 | vlefevre | 2006-04-18 14:38:10 +0000 (Tue, 18 Apr 2006) | 2 lines +Changed paths: + M /trunk/README.dev + +README.dev: added a point on mpfr-longlong.h in "To make a release". + +------------------------------------------------------------------------ +r4070 | vlefevre | 2006-04-18 14:37:19 +0000 (Tue, 18 Apr 2006) | 2 lines +Changed paths: + M /trunk/mpfr-longlong.h + +Updated mpfr-longlong.h from the GMP 4.2 longlong.h file. + +------------------------------------------------------------------------ +r4068 | vlefevre | 2006-04-18 13:30:52 +0000 (Tue, 18 Apr 2006) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +mpfr.texi: removed dot from a section title. + +------------------------------------------------------------------------ +r4066 | vlefevre | 2006-04-11 13:54:39 +0000 (Tue, 11 Apr 2006) | 2 lines +Changed paths: + M /trunk/FAQ.html + +FAQ update. + +------------------------------------------------------------------------ +r4065 | vlefevre | 2006-04-06 13:58:46 +0000 (Thu, 06 Apr 2006) | 2 lines +Changed paths: + M /trunk/div.c + +div.c: removed the bad use of MPFR_LIMB_ZERO. + +------------------------------------------------------------------------ +r4064 | vlefevre | 2006-04-06 12:52:24 +0000 (Thu, 06 Apr 2006) | 3 lines +Changed paths: + M /trunk/get_f.c + +In get_f.c, updated the case precy + sh > precx: this one was correct, +but added a comment, assertions and simplified a MPN_ZERO. + +------------------------------------------------------------------------ +r4063 | vlefevre | 2006-04-05 16:32:23 +0000 (Wed, 05 Apr 2006) | 4 lines +Changed paths: + M /trunk/tests/tget_f.c + +tget_f.c: test that there is no lost of accuracy when converting +a mpfr_t number into a mpf_t number (test with various precisions +and exponents). + +------------------------------------------------------------------------ +r4062 | vlefevre | 2006-04-05 15:52:26 +0000 (Wed, 05 Apr 2006) | 3 lines +Changed paths: + M /trunk/get_f.c + +The fix of get_f.c was wrong. This should be now OK for the case +precy + sh <= precx. + +------------------------------------------------------------------------ +r4061 | vlefevre | 2006-04-05 09:31:34 +0000 (Wed, 05 Apr 2006) | 2 lines +Changed paths: + M /trunk/get_f.c + M /trunk/tests/tget_f.c + +Fixed bug in mpfr_get_f (reported by Yury Lukach) and added test. + +------------------------------------------------------------------------ +r4059 | vlefevre | 2006-03-31 16:47:40 +0000 (Fri, 31 Mar 2006) | 2 lines +Changed paths: + M /trunk/fdl.texi + +Updated FDL to version 1.2. + +------------------------------------------------------------------------ +r4057 | vlefevre | 2006-03-31 16:30:52 +0000 (Fri, 31 Mar 2006) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + M /trunk/configure.in + M /trunk/lngamma.c + M /trunk/mparam_h.in + M /trunk/mpzroot.c + M /trunk/tests/mpf_compat.h + +Updated FSF address. + +------------------------------------------------------------------------ +r4055 | vlefevre | 2006-03-31 14:19:52 +0000 (Fri, 31 Mar 2006) | 2 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/acos.c + M /trunk/acosh.c + M /trunk/add.c + M /trunk/add1.c + M /trunk/add1sp.c + M /trunk/add_ui.c + M /trunk/agm.c + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atan.c + M /trunk/atan2.c + M /trunk/atanh.c + M /trunk/cache.c + M /trunk/cbrt.c + M /trunk/check.c + M /trunk/clear.c + M /trunk/clears.c + M /trunk/cmp.c + M /trunk/cmp2.c + M /trunk/cmp_abs.c + M /trunk/cmp_d.c + M /trunk/cmp_ld.c + M /trunk/cmp_si.c + M /trunk/cmp_ui.c + M /trunk/comparisons.c + M /trunk/const_catalan.c + M /trunk/const_euler.c + M /trunk/const_log2.c + M /trunk/const_pi.c + M /trunk/constant.c + M /trunk/copysign.c + M /trunk/cos.c + M /trunk/cosh.c + M /trunk/cot.c + M /trunk/coth.c + M /trunk/csc.c + M /trunk/csch.c + M /trunk/dim.c + M /trunk/div.c + M /trunk/div_2exp.c + M /trunk/div_2si.c + M /trunk/div_2ui.c + M /trunk/div_ui.c + M /trunk/dump.c + M /trunk/eint.c + M /trunk/eq.c + M /trunk/erf.c + M /trunk/erfc.c + M /trunk/exceptions.c + M /trunk/exp.c + M /trunk/exp10.c + M /trunk/exp2.c + M /trunk/exp3.c + M /trunk/exp_2.c + M /trunk/expm1.c + M /trunk/extract.c + M /trunk/factorial.c + M /trunk/faq.xsl + M /trunk/fits_intmax.c + M /trunk/fits_s.h + M /trunk/fits_sint.c + M /trunk/fits_slong.c + M /trunk/fits_sshort.c + M /trunk/fits_u.h + M /trunk/fits_uint.c + M /trunk/fits_uintmax.c + M /trunk/fits_ulong.c + M /trunk/fits_ushort.c + M /trunk/fma.c + M /trunk/frac.c + M /trunk/free_cache.c + M /trunk/gamma.c + M /trunk/gen_inverse.h + M /trunk/generic.c + M /trunk/get_d.c + M /trunk/get_exp.c + M /trunk/get_f.c + M /trunk/get_ld.c + M /trunk/get_si.c + M /trunk/get_sj.c + M /trunk/get_str.c + M /trunk/get_ui.c + M /trunk/get_uj.c + M /trunk/get_z.c + M /trunk/get_z_exp.c + M /trunk/gmp_op.c + M /trunk/hypot.c + M /trunk/init.c + M /trunk/init2.c + M /trunk/inits.c + M /trunk/inits2.c + M /trunk/inp_str.c + M /trunk/int_ceil_log2.c + M /trunk/isinf.c + M /trunk/isinteger.c + M /trunk/isnan.c + M /trunk/isnum.c + M /trunk/isqrt.c + M /trunk/iszero.c + M /trunk/log.c + M /trunk/log10.c + M /trunk/log1p.c + M /trunk/log2.c + M /trunk/logging.c + M /trunk/minmax.c + M /trunk/mp_clz_tab.c + M /trunk/mpf2mpfr.h + M /trunk/mpfr-gmp.c + M /trunk/mpfr-gmp.h + M /trunk/mpfr-impl.h + M /trunk/mpfr-longlong.h + M /trunk/mpfr-test.h + M /trunk/mpfr.h + M /trunk/mpn_exp.c + M /trunk/mul.c + M /trunk/mul_2exp.c + M /trunk/mul_2si.c + M /trunk/mul_2ui.c + M /trunk/mul_ui.c + M /trunk/mulders.c + M /trunk/neg.c + M /trunk/next.c + M /trunk/out_str.c + M /trunk/pow.c + M /trunk/pow_si.c + M /trunk/pow_ui.c + M /trunk/pow_z.c + M /trunk/powerof2.c + M /trunk/print_raw.c + M /trunk/print_rnd_mode.c + M /trunk/random.c + M /trunk/random2.c + M /trunk/reldiff.c + M /trunk/rint.c + M /trunk/root.c + M /trunk/round_near_x.c + M /trunk/round_p.c + M /trunk/round_prec.c + M /trunk/round_raw_generic.c + M /trunk/sec.c + M /trunk/sech.c + M /trunk/set.c + M /trunk/set_d.c + M /trunk/set_dfl_prec.c + M /trunk/set_exp.c + M /trunk/set_f.c + M /trunk/set_inf.c + M /trunk/set_ld.c + M /trunk/set_nan.c + M /trunk/set_prc_raw.c + M /trunk/set_prec.c + M /trunk/set_q.c + M /trunk/set_rnd.c + M /trunk/set_si.c + M /trunk/set_si_2exp.c + M /trunk/set_sj.c + M /trunk/set_str.c + M /trunk/set_str_raw.c + M /trunk/set_ui.c + M /trunk/set_ui_2exp.c + M /trunk/set_uj.c + M /trunk/set_z.c + M /trunk/setmax.c + M /trunk/setmin.c + M /trunk/sgn.c + M /trunk/si_op.c + M /trunk/sin.c + M /trunk/sin_cos.c + M /trunk/sinh.c + M /trunk/sqr.c + M /trunk/sqrt.c + M /trunk/sqrt_ui.c + M /trunk/stack_interface.c + M /trunk/strtofr.c + M /trunk/sub.c + M /trunk/sub1.c + M /trunk/sub1sp.c + M /trunk/sub_ui.c + M /trunk/subnormal.c + M /trunk/sum.c + M /trunk/swap.c + M /trunk/tan.c + M /trunk/tanh.c + M /trunk/tests/cmp_str.c + M /trunk/tests/memory.c + M /trunk/tests/mpf_compat.c + M /trunk/tests/mpfr_compat.c + M /trunk/tests/reuse.c + M /trunk/tests/rnd_mode.c + M /trunk/tests/tabs.c + M /trunk/tests/tacos.c + M /trunk/tests/tacosh.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd1sp.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tasin.c + M /trunk/tests/tasinh.c + M /trunk/tests/tatan.c + M /trunk/tests/tatanh.c + M /trunk/tests/tcan_round.c + M /trunk/tests/tcbrt.c + M /trunk/tests/tcheck.c + M /trunk/tests/tcmp.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tcmp_d.c + M /trunk/tests/tcmp_ld.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tcmpabs.c + M /trunk/tests/tcomparisons.c + M /trunk/tests/tconst_catalan.c + M /trunk/tests/tconst_euler.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tconst_pi.c + M /trunk/tests/tcopysign.c + M /trunk/tests/tcos.c + M /trunk/tests/tcosh.c + M /trunk/tests/tcot.c + M /trunk/tests/tcoth.c + M /trunk/tests/tcsc.c + M /trunk/tests/tcsch.c + M /trunk/tests/tdim.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/teint.c + M /trunk/tests/teq.c + M /trunk/tests/terf.c + M /trunk/tests/tests.c + M /trunk/tests/texceptions.c + M /trunk/tests/texp.c + M /trunk/tests/texp2.c + M /trunk/tests/texpm1.c + M /trunk/tests/tfactorial.c + M /trunk/tests/tfits.c + M /trunk/tests/tfma.c + M /trunk/tests/tfrac.c + M /trunk/tests/tgamma.c + M /trunk/tests/tgeneric.c + M /trunk/tests/tgeneric_ui.c + M /trunk/tests/tget_d.c + M /trunk/tests/tget_d_2exp.c + M /trunk/tests/tget_f.c + M /trunk/tests/tget_ld_2exp.c + M /trunk/tests/tget_sj.c + M /trunk/tests/tget_str.c + M /trunk/tests/tget_z.c + M /trunk/tests/tgmpop.c + M /trunk/tests/thyperbolic.c + M /trunk/tests/thypot.c + M /trunk/tests/tinits.c + M /trunk/tests/tinp_str.c + M /trunk/tests/tinternals.c + M /trunk/tests/tisnan.c + M /trunk/tests/tlngamma.c + M /trunk/tests/tlog.c + M /trunk/tests/tlog10.c + M /trunk/tests/tlog1p.c + M /trunk/tests/tlog2.c + M /trunk/tests/tminmax.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tnext.c + M /trunk/tests/tout_str.c + M /trunk/tests/toutimpl.c + M /trunk/tests/tpow.c + M /trunk/tests/tpow3.c + M /trunk/tests/tpow_z.c + M /trunk/tests/trandom.c + M /trunk/tests/trint.c + M /trunk/tests/troot.c + M /trunk/tests/tround_prec.c + M /trunk/tests/tsec.c + M /trunk/tests/tsech.c + M /trunk/tests/tset.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_exp.c + M /trunk/tests/tset_f.c + M /trunk/tests/tset_ld.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_sj.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsgn.c + M /trunk/tests/tsi_op.c + M /trunk/tests/tsin.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsinh.c + M /trunk/tests/tsqr.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tstckintc.c + M /trunk/tests/tstrtofr.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub1sp.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tsubnormal.c + M /trunk/tests/tsum.c + M /trunk/tests/tswap.c + M /trunk/tests/ttan.c + M /trunk/tests/ttanh.c + M /trunk/tests/ttrunc.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_pow.c + M /trunk/tests/tui_sub.c + M /trunk/tests/tversion.c + M /trunk/tests/tzeta.c + M /trunk/tests/tzeta_ui.c + M /trunk/tuneup.c + M /trunk/uceil_exp2.c + M /trunk/uceil_log2.c + M /trunk/ufloor_log2.c + M /trunk/ui_div.c + M /trunk/ui_pow.c + M /trunk/ui_pow_ui.c + M /trunk/ui_sub.c + M /trunk/urandomb.c + M /trunk/version.c + M /trunk/volatile.c + M /trunk/zeta.c + M /trunk/zeta_ui.c + +Fixed FSF address. + +------------------------------------------------------------------------ +r4053 | vlefevre | 2006-03-30 14:41:30 +0000 (Thu, 30 Mar 2006) | 2 lines +Changed paths: + M /trunk/FAQ.html + +Another FAQ update (taking GMP 4.2 into account). + +------------------------------------------------------------------------ +r4051 | vlefevre | 2006-03-30 14:22:52 +0000 (Thu, 30 Mar 2006) | 2 lines +Changed paths: + M /trunk/FAQ.html + +FAQ update. + +------------------------------------------------------------------------ +r4050 | vlefevre | 2006-03-24 14:46:54 +0000 (Fri, 24 Mar 2006) | 2 lines +Changed paths: + M /trunk/configure.in + M /trunk/mpfr-gmp.c + M /trunk/mpfr-impl.h + +Removed all code related to mpn_sub_nc (no longer used). + +------------------------------------------------------------------------ +r4049 | vlefevre | 2006-03-24 13:51:52 +0000 (Fri, 24 Mar 2006) | 2 lines +Changed paths: + M /trunk/div.c + +div.c: fixed a bug and no longer use mpn_sub_nc. + +------------------------------------------------------------------------ +r4048 | vlefevre | 2006-03-24 12:43:41 +0000 (Fri, 24 Mar 2006) | 3 lines +Changed paths: + M /trunk/div.c + +Some clean-up in div.c; do not steal GMP's namespace (could lead to +clashes if future GMP versions define the corresponding macros). + +------------------------------------------------------------------------ +r4047 | vlefevre | 2006-03-24 08:49:28 +0000 (Fri, 24 Mar 2006) | 2 lines +Changed paths: + M /trunk/INSTALL + M /trunk/configure.in + +Build shared libraries by default. + +------------------------------------------------------------------------ +r4046 | vlefevre | 2006-03-23 10:57:46 +0000 (Thu, 23 Mar 2006) | 2 lines +Changed paths: + M /trunk/random2.c + +random2.c: minor change suggested by Patrick. + +------------------------------------------------------------------------ +r4044 | vlefevre | 2006-03-23 09:18:54 +0000 (Thu, 23 Mar 2006) | 2 lines +Changed paths: + M /trunk/configure.in + +configure.in: typography consistency. + +------------------------------------------------------------------------ +r4043 | vlefevre | 2006-03-23 09:16:34 +0000 (Thu, 23 Mar 2006) | 4 lines +Changed paths: + M /trunk/INSTALL + +Mention --enable-thread-safe and --enable-shared in the INSTALL file +since users may need them and could be confused otherwise (just seen +that). Untabified the file. + +------------------------------------------------------------------------ +r4041 | vlefevre | 2006-03-16 18:10:24 +0000 (Thu, 16 Mar 2006) | 2 lines +Changed paths: + M /trunk/TODO + +TODO: new exception "division by zero" / "pole". + +------------------------------------------------------------------------ +r4040 | vlefevre | 2006-03-16 18:04:36 +0000 (Thu, 16 Mar 2006) | 2 lines +Changed paths: + M /trunk/README.dev + +README.dev: added "Do not use C99-only features, such as...". + +------------------------------------------------------------------------ +r4038 | zimmerma | 2006-03-16 14:49:50 +0000 (Thu, 16 Mar 2006) | 2 lines +Changed paths: + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atan.c + M /trunk/atanh.c + M /trunk/expm1.c + M /trunk/log1p.c + M /trunk/sin.c + M /trunk/sinh.c + M /trunk/tan.c + M /trunk/tanh.c + M /trunk/zeta.c -2005-05-18 Patrick Pelissier <Patrick.Pelissier@loria.fr> +replaced 6th empty argument of MPFR_FAST_COMPUTE_IF_SMALL_INPUT by {} - * mpfr.texi: Add a note about special case 1 +------------------------------------------------------------------------ +r4037 | vlefevre | 2006-03-14 16:07:28 +0000 (Tue, 14 Mar 2006) | 3 lines +Changed paths: + M /trunk/random2.c - * pow.c: Add assertions - Remove useless function is_odd_even. +In random2.c, replaced NULL by 0 (more general) and removed the +now unnecessary #include <stdio.h>. - * pow.c: - Fix bug: returning 1 didn't take the rounding mode into account. - Simplify dependencies of mpfr_pow. +------------------------------------------------------------------------ +r4036 | zimmerma | 2006-03-14 15:33:31 +0000 (Tue, 14 Mar 2006) | 2 lines +Changed paths: + M /trunk/random2.c - * expm1.c, tests/texpm1.c: Fix bug of overflow - Fix bug of wrong ternary value in case of overflow - Add test cases. +added missing include file - * cosh.c, tests/tcosh.c: Fix bug of overflow. - Fix bug of ternary value in case of overflow. +------------------------------------------------------------------------ +r4035 | vlefevre | 2006-03-14 14:59:00 +0000 (Tue, 14 Mar 2006) | 2 lines +Changed paths: + M /trunk/tests/tpow.c - * tanh.c: Clean up previous patch. +Tests: added new worst case for x^(3/2). - * sinh.c, tests/tsinh.c: Fix bug of overflow. - Fix bug of ternary value in case of overflow. - Still some bugs... +------------------------------------------------------------------------ +r4034 | zimmerma | 2006-03-02 17:28:41 +0000 (Thu, 02 Mar 2006) | 2 lines +Changed paths: + M /trunk/algorithms.bib + M /trunk/algorithms.tex -2005-05-17 Patrick Pelissier <Patrick.Pelissier@loria.fr> +added reference to INRIA report for Zeta - * tanh.c, tests/ttanh.c: Rewrite the way of handling overflow. - Fix bug due to overflow. - Fix bug due to wrong ternary value. +------------------------------------------------------------------------ +r4033 | zimmerma | 2006-03-02 11:05:35 +0000 (Thu, 02 Mar 2006) | 2 lines +Changed paths: + M /trunk/algorithms.bib + M /trunk/algorithms.tex - * mpfr-impl.h: Typo. +added another reference - * sinh.c, tests/tsinh.c: Fix bug of overflow. - Still a problem if exp(x) is near the limit of EMAX_MAX. +------------------------------------------------------------------------ +r4032 | zimmerma | 2006-03-02 11:02:23 +0000 (Thu, 02 Mar 2006) | 2 lines +Changed paths: + M /trunk/algorithms.bib + M /trunk/algorithms.tex - * mpfr-impl.h: Add new macro MPFR_SAVE_DECL_UPDATE_FLAGS +added reference - * sinh.c, tests/tsinh.c: - Improve way of handling overflow (still not perfect but far better). - Improve coverage test. +------------------------------------------------------------------------ +r4031 | vlefevre | 2006-02-28 23:20:24 +0000 (Tue, 28 Feb 2006) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * get_si.c, tests/tset_si.c: Improve coverage test. +More details concerning mpfr_eq. -2005-05-17 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r4030 | zimmerma | 2006-02-28 10:46:59 +0000 (Tue, 28 Feb 2006) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * hypot.c, mpfr.texi, tests/thypot.c: - hypot(±oo, NaN) now returns +oo, as in ISO C99 (wasn't documented). +removed "but does not make much sense" -2005-05-17 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r4029 | zimmerma | 2006-02-28 09:39:25 +0000 (Tue, 28 Feb 2006) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * tests/tasin.c: Improve coverage test. +added contribution from Damien - * asin.c: Remove useless test. +------------------------------------------------------------------------ +r4028 | zimmerma | 2006-02-28 09:18:17 +0000 (Tue, 28 Feb 2006) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am + A /trunk/tests/tget_ld_2exp.c - * tests/tpow.c: Improve coverage test. +new test file for mpfr_get_ld_2exp - * set_z.c, tests/tmul.c, tests/tset_z.c: Improve coverage +------------------------------------------------------------------------ +r4027 | zimmerma | 2006-02-27 10:15:24 +0000 (Mon, 27 Feb 2006) | 2 lines +Changed paths: + M /trunk/get_d.c + M /trunk/get_ld.c + M /trunk/mpfr.h + M /trunk/mpfr.texi - * tests/tcmpabs.c: Improve coverage test. +added mpfr_get_ld_2exp (contributed by Damien Stehle) - * coverage: Add CFLAGS -g. +------------------------------------------------------------------------ +r4026 | vlefevre | 2006-02-20 14:40:28 +0000 (Mon, 20 Feb 2006) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * pow.c: Clean up +Updated mpfr_random2 user documentation. - * tests/tfits.c: Improve coverage tests. +------------------------------------------------------------------------ +r4024 | vlefevre | 2006-02-20 10:12:06 +0000 (Mon, 20 Feb 2006) | 2 lines +Changed paths: + M /trunk/random2.c + M /trunk/tests/trandom.c - * tests/tgmpop.c: Improve coverage test. +Fixed bug in mpfr_random2 when size == 0 and added testcase. - * tanh.c: Special a condition by the simplified one. +------------------------------------------------------------------------ +r4023 | vlefevre | 2006-02-20 10:07:41 +0000 (Mon, 20 Feb 2006) | 2 lines +Changed paths: + M /trunk/tests/trandom.c - * tests/tcmp_ui.c, tests/tconst_catalan.c, tests/tconst_euler.c, tests/tconst_log2.c, tests/tconst_pi.c, tests/tget_d.c: - Improve coverage test (Forget to test tiny functions). +trandom.c: reformat. - * coverage: Typo +------------------------------------------------------------------------ +r4022 | vlefevre | 2006-02-20 10:06:47 +0000 (Mon, 20 Feb 2006) | 2 lines +Changed paths: + M /trunk/tests/trandom.c - * README.dev, coverage: Add 'coverage' script. +trandom.c: use calloc instead of malloc and check return value. - * constant.c: Add 'static' +------------------------------------------------------------------------ +r4021 | vlefevre | 2006-02-20 09:42:13 +0000 (Mon, 20 Feb 2006) | 2 lines +Changed paths: + M /trunk/random2.c - * cos.c: Reformating code. - Fix potential (?) overflow for very large precision. - Various tiny optimizations - Improve the initial estimation of the needed precision. +mpfr_random2_raw -> static. - * Makefile.am, constant.c, log.c, mpfr-impl.h: - Extract constants (__gmpfr_one, two and four) from log.c to constant.c - Fix bug in MPFR_SET_ONE. +------------------------------------------------------------------------ +r4019 | vlefevre | 2006-02-17 08:17:46 +0000 (Fri, 17 Feb 2006) | 2 lines +Changed paths: + M /trunk/TODO - * sin.c: Remove a space. +Added mpfr_remainder to TODO. -2005-05-16 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r4018 | zimmerma | 2006-02-15 14:40:35 +0000 (Wed, 15 Feb 2006) | 2 lines +Changed paths: + M /trunk/algorithms.bib - * NEWS: Typography + spelling. +fixed wrong url - * NEWS: Note that mpfr_out_str has slightly changed. +------------------------------------------------------------------------ +r4017 | vlefevre | 2006-02-15 13:41:51 +0000 (Wed, 15 Feb 2006) | 2 lines +Changed paths: + M /trunk/algorithms.tex -2005-05-16 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Fixed various spelling mistakes, typos... in algorithms.tex. - * TODO: asin, atan, atanh are not slow anymore for small input. - Remove it in the TODO. +------------------------------------------------------------------------ +r4016 | vlefevre | 2006-02-15 13:20:41 +0000 (Wed, 15 Feb 2006) | 2 lines +Changed paths: + M /trunk/algorithms.tex -2005-05-14 Vincent Lefevre <Vincent.Lefevre@loria.fr> +In algorithms.tex, \em -> \emph. - * atanh.c: Fixed a bug due to a typo on a variable name. It produced a - segmentation fault in the tests on Linux/ppc (uninitialized data were - read), not always reproducible when stepping with gdb. +------------------------------------------------------------------------ +r4015 | vlefevre | 2006-02-15 13:17:33 +0000 (Wed, 15 Feb 2006) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * mpfr.texi: Ported description of mpfr_hypot to the 2.1 branch. +Typography corrections in algorithms.tex. -2005-05-13 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r4014 | vlefevre | 2006-02-15 13:04:22 +0000 (Wed, 15 Feb 2006) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * expm1.c, log1p.c: Add support for MPFR_FAST_COMPUTE_IS_SMALL_INPUT +In algorithms.tex, added a missing blackslash. - * asin.c, asinh.c, atan.c, atanh.c, sin.c, sinh.c, tan.c, tanh.c: - Add support for FAST_COMPUTE_IS_SMALL_INPUT. +------------------------------------------------------------------------ +r4013 | vlefevre | 2006-02-15 13:02:07 +0000 (Wed, 15 Feb 2006) | 3 lines +Changed paths: + M /trunk/algorithms.tex - * atan.c: Add round_near_x support for small arguments. +In algorithms.tex, removed \date (was incorrectly used) and added the +web site as a footnote. - * Makefile.am, round_near_x.c: - Add new internal function mpfr_round_near_x. +------------------------------------------------------------------------ +r4012 | vlefevre | 2006-02-13 17:25:19 +0000 (Mon, 13 Feb 2006) | 2 lines +Changed paths: + M /trunk/random2.c + M /trunk/tests/trandom.c -2005-05-13 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Code reformatted. C99 comment replaced by traditional comment. - * mpfr.texi: added missing documentation for mpfr_hypot +------------------------------------------------------------------------ +r4011 | hanrot | 2006-02-13 15:03:43 +0000 (Mon, 13 Feb 2006) | 6 lines +Changed paths: + M /trunk/mpfr.texi + M /trunk/random2.c + M /trunk/tests/trandom.c -2005-05-13 Patrick Pelissier <Patrick.Pelissier@loria.fr> +* Added comments on all random number generator functions ; +* Inlined the mpn_random2 code in mpfr_random2, to avoid the use of the +same internal randstate ; added a mpfr_random2_raw (not exported at the +time) to allow specification of a randstate ; +* Checked normalization of the result of random2 in trandom.c - * tests/texceptions.c: Add a \n for all error strings. +------------------------------------------------------------------------ +r4009 | vlefevre | 2006-01-31 09:53:51 +0000 (Tue, 31 Jan 2006) | 3 lines +Changed paths: + M /trunk/mpfr.texi - * version.c: Fix copyright date. +Changed a part of the documentation of mpfr_get_d_2exp, introduced in +rev 4008, to specify a behavior very similar to the ISO C standard. - * mpfr-impl.h, mpfr.h, tests/tconst_pi.c, tests/texp.c: - Fix some problems when you define mpfr_prec_t to be an unsigned short. - Now all tests passed when mpfr_prec_t is defined to be an unsigned short - on a 32 bit CPU! +------------------------------------------------------------------------ +r4008 | zimmerma | 2006-01-31 07:28:05 +0000 (Tue, 31 Jan 2006) | 2 lines +Changed paths: + M /trunk/mpfr.texi -2005-05-12 Vincent Lefevre <Vincent.Lefevre@loria.fr> +fixed documentation bug - * hypot.c: Replaced -2 by -MPFR_EVEN_INEX. [2.1 branch] +------------------------------------------------------------------------ +r4006 | vlefevre | 2006-01-19 15:00:18 +0000 (Thu, 19 Jan 2006) | 2 lines +Changed paths: + M /trunk/set_d.c + M /trunk/tests/tset_ld.c - * hypot.c: Added a comment about the bug fix. [2.1 branch] +Reverted comments on <float.h> (that were added in r3976). - * BUGS, hypot.c, tests/thypot.c: - Fixed bug in mpfr_hypot + testcase. [2.1 branch] +------------------------------------------------------------------------ +r4005 | vlefevre | 2006-01-19 14:53:44 +0000 (Thu, 19 Jan 2006) | 6 lines +Changed paths: + M /trunk/get_d.c + M /trunk/mpfr-impl.h + M /trunk/set_d.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tout_str.c + M /trunk/tests/tset_ld.c - * exp_2.c: Detect/avoid potential integer overflows. +Replaced -0.0 by a new macro DBL_NEG_ZERO. With MSVC, the negative zero +no longer depends on the non-standard _chgsign function, as + static double double_zero = 0.0; + # define DBL_NEG_ZERO (-double_zero) +has been reported to work. -2005-05-12 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r4004 | vlefevre | 2006-01-17 12:31:26 +0000 (Tue, 17 Jan 2006) | 2 lines +Changed paths: + M /trunk/mpfr.h - * tests/texp.c: Fix typos. +Added comments. -2005-05-11 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r4002 | vlefevre | 2006-01-13 14:37:25 +0000 (Fri, 13 Jan 2006) | 2 lines +Changed paths: + M /trunk/get_f.c + +Type clean-up. + +------------------------------------------------------------------------ +r4001 | vlefevre | 2006-01-13 14:11:41 +0000 (Fri, 13 Jan 2006) | 2 lines +Changed paths: + M /trunk/tests/tget_f.c + +The problem with the conversion was not completely fixed... Now OK. + +------------------------------------------------------------------------ +r4000 | vlefevre | 2006-01-13 14:04:31 +0000 (Fri, 13 Jan 2006) | 2 lines +Changed paths: + M /trunk/tests/tget_f.c + +Fixed conversion with a non-representable value. + +------------------------------------------------------------------------ +r3999 | vlefevre | 2006-01-13 13:31:23 +0000 (Fri, 13 Jan 2006) | 2 lines +Changed paths: + M /trunk/tests/tget_f.c + +Untabify. + +------------------------------------------------------------------------ +r3997 | vlefevre | 2006-01-12 10:27:27 +0000 (Thu, 12 Jan 2006) | 3 lines +Changed paths: + M /trunk/tests/tset_f.c + +More reliable tests for mpfr_set_f (x, y, GMP_RNDN) for +y = 2^emax and y = 2^(emax-1). + +------------------------------------------------------------------------ +r3996 | vlefevre | 2006-01-12 10:15:33 +0000 (Thu, 12 Jan 2006) | 2 lines +Changed paths: + M /trunk/tests/tset_f.c + +Use mpfr_get_emax() instead of obsolete __mpfr_emax. + +------------------------------------------------------------------------ +r3995 | vlefevre | 2006-01-12 10:12:29 +0000 (Thu, 12 Jan 2006) | 2 lines +Changed paths: + M /trunk/tests/tset_f.c + +More reliable test for mpfr_set_f (x, y, GMP_RNDN) for y=2^ULONG_MAX. + +------------------------------------------------------------------------ +r3994 | vlefevre | 2006-01-12 10:00:45 +0000 (Thu, 12 Jan 2006) | 2 lines +Changed paths: + M /trunk/set_f.c + +Untabified. + +------------------------------------------------------------------------ +r3993 | vlefevre | 2006-01-12 09:56:13 +0000 (Thu, 12 Jan 2006) | 2 lines +Changed paths: + M /trunk/set_f.c + +Fixed a bug related to exponent range. + +------------------------------------------------------------------------ +r3992 | vlefevre | 2006-01-12 09:47:53 +0000 (Thu, 12 Jan 2006) | 2 lines +Changed paths: + M /trunk/set_f.c + +Replaced obsolete __mpfr_emax by __gmpfr_emax. + +------------------------------------------------------------------------ +r3990 | vlefevre | 2006-01-11 16:50:15 +0000 (Wed, 11 Jan 2006) | 2 lines +Changed paths: + D /trunk/add_one_ulp.c + D /trunk/sub_one_ulp.c + +Removed add_one_ulp.c and sub_one_ulp.c (no longer used). + +------------------------------------------------------------------------ +r3987 | vlefevre | 2006-01-10 13:49:26 +0000 (Tue, 10 Jan 2006) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +MPFR manual: changes from Paul concerning the ulps. + +------------------------------------------------------------------------ +r3986 | vlefevre | 2006-01-10 09:32:17 +0000 (Tue, 10 Jan 2006) | 4 lines +Changed paths: + M /trunk/mpfr.texi + +In the manual, replaced "exact rounding" by "correct rounding", +and added a sentence on the consequence of correct rounding (as +suggested by Paul). + +------------------------------------------------------------------------ +r3985 | vlefevre | 2006-01-05 02:20:28 +0000 (Thu, 05 Jan 2006) | 2 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/acos.c + M /trunk/acosh.c + M /trunk/add.c + M /trunk/add1.c + M /trunk/add1sp.c + M /trunk/add_ui.c + M /trunk/agm.c + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atan.c + M /trunk/atan2.c + M /trunk/atanh.c + M /trunk/cache.c + M /trunk/cbrt.c + M /trunk/clear.c + M /trunk/cmp.c + M /trunk/cmp2.c + M /trunk/comparisons.c + M /trunk/configure.in + M /trunk/const_catalan.c + M /trunk/const_euler.c + M /trunk/const_pi.c + M /trunk/constant.c + M /trunk/copysign.c + M /trunk/cos.c + M /trunk/cosh.c + M /trunk/dim.c + M /trunk/div.c + M /trunk/exceptions.c + M /trunk/exp.c + M /trunk/exp10.c + M /trunk/exp2.c + M /trunk/expm1.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/gamma.c + M /trunk/generic.c + M /trunk/get_exp.c + M /trunk/isinf.c + M /trunk/isnan.c + M /trunk/isnum.c + M /trunk/iszero.c + M /trunk/lngamma.c + M /trunk/log.c + M /trunk/mp_clz_tab.c + M /trunk/mpfr-gmp.c + M /trunk/mulders.c + M /trunk/neg.c + M /trunk/next.c + M /trunk/powerof2.c + M /trunk/print_rnd_mode.c + M /trunk/root.c + M /trunk/round_near_x.c + M /trunk/set.c + M /trunk/set_exp.c + M /trunk/set_inf.c + M /trunk/set_nan.c + M /trunk/set_si.c + M /trunk/set_si_2exp.c + M /trunk/set_sj.c + M /trunk/set_ui.c + M /trunk/set_ui_2exp.c + M /trunk/set_uj.c + M /trunk/setmax.c + M /trunk/setmin.c + M /trunk/sgn.c + M /trunk/si_op.c + M /trunk/sub.c + M /trunk/sub1.c + M /trunk/sub1sp.c + M /trunk/tanh.c + M /trunk/tests/mpf_compat.c + M /trunk/tests/mpf_compat.h + M /trunk/tests/mpfr_compat.c + M /trunk/tests/reuse.c + M /trunk/tests/tacos.c + M /trunk/tests/tacosh.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd1sp.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tasin.c + M /trunk/tests/tasinh.c + M /trunk/tests/tatan.c + M /trunk/tests/tatanh.c + M /trunk/tests/tcheck.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tcomparisons.c + M /trunk/tests/tconst_euler.c + M /trunk/tests/tcosh.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/texceptions.c + M /trunk/tests/texp2.c + M /trunk/tests/texpm1.c + M /trunk/tests/tfactorial.c + M /trunk/tests/tfma.c + M /trunk/tests/tfrac.c + M /trunk/tests/tgamma.c + M /trunk/tests/tgeneric.c + M /trunk/tests/tgeneric_ui.c + M /trunk/tests/tget_d.c + M /trunk/tests/tget_d_2exp.c + M /trunk/tests/tget_z.c + M /trunk/tests/tgmpop.c + M /trunk/tests/thypot.c + M /trunk/tests/tinits.c + M /trunk/tests/tinternals.c + M /trunk/tests/tisnan.c + M /trunk/tests/tlngamma.c + M /trunk/tests/tlog10.c + M /trunk/tests/tlog1p.c + M /trunk/tests/tlog2.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tnext.c + M /trunk/tests/tpow3.c + M /trunk/tests/trandom.c + M /trunk/tests/trint.c + M /trunk/tests/tround_prec.c + M /trunk/tests/tset.c + M /trunk/tests/tset_exp.c + M /trunk/tests/tsgn.c + M /trunk/tests/tsi_op.c + M /trunk/tests/tsinh.c + M /trunk/tests/tsqr.c + M /trunk/tests/tstckintc.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub1sp.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tsum.c + M /trunk/tests/ttanh.c + M /trunk/tests/tui_pow.c + M /trunk/tests/tui_sub.c + M /trunk/tests/tversion.c + M /trunk/tests/tzeta.c + M /trunk/tests/tzeta_ui.c + M /trunk/tuneup.c + M /trunk/uceil_exp2.c + M /trunk/uceil_log2.c + M /trunk/ufloor_log2.c + M /trunk/zeta.c + M /trunk/zeta_ui.c + +Added ', Inc.' when missing after 'Free Software Foundation'. + +------------------------------------------------------------------------ +r3984 | vlefevre | 2006-01-05 02:14:39 +0000 (Thu, 05 Jan 2006) | 2 lines +Changed paths: + M /trunk/README.dev + +README.dev: Added a note about copyright notices. + +------------------------------------------------------------------------ +r3983 | vlefevre | 2006-01-05 02:02:47 +0000 (Thu, 05 Jan 2006) | 7 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_one_ulp.c + M /trunk/add_ui.c + M /trunk/agm.c + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atan.c + M /trunk/atan2.c + M /trunk/atanh.c + M /trunk/cache.c + M /trunk/cbrt.c + M /trunk/check.c + M /trunk/clear.c + M /trunk/clears.c + M /trunk/cmp.c + M /trunk/cmp2.c + M /trunk/cmp_abs.c + M /trunk/cmp_d.c + M /trunk/cmp_ld.c + M /trunk/cmp_si.c + M /trunk/cmp_ui.c + M /trunk/comparisons.c + M /trunk/configure.in + M /trunk/const_catalan.c + M /trunk/const_euler.c + M /trunk/const_log2.c + M /trunk/const_pi.c + M /trunk/constant.c + M /trunk/copysign.c + M /trunk/cos.c + M /trunk/cosh.c + M /trunk/cot.c + M /trunk/coth.c + M /trunk/csc.c + M /trunk/csch.c + M /trunk/dim.c + M /trunk/div.c + M /trunk/div_2exp.c + M /trunk/div_2si.c + M /trunk/div_2ui.c + M /trunk/div_ui.c + M /trunk/dump.c + M /trunk/eint.c + M /trunk/eq.c + M /trunk/erf.c + M /trunk/erfc.c + M /trunk/exceptions.c + M /trunk/exp.c + M /trunk/exp10.c + M /trunk/exp2.c + M /trunk/exp3.c + M /trunk/exp_2.c + M /trunk/expm1.c + M /trunk/extract.c + M /trunk/factorial.c + M /trunk/faq.xsl + M /trunk/fits_intmax.c + M /trunk/fits_s.h + M /trunk/fits_sint.c + M /trunk/fits_slong.c + M /trunk/fits_sshort.c + M /trunk/fits_u.h + M /trunk/fits_uint.c + M /trunk/fits_uintmax.c + M /trunk/fits_ulong.c + M /trunk/fits_ushort.c + M /trunk/fma.c + M /trunk/frac.c + M /trunk/free_cache.c + M /trunk/gamma.c + M /trunk/gen_inverse.h + M /trunk/generic.c + M /trunk/get_d.c + M /trunk/get_exp.c + M /trunk/get_f.c + M /trunk/get_ld.c + M /trunk/get_si.c + M /trunk/get_sj.c + M /trunk/get_str.c + M /trunk/get_ui.c + M /trunk/get_uj.c + M /trunk/get_z.c + M /trunk/get_z_exp.c + M /trunk/gmp_op.c + M /trunk/hypot.c + M /trunk/init.c + M /trunk/init2.c + M /trunk/inits.c + M /trunk/inits2.c + M /trunk/inp_str.c + M /trunk/int_ceil_log2.c + M /trunk/isinf.c + M /trunk/isinteger.c + M /trunk/isnan.c + M /trunk/isnum.c + M /trunk/isqrt.c + M /trunk/iszero.c + M /trunk/lngamma.c + M /trunk/log.c + M /trunk/log10.c + M /trunk/log1p.c + M /trunk/log2.c + M /trunk/logging.c + M /trunk/minmax.c + M /trunk/mp_clz_tab.c + M /trunk/mparam_h.in + M /trunk/mpf2mpfr.h + M /trunk/mpfr-gmp.c + M /trunk/mpfr-gmp.h + M /trunk/mpfr-impl.h + M /trunk/mpfr-longlong.h + M /trunk/mpfr-test.h + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/mpn_exp.c + M /trunk/mpzroot.c + M /trunk/mul.c + M /trunk/mul_2exp.c + M /trunk/mul_2si.c + M /trunk/mul_2ui.c + M /trunk/mul_ui.c + M /trunk/mulders.c + M /trunk/neg.c + M /trunk/next.c + M /trunk/out_str.c + M /trunk/pow.c + M /trunk/pow_si.c + M /trunk/pow_ui.c + M /trunk/pow_z.c + M /trunk/powerof2.c + M /trunk/print_raw.c + M /trunk/print_rnd_mode.c + M /trunk/random.c + M /trunk/random2.c + M /trunk/reldiff.c + M /trunk/rint.c + M /trunk/root.c + M /trunk/rootrem.c + M /trunk/round_near_x.c + M /trunk/round_p.c + M /trunk/round_prec.c + M /trunk/round_raw_generic.c + M /trunk/sec.c + M /trunk/sech.c + M /trunk/set.c + M /trunk/set_d.c + M /trunk/set_dfl_prec.c + M /trunk/set_exp.c + M /trunk/set_inf.c + M /trunk/set_ld.c + M /trunk/set_nan.c + M /trunk/set_prc_raw.c + M /trunk/set_prec.c + M /trunk/set_q.c + M /trunk/set_rnd.c + M /trunk/set_si.c + M /trunk/set_si_2exp.c + M /trunk/set_sj.c + M /trunk/set_str.c + M /trunk/set_str_raw.c + M /trunk/set_ui.c + M /trunk/set_ui_2exp.c + M /trunk/set_uj.c + M /trunk/set_z.c + M /trunk/setmax.c + M /trunk/setmin.c + M /trunk/sgn.c + M /trunk/si_op.c + M /trunk/sin.c + M /trunk/sin_cos.c + M /trunk/sinh.c + M /trunk/sqr.c + M /trunk/sqrt.c + M /trunk/sqrt_ui.c + M /trunk/stack_interface.c + M /trunk/strtofr.c + M /trunk/sub.c + M /trunk/sub1.c + M /trunk/sub1sp.c + M /trunk/sub_one_ulp.c + M /trunk/sub_ui.c + M /trunk/subnormal.c + M /trunk/sum.c + M /trunk/swap.c + M /trunk/tan.c + M /trunk/tanh.c + M /trunk/tests/cmp_str.c + M /trunk/tests/memory.c + M /trunk/tests/mpf_compat.c + M /trunk/tests/mpf_compat.h + M /trunk/tests/mpfr_compat.c + M /trunk/tests/reuse.c + M /trunk/tests/rnd_mode.c + M /trunk/tests/tabs.c + M /trunk/tests/tacos.c + M /trunk/tests/tacosh.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd1sp.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tasin.c + M /trunk/tests/tasinh.c + M /trunk/tests/tatan.c + M /trunk/tests/tatanh.c + M /trunk/tests/tcan_round.c + M /trunk/tests/tcbrt.c + M /trunk/tests/tcheck.c + M /trunk/tests/tcmp.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tcmp_d.c + M /trunk/tests/tcmp_ld.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tcmpabs.c + M /trunk/tests/tcomparisons.c + M /trunk/tests/tconst_catalan.c + M /trunk/tests/tconst_euler.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tconst_pi.c + M /trunk/tests/tcopysign.c + M /trunk/tests/tcos.c + M /trunk/tests/tcosh.c + M /trunk/tests/tcot.c + M /trunk/tests/tcoth.c + M /trunk/tests/tcsc.c + M /trunk/tests/tcsch.c + M /trunk/tests/tdim.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/teint.c + M /trunk/tests/teq.c + M /trunk/tests/terf.c + M /trunk/tests/tests.c + M /trunk/tests/texceptions.c + M /trunk/tests/texp.c + M /trunk/tests/texp2.c + M /trunk/tests/texpm1.c + M /trunk/tests/tfactorial.c + M /trunk/tests/tfits.c + M /trunk/tests/tfma.c + M /trunk/tests/tfrac.c + M /trunk/tests/tgamma.c + M /trunk/tests/tgeneric.c + M /trunk/tests/tgeneric_ui.c + M /trunk/tests/tget_d.c + M /trunk/tests/tget_d_2exp.c + M /trunk/tests/tget_f.c + M /trunk/tests/tget_sj.c + M /trunk/tests/tget_str.c + M /trunk/tests/tget_z.c + M /trunk/tests/tgmpop.c + M /trunk/tests/thyperbolic.c + M /trunk/tests/thypot.c + M /trunk/tests/tinits.c + M /trunk/tests/tinp_str.c + M /trunk/tests/tinternals.c + M /trunk/tests/tisnan.c + M /trunk/tests/tlngamma.c + M /trunk/tests/tlog.c + M /trunk/tests/tlog10.c + M /trunk/tests/tlog1p.c + M /trunk/tests/tlog2.c + M /trunk/tests/tminmax.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tnext.c + M /trunk/tests/tout_str.c + M /trunk/tests/toutimpl.c + M /trunk/tests/tpow.c + M /trunk/tests/tpow3.c + M /trunk/tests/tpow_z.c + M /trunk/tests/trandom.c + M /trunk/tests/trint.c + M /trunk/tests/troot.c + M /trunk/tests/tround_prec.c + M /trunk/tests/tsec.c + M /trunk/tests/tsech.c + M /trunk/tests/tset.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_exp.c + M /trunk/tests/tset_f.c + M /trunk/tests/tset_ld.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_sj.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsgn.c + M /trunk/tests/tsi_op.c + M /trunk/tests/tsin.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsinh.c + M /trunk/tests/tsqr.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tstckintc.c + M /trunk/tests/tstrtofr.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub1sp.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tsubnormal.c + M /trunk/tests/tsum.c + M /trunk/tests/tswap.c + M /trunk/tests/ttan.c + M /trunk/tests/ttanh.c + M /trunk/tests/ttrunc.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_pow.c + M /trunk/tests/tui_sub.c + M /trunk/tests/tversion.c + M /trunk/tests/tzeta.c + M /trunk/tests/tzeta_ui.c + M /trunk/tuneup.c + M /trunk/uceil_exp2.c + M /trunk/uceil_log2.c + M /trunk/ufloor_log2.c + M /trunk/ui_div.c + M /trunk/ui_pow.c + M /trunk/ui_pow_ui.c + M /trunk/ui_sub.c + M /trunk/urandomb.c + M /trunk/version.c + M /trunk/volatile.c + M /trunk/zeta.c + M /trunk/zeta_ui.c + +Updated the copyright notices according to the new GNU rules on: + http://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices +i.e. added 2006 to every MPFR file. +Note: the copyright notices (currently 336) should match the regexp + Copyright.* 2006 Free Software +so that it will be easier to update them for the next year... + +------------------------------------------------------------------------ +r3982 | zimmerma | 2006-01-03 11:49:03 +0000 (Tue, 03 Jan 2006) | 2 lines +Changed paths: + M /trunk/TODO + +added suggestion from K. Briggs + +------------------------------------------------------------------------ +r3981 | vlefevre | 2006-01-01 22:22:53 +0000 (Sun, 01 Jan 2006) | 2 lines +Changed paths: + M /trunk/set_f.c + +Updated copyright line (we are now in 2006!). + +------------------------------------------------------------------------ +r3980 | zimmerma | 2006-01-01 21:09:01 +0000 (Sun, 01 Jan 2006) | 2 lines +Changed paths: + M /trunk/set_f.c + +use mpfr_overflow + +------------------------------------------------------------------------ +r3979 | zimmerma | 2005-12-29 17:48:46 +0000 (Thu, 29 Dec 2005) | 2 lines +Changed paths: + M /trunk/set_f.c + M /trunk/tests/tset_f.c + +fixed bug in mpfr_set_f for huge argument + +------------------------------------------------------------------------ +r3978 | zimmerma | 2005-12-26 11:04:31 +0000 (Mon, 26 Dec 2005) | 2 lines +Changed paths: + M /trunk/get_f.c + M /trunk/tests/tget_f.c + +bug fix in mpfr_get_f + +------------------------------------------------------------------------ +r3976 | zimmerma | 2005-12-23 15:45:17 +0000 (Fri, 23 Dec 2005) | 2 lines +Changed paths: + M /trunk/set_d.c + M /trunk/tests/tset_ld.c + +updated comment for float.h (_chgsign) + +------------------------------------------------------------------------ +r3975 | zimmerma | 2005-12-23 15:33:43 +0000 (Fri, 23 Dec 2005) | 2 lines +Changed paths: + M /trunk/sin.c + +fixed bug found by Vincent (worst-case) + +------------------------------------------------------------------------ +r3974 | zimmerma | 2005-12-23 12:28:00 +0000 (Fri, 23 Dec 2005) | 2 lines +Changed paths: + M /trunk/set_d.c + M /trunk/tests/tset_ld.c + +patch for Visual C (does not compile -0.0 properly) + +------------------------------------------------------------------------ +r3973 | zimmerma | 2005-12-23 12:17:45 +0000 (Fri, 23 Dec 2005) | 2 lines +Changed paths: + M /trunk/tests/tset_ld.c + +patch for Visual C (-0.0) + +------------------------------------------------------------------------ +r3972 | zimmerma | 2005-12-20 21:09:41 +0000 (Tue, 20 Dec 2005) | 2 lines +Changed paths: + M /trunk/algorithms.tex + +fixed typo + +------------------------------------------------------------------------ +r3971 | vlefevre | 2005-12-16 16:58:24 +0000 (Fri, 16 Dec 2005) | 2 lines +Changed paths: + M /trunk/mpf2mpfr.h - * tests/texp.c, exp3.c: Same patch for exp_3. +Better definition for mpf_set_prec_raw (so that the value is kept). - * exp.c, exp_2.c, tests/texp.c: - Fix bug when exp(x) is near the limit of an overflow or an - underflow (mpfr_exp_2 didn't allow an overflow/underflow in its - internal loop). - Add corresponding test case. exp_3 may need similar patchs. +------------------------------------------------------------------------ +r3970 | vlefevre | 2005-12-08 11:56:03 +0000 (Thu, 08 Dec 2005) | 2 lines +Changed paths: + M /trunk/tests/tsin.c -2005-05-11 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Updated a comment. - * ChangeLog: - Update (with reformatting so that the logs are readable on 80 columns). +------------------------------------------------------------------------ +r3969 | vlefevre | 2005-12-08 11:51:41 +0000 (Thu, 08 Dec 2005) | 2 lines +Changed paths: + M /trunk/tests/tsin.c -2005-05-11 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Added test cases for a bug introduced on 2005-01-29 in sin.c rev 3248. - * mul.c, tests/tmul.c: Fix bug due to wrong assertion. +------------------------------------------------------------------------ +r3968 | vlefevre | 2005-12-08 02:12:03 +0000 (Thu, 08 Dec 2005) | 2 lines +Changed paths: + M /trunk/README.dev -2005-05-10 Patrick Pelissier <Patrick.Pelissier@loria.fr> +README.dev: remember to test MPFR on the worst cases. - * mpfr-impl.h, mpfr.h, round_prec.c, round_raw_generic.c: - 1. Change the prototype of mpfr_can_round to use const. - 2. Change the prototype of mpfr_round_raw_2 (remove first argument - since it is useless). - 3. Change round_raw_generic to use preprocessor if rather than compiler - to detect if flag == 1 or 0 - 4. mpfr_round_raw_xxx use const attribute too. - 5. Remove mpfr_round_raw_3 since it is unused by MPFR. - 6. Add first prototype of MPFR_FAST_COMPUTE_IF_SMALL. +------------------------------------------------------------------------ +r3967 | zimmerma | 2005-11-29 20:56:16 +0000 (Tue, 29 Nov 2005) | 2 lines +Changed paths: + M /trunk/algorithms.bib + M /trunk/algorithms.tex - * NEWS: Update. +added lemma + reference - * mul.c, tests/tmul.c: Fix a bug in the product of 2limbs per 2 limbs. - Add new regression test. +------------------------------------------------------------------------ +r3966 | vlefevre | 2005-11-25 01:36:29 +0000 (Fri, 25 Nov 2005) | 2 lines +Changed paths: + M /trunk/BUGS - * configure.in: Fix problem with mingw: if the configure detects - MS-Windows, it skips the tests which try to link against GMP - within the configure, hoping the Makefile works. The main problem - is that we need libtool inside the configure to link against GMP. +Removed mpfr_div bug from BUGS (as it has been fixed). -2005-05-09 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3964 | vlefevre | 2005-11-25 00:59:13 +0000 (Fri, 25 Nov 2005) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c - * tests/tatan.c: Improve random tests. +Added consistency tests for mpfr_div (e.g. to test small-size divisors). -2005-05-04 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3963 | zimmerma | 2005-11-24 20:39:23 +0000 (Thu, 24 Nov 2005) | 3 lines +Changed paths: + M /trunk/div.c - * cos.c: Replace initial estimation of K0 from sqrt (p/2) - to sqrt(p/16). It seems to be 30% faster for 5000 bits, and 5% faster - for 50 bits. +fixed efficiency bug for small divisor (division had same cost than for +divisor of the same size than the result) -2005-05-04 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r3960 | vlefevre | 2005-11-23 14:35:54 +0000 (Wed, 23 Nov 2005) | 2 lines +Changed paths: + M /trunk/FAQ.html - * div_ui.c, tests/tdiv_ui.c: - Ported div_ui.c bug fix (1.45) with testcase to the 2.1 branch. +Updated FAQ. - * div_ui.c: Reformatted the code. +------------------------------------------------------------------------ +r3959 | vlefevre | 2005-11-23 14:35:38 +0000 (Wed, 23 Nov 2005) | 2 lines +Changed paths: + M /trunk/faq.xsl -2005-05-04 Paul Zimmermann <Paul.Zimmermann@loria.fr> +faq.xsl: add copyright information to the downloaded FAQ. - * tests/tdiv_ui.c: fixed dummy init2 followed by set_prec +------------------------------------------------------------------------ +r3957 | vlefevre | 2005-11-23 10:53:04 +0000 (Wed, 23 Nov 2005) | 2 lines +Changed paths: + M /trunk/INSTALL + M /trunk/README.dev + M /trunk/update-version -2005-05-04 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Added information about the patches to the INSTALL file. - * TODO: Added LIA-2 functions to implement. +------------------------------------------------------------------------ +r3956 | vlefevre | 2005-11-23 08:38:39 +0000 (Wed, 23 Nov 2005) | 3 lines +Changed paths: + M /trunk/BUGS -2005-05-04 Patrick Pelissier <Patrick.Pelissier@loria.fr> +BUGS: Noted the slow division when the precision of the divisor +is small compared to the precision of the target. - * tests/tcot.c, tests/tcoth.c, tests/tcsch.c, tests/tsec.c, tests/tsech.c, Makefile.am, NEWS, TODO, coth.c, csch.c, mpfr.h, mpfr.texi, sech.c, tests/Makefile.am: - Add functions mpfr_sech, mpfr_coth and mpfr_csch. +------------------------------------------------------------------------ +r3955 | vlefevre | 2005-11-21 20:31:47 +0000 (Mon, 21 Nov 2005) | 3 lines +Changed paths: + M /trunk/rootrem.c - * gen_inverse.h: init2 alloc what is needed, not 2 (more efficient). +Fixed a bug preventing the compilation of MPFR with GMP 4.1.90 +(non-public development version) without the build directory. -2005-05-04 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r3954 | vlefevre | 2005-11-21 14:43:49 +0000 (Mon, 21 Nov 2005) | 2 lines +Changed paths: + M /trunk/rootrem.c - * acosh.c, algorithms.tex, asinh.c, const_euler.c, cosh.c, eint.c, exp2.c, expm1.c, hypot.c, log10.c, log2.c, pow.c, pow_si.c, tanh.c, tests/tpow.c, tests/tpow3.c: - improved const_euler and eint - removed dependency from input precision in several functions - fixed two bugs in pow (detection of exact cases) +Fixed memory leak in mpfr_mpn_rootrem(). -2005-05-04 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3953 | vlefevre | 2005-11-09 16:34:09 +0000 (Wed, 09 Nov 2005) | 2 lines +Changed paths: + M /trunk/README.dev - * NEWS: Update to reflect the current state. +Added a note about running the trunk tests in a branch. -2005-05-03 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3952 | vlefevre | 2005-11-09 16:18:35 +0000 (Wed, 09 Nov 2005) | 2 lines +Changed paths: + M /trunk/tests/tinternals.c + M /trunk/tests/tzeta_ui.c - * atan.c: - Fix computing of `sup` to reflect what is decribed in algorithms.tex. +Make trunk tests work with MPFR 2.2 (branch), by testing the version. - * atan.c: Tiny optimization of mpfr_atan. - On opteron with p=53, from 9231 / 18049.89 / 81758 to 9004 / 17522.76 / - 78601. +------------------------------------------------------------------------ +r3951 | vlefevre | 2005-11-09 16:09:16 +0000 (Wed, 09 Nov 2005) | 2 lines +Changed paths: + D /trunk/tests/.cvsignore -2005-05-03 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Removed .cvsignore file (useless after the switch to Subversion). - * tests/tset_ld.c: - Fixed a problem in test_small (already done in the 2.1 branch) - when long double = double. +------------------------------------------------------------------------ +r3948 | vlefevre | 2005-11-09 15:42:41 +0000 (Wed, 09 Nov 2005) | 2 lines +Changed paths: + M /trunk/cache.c -2005-05-03 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Added a MPFR_UNLIKELY. - * configure.in: Improve detection again (use callback). +------------------------------------------------------------------------ +r3947 | vlefevre | 2005-11-09 14:41:46 +0000 (Wed, 09 Nov 2005) | 5 lines +Changed paths: + M /trunk/round_near_x.c - * configure.in: Improve previous change. +In mpfr_round_near_x, use the new MPFR_RNDRAW_GEN with a correct middle +handler instead of MPFR_RNDRAW_EVEN so that the correction of the wrong +rounding is no longer necessary (BTW, the wrong rounding could have lead +to problems in case of intermediate underflow/overflow -- not checked). - * configure.in, tests/trint.c: Add detection of function round, - rint, ceil, floor and nearbyint at configure time so that spe206 - which defines itself as C99 compliant can build the trint test. +------------------------------------------------------------------------ +r3946 | vlefevre | 2005-11-09 14:05:46 +0000 (Wed, 09 Nov 2005) | 2 lines +Changed paths: + M /trunk/tests/tinternals.c - * BUGS: Update (Move bugs to potential). +mpfr_round_near_x test completed. -2005-05-03 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r3945 | vlefevre | 2005-11-09 11:57:03 +0000 (Wed, 09 Nov 2005) | 9 lines +Changed paths: + M /trunk/tests/tcbrt.c - * BUGS, hypot.c, tests/thypot.c: - Fixed the mpfr_hypot bug, and re-enabled the test_large_small test. +Added a test for mpfr_cbrt, from the following failure with MPFR 2.2 +and gcc 4.0.2 under Linux/m68k: + Seed GMP_CHECK_RANDOMIZE=1131612275 (include this in bug reports) + results differ for x=1.1000e-2 prec=5 rnd_mode=GMP_RNDN + got 1.1000e-1 + expected 1.0111e-1 + approx 0.101110001001100E0 + FAIL: tcbrt + +------------------------------------------------------------------------ +r3943 | vlefevre | 2005-11-04 22:11:53 +0000 (Fri, 04 Nov 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Improved note r3493 concerning mpfr_set_d/ld. + +------------------------------------------------------------------------ +r3941 | vlefevre | 2005-11-04 14:26:49 +0000 (Fri, 04 Nov 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +More information in the "Reporting Bugs" section. + +------------------------------------------------------------------------ +r3940 | vlefevre | 2005-11-04 01:28:04 +0000 (Fri, 04 Nov 2005) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +Added a comment about the macros MPFR_RNDRAW* and the labels. + +------------------------------------------------------------------------ +r3939 | vlefevre | 2005-11-04 00:58:23 +0000 (Fri, 04 Nov 2005) | 4 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + +Moved definitions of struct __gmpfr_cache_s and mpfr_cache_t, and +declarations of mpfr_init_cache, mpfr_clear_cache and mpfr_cache +from mpfr.h to mpfr-impl.h as they are internal (not documented). + +------------------------------------------------------------------------ +r3938 | vlefevre | 2005-11-03 16:39:31 +0000 (Thu, 03 Nov 2005) | 2 lines +Changed paths: + M /trunk/tests/tinternals.c + +Eliminated the case inex == 0. + +------------------------------------------------------------------------ +r3937 | vlefevre | 2005-11-03 16:26:38 +0000 (Thu, 03 Nov 2005) | 2 lines +Changed paths: + M /trunk/tests/tinternals.c + +Started to write code to test mpfr_round_near_x. + +------------------------------------------------------------------------ +r3936 | vlefevre | 2005-11-03 14:32:01 +0000 (Thu, 03 Nov 2005) | 2 lines +Changed paths: + M /trunk/gmp_op.c + M /trunk/strtofr.c + +Typos & English usage. + +------------------------------------------------------------------------ +r3935 | vlefevre | 2005-11-03 14:27:26 +0000 (Thu, 03 Nov 2005) | 2 lines +Changed paths: + M /trunk/round_near_x.c + +Fixed typos. + +------------------------------------------------------------------------ +r3934 | zimmerma | 2005-11-03 09:24:43 +0000 (Thu, 03 Nov 2005) | 2 lines +Changed paths: + M /trunk/README.dev + +added hint on forbidden variable name + +------------------------------------------------------------------------ +r3932 | zimmerma | 2005-11-03 07:35:53 +0000 (Thu, 03 Nov 2005) | 2 lines +Changed paths: + M /trunk/README.dev + +added "tune" item for new releases + +------------------------------------------------------------------------ +r3931 | zimmerma | 2005-11-03 07:24:38 +0000 (Thu, 03 Nov 2005) | 2 lines +Changed paths: + M /trunk/mparam_h.in + +done make tune for amd64 with gmp-4.1.4 + +------------------------------------------------------------------------ +r3929 | vlefevre | 2005-11-02 17:22:13 +0000 (Wed, 02 Nov 2005) | 15 lines +Changed paths: + M /trunk/cache.c + M /trunk/hypot.c + M /trunk/mpfr-impl.h + M /trunk/tests/thypot.c + +Merged the changes from branch vlefevre: + * mpfr-impl.h: Added MPFR_RNDRAW_GEN based on MPFR_RNDRAW and + MPFR_RNDRAW_EVEN codes, but taking an additional argument: a + handler executed in rounding to nearest mode when the value + is the middle of two consecutive numbers in dest precision. + MPFR_RNDRAW and MPFR_RNDRAW_EVEN are now defined by a "call" + to MPFR_RNDRAW_GEN. + * cache.c: Clean-up and use MPFR_RNDRAW_GEN instead of + MPFR_RNDRAW_EVEN to avoid an unnecessary correction in the + halfway case. + * hypot.c: Fixed mpfr_hypot when the rounding mode is to nearest, + x is "much larger" than y, and x is the middle of two consecutive + numbers in the target precision. + * tests/thypot.c: Added the corresponding testcase. + +------------------------------------------------------------------------ +r3928 | vlefevre | 2005-11-02 17:09:25 +0000 (Wed, 02 Nov 2005) | 2 lines +Changed paths: + M /trunk + M /trunk/tests + +Updated svn:ignore property. + +------------------------------------------------------------------------ +r3926 | zimmerma | 2005-11-02 16:12:59 +0000 (Wed, 02 Nov 2005) | 2 lines +Changed paths: + M /trunk/atan.c + +fixed remaining problems + +------------------------------------------------------------------------ +r3924 | zimmerma | 2005-11-02 13:49:00 +0000 (Wed, 02 Nov 2005) | 3 lines +Changed paths: + M /trunk/atan.c + +declared variables as mp_prec_t instead of int +use MPFR_MPZ_SIZEINBASE2 instead of mpz_sizeinbase + +------------------------------------------------------------------------ +r3919 | vlefevre | 2005-11-02 09:27:53 +0000 (Wed, 02 Nov 2005) | 5 lines +Changed paths: + M /trunk/constant.c + M /trunk/mpfr-impl.h + +Reverted the latest change to constant.c: removed MPFR_THREAD_ATTR as +these constants can be shared. Removed MPFR_THREAD_ATTR from mpfr-impl.h +too (this should have been the right correction for rev 3838 concerning +the type mismatch). Thanks to Patrick for noticing this. + +------------------------------------------------------------------------ +r3918 | vlefevre | 2005-10-31 21:27:08 +0000 (Mon, 31 Oct 2005) | 2 lines +Changed paths: + M /trunk/int_ceil_log2.c + M /trunk/mpfr-impl.h + +Added an MPFR_UNLIKELY (suggested by Patrick) and an MPFR_ASSERTN. + +------------------------------------------------------------------------ +r3917 | zimmerma | 2005-10-31 18:55:13 +0000 (Mon, 31 Oct 2005) | 3 lines +Changed paths: + M /trunk/atan.c + M /trunk/exp3.c + +factored calls to gmp_alloc +removed unused variables + +------------------------------------------------------------------------ +r3916 | zimmerma | 2005-10-31 14:49:45 +0000 (Mon, 31 Oct 2005) | 3 lines +Changed paths: + M /trunk/algorithms.tex + M /trunk/atan.c + M /trunk/tanh.c + +improved atan (now can cut series before 2^m) +revised error analysis and code of tanh + +------------------------------------------------------------------------ +r3915 | vlefevre | 2005-10-31 12:17:09 +0000 (Mon, 31 Oct 2005) | 2 lines +Changed paths: + M /trunk/log10.c + +Reformat (GNU coding style). + +------------------------------------------------------------------------ +r3914 | vlefevre | 2005-10-31 12:08:13 +0000 (Mon, 31 Oct 2005) | 5 lines +Changed paths: + M /trunk/div_ui.c + M /trunk/int_ceil_log2.c + M /trunk/mpfr-impl.h + M /trunk/mul_ui.c + M /trunk/tests/Makefile.am + A /trunk/tests/tinternals.c + +Fixed MPFR_INT_CEIL_LOG2 (in mpfr-impl.h) and __gmpfr_int_ceil_log2 +(in int_ceil_log2.c) when the argument is a power of 2, and added a +test (new test file tests/tinternals.c). This made a bug appear in +div_ui.c and mul_ui.c; fixed that too. + +------------------------------------------------------------------------ +r3913 | vlefevre | 2005-10-31 11:43:58 +0000 (Mon, 31 Oct 2005) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c + +Added a test that fails after fixing MPFR_INT_CEIL_LOG2. + +------------------------------------------------------------------------ +r3912 | zimmerma | 2005-10-30 20:07:45 +0000 (Sun, 30 Oct 2005) | 2 lines +Changed paths: + M /trunk/algorithms.tex + M /trunk/exp3.c + M /trunk/tests/texp.c + +improved exp_3 (binary-splitting algorithm) + +------------------------------------------------------------------------ +r3911 | vlefevre | 2005-10-30 14:50:52 +0000 (Sun, 30 Oct 2005) | 2 lines +Changed paths: + M /trunk/cos.c + +Fixed padding-bit test. + +------------------------------------------------------------------------ +r3910 | vlefevre | 2005-10-30 13:20:46 +0000 (Sun, 30 Oct 2005) | 5 lines +Changed paths: + M /trunk/cos.c + +3 corrections in cos.c concerning maxi: + * corrected a comment; + * failed if sizeof(int) <= sizeof(long) / 2; + * now take possible padding bits into account. + +------------------------------------------------------------------------ +r3909 | zimmerma | 2005-10-29 21:07:36 +0000 (Sat, 29 Oct 2005) | 4 lines +Changed paths: + M /trunk/agm.c + M /trunk/exp3.c + M /trunk/root.c + M /trunk/rootrem.c + +patched root.c to use rootrem.c with gmp-4.1.90 +added comment in exp3.c +added more initial guard bits in agm + +------------------------------------------------------------------------ +r3908 | zimmerma | 2005-10-29 13:14:20 +0000 (Sat, 29 Oct 2005) | 3 lines +Changed paths: + M /trunk/cos.c + M /trunk/mpfr-impl.h + M /trunk/mulders.c + M /trunk/sqr.c + M /trunk/tuneup.c + +now tune Mulders short square (not yet used) +improved mpfr_cos + +------------------------------------------------------------------------ +r3907 | zimmerma | 2005-10-26 15:45:42 +0000 (Wed, 26 Oct 2005) | 2 lines +Changed paths: + M /trunk/root.c + M /trunk/rootrem.c + +updated code for gmp-dev + +------------------------------------------------------------------------ +r3906 | vlefevre | 2005-10-26 11:28:36 +0000 (Wed, 26 Oct 2005) | 2 lines +Changed paths: + D /trunk/.cvsignore + +Removed .cvsignore file (useless after the switch to Subversion). + +------------------------------------------------------------------------ +r3903 | vlefevre | 2005-10-25 01:33:31 +0000 (Tue, 25 Oct 2005) | 2 lines +Changed paths: + M /trunk/update-version + +More portable update-version script (use perl instead of sed). + +------------------------------------------------------------------------ +r3889 | vlefevre | 2005-10-24 13:43:07 +0000 (Mon, 24 Oct 2005) | 4 lines +Changed paths: + M /trunk/README + M /trunk/README.dev + D /trunk/fixperm + +First revision after the switch to Subversion: + * Removed fixperm as it is now useless. + * Updated README and README.dev files. + +------------------------------------------------------------------------ +r3888 | lefevre | 2005-10-24 11:29:40 +0000 (Mon, 24 Oct 2005) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update. + +------------------------------------------------------------------------ +r3887 | zimmerma | 2005-10-19 20:23:44 +0000 (Wed, 19 Oct 2005) | 2 lines +Changed paths: + M /trunk/agm.c + M /trunk/algorithms.tex + +documented algorithm used in mpfr_agm and fixed code accordingly + +------------------------------------------------------------------------ +r3886 | zimmerma | 2005-10-10 09:43:26 +0000 (Mon, 10 Oct 2005) | 2 lines +Changed paths: + M /trunk/TODO + +added efficiency item + +------------------------------------------------------------------------ +r3885 | zimmerma | 2005-10-10 09:16:44 +0000 (Mon, 10 Oct 2005) | 2 lines +Changed paths: + M /trunk/mpzroot.c + M /trunk/root.c + M /trunk/rootrem.c + +now mpzroot/rootrem compile without gmp internal headers + +------------------------------------------------------------------------ +r3884 | lefevre | 2005-10-07 16:43:40 +0000 (Fri, 07 Oct 2005) | 3 lines +Changed paths: + M /trunk/root.c + +Disabled new rootrem/mpz_root as compilation fails (headers can't +be found). + +------------------------------------------------------------------------ +r3883 | lefevre | 2005-10-07 16:30:45 +0000 (Fri, 07 Oct 2005) | 2 lines +Changed paths: + M /trunk/mul.c + +Temporary optimization (patch from Patrick Pelissier). + +------------------------------------------------------------------------ +r3882 | lefevre | 2005-10-06 10:03:56 +0000 (Thu, 06 Oct 2005) | 4 lines +Changed paths: + M /trunk/tests/tpow.c + +One of the tests was using the fabs function, but -lm isn't given when +generating the executable, making the linking fail under HP-UX. Fixed +by not using this fabs function. + +------------------------------------------------------------------------ +r3880 | zimmerma | 2005-10-05 21:57:48 +0000 (Wed, 05 Oct 2005) | 2 lines +Changed paths: + M /trunk/sin_cos.c -2005-05-02 Vincent Lefevre <Vincent.Lefevre@loria.fr> +small improvement in sign detection - * ChangeLog: Update. +------------------------------------------------------------------------ +r3879 | zimmerma | 2005-10-05 20:36:56 +0000 (Wed, 05 Oct 2005) | 2 lines +Changed paths: + M /trunk/Makefile.am + A /trunk/mpzroot.c + M /trunk/root.c + A /trunk/rootrem.c - * BUGS, tests/thypot.c: - Added the test_large_small test for mpfr_hypot (disabled by default) - and mentioned this bug in BUGS. [2.1 branch] +improved mpfr_root, using the new mpn_rootrem code written with Torbjo"rn - * BUGS: Mention the mpfr_hypot bug. +------------------------------------------------------------------------ +r3876 | lefevre | 2005-09-29 09:52:33 +0000 (Thu, 29 Sep 2005) | 2 lines +Changed paths: + M /trunk/ChangeLog - * tests/thypot.c: - Added a test showing a bug, enabled when TEST_LARGE_SMALL is defined - (to avoid a freeze with make check). +Update. -2005-05-02 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3875 | lefevre | 2005-09-29 09:47:08 +0000 (Thu, 29 Sep 2005) | 3 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/tests/tset_si.c - * mpfr.texi: Fix bug. +Fixed bug in mpfr_set_ui macro when parameters are expressions +with side effects. - * tests/tpow.c: Remove useless function f. +------------------------------------------------------------------------ +r3874 | zimmerma | 2005-09-29 06:40:15 +0000 (Thu, 29 Sep 2005) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * subnormal.c: Fix a bug: the test to detect EVEN_rounding was wrong. +fixed missing accent - * mpfr.texi: Update example of use of mpfr_subnormalize. +------------------------------------------------------------------------ +r3873 | lefevre | 2005-09-28 15:30:17 +0000 (Wed, 28 Sep 2005) | 2 lines +Changed paths: + M /trunk/lngamma.c - * mpfr-test.h, tests/cmp_str.c, tests/tcmp.c, tests/tcmpabs.c: - mpfr_cmp_str checks for NAN. - Add macro mpfr_cmp0 in mpfr-test. +Small optimization. - * tests/tgeneric.c, tests/tgeneric_ui.c, tests/troot.c: - Undo previous change for tgeneric. - troot uses tgeneric_ui instead. +------------------------------------------------------------------------ +r3872 | lefevre | 2005-09-28 14:28:19 +0000 (Wed, 28 Sep 2005) | 2 lines +Changed paths: + M /trunk/tests/tlngamma.c -2005-05-01 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Test the sign of 0. - * tests/reuse.c: Add new funcions in reuse test. +------------------------------------------------------------------------ +r3871 | zimmerma | 2005-09-28 14:14:42 +0000 (Wed, 28 Sep 2005) | 2 lines +Changed paths: + M /trunk/lngamma.c + M /trunk/tests/tlngamma.c -2005-04-30 Paul Zimmermann <Paul.Zimmermann@loria.fr> +fixed infinite loop for lngamma(2) - * TODO: added efficiency item +------------------------------------------------------------------------ +r3870 | lefevre | 2005-09-28 00:45:27 +0000 (Wed, 28 Sep 2005) | 3 lines +Changed paths: + M /trunk/Makefile.am - * eint.c, mpfr.h, mpfr.texi, tests/Makefile.am, tests/teint.c, Makefile.am, TODO, algorithms.tex: - added mpfr_eint +Updated libmpfr_la_LDFLAGS (note: it shouldn't be incremented again +before the 2.3.0 release). -2005-04-29 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3869 | zimmerma | 2005-09-26 16:28:47 +0000 (Mon, 26 Sep 2005) | 2 lines +Changed paths: + A /trunk/zeta_ui.c - * TODO: Add something to do :) +new function: Zeta with integer argument -2005-04-29 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r3868 | zimmerma | 2005-09-23 21:35:03 +0000 (Fri, 23 Sep 2005) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/algorithms.bib + M /trunk/algorithms.tex + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/tests/Makefile.am + A /trunk/tests/tzeta_ui.c - * TODO: added comment about efficiency of atan +new function mpfr_zeta_ui for integer argument -2005-04-29 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r3867 | zimmerma | 2005-09-21 13:51:34 +0000 (Wed, 21 Sep 2005) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * README, README.dev, faq.xsl, update-faq, FAQ.html, Makefile.am: - The FAQ is now distributed with MPFR. Use update-faq to update it - from the MPFR web site. +added brief description of algorithm for mpfr_zeta -2005-04-29 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r3863 | lefevre | 2005-09-18 23:36:44 +0000 (Sun, 18 Sep 2005) | 2 lines +Changed paths: + M /trunk/INSTALL - * algorithms.tex: - commented out argument reduction analysis for arctan (was wrong) +Mentioned problems with the Tru64 make and other minor changes. -2005-04-28 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r3861 | lefevre | 2005-09-17 10:24:43 +0000 (Sat, 17 Sep 2005) | 5 lines +Changed paths: + M /trunk/configure.in - * mpfr.texi: Updated mpfr_set* documentation. [2.1 branch] +Fixed the GMP linking test: replaced __gmp_version, which corresponds +to a variable, by __gmpz_init (suggested by the GMP documentation), +which corresponds to a function, as the auto tools assume the symbol +corresponds to a function. It was failing with the AIX linker. -2005-04-28 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r3857 | lefevre | 2005-09-16 14:22:40 +0000 (Fri, 16 Sep 2005) | 2 lines +Changed paths: + M /trunk/const_euler.c - * sin.c: wrong commit, put revision 1.37 back +Untabify. - * cos.c: wrong commit, put back revision 1.47 +------------------------------------------------------------------------ +r3856 | lefevre | 2005-09-16 13:22:53 +0000 (Fri, 16 Sep 2005) | 2 lines +Changed paths: + M /trunk/ChangeLog - * algorithms.tex, cos.c, sin.c: - added error analysis for Geoff's argument reduction for arctan +Update. -2005-04-27 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r3854 | lefevre | 2005-09-16 10:58:41 +0000 (Fri, 16 Sep 2005) | 2 lines +Changed paths: + M /trunk/gamma.c - * mpfr.texi: Added a note about mpfr_set_d and mpfr_set_ld. +Untabify. - * mpfr.h, update-version: - Define MPFR_VERSION_STRING using the update-version script - (works with any compiler). +------------------------------------------------------------------------ +r3852 | zimmerma | 2005-09-16 09:41:47 +0000 (Fri, 16 Sep 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi -2005-04-26 Paul Zimmermann <Paul.Zimmermann@loria.fr> +added missing documentation for mpfr_get_f and mpfr_pow_z - * TODO: added internal interface +------------------------------------------------------------------------ +r3851 | lefevre | 2005-09-16 08:02:15 +0000 (Fri, 16 Sep 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * TODO: added suggestion from Geoff +Fixed typos found by Tomonori Kouya. - * mpfr.h, mpfr.texi, tests/tversion.c: added MPFR_VERSION_STRING +------------------------------------------------------------------------ +r3850 | zimmerma | 2005-09-16 07:38:22 +0000 (Fri, 16 Sep 2005) | 2 lines +Changed paths: + M /trunk/coth.c + M /trunk/tests/tcoth.c -2005-04-25 Paul Zimmermann <Paul.Zimmermann@loria.fr> +fixed stupid bug (coth was computing 1/tan instead of 1/tanh) - * TODO: added new item +------------------------------------------------------------------------ +r3849 | zimmerma | 2005-09-15 21:55:08 +0000 (Thu, 15 Sep 2005) | 2 lines +Changed paths: + M /trunk/const_euler.c - * TODO, expm1.c, log1p.c: improved expm1/log1p for small argument +fixed overflow problem for large precision - * expm1.c: - improved to taken account of case |x| small (reported by Keith Briggs) +------------------------------------------------------------------------ +r3848 | zimmerma | 2005-09-15 21:11:25 +0000 (Thu, 15 Sep 2005) | 2 lines +Changed paths: + M /trunk/zeta.c -2005-04-25 Vincent Lefevre <Vincent.Lefevre@loria.fr> +added log(precz) in initial precision - * mpfr.texi: Added a missing "-" and replaced a few "-" by @minus{}. +------------------------------------------------------------------------ +r3844 | zimmerma | 2005-09-13 12:57:38 +0000 (Tue, 13 Sep 2005) | 2 lines +Changed paths: + M /trunk/exp.c + M /trunk/tests/texp.c - * mpfr.texi: Added a note for mpfr_cmp functions. +fixed bug in exp(-eps) for rounding toward zero (test was also wrong...) -2005-04-25 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r3843 | lefevre | 2005-09-13 02:05:56 +0000 (Tue, 13 Sep 2005) | 2 lines +Changed paths: + M /trunk/README.dev - * set_ld.c, tests/tset_ld.c: fixed bug with tiny number +Updated "To make a release". -2005-04-22 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r3839 | lefevre | 2005-09-13 01:32:41 +0000 (Tue, 13 Sep 2005) | 2 lines +Changed paths: + M /trunk/NEWS - * TODO: removed done item +Minor update. -2005-04-22 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3838 | lefevre | 2005-09-13 01:28:09 +0000 (Tue, 13 Sep 2005) | 2 lines +Changed paths: + M /trunk/constant.c - * mpfr-impl.h: Add a macro for mpfr_const_catalan for internal use. +Added missing MPFR_THREAD_ATTR. - * mpfr.texi: Fix typos. +------------------------------------------------------------------------ +r3835 | lefevre | 2005-09-11 22:50:06 +0000 (Sun, 11 Sep 2005) | 2 lines +Changed paths: + M /trunk/tuneup.c -2005-04-22 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Avoid a conflict with GMP. - * TODO: removed Root, updated eint* +------------------------------------------------------------------------ +r3834 | lefevre | 2005-09-11 22:37:58 +0000 (Sun, 11 Sep 2005) | 3 lines +Changed paths: + M /trunk/mparam_h.in + M /trunk/mul.c + M /trunk/tuneup.c - * Makefile.am, TODO, cot.c, csc.c, gen_inverse.h, mpfr.h, mpfr.texi, sec.c, tests/Makefile.am, tests/tcot.c, tests/tcsc.c, tests/tsec.c: - added sec, csc, cot +Reverted to previous mparam_h.in and mul.c, and applied Patrick's +patch instead. - * TODO: proposal for exponential integral definition +------------------------------------------------------------------------ +r3832 | lefevre | 2005-09-11 22:15:29 +0000 (Sun, 11 Sep 2005) | 2 lines +Changed paths: + M /trunk/ChangeLog - * Makefile.am, TODO, tests/Makefile.am: - added mpfr_root, removed from TODO +Update. - * cbrt.c, mpfr.h, mpfr.texi, root.c, tests/tgeneric.c, tests/troot.c: - added mpfr_root +------------------------------------------------------------------------ +r3830 | lefevre | 2005-09-11 21:59:31 +0000 (Sun, 11 Sep 2005) | 2 lines +Changed paths: + M /trunk/tests/tstckintc.c -2005-04-21 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Added #include <string.h> for memmove (see ISO C99 standard). - * ChangeLog: Update. +------------------------------------------------------------------------ +r3829 | lefevre | 2005-09-11 21:56:32 +0000 (Sun, 11 Sep 2005) | 2 lines +Changed paths: + M /trunk/README.dev - * ChangeLog: Update. (2.1 branch) +Minor change. - * BUGS, get_ld.c: - In mpfr_get_ld, the rounding direction can be wrong if |x| < LDBL_MIN. - (2.1 branch) +------------------------------------------------------------------------ +r3828 | lefevre | 2005-09-11 21:55:20 +0000 (Sun, 11 Sep 2005) | 2 lines +Changed paths: + M /trunk/tests/trint.c - * set_ld.c: Correction of latest patch. (2.1 branch) +Fixed uninitialized variable (with gcc -std=c99). - * set_ld.c: - Fix for long double = double precision (e.g. PowerPC) and rounding - toward +inf. (2.1 branch) +------------------------------------------------------------------------ +r3827 | lefevre | 2005-09-11 21:43:14 +0000 (Sun, 11 Sep 2005) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h - * tests/tset_ld.c: - Added the ability to change the control word when compiling tset_ld - with -DWITH_FPU_CONTROL=1 and executing tset_ld with an argument - (not used in the automatical tests yet). +Fixed a #ifdef (when --enable-assert isn't used). - * set_ld.c: - mpfr_set_ld should now work in any rounding mode. (2.1 branch) +------------------------------------------------------------------------ +r3824 | lefevre | 2005-09-11 18:21:02 +0000 (Sun, 11 Sep 2005) | 2 lines +Changed paths: + M /trunk/ChangeLog - * tests/tset_ld.c: Forgot a #if... (2.1 branch) +Update. - * tests/tset_ld.c: - Added the ability to change the control word when compiling tset_ld - with -DWITH_FPU_CONTROL=1 and executing tset_ld with an argument - (not used in the automatical tests yet). (2.1 branch) +------------------------------------------------------------------------ +r3823 | lefevre | 2005-09-11 17:56:43 +0000 (Sun, 11 Sep 2005) | 3 lines +Changed paths: + M /trunk/int_ceil_log2.c + M /trunk/mpfr-impl.h - * tests/tset_ld.c: Added test_small (the same as in the 2.1 branch). +Changed the MPFR_ASSERTD into a MPFR_ASSERTN for MPFR_INT_CEIL_LOG2 +since the assertion cannot be guaranteed for every C implementation. - * tests/tset_ld.c: - Fix for platforms where long double = double. (2.1 branch) +------------------------------------------------------------------------ +r3822 | pelissip | 2005-09-10 15:20:48 +0000 (Sat, 10 Sep 2005) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h - * cmp.c: Updated a comment and reformatted the code. +Fix spelling mistake. - * set_ld.c: Fixed mpfr_set_ld for very small numbers. (2.1 branch) +------------------------------------------------------------------------ +r3821 | pelissip | 2005-09-10 15:17:54 +0000 (Sat, 10 Sep 2005) | 2 lines +Changed paths: + M /trunk/README.dev - * tests/tset_ld.c: More output in test_small. (2.1 branch) +Add new note about MPFR_TMP_DECL -2005-04-21 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r3819 | zimmerma | 2005-09-09 14:45:54 +0000 (Fri, 09 Sep 2005) | 3 lines +Changed paths: + M /trunk/mparam_h.in - * mpfr.texi: added explanation +reduced default of MPFR_MUL_THRESHOLD by 1, since now MPFR_MUL_THRESHOLD+1 +is considered in mul.c -2005-04-20 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r3818 | lefevre | 2005-09-09 14:37:51 +0000 (Fri, 09 Sep 2005) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * tests/tset_ld.c: - Fixed bug in test_small (but this still shows a bug). (2.1 branch) +Fixed another LaTeX error. - * tests/tset_ld.c: Improved the test_small test. (2.1 branch) +------------------------------------------------------------------------ +r3817 | lefevre | 2005-09-09 14:26:08 +0000 (Fri, 09 Sep 2005) | 2 lines +Changed paths: + M /trunk/ChangeLog -2005-04-20 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Update. - * Makefile.am, const_catalan.c, tests/Makefile.am: - adjusted initial guard digits for const_catalan to avoid failure for prec<=10^4 +------------------------------------------------------------------------ +r3816 | lefevre | 2005-09-09 12:09:47 +0000 (Fri, 09 Sep 2005) | 2 lines +Changed paths: + M /trunk/README.dev - * const_catalan.c, mpfr.texi, tests/tconst_catalan.c: - updated documentation and improved tests for mpfr_const_catalan +Updated "To make a release". - * TODO: removed Catalan's constant (done) +------------------------------------------------------------------------ +r3815 | lefevre | 2005-09-09 10:21:11 +0000 (Fri, 09 Sep 2005) | 3 lines +Changed paths: + M /trunk/lngamma.c - * const_catalan.c, free_cache.c, mpfr-impl.h, mpfr.h, tests/tconst_catalan.c, algorithms.tex: - added Catalan's constant +Use (mpz_t *) 0 instead of NULL (this is not less clear and this +works with the native SunOS 4 C compiler). - * TODO: added efficiency items suggested by Geoff Bailey +------------------------------------------------------------------------ +r3814 | zimmerma | 2005-09-09 09:33:04 +0000 (Fri, 09 Sep 2005) | 2 lines +Changed paths: + M /trunk/tests/tset_f.c - * atan2.c: - fixed minor problem (wrong rounding mode for x=0, y<0), thanks Geoff Bailey +avoid . in mpf_set_str (locale-sensitive) -2005-04-19 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r3813 | zimmerma | 2005-09-09 09:26:22 +0000 (Fri, 09 Sep 2005) | 2 lines +Changed paths: + M /trunk/gamma.c + M /trunk/lngamma.c + M /trunk/mpfr.texi + M /trunk/tests/tgamma.c + M /trunk/tests/tlngamma.c - * TODO: added one efficiency item +cleanup of gamma and lngamma - * algorithms.tex: - completely rewritten algorithm and error analysis for acosh - (did not match those in acosh.c) +------------------------------------------------------------------------ +r3812 | zimmerma | 2005-09-08 09:37:46 +0000 (Thu, 08 Sep 2005) | 3 lines +Changed paths: + M /trunk/mul.c - * acosh.c: - algorithm and error bound did not match those of algorithm.tex!!! +MUL_THRESHOLD -> MUL_THRESHOLD+1 (to allow MUL_THRESHOLD=0, needed for +tuneup.c) - * TODO: added missing functions for Magma +------------------------------------------------------------------------ +r3811 | zimmerma | 2005-09-08 09:21:02 +0000 (Thu, 08 Sep 2005) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * get_str.c, mpfr.texi: changed semantics of mpfr_get_str for ndigits=0 +fixed LaTeX error -2005-04-14 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r3809 | lefevre | 2005-09-08 09:12:20 +0000 (Thu, 08 Sep 2005) | 2 lines +Changed paths: + M /trunk/ChangeLog - * TODO: added one item (efficiency) +Fix. -2005-04-14 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3808 | lefevre | 2005-09-08 09:08:46 +0000 (Thu, 08 Sep 2005) | 2 lines +Changed paths: + M /trunk/ChangeLog - * atan2.c, mpfr.texi, tests/tatan.c: Fix atan2 to fit C99 semantic. +Update. - * mpfr.texi: Fix typos. +------------------------------------------------------------------------ +r3804 | lefevre | 2005-09-08 09:02:58 +0000 (Thu, 08 Sep 2005) | 2 lines +Changed paths: + M /trunk/README.dev + A /trunk/fixperm - * atan2.c: Add TODO. +Added fixperm script to fix the file permissions broken by CVS. - * mpfr.texi: Add documentation for mpfr_subnormalize. +------------------------------------------------------------------------ +r3803 | lefevre | 2005-09-08 09:01:50 +0000 (Thu, 08 Sep 2005) | 2 lines +Changed paths: + M /trunk/NEWS - * subnormal.c: Fix bugs. +Update. -2005-04-13 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3798 | zimmerma | 2005-09-08 06:48:10 +0000 (Thu, 08 Sep 2005) | 2 lines +Changed paths: + M /trunk/TODO - * div_ui.c, tests/tsi_op.c: Apply Guillaume's patch about mpfr_div_ui. - Fix a bug in tsi_op (forget to clean memory). +added one item - * Makefile.am, mpfr.h, subnormal.c: - Add function mpfr_subnormalize (To Test!!!!!) +------------------------------------------------------------------------ +r3797 | lefevre | 2005-09-08 06:45:52 +0000 (Thu, 08 Sep 2005) | 2 lines +Changed paths: + M /trunk/ChangeLog - * atan2.c: Add TODO. +Update. - * expm1.c: Fix wrong comment. +------------------------------------------------------------------------ +r3795 | lefevre | 2005-09-08 02:51:45 +0000 (Thu, 08 Sep 2005) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am -2005-04-07 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Fix: readded dependencies. - * tests/terf.c: Reenable tests. +------------------------------------------------------------------------ +r3793 | lefevre | 2005-09-06 14:37:32 +0000 (Tue, 06 Sep 2005) | 2 lines +Changed paths: + M /trunk/tests/tversion.c - * mpfr.texi: Add documentation about mpfr_atan2. +More detailed error message. - * tests/tadd_ui.c, tests/tagm.c, tests/tcbrt.c, tests/tdim.c, tests/tdiv_ui.c, tests/tgeneric_ui.c, tests/tmul_ui.c, tests/tpow.c, tests/tsi_op.c, tests/tsub_ui.c: - Improve test suite by adding new random values. +------------------------------------------------------------------------ +r3791 | lefevre | 2005-09-06 13:54:57 +0000 (Tue, 06 Sep 2005) | 2 lines +Changed paths: + M /trunk/lngamma.c - * tests/tadd.c, tests/tdiv.c, tests/tmul.c, tests/tsub.c: - Add random tests (tgeneric + random2). +Change for ansi2knr. -2005-04-05 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r3790 | lefevre | 2005-09-06 13:42:02 +0000 (Tue, 06 Sep 2005) | 2 lines +Changed paths: + M /trunk/lngamma.c - * README.dev: Test with -ansi when making a release. +Code clean-up (again). - * README.dev: Typo. +------------------------------------------------------------------------ +r3789 | lefevre | 2005-09-06 13:31:12 +0000 (Tue, 06 Sep 2005) | 2 lines +Changed paths: + M /trunk/lngamma.c -2005-04-05 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Use GMP's allocate functions instead of C's. Code clean-up. - * div-short.c, tests/terf.c: replaced // comments by /* ... */ +------------------------------------------------------------------------ +r3788 | lefevre | 2005-09-06 13:02:37 +0000 (Tue, 06 Sep 2005) | 2 lines +Changed paths: + M /trunk/lngamma.c -2005-04-04 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Reformat. - * get_ld.c, tests/tset_ld.c: Avoid an infinite loop. [2.1 branch] +------------------------------------------------------------------------ +r3787 | zimmerma | 2005-09-06 12:42:39 +0000 (Tue, 06 Sep 2005) | 2 lines +Changed paths: + M /trunk/tests/tgamma.c -2005-04-04 Patrick Pelissier <Patrick.Pelissier@loria.fr> +missing set_emin - * TODO: Add note about mpfr_neg +------------------------------------------------------------------------ +r3786 | zimmerma | 2005-09-06 12:25:03 +0000 (Tue, 06 Sep 2005) | 2 lines +Changed paths: + M /trunk/tests/tgamma.c - * Makefile.am, NEWS, TODO, atan2.c, mpfr.h, tests/tatan.c: - Add function mpfr_atan2 +added missing call to MPFR_TEST_USE_RANDS() [3 blocks non-freed] -2005-03-31 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3784 | lefevre | 2005-09-06 12:00:54 +0000 (Tue, 06 Sep 2005) | 3 lines +Changed paths: + M /trunk/tests/tsub.c - * mparam_h.in, mpfr-gmp.h, mulders.c: - Change to add future function mpfr_sqrhigh_n. +Fixed a bug (detected after mpfr_set_str_binary has been fixed) +in tests/tsub.c introduced in 1.6 (2001-10-19). - * mpfr.texi: Add documentation for mpfr_erfc. +------------------------------------------------------------------------ +r3783 | lefevre | 2005-09-06 11:50:09 +0000 (Tue, 06 Sep 2005) | 2 lines +Changed paths: + M /trunk/set_str_raw.c - * NEWS: Add items. +mpfr_set_str_binary was buggy and inefficient. Let's use mpfr_strtofr. - * Makefile.am, TODO, erfc.c, mpfr.h, tests/terf.c, tests/tgeneric.c: - Add function mpfr_erfc. - Add a note about auto-checking correctness of MPFR. +------------------------------------------------------------------------ +r3781 | lefevre | 2005-09-06 11:30:40 +0000 (Tue, 06 Sep 2005) | 3 lines +Changed paths: + M /trunk/mpfr-impl.h -2005-03-30 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Replaced unsigned long bit-fields (GCC extension) by insigned int +bit-fields. - * tests/tpow.c: Added a testcase (the one added to the 2.1 branch). +------------------------------------------------------------------------ +r3779 | lefevre | 2005-09-05 13:28:20 +0000 (Mon, 05 Sep 2005) | 4 lines +Changed paths: + M /trunk/mpfr-gmp.h - * pow_ui.c, tests/tpow.c: - [2.1 branch] Ported two mpfr_pow_ui bug fixes from the trunk; - added a testcase found with random tests written for that. +MPN_COPY now calls memcpy only if dst != src (otherwise this is an +undefined behavior), and if WANT_ASSERT is defined, it checks that +there is no overlap. -2005-03-30 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3776 | lefevre | 2005-09-02 14:08:09 +0000 (Fri, 02 Sep 2005) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h - * tests/tpow.c: Use random2 instead of random. +Avoid MIPSpro / IRIX64 (incorrect) optimizations for DOUBLE_ISNAN. -2005-03-30 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r3775 | lefevre | 2005-09-02 13:25:32 +0000 (Fri, 02 Sep 2005) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + M /trunk/mpfr-impl.h - * round_p.c: Weaker conditions for return 0 in mpfr_round_p. +More portable DOUBLE_ISNAN (useful for MIPSpro under IRIX64). -2005-03-30 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3774 | zimmerma | 2005-09-02 12:55:37 +0000 (Fri, 02 Sep 2005) | 2 lines +Changed paths: + M /trunk/gamma.c + M /trunk/tests/tgamma.c - * tests/tgeneric.c, tests/tgeneric_ui.c, tests/tpow.c, tests/Makefile.am: - Add generic test for functions which looks - inexact = MPFR_TOTO (rop, op, INTEGER, RND); +improved trade-off between fac_ui and gamma when argument is integer - * pow_ui.c, pow_z.c: - Add ceil(log2(size)) bits to initial precision to avoid - commiting in error for huge operands. +------------------------------------------------------------------------ +r3773 | lefevre | 2005-09-02 12:33:24 +0000 (Fri, 02 Sep 2005) | 2 lines +Changed paths: + M /trunk/acinclude.m4 -2005-03-30 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Reformat. - * tests/tpow.c: - Added a test (corresp. to the one added on 2005-03-25 in tpow_z.c). +------------------------------------------------------------------------ +r3772 | zimmerma | 2005-09-02 09:52:07 +0000 (Fri, 02 Sep 2005) | 3 lines +Changed paths: + M /trunk/TODO + M /trunk/gamma.c + M /trunk/tests/tgamma.c -2005-03-29 Vincent Lefevre <Vincent.Lefevre@loria.fr> +fixed remaining problem in gamma +removed LogGamma from TODO - * pow_ui.c, pow_z.c: Reformatted code (GNU style, untabify...). +------------------------------------------------------------------------ +r3771 | lefevre | 2005-09-02 08:17:37 +0000 (Fri, 02 Sep 2005) | 2 lines +Changed paths: + M /trunk/add1sp.c + M /trunk/sub1sp.c -2005-03-29 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Do not put expressions with side effects in MPFR_ASSERTN. - * mpfr-impl.h: Tiny update. - Add group functions macros. +------------------------------------------------------------------------ +r3770 | zimmerma | 2005-09-01 21:44:42 +0000 (Thu, 01 Sep 2005) | 3 lines +Changed paths: + M /trunk/gamma.c + M /trunk/tests/tgamma.c - * pow_ui.c, pow_z.c, tests/tpow_z.c: - Replace test ('p <= i') by assertion ('p > i). +now uses lngamma code for x < 1 too +added new tests from Kenneth Wilder -2005-03-25 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r3769 | zimmerma | 2005-09-01 11:54:57 +0000 (Thu, 01 Sep 2005) | 2 lines +Changed paths: + M /trunk/tests/tgamma.c - * gamma.c, mpfr.texi, pow_ui.c, pow_z.c, tests/tgamma.c, tests/tpow_z.c: - fixed bug in pow_ui (and pow_z): missing factor 2 in error bound - fixed bug in gamma of negative integer +added another test -2005-03-25 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3768 | zimmerma | 2005-09-01 08:59:19 +0000 (Thu, 01 Sep 2005) | 2 lines +Changed paths: + M /trunk/tests/tgamma.c - * div-short.c: Add info. +removed useless prototype - * mpfr-impl.h, print_raw.c: - Add new internal function for debugging reasons. +------------------------------------------------------------------------ +r3764 | lefevre | 2005-08-31 23:57:06 +0000 (Wed, 31 Aug 2005) | 2 lines +Changed paths: + M /trunk/sum.c - * tests/tpow_z.c: Forget to free x and y +Fixed memory leak (missing MPFR_TMP_FREE in a particular case). - * tests/tpow_z.c: Add failed regression test. +------------------------------------------------------------------------ +r3763 | lefevre | 2005-08-31 23:52:53 +0000 (Wed, 31 Aug 2005) | 2 lines +Changed paths: + M /trunk/sum.c - * div-short.c: Improved version. +Fixed the code formatting. - * mul.c, tests/tmul.c: Undo previous change (I was wrong). - Add new regression test. +------------------------------------------------------------------------ +r3762 | lefevre | 2005-08-31 23:38:13 +0000 (Wed, 31 Aug 2005) | 2 lines +Changed paths: + M /trunk/README.dev -2005-03-24 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Updated Point 6 of "To make a release". - * mul.c: Fix wrong extimated precision. - It is log2(n+2) ulps so that log2(log2(n+2)) bits! +------------------------------------------------------------------------ +r3761 | lefevre | 2005-08-31 23:27:29 +0000 (Wed, 31 Aug 2005) | 2 lines +Changed paths: + M /trunk/mul.c - * div-short.c: Add checking. +Fixed memory leak (missing MPFR_TMP_FREE in a particular case). -2005-03-23 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r3759 | zimmerma | 2005-08-31 20:32:03 +0000 (Wed, 31 Aug 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * tests/tdiv.c: added new test +added lngamma -2005-03-23 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3758 | zimmerma | 2005-08-31 20:29:36 +0000 (Wed, 31 Aug 2005) | 2 lines +Changed paths: + M /trunk/tests/tlog.c - * tests/tget_f.c: - Remove an signed integer trap overflow (GCC 4 + '-ftrapv'). +added new test (emax) - * mul.c: Don't use Mulder at n+1 for MPFR_MUL_THRESHOLD+1 +------------------------------------------------------------------------ +r3757 | zimmerma | 2005-08-31 20:28:25 +0000 (Wed, 31 Aug 2005) | 2 lines +Changed paths: + M /trunk/tests/tgamma.c - * mparam_h.in: Reduce the threshold for AMD64. +now random tests also use x >= 1 -2005-03-22 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3756 | zimmerma | 2005-08-31 20:26:33 +0000 (Wed, 31 Aug 2005) | 2 lines +Changed paths: + M /trunk/log.c - * div-short.c: Initial version of Short Division. +added SAVE_EXPO stuff - * mul.c: Fix bug on HP-UX. - longlong's umul_ppmm seems to be buggy on such a system. - Don't use it under HP-UX. +------------------------------------------------------------------------ +r3754 | zimmerma | 2005-08-31 20:25:36 +0000 (Wed, 31 Aug 2005) | 2 lines +Changed paths: + A /trunk/lngamma.c + M /trunk/mpfr.h + M /trunk/tests/Makefile.am + A /trunk/tests/tlngamma.c -2005-03-21 Vincent Lefevre <Vincent.Lefevre@loria.fr> +new function lngamma - * mpfr.h, mpfr.texi, version.c, VERSION: - Update for future version in 2.1 branch. +------------------------------------------------------------------------ +r3753 | zimmerma | 2005-08-31 20:24:16 +0000 (Wed, 31 Aug 2005) | 2 lines +Changed paths: + M /trunk/gamma.c -2005-03-21 Patrick Pelissier <Patrick.Pelissier@loria.fr> +now uses lngamma code for x > 1 - * mul.c, tests/tmul.c, tuneup.c: - Add case where bn == 1 and bn == 2 by using longlong.h. - Modify tuneup to start with prec=2*BITS_PER_MP_LIMB+1 - Fix bug in computing the estimated precision when you switch from N limbs to N+1 limbs. - Add regression tests. +------------------------------------------------------------------------ +r3752 | zimmerma | 2005-08-31 20:23:06 +0000 (Wed, 31 Aug 2005) | 2 lines +Changed paths: + M /trunk/Makefile.am -2005-03-19 Vincent Lefevre <Vincent.Lefevre@loria.fr> +added lngamma - * isqrt.c: Typo. +------------------------------------------------------------------------ +r3750 | lefevre | 2005-08-31 12:21:14 +0000 (Wed, 31 Aug 2005) | 2 lines +Changed paths: + M /trunk/VERSION + M /trunk/configure.in + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/version.c -2005-03-18 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Updated version to 2.3.0. - * TODO: added one efficiency item +------------------------------------------------------------------------ +r3749 | lefevre | 2005-08-31 12:18:31 +0000 (Wed, 31 Aug 2005) | 3 lines +Changed paths: + M /trunk/configure.in -2005-03-17 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Fix for the following problem: #error is not sufficient with cc +on IRIX64, and autoconf 2.59 doesn't cope with that. - * tests/tsqrt.c: added two property-tests +------------------------------------------------------------------------ +r3745 | lefevre | 2005-08-30 13:23:51 +0000 (Tue, 30 Aug 2005) | 2 lines +Changed paths: + M /trunk + A /trunk/.cvsignore + M /trunk/tests + A /trunk/tests/.cvsignore -2005-03-17 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Added .cvsignore files. - * atanh.c, tests/tatanh.c: - Fixed a bug for mpfr_atanh(x) with 1 < |x| < 2 (found by Matt Reddick). - [2.1 branch] +------------------------------------------------------------------------ +r3744 | lefevre | 2005-08-30 12:08:42 +0000 (Tue, 30 Aug 2005) | 2 lines +Changed paths: + M /trunk/mul.c - * atanh.c, tests/tatanh.c: - Fixed a bug for mpfr_atanh(x) with 1 < |x| < 2 (found by Matt Reddick). +Unobfuscated 2 assertions. -2005-03-14 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3743 | lefevre | 2005-08-30 11:59:12 +0000 (Tue, 30 Aug 2005) | 2 lines +Changed paths: + M /trunk/mul.c - * README.dev: Update +Fixed indentation and some comments. - * tests/tcan_round.c: - Improve test: compare between mpfr_round_p and mpfr_can_round. +------------------------------------------------------------------------ +r3742 | lefevre | 2005-08-30 11:49:24 +0000 (Tue, 30 Aug 2005) | 2 lines +Changed paths: + M /trunk/mul.c - * asin.c, asinh.c, atan.c, atanh.c, const_euler.c, const_pi.c, cos.c, cosh.c, erf.c, exp2.c, exp_2.c, expm1.c, gmp_op.c, hypot.c, log.c, log10.c, log1p.c, log2.c, mul.c, pow.c, pow_si.c, pow_ui.c, pow_z.c, sinh.c, tan.c, tanh.c, ui_pow_ui.c, zeta.c, acos.c, acosh.c, agm.c: - Replace mpfr_can_round (..., GMP_RNDN, GMP_RNDZ, ...) to fast replacement - mpfr_round_p. +Recommitted the patch (without discarding previous modifications). + +------------------------------------------------------------------------ +r3741 | lefevre | 2005-08-30 11:46:58 +0000 (Tue, 30 Aug 2005) | 3 lines +Changed paths: + M /trunk/mul.c + +Reverted to the previous version, as the patch discarded previous +modifications. + +------------------------------------------------------------------------ +r3740 | zimmerma | 2005-08-30 10:27:11 +0000 (Tue, 30 Aug 2005) | 2 lines +Changed paths: + M /trunk/tests/tgamma.c + +added two new tests + +------------------------------------------------------------------------ +r3739 | zimmerma | 2005-08-30 10:09:59 +0000 (Tue, 30 Aug 2005) | 3 lines +Changed paths: + M /trunk/mul.c + +patch from Patrick to solve efficiency problem when one operand is sparse +(e.g. from ui_pow_ui) + +------------------------------------------------------------------------ +r3738 | zimmerma | 2005-08-29 14:07:51 +0000 (Mon, 29 Aug 2005) | 2 lines +Changed paths: + M /trunk/algorithms.tex + M /trunk/gamma.c + M /trunk/mpfr-impl.h + M /trunk/pow.c + M /trunk/tests/tgamma.c + +check for overflow/underflow in pow and gamma + +------------------------------------------------------------------------ +r3737 | lefevre | 2005-08-24 15:37:36 +0000 (Wed, 24 Aug 2005) | 3 lines +Changed paths: + M /trunk/add1sp.c + M /trunk/mpfr-impl.h + M /trunk/mul.c + M /trunk/print_raw.c + M /trunk/sub1sp.c + +When WANT_ASSERT >= 2: the corresponding messages are now output +to stderr instead of stdout. + +------------------------------------------------------------------------ +r3736 | lefevre | 2005-08-24 14:23:41 +0000 (Wed, 24 Aug 2005) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update. + +------------------------------------------------------------------------ +r3735 | lefevre | 2005-08-24 14:16:04 +0000 (Wed, 24 Aug 2005) | 3 lines +Changed paths: + M /trunk/set_uj.c + +Improved C compliance when mp_limb_t and uintmax_t have the same size +(concerning >> BITS_PER_MP_LIMB); some other small improvements. + +------------------------------------------------------------------------ +r3734 | lefevre | 2005-08-24 13:27:12 +0000 (Wed, 24 Aug 2005) | 5 lines +Changed paths: + M /trunk/round_p.c + M /trunk/tests/tcan_round.c + +No longer assume that a mp_limb_t fits in an unsigned long (this +is not true under IRIX, where a mp_limb_t has 64 bits and a long +has 32 bits by default). In round_p.c, error messages are output +to stderr instead of stdout. + +------------------------------------------------------------------------ +r3733 | lefevre | 2005-08-23 17:21:45 +0000 (Tue, 23 Aug 2005) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update. + +------------------------------------------------------------------------ +r3732 | lefevre | 2005-08-23 15:57:21 +0000 (Tue, 23 Aug 2005) | 2 lines +Changed paths: + M /trunk/set_ld.c + +This was wrong. Let's do it even more like the 2.1 branch. + +------------------------------------------------------------------------ +r3731 | lefevre | 2005-08-23 15:41:39 +0000 (Tue, 23 Aug 2005) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update. + +------------------------------------------------------------------------ +r3730 | lefevre | 2005-08-23 15:37:53 +0000 (Tue, 23 Aug 2005) | 3 lines +Changed paths: + M /trunk/set_ld.c + +Patch 1.25 didn't work under OSF1 with cc. Let's do it like +the 2.1 branch (it now does work under OSF1 with cc). + +------------------------------------------------------------------------ +r3729 | lefevre | 2005-08-21 22:57:15 +0000 (Sun, 21 Aug 2005) | 3 lines +Changed paths: + M /trunk/NEWS + M /trunk/mpfr-impl.h + M /trunk/mpfr.texi + M /trunk/out_str.c + M /trunk/strtofr.c + +Better locale support (for the decimal point in string conversions +and input/output). + +------------------------------------------------------------------------ +r3728 | lefevre | 2005-08-18 17:17:02 +0000 (Thu, 18 Aug 2005) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update. + +------------------------------------------------------------------------ +r3727 | lefevre | 2005-08-18 17:08:30 +0000 (Thu, 18 Aug 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Misc changes (spelling, typography...). + +------------------------------------------------------------------------ +r3726 | lefevre | 2005-08-18 17:03:17 +0000 (Thu, 18 Aug 2005) | 3 lines +Changed paths: + M /trunk/acos.c + M /trunk/acosh.c + M /trunk/add.c + M /trunk/add1sp.c + M /trunk/agm.c + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atan2.c + M /trunk/atanh.c + M /trunk/cbrt.c + M /trunk/check.c + M /trunk/cmp2.c + M /trunk/cmp_d.c + M /trunk/cmp_si.c + M /trunk/cmp_ui.c + M /trunk/const_euler.c + M /trunk/const_log2.c + M /trunk/const_pi.c + M /trunk/copysign.c + M /trunk/cos.c + M /trunk/coth.c + M /trunk/div-short.c + M /trunk/div.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/exp2.c + M /trunk/expm1.c + M /trunk/factorial.c + M /trunk/fits_intmax.c + M /trunk/fits_u.h + M /trunk/fits_uintmax.c + M /trunk/fma.c + M /trunk/frac.c + M /trunk/gamma.c + M /trunk/generic.c + M /trunk/get_d.c + M /trunk/get_str.c + M /trunk/get_uj.c + M /trunk/get_z.c + M /trunk/gmp_op.c + M /trunk/inp_str.c + M /trunk/isinteger.c + M /trunk/log.c + M /trunk/log10.c + M /trunk/log1p.c + M /trunk/log2.c + M /trunk/log_b2.h + M /trunk/minmax.c + M /trunk/mp_clz_tab.c + M /trunk/mpfr-gmp.c + M /trunk/mpfr-gmp.h + M /trunk/mpfr-impl.h + M /trunk/mpfr-test.h + M /trunk/mpn_exp.c + M /trunk/mul.c + M /trunk/mul_ui.c + M /trunk/mulders.c + M /trunk/out_str.c + M /trunk/pow_si.c + M /trunk/pow_ui.c + M /trunk/print_raw.c + M /trunk/random2.c + M /trunk/reldiff.c + M /trunk/root.c + M /trunk/round_p.c + M /trunk/round_prec.c + M /trunk/round_raw_generic.c + M /trunk/set.c + M /trunk/set_d.c + M /trunk/set_q.c + M /trunk/set_si.c + M /trunk/set_ui_2exp.c + M /trunk/set_z.c + M /trunk/sin.c + M /trunk/sin_cos.c + M /trunk/sqrt.c + M /trunk/sub_one_ulp.c + M /trunk/swap.c + M /trunk/tanh.c + M /trunk/tests/memory.c + M /trunk/tests/reuse.c + M /trunk/tests/tabs.c + M /trunk/tests/tacos.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tasin.c + M /trunk/tests/tatan.c + M /trunk/tests/tcan_round.c + M /trunk/tests/tcheck.c + M /trunk/tests/tcmp.c + M /trunk/tests/tcmp_ld.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tcmpabs.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tcos.c + M /trunk/tests/tcosh.c + M /trunk/tests/tdiv.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/tfits.c + M /trunk/tests/tfma.c + M /trunk/tests/tgamma.c + M /trunk/tests/tgeneric.c + M /trunk/tests/tgeneric_ui.c + M /trunk/tests/tget_sj.c + M /trunk/tests/tget_str.c + M /trunk/tests/tget_z.c + M /trunk/tests/tgmpop.c + M /trunk/tests/tinp_str.c + M /trunk/tests/tlog.c + M /trunk/tests/tlog10.c + M /trunk/tests/tlog1p.c + M /trunk/tests/tlog2.c + M /trunk/tests/tminmax.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tout_str.c + M /trunk/tests/toutimpl.c + M /trunk/tests/tpow_z.c + M /trunk/tests/trandom.c + M /trunk/tests/trint.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_sj.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsi_op.c + M /trunk/tests/tsin.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsqr.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tstrtofr.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/ttan.c + M /trunk/tests/ttanh.c + M /trunk/tests/ttrunc.c + M /trunk/tests/tzeta.c + M /trunk/tuneup.c + M /trunk/uceil_log2.c + M /trunk/ufloor_log2.c + M /trunk/ui_pow_ui.c + M /trunk/urandomb.c + +Removed trailing spaces (better for future patches, as such spaces +are sometimes stripped). + +------------------------------------------------------------------------ +r3725 | lefevre | 2005-08-18 16:35:19 +0000 (Thu, 18 Aug 2005) | 2 lines +Changed paths: + M /trunk/acos.c + M /trunk/acosh.c + M /trunk/add.c + M /trunk/add1sp.c + M /trunk/add_one_ulp.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/cmp2.c + M /trunk/cmp_abs.c + M /trunk/cmp_si.c + M /trunk/cmp_ui.c + M /trunk/const_catalan.c + M /trunk/const_euler.c + M /trunk/const_log2.c + M /trunk/const_pi.c + M /trunk/cos.c + M /trunk/cosh.c + M /trunk/dim.c + M /trunk/div-short.c + M /trunk/div.c + M /trunk/div_2si.c + M /trunk/div_2ui.c + M /trunk/eint.c + M /trunk/eq.c + M /trunk/erf.c + M /trunk/erfc.c + M /trunk/exp.c + M /trunk/exp2.c + M /trunk/exp3.c + M /trunk/exp_2.c + M /trunk/expm1.c + M /trunk/factorial.c + M /trunk/fits_intmax.c + M /trunk/fma.c + M /trunk/gamma.c + M /trunk/generic.c + M /trunk/get_d.c + M /trunk/get_ld.c + M /trunk/get_str.c + M /trunk/get_z_exp.c + M /trunk/gmp_op.c + M /trunk/init2.c + M /trunk/inp_str.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/mpfr-gmp.c + M /trunk/mpfr-gmp.h + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/mpn_exp.c + M /trunk/mul.c + M /trunk/mul_2si.c + M /trunk/mul_2ui.c + M /trunk/mul_ui.c + M /trunk/next.c + M /trunk/out_str.c + M /trunk/pow.c + M /trunk/pow_si.c + M /trunk/print_raw.c + M /trunk/reldiff.c + M /trunk/rint.c + M /trunk/root.c + M /trunk/round_near_x.c + M /trunk/round_p.c + M /trunk/round_prec.c + M /trunk/round_raw_generic.c + M /trunk/set.c + M /trunk/set_d.c + M /trunk/set_f.c + M /trunk/set_q.c + M /trunk/set_str_raw.c + M /trunk/set_uj.c + M /trunk/set_z.c + M /trunk/sin.c + M /trunk/sin_cos.c + M /trunk/sinh.c + M /trunk/sqr.c + M /trunk/sqrt.c + M /trunk/sub.c + M /trunk/sub1.c + M /trunk/sub_one_ulp.c + M /trunk/subnormal.c + M /trunk/sum.c + M /trunk/tan.c + M /trunk/tanh.c + M /trunk/tests/RRTest.c + M /trunk/tests/reuse.c + M /trunk/tests/tabs.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tasin.c + M /trunk/tests/tatan.c + M /trunk/tests/tcan_round.c + M /trunk/tests/tcheck.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tcmpabs.c + M /trunk/tests/tconst_euler.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tcos.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/texceptions.c + M /trunk/tests/texp.c + M /trunk/tests/texp2.c + M /trunk/tests/tfactorial.c + M /trunk/tests/tgeneric.c + M /trunk/tests/tgeneric_ui.c + M /trunk/tests/tget_d.c + M /trunk/tests/tget_z.c + M /trunk/tests/tgmpop.c + M /trunk/tests/tlog.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tout_str.c + M /trunk/tests/toutimpl.c + M /trunk/tests/tpow_z.c + M /trunk/tests/trandom.c + M /trunk/tests/trint.c + M /trunk/tests/tset.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_sj.c + M /trunk/tests/tset_str.c + M /trunk/tests/tsgn.c + M /trunk/tests/tsi_op.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsqr.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tstrtofr.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tsum.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_pow.c + M /trunk/tests/tui_sub.c + M /trunk/tests/tzeta.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_ui.c + M /trunk/zeta.c + +Converted tabs to spaces with expand. + +------------------------------------------------------------------------ +r3724 | lefevre | 2005-08-18 15:27:33 +0000 (Thu, 18 Aug 2005) | 2 lines +Changed paths: + M /trunk/agm.c + M /trunk/extract.c + M /trunk/fits_u.h + M /trunk/free_cache.c + M /trunk/generic.c + M /trunk/get_si.c + M /trunk/init2.c + M /trunk/mpfr-test.h + M /trunk/next.c + M /trunk/print_raw.c + M /trunk/set_f.c + M /trunk/tests/cmp_str.c + M /trunk/tests/tagm.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tcosh.c + M /trunk/tests/tdim.c + M /trunk/tests/terf.c + M /trunk/tests/tfits.c + M /trunk/tests/tgamma.c + M /trunk/tests/tget_d.c + M /trunk/tests/tnext.c + M /trunk/tests/tstrtofr.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/ttanh.c + M /trunk/tests/tversion.c + +Updated copyright line. + +------------------------------------------------------------------------ +r3723 | lefevre | 2005-08-18 14:51:33 +0000 (Thu, 18 Aug 2005) | 4 lines +Changed paths: + M /trunk/set_ld.c + M /trunk/tests/tset_ld.c + +Support C implementations giving an incorrect value for the precision +of long double or where long doubles are implemented with FP expansions +(like under Mac OS X), as in the 2.1 branch. + +------------------------------------------------------------------------ +r3722 | lefevre | 2005-08-18 13:46:30 +0000 (Thu, 18 Aug 2005) | 5 lines +Changed paths: + M /trunk/get_ld.c + M /trunk/mpfr-impl.h + +Updated mpfr_get_ld: removed useless and non-portable hacks, fixed +bugs, and slightly changed the behavior for the x87 extended format +(we shouldn't return long double's with more precision than really +supported, e.g. on FreeBSD and NetBSD). + +------------------------------------------------------------------------ +r3721 | lefevre | 2005-08-18 13:08:07 +0000 (Thu, 18 Aug 2005) | 2 lines +Changed paths: + M /trunk/get_ld.c + +Added an assertion. + +------------------------------------------------------------------------ +r3720 | lefevre | 2005-08-17 16:45:18 +0000 (Wed, 17 Aug 2005) | 2 lines +Changed paths: + M /trunk/set_ld.c + +Reformatted (GNU style). + +------------------------------------------------------------------------ +r3719 | pelissip | 2005-08-17 16:26:10 +0000 (Wed, 17 Aug 2005) | 4 lines +Changed paths: + M /trunk/configure.in + +Improve the warning message by adding the lines: +"we cannot run a program linked with GMP (if you cannot +see the version numbers above)." + +------------------------------------------------------------------------ +r3718 | zimmerma | 2005-08-16 14:26:05 +0000 (Tue, 16 Aug 2005) | 2 lines +Changed paths: + M /trunk/algorithms.tex + +added pointer for gamma + +------------------------------------------------------------------------ +r3717 | zimmerma | 2005-08-16 14:24:15 +0000 (Tue, 16 Aug 2005) | 2 lines +Changed paths: + M /trunk/gamma.c + +fixed comments (code did not change) + +------------------------------------------------------------------------ +r3716 | zimmerma | 2005-08-16 14:01:22 +0000 (Tue, 16 Aug 2005) | 2 lines +Changed paths: + M /trunk/algorithms.bib + M /trunk/algorithms.tex + M /trunk/gamma.c + +added formula for gamma function + +------------------------------------------------------------------------ +r3715 | zimmerma | 2005-08-16 13:20:14 +0000 (Tue, 16 Aug 2005) | 2 lines +Changed paths: + M /trunk/tests/tgamma.c + +fixed last test (expected result was wrong) + +------------------------------------------------------------------------ +r3714 | zimmerma | 2005-08-16 13:19:09 +0000 (Tue, 16 Aug 2005) | 2 lines +Changed paths: + M /trunk/gamma.c + +fixed bug for tiny input + +------------------------------------------------------------------------ +r3713 | zimmerma | 2005-08-16 09:36:05 +0000 (Tue, 16 Aug 2005) | 2 lines +Changed paths: + M /trunk/tests/tgamma.c + +added test case + +------------------------------------------------------------------------ +r3712 | pelissip | 2005-08-12 15:11:37 +0000 (Fri, 12 Aug 2005) | 2 lines +Changed paths: + M /trunk/Makefile.am - * round_prec.c: Remove a FIXME. +Reintroduce the computing of the dependencies. - * Makefile.am, mpfr-impl.h, round_p.c: - Add new internal function mpfr_round_p which is a fast replacement - to mpfr_can_round (x, y, GMP_RNDN, GMP_RNDZ, ...) +------------------------------------------------------------------------ +r3711 | lefevre | 2005-08-11 14:56:47 +0000 (Thu, 11 Aug 2005) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/tests/tget_d.c + M /trunk/tests/tset_d.c - * tests/texp.c: Improve an error message. +Added MPFR_DOUBLE_SPEC (not used yet, except for warning messages). -2005-03-10 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3710 | lefevre | 2005-08-10 20:41:16 +0000 (Wed, 10 Aug 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * mul.c: Fix bug: tmp may have changed in mulhigh code. - Restore it before calling mpn_mul. +Completed the documentation of mpfr_strtofr (concerning the exponent). -2005-03-09 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3709 | lefevre | 2005-08-10 20:32:41 +0000 (Wed, 10 Aug 2005) | 3 lines +Changed paths: + M /trunk/mpfr.texi - * mparam_h.in: Better defaults threshold. +Removed double spaces in mpfr_strtofr description (this matters +for the info format). -2005-03-09 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r3708 | lefevre | 2005-08-10 01:02:57 +0000 (Wed, 10 Aug 2005) | 2 lines +Changed paths: + M /trunk/tests/tget_d.c - * add1sp.c, tests/tadd1sp.c: - Ported bug fix in case of reuse of variable (a,b,a) with - Exp(b) = Exp(a) + Prec(b) to the 2.1 branch. +Added a temporary test for non-IEEE-754 double's. -2005-03-09 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3707 | pelissip | 2005-08-09 08:17:14 +0000 (Tue, 09 Aug 2005) | 2 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/tests/tstckintc.c - * mul.c: Handle case where Prec(a) ~ estimated prec of mulhigh. - Add one extra limb, and still uses mulhigh. +Fix bug for pre-ansi compiler. - * tuneup.c: - Fix bug: compute Mulder Threshold from n/2+1 instead of (n+1)/2 +------------------------------------------------------------------------ +r3706 | pelissip | 2005-08-09 08:16:46 +0000 (Tue, 09 Aug 2005) | 2 lines +Changed paths: + M /trunk/NEWS - * configure.in: Forget ';;' in switch. +Remove redundant entries. - * Makefile.am: Add '-v' for tuneup. +------------------------------------------------------------------------ +r3705 | zimmerma | 2005-08-08 13:01:31 +0000 (Mon, 08 Aug 2005) | 3 lines +Changed paths: + M /trunk/NEWS + M /trunk/TODO + M /trunk/sin.c + M /trunk/tests/tsin.c - * mul.c, mulders.c: Add assertion. +fixed bug in mpfr_sin (possible wrong inexact flag for rounding to nearest) +added items in NEWS and TODO - * mul.c, tests/tmul.c: Improve checking - Add test. Short Mulder product failed for this. +------------------------------------------------------------------------ +r3704 | pelissip | 2005-08-05 23:09:58 +0000 (Fri, 05 Aug 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * configure.in, mul.c, sub1sp.c: - Improve full assertion mode (Check mpfr_mul). +Update information -2005-03-09 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r3703 | pelissip | 2005-08-05 23:08:29 +0000 (Fri, 05 Aug 2005) | 2 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/stack_interface.c + M /trunk/tests/tstckintc.c - * exp_2.c, tests/texp.c: - Bug due to wrong approximation to x / log(2). [2.1 branch] +Rename mpfr_stack to mpfr_custom_ -2005-03-08 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3695 | lefevre | 2005-08-03 10:35:59 +0000 (Wed, 03 Aug 2005) | 2 lines +Changed paths: + M /trunk/FAQ.html + M /trunk/README - * logging.c, mpfr-impl.h: - Move GLIBC detection from mpfr-impl to logging.c +Added/updated copyright information. - * mul.c: Add log info. +------------------------------------------------------------------------ +r3694 | lefevre | 2005-08-03 10:13:41 +0000 (Wed, 03 Aug 2005) | 2 lines +Changed paths: + M /branches/mpfr-2-1-branch/NEWS + M /trunk/ChangeLog - * mparam_h.in: Improve default threshold. +Update. - * algorithms.tex, mul.c, tuneup.c: - Add Mulder Short product for mpfr_mul. - Update algorithm.tex to describe the estimated error. +------------------------------------------------------------------------ +r3693 | pelissip | 2005-08-02 08:28:22 +0000 (Tue, 02 Aug 2005) | 2 lines +Changed paths: + M /trunk/TODO - * mulders.c: Add an assert. - Cosmetic change. +Remove "Stack Interface" from TODO. - * mparam_h.in: Update default values. +------------------------------------------------------------------------ +r3692 | pelissip | 2005-08-01 15:23:51 +0000 (Mon, 01 Aug 2005) | 2 lines +Changed paths: + M /trunk/subnormal.c + M /trunk/tests/Makefile.am + A /trunk/tests/tsubnormal.c - * mpfr-impl.h: Clean up macro namespace. +Add test file for mpfr_subnormalize - * tests/tgmpop.c, tests/tsqrt.c: Cosmetics change. +------------------------------------------------------------------------ +r3691 | pelissip | 2005-08-01 15:23:07 +0000 (Mon, 01 Aug 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Add documentation for MPFR stack interface -2005-03-08 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r3690 | pelissip | 2005-08-01 14:04:35 +0000 (Mon, 01 Aug 2005) | 2 lines +Changed paths: + M /trunk/tests/tstckintc.c + +Add a new test to avoid potential problems if mp_limb_t != long. - * Makefile.am, get_f.c, mpfr.h, tests/Makefile.am, tests/tget_f.c: - new function mpfr_get_f +------------------------------------------------------------------------ +r3689 | lefevre | 2005-08-01 10:04:33 +0000 (Mon, 01 Aug 2005) | 2 lines +Changed paths: + M /trunk/ChangeLog -2005-03-08 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Update. + +------------------------------------------------------------------------ +r3685 | pelissip | 2005-07-26 16:08:02 +0000 (Tue, 26 Jul 2005) | 3 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/mpfr.h + M /trunk/mpfr.texi + A /trunk/stack_interface.c + M /trunk/tests/Makefile.am + A /trunk/tests/tstckintc.c + +Add first version of MPFR stack interface. +Need to check if everything is ok, specially the test. + +------------------------------------------------------------------------ +r3684 | pelissip | 2005-07-26 14:07:18 +0000 (Tue, 26 Jul 2005) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +Fix and clean up logging for GCC 4.0.x + +------------------------------------------------------------------------ +r3683 | pelissip | 2005-07-26 13:02:30 +0000 (Tue, 26 Jul 2005) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +Clean up code. + +------------------------------------------------------------------------ +r3682 | pelissip | 2005-07-26 12:26:08 +0000 (Tue, 26 Jul 2005) | 4 lines +Changed paths: + M /trunk/README.dev + M /trunk/logging.c + M /trunk/mpfr-impl.h + +Improve logging: + + The file is not created if there is nothing to log. + + Add new ENVIRONMENT variables: MPFR_LOG_ALL and MPFR_LOG_STAT. + +------------------------------------------------------------------------ +r3681 | pelissip | 2005-07-26 12:06:11 +0000 (Tue, 26 Jul 2005) | 2 lines +Changed paths: + M /trunk/atan.c + +Add experimental code (Disabled). + +------------------------------------------------------------------------ +r3680 | pelissip | 2005-07-26 12:05:45 +0000 (Tue, 26 Jul 2005) | 2 lines +Changed paths: + M /trunk/strtofr.c + +Fix comment + +------------------------------------------------------------------------ +r3679 | pelissip | 2005-07-26 12:05:03 +0000 (Tue, 26 Jul 2005) | 2 lines +Changed paths: + M /trunk/tests/tsin.c + +Add a new regression test (to fix). + +------------------------------------------------------------------------ +r3678 | pelissip | 2005-07-22 14:01:30 +0000 (Fri, 22 Jul 2005) | 4 lines +Changed paths: + M /trunk/erfc.c + +Fix bug for high values of input (assertion failed) +because erf(x) ~ 1, so 1-erf(x) ~ 0, and we can't +get the EXP of tmp. + +------------------------------------------------------------------------ +r3677 | pelissip | 2005-07-18 12:55:30 +0000 (Mon, 18 Jul 2005) | 3 lines +Changed paths: + M /trunk/update-version + +Fix bug (AC_INIT version wasn't updated). +Display a note about libtool version before quitting. - * add1sp.c, tests/tadd1sp.c: - Fix bug in case of reuse of variable (a,b,a) with Exp(b)=Exp(a)+Prec(b). - Move copy of mantissa after test. +------------------------------------------------------------------------ +r3676 | pelissip | 2005-07-18 12:54:45 +0000 (Mon, 18 Jul 2005) | 4 lines +Changed paths: + M /trunk/acinclude.m4 + M /trunk/configure.in + +Clean up. +Add comment. +Add a new test: check if the charset has consecutive values. + +------------------------------------------------------------------------ +r3675 | lefevre | 2005-07-12 21:27:55 +0000 (Tue, 12 Jul 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Updated documentation of mpfr_strtofr. + +------------------------------------------------------------------------ +r3674 | pelissip | 2005-07-12 09:48:36 +0000 (Tue, 12 Jul 2005) | 3 lines +Changed paths: + M /trunk/exp3.c + +Fix an overflow bug (use of int instead of unsigned long). +Optimize code (5% faster). + +------------------------------------------------------------------------ +r3671 | lefevre | 2005-07-11 16:13:27 +0000 (Mon, 11 Jul 2005) | 2 lines +Changed paths: + M /trunk/BUGS + M /trunk/acinclude.m4 + M /trunk/mpfr-impl.h + D /trunk/strcasecmp.c + D /trunk/strncasecmp.c + M /trunk/strtofr.c + +Fixed locale bug. Function strncasecmp is no longer used. + +------------------------------------------------------------------------ +r3670 | lefevre | 2005-07-09 17:52:53 +0000 (Sat, 09 Jul 2005) | 5 lines +Changed paths: + M /trunk/BUGS + M /trunk/acinclude.m4 + M /trunk/tests/tests.c + +In the tests, set the locale to the current one. This allows to test +MPFR under various locales, showing a bug in the parse_string function +due to the use of the strncasecmp function ('i' and 'I' don't match +with LC_ALL="tr_TR.ISO8859-9"). + +------------------------------------------------------------------------ +r3669 | pelissip | 2005-07-07 07:38:02 +0000 (Thu, 07 Jul 2005) | 2 lines +Changed paths: + M /trunk/configure.in + +Improve displayed warning if GMP versions differ. + +------------------------------------------------------------------------ +r3668 | pelissip | 2005-07-06 08:45:47 +0000 (Wed, 06 Jul 2005) | 2 lines +Changed paths: + M /trunk/INSTALL + +Add a solution for a problem. + +------------------------------------------------------------------------ +r3667 | lefevre | 2005-07-05 13:47:37 +0000 (Tue, 05 Jul 2005) | 2 lines +Changed paths: + M /trunk/tests/tatan.c + +Added in-place tests for atan(+/-0). + +------------------------------------------------------------------------ +r3665 | pelissip | 2005-07-05 08:04:21 +0000 (Tue, 05 Jul 2005) | 3 lines +Changed paths: + M /trunk/atan.c + +Fix bug of signed 0. +Optimize code. (20% for 53 bits). + +------------------------------------------------------------------------ +r3664 | pelissip | 2005-07-05 08:03:38 +0000 (Tue, 05 Jul 2005) | 2 lines +Changed paths: + M /trunk/tests/tatan.c + +Improve test for signed 0. + +------------------------------------------------------------------------ +r3663 | pelissip | 2005-06-28 16:46:42 +0000 (Tue, 28 Jun 2005) | 3 lines +Changed paths: + M /trunk/atan.c + +Simplify a condition which was always true. +(p is always negative). + +------------------------------------------------------------------------ +r3662 | pelissip | 2005-06-28 16:13:03 +0000 (Tue, 28 Jun 2005) | 2 lines +Changed paths: + M /trunk/atan.c + +Add assertion. + +------------------------------------------------------------------------ +r3661 | pelissip | 2005-06-28 16:09:00 +0000 (Tue, 28 Jun 2005) | 4 lines +Changed paths: + M /trunk/atan.c -2005-03-07 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Simplify code for final step (when i== n0): +since we do n0-i=0 steps, atan(Ak/2^k) ~= Ak/2^k. +So we could speed up the final computation (9% faster). + +------------------------------------------------------------------------ +r3660 | pelissip | 2005-06-28 15:52:32 +0000 (Tue, 28 Jun 2005) | 4 lines +Changed paths: + M /trunk/atan.c - * Makefile.am, configure.in, mpfr-gmp.h, mpfr-impl.h, mulders.c, tuneup.c: - Add tune for mpfr_mulhigh - Add --with-mulhigh-size option at configure time. +Optimize: when computing arctan(p/2^r) simplify +p/2^r if p is even. +Clean up and remove tabi table. It was useless. + +------------------------------------------------------------------------ +r3659 | pelissip | 2005-06-22 08:58:50 +0000 (Wed, 22 Jun 2005) | 6 lines +Changed paths: + M /trunk/acinclude.m4 + M /trunk/configure.in + +Clean up configure and acinclude: + + Remove useless test in MPFR_CONFIGS (Check for valid NAN). + Its result is not use by MPFR. + + Remove useless macros (AC_CHECK_OS, AC_CHECK_MACH and AC_MY_HEADERS). + + Move detection of math/rint,round,floor,ceil to MPFR_CONFIGS. -2005-03-04 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3658 | lefevre | 2005-06-20 09:30:34 +0000 (Mon, 20 Jun 2005) | 2 lines +Changed paths: + M /trunk/sum.c - * exp_2.c, tests/texp.c: - Fix bug due to wrong estimation of (get_d (x) / LOG2). - TODO: Rexamine the algorithm of mpfr_exp_2! +GNU coding style. - * exp_2.c: Transform DEBUG message to LOG message. +------------------------------------------------------------------------ +r3657 | zimmerma | 2005-06-16 13:48:23 +0000 (Thu, 16 Jun 2005) | 2 lines +Changed paths: + M /trunk/get_str.c - * mulders.c: Improve it. +improved m=0 case when b is a power of 2 - * exp_2.c, mparam_h.in, tuneup.c: Tune mpfr_exp_2 now! +------------------------------------------------------------------------ +r3656 | pelissip | 2005-06-15 16:12:27 +0000 (Wed, 15 Jun 2005) | 3 lines +Changed paths: + M /trunk/cos.c -2005-03-03 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Replace mpfr_div_2ui call by SET_EXP/GET_EXP +since it can't overflow. - * mulders.c: Fix bugs. +------------------------------------------------------------------------ +r3655 | pelissip | 2005-06-15 15:47:16 +0000 (Wed, 15 Jun 2005) | 2 lines +Changed paths: + M /trunk/cos.c - * mulders.c: Update it. - New code for mpfr_mul. +Speed up a few (from 10822 to 10600). -2005-03-02 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3654 | pelissip | 2005-06-15 13:56:23 +0000 (Wed, 15 Jun 2005) | 2 lines +Changed paths: + M /trunk/BUGS + +Update - * mparam_h.in: Add new default threshold for different CPU. +------------------------------------------------------------------------ +r3653 | pelissip | 2005-06-14 11:42:25 +0000 (Tue, 14 Jun 2005) | 3 lines +Changed paths: + M /trunk/powerof2.c + +Replace check for a power of 2 for the high limb by a check +for "high bit limb" for the high limb. - * README.dev: Update for tune. +------------------------------------------------------------------------ +r3652 | pelissip | 2005-06-14 11:30:10 +0000 (Tue, 14 Jun 2005) | 2 lines +Changed paths: + M /trunk/mul_ui.c + +Fix bug in mul_ui (always alloc buffer instead of trying to reuse it). + +------------------------------------------------------------------------ +r3651 | pelissip | 2005-06-14 11:27:56 +0000 (Tue, 14 Jun 2005) | 2 lines +Changed paths: + M /trunk/tests/tmul_ui.c + +Add new test (failed). + +------------------------------------------------------------------------ +r3650 | pelissip | 2005-06-14 11:17:55 +0000 (Tue, 14 Jun 2005) | 3 lines +Changed paths: + M /trunk/div_ui.c + M /trunk/mul_ui.c + +Add Fast case for u==1 +Add Fast case for u a power of 2 (Call mul/div_2si). + +------------------------------------------------------------------------ +r3649 | pelissip | 2005-06-14 09:04:44 +0000 (Tue, 14 Jun 2005) | 2 lines +Changed paths: + M /trunk/cos.c + +Fix bug (use of GCC specific attribute). + +------------------------------------------------------------------------ +r3648 | pelissip | 2005-06-13 12:19:30 +0000 (Mon, 13 Jun 2005) | 2 lines +Changed paths: + M /trunk/root.c + M /trunk/tests/troot.c + +Rechnage the meaning of root for k=0. + +------------------------------------------------------------------------ +r3647 | pelissip | 2005-06-13 12:03:30 +0000 (Mon, 13 Jun 2005) | 2 lines +Changed paths: + M /trunk/root.c + M /trunk/tests/troot.c + +Fix bug with x<0 and k even + +------------------------------------------------------------------------ +r3646 | pelissip | 2005-06-13 11:45:50 +0000 (Mon, 13 Jun 2005) | 3 lines +Changed paths: + M /trunk/root.c + M /trunk/tests/troot.c + +Add special case for k==0 +Add test for special case k==0 - * atan.c, tests/tatan.c: - Fix bug in estimated error (See previous ChangeLog). +------------------------------------------------------------------------ +r3645 | zimmerma | 2005-06-13 11:33:57 +0000 (Mon, 13 Jun 2005) | 2 lines +Changed paths: + M /trunk/const_pi.c -2005-02-24 Patrick Pelissier <Patrick.Pelissier@loria.fr> +added assertion - * Makefile.am, configure.in, mparam_h.in, mpfr-impl.h, tests/Makefile.am, tuneup.c: - Add tune program for MPFR. - Do make tune instead of make. - BUT you need to have configure MPFR with --with-gmp-build=... - (It uses internal libspeed.la of GMP). - Tuning is slow... +------------------------------------------------------------------------ +r3644 | pelissip | 2005-06-13 11:23:37 +0000 (Mon, 13 Jun 2005) | 2 lines +Changed paths: + M /trunk/cache.c - * mulders.c: Add note. +Improve efficiency of initial call to mpfr_cache. + +------------------------------------------------------------------------ +r3643 | pelissip | 2005-06-13 08:51:44 +0000 (Mon, 13 Jun 2005) | 2 lines +Changed paths: + M /trunk/tests/tsum.c + +Add new check (+INF -INF --> NAN). + +------------------------------------------------------------------------ +r3642 | pelissip | 2005-06-10 15:11:02 +0000 (Fri, 10 Jun 2005) | 6 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/sum.c + M /trunk/tests/tsum.c + +Fix bug of NAN and INF. +Fix bug in documentation (mpfr_sum wasn't exactly what is decribed). +Improve test. +Change internal names. +Clean up. + +------------------------------------------------------------------------ +r3641 | pelissip | 2005-06-10 15:05:54 +0000 (Fri, 10 Jun 2005) | 2 lines +Changed paths: + M /trunk/eint.c + +Fix bug: check if mpfr_log returns 0. + +------------------------------------------------------------------------ +r3640 | pelissip | 2005-06-08 12:35:31 +0000 (Wed, 08 Jun 2005) | 5 lines +Changed paths: + M /trunk/eint.c + +Replace MPFR_EXP to MPFR_GET_EXP +Use GROUP function +Use MPFR_MPZ_SIZEINBASE2 +Factorize the mpfr_mul_2exp chain. + +------------------------------------------------------------------------ +r3639 | pelissip | 2005-06-08 12:34:47 +0000 (Wed, 08 Jun 2005) | 2 lines +Changed paths: + M /trunk/sin.c + +Replace int to mp_prec_t for precision... + +------------------------------------------------------------------------ +r3638 | pelissip | 2005-06-08 12:34:21 +0000 (Wed, 08 Jun 2005) | 2 lines +Changed paths: + M /trunk/acos.c + M /trunk/const_euler.c + M /trunk/mulders.c + M /trunk/zeta.c + +Fix warning due to comparison of unsigned and signed integers. + +------------------------------------------------------------------------ +r3637 | pelissip | 2005-06-08 11:45:06 +0000 (Wed, 08 Jun 2005) | 3 lines +Changed paths: + M /trunk/atan.c + M /trunk/extract.c + M /trunk/strtofr.c + +Fix warnings due to comparaison between signed and unsigned. +Reinclude string.h for strtofr. + +------------------------------------------------------------------------ +r3635 | lefevre | 2005-06-08 10:18:24 +0000 (Wed, 08 Jun 2005) | 2 lines +Changed paths: + M /trunk/add1.c + +Fixed bug introduced with the new internal format on 2003-10-27. + +------------------------------------------------------------------------ +r3634 | lefevre | 2005-06-08 10:02:28 +0000 (Wed, 08 Jun 2005) | 2 lines +Changed paths: + M /trunk/add1.c + +Updated comments. + +------------------------------------------------------------------------ +r3633 | pelissip | 2005-06-08 10:00:21 +0000 (Wed, 08 Jun 2005) | 2 lines +Changed paths: + M /trunk/atan.c + +Fix introduced bug due to missing NULL. + +------------------------------------------------------------------------ +r3632 | pelissip | 2005-06-08 09:58:57 +0000 (Wed, 08 Jun 2005) | 2 lines +Changed paths: + M /trunk/clear.c + +Fix introduced bug (NULL not defined). + +------------------------------------------------------------------------ +r3631 | pelissip | 2005-06-08 09:53:48 +0000 (Wed, 08 Jun 2005) | 4 lines +Changed paths: + M /trunk/add1sp.c + M /trunk/atan.c + M /trunk/clear.c + M /trunk/div.c + M /trunk/gamma.c + M /trunk/get_f.c + M /trunk/get_str.c + M /trunk/mpfr-impl.h + M /trunk/mul.c + M /trunk/round_p.c + M /trunk/set_z.c + M /trunk/sin.c + M /trunk/strtofr.c + M /trunk/sub1sp.c + M /trunk/subnormal.c + M /trunk/zeta.c + +Clean up use of stdio.h: + it is now included by mpfr-impl iff DEBUG is defined or WANT_ASSERT is +defined. + +------------------------------------------------------------------------ +r3630 | pelissip | 2005-06-08 09:53:05 +0000 (Wed, 08 Jun 2005) | 2 lines +Changed paths: + M /trunk/tests/tsum.c + +Fix warnings. + +------------------------------------------------------------------------ +r3629 | pelissip | 2005-06-08 09:13:41 +0000 (Wed, 08 Jun 2005) | 2 lines +Changed paths: + M /trunk/sub1sp.c + +Clean up code. + +------------------------------------------------------------------------ +r3628 | pelissip | 2005-06-08 09:08:27 +0000 (Wed, 08 Jun 2005) | 2 lines +Changed paths: + M /trunk/add1sp.c + +Improve checking if WANT_ASSERT >= 2 + +------------------------------------------------------------------------ +r3627 | pelissip | 2005-06-07 16:06:38 +0000 (Tue, 07 Jun 2005) | 2 lines +Changed paths: + M /trunk/sin.c + +Fix wrong assertion. + +------------------------------------------------------------------------ +r3626 | pelissip | 2005-06-07 16:03:24 +0000 (Tue, 07 Jun 2005) | 2 lines +Changed paths: + M /trunk/tests/tsum.c + +Improve test by adding special cases. + +------------------------------------------------------------------------ +r3625 | pelissip | 2005-06-07 16:02:48 +0000 (Tue, 07 Jun 2005) | 5 lines +Changed paths: + M /trunk/mpfr-impl.h + +MPFR_GET_EXP was wrongly defined and does nothing due to recursive +macro (mpfr_get_exp is also defined to be a fast macro). Fix this +by removing the macro call in MPFR_GET_EXP in case of ASSERT >= 1. +2 tests failed now! + +------------------------------------------------------------------------ +r3624 | pelissip | 2005-06-07 15:42:17 +0000 (Tue, 07 Jun 2005) | 2 lines +Changed paths: + M /trunk/tests/tsum.c + +Clean up and improve check. + +------------------------------------------------------------------------ +r3623 | pelissip | 2005-06-07 15:41:57 +0000 (Tue, 07 Jun 2005) | 2 lines +Changed paths: + M /trunk/sum.c + +Handle case n==0 and n==1 as special cases. + +------------------------------------------------------------------------ +r3622 | pelissip | 2005-06-07 14:27:34 +0000 (Tue, 07 Jun 2005) | 3 lines +Changed paths: + M /trunk/const_catalan.c + M /trunk/tests/tconst_catalan.c + +Simplify test to use tgeneric. +Add note about Worst Case of const_catalan up to 100,000,000 + +------------------------------------------------------------------------ +r3621 | pelissip | 2005-06-07 14:26:45 +0000 (Tue, 07 Jun 2005) | 2 lines +Changed paths: + M /trunk/atan.c + +Use GROUP functions. + +------------------------------------------------------------------------ +r3620 | pelissip | 2005-06-07 09:52:04 +0000 (Tue, 07 Jun 2005) | 2 lines +Changed paths: + M /trunk/tests/tconst_pi.c + +Improve coverage. + +------------------------------------------------------------------------ +r3619 | pelissip | 2005-06-07 09:51:49 +0000 (Tue, 07 Jun 2005) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +Fix bug in MPFR_GROUP_REPREC_3. + +------------------------------------------------------------------------ +r3618 | pelissip | 2005-06-06 14:49:55 +0000 (Mon, 06 Jun 2005) | 2 lines +Changed paths: + M /trunk/tests/tset_si.c + M /trunk/tests/tui_pow.c + M /trunk/ui_pow_ui.c -2005-02-23 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Improve coverage + +------------------------------------------------------------------------ +r3617 | pelissip | 2005-06-06 14:13:47 +0000 (Mon, 06 Jun 2005) | 2 lines +Changed paths: + M /trunk/tests/tcmp_ui.c + +Improve coverage test + +------------------------------------------------------------------------ +r3616 | pelissip | 2005-06-06 13:52:29 +0000 (Mon, 06 Jun 2005) | 3 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/mpfr.h + M /trunk/tests/tdiv.c + M /trunk/tests/tget_str.c + M /trunk/tests/tzeta.c + +Remove mpfr_sub_one_ulp from MPFR library. +Keep the C file until we are sure it not needed anymore. + +------------------------------------------------------------------------ +r3615 | pelissip | 2005-06-06 13:42:40 +0000 (Mon, 06 Jun 2005) | 2 lines +Changed paths: + M /trunk/tests/tnext.c + +Improve coverage. + +------------------------------------------------------------------------ +r3614 | pelissip | 2005-06-06 13:39:40 +0000 (Mon, 06 Jun 2005) | 3 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/div_ui.c + M /trunk/hypot.c + M /trunk/tests/tdiv.c + M /trunk/tests/texp.c + M /trunk/tests/tget_str.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tzeta.c + +Remove mpfr_add_one_ulp from MPFR library. +The function is still in the CVS. + +------------------------------------------------------------------------ +r3613 | pelissip | 2005-06-06 12:06:15 +0000 (Mon, 06 Jun 2005) | 4 lines +Changed paths: + M /trunk/gamma.c + +Add experimental code (disabled). +For 5000 bits, gamma(12.5) takes 4s instead of 18s. +But it changes the error analysis... + +------------------------------------------------------------------------ +r3612 | pelissip | 2005-06-06 11:27:08 +0000 (Mon, 06 Jun 2005) | 2 lines +Changed paths: + M /trunk/gamma.c + +Reduce use of intermediary variables. + +------------------------------------------------------------------------ +r3611 | pelissip | 2005-06-06 09:42:16 +0000 (Mon, 06 Jun 2005) | 2 lines +Changed paths: + M /trunk/zeta.c + +Improve comment of previous change. + +------------------------------------------------------------------------ +r3610 | pelissip | 2005-06-06 09:30:13 +0000 (Mon, 06 Jun 2005) | 3 lines +Changed paths: + M /trunk/zeta.c + +Use FastCompute if x is positive and big, ie it uses +Zeta(x)=1+1/2^X+O(1/3^x) + +------------------------------------------------------------------------ +r3609 | pelissip | 2005-06-03 11:15:05 +0000 (Fri, 03 Jun 2005) | 2 lines +Changed paths: + M /trunk/ui_pow_ui.c + +Add new and faster trivial case for y <= 1 and n <= 1 + +------------------------------------------------------------------------ +r3608 | pelissip | 2005-06-02 16:20:05 +0000 (Thu, 02 Jun 2005) | 2 lines +Changed paths: + M /trunk/COPYING + M /trunk/COPYING.LIB + +Forget thoses two. Update from FSF site. + +------------------------------------------------------------------------ +r3607 | pelissip | 2005-06-02 16:16:17 +0000 (Thu, 02 Jun 2005) | 2 lines +Changed paths: + M /trunk/BUGS + M /trunk/NEWS + M /trunk/README + M /trunk/TODO + +Finish updating files. + +------------------------------------------------------------------------ +r3606 | pelissip | 2005-06-02 16:12:06 +0000 (Thu, 02 Jun 2005) | 2 lines +Changed paths: + M /trunk/abort_prec_max.c + M /trunk/acos.c + M /trunk/acosh.c + M /trunk/add.c + M /trunk/add1.c + M /trunk/add1sp.c + M /trunk/add_one_ulp.c + M /trunk/add_ui.c + M /trunk/agm.c + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atan.c + M /trunk/atan2.c + M /trunk/atanh.c + M /trunk/cache.c + M /trunk/cbrt.c + M /trunk/check.c + M /trunk/clear.c + M /trunk/clears.c + M /trunk/cmp.c + M /trunk/cmp2.c + M /trunk/cmp_abs.c + M /trunk/cmp_d.c + M /trunk/cmp_ld.c + M /trunk/cmp_si.c + M /trunk/cmp_ui.c + M /trunk/comparisons.c + M /trunk/const_catalan.c + M /trunk/const_euler.c + M /trunk/const_log2.c + M /trunk/const_pi.c + M /trunk/constant.c + M /trunk/copysign.c + M /trunk/cos.c + M /trunk/cosh.c + M /trunk/cot.c + M /trunk/coth.c + M /trunk/csc.c + M /trunk/csch.c + M /trunk/dim.c + M /trunk/div.c + M /trunk/div_2exp.c + M /trunk/div_2si.c + M /trunk/div_2ui.c + M /trunk/div_ui.c + M /trunk/dump.c + M /trunk/eint.c + M /trunk/eq.c + M /trunk/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/fits_intmax.c + M /trunk/fits_s.h + M /trunk/fits_sint.c + M /trunk/fits_slong.c + M /trunk/fits_sshort.c + M /trunk/fits_u.h + M /trunk/fits_uint.c + M /trunk/fits_uintmax.c + M /trunk/fits_ulong.c + M /trunk/fits_ushort.c + M /trunk/fma.c + M /trunk/frac.c + M /trunk/free_cache.c + M /trunk/gamma.c + M /trunk/gen_inverse.h + M /trunk/generic.c + M /trunk/get_d.c + M /trunk/get_exp.c + M /trunk/get_f.c + M /trunk/get_ld.c + M /trunk/get_si.c + M /trunk/get_sj.c + M /trunk/get_str.c + M /trunk/get_ui.c + M /trunk/get_uj.c + M /trunk/get_z.c + M /trunk/get_z_exp.c + M /trunk/gmp_op.c + M /trunk/hypot.c + M /trunk/init.c + M /trunk/init2.c + M /trunk/inits.c + M /trunk/inits2.c + M /trunk/inp_str.c + M /trunk/int_ceil_log2.c + M /trunk/isinf.c + M /trunk/isinteger.c + M /trunk/isnan.c + M /trunk/isnum.c + M /trunk/isqrt.c + M /trunk/iszero.c + M /trunk/log.c + M /trunk/log10.c + M /trunk/log1p.c + M /trunk/log2.c + M /trunk/logging.c + M /trunk/minmax.c + M /trunk/mp_clz_tab.c + M /trunk/mpf2mpfr.h + M /trunk/mpfr-gmp.c + M /trunk/mpfr-gmp.h + M /trunk/mpfr-impl.h + M /trunk/mpfr-longlong.h + M /trunk/mpfr-test.h + M /trunk/mpfr.h + M /trunk/mpn_exp.c + M /trunk/mul.c + M /trunk/mul_2exp.c + M /trunk/mul_2si.c + M /trunk/mul_2ui.c + M /trunk/mul_ui.c + M /trunk/mulders.c + M /trunk/neg.c + M /trunk/next.c + M /trunk/out_str.c + M /trunk/pow.c + M /trunk/pow_si.c + M /trunk/pow_ui.c + M /trunk/pow_z.c + M /trunk/powerof2.c + M /trunk/print_raw.c + M /trunk/print_rnd_mode.c + M /trunk/random.c + M /trunk/random2.c + M /trunk/reldiff.c + M /trunk/rint.c + M /trunk/root.c + M /trunk/round_near_x.c + M /trunk/round_p.c + M /trunk/round_prec.c + M /trunk/round_raw_generic.c + M /trunk/sec.c + M /trunk/sech.c + M /trunk/set.c + M /trunk/set_d.c + M /trunk/set_dfl_prec.c + M /trunk/set_exp.c + M /trunk/set_f.c + M /trunk/set_inf.c + M /trunk/set_ld.c + M /trunk/set_nan.c + M /trunk/set_prc_raw.c + M /trunk/set_prec.c + M /trunk/set_q.c + M /trunk/set_rnd.c + M /trunk/set_si.c + M /trunk/set_si_2exp.c + M /trunk/set_sj.c + M /trunk/set_str.c + M /trunk/set_str_raw.c + M /trunk/set_ui.c + M /trunk/set_ui_2exp.c + M /trunk/set_uj.c + M /trunk/set_z.c + M /trunk/setmax.c + M /trunk/setmin.c + M /trunk/sgn.c + M /trunk/si_op.c + M /trunk/sin.c + M /trunk/sin_cos.c + M /trunk/sinh.c + M /trunk/sqr.c + M /trunk/sqrt.c + M /trunk/sqrt_ui.c + M /trunk/strcasecmp.c + M /trunk/strncasecmp.c + M /trunk/strtofr.c + M /trunk/sub.c + M /trunk/sub1.c + M /trunk/sub1sp.c + M /trunk/sub_one_ulp.c + M /trunk/sub_ui.c + M /trunk/subnormal.c + M /trunk/sum.c + M /trunk/swap.c + M /trunk/tan.c + M /trunk/tanh.c + M /trunk/tests/cmp_str.c + M /trunk/tests/memory.c + M /trunk/tests/mpf_compat.c + M /trunk/tests/mpfr_compat.c + M /trunk/tests/reuse.c + M /trunk/tests/rnd_mode.c + M /trunk/tests/tabs.c + M /trunk/tests/tacos.c + M /trunk/tests/tacosh.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd1sp.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tasin.c + M /trunk/tests/tasinh.c + M /trunk/tests/tatan.c + M /trunk/tests/tatanh.c + M /trunk/tests/tcan_round.c + M /trunk/tests/tcbrt.c + M /trunk/tests/tcheck.c + M /trunk/tests/tcmp.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tcmp_d.c + M /trunk/tests/tcmp_ld.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tcmpabs.c + M /trunk/tests/tcomparisons.c + M /trunk/tests/tconst_catalan.c + M /trunk/tests/tconst_euler.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tconst_pi.c + M /trunk/tests/tcopysign.c + M /trunk/tests/tcos.c + M /trunk/tests/tcosh.c + M /trunk/tests/tcot.c + M /trunk/tests/tcoth.c + M /trunk/tests/tcsc.c + M /trunk/tests/tcsch.c + M /trunk/tests/tdim.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/teint.c + M /trunk/tests/teq.c + M /trunk/tests/terf.c + M /trunk/tests/tests.c + M /trunk/tests/texceptions.c + M /trunk/tests/texp.c + M /trunk/tests/texp2.c + M /trunk/tests/texpm1.c + M /trunk/tests/tfactorial.c + M /trunk/tests/tfits.c + M /trunk/tests/tfma.c + M /trunk/tests/tfrac.c + M /trunk/tests/tgamma.c + M /trunk/tests/tgeneric.c + M /trunk/tests/tgeneric_ui.c + M /trunk/tests/tget_d.c + M /trunk/tests/tget_d_2exp.c + M /trunk/tests/tget_f.c + M /trunk/tests/tget_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/tisnan.c + M /trunk/tests/tlog.c + M /trunk/tests/tlog10.c + M /trunk/tests/tlog1p.c + M /trunk/tests/tlog2.c + M /trunk/tests/tminmax.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tnext.c + M /trunk/tests/tout_str.c + M /trunk/tests/toutimpl.c + M /trunk/tests/tpow.c + M /trunk/tests/tpow3.c + M /trunk/tests/tpow_z.c + M /trunk/tests/trandom.c + M /trunk/tests/trint.c + M /trunk/tests/troot.c + M /trunk/tests/tround_prec.c + M /trunk/tests/tsec.c + M /trunk/tests/tsech.c + M /trunk/tests/tset.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_exp.c + M /trunk/tests/tset_f.c + M /trunk/tests/tset_ld.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_sj.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsgn.c + M /trunk/tests/tsi_op.c + M /trunk/tests/tsin.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsinh.c + M /trunk/tests/tsqr.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tstrtofr.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub1sp.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tsum.c + M /trunk/tests/tswap.c + M /trunk/tests/ttan.c + M /trunk/tests/ttanh.c + M /trunk/tests/ttrunc.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_pow.c + M /trunk/tests/tui_sub.c + M /trunk/tests/tversion.c + M /trunk/tests/tzeta.c + M /trunk/tuneup.c + M /trunk/uceil_exp2.c + M /trunk/uceil_log2.c + M /trunk/ufloor_log2.c + M /trunk/ui_div.c + M /trunk/ui_pow.c + M /trunk/ui_pow_ui.c + M /trunk/ui_sub.c + M /trunk/urandomb.c + M /trunk/version.c + M /trunk/volatile.c + M /trunk/zeta.c + +Change the address of the FSF. + +------------------------------------------------------------------------ +r3605 | pelissip | 2005-06-02 15:55:58 +0000 (Thu, 02 Jun 2005) | 3 lines +Changed paths: + M /trunk/gamma.c + +Optimize it a few by avoiding calling fac_ui for each iteration +of the main loop. + +------------------------------------------------------------------------ +r3604 | pelissip | 2005-06-02 15:16:19 +0000 (Thu, 02 Jun 2005) | 4 lines +Changed paths: + M /trunk/zeta.c + +Reduce # of vars inside the main loop. +Use GROUP function. +Improve overflow problems (Use of int instead of mp_prec_t). + +------------------------------------------------------------------------ +r3603 | pelissip | 2005-06-02 15:15:44 +0000 (Thu, 02 Jun 2005) | 3 lines +Changed paths: + M /trunk/gamma.c + +Improve efficiency by removing 2 variables (Loop uses only 4 vars). +Use GROUP. + +------------------------------------------------------------------------ +r3602 | pelissip | 2005-06-02 15:15:02 +0000 (Thu, 02 Jun 2005) | 2 lines +Changed paths: + M /trunk/Makefile.am + A /trunk/abort_prec_max.c + M /trunk/cos.c + M /trunk/cosh.c + M /trunk/sinh.c + M /trunk/tan.c + M /trunk/tanh.c + +Add support for MPFR_GROUP functions. + +------------------------------------------------------------------------ +r3601 | pelissip | 2005-06-02 15:14:15 +0000 (Thu, 02 Jun 2005) | 3 lines +Changed paths: + M /trunk/mpfr-impl.h + +Add attribute const and noreturn for function (via macros). +Add new macros GROUP_INIT_6 and GROUP_REPREC_6 for zeta and gamma. + +------------------------------------------------------------------------ +r3600 | zimmerma | 2005-06-02 10:17:09 +0000 (Thu, 02 Jun 2005) | 2 lines +Changed paths: + M /trunk/TODO + +added missing functions from gnumeric + +------------------------------------------------------------------------ +r3599 | pelissip | 2005-06-02 09:22:55 +0000 (Thu, 02 Jun 2005) | 5 lines +Changed paths: + M /trunk/TODO + +Update stack-interface. +Remove round_near_x item. +Add new functions to implement. +Reformat file. + +------------------------------------------------------------------------ +r3598 | pelissip | 2005-06-02 07:40:56 +0000 (Thu, 02 Jun 2005) | 4 lines +Changed paths: + M /trunk/tests/tconst_pi.c + +Fix input precision of mp_prec_t. +May be outside 'int' range. So it uses 'long' instead and +a proper check. + +------------------------------------------------------------------------ +r3597 | lefevre | 2005-05-25 14:32:37 +0000 (Wed, 25 May 2005) | 2 lines +Changed paths: + M /trunk/README.dev + +Added coding recommendations concerning C++ compilers. + +------------------------------------------------------------------------ +r3596 | pelissip | 2005-05-23 12:31:57 +0000 (Mon, 23 May 2005) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +Final version of MPFR_GROUP macros. + +------------------------------------------------------------------------ +r3595 | pelissip | 2005-05-23 12:31:43 +0000 (Mon, 23 May 2005) | 2 lines +Changed paths: + M /trunk/strtofr.c + M /trunk/tests/tstrtofr.c + +Improve coverage test. + +------------------------------------------------------------------------ +r3594 | pelissip | 2005-05-20 09:30:19 +0000 (Fri, 20 May 2005) | 2 lines +Changed paths: + M /trunk/exp_2.c + +Remove variable t which wasn't used! + +------------------------------------------------------------------------ +r3593 | pelissip | 2005-05-18 15:57:10 +0000 (Wed, 18 May 2005) | 6 lines +Changed paths: + M /trunk/add1.c + M /trunk/add1sp.c + M /trunk/agm.c + M /trunk/cos.c + M /trunk/div-short.c + M /trunk/div.c + M /trunk/div_ui.c + M /trunk/exp_2.c + M /trunk/generic.c + M /trunk/get_str.c + M /trunk/init2.c + M /trunk/log.c + M /trunk/mpfr-impl.h + M /trunk/mpn_exp.c + M /trunk/mul.c + M /trunk/mul_ui.c + M /trunk/round_prec.c + M /trunk/set_f.c + M /trunk/sqr.c + M /trunk/sqrt.c + M /trunk/strtofr.c + M /trunk/sub1.c + M /trunk/sub1sp.c + M /trunk/sum.c + M /trunk/tests/tsum.c + M /trunk/tuneup.c + +Replace TMP_ALLOC by MPFR_TMP_ALLOC +Replace TMP_DECL by MPFR_TMP_DECL +Replace TMP_MARK by MPFR_TMP_MARK +Replace TMP_FREE by MPFR_TMP_FREE +Add support for GMP's TMP_SALLOC. + +------------------------------------------------------------------------ +r3592 | pelissip | 2005-05-18 13:17:40 +0000 (Wed, 18 May 2005) | 5 lines +Changed paths: + M /trunk/pow.c + +New way of handling exact value. +Fix bug of wrong rounding and wrong ternary value if the power +is exact, but at an upper precision than the working precision. +Now it computes the power exactly if it detects it is exact. + +------------------------------------------------------------------------ +r3591 | pelissip | 2005-05-18 13:13:15 +0000 (Wed, 18 May 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Precise that 1 is not the only value. + +------------------------------------------------------------------------ +r3590 | lefevre | 2005-05-18 13:03:10 +0000 (Wed, 18 May 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +an 1 -> a 1. + +------------------------------------------------------------------------ +r3589 | pelissip | 2005-05-18 09:42:00 +0000 (Wed, 18 May 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Add a note about special case 1 + +------------------------------------------------------------------------ +r3588 | pelissip | 2005-05-18 09:01:41 +0000 (Wed, 18 May 2005) | 3 lines +Changed paths: + M /trunk/pow.c + +Add assertions +Remove useless function is_odd_even. + +------------------------------------------------------------------------ +r3587 | pelissip | 2005-05-18 08:53:39 +0000 (Wed, 18 May 2005) | 3 lines +Changed paths: + M /trunk/pow.c + +Fix bug: returning 1 didn't take the rounding mode into account. +Simplify dependencies of mpfr_pow. + +------------------------------------------------------------------------ +r3586 | pelissip | 2005-05-18 08:42:54 +0000 (Wed, 18 May 2005) | 4 lines +Changed paths: + M /trunk/expm1.c + M /trunk/tests/texpm1.c + +Fix bug of overflow +Fix bug of wrong ternary value in case of overflow +Add test cases. + +------------------------------------------------------------------------ +r3585 | pelissip | 2005-05-18 08:22:55 +0000 (Wed, 18 May 2005) | 3 lines +Changed paths: + M /trunk/cosh.c + M /trunk/tests/tcosh.c + +Fix bug of overflow. +Fix bug of ternary value in case of overflow. + +------------------------------------------------------------------------ +r3584 | pelissip | 2005-05-18 08:22:28 +0000 (Wed, 18 May 2005) | 2 lines +Changed paths: + M /trunk/tanh.c + +Clean up previous patch. + +------------------------------------------------------------------------ +r3583 | pelissip | 2005-05-18 07:30:01 +0000 (Wed, 18 May 2005) | 4 lines +Changed paths: + M /trunk/sinh.c + M /trunk/tests/tsinh.c + +Fix bug of overflow. +Fix bug of ternary value in case of overflow. +Still some bugs... + +------------------------------------------------------------------------ +r3582 | pelissip | 2005-05-17 16:17:12 +0000 (Tue, 17 May 2005) | 4 lines +Changed paths: + M /trunk/tanh.c + M /trunk/tests/ttanh.c + +Rewrite the way of handling overflow. +Fix bug due to overflow. +Fix bug due to wrong ternary value. - * ChangeLog, NEWS, VERSION, mpfr.h, mpfr.texi, version.c: - Update for MPFR 2.1.1. +------------------------------------------------------------------------ +r3581 | pelissip | 2005-05-17 16:15:15 +0000 (Tue, 17 May 2005) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h -2005-02-22 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Typo. - * fits_u.h, fits_s.h: Tiny optimization +------------------------------------------------------------------------ +r3580 | pelissip | 2005-05-17 15:37:02 +0000 (Tue, 17 May 2005) | 3 lines +Changed paths: + M /trunk/sinh.c + M /trunk/tests/tsinh.c - * TODO: Update +Fix bug of overflow. +Still a problem if exp(x) is near the limit of EMAX_MAX. - * const_log2.c, const_pi.c: Add logging. +------------------------------------------------------------------------ +r3579 | pelissip | 2005-05-17 15:35:38 +0000 (Tue, 17 May 2005) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h - * div_ui.c, mul_ui.c, si_op.c, ui_div.c: - Reduce InterObject dependency by moving mul_si, div_si and si_div - to the unique function they used. - Improve mul_ui by inlining the rounding. +Add new macro MPFR_SAVE_DECL_UPDATE_FLAGS -2005-02-21 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3578 | pelissip | 2005-05-17 15:17:32 +0000 (Tue, 17 May 2005) | 3 lines +Changed paths: + M /trunk/sinh.c + M /trunk/tests/tsinh.c - * log.c: Improve test to 1. +Improve way of handling overflow (still not perfect but far better). +Improve coverage test. + +------------------------------------------------------------------------ +r3577 | pelissip | 2005-05-17 15:14:53 +0000 (Tue, 17 May 2005) | 2 lines +Changed paths: + M /trunk/get_si.c + M /trunk/tests/tset_si.c -2005-02-21 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Improve coverage test. - * sqrt.c, tests/tcos.c, tests/texpm1.c, tests/tlog10.c, tests/tlog1p.c, tests/tsin.c: - Updated copyright lines. +------------------------------------------------------------------------ +r3576 | lefevre | 2005-05-17 15:14:37 +0000 (Tue, 17 May 2005) | 2 lines +Changed paths: + M /trunk/hypot.c + M /trunk/mpfr.texi + M /trunk/tests/thypot.c + +hypot(±oo, NaN) now returns +oo, as in ISO C99 (wasn't documented). - * ui_sub.c: Ported mpfr_ui_sub patch to 2.1 branch: - Fixed a bug for u == 0 and x == +0 introduced in ui_sub.c 1.23, - when 0 was taken into account as a special case: the sign of the - result 0 was incorrect. -> Consider the case u == 0 first. +------------------------------------------------------------------------ +r3575 | pelissip | 2005-05-17 14:09:21 +0000 (Tue, 17 May 2005) | 2 lines +Changed paths: + M /trunk/tests/tasin.c - * sub_ui.c: Code reindented / reformatted. +Improve coverage test. - * tests/tui_sub.c, ui_sub.c: - Fixed a bug for u == 0 and x == +0 introduced in ui_sub.c 1.23, - when 0 was taken into account as a special case: the sign of the - result 0 was incorrect. -> Consider the case u == 0 first. +------------------------------------------------------------------------ +r3574 | pelissip | 2005-05-17 14:09:10 +0000 (Tue, 17 May 2005) | 2 lines +Changed paths: + M /trunk/asin.c -2005-02-19 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Remove useless test. - * tests/RRTest.c, tests/tcos.c, tests/texp.c, tests/texpm1.c, tests/tgeneric.c, tests/tlog.c, tests/tlog10.c, tests/tlog1p.c, tests/tpow.c, tests/tsin.c: - added generic tests in tpow +------------------------------------------------------------------------ +r3573 | pelissip | 2005-05-17 13:28:02 +0000 (Tue, 17 May 2005) | 2 lines +Changed paths: + M /trunk/tests/tpow.c -2005-02-18 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Improve coverage test. - * sqrt.c, tests/tsqrt.c: - fixed bug (variable used twice for different things) +------------------------------------------------------------------------ +r3572 | pelissip | 2005-05-17 13:06:26 +0000 (Tue, 17 May 2005) | 2 lines +Changed paths: + M /trunk/set_z.c + M /trunk/tests/tmul.c + M /trunk/tests/tset_z.c - * algorithms.bib, algorithms.tex, mpfr-test.h, tests/RRTest.c, tests/tadd.c, tests/tconst_log2.c, tests/tdiv.c, tests/tmul.c, tests/tsqrt.c, tests/tsub.c: - more changes for interface with NTL +Improve coverage + +------------------------------------------------------------------------ +r3571 | pelissip | 2005-05-17 12:58:43 +0000 (Tue, 17 May 2005) | 2 lines +Changed paths: + M /trunk/tests/tcmpabs.c -2005-02-18 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Improve coverage test. - * round_prec.c: Likely a test. +------------------------------------------------------------------------ +r3570 | pelissip | 2005-05-17 12:58:30 +0000 (Tue, 17 May 2005) | 2 lines +Changed paths: + M /trunk/coverage - * mulders.c: Update +Add CFLAGS -g. -2005-02-18 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r3569 | pelissip | 2005-05-17 12:27:39 +0000 (Tue, 17 May 2005) | 2 lines +Changed paths: + M /trunk/pow.c - * tests/RRTest.c, tests/tadd.c: added interface for NTL +Clean up -2005-02-16 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r3568 | pelissip | 2005-05-17 12:13:44 +0000 (Tue, 17 May 2005) | 2 lines +Changed paths: + M /trunk/tests/tfits.c - * ChangeLog: Update. +Improve coverage tests. - * README.dev: Suppress some spaces. +------------------------------------------------------------------------ +r3567 | pelissip | 2005-05-17 11:45:11 +0000 (Tue, 17 May 2005) | 2 lines +Changed paths: + M /trunk/tests/tgmpop.c -2005-02-16 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Improve coverage test. - * tests/tpow.c: Reenable underflow tests. +------------------------------------------------------------------------ +r3566 | pelissip | 2005-05-17 11:34:11 +0000 (Tue, 17 May 2005) | 2 lines +Changed paths: + M /trunk/tanh.c - * README.dev: Update +Special a condition by the simplified one. -2005-02-16 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r3565 | pelissip | 2005-05-17 10:31:34 +0000 (Tue, 17 May 2005) | 2 lines +Changed paths: + M /trunk/tests/tcmp_ui.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/tget_d.c + +Improve coverage test (Forget to test tiny functions). + +------------------------------------------------------------------------ +r3564 | pelissip | 2005-05-17 10:12:30 +0000 (Tue, 17 May 2005) | 2 lines +Changed paths: + M /trunk/coverage - * texinfo.tex: - Removed texinfo.tex, as it can be installed by autoreconf -i. +Typo + +------------------------------------------------------------------------ +r3563 | pelissip | 2005-05-17 10:04:14 +0000 (Tue, 17 May 2005) | 2 lines +Changed paths: + M /trunk/README.dev + A /trunk/coverage -2005-02-16 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Add 'coverage' script. + +------------------------------------------------------------------------ +r3562 | pelissip | 2005-05-17 10:03:54 +0000 (Tue, 17 May 2005) | 2 lines +Changed paths: + M /trunk/constant.c - * tests/Makefile.am: - Fix LOADLIBES so that it works (it doesn't due to libtool change). But it - still needs to have s static version of MPFR. +Add 'static' + +------------------------------------------------------------------------ +r3561 | pelissip | 2005-05-17 08:52:13 +0000 (Tue, 17 May 2005) | 5 lines +Changed paths: + M /trunk/cos.c -2005-02-16 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Reformating code. +Fix potential (?) overflow for very large precision. +Various tiny optimizations +Improve the initial estimation of the needed precision. - * README.dev: autoreconf -> autoreconf -i +------------------------------------------------------------------------ +r3560 | pelissip | 2005-05-17 08:46:45 +0000 (Tue, 17 May 2005) | 3 lines +Changed paths: + M /trunk/Makefile.am + A /trunk/constant.c + M /trunk/log.c + M /trunk/mpfr-impl.h -2005-02-16 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Extract constants (__gmpfr_one, two and four) from log.c to constant.c +Fix bug in MPFR_SET_ONE. - * sin_cos.c, tan.c, asinh.c, exp3.c, mpfr-impl.h: - Fix wrong integer types. +------------------------------------------------------------------------ +r3559 | pelissip | 2005-05-17 08:45:00 +0000 (Tue, 17 May 2005) | 2 lines +Changed paths: + M /trunk/sin.c + +Remove a space. + +------------------------------------------------------------------------ +r3558 | lefevre | 2005-05-16 14:29:49 +0000 (Mon, 16 May 2005) | 2 lines +Changed paths: + M /trunk/NEWS + +Typography + spelling. + +------------------------------------------------------------------------ +r3557 | lefevre | 2005-05-16 14:26:20 +0000 (Mon, 16 May 2005) | 2 lines +Changed paths: + M /trunk/NEWS + +Note that mpfr_out_str has slightly changed. + +------------------------------------------------------------------------ +r3556 | pelissip | 2005-05-16 07:34:04 +0000 (Mon, 16 May 2005) | 3 lines +Changed paths: + M /trunk/TODO + +asin, atan, atanh are not slow anymore for small input. +Remove it in the TODO. + +------------------------------------------------------------------------ +r3555 | lefevre | 2005-05-14 17:53:00 +0000 (Sat, 14 May 2005) | 4 lines +Changed paths: + M /trunk/atanh.c + +Fixed a bug due to a typo on a variable name. It produced a +segmentation fault in the tests on Linux/ppc (uninitialized data were +read), not always reproducible when stepping with gdb. + +------------------------------------------------------------------------ +r3553 | pelissip | 2005-05-13 11:49:46 +0000 (Fri, 13 May 2005) | 2 lines +Changed paths: + M /trunk/expm1.c + M /trunk/log1p.c + +Add support for MPFR_FAST_COMPUTE_IS_SMALL_INPUT + +------------------------------------------------------------------------ +r3552 | pelissip | 2005-05-13 11:41:39 +0000 (Fri, 13 May 2005) | 2 lines +Changed paths: + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atan.c + M /trunk/atanh.c + M /trunk/sin.c + M /trunk/sinh.c + M /trunk/tan.c + M /trunk/tanh.c + +Add support for FAST_COMPUTE_IS_SMALL_INPUT. + +------------------------------------------------------------------------ +r3551 | pelissip | 2005-05-13 10:58:38 +0000 (Fri, 13 May 2005) | 2 lines +Changed paths: + M /trunk/atan.c + +Add round_near_x support for small arguments. + +------------------------------------------------------------------------ +r3550 | pelissip | 2005-05-13 10:58:20 +0000 (Fri, 13 May 2005) | 2 lines +Changed paths: + M /trunk/Makefile.am + A /trunk/round_near_x.c + +Add new internal function mpfr_round_near_x. + +------------------------------------------------------------------------ +r3549 | zimmerma | 2005-05-13 09:37:42 +0000 (Fri, 13 May 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +added missing documentation for mpfr_hypot + +------------------------------------------------------------------------ +r3548 | pelissip | 2005-05-13 09:12:07 +0000 (Fri, 13 May 2005) | 2 lines +Changed paths: + M /trunk/tests/texceptions.c + +Add a \n for all error strings. + +------------------------------------------------------------------------ +r3547 | pelissip | 2005-05-13 09:11:48 +0000 (Fri, 13 May 2005) | 2 lines +Changed paths: + M /trunk/version.c + +Fix copyright date. + +------------------------------------------------------------------------ +r3546 | pelissip | 2005-05-13 09:11:11 +0000 (Fri, 13 May 2005) | 4 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/tests/tconst_pi.c + M /trunk/tests/texp.c + +Fix some problems when you define mpfr_prec_t to be an unsigned short. +Now all tests passed when mpfr_prec_t is defined to be an unsigned short +on a 32 bit CPU! + +------------------------------------------------------------------------ +r3542 | lefevre | 2005-05-12 09:21:49 +0000 (Thu, 12 May 2005) | 2 lines +Changed paths: + M /trunk/exp_2.c + +Detect/avoid potential integer overflows. + +------------------------------------------------------------------------ +r3541 | pelissip | 2005-05-12 08:55:27 +0000 (Thu, 12 May 2005) | 2 lines +Changed paths: + M /trunk/tests/texp.c + +Fix typos. + +------------------------------------------------------------------------ +r3540 | pelissip | 2005-05-11 15:43:40 +0000 (Wed, 11 May 2005) | 2 lines +Changed paths: + M /trunk/exp3.c + M /trunk/tests/texp.c + +Same patch for exp_3. + +------------------------------------------------------------------------ +r3539 | pelissip | 2005-05-11 15:24:48 +0000 (Wed, 11 May 2005) | 5 lines +Changed paths: + M /trunk/exp.c + M /trunk/exp_2.c + M /trunk/tests/texp.c + +Fix bug when exp(x) is near the limit of an overflow or an +underflow (mpfr_exp_2 didn't allow an overflow/underflow in its +internal loop). +Add corresponding test case. exp_3 may need similar patchs. + +------------------------------------------------------------------------ +r3538 | lefevre | 2005-05-11 11:03:55 +0000 (Wed, 11 May 2005) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update (with reformatting so that the logs are readable on 80 columns). + +------------------------------------------------------------------------ +r3537 | pelissip | 2005-05-11 07:42:05 +0000 (Wed, 11 May 2005) | 2 lines +Changed paths: + M /trunk/mul.c + M /trunk/tests/tmul.c + +Fix bug due to wrong assertion. + +------------------------------------------------------------------------ +r3536 | pelissip | 2005-05-10 11:49:58 +0000 (Tue, 10 May 2005) | 9 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/round_prec.c + M /trunk/round_raw_generic.c + +1. Change the prototype of mpfr_can_round to use const. +2. Change the prototype of mpfr_round_raw_2 (remove first argument since it is + useless). +3. Change round_raw_generic to use preprocessor if rather than compiler + to detect if flag == 1 or 0 +4. mpfr_round_raw_xxx use const attribute too. +5. Remove mpfr_round_raw_3 since it is unused by MPFR. +6. Add first prototype of MPFR_FAST_COMPUTE_IF_SMALL. + +------------------------------------------------------------------------ +r3535 | pelissip | 2005-05-10 09:52:11 +0000 (Tue, 10 May 2005) | 2 lines +Changed paths: + M /trunk/NEWS + +Update. + +------------------------------------------------------------------------ +r3534 | pelissip | 2005-05-10 09:34:22 +0000 (Tue, 10 May 2005) | 3 lines +Changed paths: + M /trunk/mul.c + M /trunk/tests/tmul.c + +Fix a bug in the product of 2limbs per 2 limbs. +Add new regression test. + +------------------------------------------------------------------------ +r3533 | pelissip | 2005-05-10 07:28:06 +0000 (Tue, 10 May 2005) | 5 lines +Changed paths: + M /trunk/configure.in + +Fix problem with mingw: if the configure detects MS-Windows, it skips the +tests which try to link against GMP within the configure, hoping the Makefile +works. The main problem is that we need libtool inside the configure to link +against GMP. + +------------------------------------------------------------------------ +r3532 | pelissip | 2005-05-09 09:09:37 +0000 (Mon, 09 May 2005) | 2 lines +Changed paths: + M /trunk/tests/tatan.c + +Improve random tests. + +------------------------------------------------------------------------ +r3531 | pelissip | 2005-05-04 16:20:06 +0000 (Wed, 04 May 2005) | 4 lines +Changed paths: + M /trunk/cos.c + +Replace initial estimation of K0 from sqrt (p/2) +to sqrt(p/16). It seems to be 30% faster for 5000 bits, and 5% faster +for 50 bits. + +------------------------------------------------------------------------ +r3529 | lefevre | 2005-05-04 15:59:49 +0000 (Wed, 04 May 2005) | 2 lines +Changed paths: + M /trunk/div_ui.c + +Reformatted the code. + +------------------------------------------------------------------------ +r3528 | zimmerma | 2005-05-04 15:20:17 +0000 (Wed, 04 May 2005) | 2 lines +Changed paths: + M /trunk/tests/tdiv_ui.c + +fixed dummy init2 followed by set_prec + +------------------------------------------------------------------------ +r3527 | lefevre | 2005-05-04 13:42:36 +0000 (Wed, 04 May 2005) | 2 lines +Changed paths: + M /trunk/TODO + +Added LIA-2 functions to implement. + +------------------------------------------------------------------------ +r3526 | pelissip | 2005-05-04 09:51:10 +0000 (Wed, 04 May 2005) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/NEWS + M /trunk/TODO + A /trunk/coth.c + A /trunk/csch.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + A /trunk/sech.c + M /trunk/tests/Makefile.am + M /trunk/tests/tcot.c + A /trunk/tests/tcoth.c + A /trunk/tests/tcsch.c + M /trunk/tests/tsec.c + A /trunk/tests/tsech.c + +Add functions mpfr_sech, mpfr_coth and mpfr_csch. + +------------------------------------------------------------------------ +r3525 | pelissip | 2005-05-04 09:49:51 +0000 (Wed, 04 May 2005) | 2 lines +Changed paths: + M /trunk/gen_inverse.h + +init2 alloc what is needed, not 2 (more efficient). + +------------------------------------------------------------------------ +r3524 | zimmerma | 2005-05-04 09:27:48 +0000 (Wed, 04 May 2005) | 4 lines +Changed paths: + M /trunk/acosh.c + M /trunk/algorithms.tex + M /trunk/asinh.c + M /trunk/const_euler.c + M /trunk/cosh.c + M /trunk/eint.c + M /trunk/exp2.c + M /trunk/expm1.c + M /trunk/hypot.c + M /trunk/log10.c + M /trunk/log2.c + M /trunk/pow.c + M /trunk/pow_si.c + M /trunk/tanh.c + M /trunk/tests/tpow.c + M /trunk/tests/tpow3.c + +improved const_euler and eint +removed dependency from input precision in several functions +fixed two bugs in pow (detection of exact cases) + +------------------------------------------------------------------------ +r3523 | pelissip | 2005-05-04 08:35:23 +0000 (Wed, 04 May 2005) | 2 lines +Changed paths: + M /trunk/NEWS + +Update to reflect the current state. + +------------------------------------------------------------------------ +r3522 | pelissip | 2005-05-03 16:39:04 +0000 (Tue, 03 May 2005) | 2 lines +Changed paths: + M /trunk/atan.c + +Fix computing of `sup` to reflect what is decribed in algorithms.tex. + +------------------------------------------------------------------------ +r3521 | pelissip | 2005-05-03 14:57:04 +0000 (Tue, 03 May 2005) | 3 lines +Changed paths: + M /trunk/atan.c + +Tiny optimization of mpfr_atan. +On opteron with p=53, from 9231 / 18049.89 / 81758 to 9004 / 17522.76 / 78601. + +------------------------------------------------------------------------ +r3520 | lefevre | 2005-05-03 12:42:01 +0000 (Tue, 03 May 2005) | 3 lines +Changed paths: + M /trunk/tests/tset_ld.c + +Fixed a problem in test_small (already done in the 2.1 branch) +when long double = double. + +------------------------------------------------------------------------ +r3519 | pelissip | 2005-05-03 10:42:41 +0000 (Tue, 03 May 2005) | 2 lines +Changed paths: + M /trunk/configure.in + +Improve detection again (use callback). + +------------------------------------------------------------------------ +r3518 | pelissip | 2005-05-03 10:15:46 +0000 (Tue, 03 May 2005) | 2 lines +Changed paths: + M /trunk/configure.in + +Improve previous change. + +------------------------------------------------------------------------ +r3517 | pelissip | 2005-05-03 09:51:50 +0000 (Tue, 03 May 2005) | 4 lines +Changed paths: + M /trunk/configure.in + M /trunk/tests/trint.c + +Add detection of function round, rint, ceil, floor and nearbyint at configure +time so that spe206 which defines itself as C99 compliant can build the +trint test. + +------------------------------------------------------------------------ +r3516 | pelissip | 2005-05-03 08:55:18 +0000 (Tue, 03 May 2005) | 2 lines +Changed paths: + M /trunk/BUGS + +Update (Move bugs to potential). + +------------------------------------------------------------------------ +r3515 | lefevre | 2005-05-03 08:08:50 +0000 (Tue, 03 May 2005) | 2 lines +Changed paths: + M /trunk/BUGS + M /trunk/hypot.c + M /trunk/tests/thypot.c + +Fixed the mpfr_hypot bug, and re-enabled the test_large_small test. + +------------------------------------------------------------------------ +r3514 | lefevre | 2005-05-02 23:17:44 +0000 (Mon, 02 May 2005) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update. + +------------------------------------------------------------------------ +r3512 | lefevre | 2005-05-02 22:57:16 +0000 (Mon, 02 May 2005) | 2 lines +Changed paths: + M /trunk/BUGS + +Mention the mpfr_hypot bug. + +------------------------------------------------------------------------ +r3511 | lefevre | 2005-05-02 22:46:56 +0000 (Mon, 02 May 2005) | 3 lines +Changed paths: + M /trunk/tests/thypot.c + +Added a test showing a bug, enabled when TEST_LARGE_SMALL is defined +(to avoid a freeze with make check). + +------------------------------------------------------------------------ +r3510 | pelissip | 2005-05-02 15:05:43 +0000 (Mon, 02 May 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Fix bug. + +------------------------------------------------------------------------ +r3509 | pelissip | 2005-05-02 15:05:30 +0000 (Mon, 02 May 2005) | 2 lines +Changed paths: + M /trunk/tests/tpow.c -2005-02-16 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Remove useless function f. + +------------------------------------------------------------------------ +r3508 | pelissip | 2005-05-02 13:11:39 +0000 (Mon, 02 May 2005) | 2 lines +Changed paths: + M /trunk/subnormal.c - * ChangeLog: Update. (2.1 branch) +Fix a bug: the test to detect EVEN_rounding was wrong. + +------------------------------------------------------------------------ +r3507 | pelissip | 2005-05-02 13:11:07 +0000 (Mon, 02 May 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * set.c: Added a comment. +Update example of use of mpfr_subnormalize. + +------------------------------------------------------------------------ +r3506 | pelissip | 2005-05-02 13:10:44 +0000 (Mon, 02 May 2005) | 3 lines +Changed paths: + M /trunk/mpfr-test.h + M /trunk/tests/cmp_str.c + M /trunk/tests/tcmp.c + M /trunk/tests/tcmpabs.c + +mpfr_cmp_str checks for NAN. +Add macro mpfr_cmp0 in mpfr-test. + +------------------------------------------------------------------------ +r3505 | pelissip | 2005-05-02 13:09:35 +0000 (Mon, 02 May 2005) | 3 lines +Changed paths: + M /trunk/tests/tgeneric.c + M /trunk/tests/tgeneric_ui.c + M /trunk/tests/troot.c + +Undo previous change for tgeneric. +troot uses tgeneric_ui instead. + +------------------------------------------------------------------------ +r3504 | pelissip | 2005-05-01 09:21:43 +0000 (Sun, 01 May 2005) | 2 lines +Changed paths: + M /trunk/tests/reuse.c + +Add new funcions in reuse test. + +------------------------------------------------------------------------ +r3503 | zimmerma | 2005-04-30 11:03:47 +0000 (Sat, 30 Apr 2005) | 2 lines +Changed paths: + M /trunk/TODO + +added efficiency item + +------------------------------------------------------------------------ +r3502 | zimmerma | 2005-04-30 10:36:21 +0000 (Sat, 30 Apr 2005) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/TODO + M /trunk/algorithms.tex + A /trunk/eint.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/tests/Makefile.am + A /trunk/tests/teint.c - * ChangeLog, mul.c, sub1.c, sub1sp.c: - Spelling mistakes & reformatted code. +added mpfr_eint + +------------------------------------------------------------------------ +r3501 | pelissip | 2005-04-29 17:24:30 +0000 (Fri, 29 Apr 2005) | 2 lines +Changed paths: + M /trunk/TODO - * sub1.c: - Ported another fix to the 2.1 branch (bug introduced in 1.31.2.1). +Add something to do :) + +------------------------------------------------------------------------ +r3500 | zimmerma | 2005-04-29 08:19:01 +0000 (Fri, 29 Apr 2005) | 2 lines +Changed paths: + M /trunk/TODO - * README.dev: Suppress some spaces. +added comment about efficiency of atan + +------------------------------------------------------------------------ +r3499 | lefevre | 2005-04-29 07:42:30 +0000 (Fri, 29 Apr 2005) | 3 lines +Changed paths: + A /trunk/FAQ.html + M /trunk/Makefile.am + M /trunk/README + M /trunk/README.dev + A /trunk/faq.xsl + A /trunk/update-faq + +The FAQ is now distributed with MPFR. Use update-faq to update it +from the MPFR web site. -2005-02-16 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3498 | zimmerma | 2005-04-29 07:30:29 +0000 (Fri, 29 Apr 2005) | 2 lines +Changed paths: + M /trunk/algorithms.tex + +commented out argument reduction analysis for arctan (was wrong) - * tests/tpow.c: Reenable underflow tests. +------------------------------------------------------------------------ +r3496 | zimmerma | 2005-04-28 09:47:32 +0000 (Thu, 28 Apr 2005) | 2 lines +Changed paths: + M /trunk/sin.c + +wrong commit, put revision 1.37 back - * README.dev: Update +------------------------------------------------------------------------ +r3495 | zimmerma | 2005-04-28 09:45:05 +0000 (Thu, 28 Apr 2005) | 2 lines +Changed paths: + M /trunk/cos.c + +wrong commit, put back revision 1.47 -2005-02-16 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r3494 | zimmerma | 2005-04-28 09:38:45 +0000 (Thu, 28 Apr 2005) | 2 lines +Changed paths: + M /trunk/algorithms.tex + M /trunk/cos.c + M /trunk/sin.c - * texinfo.tex: - Removed texinfo.tex, as it can be installed by autoreconf -i. +added error analysis for Geoff's argument reduction for arctan -2005-02-16 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3493 | lefevre | 2005-04-27 20:56:08 +0000 (Wed, 27 Apr 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * tests/Makefile.am: - Fix LOADLIBES so that it works (it doesn't due to libtool change). But it - still needs to have s static version of MPFR. +Added a note about mpfr_set_d and mpfr_set_ld. -2005-02-16 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r3492 | lefevre | 2005-04-27 13:51:06 +0000 (Wed, 27 Apr 2005) | 3 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/update-version - * README.dev: autoreconf -> autoreconf -i +Define MPFR_VERSION_STRING using the update-version script +(works with any compiler). -2005-02-16 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3491 | zimmerma | 2005-04-26 10:46:13 +0000 (Tue, 26 Apr 2005) | 2 lines +Changed paths: + M /trunk/TODO + +added internal interface + +------------------------------------------------------------------------ +r3490 | zimmerma | 2005-04-26 10:02:01 +0000 (Tue, 26 Apr 2005) | 2 lines +Changed paths: + M /trunk/TODO + +added suggestion from Geoff + +------------------------------------------------------------------------ +r3489 | zimmerma | 2005-04-26 09:37:28 +0000 (Tue, 26 Apr 2005) | 2 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/tests/tversion.c - * sin_cos.c, tan.c, asinh.c, exp3.c, mpfr-impl.h: - Fix wrong integer types. +added MPFR_VERSION_STRING -2005-02-16 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r3488 | zimmerma | 2005-04-25 13:06:11 +0000 (Mon, 25 Apr 2005) | 2 lines +Changed paths: + M /trunk/TODO + +added new item - * ChangeLog: Update. (2.1 branch) +------------------------------------------------------------------------ +r3487 | zimmerma | 2005-04-25 12:51:56 +0000 (Mon, 25 Apr 2005) | 2 lines +Changed paths: + M /trunk/TODO + M /trunk/expm1.c + M /trunk/log1p.c + +improved expm1/log1p for small argument + +------------------------------------------------------------------------ +r3486 | zimmerma | 2005-04-25 12:16:12 +0000 (Mon, 25 Apr 2005) | 2 lines +Changed paths: + M /trunk/expm1.c + +improved to taken account of case |x| small (reported by Keith Briggs) + +------------------------------------------------------------------------ +r3485 | lefevre | 2005-04-25 12:12:17 +0000 (Mon, 25 Apr 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * set.c: Added a comment. (2.1 branch) +Added a missing "-" and replaced a few "-" by @minus{}. + +------------------------------------------------------------------------ +r3484 | lefevre | 2005-04-25 11:53:56 +0000 (Mon, 25 Apr 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * mul.c, sub1.c, sub1sp.c, ChangeLog: - Spelling mistakes & reformatted code. +Added a note for mpfr_cmp functions. + +------------------------------------------------------------------------ +r3483 | zimmerma | 2005-04-25 05:41:27 +0000 (Mon, 25 Apr 2005) | 2 lines +Changed paths: + M /trunk/set_ld.c + M /trunk/tests/tset_ld.c - * sub1.c: - Ported another fix to the 2.1 branch (bug introduced in 1.31.2.1). +fixed bug with tiny number + +------------------------------------------------------------------------ +r3482 | zimmerma | 2005-04-22 22:23:09 +0000 (Fri, 22 Apr 2005) | 2 lines +Changed paths: + M /trunk/TODO -2005-02-15 Vincent Lefevre <Vincent.Lefevre@loria.fr> +removed done item + +------------------------------------------------------------------------ +r3481 | pelissip | 2005-04-22 15:20:22 +0000 (Fri, 22 Apr 2005) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h - * sub1.c: Reformatted code. +Add a macro for mpfr_const_catalan for internal use. -2005-02-15 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3480 | pelissip | 2005-04-22 15:18:33 +0000 (Fri, 22 Apr 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Fix typos. - * tanh.c: Improve initial prec. +------------------------------------------------------------------------ +r3479 | zimmerma | 2005-04-22 10:38:21 +0000 (Fri, 22 Apr 2005) | 2 lines +Changed paths: + M /trunk/TODO + +removed Root, updated eint* + +------------------------------------------------------------------------ +r3478 | zimmerma | 2005-04-22 10:13:05 +0000 (Fri, 22 Apr 2005) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/TODO + A /trunk/cot.c + A /trunk/csc.c + A /trunk/gen_inverse.h + M /trunk/mpfr.h + M /trunk/mpfr.texi + A /trunk/sec.c + M /trunk/tests/Makefile.am + A /trunk/tests/tcot.c + A /trunk/tests/tcsc.c + A /trunk/tests/tsec.c + +added sec, csc, cot + +------------------------------------------------------------------------ +r3477 | zimmerma | 2005-04-22 08:48:44 +0000 (Fri, 22 Apr 2005) | 2 lines +Changed paths: + M /trunk/TODO + +proposal for exponential integral definition + +------------------------------------------------------------------------ +r3476 | zimmerma | 2005-04-22 05:38:41 +0000 (Fri, 22 Apr 2005) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/TODO + M /trunk/tests/Makefile.am + +added mpfr_root, removed from TODO + +------------------------------------------------------------------------ +r3475 | zimmerma | 2005-04-22 05:32:01 +0000 (Fri, 22 Apr 2005) | 2 lines +Changed paths: + M /trunk/cbrt.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + A /trunk/root.c + M /trunk/tests/tgeneric.c + A /trunk/tests/troot.c + +added mpfr_root + +------------------------------------------------------------------------ +r3474 | lefevre | 2005-04-21 15:21:40 +0000 (Thu, 21 Apr 2005) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update. + +------------------------------------------------------------------------ +r3469 | lefevre | 2005-04-21 13:05:42 +0000 (Thu, 21 Apr 2005) | 4 lines +Changed paths: + M /trunk/tests/tset_ld.c + +Added the ability to change the control word when compiling tset_ld +with -DWITH_FPU_CONTROL=1 and executing tset_ld with an argument +(not used in the automatical tests yet). + +------------------------------------------------------------------------ +r3465 | lefevre | 2005-04-21 09:32:22 +0000 (Thu, 21 Apr 2005) | 2 lines +Changed paths: + M /trunk/tests/tset_ld.c + +Added test_small (the same as in the 2.1 branch). + +------------------------------------------------------------------------ +r3463 | lefevre | 2005-04-21 09:14:46 +0000 (Thu, 21 Apr 2005) | 2 lines +Changed paths: + M /trunk/cmp.c + +Updated a comment and reformatted the code. + +------------------------------------------------------------------------ +r3460 | zimmerma | 2005-04-21 06:33:22 +0000 (Thu, 21 Apr 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +added explanation + +------------------------------------------------------------------------ +r3457 | zimmerma | 2005-04-20 07:59:38 +0000 (Wed, 20 Apr 2005) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/const_catalan.c + M /trunk/tests/Makefile.am + +adjusted initial guard digits for const_catalan to avoid failure for prec<=10^4 + +------------------------------------------------------------------------ +r3456 | zimmerma | 2005-04-20 05:53:17 +0000 (Wed, 20 Apr 2005) | 2 lines +Changed paths: + M /trunk/const_catalan.c + M /trunk/mpfr.texi + M /trunk/tests/tconst_catalan.c + +updated documentation and improved tests for mpfr_const_catalan + +------------------------------------------------------------------------ +r3455 | zimmerma | 2005-04-20 03:43:06 +0000 (Wed, 20 Apr 2005) | 2 lines +Changed paths: + M /trunk/TODO + +removed Catalan's constant (done) -2005-02-15 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r3454 | zimmerma | 2005-04-20 03:40:24 +0000 (Wed, 20 Apr 2005) | 2 lines +Changed paths: + M /trunk/algorithms.tex + A /trunk/const_catalan.c + M /trunk/free_cache.c + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + A /trunk/tests/tconst_catalan.c - * tan.c: Ported tan fix to 2.1 branch. +added Catalan's constant -2005-02-15 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3453 | zimmerma | 2005-04-20 01:23:23 +0000 (Wed, 20 Apr 2005) | 2 lines +Changed paths: + M /trunk/TODO - * tanh.c: Remove code. - Add special case if t=1. +added efficiency items suggested by Geoff Bailey - * sub1.c: mpfr_set doesn't produce an EVEN inexact flag. - Fix this. +------------------------------------------------------------------------ +r3452 | zimmerma | 2005-04-20 00:12:45 +0000 (Wed, 20 Apr 2005) | 2 lines +Changed paths: + M /trunk/atan2.c - * cos.c: USe of mpfr_nexttozero. +fixed minor problem (wrong rounding mode for x=0, y<0), thanks Geoff Bailey - * atanh.c: Fix bug: use x instead of xf in LOG. +------------------------------------------------------------------------ +r3451 | zimmerma | 2005-04-19 09:23:28 +0000 (Tue, 19 Apr 2005) | 2 lines +Changed paths: + M /trunk/TODO - * zeta.c, exp.c, gamma.c, log.c, pow.c, sinh.c, tanh.c, erf.c, cosh.c, atan.c, atanh.c, asinh.c, acos.c, acosh.c, agm.c, asin.c: - Log input and ouput of functions. +added one efficiency item - * tan.c: Fix bug of overflow in tan. +------------------------------------------------------------------------ +r3450 | zimmerma | 2005-04-19 09:01:03 +0000 (Tue, 19 Apr 2005) | 3 lines +Changed paths: + M /trunk/algorithms.tex - * sin.c, sin_cos.c, tan.c: Use of MPFR_LOG_FUNC. +completely rewritten algorithm and error analysis for acosh +(did not match those in acosh.c) - * mpfr-impl.h: Do not print final log message if there was no call. +------------------------------------------------------------------------ +r3449 | zimmerma | 2005-04-19 08:59:31 +0000 (Tue, 19 Apr 2005) | 2 lines +Changed paths: + M /trunk/acosh.c - * sin.c: Add ZivLoop for sign +algorithm and error bound did not match those of algorithm.tex!!! -2005-02-14 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3448 | zimmerma | 2005-04-19 07:50:22 +0000 (Tue, 19 Apr 2005) | 2 lines +Changed paths: + M /trunk/TODO - * logging.c: - Fix bug: during the display of a logged var, logging is turn off. +added missing functions for Magma - * cos.c, mpfr-impl.h: Add MPFR_LOG_FUNC - Use mpfr_cos as testing example. +------------------------------------------------------------------------ +r3447 | zimmerma | 2005-04-19 07:17:54 +0000 (Tue, 19 Apr 2005) | 2 lines +Changed paths: + M /trunk/get_str.c + M /trunk/mpfr.texi - * const_euler.c, const_log2.c, const_pi.c, cache.c: - Add ZivLoop controller for constantes. - Augment exponent range in the cache. - Remove it in const_pi. +changed semantics of mpfr_get_str for ndigits=0 - * get_str.c: Add generic ZivLoop controller. +------------------------------------------------------------------------ +r3446 | zimmerma | 2005-04-14 13:44:58 +0000 (Thu, 14 Apr 2005) | 2 lines +Changed paths: + M /trunk/TODO -2005-02-14 Laurent Fousse <fousse@dixsept.loria.fr> +added one item (efficiency) - * mpfr.texi: Document mpfr_sum returned int value. +------------------------------------------------------------------------ +r3445 | pelissip | 2005-04-14 13:29:06 +0000 (Thu, 14 Apr 2005) | 2 lines +Changed paths: + M /trunk/atan2.c + M /trunk/mpfr.texi + M /trunk/tests/tatan.c + +Fix atan2 to fit C99 semantic. -2005-02-14 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3444 | pelissip | 2005-04-14 09:20:24 +0000 (Thu, 14 Apr 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * pow_si.c, pow_ui.c, pow_z.c, strtofr.c, sum.c, ui_pow_ui.c, zeta.c, log10.c, log1p.c, log2.c, pow.c, gmp_op.c: - Clean up code. - Add generic ZivLoop controller. +Fix typos. -2005-02-14 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r3443 | pelissip | 2005-04-14 09:20:13 +0000 (Thu, 14 Apr 2005) | 2 lines +Changed paths: + M /trunk/atan2.c - * sum.c: Ported latest bug fix to 2.1 branch. +Add TODO. -2005-02-14 Laurent Fousse <fousse@dixsept.loria.fr> +------------------------------------------------------------------------ +r3442 | pelissip | 2005-04-14 08:48:54 +0000 (Thu, 14 Apr 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * sum.c: Consider return value's precision for rounding in mpfr_sum. +Add documentation for mpfr_subnormalize. -2005-02-14 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r3441 | pelissip | 2005-04-14 08:14:49 +0000 (Thu, 14 Apr 2005) | 2 lines +Changed paths: + M /trunk/subnormal.c - * const_pi.c: removed garbage +Fix bugs. -2005-02-14 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3440 | pelissip | 2005-04-13 17:23:03 +0000 (Wed, 13 Apr 2005) | 3 lines +Changed paths: + M /trunk/div_ui.c + M /trunk/tests/tsi_op.c - * expm1.c, factorial.c, gamma.c, hypot.c, exp2.c: Clean up - Add ZivLoop +Apply Guillaume's patch about mpfr_div_ui. +Fix a bug in tsi_op (forget to clean memory). - * const_log2.c: Remove malloc/free. - Use of MPFR_INT_CEIL_LOG2 - Add ZivLoop controller. +------------------------------------------------------------------------ +r3439 | pelissip | 2005-04-13 16:05:02 +0000 (Wed, 13 Apr 2005) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/mpfr.h + A /trunk/subnormal.c - * erf.c: Clean up code. - Fix bug with Exponent range. - Add ZivLoop controller. +Add function mpfr_subnormalize (To Test!!!!!) + +------------------------------------------------------------------------ +r3438 | pelissip | 2005-04-13 15:48:51 +0000 (Wed, 13 Apr 2005) | 2 lines +Changed paths: + M /trunk/atan2.c - * cbrt.c: Cleanup code. +Add TODO. + +------------------------------------------------------------------------ +r3437 | pelissip | 2005-04-13 15:46:45 +0000 (Wed, 13 Apr 2005) | 2 lines +Changed paths: + M /trunk/expm1.c -2005-02-14 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Fix wrong comment. + +------------------------------------------------------------------------ +r3436 | pelissip | 2005-04-07 13:35:38 +0000 (Thu, 07 Apr 2005) | 2 lines +Changed paths: + M /trunk/tests/terf.c - * const_log2.c: - further efficiency improvement (avoid mpz_init/mpz_clear) +Reenable tests. -2005-02-14 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3435 | pelissip | 2005-04-07 11:58:52 +0000 (Thu, 07 Apr 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Add documentation about mpfr_atan2. + +------------------------------------------------------------------------ +r3434 | pelissip | 2005-04-07 11:34:05 +0000 (Thu, 07 Apr 2005) | 2 lines +Changed paths: + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tcbrt.c + M /trunk/tests/tdim.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/tgeneric_ui.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tpow.c + M /trunk/tests/tsi_op.c + M /trunk/tests/tsub_ui.c + +Improve test suite by adding new random values. + +------------------------------------------------------------------------ +r3433 | pelissip | 2005-04-07 07:44:14 +0000 (Thu, 07 Apr 2005) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + M /trunk/tests/tdiv.c + M /trunk/tests/tmul.c + M /trunk/tests/tsub.c - * acosh.c, asinh.c, atanh.c: Add ZivLoop controller. - Clean up code. - Optimize it by removing the # of used vars. +Add random tests (tgeneric + random2). + +------------------------------------------------------------------------ +r3432 | lefevre | 2005-04-05 09:03:29 +0000 (Tue, 05 Apr 2005) | 2 lines +Changed paths: + M /trunk/README.dev + +Test with -ansi when making a release. + +------------------------------------------------------------------------ +r3431 | lefevre | 2005-04-05 08:57:29 +0000 (Tue, 05 Apr 2005) | 2 lines +Changed paths: + M /trunk/README.dev + +Typo. + +------------------------------------------------------------------------ +r3430 | zimmerma | 2005-04-05 07:11:53 +0000 (Tue, 05 Apr 2005) | 2 lines +Changed paths: + M /trunk/div-short.c + M /trunk/tests/terf.c + +replaced // comments by /* ... */ + +------------------------------------------------------------------------ +r3428 | pelissip | 2005-04-04 10:12:29 +0000 (Mon, 04 Apr 2005) | 2 lines +Changed paths: + M /trunk/TODO + +Add note about mpfr_neg + +------------------------------------------------------------------------ +r3427 | pelissip | 2005-04-04 08:54:42 +0000 (Mon, 04 Apr 2005) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/NEWS + M /trunk/TODO + A /trunk/atan2.c + M /trunk/mpfr.h + M /trunk/tests/tatan.c + +Add function mpfr_atan2 + +------------------------------------------------------------------------ +r3426 | pelissip | 2005-03-31 16:13:11 +0000 (Thu, 31 Mar 2005) | 2 lines +Changed paths: + M /trunk/mparam_h.in + M /trunk/mpfr-gmp.h + M /trunk/mulders.c + +Change to add future function mpfr_sqrhigh_n. + +------------------------------------------------------------------------ +r3425 | pelissip | 2005-03-31 14:52:03 +0000 (Thu, 31 Mar 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Add documentation for mpfr_erfc. + +------------------------------------------------------------------------ +r3424 | pelissip | 2005-03-31 13:26:32 +0000 (Thu, 31 Mar 2005) | 2 lines +Changed paths: + M /trunk/NEWS + +Add items. + +------------------------------------------------------------------------ +r3423 | pelissip | 2005-03-31 13:13:58 +0000 (Thu, 31 Mar 2005) | 3 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/TODO + A /trunk/erfc.c + M /trunk/mpfr.h + M /trunk/tests/terf.c + M /trunk/tests/tgeneric.c + +Add function mpfr_erfc. +Add a note about auto-checking correctness of MPFR. + +------------------------------------------------------------------------ +r3422 | lefevre | 2005-03-30 14:49:03 +0000 (Wed, 30 Mar 2005) | 2 lines +Changed paths: + M /trunk/tests/tpow.c + +Added a testcase (the one added to the 2.1 branch). + +------------------------------------------------------------------------ +r3420 | pelissip | 2005-03-30 14:14:46 +0000 (Wed, 30 Mar 2005) | 2 lines +Changed paths: + M /trunk/tests/tpow.c + +Use random2 instead of random. + +------------------------------------------------------------------------ +r3419 | lefevre | 2005-03-30 13:38:59 +0000 (Wed, 30 Mar 2005) | 2 lines +Changed paths: + M /trunk/round_p.c + +Weaker conditions for return 0 in mpfr_round_p. + +------------------------------------------------------------------------ +r3418 | pelissip | 2005-03-30 13:13:20 +0000 (Wed, 30 Mar 2005) | 3 lines +Changed paths: + M /trunk/tests/Makefile.am + M /trunk/tests/tgeneric.c + A /trunk/tests/tgeneric_ui.c + M /trunk/tests/tpow.c + +Add generic test for functions which looks + inexact = MPFR_TOTO (rop, op, INTEGER, RND); + +------------------------------------------------------------------------ +r3417 | pelissip | 2005-03-30 12:58:45 +0000 (Wed, 30 Mar 2005) | 3 lines +Changed paths: + M /trunk/pow_ui.c + M /trunk/pow_z.c + +Add ceil(log2(size)) bits to initial precision to avoid +commiting in error for huge operands. + +------------------------------------------------------------------------ +r3416 | lefevre | 2005-03-30 12:21:53 +0000 (Wed, 30 Mar 2005) | 2 lines +Changed paths: + M /trunk/tests/tpow.c + +Added a test (corresp. to the one added on 2005-03-25 in tpow_z.c). + +------------------------------------------------------------------------ +r3415 | lefevre | 2005-03-29 10:25:12 +0000 (Tue, 29 Mar 2005) | 2 lines +Changed paths: + M /trunk/pow_ui.c + M /trunk/pow_z.c + +Reformatted code (GNU style, untabify...). + +------------------------------------------------------------------------ +r3414 | pelissip | 2005-03-29 08:42:07 +0000 (Tue, 29 Mar 2005) | 3 lines +Changed paths: + M /trunk/mpfr-impl.h - * acos.c, asin.c, atan.c: Add ZivLoop controler. +Tiny update. +Add group functions macros. + +------------------------------------------------------------------------ +r3413 | pelissip | 2005-03-29 07:51:18 +0000 (Tue, 29 Mar 2005) | 2 lines +Changed paths: + M /trunk/pow_ui.c + M /trunk/pow_z.c + M /trunk/tests/tpow_z.c -2005-02-12 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Replace test ('p <= i') by assertion ('p > i). - * algorithms.tex, const_log2.c, mpfr-impl.h: - new faster algorithm for log(2) +------------------------------------------------------------------------ +r3412 | zimmerma | 2005-03-25 21:35:57 +0000 (Fri, 25 Mar 2005) | 3 lines +Changed paths: + M /trunk/gamma.c + M /trunk/mpfr.texi + M /trunk/pow_ui.c + M /trunk/pow_z.c + M /trunk/tests/tgamma.c + M /trunk/tests/tpow_z.c -2005-02-11 Patrick Pelissier <Patrick.Pelissier@loria.fr> +fixed bug in pow_ui (and pow_z): missing factor 2 in error bound +fixed bug in gamma of negative integer - * configure.in: Remove detection of C++ and Fortran due to libtool. +------------------------------------------------------------------------ +r3411 | pelissip | 2005-03-25 15:03:13 +0000 (Fri, 25 Mar 2005) | 2 lines +Changed paths: + M /trunk/div-short.c - * configure.in, tests/Makefile.am, Makefile.am: - Clean up configure (more simplier). - Still a bug with CXXCPP to solve. +Add info. - * mpfr-impl.h, const_log2.c: Clean up const_log2 code. +------------------------------------------------------------------------ +r3410 | pelissip | 2005-03-25 15:02:36 +0000 (Fri, 25 Mar 2005) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/print_raw.c -2005-02-10 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Add new internal function for debugging reasons. + +------------------------------------------------------------------------ +r3409 | pelissip | 2005-03-25 08:43:12 +0000 (Fri, 25 Mar 2005) | 2 lines +Changed paths: + M /trunk/tests/tpow_z.c + +Forget to free x and y + +------------------------------------------------------------------------ +r3408 | pelissip | 2005-03-25 08:38:26 +0000 (Fri, 25 Mar 2005) | 2 lines +Changed paths: + M /trunk/tests/tpow_z.c + +Add failed regression test. + +------------------------------------------------------------------------ +r3407 | pelissip | 2005-03-25 08:38:10 +0000 (Fri, 25 Mar 2005) | 2 lines +Changed paths: + M /trunk/div-short.c + +Improved version. + +------------------------------------------------------------------------ +r3406 | pelissip | 2005-03-25 08:32:09 +0000 (Fri, 25 Mar 2005) | 3 lines +Changed paths: + M /trunk/mul.c + M /trunk/tests/tmul.c - * sin_cos.c, sinh.c, tan.c, tanh.c, cosh.c, exp.c, exp3.c, exp_2.c, log.c: - Add log for other functions. - Add ZivLoop too. - Cleanup exp3. +Undo previous change (I was wrong). +Add new regression test. -2005-02-09 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3405 | pelissip | 2005-03-24 10:47:41 +0000 (Thu, 24 Mar 2005) | 3 lines +Changed paths: + M /trunk/mul.c - * configure.in: Update for ICC (disable shared since it doesn't work). +Fix wrong extimated precision. +It is log2(n+2) ulps so that log2(log2(n+2)) bits! - * configure.in: - The previous fixs don't work. New one which works but is VERY ugly. +------------------------------------------------------------------------ +r3404 | pelissip | 2005-03-24 10:01:31 +0000 (Thu, 24 Mar 2005) | 2 lines +Changed paths: + M /trunk/div-short.c - * configure.in: Fix again to avoid fail on laurent5... +Add checking. - * configure.in: - Set CXXCPP to "g++ -E" to avoid detection (which may fail on some systems). +------------------------------------------------------------------------ +r3403 | zimmerma | 2005-03-23 19:55:06 +0000 (Wed, 23 Mar 2005) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c - * configure.in: - Reduce the tested compiler for C++ and Fortran to the minimum. +added new test - * configure.in: - Update GMP detection to be much more libtool compatible. - As a consequence some tests using AC_RUN_IFELSE may fail due to ugly things - like LD_LIBRARY_PATH no set or wrong selection of libgmp. - So they just produce a warning, not a fatal error. - TODO: Check if we can avoid thoses problems... +------------------------------------------------------------------------ +r3402 | pelissip | 2005-03-23 14:42:35 +0000 (Wed, 23 Mar 2005) | 2 lines +Changed paths: + M /trunk/tests/tget_f.c + +Remove an signed integer trap overflow (GCC 4 + '-ftrapv'). + +------------------------------------------------------------------------ +r3401 | pelissip | 2005-03-23 13:04:37 +0000 (Wed, 23 Mar 2005) | 2 lines +Changed paths: + M /trunk/mul.c + +Don't use Mulder at n+1 for MPFR_MUL_THRESHOLD+1 + +------------------------------------------------------------------------ +r3400 | pelissip | 2005-03-23 13:03:55 +0000 (Wed, 23 Mar 2005) | 2 lines +Changed paths: + M /trunk/mparam_h.in + +Reduce the threshold for AMD64. + +------------------------------------------------------------------------ +r3399 | pelissip | 2005-03-22 13:58:19 +0000 (Tue, 22 Mar 2005) | 2 lines +Changed paths: + A /trunk/div-short.c + +Initial version of Short Division. + +------------------------------------------------------------------------ +r3398 | pelissip | 2005-03-22 12:18:33 +0000 (Tue, 22 Mar 2005) | 4 lines +Changed paths: + M /trunk/mul.c + +Fix bug on HP-UX. +longlong's umul_ppmm seems to be buggy on such a system. +Don't use it under HP-UX. + +------------------------------------------------------------------------ +r3396 | pelissip | 2005-03-21 10:34:12 +0000 (Mon, 21 Mar 2005) | 5 lines +Changed paths: + M /trunk/mul.c + M /trunk/tests/tmul.c + M /trunk/tuneup.c + +Add case where bn == 1 and bn == 2 by using longlong.h. +Modify tuneup to start with prec=2*BITS_PER_MP_LIMB+1 +Fix bug in computing the estimated precision when you switch from N limbs to N+1 limbs. +Add regression tests. + +------------------------------------------------------------------------ +r3395 | lefevre | 2005-03-19 01:27:54 +0000 (Sat, 19 Mar 2005) | 2 lines +Changed paths: + M /trunk/isqrt.c + +Typo. + +------------------------------------------------------------------------ +r3394 | zimmerma | 2005-03-18 07:44:55 +0000 (Fri, 18 Mar 2005) | 2 lines +Changed paths: + M /trunk/TODO + +added one efficiency item + +------------------------------------------------------------------------ +r3393 | zimmerma | 2005-03-17 12:54:56 +0000 (Thu, 17 Mar 2005) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c + +added two property-tests + +------------------------------------------------------------------------ +r3391 | lefevre | 2005-03-17 00:15:18 +0000 (Thu, 17 Mar 2005) | 2 lines +Changed paths: + M /trunk/atanh.c + M /trunk/tests/tatanh.c + +Fixed a bug for mpfr_atanh(x) with 1 < |x| < 2 (found by Matt Reddick). + +------------------------------------------------------------------------ +r3390 | pelissip | 2005-03-14 10:07:14 +0000 (Mon, 14 Mar 2005) | 2 lines +Changed paths: + M /trunk/README.dev + +Update + +------------------------------------------------------------------------ +r3389 | pelissip | 2005-03-14 10:05:56 +0000 (Mon, 14 Mar 2005) | 2 lines +Changed paths: + M /trunk/tests/tcan_round.c + +Improve test: compare between mpfr_round_p and mpfr_can_round. + +------------------------------------------------------------------------ +r3388 | pelissip | 2005-03-14 09:50:29 +0000 (Mon, 14 Mar 2005) | 3 lines +Changed paths: + M /trunk/acos.c + M /trunk/acosh.c + M /trunk/agm.c + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atan.c + M /trunk/atanh.c + M /trunk/const_euler.c + M /trunk/const_pi.c + M /trunk/cos.c + M /trunk/cosh.c + M /trunk/erf.c + M /trunk/exp2.c + M /trunk/exp_2.c + M /trunk/expm1.c + M /trunk/gmp_op.c + M /trunk/hypot.c + M /trunk/log.c + M /trunk/log10.c + M /trunk/log1p.c + M /trunk/log2.c + M /trunk/mul.c + M /trunk/pow.c + M /trunk/pow_si.c + M /trunk/pow_ui.c + M /trunk/pow_z.c + M /trunk/sinh.c + M /trunk/tan.c + M /trunk/tanh.c + M /trunk/ui_pow_ui.c + M /trunk/zeta.c + +Replace mpfr_can_round (..., GMP_RNDN, GMP_RNDZ, ...) to fast replacement +mpfr_round_p. + +------------------------------------------------------------------------ +r3387 | pelissip | 2005-03-14 09:49:36 +0000 (Mon, 14 Mar 2005) | 2 lines +Changed paths: + M /trunk/round_prec.c + +Remove a FIXME. + +------------------------------------------------------------------------ +r3386 | pelissip | 2005-03-14 09:48:45 +0000 (Mon, 14 Mar 2005) | 3 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/mpfr-impl.h + A /trunk/round_p.c + +Add new internal function mpfr_round_p which is a fast replacement +to mpfr_can_round (x, y, GMP_RNDN, GMP_RNDZ, ...) + +------------------------------------------------------------------------ +r3385 | pelissip | 2005-03-14 09:47:44 +0000 (Mon, 14 Mar 2005) | 2 lines +Changed paths: + M /trunk/tests/texp.c + +Improve an error message. + +------------------------------------------------------------------------ +r3384 | pelissip | 2005-03-10 10:46:06 +0000 (Thu, 10 Mar 2005) | 3 lines +Changed paths: + M /trunk/mul.c + +Fix bug: tmp may have changed in mulhigh code. +Restore it before calling mpn_mul. + +------------------------------------------------------------------------ +r3383 | pelissip | 2005-03-09 15:53:12 +0000 (Wed, 09 Mar 2005) | 2 lines +Changed paths: + M /trunk/mparam_h.in + +Better defaults threshold. + +------------------------------------------------------------------------ +r3381 | pelissip | 2005-03-09 14:24:09 +0000 (Wed, 09 Mar 2005) | 3 lines +Changed paths: + M /trunk/mul.c + +Handle case where Prec(a) ~ estimated prec of mulhigh. +Add one extra limb, and still uses mulhigh. + +------------------------------------------------------------------------ +r3380 | pelissip | 2005-03-09 14:23:19 +0000 (Wed, 09 Mar 2005) | 2 lines +Changed paths: + M /trunk/tuneup.c + +Fix bug: compute Mulder Threshold from n/2+1 instead of (n+1)/2 + +------------------------------------------------------------------------ +r3379 | pelissip | 2005-03-09 12:25:47 +0000 (Wed, 09 Mar 2005) | 2 lines +Changed paths: + M /trunk/configure.in + +Forget ';;' in switch. + +------------------------------------------------------------------------ +r3378 | pelissip | 2005-03-09 11:13:31 +0000 (Wed, 09 Mar 2005) | 2 lines +Changed paths: + M /trunk/Makefile.am + +Add '-v' for tuneup. + +------------------------------------------------------------------------ +r3377 | pelissip | 2005-03-09 11:10:56 +0000 (Wed, 09 Mar 2005) | 2 lines +Changed paths: + M /trunk/mul.c + M /trunk/mulders.c + +Add assertion. + +------------------------------------------------------------------------ +r3376 | pelissip | 2005-03-09 10:49:38 +0000 (Wed, 09 Mar 2005) | 3 lines +Changed paths: + M /trunk/mul.c + M /trunk/tests/tmul.c + +Improve checking +Add test. Short Mulder product failed for this. + +------------------------------------------------------------------------ +r3375 | pelissip | 2005-03-09 10:20:51 +0000 (Wed, 09 Mar 2005) | 2 lines +Changed paths: + M /trunk/configure.in + M /trunk/mul.c + M /trunk/sub1sp.c + +Improve full assertion mode (Check mpfr_mul). + +------------------------------------------------------------------------ +r3373 | pelissip | 2005-03-08 16:06:36 +0000 (Tue, 08 Mar 2005) | 2 lines +Changed paths: + M /trunk/logging.c + M /trunk/mpfr-impl.h + +Move GLIBC detection from mpfr-impl to logging.c + +------------------------------------------------------------------------ +r3372 | pelissip | 2005-03-08 16:06:18 +0000 (Tue, 08 Mar 2005) | 2 lines +Changed paths: + M /trunk/mul.c + +Add log info. + +------------------------------------------------------------------------ +r3371 | pelissip | 2005-03-08 16:06:01 +0000 (Tue, 08 Mar 2005) | 2 lines +Changed paths: + M /trunk/mparam_h.in -2005-02-08 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Improve default threshold. + +------------------------------------------------------------------------ +r3370 | pelissip | 2005-03-08 14:32:09 +0000 (Tue, 08 Mar 2005) | 3 lines +Changed paths: + M /trunk/algorithms.tex + M /trunk/mul.c + M /trunk/tuneup.c + +Add Mulder Short product for mpfr_mul. +Update algorithm.tex to describe the estimated error. + +------------------------------------------------------------------------ +r3369 | pelissip | 2005-03-08 14:14:49 +0000 (Tue, 08 Mar 2005) | 3 lines +Changed paths: + M /trunk/mulders.c + +Add an assert. +Cosmetic change. + +------------------------------------------------------------------------ +r3368 | pelissip | 2005-03-08 14:14:08 +0000 (Tue, 08 Mar 2005) | 2 lines +Changed paths: + M /trunk/mparam_h.in + +Update default values. + +------------------------------------------------------------------------ +r3367 | pelissip | 2005-03-08 14:13:35 +0000 (Tue, 08 Mar 2005) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +Clean up macro namespace. + +------------------------------------------------------------------------ +r3366 | pelissip | 2005-03-08 14:13:07 +0000 (Tue, 08 Mar 2005) | 2 lines +Changed paths: + M /trunk/tests/tgmpop.c + M /trunk/tests/tsqrt.c + +Cosmetics change. + +------------------------------------------------------------------------ +r3365 | zimmerma | 2005-03-08 13:24:44 +0000 (Tue, 08 Mar 2005) | 2 lines +Changed paths: + M /trunk/Makefile.am + A /trunk/get_f.c + M /trunk/mpfr.h + M /trunk/tests/Makefile.am + A /trunk/tests/tget_f.c + +new function mpfr_get_f + +------------------------------------------------------------------------ +r3364 | pelissip | 2005-03-08 08:57:00 +0000 (Tue, 08 Mar 2005) | 3 lines +Changed paths: + M /trunk/add1sp.c + M /trunk/tests/tadd1sp.c + +Fix bug in case of reuse of variable (a,b,a) with Exp(b)=Exp(a)+Prec(b). +Move copy of mantissa after test. + +------------------------------------------------------------------------ +r3363 | pelissip | 2005-03-07 11:40:39 +0000 (Mon, 07 Mar 2005) | 3 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/configure.in + M /trunk/mpfr-gmp.h + M /trunk/mpfr-impl.h + M /trunk/mulders.c + M /trunk/tuneup.c + +Add tune for mpfr_mulhigh +Add --with-mulhigh-size option at configure time. + +------------------------------------------------------------------------ +r3362 | pelissip | 2005-03-04 17:40:53 +0000 (Fri, 04 Mar 2005) | 3 lines +Changed paths: + M /trunk/exp_2.c + M /trunk/tests/texp.c + +Fix bug due to wrong estimation of (get_d (x) / LOG2). +TODO: Rexamine the algorithm of mpfr_exp_2! + +------------------------------------------------------------------------ +r3361 | pelissip | 2005-03-04 17:32:13 +0000 (Fri, 04 Mar 2005) | 2 lines +Changed paths: + M /trunk/exp_2.c + +Transform DEBUG message to LOG message. + +------------------------------------------------------------------------ +r3360 | pelissip | 2005-03-04 17:14:03 +0000 (Fri, 04 Mar 2005) | 2 lines +Changed paths: + M /trunk/mulders.c + +Improve it. + +------------------------------------------------------------------------ +r3359 | pelissip | 2005-03-04 17:13:42 +0000 (Fri, 04 Mar 2005) | 2 lines +Changed paths: + M /trunk/exp_2.c + M /trunk/mparam_h.in + M /trunk/tuneup.c + +Tune mpfr_exp_2 now! + +------------------------------------------------------------------------ +r3358 | pelissip | 2005-03-03 14:59:25 +0000 (Thu, 03 Mar 2005) | 2 lines +Changed paths: + M /trunk/mulders.c + +Fix bugs. + +------------------------------------------------------------------------ +r3357 | pelissip | 2005-03-03 14:25:20 +0000 (Thu, 03 Mar 2005) | 3 lines +Changed paths: + M /trunk/mulders.c + +Update it. +New code for mpfr_mul. + +------------------------------------------------------------------------ +r3356 | pelissip | 2005-03-02 10:46:39 +0000 (Wed, 02 Mar 2005) | 2 lines +Changed paths: + M /trunk/mparam_h.in + +Add new default threshold for different CPU. + +------------------------------------------------------------------------ +r3355 | pelissip | 2005-03-02 10:23:31 +0000 (Wed, 02 Mar 2005) | 2 lines +Changed paths: + M /trunk/README.dev + +Update for tune. + +------------------------------------------------------------------------ +r3354 | pelissip | 2005-03-02 08:57:26 +0000 (Wed, 02 Mar 2005) | 2 lines +Changed paths: + M /trunk/atan.c + M /trunk/tests/tatan.c + +Fix bug in estimated error (See previous ChangeLog). + +------------------------------------------------------------------------ +r3353 | pelissip | 2005-02-24 17:32:25 +0000 (Thu, 24 Feb 2005) | 6 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/configure.in + A /trunk/mparam_h.in + M /trunk/mpfr-impl.h + M /trunk/tests/Makefile.am + A /trunk/tuneup.c + +Add tune program for MPFR. +Do make tune instead of make. +BUT you need to have configure MPFR with --with-gmp-build=... +(It uses internal libspeed.la of GMP). +Tuning is slow... + +------------------------------------------------------------------------ +r3352 | pelissip | 2005-02-24 17:08:27 +0000 (Thu, 24 Feb 2005) | 2 lines +Changed paths: + M /trunk/mulders.c + +Add note. + +------------------------------------------------------------------------ +r3349 | pelissip | 2005-02-22 16:40:41 +0000 (Tue, 22 Feb 2005) | 2 lines +Changed paths: + M /trunk/fits_s.h + M /trunk/fits_u.h + +Tiny optimization + +------------------------------------------------------------------------ +r3348 | pelissip | 2005-02-22 12:30:56 +0000 (Tue, 22 Feb 2005) | 2 lines +Changed paths: + M /trunk/TODO + +Update + +------------------------------------------------------------------------ +r3347 | pelissip | 2005-02-22 12:12:18 +0000 (Tue, 22 Feb 2005) | 2 lines +Changed paths: + M /trunk/const_log2.c + M /trunk/const_pi.c + +Add logging. + +------------------------------------------------------------------------ +r3346 | pelissip | 2005-02-22 10:50:14 +0000 (Tue, 22 Feb 2005) | 4 lines +Changed paths: + M /trunk/div_ui.c + M /trunk/mul_ui.c + M /trunk/si_op.c + M /trunk/ui_div.c + +Reduce InterObject dependency by moving mul_si, div_si and si_div +to the unique function they used. +Improve mul_ui by inlining the rounding. + +------------------------------------------------------------------------ +r3345 | pelissip | 2005-02-21 13:48:23 +0000 (Mon, 21 Feb 2005) | 2 lines +Changed paths: + M /trunk/log.c + +Improve test to 1. + +------------------------------------------------------------------------ +r3344 | lefevre | 2005-02-21 13:08:46 +0000 (Mon, 21 Feb 2005) | 2 lines +Changed paths: + M /trunk/sqrt.c + M /trunk/tests/tcos.c + M /trunk/tests/texpm1.c + M /trunk/tests/tlog10.c + M /trunk/tests/tlog1p.c + M /trunk/tests/tsin.c + +Updated copyright lines. + +------------------------------------------------------------------------ +r3342 | lefevre | 2005-02-21 12:13:00 +0000 (Mon, 21 Feb 2005) | 2 lines +Changed paths: + M /trunk/sub_ui.c + +Code reindented / reformatted. + +------------------------------------------------------------------------ +r3341 | lefevre | 2005-02-21 12:09:47 +0000 (Mon, 21 Feb 2005) | 4 lines +Changed paths: + M /trunk/tests/tui_sub.c + M /trunk/ui_sub.c + +Fixed a bug for u == 0 and x == +0 introduced in ui_sub.c 1.23, +when 0 was taken into account as a special case: the sign of the +result 0 was incorrect. -> Consider the case u == 0 first. + +------------------------------------------------------------------------ +r3340 | zimmerma | 2005-02-19 22:04:01 +0000 (Sat, 19 Feb 2005) | 2 lines +Changed paths: + M /trunk/tests/RRTest.c + M /trunk/tests/tcos.c + M /trunk/tests/texp.c + M /trunk/tests/texpm1.c + M /trunk/tests/tgeneric.c + M /trunk/tests/tlog.c + M /trunk/tests/tlog10.c + M /trunk/tests/tlog1p.c + M /trunk/tests/tpow.c + M /trunk/tests/tsin.c + +added generic tests in tpow + +------------------------------------------------------------------------ +r3339 | zimmerma | 2005-02-18 22:09:19 +0000 (Fri, 18 Feb 2005) | 2 lines +Changed paths: + M /trunk/sqrt.c + M /trunk/tests/tsqrt.c + +fixed bug (variable used twice for different things) + +------------------------------------------------------------------------ +r3338 | zimmerma | 2005-02-18 20:19:44 +0000 (Fri, 18 Feb 2005) | 2 lines +Changed paths: + M /trunk/algorithms.bib + M /trunk/algorithms.tex + M /trunk/mpfr-test.h + M /trunk/tests/RRTest.c + M /trunk/tests/tadd.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tdiv.c + M /trunk/tests/tmul.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsub.c + +more changes for interface with NTL + +------------------------------------------------------------------------ +r3337 | pelissip | 2005-02-18 16:33:39 +0000 (Fri, 18 Feb 2005) | 2 lines +Changed paths: + M /trunk/round_prec.c + +Likely a test. + +------------------------------------------------------------------------ +r3336 | pelissip | 2005-02-18 16:33:25 +0000 (Fri, 18 Feb 2005) | 2 lines +Changed paths: + M /trunk/mulders.c + +Update + +------------------------------------------------------------------------ +r3335 | zimmerma | 2005-02-18 15:28:25 +0000 (Fri, 18 Feb 2005) | 2 lines +Changed paths: + A /trunk/tests/RRTest.c + M /trunk/tests/tadd.c + +added interface for NTL + +------------------------------------------------------------------------ +r3334 | lefevre | 2005-02-16 17:08:25 +0000 (Wed, 16 Feb 2005) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update. + +------------------------------------------------------------------------ +r3333 | lefevre | 2005-02-16 17:05:19 +0000 (Wed, 16 Feb 2005) | 2 lines +Changed paths: + M /trunk/README.dev + +Suppress some spaces. + +------------------------------------------------------------------------ +r3332 | pelissip | 2005-02-16 16:04:54 +0000 (Wed, 16 Feb 2005) | 2 lines +Changed paths: + M /trunk/tests/tpow.c + +Reenable underflow tests. + +------------------------------------------------------------------------ +r3331 | pelissip | 2005-02-16 15:58:48 +0000 (Wed, 16 Feb 2005) | 2 lines +Changed paths: + M /trunk/README.dev + +Update + +------------------------------------------------------------------------ +r3330 | lefevre | 2005-02-16 13:27:24 +0000 (Wed, 16 Feb 2005) | 2 lines +Changed paths: + D /trunk/texinfo.tex + +Removed texinfo.tex, as it can be installed by autoreconf -i. + +------------------------------------------------------------------------ +r3329 | pelissip | 2005-02-16 13:19:25 +0000 (Wed, 16 Feb 2005) | 3 lines +Changed paths: + M /trunk/tests/Makefile.am + +Fix LOADLIBES so that it works (it doesn't due to libtool change). But it +still needs to have s static version of MPFR. + +------------------------------------------------------------------------ +r3328 | lefevre | 2005-02-16 12:54:27 +0000 (Wed, 16 Feb 2005) | 2 lines +Changed paths: + M /trunk/README.dev + +autoreconf -> autoreconf -i + +------------------------------------------------------------------------ +r3327 | pelissip | 2005-02-16 12:49:40 +0000 (Wed, 16 Feb 2005) | 2 lines +Changed paths: + M /trunk/asinh.c + M /trunk/exp3.c + M /trunk/mpfr-impl.h + M /trunk/sin_cos.c + M /trunk/tan.c + +Fix wrong integer types. + +------------------------------------------------------------------------ +r3324 | lefevre | 2005-02-16 11:03:35 +0000 (Wed, 16 Feb 2005) | 2 lines +Changed paths: + M /trunk/ChangeLog + M /trunk/mul.c + M /trunk/sub1.c + M /trunk/sub1sp.c + +Spelling mistakes & reformatted code. + +------------------------------------------------------------------------ +r3322 | lefevre | 2005-02-15 16:28:31 +0000 (Tue, 15 Feb 2005) | 2 lines +Changed paths: + M /trunk/sub1.c - * install-sh, missing, mkinstalldirs, prepare, config.guess, config.sub, depcomp, ansi2knr.1, ansi2knr.c: - Remove automake and libtool files. - Use `automake --add-missing --copy -i` to generate them. +Reformatted code. + +------------------------------------------------------------------------ +r3321 | pelissip | 2005-02-15 14:56:00 +0000 (Tue, 15 Feb 2005) | 2 lines +Changed paths: + M /trunk/tanh.c - * ansi2knr.1, ansi2knr.c: Add support for ansi2knr +Improve initial prec. + +------------------------------------------------------------------------ +r3319 | pelissip | 2005-02-15 14:52:06 +0000 (Tue, 15 Feb 2005) | 3 lines +Changed paths: + M /trunk/tanh.c + +Remove code. +Add special case if t=1. + +------------------------------------------------------------------------ +r3318 | pelissip | 2005-02-15 14:51:51 +0000 (Tue, 15 Feb 2005) | 3 lines +Changed paths: + M /trunk/sub1.c + +mpfr_set doesn't produce an EVEN inexact flag. +Fix this. + +------------------------------------------------------------------------ +r3317 | pelissip | 2005-02-15 14:51:23 +0000 (Tue, 15 Feb 2005) | 2 lines +Changed paths: + M /trunk/cos.c + +USe of mpfr_nexttozero. + +------------------------------------------------------------------------ +r3316 | pelissip | 2005-02-15 14:32:16 +0000 (Tue, 15 Feb 2005) | 2 lines +Changed paths: + M /trunk/atanh.c + +Fix bug: use x instead of xf in LOG. + +------------------------------------------------------------------------ +r3315 | pelissip | 2005-02-15 10:29:31 +0000 (Tue, 15 Feb 2005) | 2 lines +Changed paths: + M /trunk/acos.c + M /trunk/acosh.c + M /trunk/agm.c + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atan.c + M /trunk/atanh.c + M /trunk/cosh.c + M /trunk/erf.c + M /trunk/exp.c + M /trunk/gamma.c + M /trunk/log.c + M /trunk/pow.c + M /trunk/sinh.c + M /trunk/tanh.c + M /trunk/zeta.c + +Log input and ouput of functions. + +------------------------------------------------------------------------ +r3314 | pelissip | 2005-02-15 10:06:39 +0000 (Tue, 15 Feb 2005) | 2 lines +Changed paths: + M /trunk/tan.c + +Fix bug of overflow in tan. + +------------------------------------------------------------------------ +r3313 | pelissip | 2005-02-15 09:54:23 +0000 (Tue, 15 Feb 2005) | 2 lines +Changed paths: + M /trunk/sin.c + M /trunk/sin_cos.c + M /trunk/tan.c + +Use of MPFR_LOG_FUNC. + +------------------------------------------------------------------------ +r3312 | pelissip | 2005-02-15 09:53:44 +0000 (Tue, 15 Feb 2005) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +Do not print final log message if there was no call. + +------------------------------------------------------------------------ +r3311 | pelissip | 2005-02-15 09:39:57 +0000 (Tue, 15 Feb 2005) | 2 lines +Changed paths: + M /trunk/sin.c + +Add ZivLoop for sign + +------------------------------------------------------------------------ +r3310 | pelissip | 2005-02-14 16:02:59 +0000 (Mon, 14 Feb 2005) | 2 lines +Changed paths: + M /trunk/logging.c + +Fix bug: during the display of a logged var, logging is turn off. + +------------------------------------------------------------------------ +r3309 | pelissip | 2005-02-14 15:55:12 +0000 (Mon, 14 Feb 2005) | 3 lines +Changed paths: + M /trunk/cos.c + M /trunk/mpfr-impl.h + +Add MPFR_LOG_FUNC +Use mpfr_cos as testing example. + +------------------------------------------------------------------------ +r3308 | pelissip | 2005-02-14 14:38:06 +0000 (Mon, 14 Feb 2005) | 4 lines +Changed paths: + M /trunk/cache.c + M /trunk/const_euler.c + M /trunk/const_log2.c + M /trunk/const_pi.c + +Add ZivLoop controller for constantes. +Augment exponent range in the cache. +Remove it in const_pi. + +------------------------------------------------------------------------ +r3307 | pelissip | 2005-02-14 14:23:13 +0000 (Mon, 14 Feb 2005) | 2 lines +Changed paths: + M /trunk/get_str.c + +Add generic ZivLoop controller. + +------------------------------------------------------------------------ +r3306 | fousse | 2005-02-14 14:21:50 +0000 (Mon, 14 Feb 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Document mpfr_sum returned int value. + +------------------------------------------------------------------------ +r3305 | pelissip | 2005-02-14 14:18:40 +0000 (Mon, 14 Feb 2005) | 3 lines +Changed paths: + M /trunk/gmp_op.c + M /trunk/log10.c + M /trunk/log1p.c + M /trunk/log2.c + M /trunk/pow.c + M /trunk/pow_si.c + M /trunk/pow_ui.c + M /trunk/pow_z.c + M /trunk/strtofr.c + M /trunk/sum.c + M /trunk/ui_pow_ui.c + M /trunk/zeta.c + +Clean up code. +Add generic ZivLoop controller. + +------------------------------------------------------------------------ +r3303 | fousse | 2005-02-14 13:33:31 +0000 (Mon, 14 Feb 2005) | 2 lines +Changed paths: + M /trunk/sum.c + +Consider return value's precision for rounding in mpfr_sum. + +------------------------------------------------------------------------ +r3302 | zimmerma | 2005-02-14 12:41:16 +0000 (Mon, 14 Feb 2005) | 2 lines +Changed paths: + M /trunk/const_pi.c + +removed garbage + +------------------------------------------------------------------------ +r3301 | pelissip | 2005-02-14 11:26:45 +0000 (Mon, 14 Feb 2005) | 3 lines +Changed paths: + M /trunk/exp2.c + M /trunk/expm1.c + M /trunk/factorial.c + M /trunk/gamma.c + M /trunk/hypot.c + +Clean up +Add ZivLoop + +------------------------------------------------------------------------ +r3300 | pelissip | 2005-02-14 10:55:09 +0000 (Mon, 14 Feb 2005) | 4 lines +Changed paths: + M /trunk/const_log2.c + +Remove malloc/free. +Use of MPFR_INT_CEIL_LOG2 +Add ZivLoop controller. + +------------------------------------------------------------------------ +r3299 | pelissip | 2005-02-14 10:54:42 +0000 (Mon, 14 Feb 2005) | 4 lines +Changed paths: + M /trunk/erf.c + +Clean up code. +Fix bug with Exponent range. +Add ZivLoop controller. + +------------------------------------------------------------------------ +r3298 | pelissip | 2005-02-14 10:54:06 +0000 (Mon, 14 Feb 2005) | 2 lines +Changed paths: + M /trunk/cbrt.c + +Cleanup code. + +------------------------------------------------------------------------ +r3297 | zimmerma | 2005-02-14 10:38:04 +0000 (Mon, 14 Feb 2005) | 2 lines +Changed paths: + M /trunk/const_log2.c + +further efficiency improvement (avoid mpz_init/mpz_clear) + +------------------------------------------------------------------------ +r3296 | pelissip | 2005-02-14 10:11:17 +0000 (Mon, 14 Feb 2005) | 4 lines +Changed paths: + M /trunk/acosh.c + M /trunk/asinh.c + M /trunk/atanh.c + +Add ZivLoop controller. +Clean up code. +Optimize it by removing the # of used vars. + +------------------------------------------------------------------------ +r3295 | pelissip | 2005-02-14 10:10:51 +0000 (Mon, 14 Feb 2005) | 2 lines +Changed paths: + M /trunk/acos.c + M /trunk/asin.c + M /trunk/atan.c + +Add ZivLoop controler. + +------------------------------------------------------------------------ +r3294 | zimmerma | 2005-02-12 16:01:39 +0000 (Sat, 12 Feb 2005) | 2 lines +Changed paths: + M /trunk/algorithms.tex + M /trunk/const_log2.c + M /trunk/mpfr-impl.h + +new faster algorithm for log(2) + +------------------------------------------------------------------------ +r3293 | pelissip | 2005-02-11 13:08:25 +0000 (Fri, 11 Feb 2005) | 2 lines +Changed paths: + M /trunk/configure.in + +Remove detection of C++ and Fortran due to libtool. + +------------------------------------------------------------------------ +r3292 | pelissip | 2005-02-11 11:28:00 +0000 (Fri, 11 Feb 2005) | 3 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/configure.in + M /trunk/tests/Makefile.am + +Clean up configure (more simplier). +Still a bug with CXXCPP to solve. + +------------------------------------------------------------------------ +r3291 | pelissip | 2005-02-11 11:27:36 +0000 (Fri, 11 Feb 2005) | 2 lines +Changed paths: + M /trunk/const_log2.c + M /trunk/mpfr-impl.h + +Clean up const_log2 code. + +------------------------------------------------------------------------ +r3290 | pelissip | 2005-02-10 15:43:41 +0000 (Thu, 10 Feb 2005) | 4 lines +Changed paths: + M /trunk/cosh.c + M /trunk/exp.c + M /trunk/exp3.c + M /trunk/exp_2.c + M /trunk/log.c + M /trunk/sin_cos.c + M /trunk/sinh.c + M /trunk/tan.c + M /trunk/tanh.c + +Add log for other functions. +Add ZivLoop too. +Cleanup exp3. + +------------------------------------------------------------------------ +r3289 | pelissip | 2005-02-09 16:24:18 +0000 (Wed, 09 Feb 2005) | 2 lines +Changed paths: + M /trunk/configure.in + +Update for ICC (disable shared since it doesn't work). + +------------------------------------------------------------------------ +r3288 | pelissip | 2005-02-09 15:05:45 +0000 (Wed, 09 Feb 2005) | 2 lines +Changed paths: + M /trunk/configure.in + +The previous fixs don't work. New one which works but is VERY ugly. + +------------------------------------------------------------------------ +r3287 | pelissip | 2005-02-09 14:26:29 +0000 (Wed, 09 Feb 2005) | 2 lines +Changed paths: + M /trunk/configure.in + +Fix again to avoid fail on laurent5... + +------------------------------------------------------------------------ +r3286 | pelissip | 2005-02-09 14:21:48 +0000 (Wed, 09 Feb 2005) | 2 lines +Changed paths: + M /trunk/configure.in + +Set CXXCPP to "g++ -E" to avoid detection (which may fail on some systems). + +------------------------------------------------------------------------ +r3285 | pelissip | 2005-02-09 14:11:13 +0000 (Wed, 09 Feb 2005) | 2 lines +Changed paths: + M /trunk/configure.in + +Reduce the tested compiler for C++ and Fortran to the minimum. + +------------------------------------------------------------------------ +r3284 | pelissip | 2005-02-09 13:19:17 +0000 (Wed, 09 Feb 2005) | 6 lines +Changed paths: + M /trunk/configure.in + +Update GMP detection to be much more libtool compatible. +As a consequence some tests using AC_RUN_IFELSE may fail due to ugly things +like LD_LIBRARY_PATH no set or wrong selection of libgmp. +So they just produce a warning, not a fatal error. +TODO: Check if we can avoid thoses problems... + +------------------------------------------------------------------------ +r3283 | pelissip | 2005-02-08 15:49:12 +0000 (Tue, 08 Feb 2005) | 3 lines +Changed paths: + D /trunk/ansi2knr.1 + D /trunk/ansi2knr.c + D /trunk/config.guess + D /trunk/config.sub + D /trunk/depcomp + D /trunk/install-sh + D /trunk/missing + D /trunk/mkinstalldirs + M /trunk/prepare + +Remove automake and libtool files. +Use `automake --add-missing --copy -i` to generate them. + +------------------------------------------------------------------------ +r3282 | pelissip | 2005-02-08 13:57:04 +0000 (Tue, 08 Feb 2005) | 2 lines +Changed paths: + A /trunk/ansi2knr.1 + A /trunk/ansi2knr.c + +Add support for ansi2knr + +------------------------------------------------------------------------ +r3281 | pelissip | 2005-02-08 13:54:10 +0000 (Tue, 08 Feb 2005) | 4 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/README.dev + M /trunk/acinclude.m4 + M /trunk/configure.in + M /trunk/mpfr-gmp.h + M /trunk/mpfr-impl.h + M /trunk/mpfr-test.h + M /trunk/mpfr.h + M /trunk/prepare + M /trunk/tests/Makefile.am + M /trunk/tests/tests.c + M /trunk/update-version + +Add support for Shared Library in MPFR (both Unix and Windows) by using libtool. +Improve configure (remove unused macros, make dist produce .zip and .bz2) +Update update-version to modify configure.in too. + +------------------------------------------------------------------------ +r3280 | pelissip | 2005-02-08 13:51:09 +0000 (Tue, 08 Feb 2005) | 2 lines +Changed paths: + M /trunk/NEWS + +Update NEWS. + +------------------------------------------------------------------------ +r3279 | lefevre | 2005-02-04 12:15:25 +0000 (Fri, 04 Feb 2005) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update. + +------------------------------------------------------------------------ +r3278 | pelissip | 2005-02-04 10:25:10 +0000 (Fri, 04 Feb 2005) | 2 lines +Changed paths: + M /trunk/tests/reuse.c + +Add forgotten functions to reuse test. + +------------------------------------------------------------------------ +r3277 | pelissip | 2005-02-04 10:10:37 +0000 (Fri, 04 Feb 2005) | 2 lines +Changed paths: + M /trunk/tests/reuse.c + +Improve reuse tests (Include 1, -1, 1/2, 2, PI and PI/2 now). + +------------------------------------------------------------------------ +r3276 | pelissip | 2005-02-04 09:14:37 +0000 (Fri, 04 Feb 2005) | 2 lines +Changed paths: + M /trunk/atan.c + M /trunk/tests/tatan.c + +Fix bug of atan(-1) (wrong sign). + +------------------------------------------------------------------------ +r3275 | pelissip | 2005-02-03 16:03:50 +0000 (Thu, 03 Feb 2005) | 2 lines +Changed paths: + M /trunk/configure.in + +Remove unused option --disable-cache. + +------------------------------------------------------------------------ +r3274 | pelissip | 2005-02-03 15:59:28 +0000 (Thu, 03 Feb 2005) | 3 lines +Changed paths: + M /trunk/configure.in + M /trunk/exceptions.c + M /trunk/mpfr-impl.h + M /trunk/set_dfl_prec.c + M /trunk/set_rnd.c + +Add option "thread-safe" to configure. +Limited to use with GCC and ICC (using extension __thread). + +------------------------------------------------------------------------ +r3273 | pelissip | 2005-02-03 15:18:17 +0000 (Thu, 03 Feb 2005) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Add description of added functions. + +------------------------------------------------------------------------ +r3272 | pelissip | 2005-02-03 15:09:51 +0000 (Thu, 03 Feb 2005) | 3 lines +Changed paths: + M /trunk/mpf2mpfr.h + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + +mpfr.h doesn't export anymore any globals. +It doesn't define MPFR_FLAGS too. + +------------------------------------------------------------------------ +r3271 | pelissip | 2005-02-03 14:59:39 +0000 (Thu, 03 Feb 2005) | 7 lines +Changed paths: + M /trunk/cache.c + M /trunk/const_euler.c + M /trunk/const_log2.c + M /trunk/const_pi.c + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + +Change user interface for mpfr_const_pi, mpfr_const_log2 and +mpfr_const_euler. No more access to the cache itself. +Create dummy functions which call the cache, and rename old +functions to "_internal". +Internally, it doesn't change at all (You still call directly +the cache instead of the dummy function which calls the cache). + +------------------------------------------------------------------------ +r3270 | pelissip | 2005-02-03 14:43:20 +0000 (Thu, 03 Feb 2005) | 3 lines +Changed paths: + M /trunk/exceptions.c + M /trunk/mpfr.h + M /trunk/tests/texceptions.c + +Add functions mpfr_set_overflow, mpfr_set_underflow, mpfr_set_erangeflag, +mpfr_set_inexflag, mpfr_set_nanflag + +------------------------------------------------------------------------ +r3269 | pelissip | 2005-02-03 14:33:31 +0000 (Thu, 03 Feb 2005) | 4 lines +Changed paths: + M /trunk/add1.c + M /trunk/add1sp.c + M /trunk/add_one_ulp.c + M /trunk/cache.c + M /trunk/div.c + M /trunk/div_2si.c + M /trunk/div_2ui.c + M /trunk/exceptions.c + M /trunk/exp.c + M /trunk/exp2.c + M /trunk/mpfr-impl.h + M /trunk/mul.c + M /trunk/mul_2si.c + M /trunk/mul_2ui.c + M /trunk/mul_ui.c + M /trunk/pow.c + M /trunk/pow_ui.c + M /trunk/pow_z.c + M /trunk/rint.c + M /trunk/round_prec.c + M /trunk/set.c + M /trunk/set_q.c + M /trunk/set_si.c + M /trunk/set_sj.c + M /trunk/set_ui.c + M /trunk/set_uj.c + M /trunk/set_z.c + M /trunk/sqr.c + M /trunk/strtofr.c + M /trunk/sub1.c + M /trunk/sub1sp.c + M /trunk/sub_one_ulp.c + M /trunk/tests/texceptions.c + +Rename internal functions mpfr_set_overflow in mpfr_overflow and + mpfr_set_underflow in mpfr_underflow so that we can add new functions +mpfr_set_underflow and mpfr_set_overflow (which set the global flags). + +------------------------------------------------------------------------ +r3268 | pelissip | 2005-02-03 12:46:18 +0000 (Thu, 03 Feb 2005) | 4 lines +Changed paths: + M /trunk/sin.c + +Add support for logging. +Add support for ZivLoop. +Improve efficiency if prec(op) >> prec(rop), and rop ~= 0 + +------------------------------------------------------------------------ +r3267 | pelissip | 2005-02-03 12:44:51 +0000 (Thu, 03 Feb 2005) | 2 lines +Changed paths: + M /trunk/cos.c + +Fix wrong place for MPFR_LOG_BEGIN. + +------------------------------------------------------------------------ +r3266 | pelissip | 2005-02-03 12:44:15 +0000 (Thu, 03 Feb 2005) | 2 lines +Changed paths: + M /trunk/README.dev + M /trunk/logging.c + +Rename MPFR_LOG_BADCASE in MPFR_LOG_ZIV + +------------------------------------------------------------------------ +r3265 | pelissip | 2005-02-03 12:43:44 +0000 (Thu, 03 Feb 2005) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +Reduce the size of some lines (more than 80 chars). + +------------------------------------------------------------------------ +r3264 | pelissip | 2005-02-02 16:30:05 +0000 (Wed, 02 Feb 2005) | 2 lines +Changed paths: + M /trunk/tests/mpf_compat.h + +Fix again. My previous fix was incorrect. + +------------------------------------------------------------------------ +r3262 | pelissip | 2005-02-02 15:55:38 +0000 (Wed, 02 Feb 2005) | 3 lines +Changed paths: + M /trunk/logging.c + +Fix wrong order of include system files. +(printf.h is not available everywhere). + +------------------------------------------------------------------------ +r3261 | zimmerma | 2005-02-02 15:50:51 +0000 (Wed, 02 Feb 2005) | 2 lines +Changed paths: + M /trunk/sin.c + +inexact flag was inexact :-) + +------------------------------------------------------------------------ +r3260 | pelissip | 2005-02-02 15:49:20 +0000 (Wed, 02 Feb 2005) | 3 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/next.c + M /trunk/sin.c + M /trunk/sub1.c + +Move mpfr_nexttozero and mpfr_nexttoinf from static to mpfr-impl. +Use them in sub1 and sin. + +------------------------------------------------------------------------ +r3259 | pelissip | 2005-02-02 14:58:36 +0000 (Wed, 02 Feb 2005) | 3 lines +Changed paths: + M /trunk/README.dev + A /trunk/logging.c + +Add forgotten logging file. +Add description of new macros in README.dev + +------------------------------------------------------------------------ +r3258 | pelissip | 2005-02-02 14:14:01 +0000 (Wed, 02 Feb 2005) | 2 lines +Changed paths: + M /trunk/cos.c + M /trunk/tests/tcos.c + +Add support for ZivLoop controler and logging. + +------------------------------------------------------------------------ +r3257 | pelissip | 2005-02-02 14:13:39 +0000 (Wed, 02 Feb 2005) | 3 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/configure.in + M /trunk/mpfr-impl.h + +Add experimental logging feature. +Add ZivLoop controler. + +------------------------------------------------------------------------ +r3256 | pelissip | 2005-02-02 14:09:18 +0000 (Wed, 02 Feb 2005) | 3 lines +Changed paths: + M /trunk/tests/mpf_compat.h - * mpfr-test.h, mpfr.h, prepare, tests/Makefile.am, tests/tests.c, update-version, Makefile.am, README.dev, acinclude.m4, configure.in, mpfr-gmp.h, mpfr-impl.h: - Add support for Shared Library in MPFR (both Unix and Windows) by using libtool. - Improve configure (remove unused macros, make dist produce .zip and .bz2) - Update update-version to modify configure.in too. +Forget that mpf doesn't have mpf_free_str. +Fix this. + +------------------------------------------------------------------------ +r3255 | pelissip | 2005-02-02 13:50:45 +0000 (Wed, 02 Feb 2005) | 3 lines +Changed paths: + M /trunk/sub1.c + M /trunk/tests/tsin.c - * NEWS: Update NEWS. +Fix bug of sub1 if dest=src2 and src1 >> src2 +=> Fix problem of mpfr_sin -2005-02-04 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3254 | zimmerma | 2005-02-02 13:45:48 +0000 (Wed, 02 Feb 2005) | 2 lines +Changed paths: + M /trunk/tests/tsin.c + M /trunk/tests/tui_sub.c - * tests/reuse.c: Add forgotten functions to reuse test. +added two tests - * tests/reuse.c: - Improve reuse tests (Include 1, -1, 1/2, 2, PI and PI/2 now). +------------------------------------------------------------------------ +r3253 | pelissip | 2005-02-01 14:50:19 +0000 (Tue, 01 Feb 2005) | 2 lines +Changed paths: + M /trunk/INSTALL + M /trunk/acinclude.m4 + M /trunk/configure.in - * tests/tatan.c, atan.c: Fix bug of atan(-1) (wrong sign). +Now MPFR tries to get GMP's CC and CFLAGS from its build directory. -2005-02-03 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3252 | pelissip | 2005-02-01 09:58:43 +0000 (Tue, 01 Feb 2005) | 4 lines +Changed paths: + M /trunk/configure.in - * configure.in: Remove unused option --disable-cache. +Add AC_COPYRIGHT +Clean up AC_ARG_ENABLE handling +Add `--enable-logging` option. - * configure.in, exceptions.c, mpfr-impl.h, set_dfl_prec.c, set_rnd.c: - Add option "thread-safe" to configure. - Limited to use with GCC and ICC (using extension __thread). +------------------------------------------------------------------------ +r3251 | zimmerma | 2005-01-31 09:37:09 +0000 (Mon, 31 Jan 2005) | 2 lines +Changed paths: + M /trunk/TODO - * mpfr.texi: Add description of added functions. +added item - * mpf2mpfr.h, mpfr-impl.h, mpfr.h: - mpfr.h doesn't export anymore any globals. - It doesn't define MPFR_FLAGS too. +------------------------------------------------------------------------ +r3250 | pelissip | 2005-01-31 08:47:04 +0000 (Mon, 31 Jan 2005) | 2 lines +Changed paths: + M /trunk/set_ld.c - * cache.c, const_euler.c, const_log2.c, const_pi.c, mpfr-impl.h, mpfr.h: - Change user interface for mpfr_const_pi, mpfr_const_log2 and - mpfr_const_euler. No more access to the cache itself. - Create dummy functions which call the cache, and rename old - functions to "_internal". - Internally, it doesn't change at all (You still call directly - the cache instead of the dummy function which calls the cache). +Fix a wrong assertion when double == long double. - * exceptions.c, mpfr.h, tests/texceptions.c: - Add functions mpfr_set_overflow, mpfr_set_underflow, mpfr_set_erangeflag, - mpfr_set_inexflag, mpfr_set_nanflag +------------------------------------------------------------------------ +r3249 | pelissip | 2005-01-31 08:44:16 +0000 (Mon, 31 Jan 2005) | 4 lines +Changed paths: + M /trunk/sin.c - * tests/texceptions.c, set_uj.c, set_z.c, sqr.c, strtofr.c, sub1.c, sub1sp.c, sub_one_ulp.c, set.c, set_q.c, set_si.c, set_sj.c, set_ui.c, mul_2ui.c, mul_ui.c, pow.c, pow_ui.c, pow_z.c, rint.c, round_prec.c, mpfr-impl.h, mul.c, mul_2si.c, div_2ui.c, exceptions.c, exp.c, exp2.c, div_2si.c, add_one_ulp.c, cache.c, div.c, add1.c, add1sp.c: - Rename internal functions mpfr_set_overflow in mpfr_overflow and - mpfr_set_underflow in mpfr_underflow so that we can add new functions - mpfr_set_underflow and mpfr_set_overflow (which set the global flags). +Add loop counter +Check if the result is 0 (Due to new algorithm, it may be 0) +and in that case, increase a lot the precision. - * sin.c: Add support for logging. - Add support for ZivLoop. - Improve efficiency if prec(op) >> prec(rop), and rop ~= 0 +------------------------------------------------------------------------ +r3248 | zimmerma | 2005-01-29 20:40:51 +0000 (Sat, 29 Jan 2005) | 2 lines +Changed paths: + M /trunk/algorithms.tex + M /trunk/sin.c - * cos.c: Fix wrong place for MPFR_LOG_BEGIN. +changed algorithm for mpfr_sin (to get inexact flag) - * README.dev, logging.c: Rename MPFR_LOG_BADCASE in MPFR_LOG_ZIV +------------------------------------------------------------------------ +r3246 | lefevre | 2005-01-29 11:32:17 +0000 (Sat, 29 Jan 2005) | 2 lines +Changed paths: + M /trunk/exp.c + M /trunk/tests/texp.c - * mpfr-impl.h: Reduce the size of some lines (more than 80 chars). +Fixed a sign bug in mpfr_exp (found by Mark J Watkins). -2005-02-02 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3245 | zimmerma | 2005-01-28 16:57:22 +0000 (Fri, 28 Jan 2005) | 2 lines +Changed paths: + M /trunk/sin.c - * tests/mpf_compat.h: Fix again. My previous fix was incorrect. +solved efficiency problem in mpfr_sin_sign for x near Pi -2005-02-02 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r3243 | lefevre | 2005-01-28 14:22:34 +0000 (Fri, 28 Jan 2005) | 3 lines +Changed paths: + D /trunk/tests/tdump.c - * tests/tui_sub.c, sub1.c: Ported 1.36 patch to the 2.1 branch: - Fix bug of sub1 if dest=src2 and src1 >> src2 +Removed tests/tdump.c (was no longer used and mpfr_dump is already +tested in toutimpl.c). -2005-02-02 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3242 | lefevre | 2005-01-28 14:20:09 +0000 (Fri, 28 Jan 2005) | 2 lines +Changed paths: + M /trunk/sin.c - * logging.c: Fix wrong order of include system files. - (printf.h is not available everywhere). +Updated copyright line. -2005-02-02 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r3240 | pelissip | 2005-01-28 13:49:30 +0000 (Fri, 28 Jan 2005) | 2 lines +Changed paths: + M /trunk/cos.c - * sin.c: inexact flag was inexact :-) +Clean up code (due to mix with Paul changes). -2005-02-02 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3239 | pelissip | 2005-01-28 13:43:11 +0000 (Fri, 28 Jan 2005) | 2 lines +Changed paths: + M /trunk/sin_cos.c - * sin.c, sub1.c, mpfr-impl.h, next.c: - Move mpfr_nexttozero and mpfr_nexttoinf from static to mpfr-impl. - Use them in sub1 and sin. +Improve inexact code since sin & cos can't be exact if x != 0 - * README.dev, logging.c: Add forgotten logging file. - Add description of new macros in README.dev +------------------------------------------------------------------------ +r3238 | lefevre | 2005-01-28 13:28:30 +0000 (Fri, 28 Jan 2005) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h - * cos.c, tests/tcos.c: Add support for ZivLoop controler and logging. +Removed a useless test in macro MPFR_UNSIGNED_MINUS_MODULO. - * Makefile.am, configure.in, mpfr-impl.h: - Add experimental logging feature. - Add ZivLoop controler. +------------------------------------------------------------------------ +r3237 | pelissip | 2005-01-28 13:10:04 +0000 (Fri, 28 Jan 2005) | 2 lines +Changed paths: + M /trunk/cos.c + M /trunk/sin.c + M /trunk/sin_cos.c - * tests/mpf_compat.h: Forget that mpf doesn't have mpf_free_str. - Fix this. +Much faster worst case (ie result near 0 or 1). - * tests/tsin.c, sub1.c: Fix bug of sub1 if dest=src2 and src1 >> src2 - => Fix problem of mpfr_sin +------------------------------------------------------------------------ +r3236 | zimmerma | 2005-01-28 13:08:20 +0000 (Fri, 28 Jan 2005) | 2 lines +Changed paths: + M /trunk/cos.c -2005-02-02 Paul Zimmermann <Paul.Zimmermann@loria.fr> +speed-up special case where approximation is 1 or -1 - * tests/tui_sub.c, tests/tsin.c: added two tests +------------------------------------------------------------------------ +r3235 | lefevre | 2005-01-28 13:04:10 +0000 (Fri, 28 Jan 2005) | 2 lines +Changed paths: + M /trunk/rint.c -2005-02-01 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Updated comments about the rounding modes. - * INSTALL, acinclude.m4, configure.in: - Now MPFR tries to get GMP's CC and CFLAGS from its build directory. +------------------------------------------------------------------------ +r3234 | pelissip | 2005-01-28 12:23:55 +0000 (Fri, 28 Jan 2005) | 2 lines +Changed paths: + M /trunk/reldiff.c - * configure.in: Add AC_COPYRIGHT - Clean up AC_ARG_ENABLE handling - Add `--enable-logging` option. +Fix bug and optimize code. -2005-01-31 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r3233 | pelissip | 2005-01-28 11:00:34 +0000 (Fri, 28 Jan 2005) | 3 lines +Changed paths: + M /trunk/get_str.c - * TODO: added item - -2005-01-31 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * set_ld.c: Fix a wrong assertion when double == long double. - - * sin.c: Add loop counter - Check if the result is 0 (Due to new algorithm, it may be 0) - and in that case, increase a lot the precision. - -2005-01-29 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * algorithms.tex, sin.c: - changed algorithm for mpfr_sin (to get inexact flag) - -2005-01-29 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * exp.c, tests/texp.c: - Fixed a sign bug in mpfr_exp (found by Mark J Watkins). - -2005-01-28 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * sin.c: solved efficiency problem in mpfr_sin_sign for x near Pi - -2005-01-28 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * ChangeLog: Update (2.1 branch). - - * tests/tdump.c: - Removed tests/tdump.c (was no longer used and mpfr_dump is already - tested in toutimpl.c). - - * sin.c: Updated copyright line. - - * rint.c, tests/trint.c: - Ported the mpfr_rint fix and test to the 2.1 branch. - -2005-01-28 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * cos.c: Clean up code (due to mix with Paul changes). - - * sin_cos.c: - Improve inexact code since sin & cos can't be exact if x != 0 - -2005-01-28 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * mpfr-impl.h: - Removed a useless test in macro MPFR_UNSIGNED_MINUS_MODULO. - -2005-01-28 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * cos.c, sin.c, sin_cos.c: - Much faster worst case (ie result near 0 or 1). - -2005-01-28 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * cos.c: speed-up special case where approximation is 1 or -1 - -2005-01-28 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * rint.c: Updated comments about the rounding modes. - -2005-01-28 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * reldiff.c: Fix bug and optimize code. - - * get_str.c: - FIx a warning (Wrong proto between declaration and implementation : +FIx a warning (Wrong proto between declaration and implementation : forget some const). -2005-01-28 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * cos.c: Updated copyright line. - - * tests/tgeneric.c, tests/tget_d_2exp.c, tests/tget_sj.c, tests/tget_str.c, tests/tgmpop.c, tests/thypot.c, tests/tlog.c, tests/tmul.c, tests/tmul_ui.c, tests/tout_str.c, tests/toutimpl.c, tests/tpow.c, tests/tpow3.c, tests/trint.c, tests/tset.c, tests/tset_d.c, tests/tset_f.c, tests/tset_ld.c, tests/tset_q.c, tests/tset_si.c, tests/tset_str.c, tests/tset_z.c, tests/tsqr.c, tests/tsqrt.c, tests/tsub.c, tests/tsub1sp.c, tests/tsum.c, tests/tui_div.c, tests/tui_pow.c, tests/tzeta.c, tests/mpf_compat.h, tests/mpfr_compat.c, tests/tabs.c, tests/tacos.c, tests/tadd.c, tests/tadd1sp.c, tests/tadd_ui.c, tests/tasin.c, tests/tcan_round.c, tests/tcbrt.c, tests/tcmp.c, tests/tcmpabs.c, tests/tconst_euler.c, tests/tconst_log2.c, tests/tconst_pi.c, tests/tdiv.c, tests/tdiv_ui.c, tests/teq.c, tests/tests.c, tests/texceptions.c, tests/texp.c, tests/tfactorial.c, tests/tfma.c, tests/tfrac.c, erf.c, exp_2.c, get_d.c, get_ld.c, get_str.c, get_z_exp.c, mpfr.h, mpn_exp.c, pow.c, pow_si.c, pow_ui.c, rint.c, set_str.c, sin_cos.c, sinh.c, tests/mpf_compat.c, cmp_si.c, const_euler.c, const_log2.c, div.c: - Updated copyright lines. - -2005-01-28 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * cos.c: fixed efficiency problem in case of cos(Pi) - -2005-01-28 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * rint.c, tests/trint.c: Fix bug if dest==src. - Transform some MPFR_ASSERTN to MPFR_ASSERTD. - -2005-01-27 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * tests/tset.c, tests/tset_d.c, tests/tset_f.c, tests/tset_ld.c, tests/tset_q.c, tests/tset_si.c, tests/tset_str.c, tests/tset_z.c, tests/tsqr.c, tests/tsqrt.c, tests/tsub.c, tests/tsub1sp.c, tests/tsum.c, tests/tui_div.c, tests/tui_pow.c, tests/tzeta.c, tests/tatan.c, tests/tcan_round.c, tests/tcbrt.c, tests/tcmp.c, tests/tcmpabs.c, tests/tconst_euler.c, tests/tconst_log2.c, tests/tconst_pi.c, tests/tdiv.c, tests/tdiv_ui.c, tests/teq.c, tests/tests.c, tests/texceptions.c, tests/texp.c, tests/tfactorial.c, tests/tfma.c, tests/tfrac.c, tests/tgeneric.c, tests/tget_d_2exp.c, tests/tget_sj.c, tests/tget_str.c, tests/tgmpop.c, tests/thypot.c, tests/tlog.c, tests/tmul.c, tests/tmul_ui.c, tests/tout_str.c, tests/toutimpl.c, tests/tpow.c, tests/tpow3.c, tests/trint.c, tests/tabs.c, tests/tacos.c, tests/tadd.c, tests/tadd1sp.c, tests/tadd_ui.c, tests/tasin.c: - Added missing casts for g++ (2.1 branch). - -2005-01-27 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tests/tests.c: Fix a buffer overflow. - - * get_ld.c, mpfr-impl.h, set_ld.c, tests/tset_ld.c: - New version of mpfr_set_ld and mpfr_get_ld for IEEE Extended Little Endian. - (Due to problem on x86 with extended precision). - -2005-01-27 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * tests/mpf_compat.c, tests/mpf_compat.h, tests/mpfr_compat.c: - partially fixed memory leak - - * sin_cos.c: test for huge cancellation was misplaced - - * tests/tsum.c: fixed memory leak - - * sin_cos.c: fixed inefficiency problem for x near from Pi - - * tests/tui_div.c, tests/tui_pow.c, tests/tzeta.c, tests/tset_q.c, tests/tset_si.c, tests/tset_str.c, tests/tset_z.c, tests/tsqr.c, tests/tsqrt.c, tests/tsub.c, tests/tsub1sp.c, tests/tsum.c, tests/trint.c, tests/tset.c, tests/tset_d.c, tests/tset_f.c, tests/tset_ld.c, tests/tlog.c, tests/tmul.c, tests/tmul_ui.c, tests/tout_str.c, tests/toutimpl.c, tests/tpow.c, tests/tpow3.c, tests/tpow_z.c, tests/tfrac.c, tests/tgeneric.c, tests/tget_d_2exp.c, tests/tget_sj.c, tests/tget_str.c, tests/tgmpop.c, tests/thypot.c, tests/tfma.c, tests/tfactorial.c, tests/texceptions.c, tests/texp.c, tests/tcbrt.c, tests/tcmp.c, tests/tcmpabs.c, tests/tconst_euler.c, tests/tconst_log2.c, tests/tconst_pi.c, tests/tdiv.c, tests/tdiv_ui.c, tests/teq.c, tests/tacos.c, tests/tadd.c, tests/tadd1sp.c, tests/tadd_ui.c, tests/tasin.c, tests/tatan.c, tests/tcan_round.c, tests/tabs.c: - casts to allow compilation with g++ - - * tests/tests.c: added missing cast - - * div.c: added missing casts - -2005-01-25 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * div.c: fixed bug (overlap in mpn_divrem) - -2005-01-24 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * tests/Makefile.in: Removed tests/Makefile.in from CVS. - -2005-01-24 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * pow.c: Fix bug reported by Eric Buchlin by using new function - mpfr_pow_z. - - * Makefile.am, mpfr.h, pow_z.c, tests/Makefile.am, tests/tpow_z.c: - Add new function mpfr_pow_z and its test file. - - * pow_si.c, pow_ui.c, tests/tpow.c: Fix overflows problems. - Clean up overflow handling. - Maybe some bugs remain... - - * tests/tests.c: Add an explicit reference to mpfr_dump so that - you can use this function inside the tests with GDB, even if - you don't use it in the tests. - -2005-01-24 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * pow.c: added check before mpz_get_si() call - -2005-01-24 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * BUGS: Update. - - * INSTALL: Corrections on the typography. - - * README.dev: Corrected English usage. - - * NEWS: Typos. - -2005-01-21 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * tests/Makefile.am: added LOADLIBES=... - -2005-01-21 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * ChangeLog: Update (2.1 branch). - - * strtofr.c, sum.c: - Fixed bug with TMP_MARK (doesn't occur with alloca) (2.1 branch). - [strtofr.c:1.10, sum.c:1.5] - - * tests/tests.c, tests/trint.c: - Forgot to include some headers conditionally in tests (2.1 branch). - [tests/tests.c:1.36, tests/trint.c:1.21] - - * sum.c: Fixed bug in cases n <= 1 (2.1 branch). [sum.c:1.8-1.9] - - * sum.c: Updated Copyright line. - - * sub1.c: - Fixed a huge performance problem in corner cases (2.1 branch). - [sub1.c:1.33-1.35] - - * mpfr.h: Fixed a clash with ncurses preventing from compiling programs - including term.h then mpfr.h (2.1 branch). - - * mpfr-longlong.h: - Updated longlong.h from GMP 4.1.4 (problem with opteron) (2.1 branch). - [mpfr-longlong.h:1.2] - - * get_str.c, mpn_exp.c: - Bugs fixed in get_str, in particular for huge exponents (2.1 branch). - [get_str.c:1.83, mpn_exp.c:1.6] - - * configure.in: Better way to detect the GMP library (2.1 branch). - -2005-01-20 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * sub1.c: Fix again this previous patch! - -2005-01-20 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * get_str.c, mpn_exp.c: fixed problems in get_str for huge exponent - -2005-01-20 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr-longlong.h: - Update longlong from GMP 4.1.4 (problem with opteron). - -2005-01-18 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * sum.c: - Fix bug in case n==0 or n==1 (Reported and fixed by Laurent Fousse). - -2005-01-14 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * sub1.c: Add comments - Fix bug in my patch (Need tests). - - * atan.c: - Optimize mpfr_atan_aux by removing all power of 2 in the sum to - reduce the size of the multiplication, normalize the input to extract - as many zeros as possible and add a special case if the input is 1 - (after normalisation). But it doesn't optimize too much... - I need to invertigate a few more too understand what is still costly. - It seems that mpz_mul is the most called function. - - * tanh.c: Improve and fix tanh for big floats. - - * sub1.c: - Fix bug in some corner case (Just hope it doesn't add new bugs). - It should be much faster in these cases too. - - * const_pi.c: Remove warning - - * TODO: Tiny update - - * acos.c: Fix bug (Forget a debug line). - -2005-01-13 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * sinh.c: Fix overflow bug - Optimize code - - * configure.in: - Fix bug in mpn_sub_nc in case the compiler optimize too much. - -2005-01-12 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr-gmp.c, mpfr-gmp.h, mpfr-impl.h: - Add forgotten 2005 copyright line. - - * configure.in, mpfr-gmp.c, mpfr-gmp.h, mpfr-impl.h: - Fix problem of `mpn_sub_nc' which may or may not be defined in libgmp.a - (Add a test in the configure and a new macro MPFR_HAVE_MPN_SUB_NC) - Add MPFR_LOG2_BIT_PER_MP_LIMB macro - - * acos.c, atan.c: - Massive optimization of mpfr_atan (20x faster than 2.1.0 at 53 bits!) - Minor optimization of mpfr_acos - -2005-01-11 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mulders.c: Fix typo - - * gmp_op.c: Reduce size of code - Optimize a few too. - - * acinclude.m4: Forget 2005 ! - - * acinclude.m4: Improve and fix detection of NAN and GCC bug. - -2005-01-04 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * const_pi.c: new version (completely rewritten) by Paul Zimmermann. - - * atan.c, tests/tatan.c: Fix forgotten '2005' Line. - - * tests/tatan.c, atan.c: Fix wrong inexact value (regression). - FIXME: It seems that adding MPFR_GET_EXP (xp) bits is too much - (since previously it always add 0, but the results were quite - always exact - this bug was only discovered under rare case). - -2005-01-04 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * TODO: added item (mpfr_printf) - -2005-01-04 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * exp_2.c, mpfr-impl.h: - Optimize mpfr_exp2 by inlining some code, and by avoiding using - mpz_sizeinbase. - - * erf.c: Remove unused code. - Remove _MPFR_PROTO for static functions. - Other cosmetic change. - - * const_euler.c, const_log2.c, const_pi.c, get_str.c: - Remove _MPFR_PROTO for static functions. - - * set_str.c: Remove unused code. - - * get_d.c: Optimize mpfr_get_d. - - * README.dev: Add a new configuration to check before releasing MPFR. - - * sum.c, mpfr.h: Fix problem of tab with ncurses. - - * cmp_si.c, get_z_exp.c: Likely some tests - - * div.c, mpfr-gmp.c, mpfr-gmp.h: - Fix bug if not gmp-impl.h (mpn_sub_nc is internal). - Move MPFR_SET_EXP after checking the exponent range. - Minor change in the way to return the ternary value. - -2005-01-01 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * mpfr.h, sum.c: changed tab[] into *tab (and removed 'tab' in mpfr.h) - -2004-12-24 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * div.c: new version (completely rewritten) - - * tests/tsqrt.c, sqrt.c: improved coverage (and fixed bug) - -2004-12-21 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tests/tests.c, tests/trint.c: - Fixed errors reported by Nelson H. F. Beebe - (forget to include sys/fpu.h if defined and math.h if std=c99). - -2004-12-20 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * exp.c: Fix wrong integer type and a test. - - * cos.c: Add some assertion. - - * div_ui.c: Unlikely one test. - Fix wrong integer type - - * sub.c, sub1.c: Reindent the code. - -2004-12-17 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tan.c, sin_cos.c: Optimize mpfr_tan - - * sin.c, sin_cos.c: - Optimize the computing of the sign of sinus if GET_EXP(x) < 0 - - * cos.c: Optimize mpfr_cos. - From 3363 / 21663.99 / 79727 to 3139 / 18920.58 / 69624 (opteron). - - * tests/tset_ld.c: Fix precision used to test long double. - Now it is sizeof(long_double)*CHAR_BIT instead of fixed 113. - - * extract.c: FIx wrong integer types - Add an assertion. - - * div_ui.c: Likely / Unlikely some code. - - * configure.in, get_ld.c, set_d.c, set_ld.c, tests/tset_ld.c: - Fix problem with long double with ICC (Wrong x86 processor flag). - -2004-12-16 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * const_pi.c: Fix wrong integer types. - - * gamma.c: Fix bug. - - * acos.c: Optimize mpfr_acos by choosing a better initial precision. - - * asin.c: - Optimize mpfr_asin by improving the choice of the initial precision. - - * atan.c: Optimize mpfr_atan. - -2004-12-15 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tests/tinp_str.c, inp_str.c: Fix problem with GCC 4.0 20041212. - - * mpfr.h: Remove thread attribut until I found a good way to use it. - - * cos.c: Test - - * get_str.c, strtofr.c: Add 'const' attribute to table. - - * save_expo.c: Remove unused file. - - * configure.in: - New way of detecting GMP libraray, which should be more portable. - -2004-12-14 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tests/amd64.asm, tests/x86.asm, tests/tests.c, tests/tset_ld.c, acinclude.m4, mpfr-test.h, tests/Makefile.am: - Remove useless assembly code. - - * cmp.c, mpf2mpfr.h, mpfr-impl.h, mpfr.h, set.c: - Add "MPFR_USE_NO_MACRO" user macro: it allows the user to link - directly with MPFR functions rather than using Macros to access - them. It doesn't define MPFR variable inside mpfr.h too. - Fix set.c and cmp.c in consequences. - Fix mpf2mpfr.h to use mpfr_get_default_rounding_mode () if needed. - -2004-12-13 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mulders.c: Improved prototype. - - * set_q.c: Fix bug of overflow (I hope). - - * set_q.c, TODO, mpfr.texi: Update mpfr_set_q overflow problem. - - * generic.c: Fix wrong integer types. - -2004-12-10 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * atan.c: - Optimize by increasing with BITS_PER_MP_LIMB instead of log2(prec) - - * atan.c: Clean up code (Fix integer types + rewrite some code). - Optimize the code by reducing the number of used variables inside the loop. - - * asin.c: Replace mpfr_neg to MPFR_CHANGE_SIGN. - - * add1sp.c: Cosmetic changes. - - * acos.c: Clean the code. - Avoid mixing integer types. - Fix bug of overflow if Pi is in the range but not Pi/2. - - * asin.c: - Clean up the code (Removing useless variables and avoid mixing wrong integer types). - Optimize the code by improving memory allocation scheme and by incrementating by - BITS_PER_MP_LIMB in case of an error instead of MPFR_INT_CEIL_LOG2 (prec). - Fix an overflow bug for X=+/-1 (If PI is inside the exponent range, but not PI/2). - -2004-12-09 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr.h: Simplify MPFR_SIGN by removing unnecessary ( ). - - * mpfr.h: Add support for new attribut sentinel in incoming GCC 4.0 - - * sin_cos.c, sin.c: Optimize initial precision in case of EXP(x) < 0. - - * cache.c, mpfr-impl.h, set.c, tests/tset.c, tests/tset_sj.c: - Optimize mpfr_set4. - Inline rounding in mpfr_set4 and mpfr_cache - mpfr_set4 dosn't return MPFR_EVEN_INEX (It was undocumented before). - Fix problems with tests (Avoid mixing MPFR_EVEN_INEX and 1). - Add MPFR_RNDRAW_EVEN for rounding with MPFR_EVEN_INEX inexact support - -2004-12-08 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr-impl.h, mul.c, tests/tsqr.c: - Optimize mpfr_mul by inlining and rewriting the rounding. - It seems that GCC option `-frename-registers` for mpfr_mul / Athlon XP - improves its performance (But it decreases it on Pentium4)... - -2004-12-01 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * mulders.c: first try to implement Mulders' algorithm - -2004-11-29 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * TODO: Update TODO. - -2004-11-29 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * tests/tdiv.c: added new tests for corner cases - - * algorithms.bib, algorithms.tex: added algo for pi - -2004-11-25 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tan.c: Change initial term if exp(a)<0. - - * sin_cos.c: Simplify the inner loop. - - * sin_cos.c: Change initial precision if EXP(op) < 0. - -2004-11-23 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * set_z.c: Optimize code and rewrite the rounding part. - FIXME: It seems that the previous rounding code was buggy. Still I am not sure. - - * tests/tconst_log2.c, tests/tgmpop.c: Improve tests. - -2004-11-19 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * log.c: - Improve the initial value of prec: 10% improvement (?) on average. - - * tests/trandom.c: Improve coverage test. - - * tests/tui_pow.c, ui_pow_ui.c: - Fix bug for mpfr_ui_pow_ui (Wrong inexact flag). - - * tests/tcmp.c, tests/tcmp_ui.c, tests/texceptions.c, tests/tget_z.c, tests/tpow.c, tests/tset.c, tests/tset_sj.c, tests/tsgn.c, tests/tsqr.c, get_z.c, tests/tabs.c, ufloor_log2.c: - Improve coverage tests. - - * INSTALL, README.dev, mpfr-impl.h: Fix typos in INSTALL. - Sort README.dev, and add a new section about How to write a MPFR function. - Add a link to README.dev in mpfr-impl.h. - - * cos.c: Fix a bug on some compilators: - First MPFR_SAVE_EXPO_DECL, then TMP_DECL. - -2004-11-18 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * pow_si.c, tests/tpow.c: Fix an overflow bug. - - * set_si_2exp.c, set_ui_2exp.c, tests/tset_si.c: - Fix bug with inexact flag. - FIXME: Maybe still a bug with inexact flag if overflow in mpfr_mul_2exp ? - - * Makefile.am, mpfr-impl.h, pow_ui.c: - Remove mpfr_save_emin_emax and mpfr_restore_emin_emax - from MPFR library since they are useless. - - * set.c: Forget to remove rndraw.c test. - - * acosh.c, add_ui.c, asin.c, asinh.c, atan.c, const_log2.c, const_pi.c, cos.c, cosh.c, exp.c, exp2.c, gamma.c, hypot.c, mpfr-impl.h, pow_si.c, pow_ui.c, rint.c, set.c, set_d.c, set_ld.c, set_q.c, set_si_2exp.c, set_ui_2exp.c, sqrt_ui.c, sub_ui.c, tanh.c, ui_pow.c, ui_pow_ui.c, acos.c: - Replace use of mpfr_save_emin_emax () / mpfr_restore_emin_emax() - by MPFR_SAVE_EXPO macros (DECL, MARK and FREE) which are faster - and thread safe. - -2004-11-18 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * mpfr.texi: - Fix (2.1 branch): GMP -> MPFR Copying Conditions (noted by Patrick). - -2004-11-18 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * agm.c: Enable fast computing. - -2004-11-18 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * mpfr.texi: Fix: GMP -> MPFR Copying Conditions (noted by Patrick). - -2004-11-18 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr-impl.h: - Reorder the file and put sections to make it cleaner and more readable. - - * log.c: Reduce number of used variables. - Optimize code and clean it. - -2004-11-18 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * mpfr.texi: - In HTML, suppress the non-existing link to GMP (2.1 branch). - - * mpfr.texi: In HTML, suppress the non-existing link to GMP. - -2004-11-18 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * init2.c, mpfr-impl.h: - Add a prototype of own TMP_ALLOC. Don't know if it is a good idea. - To enable it, just build MPFR with MPFR_USE_OWN_TMP_ALLOC. - -2004-11-17 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * strtofr.c, sum.c, sqrt.c: Fix bug with TMP_MARK. - -2004-11-16 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * pow_ui.c: Optimize the code: - + Special case for n == 2 - + The first squaring is done using the original input. - - * init2.c: Add new assertion to check. - - * cmp2.c: Likely / Unlikely some tests. - -2004-11-15 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * agm.c: Add unused code (Still needs a proof). - - * set_prec.c, set_rnd.c, set_ui.c, get_exp.c, mpfr.h, set_dfl_prec.c: - Add macro version for small functions: - mpfr_get_prec, mpfr_get_exp, mpfr_get_default_rounding_mode, - mpfr_get_default_prec and mpfr_set_ui - - * atan.c: Refix another bug (The same). - - * atan.c: - Fix a bug (Use __gmpfr_ceil_log2 instead of MPFR_INT_CEIL_LOG2). - -2004-11-12 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * algorithms.tex: added algorithm for mpfr_sqrt - improved algorithm for mpfr_div - - * sqrt.c: use MPFR_SET_EXP/MPFR_GET_EXP instead of MPFR_EXP(r)++ - -2004-11-12 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * sqrt.c: - Bug fix: delayed all the initializations after the singular test. - -2004-11-11 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * sqrt.c: Untabified the source. - - * sqrt.c: - The test MPFR_GET_EXP(u) != MPFR_EMAX_MAX is no longer necessary - since we decided to lower MPFR_EMAX_MAX to avoid such tests. - -2004-11-10 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr-impl.h, sqrt.c: - Remove use of CNST_LIMB and TMP_ALLOC_LIMB which are GMP internal. - Add MPFR_LIMB_ZERO. - -2004-11-10 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * sqrt.c, tests/tsqrt.c: new simpler and faster code - -2004-11-10 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * pow.c, pow_si.c, sin.c, sin_cos.c, sinh.c, sum.c, tan.c, tanh.c, acos.c, acosh.c, asin.c, asinh.c, atan.c, atanh.c, const_euler.c, const_log2.c, const_pi.c, cosh.c, erf.c, exp2.c, exp3.c, expm1.c, factorial.c, gamma.c, get_str.c, hypot.c, log10.c, log1p.c, log2.c: - Replace __gmpfr_ceil_log2 by MPFR_INT_CEIL_LOG2 when possible. - - * mpfr-impl.h: Add __extension__ to avoid warning useless in GCC. - -2004-11-03 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * README: Update. - - * ChangeLog: Update (2.1 branch). - - * mpfr.texi: Updated month: October -> November (2.1 branch). - - * configure.in: - [2.1 branch] Modified an error message, since the code checking for - GMP library hadn't been modified in the branch. - -2004-11-03 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr-impl.h: Fix wrong Visual C++ code. - -2004-11-02 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * acinclude.m4, configure.in: - Code checking for GMP library wasn't working (always returning "yes"?). - -2004-10-27 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * acinclude.m4: Updated copyright line (2.1 branch). - - * acinclude.m4: Updated copyright line. - - * BUGS: Added a bug and updated copyright line (2.1 branch). - - * BUGS: Added a bug and updated copyright line. - - * tests/tsub1sp.c, tests/ttanh.c, tests/texp.c, tests/texp2.c, tests/tgamma.c, tests/tlog.c, tests/tmul.c, tests/tmul_ui.c, tests/trandom.c, tests/trint.c, tests/tround_prec.c, tests/tset.c, tests/tset_exp.c, tests/tset_ld.c, tests/tset_si.c, tests/tset_str.c, tests/tset_z.c, tests/tatan.c, tests/tcos.c, tests/tcosh.c, tests/tdiv.c, tests/tests.c, tests/texceptions.c, set_d.c, tests/mpf_compat.h, tests/tacos.c, tests/tadd1sp.c, tests/tasin.c, acinclude.m4, mpfr-impl.h, mpfr-test.h, ChangeLog: - Ported the latest modifications to the 2.1 branch. - - * ChangeLog: Update. - - * mpfr-impl.h, set_d.c: - Removed the definitions of DBL_POS_INF/DBL_NEG_INF/DBL_NAN for - Visual C++ as they were incorrect. Modified DOUBLE_ISINF(x) so - that infinities are no longer used (this should fix a part of - the problem for Visual C++). If IEEE 754 is not supported, one - should probably use the standard INFINITY macro instead of - (1.0/0.0), since (1.0/0.0) is specific to IEEE 754. - - * acinclude.m4, tests/tests.c: - Applied patch by Steve M. Robbins for non-IRIX MIPS systems - (originally for MPFR 2.0.3). - -2004-10-26 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * tests/tadd1sp.c, tests/tsub1sp.c: Reformatted the code. - - * tests/tsub1sp.c, tests/ttanh.c, tests/tset_ld.c, tests/tset_si.c, tests/tset_str.c, tests/tset_z.c, tests/tround_prec.c, tests/tset.c, tests/tset_exp.c, tests/trint.c, tests/trandom.c, tests/tlog.c, tests/tmul.c, tests/tmul_ui.c, tests/texp2.c, tests/tgamma.c, tests/tcosh.c, tests/tdiv.c, tests/tests.c, tests/texceptions.c, tests/texp.c, tests/tcos.c, tests/tacos.c, tests/tadd1sp.c, tests/tasin.c, tests/tatan.c, mpfr-test.h: - Replaced mpfr_set_emin/emax by set_emin/emax in tests to check - the return value; defined set_emin/emax in "tests/tests.c". - Fix: added missing #include <string.h> in "tests/tests.c". - Removed variable names in prototypes in "mpfr-test.h". - -2004-10-22 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * tests/mpf_compat.h: Reformatted the code -> GNU style. - - * tests/tinp_str.c, tests/tout_str.c, tests/tset_str.c, tests/tstrtofr.c, mul.c, set_str.c, strtofr.c, tests/mpf_compat.h, tests/tests.c, mpfr-impl.h, mpfr-test.h, mpfr.h, mpfr.texi, INSTALL, NEWS, README, README.dev, configure.in, AUTHORS, BUGS, ChangeLog: - Ported the latest modifications to the 2.1 branch. - - * ChangeLog: Update. - -2004-10-22 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tests/tests.c: - Declaration of "tests_rand_start" and "tests_rand_end" with the same storage class specifier - in tests.c (static missing line 65 and 109). - -2004-10-21 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * strtofr.c: - Bug fixed: cast to unsigned char instead of int for isspace (no, - these are not "psycho" systems, just systems with signed chars). - Untabified the source. - -2004-10-20 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * configure.in: Improve ICC CFLAGS by removins meaningless warnings. - - * strtofr.c: Remove some warnings on some "psycho" systems. - - * README.dev: Update the chapter "Make a release". - - * mpfr-test.h, tests/mpf_compat.h, tests/tests.c, tests/tinp_str.c: - Fix bug when you build MPFR outside source directory. - Add function src_fopen to open a file in the source directory, which - may be different from the current directory. - - * INSTALL: Fix a typo. - -2004-10-19 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * mpfr.texi: Another correction (English). - - * mpfr.texi: Minor correction. - -2004-10-19 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * NEWS: Update NEWS to reflect the change in mpfr_set_str. - - * mpfr.texi, set_str.c, tests/tset_str.c: - Update mpfr_set_str to be much more like strtofr. - Update the documentation to reflect the changes. - -2004-10-19 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * mpfr.texi: changed contributors section - -2004-10-19 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * NEWS: Add a line about binary compatibility. - -2004-10-19 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * mpfr.texi: changed "contributors" section - - * mul.c: changed rights (remove executable permission) - -2004-10-18 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * mpfr.texi: Misc corrections: - + spelling mistakes - + consistency: in direction @var{rnd} -> in the direction @var{rnd} - + @code{NULL} pointer -> null pointer (as in the C standard) - + in the example for mpfr_inits2 / mpfr_clears: NULL -> (void *) 0 - as NULL isn't necessarily a pointer. - -2004-10-18 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * BUGS, README: Update - - * tests/tstrtofr.c, set_str.c, strtofr.c, tests/tset_str.c, mpfr.h, mpfr.texi: - Change "unsigned int" to "int" for base in proto of strtofr. - Change set_str to use strtofr (Fix a bug too). - Limit base to 36 in strtofr (since get_str is limited to 36). - Update documentation to reflect the changes. - mpfr_get_d1 is moved to section internal in the documentation. - Update the tests. - - * mpfr-impl.h: Hard code NAN, +INF and -INF values for MVC. - - * tests/mpf_compat.h, tests/tout_str.c: - Fix problem on systems where "/dev/null" doesn't exist. - -2004-10-16 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * AUTHORS, mpfr.texi: Misc corrections. - -2004-10-15 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * README.dev: Updated the section "To make a release". - - * VERSION, mpfr.h, mpfr.texi, version.c: - Updated the version on the trunk. - - * ChangeLog: Update. - - * NEWS: Update for 2.1.0. - -2004-10-13 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * README.dev: - Added a comment about autoreconf and a bug in Debian (now fixed). - -2004-10-12 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * INSTALL: Add a note about Windows 64. - -2004-10-11 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr.texi: Update documentation. - - * INSTALL: Improve Windows installation. - - * README.dev: Add a line about "near" and "far". - -2004-10-07 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * acinclude.m4, configure.in, tests/tget_str.c: - Add support for ".lib" since it seems to work. - Display GMP version inside the configure. - -2004-10-05 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * tests/tget_str.c: added one new test - -2004-10-04 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * tests/tget_str.c: Added worst cases. - -2004-10-02 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * tests/tset_str.c: added new tests (worst-case) - -2004-10-01 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * tests/tget_str.c: added new worst-cases (directed rounding) - - * TODO: added new function to implement (dilog) - -2004-09-30 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * get_str.c: fixed bug in get_str_aux when one extra digit - -2004-09-30 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * mpfr.h, mpfr.texi, rint.c, tests/trint.c: - Added functions mpfr_rint_round, mpfr_rint_trunc, mpfr_rint_ceil, - mpfr_rint_floor. - -2004-09-30 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tests/tget_str.c: Add new test (One failed). - -2004-09-30 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * get_sj.c: - The cast to uintmax_t wasn't really useful, so I removed it. - Added a comment. - - * get_sj.c: The real fix for sizeof(intmax_t) == sizeof(mp_limb_t). - -2004-09-30 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * get_sj.c: Fix a bug if sizeof(intmax_t) == sizeof(mp_limb_t) - -2004-09-29 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * tests/tget_str.c: added worst-case - -2004-09-29 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * TODO, cmp.c, cmp_abs.c, cmp_d.c, cmp_si.c, cmp_ui.c, mpfr.texi, tests/tcmp.c, tests/tcmp_d.c, tests/tcmp_ld.c, tests/tcmp_ui.c, tests/tcmpabs.c: - cmp(x,y) if x=NAN or y=NAN returns 0 and erange flag. - - * NEWS, mpfr.texi: - Update documentation and NEWS to reflect new functions - and functionnality. - - * get_z.c, strtofr.c: Improve assertion. - - * tests/tset_si.c, exceptions.c, get_si.c, get_sj.c, get_ui.c, get_uj.c, mpfr-impl.h, set_sj.c, set_uj.c, tests/texceptions.c, tests/tget_sj.c, tests/tset_sj.c: - Add mpfr_clear_erangeflag and mpfr_erangeflag_p. - Add test for theses two functions. - mpfr_get_[s/u][i/j] have a deterministic behavior in case of OVERFLOW. - (Return the MINIMUM or the MAXIMUM in the current type, and set - ERANGE_flag). - - * Makefile.am, fits_intmax.c, fits_uintmax.c, mpfr.h, tests/tfits.c: - Add mpfr_uintmax_p and mpfr_intmax_p. - - * TODO, INSTALL: Update INSTALL about C++ - Update TODO and VERSION. - - * mpfr-impl.h, mpfr.texi, mpfr.h: - Move mpfr_inits from mpfr-impl to mpfr.h. - Add doc too. - -2004-09-28 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * get_sj.c, get_uj.c: Reindent the sources (again). - - * mpn_exp.c: - Fix how to detect overflow so that it can be build with GCC -ftrapv - option without any bugs (In the previous code, the overflow was - detected afterwards, whereas, now, it is detected before). - Fix also another real problem of overflow (Addition of two signed integers). - - * div.c: Rename this variable again. - - * div.c: - Replace variable 'near' to 'the_real_near' since MSVC incorreclty - recognize "far" and "near" as obsolete keywords (100% incorrect, and - clearly MSVC fault but it doesn't cost many things to change the name). - -2004-09-27 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr.texi: Fix typo in the documentation about get_ functions. - - * get_sj.c, get_uj.c: Retab the sources. - -2004-09-27 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * NEWS: - Added mpfr_get_uj and mpfr_get_sj in the changes 2.0.3 -> 2.1.0. - - * TODO: Added an item about the future MPFR_FLAGS_ERANGE flag. - - * Makefile.am, get_sj.c, get_uj.c, mpfr.h, mpfr.texi, tests/Makefile.am, tests/tget_sj.c: - New functions mpfr_get_sj and mpfr_get_uj, with tests. - -2004-09-27 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * set_sj.c: Remove MPFR_NEED_LONGLONG_H macro. - -2004-09-26 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * set_sj.c: Added a cast to avoid an integer overflow. - -2004-09-24 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * get_si.c: Fixed integer overflow. - - * get_si.c: Fixed bugs (like those in mpfr_get_ui). - - * README.dev: - The standard autoreconf script should now be used instead of prepare. - -2004-09-24 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * get_ui.c: forgot to check for 0 - - * get_ui.c: now use mpfr_rint() - -2004-09-24 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr.texi: Update doc of mpfr_get_str (Minimum space is 7). - -2004-09-24 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * get_ui.c, tests/tset_si.c: fixed double-rounding bug in get_ui - -2004-09-23 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpf2mpfr.h: Prevent from multiple inclusion. - mpf_init inits to 0 rather than NAN. - - * mpfr.h: Fix some tiny problems. - -2004-09-23 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * TODO: added item on rounding to odd - -2004-09-21 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * strtofr.c: Fix a bug in FreeBsd 5.20 / Alpha / Gcc 3.3.3. - Nor a MPFR bug, but add some code to avoid it. - - * strtofr.c, tests/tstrtofr.c: Add a new test and clarify a comment. - - * strtofr.c: Update Assertion for pow2. - -2004-09-20 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * NEWS: Update NEWS. - - * TODO: Update TODO due to new function mpfr_strtofr - - * configure.in, get_d.c, mpfr-impl.h, mpfr.h, set_d.c, strtofr.c, tests/memory.c, tests/tdiv.c, tests/tests.c, tests/tget_str.c, tests/trint.c, tests/tset_d.c, tests/tset_q.c, tests/tset_str.c, tests/tstrtofr.c: - Add ICC detection && support. - Remove some potential warnings in the test files. - - * Makefile.am, mpfr.texi, strtofr.c, tests/Makefile.am, tests/tstrtofr.c: - Add mpfr_strtofr function. - Add mpfr_strtofr test file. - Add mpfr_strtofr documentation. - - * configure.in: Improve GMP.h vs libgmp.a version checking. - -2004-09-17 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * TODO: added one entry (new function 1/sqrt(x)) - -2004-09-17 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * acinclude.m4, configure.in, tests/Makefile.am: - Use LIBS instead of LDADD for libraries (GMP). - - * configure.in: Min GMP version is 4.1.0 now. - -2004-09-16 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * configure.in: - Add a check if both gmp.h and libgmp.a have the same version. - - * mpfr-impl.h: Fix a typo. - -2004-09-15 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tests/tset_str.c: Add a forgotten regression test "1.2.3" - -2004-09-15 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * config.sub, config.guess: - Update from the autotools-dev Debian package. - - * ChangeLog: Update. - -2004-09-14 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr-impl.h: Add 2 new macros for handling correctly overflow. - -2004-09-13 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * set_str.c: fixed bug (several '.' allowed in mantissa) - -2004-09-03 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * INSTALL: added notes for Windows - -2004-09-02 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * TODO: Add a line about Dynamic Version of MPFR. - -2004-09-01 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * mpfr.texi: added warnings about init functions (mpf wrt mpfr) - -2004-08-31 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr.texi: Update documentations. - - * tests/tget_z.c, get_z.c, mpfr.h: Rename mpz_set_fr to mpfr_get_z. - Provide a conditionnal macro for mpz_set_fr. - - * mpfr.texi: Add doc for mpfr_sqr. - - * mpfr.texi: Fix month. - -2004-08-26 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tests/texp.c: Add a new test to check overflow. - -2004-08-24 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * exp_2.c: - Try to retype correctly the functions (replace int by the correct type). - Still some works to do. - -2004-08-23 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr-impl.h: Add description of what does MPFR_INT_CEIL_LOG2. - - * Makefile.am, exp_2.c, isqrt.c: - Move __gmpfr_isqrt and __gmpfr_cuberoot to another file. - Clean up the code of mpfr_exp_2: remove DEBUG condition to use TRACE, ASSERT and DUMP. - Use MPFR_INT_CEIL_LOG2 instead of __gmpfr_ceil_log2. - - * mpfr-impl.h: Improve a comment. - - * int_ceil_log2.c, mpfr-impl.h, Makefile.am: - Add MPFR_INT_CEIL_LOG2 macro and __gmpfr_int_ceil_log2 function - (don't use function but macro). - - * set_str.c: Fix 2 typos. - -2004-08-19 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tests/tpow.c: - Fix a bug on 64-bits introduced due to huger MPFR_EMAX_MAX. - - * exceptions.c, mpfr-impl.h, mpfr.h, mpfr.texi: - Add new functions: mpfr_get_emin_min, mpfr_get_emax_max, mpfr_get_emin_max and - mpfr_get_emax_min. - Add documentation and explanation about potential portability problem when - you mpfr_set_emin and mpfr_set_emax. - -2004-07-28 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * Makefile.am: - Added mpfr-longlong.h to libmpfr_a_SOURCES so that it is distributed - with make dist. - - * Makefile.am: - Added mpfr-gmp.h to libmpfr_a_SOURCES so that it is distributed - with make dist. - -2004-07-26 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * README.dev: Add a new section. - -2004-07-20 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * Makefile.am, mpfr.h, sqr.c, tests/Makefile.am, tests/tsqr.c: - Add function mpfr_sqr (TODO: Make doc) - -2004-07-19 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * zeta.c: Fix an unsigned/signed comparison. - - * mpfr-gmp.h: Improve the emulation of mpn_sqr_n and fix some typos. - -2004-07-16 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr-impl.h, mpfr.h: Remove unused item "rnd_mode" in cache struct. - - * mpfr.texi, tests/tversion.c, version.c, mpfr.h: - Renamme mpfr_version to mpfr_get_version to be more GMP compatible. - Add macro mpfr_version. - - * round_raw_generic.c, cmp_ui.c: Likely some tests. - -2004-07-15 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * set_si.c, mpfr.h: Add a speciliation for set_si for GCC. - -2004-07-09 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * agm.c: Try to optimize a few agm by rewriting a few the loop. - - * sqrt.c: Likely / Unlikely some tests using gcov. - -2004-07-06 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr-impl.h: Remove some unused code. - Add MPFR_LMIB_PER_DOUBLE - Add MPFR_DUMP - Add MPFR_TRACE - - * set_d.c: Likely some tests. - - * get_d.c: Used static precision for the array of limb for double. - - * mul_ui.c: Likely some tests / Other minor optimisations. - - * ui_div.c: Minor modifications. - - * div_2si.c, div_2ui.c: - Unlikely a test so that it is faster when you call theses functions - with the same dest and source which is the common case in MPFR. - - * mul_2si.c, mul_2ui.c: - Likely a test to optimize when dest and src are the same - (which is very likely inside MPFR). - - * cache.c: Likely a test (since cache should always work fine). - -2004-06-28 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * exp_2.c, get_d.c: - Add some likely, and use a static table instead of a dynamic one. - -2004-06-16 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * asin.c, atan.c: Unlikely some tests. - -2004-06-10 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * set_z.c: Likely / Unlikely the code. - - * mpfr-impl.h: Respace some macro. - - * save_expo.c: Retab some lines. - - * get_z.c: Optimize a bit. - - * sin.c, tests/tsin.c: Fix an overflow bug. - -2004-06-08 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * exp3.c, tests/texp.c: fixed bug in mpfr_exp_3 (wrong assert) - -2004-05-27 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr.h: Fix typos. - - * mpfr.texi: Update doc. - -2004-05-18 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * cos.c: - fixed problem for x near from Pi/2 (the internal precision should take - into account the cancellation) - -2004-05-18 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * sin.c, tests/tsin.c: Improve tests for sin. - -2004-05-18 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * sin.c: mpfr_sin_sign() should use at least MPFR_GET_EXP() bits - -2004-05-17 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * TODO: Remove an item. - -2004-05-12 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tests/tcos.c, tests/ttan.c: Add a potential test (Too slow). - - * tan.c: Simplify the code. - -2004-05-11 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * cos.c: Remove a C++ comment. - -2004-05-10 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * cos.c: Remove a forgotten "assertd" which isn't useful anymore. - -2004-05-07 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * cos.c, mpfr-impl.h: Optimize cos. - -2004-05-07 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * cos.c: - improved initial value of working precision (did not take into account - 2K lost bits for large arguments) - -2004-05-06 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * acos.c, asin.c, atan.c, exp2.c, tests/tacos.c, tests/tasin.c, tests/tatan.c, tests/texp2.c, tests/ttanh.c: - Fix overflow and add corresponding tests. - - * gamma.c: Fix a bug in a formula. - - * exp2.c: Optimize it a bit. - - * exp.c, exp_2.c, gamma.c, tests/texp.c, tests/tgamma.c: - Fix overflow problems. - - * gamma.c, tests/tcosh.c: Fix overflow bug. - -2004-05-05 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * gamma.c: Remove the double vars. (Use fixed instead). - - * TODO: Add a note about tanh. - - * tanh.c, tests/ttanh.c: Fix a bug in cas of overflow in tanh. - - * tanh.c: Optimize a few by reducing the # of used vars. - - * tests/tcosh.c, cosh.c: - Fix critical bugs due to different kind of overflow in cosh. - - * mpfr-impl.h: Add MPFR_TMP_INIT_ABS macro. - - * const_pi.c, cosh.c: - Optimize cosh a few by removing an unused intermedary var. - - * const_log2.c: Fix a critical bug in case of overflow. - -2004-05-04 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * cos.c, tests/tcos.c, tests/tlog.c: - Fix a critical bug in cos in case you have set the float range for the exponents. - - * cos.c: Optimize a few cos. - - * log.c: Optimize the way of computing initial precision. - - * tests/tlog.c: - Add a test to check an overflow in const_pi (called by log in case of emulation of the float type). - - * const_pi.c: Move to ASSERT mode some code. - - * const_pi.c: - Push/Pop emin/emax so that an overflow can't occur in mpfr_set_z(x,pi,r) - Add test too. - - * mul_2ui.c: Add some UNLIKELY to the while. - - * exp.c: Add some UNLIKELY to the tests. - - * add1sp.c, tests/tadd1sp.c: Fix an overflow bug in add1sp. - -2004-04-30 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * gmp_op.c, tests/tgmpop.c: - Ported bug fix / test in case a mpz_t == 0 (mpz_sizeinbase(0Z,2)==0 - and MPFR_PREC_MIN=2) to the 2.0 branch (fixed on 2004-04-07 in the - trunk). - -2004-04-29 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * acinclude.m4: Fix a typo in AC_MY_LIBS. - -2004-04-28 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * cmp.c, mpfr.h: Add mpfr_cmp as a real function, not only a macro. - - * mpfr.h, set.c: Add mpfr_set and mpfr_abs as real functions. - -2004-04-27 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr.h: When using GCC, optimize certain common comparisons. - -2004-04-27 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * TODO: added one item - -2004-04-27 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * agm.c: Minor Optimizations. - - * cache.c: Fix a bug (Use nextbeloz instead of sub_one_ulp). - -2004-04-21 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * configure.in, mpfr-impl.h: Add option in configure: --disable-cache - to disable the use of the cache for the const. - - * mpfr.texi: Fix a typo. - - * tests/tconst_log2.c, tests/tconst_pi.c, cache.c, const_euler.c, const_log2.c, const_pi.c, free_cache.c, mpfr-impl.h, mpfr.h, Makefile.am: - Add preliminary generic code to handle cached const. - Move const_pi, const_log2 to use this generic cache, - which fix bugs of the previous implementation. - const_euler is now cached too. - - * round_prec.c: - Fix a bug (If x = Nan, the new new precision wasn't set). - - * cputime.h: Fix a typo bug. - -2004-04-20 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tests/tconst_log2.c: Add new test about the cache: new bug to fix. - - * iszero.c: Add forgotten file for mpfr_zero_p. - - * sgn.c, tests/tisnan.c, tests/tsgn.c, Makefile.am, isinf.c, isnan.c, mpfr.h, mpfr.texi: - Add mpfr_zero_p. - Add macros for mpfr_inf_p, mpfr_nan_p and mpfr_zero_p. - Add macro for mpfr_sgn. - Update doc. - Add new tests. - - * mpfr-gmp.h: Fix a bug in a proto. - - * tests/tagm.c, agm.c: - Fix a bug when both op are < 0 (It seems it was my fault). - Add a test to check it. - -2004-04-09 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr-gmp.c: Fix a bug (Remove useless function). - -2004-04-08 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr-gmp.h: Fix another bug (Maybe the last?). - - * mpfr-gmp.h: Fix a tiny bug. - - * mpfr-gmp.c, mpfr-gmp.h, mpfr-test.h, tests/reuse.c, tests/tests.c, tests/trandom.c, tests/tset_f.c: - Update memory allocations scheme without gmp-impl.h. - Now the semantic of the memory allocation scheme is the same - with and without gmp-impl, as it should be. - -2004-04-07 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * gmp_op.c, mpfr.texi, sub_ui.c, tests/tgmpop.c, ui_sub.c, add_ui.c: - For add/sub_type functions where type is a type without signed zeros, - specify the expected result when both operands are 0. - - * init2.c, mpfr-gmp.c, mpfr-gmp.h, mpfr-impl.h, mpfr.h: - Modify a few the allocation scheme without gmp-impl.h - Add pseudo-constants __MPFR_EXP_NAN, __MPFR_EXP_ZERO and __MPFR_EXP_INF - for future (?) inlining of some functions. - -2004-04-07 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * mpn_exp.c, set_str.c, tests/tset_str.c: - fixed problem when overflow in destination exponent happens - -2004-04-07 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * gmp_op.c, tests/tgmpop.c: - Fix a bug in case a mpz_t == 0 (mpz_sizeinbase(0Z,2)==0 and MPFR_PREC_MIN=2). - - * pow_si.c, tests/tpow.c: Fix a bug in case of pow(2E1000000,-10); - -2004-04-05 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * tests/tui_sub.c: fixed problem (cmpabs doesn't work for x=0) - -2004-03-26 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * random2.c, round_prec.c, set_d.c, set_z.c, sqrt.c, sub1.c, sub_one_ulp.c, tests/tcheck.c, tests/trandom.c, urandomb.c, add1.c, add_one_ulp.c, check.c, cmp2.c, div_ui.c, exp.c, next.c: - Change from MP_LIMB_T_ONE to MPFR_LIMB_ONE and/or MPFR_LIMB_MASK. - - * init2.c: Improve comments. - - * gmp_op.c, tests/tgmpop.c: Fix a bug. - - * mpfr-impl.h, mpfr.h: - Move detecting macros (__MPFR_GCC, __MPFR_STDC, __MPFR_GLIBC and __MPFR_GMP) from mpfr to mpfr-impl - -2004-03-22 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * zeta.c: removed blank - -2004-03-22 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * gmp_op.c: Test write access to CVS. - -2004-03-18 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr-gmp.c: Fix a bug in a string. - -2004-03-17 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr.texi: Add documentation of 'j' functions. - - * mpfr.h: Fix (?) definition of MPFR_PREC_MAX. - - * tests/Makefile.am: Change the order of the tests. - - * exp.c, exp3.c, mpfr-impl.h, tests/texp.c: - Rename mpfr_exp3 in mpfr_exp_3. - Update THRESHOLD for mpfr_exp. - Add MPFR_EXP_THRESHOLD. - -2004-03-16 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * configure.in: Add new option "--with-gmp-build=" - - * INSTALL: Update INSTALL - - * mpfr.h: Fix a bug (Forget to cast to mp_exp_t). - - * swap.c: Update comment - - * Makefile.am, get_z.c, mpfr.h, tests/Makefile.am, tests/tget_z.c: - Add mpz_set_fr function and its test. - -2004-03-15 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * Makefile.am, mpfr.h, set_sj.c, set_uj.c, tests/Makefile.am, tests/tset_sj.c: - Add new functions: - mpfr_set_sj_2exp, mpfr_set_sj - mpfr_set_uj_2exp, mpfr_set_uj - - * README.dev, sub1sp.c: Fix a compiler bug (limb !=0 instead of limb). - - * print_raw.c: - Fix a cast problem on some systems (sizeof(mp_limb_t) > sizeof(unsigned long)). - -2004-03-12 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tests/tadd1sp.c, tests/tcheck.c, tests/tget_d_2exp.c, tests/tgmpop.c, tests/tsub1sp.c: - Remove use of abort (They can create core dump on some systems). - - * acos.c, tests/tacos.c: Fix bug of inexact flag for acos(0). - - * TODO, tests/memory.c: Update. - -2004-03-11 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * si_op.c, tests/tsi_op.c: Fix bug about forgotten MPFR_INVERT_RND. - Add test too. - - * README.dev: Add doc about HAVE_STDINT_H - -2004-03-10 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr.texi: Fix doc about MPFR_DECL_INIT. - - * mpfr.h: Fix the declaration of 'MPFR_DECL_INIT' - - * init2.c, mpfr.h, mpfr.texi: Add 'MPFR_DECL_INIT' macro. - - * mpfr.h, rint.c: Rename NEAREST_AWAY in GMP_RNDNA. - - * mpfr.texi: - Add the description of mpfr_set_ui_2exp and mpfr_set_si_2exp. - -2004-03-09 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * Makefile.am, mpfr.h, set_si_2exp.c, set_ui_2exp.c, tests/tset_si.c: - Add mpfr_set_si_2exp and mpfr_set_ui_2exp and their tests. - - * mpfr.texi: Add doc about mpfr_cmp_f function - - * tests/tgmpop.c, gmp_op.c, mpfr.h, set_f.c: - Add mpfr_cmp_f and its test. - - * Makefile.am, cmp_ld.c, mpfr.h, tests/Makefile.am, tests/tcmp_d.c, tests/tcmp_ld.c: - Add mpfr_cmp_ld and its test - - * README.dev: Add doc of 2 macros. - - * cmp_si.c, cmp_ui.c, mpfr.h: - Add mpfr_cmp_ui and mpfr_cmp_si as real functions - (The macros are still defined and used). - - * Makefile.am, mpfr.h, mpfr.texi, si_op.c, tests/Makefile.am, tests/tsi_op.c: - Add mpfr_add_si, mpfr_sub_si, mpfr_si_sub, mpfr_mul_si, mpfr_div_si and - mpfr_si_div. - Add the corresponding test. - - * gmp_op.c, mpfr.h, mpfr.texi, tests/tgmpop.c: - Add `mpfr_cmp_q` and `mpfr_cmp_z`. - - * configure.in: Clean up configure - - * cmp_ui.c, cmp_si.c: Add ASSERT for NAN. - -2004-02-27 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr.texi: Add documentation for MPFR_VERSION - -2004-02-26 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mul.c: Optimize a few mpfr_mul. - - * AUTHORS: Add Laurent Fousse in the AUTHORS file. - -2004-02-26 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * tests/tadd.c: - Fixed a bug in check2b and added a test; add1.c coverage is now - complete. - -2004-02-25 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * tests/tadd.c: Improved coverage. - - * tests/tadd.c: Bugs fixed in a test function -> improved coverage. - -2004-02-25 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr-impl.h, round_raw_generic.c: Optimize mpfr_round_raw_? - - * sub1sp.c, add.c, add1sp.c, sgn.c: Simplify the code. - -2004-02-24 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * mpfr.texi: Documented mpfr_version (2.0 branch). - - * README.dev, mpfr.h, tests/Makefile.am, tests/tversion.c, update-version, version.c, Makefile.am: - Ported update-version, version.c, MPFR_VERSION_* to the 2.0 branch. - - * tests/tmul_2exp.c: Avoid integer overflow. - - * tests/reuse.c: Ported code clean-up to trunk. - - * tests/tset_str.c: - Added casts to be able to compile with a C++ compiler (2.0 branch). - - * tests/reuse.c: - Oops, forgot to update the copyright line (2.0 branch). - - * tests/reuse.c: - Code clean-up, in particular to compile with g++ (2.0 branch). - - * mpfr-test.h: More corrections for g++ (2.0 branch). - -2004-02-24 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr-test.h, mpfr.h, rint.c, round_prec.c, round_raw_generic.c, set_d.c, set_str.c, sin.c, sqrt.c, sub1.c, sub1sp.c, sum.c, tests/tests.c, add1sp.c, div.c, eq.c, frac.c, log10.c, mpfr-impl.h: - Remove some warnings. - MPFR can be compiled (but not checked!) with a C++ compiler. - -2004-02-24 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * mpfr-impl.h, set_str.c: More corrections for g++ (2.0 branch). - - * round_prec.c: Updated copyright line (2.0 branch). - - * sub1.c, round_prec.c, set_str.c, sqrt.c: - Added casts to be able to compile with a C++ compiler (2.0 branch). - - * mpfr.h: Removed useless and duplicate declarations (2.0 branch). - -2004-02-24 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tests/tmul_2exp.c, tests/tset_str.c, tests/tzeta.c: - Improve test coverage. - -2004-02-24 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * div.c: - further simplification of the code (replaced one in-place shift and copy - by out-of-place shift or copy) - -2004-02-23 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * tests/tabs.c, tests/tcbrt.c, tests/tconst_euler.c, tests/tdiv.c, tests/tdiv_ui.c, tests/tfactorial.c, tests/tget_str.c, tests/tmul_ui.c, tests/tpow.c, tests/tset.c, tests/tset_ld.c, tests/tui_div.c: - use GMP_RND_MAX instead of hard-coded constant - - * tests/tdiv.c, div.c: - simplified the code of div.c and improved coverage - -2004-02-23 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * sqrt.c, tests/tsqrt.c: - Ported bug fix / test of mpfr_sqrt to the 2.0 branch. - -2004-02-23 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * longlong.h, mpfr-impl.h, mpfr-longlong.h: - Rename 'longlong.h' in 'mpfr-longlong.h' so that when MPFR is built - within GMP it uses GMP's 'longlong.h' rather than MPFR's copy. - -2004-02-23 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * ChangeLog: Update. - - * VERSION, mpfr.texi: MPFR 2.0.3 has been released. - Updated version to 2.0.4 on the 2.0 branch. - -2004-02-23 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * free_cache.c: Add mpfr_free_cache (2). - - * Makefile.am, mpfr.h, mpfr.texi, tests/tests.c: Add mpfr_free_cache. - - * mpfr.texi, tests/tget_str.c, get_str.c, mpfr.h: - Add mpfr_free_str function. - - * tests/tadd.c: Remove a warning. - - * mpfr.h: Reorder the declarations of the functions. - Remove duplicate declarations. - Remove mpfr_factorial. - -2004-02-23 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * sqrt.c: patch from Guillaume Hanrot - -2004-02-23 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * pow_ui.c, set_str.c, tests/tgmpop.c, tests/tpow.c, tests/tset_si.c, tests/tset_str.c: - Improve coverage tests. - Fix 2 underflow bugs. - - * sub1sp.c: Update comment - - * mpfr.h: Improve comments. - - * mul.c: Add a comment. - -2004-02-22 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * tests/tadd.c: Added tests. - -2004-02-20 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * ChangeLog: Update (2.0 branch). - - * NEWS, neg.c, tests/tset.c: - Ported bug fix / test of mpfr_neg to the 2.0 branch. - -2004-02-20 Laurent Fousse <fousse@greux.loria.fr> - - * mpfr.h, sum.c, tests/tsum.c, mpfr-impl.h: - Changed mpfr_sum to use unsigned long instead of unsigned int. More tests. - -2004-02-20 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * neg.c, tests/tset.c: - mpfr_neg (b, b, r) for b=NAN didnt' set NAN flag. - - * mpfr.texi: mpfr_sgn is no longer a macro. - -2004-02-20 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * ChangeLog: Update (2.0 branch). - - * mpfr-test.h, tests/tgmpop.c, gmp_op.c: - Ported bug fix / test of gmp_op.c (0.5+3/2 freezes) to the 2.0 branch. - -2004-02-19 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * gmp_op.c, tests/tgmpop.c: - Fix bug with exact rationnal arguments (0.5+3/2 freezes). - -2004-02-18 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * ChangeLog: Update. - - * config.guess, config.sub: - Update from the autotools-dev Debian package (2004-01-05). - - * ChangeLog: Update (2.0 branch). - - * mpfr.texi: Updated the 2.0 branch. - - * minmax.c: Updated copyright line (2.0 branch). - - * mpfr.texi: Updated the 2.0 branch (up to rev. 1.200 / 2004-01-07). - - * set_f.c, tests/tset_f.c: - Ported bug fix / test of mpfr_set_f to the 2.0 branch. - - * set_f.c, tests/tset_f.c: - Fixed a bug in mpfr_set_f for 0 (wrong sign) and added the test. - -2004-02-18 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * get_str.c: Fix bug if you build MPFR with ASSERT. - -2004-02-17 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mul.c: Reduce the number of used variables. - -2004-02-17 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * round_raw_generic.c: improved again documentation - - * get_str.c: simplified rounding - - * round_raw_generic.c: improved documentation of *inexp - -2004-02-17 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * NEWS, ChangeLog: Update (2.0 branch). - - * mpf2mpfr.h: Added 2004 in Copyright line (2.0 branch). - -2004-02-17 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tests/tsub1sp.c: Simplify the random code. - - * sub1sp.c: Optimize it a few. - - * round_raw_generic.c: Add 2004 in copyright line. - - * README.dev: - Add a section which describes the needed macros for building MPFR. - -2004-02-17 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * set_f.c, tests/tset_f.c: - Ported bug fixes / tests of mpfr_set_f to the 2.0 branch. - -2004-02-17 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * mul.c: added comment about probability of normalized product - -2004-02-17 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * acinclude.m4: Try so support GMP as a Shared Library (2.0 branch). - - * gmp_op.c, tests/tgmpop.c: - Ported bug fixes / tests of gmp_op.c to the 2.0 branch. - - * mpfr.texi: - Added a note about the ternary value, important in practice. - -2004-02-17 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * set_f.c, tests/tset_f.c: fixed 2 bugs and added test - - * round_raw_generic.c: added comment about return value - -2004-02-17 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * acinclude.m4: Try so support GMP as a Shared Library. - -2004-02-16 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * tests/tsqrt.c: improved error message - -2004-02-16 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * gmp_op.c: Fix the computing of the error for mpq_add and mpq_sub. - -2004-02-16 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * tests/tadd.c: Added more tests (improved tadd1.c coverage). - -2004-02-16 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * tests/tgmpop.c: added cancellation test for add_q - -2004-02-16 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * tests/tadd.c: Added tests (improved tadd1.c coverage). - -2004-02-16 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * gmp_op.c, tests/tgmpop.c: - Fix bug of add_q and sub_q with special values (NAN, INF and ZERO). - -2004-02-16 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * div.c, set_d.c, set_q.c: deal with overflow/underflow in mpfr_div - - * tests/tgmpop.c: added hard-coded tests - -2004-02-16 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * tests/tadd.c: - When the precisions are the same, test both mpfr_add1sp and mpfr_add1. - - * tests/tadd.c: Added overflow check. - -2004-02-16 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * add1sp.c, div.c, sub1sp.c, tests/tsub1sp.c: - Optimize add1sp, sub1sp and div. - Improve coverage test for sub1sp. - -2004-02-16 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * tests/texp.c: Removed unused label. - - * mpf2mpfr.h: Ported the mpf_dump fix to the 2.0 branch. - - * pow.c: - Really reverted to rev. 1.54 + kept optimization + commented out - is_odd_even. - - * tests/texp.c, exp.c: - Ported bug fixes / tests of mpfr_exp to the 2.0 branch. - -2004-02-16 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * set_d.c, set_ld.c: take into account possible out-of-range exponent - - * pow.c: revert to rev 1.54 code for case x infinite - (was less efficient but simpler) - - * pow.c: fixed bug with in-place computation - -2004-02-16 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * tests/tsqrt.c, tests/tset_ld.c: - Code clean-up and fix to avoid warnings. - -2004-02-16 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * mpfr.texi, pow.c, tests/tpow.c: - changed back to C99 standard for special values of x^y - - * tests/trint.c: added test for *function* mpfr_round - - * tests/tinp_str.c, tests/tout_str.c: check return value of fopen - -2004-02-16 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * sqrt.c: - Removed the no longer used label "fin" and fixed the indentation. - - * pow.c: Fix: MPFR_NOT_ZERO -> MPFR_NOTZERO. - - * agm.c: Commented out the now useless "double uo, vo;". - -2004-02-16 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * tests/trandom.c, tests/tzeta.c, zeta.c: improved coverage tests - -2004-02-14 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * sin.c, sin_cos.c, sinh.c, sqrt.c, tan.c, tanh.c, tests/Makefile.am, tests/tset_d.c, tests/tset_exp.c, tests/tset_f.c, tests/tset_ld.c, tests/tset_si.c, tests/tset_str.c, tests/tset_z.c, tests/tsin.c, tests/tsin_cos.c, tests/tsinh.c, tests/tsqrt.c, tests/ttan.c, tests/ttanh.c, tests/tui_div.c, tests/tui_pow.c, tests/tui_sub.c, ui_div.c, ui_pow_ui.c, ui_sub.c, add.c, mpfr.texi, set_d.c, set_q.c, set_str_raw.c: - new coverage tests - - * hypot.c, inp_str.c, log.c, log10.c, log1p.c, log2.c, mpfr.texi, mpn_exp.c, mul_ui.c, next.c, pow.c, pow_si.c, pow_ui.c, rint.c, round_prec.c, set.c, tests/Makefile.am, tests/inp_str.data, tests/mpf_compat.h, tests/thypot.c, tests/tinp_str.c, tests/tlog.c, tests/tlog10.c, tests/tlog1p.c, tests/tlog2.c, tests/tmul.c, tests/tmul_ui.c, tests/tnext.c, tests/tout_str.c, tests/tpow.c, tests/trandom.c, tests/trint.c, tests/tround_prec.c, tests/tset.c: - improved coverage test - -2004-02-13 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * tests/tget_d.c, tests/tset_si.c: improved coverage test - - * tests/tget_str.c, get_str.c, gamma.c, tests/tgamma.c, exp3.c, tests/texp.c: - improved test coverage - -2004-02-13 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tests/tadd1sp.c: - Fix a bug in taddsp (Forget to check if random does not generate zero). - -2004-02-13 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * tests/teq.c: improved editing style - - * cos.c, cosh.c, div_ui.c, tests/tdiv_ui.c: improved test coverage - - * eq.c, tests/teq.c: partly rewritten, and improved test coverage - -2004-02-13 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * tests/tmul_2exp.c: - Added tests for mpfr_mul_2si and mpfr_div_2si + corrections. - - * tests/tmul_2exp.c: - Replaced mpfr_mul_2exp and mpfr_div_2exp by mpfr_mul_2ui and - mpfr_div_2ui as the 2exp form is obsolete. - -2004-02-13 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * tests/tfactorial.c: removed warnings - -2004-02-13 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * check.c, cmp_abs.c, set.c, tests/Makefile.am, tests/tcmpabs.c, tests/texceptions.c, tests/tfits.c, tests/toutimpl.c: - Add test for mpfr_cmpabs - Add test for mpfr_fits_ - Add test for internal dumping functions. - Improve coverage test for exceptions / set / check. - -2004-02-13 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * const_pi.c, tests/tconst_pi.c: improved coverage - - * AUTHORS: removed Kevin, added missing accent - - * agm.c, asin.c, asinh.c, atan.c, atanh.c, cbrt.c, cmp.c, cmp2.c, cmp_ui.c, const_euler.c, const_log2.c, mpfr.texi, tests/tagm.c, tests/tatanh.c, tests/tcmp2.c, tests/tcmp_ui.c, tests/tconst_log2.c, uceil_exp2.c: - improved coverage test - -2004-02-12 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * dump.c, mpf2mpfr.h, mpfr.h: Rewrite (simplify) mpfr_dump. - Change its proto. - Fix mpf_dump macro in mpf2mpfr. - - * div.c, mul.c, sub.c, add.c: - Remove MPFR_ASSERTN(0) and add MPFR_ASSERTD(last condition) instead. - -2004-02-12 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * add.c, acosh.c, acos.c: improved coverage - - * tests/tgamma.c, gamma.c, tests/tfrac.c: improved cov. test - - * fma.c, tests/tfma.c, factorial.c, tests/tfactorial.c: - improved coverage test - - * expm1.c, tests/texpm1.c: improved test coverage - -2004-02-12 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tests/tconst_log2.c, tests/tconst_pi.c: - Improve coverage of const_pi and const_log2 (Test for prec > 20000). - -2004-02-12 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * exp.c, tests/texp.c: fixed tiny bugs for corner cases - improved test coverage - -2004-02-12 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tests/Makefile.am, tests/tadd1sp.c, tests/tcopysign.c, tests/tdim.c, tests/texp.c, tests/tminmax.c, tests/tmul_2exp.c, Makefile.am, add.c, add1sp.c, copysign.c, div_2ui.c, mpfr-impl.h, sqrt.c, sub.c: - + Add mpfr_add1sp which provides addition when all the operands have the same precision. - + Add new test files for mpfr_copysign and mpfr_min and mpfr_max. - + Add test for mpfr_exp10 in tests/texp.c - + Improve coverage of div_2ui.c and mul_2ui.c - + Add a forgotten ASSERT in mpfr_sqrt - -2004-02-12 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * exp2.c, tests/texp2.c: improved test coverage - replaced mpfr_get_d1 by mpfr_get_si - - * erf.c, tests/terf.c: improved coverage test - - * tests/tsub.c: added new coverage test - -2004-02-12 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * README.dev: Fix some mistakes. - - * README.dev: Add a description of the gcov tool. - -2004-02-12 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * tests/tsub.c: now 100% of coverage of sub1.c - - * dim.c, tests/Makefile.am, tests/tdim.c: new test file for mpfr_dim - -2004-02-11 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * gmp_op.c, tests/Makefile.am, tests/tgmpop.c: - Ported bug fixes / tests of gmp_op.c to the 2.0 branch. - - * sub1.c, tests/tsub.c: - Ported bug fixes / tests of mpfr_sub1 to the 2.0 branch. - -2004-02-10 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * sqrt.c: Bug fix. - -2004-02-09 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * tests/tfrac.c: Added missing #include's. - - * ChangeLog, NEWS: Update (2.0 branch). - -2004-02-06 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * factorial.c, gamma.c, tests/tfactorial.c, tests/tgamma.c: - Ported bug fixes / tests of mpfr_fac_ui and mpfr_gamma to - the 2.0 branch. - -2004-02-06 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * configure.in: Replace AS_HELP_STRING to AC_HELP_STRING (obsolete) - - * neg.c, next.c, out_str.c, pow.c, pow_si.c, pow_ui.c, powerof2.c, print_rnd_mode.c, random.c, random2.c, rint.c, round_prec.c, set.c, set_dfl_prec.c, set_exp.c, set_inf.c, set_q.c, set_si.c, set_str_raw.c, set_ui.c, set_z.c, setmax.c, setmin.c, sgn.c, sin.c, sin_cos.c, sinh.c, sqrt.c, sqrt_ui.c, sub_ui.c, swap.c, tan.c, tanh.c, uceil_exp2.c, uceil_log2.c, ufloor_log2.c, ui_pow.c, ui_pow_ui.c, ui_sub.c, urandomb.c, volatile.c, acosh.c, add1.c, add_ui.c, agm.c, asinh.c, clear.c, clears.c, cmp.c, cmp_abs.c, cmp_d.c, cmp_si.c, cmp_ui.c, comparisons.c, const_pi.c, copysign.c, dim.c, div.c, div_2exp.c, div_2si.c, div_2ui.c, dump.c, exceptions.c, exp.c, exp10.c, exp2.c, exp3.c, expm1.c, extract.c, fma.c, get_exp.c, get_z_exp.c, init.c, inits.c, inp_str.c, isinf.c, isnan.c, isnum.c, log1p.c, mpfr-test.h, mpfr.texi, mul.c, mul_2exp.c, mul_2si.c, mul_2ui.c, mul_ui.c: - Add forgotten copyright 2004 line. - Add a small documentation about mpfr_sum. - -2004-02-06 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * hypot.c, tests/thypot.c: - Ported bug fixes / tests of mpfr_hypot to the 2.0 branch. - - * agm.c, tests/tagm.c: - Ported bug fixes / tests of mpfr_agm to the 2.0 branch. - -2004-02-06 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tests/Makefile.am, tests/tsum.c, Makefile.am, mpfr-impl.h, mpfr.h, sum.c: - Added mpfr_sum function. - -2004-02-06 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * get_str.c, tests/tget_str.c: - Ported bug fixes / tests of mpfr_get_str to the 2.0 branch. - -2004-02-06 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tests/texp.c, tests/tfma.c, tests/tfrac.c, tests/tgeneric.c, tests/tget_d_2exp.c, tests/tget_str.c, tests/tgmpop.c, tests/thypot.c, tests/tmul.c, tests/tout_str.c, tests/tpow3.c, tests/trint.c, tests/tset_f.c, tests/tset_q.c, tests/tset_si.c, tests/tset_str.c, tests/tset_z.c, tests/tsqrt.c, tests/tsub.c, tests/tsub1sp.c, tests/tui_pow.c, sub_ui.c, swap.c, tan.c, tanh.c, tests/memory.c, tests/tacos.c, tests/tadd.c, tests/tasin.c, tests/tatan.c, tests/tcan_round.c, tests/tconst_log2.c, tests/tdiv.c, tests/tests.c, tests/texceptions.c, uceil_log2.c, ui_div.c, ui_pow.c, ui_pow_ui.c, ui_sub.c, urandomb.c, version.c, volatile.c, set_dfl_prec.c, set_exp.c, set_f.c, set_inf.c, set_nan.c, set_prc_raw.c, set_prec.c, set_q.c, set_rnd.c, set_si.c, set_str.c, set_str_raw.c, set_ui.c, set_z.c, setmax.c, setmin.c, sgn.c, sin.c, sin_cos.c, sinh.c, sqrt.c, sqrt_ui.c, sub.c, sub1.c, sub1sp.c, sub_one_ulp.c, init2.c, inits.c, inits2.c, inp_str.c, isinf.c, isinteger.c, isnan.c, isnum.c, log.c, log10.c, log1p.c, log2.c, longlong.h, minmax.c, mp_clz_tab.c, mpfr-gmp.c, mpfr-gmp.h, mpfr-impl.h, mpfr-test.h, mpn_exp.c, mul.c, mul_2exp.c, mul_2si.c, mul_2ui.c, mul_ui.c, neg.c, next.c, out_str.c, pow.c, pow_si.c, pow_ui.c, powerof2.c, print_rnd_mode.c, random.c, random2.c, reldiff.c, rint.c, round_prec.c, save_expo.c, set.c, set_d.c, cos.c, cosh.c, dim.c, div.c, div_2exp.c, div_2si.c, div_2ui.c, div_ui.c, dump.c, eq.c, erf.c, exceptions.c, exp.c, exp10.c, exp2.c, exp3.c, exp_2.c, expm1.c, extract.c, factorial.c, fits_s.h, fits_u.h, fma.c, frac.c, gamma.c, get_d.c, get_exp.c, get_ld.c, get_si.c, get_str.c, get_ui.c, get_z_exp.c, hypot.c, init.c, Makefile.am, acinclude.m4, acos.c, acosh.c, add.c, add1.c, add_one_ulp.c, add_ui.c, agm.c, asin.c, asinh.c, atan.c, atanh.c, cbrt.c, clear.c, clears.c, cmp.c, cmp2.c, cmp_abs.c, cmp_d.c, cmp_si.c, cmp_ui.c, comparisons.c, configure.in, const_euler.c, const_log2.c, const_pi.c, copysign.c: - + Better support of non IEEE doubles. - + You can compile MPFR without gmp internal files (ie gmp-impl.h, gmp-mparam.h, and config.h). You only need gmp.h and libgmp.a. But you can still compile with GMP internal files (configure detects them). - -2004-02-06 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * ChangeLog: Update. - - * frac.c, tests/tfrac.c, tests/tzeta.c, zeta.c: - Ported bug fixes / tests of mpfr_frac and mpfr_zeta to the 2.0 branch. - - * from_Torbjorn, gammaPiAGMformula.c, mpfi.c, mpfi.h: - (2.0 branch) Removed unused files. - - * NEWS: - Added changes from version 2.0.1 to version 2.0.2 and updated MPFR URL - (2.0 branch). - - * NEWS: Updated MPFR URL. - - * NEWS: Added the changes from version 2.0.1 to version 2.0.2. - - * README.dev: Added (2.0 branch): "3) Update the NEWS file.". - - * README.dev: Added: "3) Update the NEWS file.". - - * VERSION, mpfr.texi: - Updated the branch for the future version 2.0.3 (bug-fix release). - -2004-02-03 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * get_str.c, mpfr.texi, tests/tget_str.c: - fixed bug in get_str (case pow2, rnd=up or down) - -2004-01-30 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * tests/tzeta.c, zeta.c: fixed problem (s1 = s-1 inexact) - - * factorial.c, gamma.c, tests/tfactorial.c, tests/tgamma.c: - fixed problem in gamma/factorial - - * tests/tagm.c, tests/thypot.c, agm.c, hypot.c: - added new tests for agm and hypot (+ fixed bugs) - -2004-01-29 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr.h: - Add GMP_RND_MAX so that a for loop of the rounding modes looks like: - for(int r = 0 ; r < GMP_RND_MAX ; r++) - -2004-01-28 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tests/tagm.c, tests/tdiv.c, tests/tget_d.c, tests/tmul.c, tests/tset_ld.c, tests/tsin_cos.c, tests/tsqrt.c, tests/tsub_ui.c, tests/tui_div.c, tests/tui_sub.c, tests/tzeta.c, get_d.c, mpfr-impl.h, set_d.c, set_ld.c, sub1sp.c, tests/tadd.c, tests/tadd_ui.c, uceil_exp2.c, ufloor_log2.c: - Better supports of non IEEE-754 floats (don't use anymore ieee_double_extract if _GMP_IEEE is not set). - -2004-01-28 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * frac.c: Added comments and a temporary fix. - -2004-01-27 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * tests/tcbrt.c, tests/terf.c, tests/tgamma.c, tests/tsqrt.c, tests/tzeta.c, atan.c, cbrt.c, erf.c, tests/tatan.c: - fixed bugs in atan cbrt erf - added new hard-coded tests - -2004-01-26 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * zeta.c: - removed argument reduction in sin(Pi*s/2) [delegated to mpfr_sin] - - * tests/tzeta.c: print inputs of test2 in binary form - commented out test for 0.8 (input is not exactly representable) - -2004-01-26 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tests/tzeta.c, zeta.c: - + Internal functions of zeta are now declared as static. - + Add new tests which fail. - -2004-01-22 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * tests/terf.c, tests/tfrac.c, tests/thyperbolic.c, tests/trint.c, tests/tacosh.c, tests/tasin.c, tests/tasinh.c, tests/tatan.c, tests/tatanh.c, tests/tcbrt.c, tests/tconst_euler.c, tests/tconst_log2.c, tests/tconst_pi.c, tests/tcos.c, tests/tcosh.c, asin.c, atan.c, atanh.c, erf.c, exp_2.c, frac.c, mpfr-impl.h, tests/tacos.c, algorithms.tex, acos.c: - added several hard-coded tests (and fixed bugs found) - -2004-01-20 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr.texi: Fix tiny bug of Concept Index / Rounding Modes. - - * mpfr.texi: Update minor things. - -2004-01-20 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * mpfr.texi: minor change in contributions - - * mpfr.texi: added Patrick in the main contributors - -2004-01-20 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * mpfr.texi: Fixed spelling mistake. - -2004-01-20 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * mpfr.texi: Reorder the documentation. - -2004-01-19 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tests/tset_d.c, tests/tmul_2exp.c, tests/tcmp_d.c: - Update tests to remove the use of double when possible. - - * sub1sp.c: Reenable the cmp between inexact flags. - - * tests/texceptions.c, set_rnd.c, mpfr.h: - Add mpfr_get_default_rounding_mode. - Add the tests for mpfr_get/set_default_rounding_mode. - Fix mpfr_set_default_rounding_mode. - -2004-01-19 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * get_str.c: _mpfr_ceil -> mpfr_ceil_double + check for overflow. - - * mpn_exp.c, get_str.c, Makefile.am: - Moved the mpfr_mpn_exp function to a new file "mpn_exp.c" as it is - used by both "get_str.c" and "set_str.c". - -2004-01-16 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tests/tdiv.c: Update it to remove the use of float/double. - -2004-01-15 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * from_Torbjorn, get_str.c, tests/tget_str.c: - Add a new check in tget_str.c. - - * mpfr-impl.h: Add new macros. - - * zeta.c: Readd stdio.h in case of DEBUG mode. - - * sub1sp.c: - Optimize a few sub1sp by removing the normalisation in case of exact rounding and by removing the calcul of the rounding mode in case of exact rounding. - -2004-01-15 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * get_str.c: - fixed problem in case m=0 and b=2^k (lost bits from 1st digit were not taken - into account) - - * get_str.c, mpfr-impl.h, set_str.c: mpn_exp -> mpfr_mpn_exp - -2004-01-15 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * gammaPiAGMformula.c: - Removed gammaPiAGMformula.c (old version, no longer used). - -2004-01-14 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * get_ld.c, hypot.c, init2.c, log.c, log10.c, log2.c, reldiff.c, save_expo.c, set_f.c, set_prc_raw.c, set_prec.c, set_str.c, ui_div.c, zeta.c, const_log2.c, cos.c, cosh.c, div_ui.c, eq.c, exp.c, exp_2.c, cbrt.c, const_euler.c: - Changed some error messages into assertions. - Removed some useless #include's. - -2004-01-14 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tests/tasin.c, tests/tcmp_ui.c, tests/tconst_log2.c, tests/tconst_pi.c, tests/tcos.c, tests/tdiv_ui.c, tests/texp.c, tests/texp2.c, tests/tfma.c, tests/tlog.c, tests/tlog10.c, tests/tmul.c, tests/tround_prec.c, tests/tset_q.c, tests/tsin.c, tests/tsin_cos.c, tests/reuse.c, tests/tadd.c, tests/tadd_ui.c, tests/tagm.c: - Continue to port tests so that they don't use double. - -2004-01-09 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tests/tswap.c, tests/ttan.c, tests/ttrunc.c, tests/tui_div.c, tests/tui_sub.c, tests/tsub.c, tests/tsub_ui.c, tests/tsqrt_ui.c, tests/tgmpop.c, tests/tsqrt.c, tests/cmp_str.c, tests/tadd.c, tests/tcbrt.c, tests/tcheck.c, tests/Makefile.am, mpfr-test.h: - Update the tests to reduce the use of floats. - - * mpfi.c, mpfi.h: Remove unused files mpfi.c and mpfi.h - - * tests/tabs.c: Update test. - Don't use floats anymore. - - * mpfr-test.h: Add RND_RAND - Add SIGN_RAND - - * isinteger.c: + Simplify the signular code. - + Fix potential type errors. (Used mpfr_prec_t instead of mpfr_uexp_t). - -2004-01-08 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * gmp_op.c, tests/Makefile.am, tests/tgmpop.c: - + Add a new test file for checking functions mpfr_add/sub/mul/div_q/z (from gmp_op.c). - + Fix bugs of mpfr_add/sub/mul/div_q/z. - -2004-01-07 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * mpfr.texi: -0 -> @minus{}0. - - * mpfr.texi: Specifications for mpfr_min and mpfr_max. - - * mpfr-impl.h: - Updated MPFR_INTPREC_MAX definition, as mpfr_prec_t has changed. - -2004-01-07 Patrick Pelissier <Patrick.Pelissier@loria.fr> - - * tests/tsub1sp.c: Add a new test between sub1 and sub1sp. - - * minmax.c: Fix copyright line. - -2004-01-07 Paul Zimmermann <Paul.Zimmermann@loria.fr> - - * sub1.c, tests/tsub.c: fixed wrong sign of inexact flag - -2004-01-07 Vincent Lefevre <Vincent.Lefevre@loria.fr> - - * mpfr-impl.h: - Added casts to size_t so that integers representing a size get - this type as soon as possible. - -2004-01-07 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3232 | lefevre | 2005-01-28 10:58:01 +0000 (Fri, 28 Jan 2005) | 2 lines +Changed paths: + M /trunk/cos.c + +Updated copyright line. + +------------------------------------------------------------------------ +r3231 | lefevre | 2005-01-28 10:56:19 +0000 (Fri, 28 Jan 2005) | 2 lines +Changed paths: + M /trunk/cmp_si.c + M /trunk/const_euler.c + M /trunk/const_log2.c + M /trunk/div.c + M /trunk/erf.c + M /trunk/exp_2.c + M /trunk/get_d.c + M /trunk/get_ld.c + M /trunk/get_str.c + M /trunk/get_z_exp.c + M /trunk/mpfr.h + M /trunk/mpn_exp.c + M /trunk/pow.c + M /trunk/pow_si.c + M /trunk/pow_ui.c + M /trunk/rint.c + M /trunk/set_str.c + M /trunk/sin_cos.c + M /trunk/sinh.c + M /trunk/tests/mpf_compat.c + M /trunk/tests/mpf_compat.h + M /trunk/tests/mpfr_compat.c + M /trunk/tests/tabs.c + M /trunk/tests/tacos.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd1sp.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tasin.c + M /trunk/tests/tcan_round.c + M /trunk/tests/tcbrt.c + M /trunk/tests/tcmp.c + M /trunk/tests/tcmpabs.c + M /trunk/tests/tconst_euler.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tconst_pi.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/teq.c + M /trunk/tests/tests.c + M /trunk/tests/texceptions.c + M /trunk/tests/texp.c + M /trunk/tests/tfactorial.c + M /trunk/tests/tfma.c + M /trunk/tests/tfrac.c + M /trunk/tests/tgeneric.c + M /trunk/tests/tget_d_2exp.c + M /trunk/tests/tget_sj.c + M /trunk/tests/tget_str.c + M /trunk/tests/tgmpop.c + M /trunk/tests/thypot.c + M /trunk/tests/tlog.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tout_str.c + M /trunk/tests/toutimpl.c + M /trunk/tests/tpow.c + M /trunk/tests/tpow3.c + M /trunk/tests/trint.c + M /trunk/tests/tset.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_f.c + M /trunk/tests/tset_ld.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsqr.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub1sp.c + M /trunk/tests/tsum.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_pow.c + M /trunk/tests/tzeta.c + +Updated copyright lines. + +------------------------------------------------------------------------ +r3230 | zimmerma | 2005-01-28 10:43:30 +0000 (Fri, 28 Jan 2005) | 2 lines +Changed paths: + M /trunk/cos.c + +fixed efficiency problem in case of cos(Pi) + +------------------------------------------------------------------------ +r3229 | pelissip | 2005-01-28 09:58:28 +0000 (Fri, 28 Jan 2005) | 3 lines +Changed paths: + M /trunk/rint.c + M /trunk/tests/trint.c + +Fix bug if dest==src. +Transform some MPFR_ASSERTN to MPFR_ASSERTD. + +------------------------------------------------------------------------ +r3227 | pelissip | 2005-01-27 16:02:23 +0000 (Thu, 27 Jan 2005) | 2 lines +Changed paths: + M /trunk/tests/tests.c + +Fix a buffer overflow. + +------------------------------------------------------------------------ +r3226 | pelissip | 2005-01-27 15:40:39 +0000 (Thu, 27 Jan 2005) | 3 lines +Changed paths: + M /trunk/get_ld.c + M /trunk/mpfr-impl.h + M /trunk/set_ld.c + M /trunk/tests/tset_ld.c + +New version of mpfr_set_ld and mpfr_get_ld for IEEE Extended Little Endian. +(Due to problem on x86 with extended precision). + +------------------------------------------------------------------------ +r3225 | zimmerma | 2005-01-27 13:58:24 +0000 (Thu, 27 Jan 2005) | 2 lines +Changed paths: + M /trunk/tests/mpf_compat.c + M /trunk/tests/mpf_compat.h + M /trunk/tests/mpfr_compat.c + +partially fixed memory leak + +------------------------------------------------------------------------ +r3224 | zimmerma | 2005-01-27 13:40:13 +0000 (Thu, 27 Jan 2005) | 2 lines +Changed paths: + M /trunk/sin_cos.c + +test for huge cancellation was misplaced + +------------------------------------------------------------------------ +r3223 | zimmerma | 2005-01-27 13:28:49 +0000 (Thu, 27 Jan 2005) | 2 lines +Changed paths: + M /trunk/tests/tsum.c + +fixed memory leak + +------------------------------------------------------------------------ +r3222 | zimmerma | 2005-01-27 12:53:45 +0000 (Thu, 27 Jan 2005) | 2 lines +Changed paths: + M /trunk/sin_cos.c + +fixed inefficiency problem for x near from Pi + +------------------------------------------------------------------------ +r3221 | zimmerma | 2005-01-27 10:56:44 +0000 (Thu, 27 Jan 2005) | 2 lines +Changed paths: + M /trunk/tests/tabs.c + M /trunk/tests/tacos.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd1sp.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tasin.c + M /trunk/tests/tatan.c + M /trunk/tests/tcan_round.c + M /trunk/tests/tcbrt.c + M /trunk/tests/tcmp.c + M /trunk/tests/tcmpabs.c + M /trunk/tests/tconst_euler.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tconst_pi.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/teq.c + M /trunk/tests/texceptions.c + M /trunk/tests/texp.c + M /trunk/tests/tfactorial.c + M /trunk/tests/tfma.c + M /trunk/tests/tfrac.c + M /trunk/tests/tgeneric.c + M /trunk/tests/tget_d_2exp.c + M /trunk/tests/tget_sj.c + M /trunk/tests/tget_str.c + M /trunk/tests/tgmpop.c + M /trunk/tests/thypot.c + M /trunk/tests/tlog.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tout_str.c + M /trunk/tests/toutimpl.c + M /trunk/tests/tpow.c + M /trunk/tests/tpow3.c + M /trunk/tests/tpow_z.c + M /trunk/tests/trint.c + M /trunk/tests/tset.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_f.c + M /trunk/tests/tset_ld.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsqr.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub1sp.c + M /trunk/tests/tsum.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_pow.c + M /trunk/tests/tzeta.c + +casts to allow compilation with g++ + +------------------------------------------------------------------------ +r3220 | zimmerma | 2005-01-27 09:35:41 +0000 (Thu, 27 Jan 2005) | 2 lines +Changed paths: + M /trunk/tests/tests.c + +added missing cast + +------------------------------------------------------------------------ +r3219 | zimmerma | 2005-01-27 09:28:29 +0000 (Thu, 27 Jan 2005) | 2 lines +Changed paths: + M /trunk/div.c + +added missing casts + +------------------------------------------------------------------------ +r3218 | zimmerma | 2005-01-25 18:23:38 +0000 (Tue, 25 Jan 2005) | 2 lines +Changed paths: + M /trunk/div.c + +fixed bug (overlap in mpn_divrem) + +------------------------------------------------------------------------ +r3217 | lefevre | 2005-01-24 16:23:29 +0000 (Mon, 24 Jan 2005) | 2 lines +Changed paths: + D /trunk/tests/Makefile.in + +Removed tests/Makefile.in from CVS. + +------------------------------------------------------------------------ +r3216 | pelissip | 2005-01-24 15:48:34 +0000 (Mon, 24 Jan 2005) | 3 lines +Changed paths: + M /trunk/pow.c + +Fix bug reported by Eric Buchlin by using new function +mpfr_pow_z. + +------------------------------------------------------------------------ +r3215 | pelissip | 2005-01-24 15:36:49 +0000 (Mon, 24 Jan 2005) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/mpfr.h + A /trunk/pow_z.c + M /trunk/tests/Makefile.am + A /trunk/tests/tpow_z.c + +Add new function mpfr_pow_z and its test file. + +------------------------------------------------------------------------ +r3214 | pelissip | 2005-01-24 15:35:08 +0000 (Mon, 24 Jan 2005) | 4 lines +Changed paths: + M /trunk/pow_si.c + M /trunk/pow_ui.c + M /trunk/tests/tpow.c + +Fix overflows problems. +Clean up overflow handling. +Maybe some bugs remain... + +------------------------------------------------------------------------ +r3213 | lefevre | 2005-01-24 15:04:05 +0000 (Mon, 24 Jan 2005) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update. + +------------------------------------------------------------------------ +r3212 | pelissip | 2005-01-24 14:19:20 +0000 (Mon, 24 Jan 2005) | 4 lines +Changed paths: + M /trunk/tests/tests.c + +Add an explicit reference to mpfr_dump so that +you can use this function inside the tests with GDB, even if +you don't use it in the tests. + +------------------------------------------------------------------------ +r3211 | zimmerma | 2005-01-24 13:45:38 +0000 (Mon, 24 Jan 2005) | 2 lines +Changed paths: + M /trunk/pow.c + +added check before mpz_get_si() call + +------------------------------------------------------------------------ +r3210 | lefevre | 2005-01-24 10:43:16 +0000 (Mon, 24 Jan 2005) | 2 lines +Changed paths: + M /trunk/BUGS + +Update. - * sub1sp.c: Use MPFR_ASSERTN(0) instead of abort. +------------------------------------------------------------------------ +r3209 | lefevre | 2005-01-24 10:31:26 +0000 (Mon, 24 Jan 2005) | 2 lines +Changed paths: + M /trunk/INSTALL - * mpfr.h: Fix the definition of MPFR_PREC_MAX +Corrections on the typography. -2004-01-07 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r3208 | lefevre | 2005-01-24 10:16:51 +0000 (Mon, 24 Jan 2005) | 2 lines +Changed paths: + M /trunk/README.dev - * tests/tsub.c: added new test to check bug repair +Corrected English usage. - * sub1.c: - fixed bug (wrong inexact flag) for rounding to nearest when sh=0 and - first trailing limbs coincide +------------------------------------------------------------------------ +r3207 | lefevre | 2005-01-24 00:03:59 +0000 (Mon, 24 Jan 2005) | 2 lines +Changed paths: + M /trunk/NEWS -2004-01-07 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Typos. - * add.c, sub.c: Fix copyright lines (2004). +------------------------------------------------------------------------ +r3206 | zimmerma | 2005-01-21 12:20:54 +0000 (Fri, 21 Jan 2005) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am - * tests/tsub1sp.c, Makefile.am, add.c, sub.c, sub1sp.c, tests/Makefile.am: - Fix bug of sub1sp.c on sparck. - Add new tests for sub1sp. - Reenable sub1sp for mpfr_add / mpfr_sub. +added LOADLIBES=... - * print_raw.c: Change output format of mpfr_print_mant_binary. +------------------------------------------------------------------------ +r3201 | lefevre | 2005-01-21 10:20:17 +0000 (Fri, 21 Jan 2005) | 2 lines +Changed paths: + M /trunk/sum.c -2004-01-07 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Updated Copyright line. - * cmp2.c: Clarified comment. +------------------------------------------------------------------------ +r3195 | pelissip | 2005-01-20 14:32:20 +0000 (Thu, 20 Jan 2005) | 2 lines +Changed paths: + M /trunk/sub1.c -2004-01-06 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Fix again this previous patch! - * mpfr.h: Updated copyright line. +------------------------------------------------------------------------ +r3194 | zimmerma | 2005-01-20 11:23:51 +0000 (Thu, 20 Jan 2005) | 2 lines +Changed paths: + M /trunk/get_str.c + M /trunk/mpn_exp.c - * tests/tversion.c, Makefile.am, mpfr.h, mpfr.texi, tests/Makefile.am, update-version, version.c: - Added mpfr_version function and test. +fixed problems in get_str for huge exponent - * mpfr.texi: - The mpfr_print_rnd_mode return type is const char *, not char *. +------------------------------------------------------------------------ +r3193 | pelissip | 2005-01-20 09:53:45 +0000 (Thu, 20 Jan 2005) | 2 lines +Changed paths: + M /trunk/mpfr-longlong.h -2004-01-06 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Update longlong from GMP 4.1.4 (problem with opteron). - * tests/tset_f.c, tests/tset_q.c, tests/tset_si.c, tests/tset_z.c: - Update the copyright line of the source files to 2004. +------------------------------------------------------------------------ +r3192 | pelissip | 2005-01-18 13:30:50 +0000 (Tue, 18 Jan 2005) | 2 lines +Changed paths: + M /trunk/sum.c - * tests/tset_z.c, tests/tset_q.c, tests/tset_si.c, tests/tset_f.c: - Add the tests to check if 0 for signed class with unsigned 0 is set to 0+. +Fix bug in case n==0 or n==1 (Reported and fixed by Laurent Fousse). -2004-01-05 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r3191 | pelissip | 2005-01-14 15:02:15 +0000 (Fri, 14 Jan 2005) | 3 lines +Changed paths: + M /trunk/sub1.c - * mpfr.texi: specified sign of zero in mpfr_set_* +Add comments +Fix bug in my patch (Need tests). - * tests/tadd.c: removed test using denorms +------------------------------------------------------------------------ +r3190 | pelissip | 2005-01-14 13:50:09 +0000 (Fri, 14 Jan 2005) | 7 lines +Changed paths: + M /trunk/atan.c -2003-12-22 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Optimize mpfr_atan_aux by removing all power of 2 in the sum to +reduce the size of the multiplication, normalize the input to extract +as many zeros as possible and add a special case if the input is 1 +(after normalisation). But it doesn't optimize too much... +I need to invertigate a few more too understand what is still costly. +It seems that mpz_mul is the most called function. - * acos.c, add.c, sub.c: - Disable sub1sp in add.c and in sub.c since it provides some bugs on spark (Log/acos/asin and atan tests failed but not tsub or tsub1sp). +------------------------------------------------------------------------ +r3189 | pelissip | 2005-01-14 13:28:45 +0000 (Fri, 14 Jan 2005) | 2 lines +Changed paths: + M /trunk/tanh.c - * mpfr.h: Change comment. +Improve and fix tanh for big floats. - * init2.c, mpfr-impl.h, mpfr.h: - + Rearrange the code to be more "compatible" with broken systems. - + Preprocessing checks are done in init2.c since GMP constants can't be used in preprocessing #if. +------------------------------------------------------------------------ +r3188 | pelissip | 2005-01-14 13:28:03 +0000 (Fri, 14 Jan 2005) | 3 lines +Changed paths: + M /trunk/sub1.c - * sub1sp.c: Use MPFR_UNSIGNED_MINUS_MODULO when needed. +Fix bug in some corner case (Just hope it doesn't add new bugs). +It should be much faster in these cases too. - * clears.c, inits.c, inits2.c: - Explicit support for K&R C since ansi2knr can't be used. +------------------------------------------------------------------------ +r3187 | pelissip | 2005-01-14 13:26:55 +0000 (Fri, 14 Jan 2005) | 2 lines +Changed paths: + M /trunk/const_pi.c -2003-12-20 Kevin Ryde <user42@zip.com.au> +Remove warning - * tests/tests.c (tests_rand_start): Use gmp_randinit_default not the - RANDS macro, to cope with new non-seeding MT setup by RANDS. +------------------------------------------------------------------------ +r3186 | pelissip | 2005-01-14 11:40:22 +0000 (Fri, 14 Jan 2005) | 2 lines +Changed paths: + M /trunk/TODO -2003-12-19 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Tiny update - * get_ui.c, init2.c, mpfr-impl.h, mpfr.h: Support of MPFR_PREC_FORMAT. - Fix a bug in case mp_prec_t = unsigned short. +------------------------------------------------------------------------ +r3185 | pelissip | 2005-01-14 08:20:35 +0000 (Fri, 14 Jan 2005) | 2 lines +Changed paths: + M /trunk/acos.c -2003-12-19 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Fix bug (Forget a debug line). - * update-version: Update due to a change in mpfr.h. +------------------------------------------------------------------------ +r3184 | pelissip | 2005-01-13 16:21:47 +0000 (Thu, 13 Jan 2005) | 3 lines +Changed paths: + M /trunk/sinh.c -2003-12-19 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Fix overflow bug +Optimize code - * VERSION, mpfr.h, mpfr.texi: + Modify Version to 2.1.0. - + Add MPFR_VERSION_MAJOR, MPFR_VERSION_MINOR and MPFR_VERSION_PATCHLEVEL in mpfr.h - + Add MPFR_VERSION_NUM and MPFR_VERSION to check Mpfr version. +------------------------------------------------------------------------ +r3183 | pelissip | 2005-01-13 08:22:09 +0000 (Thu, 13 Jan 2005) | 2 lines +Changed paths: + M /trunk/configure.in - * sub1sp.c, tests/mpf_compat.h, ui_div.c, ui_sub.c, mpfr-impl.h: - Remove one warning in mpf_compat.h - Create a new macro: MPFR_RET_NEVER_GO_HERE - Modify ui_sub/div to use it to make Insure++ happy. +Fix bug in mpn_sub_nc in case the compiler optimize too much. -2003-12-19 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r3182 | pelissip | 2005-01-12 10:00:52 +0000 (Wed, 12 Jan 2005) | 2 lines +Changed paths: + M /trunk/mpfr-gmp.c + M /trunk/mpfr-gmp.h + M /trunk/mpfr-impl.h - * TODO: updated mpfr_root entry +Add forgotten 2005 copyright line. + +------------------------------------------------------------------------ +r3181 | pelissip | 2005-01-12 09:57:57 +0000 (Wed, 12 Jan 2005) | 4 lines +Changed paths: + M /trunk/configure.in + M /trunk/mpfr-gmp.c + M /trunk/mpfr-gmp.h + M /trunk/mpfr-impl.h + +Fix problem of `mpn_sub_nc' which may or may not be defined in libgmp.a + (Add a test in the configure and a new macro MPFR_HAVE_MPN_SUB_NC) +Add MPFR_LOG2_BIT_PER_MP_LIMB macro + +------------------------------------------------------------------------ +r3180 | pelissip | 2005-01-12 09:22:37 +0000 (Wed, 12 Jan 2005) | 3 lines +Changed paths: + M /trunk/acos.c + M /trunk/atan.c -2003-12-19 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Massive optimization of mpfr_atan (20x faster than 2.1.0 at 53 bits!) +Minor optimization of mpfr_acos + +------------------------------------------------------------------------ +r3179 | pelissip | 2005-01-11 16:27:42 +0000 (Tue, 11 Jan 2005) | 2 lines +Changed paths: + M /trunk/mulders.c + +Fix typo + +------------------------------------------------------------------------ +r3178 | pelissip | 2005-01-11 08:42:16 +0000 (Tue, 11 Jan 2005) | 3 lines +Changed paths: + M /trunk/gmp_op.c - * update-version, README.dev: - Added update-version script to update the MPFR version. +Reduce size of code +Optimize a few too. + +------------------------------------------------------------------------ +r3177 | pelissip | 2005-01-11 08:40:51 +0000 (Tue, 11 Jan 2005) | 2 lines +Changed paths: + M /trunk/acinclude.m4 -2003-12-19 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Forget 2005 ! - * TODO: removed one item, added one +------------------------------------------------------------------------ +r3176 | pelissip | 2005-01-11 08:39:49 +0000 (Tue, 11 Jan 2005) | 2 lines +Changed paths: + M /trunk/acinclude.m4 -2003-12-16 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Improve and fix detection of NAN and GCC bug. - * Makefile.am: removed unused target "tests" +------------------------------------------------------------------------ +r3175 | pelissip | 2005-01-04 15:04:18 +0000 (Tue, 04 Jan 2005) | 2 lines +Changed paths: + M /trunk/const_pi.c - * configure.in: removed AC_DEFINE(hpux) [not used any more] +new version (completely rewritten) by Paul Zimmermann. + +------------------------------------------------------------------------ +r3174 | pelissip | 2005-01-04 14:52:28 +0000 (Tue, 04 Jan 2005) | 2 lines +Changed paths: + M /trunk/atan.c + M /trunk/tests/tatan.c + +Fix forgotten '2005' Line. + +------------------------------------------------------------------------ +r3173 | pelissip | 2005-01-04 14:41:09 +0000 (Tue, 04 Jan 2005) | 5 lines +Changed paths: + M /trunk/atan.c + M /trunk/tests/tatan.c + +Fix wrong inexact value (regression). +FIXME: It seems that adding MPFR_GET_EXP (xp) bits is too much + (since previously it always add 0, but the results were quite + always exact - this bug was only discovered under rare case). + +------------------------------------------------------------------------ +r3172 | zimmerma | 2005-01-04 12:23:41 +0000 (Tue, 04 Jan 2005) | 2 lines +Changed paths: + M /trunk/TODO + +added item (mpfr_printf) + +------------------------------------------------------------------------ +r3171 | pelissip | 2005-01-04 10:34:17 +0000 (Tue, 04 Jan 2005) | 3 lines +Changed paths: + M /trunk/exp_2.c + M /trunk/mpfr-impl.h + +Optimize mpfr_exp2 by inlining some code, and by avoiding using +mpz_sizeinbase. + +------------------------------------------------------------------------ +r3170 | pelissip | 2005-01-04 10:33:18 +0000 (Tue, 04 Jan 2005) | 4 lines +Changed paths: + M /trunk/erf.c + +Remove unused code. +Remove _MPFR_PROTO for static functions. +Other cosmetic change. + +------------------------------------------------------------------------ +r3169 | pelissip | 2005-01-04 10:32:01 +0000 (Tue, 04 Jan 2005) | 2 lines +Changed paths: + M /trunk/const_euler.c + M /trunk/const_log2.c + M /trunk/const_pi.c + M /trunk/get_str.c + +Remove _MPFR_PROTO for static functions. -2003-12-15 Kevin Ryde <user42@zip.com.au> +------------------------------------------------------------------------ +r3168 | pelissip | 2005-01-04 10:29:14 +0000 (Tue, 04 Jan 2005) | 2 lines +Changed paths: + M /trunk/set_str.c - * Makefile.am (EXTRA_DIST): Add round_raw_generic.c. +Remove unused code. -2003-12-15 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3167 | pelissip | 2005-01-04 10:28:41 +0000 (Tue, 04 Jan 2005) | 2 lines +Changed paths: + M /trunk/get_d.c - * tests/tui_pow.c, tests/tui_sub.c, tests/tzeta.c, tests/tget_d_2exp.c, tests/tget_str.c, tests/thyperbolic.c, tests/thypot.c, tests/tinits.c, tests/tisnan.c, tests/tlog.c, tests/tlog10.c, tests/tlog1p.c, tests/tlog2.c, tests/tmul.c, tests/tmul_2exp.c, tests/tmul_ui.c, tests/tnext.c, tests/tout_str.c, tests/tpow.c, tests/tpow3.c, tests/trandom.c, tests/trint.c, tests/tround_prec.c, tests/tset.c, tests/tset_d.c, tests/tset_f.c, tests/tset_ld.c, tests/tset_q.c, tests/tset_si.c, tests/tset_str.c, tests/tset_z.c, tests/tsgn.c, tests/tsin.c, tests/tsin_cos.c, tests/tsinh.c, tests/tsqrt.c, tests/tsqrt_ui.c, tests/tsub.c, tests/tsub1sp.c, tests/tsub_ui.c, tests/tswap.c, tests/ttan.c, tests/ttanh.c, tests/ttrunc.c, tests/tui_div.c, round_prec.c, round_raw_generic.c, set_ld.c, set_ui.c, sub1sp.c, tests/memory.c, tests/mpf_compat.h, tests/reuse.c, tests/rnd_mode.c, tests/tabs.c, tests/tacos.c, tests/tacosh.c, tests/tadd.c, tests/tadd_ui.c, tests/tagm.c, tests/tasin.c, tests/tasinh.c, tests/tatan.c, tests/tatanh.c, tests/tcan_round.c, tests/tcbrt.c, tests/tcheck.c, tests/tcmp.c, tests/tcmp2.c, tests/tcmp_d.c, tests/tcmp_ui.c, tests/tcomparisons.c, tests/tconst_euler.c, tests/tconst_log2.c, tests/tconst_pi.c, tests/tcos.c, tests/tcosh.c, tests/tdiv.c, tests/tdiv_ui.c, tests/tdump.c, tests/teq.c, tests/terf.c, tests/tests.c, tests/texceptions.c, tests/texp.c, tests/texp2.c, tests/texpm1.c, tests/tfactorial.c, tests/tfma.c, tests/tfrac.c, tests/tgamma.c, tests/tgeneric.c, tests/tget_d.c, asin.c, atan.c, cbrt.c, div.c, fits_u.h, gamma.c, get_d.c, mpfr-impl.h, mpfr-test.h: - + Optimize a few div.c - + Remove some warnings in asin.c, atan.c. - + Include limits.h before gmp-impl.h in mpfr-impl.h - + mpfr-tests.h doesn't include anumore standard include files. - + Test files include only standard includes and mpfr-tests.h. - + Add some forgotten mpfr_clear in mpf[r]_compat. - + Remove some warnings in the tests. +Optimize mpfr_get_d. -2003-12-15 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r3166 | pelissip | 2005-01-04 10:28:03 +0000 (Tue, 04 Jan 2005) | 2 lines +Changed paths: + M /trunk/README.dev - * tests/tlog.c: removed unused arguments +Add a new configuration to check before releasing MPFR. - * configure.in: removed AC_DEFINE(__STDC__) for OSF +------------------------------------------------------------------------ +r3165 | pelissip | 2005-01-04 10:26:44 +0000 (Tue, 04 Jan 2005) | 2 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/sum.c - * configure.in: removed MISCFLAGS (not used any more) +Fix problem of tab with ncurses. -2003-12-14 Kevin Ryde <user42@zip.com.au> +------------------------------------------------------------------------ +r3164 | pelissip | 2005-01-04 10:26:14 +0000 (Tue, 04 Jan 2005) | 2 lines +Changed paths: + M /trunk/cmp_si.c + M /trunk/get_z_exp.c - * acinclude.m4: Quote AC_DEFUN names, for automake 1.8. +Likely some tests -2003-12-10 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3163 | pelissip | 2005-01-04 10:25:40 +0000 (Tue, 04 Jan 2005) | 4 lines +Changed paths: + M /trunk/div.c + M /trunk/mpfr-gmp.c + M /trunk/mpfr-gmp.h - * powerof2.c, sub1sp.c, tests/tsub1sp.c: - + Add a new test in case of underflow. - + Fix bug in case of underflow for sub1 / sub1sp (mpfr_powerof2 could be called with inalid numbers). +Fix bug if not gmp-impl.h (mpn_sub_nc is internal). +Move MPFR_SET_EXP after checking the exponent range. +Minor change in the way to return the ternary value. + +------------------------------------------------------------------------ +r3162 | zimmerma | 2005-01-01 12:17:16 +0000 (Sat, 01 Jan 2005) | 2 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/sum.c + +changed tab[] into *tab (and removed 'tab' in mpfr.h) + +------------------------------------------------------------------------ +r3161 | zimmerma | 2004-12-24 10:41:39 +0000 (Fri, 24 Dec 2004) | 2 lines +Changed paths: + M /trunk/div.c + +new version (completely rewritten) + +------------------------------------------------------------------------ +r3160 | zimmerma | 2004-12-24 10:28:47 +0000 (Fri, 24 Dec 2004) | 2 lines +Changed paths: + M /trunk/sqrt.c + M /trunk/tests/tsqrt.c -2003-12-09 Patrick Pelissier <Patrick.Pelissier@loria.fr> +improved coverage (and fixed bug) + +------------------------------------------------------------------------ +r3159 | pelissip | 2004-12-21 15:54:00 +0000 (Tue, 21 Dec 2004) | 3 lines +Changed paths: + M /trunk/tests/tests.c + M /trunk/tests/trint.c - * print_raw.c, sub1sp.c: - + Fixed bugs of mpfr_print_mant_binary on 64 bits CPU (1L instead of 1). - + Fixed bugs of mpfr_sub1sp on 64-bits CPU (mp_limb_t instead of int). +Fixed errors reported by Nelson H. F. Beebe +(forget to include sys/fpu.h if defined and math.h if std=c99). - * tests/tset_d.c, tests/tset_str.c, tests/tsin.c, tests/tsqrt.c, tests/tsub.c, tests/tsub1sp.c, tests/ttan.c, tests/ttrunc.c, tests/tui_pow.c, sub1sp.c, tests/Makefile.am, tests/tabs.c, tests/tadd.c, tests/tconst_log2.c, tests/tdiv_ui.c, tests/tmul.c, tests/tmul_ui.c, tests/tpow.c, Makefile.am, add.c, clear.c, init2.c, mpfr-impl.h, mul.c, print_raw.c, round_prec.c, set_prec.c, sub.c, sub1.c: - + Add function mpfr_print_mantissa_binary, for debugging reason. - + Rename MPFR_ALLOC_SIZE in MPFR_MALLOC_SIZE. - + Add conditionnal -DSMALL directive in mpfr-impl.h. - + Add new function: sub1sp. - Substraction in case of all the ops have the same prec. - + Add its test (tsub1sp). - + Modify a few the tests to avoid comparing mpfr results with double, for portability reason. +------------------------------------------------------------------------ +r3158 | pelissip | 2004-12-20 12:54:45 +0000 (Mon, 20 Dec 2004) | 2 lines +Changed paths: + M /trunk/exp.c -2003-12-05 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Fix wrong integer type and a test. - * Makefile.am, exp10.c, mpfr.h, mpfr.texi: Added mpfr_exp10 function. +------------------------------------------------------------------------ +r3157 | pelissip | 2004-12-20 12:53:46 +0000 (Mon, 20 Dec 2004) | 2 lines +Changed paths: + M /trunk/cos.c -2003-12-01 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Add some assertion. - * uceil_log2.c, ufloor_log2.c, mpfr-impl.h, neg.c, powerof2.c, set_d.c, set_ld.c, uceil_exp2.c, exceptions.c, get_d.c: - Port all the IEEE dependent remaining functions so that it uses a generic way to compute the result if it detects that the double is not in IEEE format ( _GMP_IEEE_FLOATS == 0). - MPFR now should work well on non-IEEE machines. +------------------------------------------------------------------------ +r3156 | pelissip | 2004-12-20 12:53:20 +0000 (Mon, 20 Dec 2004) | 3 lines +Changed paths: + M /trunk/div_ui.c -2003-12-01 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Unlikely one test. +Fix wrong integer type - * TODO: added suggestion for 2 new functions +------------------------------------------------------------------------ +r3155 | pelissip | 2004-12-20 12:52:47 +0000 (Mon, 20 Dec 2004) | 2 lines +Changed paths: + M /trunk/sub.c + M /trunk/sub1.c - * TODO: added entry (portability) +Reindent the code. -2003-11-25 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3154 | pelissip | 2004-12-17 14:18:49 +0000 (Fri, 17 Dec 2004) | 2 lines +Changed paths: + M /trunk/sin_cos.c + M /trunk/tan.c - * mpfr-impl.h, sub1.c, cmp.c, add1.c: - Optmize a few add1.c/sub1.c by using MPFR_LIKELY / MPFR_UNLIKELY. +Optimize mpfr_tan -2003-11-21 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3153 | pelissip | 2004-12-17 13:36:51 +0000 (Fri, 17 Dec 2004) | 2 lines +Changed paths: + M /trunk/sin.c + M /trunk/sin_cos.c - * pow.c, pow_ui.c, round_prec.c, set_si.c, set_str.c, sub1.c, zeta.c, const_pi.c, cos.c, eq.c, exp3.c, exp_2.c, factorial.c, fits_s.h, fits_u.h, gamma.c, inp_str.c, isinteger.c, mul.c: - Remove some warnings and potential errors (Comparaison between signed and unsigned). +Optimize the computing of the sign of sinus if GET_EXP(x) < 0 - * tests/tmul_ui.c, tests/tout_str.c, tests/tpow.c, tests/tsin.c, tests/tsin_cos.c, tests/tsqrt.c, tests/tsub.c, tests/tswap.c, tests/ttan.c, tests/ttrunc.c, tests/tui_pow.c, tests/tabs.c, tests/tadd.c, tests/tcbrt.c, tests/tcheck.c, tests/tcmp.c, tests/tcmp_d.c, tests/tcos.c, tests/tdiv.c, tests/terf.c, tests/texp.c, tests/texp2.c, tests/tfma.c, tests/tgamma.c, tests/tget_str.c, tests/tlog.c, tests/tmul.c, Makefile.am, check.c, clear.c, mpfr-impl.h, tests/Makefile.am, tests/reuse.c: - + Add new internal function: mpfr_check. - + Add the corresponding test file. - + Translate mpfr_set_d to mpfr_set_str / mpfr_set_ui in the tests for portability reasons. +------------------------------------------------------------------------ +r3152 | pelissip | 2004-12-17 13:20:13 +0000 (Fri, 17 Dec 2004) | 3 lines +Changed paths: + M /trunk/cos.c -2003-11-21 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Optimize mpfr_cos. +From 3363 / 21663.99 / 79727 to 3139 / 18920.58 / 69624 (opteron). - * mpfr.texi: Updated month: October -> November. +------------------------------------------------------------------------ +r3151 | pelissip | 2004-12-17 13:13:50 +0000 (Fri, 17 Dec 2004) | 3 lines +Changed paths: + M /trunk/tests/tset_ld.c - * README: Updated list of files. +Fix precision used to test long double. +Now it is sizeof(long_double)*CHAR_BIT instead of fixed 113. -2003-11-21 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r3150 | pelissip | 2004-12-17 11:14:56 +0000 (Fri, 17 Dec 2004) | 3 lines +Changed paths: + M /trunk/extract.c - * tests/tui_pow.c: use integers instead of double's +FIx wrong integer types +Add an assertion. -2003-11-21 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r3149 | pelissip | 2004-12-17 11:14:23 +0000 (Fri, 17 Dec 2004) | 2 lines +Changed paths: + M /trunk/div_ui.c - * README.dev, TODO: Notes about not using mpfr_set_d in the tests. +Likely / Unlikely some code. -2003-11-19 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r3148 | pelissip | 2004-12-17 11:13:53 +0000 (Fri, 17 Dec 2004) | 2 lines +Changed paths: + M /trunk/configure.in + M /trunk/get_ld.c + M /trunk/set_d.c + M /trunk/set_ld.c + M /trunk/tests/tset_ld.c - * ChangeLog: Update (2.0.2 branch). +Fix problem with long double with ICC (Wrong x86 processor flag). - * tests/tui_pow.c, pow.c: - Ported Paul's patch (fix and tests) concerning the pow.c bug (in case - exact result) to the 2.0.2 branch. +------------------------------------------------------------------------ +r3147 | pelissip | 2004-12-16 13:41:21 +0000 (Thu, 16 Dec 2004) | 2 lines +Changed paths: + M /trunk/const_pi.c + +Fix wrong integer types. -2003-11-19 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3146 | pelissip | 2004-12-16 13:37:23 +0000 (Thu, 16 Dec 2004) | 2 lines +Changed paths: + M /trunk/gamma.c - * set_ui.c, mul.c, pow.c: Optimization of mpfr_mul. - Tiny optimization of mpfr_pow (The case y=0 has been put inside the MPFR_ARE_SINGULAR block). - Tiny optimisation of mpfr_set_ui. +Fix bug. -2003-11-18 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r3145 | pelissip | 2004-12-16 13:27:11 +0000 (Thu, 16 Dec 2004) | 2 lines +Changed paths: + M /trunk/acos.c - * pow.c: fixed bug in case exact result +Optimize mpfr_acos by choosing a better initial precision. - * tests/tui_pow.c: added new tests +------------------------------------------------------------------------ +r3144 | pelissip | 2004-12-16 13:12:42 +0000 (Thu, 16 Dec 2004) | 2 lines +Changed paths: + M /trunk/asin.c + +Optimize mpfr_asin by improving the choice of the initial precision. + +------------------------------------------------------------------------ +r3143 | pelissip | 2004-12-16 12:04:10 +0000 (Thu, 16 Dec 2004) | 2 lines +Changed paths: + M /trunk/atan.c + +Optimize mpfr_atan. + +------------------------------------------------------------------------ +r3142 | pelissip | 2004-12-15 16:32:57 +0000 (Wed, 15 Dec 2004) | 2 lines +Changed paths: + M /trunk/inp_str.c + M /trunk/tests/tinp_str.c + +Fix problem with GCC 4.0 20041212. + +------------------------------------------------------------------------ +r3141 | pelissip | 2004-12-15 14:22:50 +0000 (Wed, 15 Dec 2004) | 2 lines +Changed paths: + M /trunk/mpfr.h -2003-11-18 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Remove thread attribut until I found a good way to use it. - * round_raw_generic.c: - Optimize round_raw_generic by reducing the number of redundant tests. +------------------------------------------------------------------------ +r3140 | pelissip | 2004-12-15 10:49:11 +0000 (Wed, 15 Dec 2004) | 2 lines +Changed paths: + M /trunk/cos.c -2003-11-17 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Test - * tests/Makefile.am, mul.c, round_prec.c, round_raw_generic.c, set_str.c, sub1.c, exceptions.c, get_d.c, get_str.c, mpfr-impl.h, mpfr.h, div.c: - * Optimize a few div.c and mul.c. - * Reorder the tests. - * Remove mpfr_round_raw_generic and create 4 new functions which replace it, for efficiency reasons. - * Add round_raw_generic.c which is the generic file to create the 4 new functions. - * Add new MACRO: MPFR_RNDUTEST_OR_RNDDNOTTEST which is a faster way to check if (rnd_mode==GMP_RNDU && test) || (rnd_mode==GMP_RNDD && !test). - * Add new MACRO: MPFR_UNSIGNED_MINUS_MODULO. - * Optimize mpfr_can_round_raw. - * Some new defines in mpfr.h to increase compatibility with MPFR v2.0.1 and above. +------------------------------------------------------------------------ +r3139 | pelissip | 2004-12-15 10:47:42 +0000 (Wed, 15 Dec 2004) | 2 lines +Changed paths: + M /trunk/get_str.c + M /trunk/strtofr.c -2003-11-14 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Add 'const' attribute to table. - * pow_si.c, tests/tpow.c: - Ported the pow_si patch (and test) to the 2.0.2 branch. +------------------------------------------------------------------------ +r3138 | pelissip | 2004-12-15 10:46:00 +0000 (Wed, 15 Dec 2004) | 2 lines +Changed paths: + D /trunk/save_expo.c -2003-11-14 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Remove unused file. - * pow_si.c, tests/tpow.c: - fixed bug in pow_si (exact result, case z = x) +------------------------------------------------------------------------ +r3137 | pelissip | 2004-12-15 09:04:07 +0000 (Wed, 15 Dec 2004) | 2 lines +Changed paths: + M /trunk/configure.in -2003-11-14 Vincent Lefevre <Vincent.Lefevre@loria.fr> +New way of detecting GMP libraray, which should be more portable. - * pow.c, tests/tui_pow.c, tests/tzeta.c: - Ported the pow.c precision patch to the 2.0.2 branch (with the tests). +------------------------------------------------------------------------ +r3136 | pelissip | 2004-12-14 12:30:30 +0000 (Tue, 14 Dec 2004) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + M /trunk/mpfr-test.h + M /trunk/tests/Makefile.am + D /trunk/tests/amd64.asm + M /trunk/tests/tests.c + M /trunk/tests/tset_ld.c + D /trunk/tests/x86.asm + +Remove useless assembly code. -2003-11-14 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r3135 | pelissip | 2004-12-14 10:54:47 +0000 (Tue, 14 Dec 2004) | 6 lines +Changed paths: + M /trunk/cmp.c + M /trunk/mpf2mpfr.h + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/set.c - * tests/tzeta.c: added test to check bug fix (bug was in mpfr_pow) +Add "MPFR_USE_NO_MACRO" user macro: it allows the user to link +directly with MPFR functions rather than using Macros to access +them. It doesn't define MPFR variable inside mpfr.h too. +Fix set.c and cmp.c in consequences. +Fix mpf2mpfr.h to use mpfr_get_default_rounding_mode () if needed. - * tests/tui_pow.c: - added new test to check for bug fix (output precision > input precisions) +------------------------------------------------------------------------ +r3134 | pelissip | 2004-12-13 14:32:26 +0000 (Mon, 13 Dec 2004) | 2 lines +Changed paths: + M /trunk/mulders.c - * zeta.c: just improved editing style +Improved prototype. + +------------------------------------------------------------------------ +r3133 | pelissip | 2004-12-13 14:31:11 +0000 (Mon, 13 Dec 2004) | 2 lines +Changed paths: + M /trunk/set_q.c + +Fix bug of overflow (I hope). + +------------------------------------------------------------------------ +r3132 | pelissip | 2004-12-13 10:23:33 +0000 (Mon, 13 Dec 2004) | 2 lines +Changed paths: + M /trunk/TODO + M /trunk/mpfr.texi + M /trunk/set_q.c + +Update mpfr_set_q overflow problem. + +------------------------------------------------------------------------ +r3131 | pelissip | 2004-12-13 08:24:58 +0000 (Mon, 13 Dec 2004) | 2 lines +Changed paths: + M /trunk/generic.c + +Fix wrong integer types. + +------------------------------------------------------------------------ +r3130 | pelissip | 2004-12-10 16:02:03 +0000 (Fri, 10 Dec 2004) | 2 lines +Changed paths: + M /trunk/atan.c + +Optimize by increasing with BITS_PER_MP_LIMB instead of log2(prec) + +------------------------------------------------------------------------ +r3129 | pelissip | 2004-12-10 15:59:15 +0000 (Fri, 10 Dec 2004) | 3 lines +Changed paths: + M /trunk/atan.c + +Clean up code (Fix integer types + rewrite some code). +Optimize the code by reducing the number of used variables inside the loop. + +------------------------------------------------------------------------ +r3128 | pelissip | 2004-12-10 15:58:13 +0000 (Fri, 10 Dec 2004) | 2 lines +Changed paths: + M /trunk/asin.c + +Replace mpfr_neg to MPFR_CHANGE_SIGN. + +------------------------------------------------------------------------ +r3127 | pelissip | 2004-12-10 15:57:48 +0000 (Fri, 10 Dec 2004) | 2 lines +Changed paths: + M /trunk/add1sp.c + +Cosmetic changes. + +------------------------------------------------------------------------ +r3126 | pelissip | 2004-12-10 14:45:54 +0000 (Fri, 10 Dec 2004) | 4 lines +Changed paths: + M /trunk/acos.c + +Clean the code. +Avoid mixing integer types. +Fix bug of overflow if Pi is in the range but not Pi/2. + +------------------------------------------------------------------------ +r3125 | pelissip | 2004-12-10 14:22:49 +0000 (Fri, 10 Dec 2004) | 5 lines +Changed paths: + M /trunk/asin.c + +Clean up the code (Removing useless variables and avoid mixing wrong integer types). +Optimize the code by improving memory allocation scheme and by incrementating by +BITS_PER_MP_LIMB in case of an error instead of MPFR_INT_CEIL_LOG2 (prec). +Fix an overflow bug for X=+/-1 (If PI is inside the exponent range, but not PI/2). + +------------------------------------------------------------------------ +r3124 | pelissip | 2004-12-09 14:34:47 +0000 (Thu, 09 Dec 2004) | 2 lines +Changed paths: + M /trunk/mpfr.h + +Simplify MPFR_SIGN by removing unnecessary ( ). + +------------------------------------------------------------------------ +r3123 | pelissip | 2004-12-09 14:31:23 +0000 (Thu, 09 Dec 2004) | 2 lines +Changed paths: + M /trunk/mpfr.h + +Add support for new attribut sentinel in incoming GCC 4.0 - * pow.c: fixed bug for output precision > max(input precisions) +------------------------------------------------------------------------ +r3122 | pelissip | 2004-12-09 13:23:25 +0000 (Thu, 09 Dec 2004) | 2 lines +Changed paths: + M /trunk/sin.c + M /trunk/sin_cos.c -2003-11-14 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Optimize initial precision in case of EXP(x) < 0. - * tests/tset_ld.c: Ported the gcc-3.3 bug detection patch to the trunk. +------------------------------------------------------------------------ +r3121 | pelissip | 2004-12-09 10:13:55 +0000 (Thu, 09 Dec 2004) | 6 lines +Changed paths: + M /trunk/cache.c + M /trunk/mpfr-impl.h + M /trunk/set.c + M /trunk/tests/tset.c + M /trunk/tests/tset_sj.c - * tests/tset_ld.c: - Detect optimization bug of gcc 3.3 on Alpha to avoid a test failure. +Optimize mpfr_set4. +Inline rounding in mpfr_set4 and mpfr_cache +mpfr_set4 dosn't return MPFR_EVEN_INEX (It was undocumented before). +Fix problems with tests (Avoid mixing MPFR_EVEN_INEX and 1). +Add MPFR_RNDRAW_EVEN for rounding with MPFR_EVEN_INEX inexact support -2003-11-11 Kevin Ryde <user42@zip.com.au> +------------------------------------------------------------------------ +r3120 | pelissip | 2004-12-08 14:08:45 +0000 (Wed, 08 Dec 2004) | 4 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/mul.c + M /trunk/tests/tsqr.c + +Optimize mpfr_mul by inlining and rewriting the rounding. +It seems that GCC option `-frename-registers` for mpfr_mul / Athlon XP +improves its performance (But it decreases it on Pentium4)... + +------------------------------------------------------------------------ +r3119 | zimmerma | 2004-12-01 11:34:21 +0000 (Wed, 01 Dec 2004) | 2 lines +Changed paths: + A /trunk/mulders.c + +first try to implement Mulders' algorithm + +------------------------------------------------------------------------ +r3118 | pelissip | 2004-11-29 15:10:29 +0000 (Mon, 29 Nov 2004) | 2 lines +Changed paths: + M /trunk/TODO + +Update TODO. + +------------------------------------------------------------------------ +r3117 | zimmerma | 2004-11-29 13:58:14 +0000 (Mon, 29 Nov 2004) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c + +added new tests for corner cases + +------------------------------------------------------------------------ +r3116 | zimmerma | 2004-11-29 13:52:35 +0000 (Mon, 29 Nov 2004) | 2 lines +Changed paths: + M /trunk/algorithms.bib + M /trunk/algorithms.tex + +added algo for pi + +------------------------------------------------------------------------ +r3115 | pelissip | 2004-11-25 10:28:32 +0000 (Thu, 25 Nov 2004) | 2 lines +Changed paths: + M /trunk/tan.c + +Change initial term if exp(a)<0. + +------------------------------------------------------------------------ +r3114 | pelissip | 2004-11-25 10:28:13 +0000 (Thu, 25 Nov 2004) | 2 lines +Changed paths: + M /trunk/sin_cos.c + +Simplify the inner loop. + +------------------------------------------------------------------------ +r3113 | pelissip | 2004-11-25 10:11:07 +0000 (Thu, 25 Nov 2004) | 2 lines +Changed paths: + M /trunk/sin_cos.c + +Change initial precision if EXP(op) < 0. + +------------------------------------------------------------------------ +r3112 | pelissip | 2004-11-23 12:49:15 +0000 (Tue, 23 Nov 2004) | 3 lines +Changed paths: + M /trunk/set_z.c + +Optimize code and rewrite the rounding part. +FIXME: It seems that the previous rounding code was buggy. Still I am not sure. + +------------------------------------------------------------------------ +r3111 | pelissip | 2004-11-23 12:48:00 +0000 (Tue, 23 Nov 2004) | 2 lines +Changed paths: + M /trunk/tests/tconst_log2.c + M /trunk/tests/tgmpop.c + +Improve tests. + +------------------------------------------------------------------------ +r3110 | pelissip | 2004-11-19 14:38:28 +0000 (Fri, 19 Nov 2004) | 2 lines +Changed paths: + M /trunk/log.c + +Improve the initial value of prec: 10% improvement (?) on average. + +------------------------------------------------------------------------ +r3109 | pelissip | 2004-11-19 14:36:11 +0000 (Fri, 19 Nov 2004) | 2 lines +Changed paths: + M /trunk/tests/trandom.c + +Improve coverage test. + +------------------------------------------------------------------------ +r3108 | pelissip | 2004-11-19 13:02:04 +0000 (Fri, 19 Nov 2004) | 2 lines +Changed paths: + M /trunk/tests/tui_pow.c + M /trunk/ui_pow_ui.c + +Fix bug for mpfr_ui_pow_ui (Wrong inexact flag). + +------------------------------------------------------------------------ +r3107 | pelissip | 2004-11-19 12:39:10 +0000 (Fri, 19 Nov 2004) | 2 lines +Changed paths: + M /trunk/get_z.c + M /trunk/tests/tabs.c + M /trunk/tests/tcmp.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/texceptions.c + M /trunk/tests/tget_z.c + M /trunk/tests/tpow.c + M /trunk/tests/tset.c + M /trunk/tests/tset_sj.c + M /trunk/tests/tsgn.c + M /trunk/tests/tsqr.c + M /trunk/ufloor_log2.c + +Improve coverage tests. + +------------------------------------------------------------------------ +r3106 | pelissip | 2004-11-19 10:28:33 +0000 (Fri, 19 Nov 2004) | 4 lines +Changed paths: + M /trunk/INSTALL + M /trunk/README.dev + M /trunk/mpfr-impl.h + +Fix typos in INSTALL. +Sort README.dev, and add a new section about How to write a MPFR function. +Add a link to README.dev in mpfr-impl.h. + +------------------------------------------------------------------------ +r3105 | pelissip | 2004-11-19 08:35:48 +0000 (Fri, 19 Nov 2004) | 3 lines +Changed paths: + M /trunk/cos.c + +Fix a bug on some compilators: + First MPFR_SAVE_EXPO_DECL, then TMP_DECL. + +------------------------------------------------------------------------ +r3104 | pelissip | 2004-11-18 15:53:55 +0000 (Thu, 18 Nov 2004) | 2 lines +Changed paths: + M /trunk/pow_si.c + M /trunk/tests/tpow.c + +Fix an overflow bug. + +------------------------------------------------------------------------ +r3103 | pelissip | 2004-11-18 15:15:27 +0000 (Thu, 18 Nov 2004) | 3 lines +Changed paths: + M /trunk/set_si_2exp.c + M /trunk/set_ui_2exp.c + M /trunk/tests/tset_si.c + +Fix bug with inexact flag. +FIXME: Maybe still a bug with inexact flag if overflow in mpfr_mul_2exp ? + +------------------------------------------------------------------------ +r3102 | pelissip | 2004-11-18 15:00:06 +0000 (Thu, 18 Nov 2004) | 3 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/mpfr-impl.h + M /trunk/pow_ui.c + +Remove mpfr_save_emin_emax and mpfr_restore_emin_emax +from MPFR library since they are useless. + +------------------------------------------------------------------------ +r3101 | pelissip | 2004-11-18 14:55:08 +0000 (Thu, 18 Nov 2004) | 2 lines +Changed paths: + M /trunk/set.c + +Forget to remove rndraw.c test. + +------------------------------------------------------------------------ +r3100 | pelissip | 2004-11-18 14:52:59 +0000 (Thu, 18 Nov 2004) | 4 lines +Changed paths: + M /trunk/acos.c + M /trunk/acosh.c + M /trunk/add_ui.c + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atan.c + M /trunk/const_log2.c + M /trunk/const_pi.c + M /trunk/cos.c + M /trunk/cosh.c + M /trunk/exp.c + M /trunk/exp2.c + M /trunk/gamma.c + M /trunk/hypot.c + M /trunk/mpfr-impl.h + M /trunk/pow_si.c + M /trunk/pow_ui.c + M /trunk/rint.c + M /trunk/set.c + M /trunk/set_d.c + M /trunk/set_ld.c + M /trunk/set_q.c + M /trunk/set_si_2exp.c + M /trunk/set_ui_2exp.c + M /trunk/sqrt_ui.c + M /trunk/sub_ui.c + M /trunk/tanh.c + M /trunk/ui_pow.c + M /trunk/ui_pow_ui.c + +Replace use of mpfr_save_emin_emax () / mpfr_restore_emin_emax() +by MPFR_SAVE_EXPO macros (DECL, MARK and FREE) which are faster +and thread safe. + +------------------------------------------------------------------------ +r3098 | pelissip | 2004-11-18 14:04:52 +0000 (Thu, 18 Nov 2004) | 2 lines +Changed paths: + M /trunk/agm.c + +Enable fast computing. + +------------------------------------------------------------------------ +r3097 | lefevre | 2004-11-18 14:04:50 +0000 (Thu, 18 Nov 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Fix: GMP -> MPFR Copying Conditions (noted by Patrick). + +------------------------------------------------------------------------ +r3096 | pelissip | 2004-11-18 10:08:49 +0000 (Thu, 18 Nov 2004) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +Reorder the file and put sections to make it cleaner and more readable. + +------------------------------------------------------------------------ +r3095 | pelissip | 2004-11-18 09:11:19 +0000 (Thu, 18 Nov 2004) | 3 lines +Changed paths: + M /trunk/log.c + +Reduce number of used variables. +Optimize code and clean it. + +------------------------------------------------------------------------ +r3093 | lefevre | 2004-11-18 08:56:06 +0000 (Thu, 18 Nov 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +In HTML, suppress the non-existing link to GMP. + +------------------------------------------------------------------------ +r3092 | pelissip | 2004-11-18 08:32:01 +0000 (Thu, 18 Nov 2004) | 3 lines +Changed paths: + M /trunk/init2.c + M /trunk/mpfr-impl.h + +Add a prototype of own TMP_ALLOC. Don't know if it is a good idea. +To enable it, just build MPFR with MPFR_USE_OWN_TMP_ALLOC. + +------------------------------------------------------------------------ +r3091 | pelissip | 2004-11-17 16:22:14 +0000 (Wed, 17 Nov 2004) | 2 lines +Changed paths: + M /trunk/sqrt.c + M /trunk/strtofr.c + M /trunk/sum.c + +Fix bug with TMP_MARK. + +------------------------------------------------------------------------ +r3090 | pelissip | 2004-11-16 16:14:43 +0000 (Tue, 16 Nov 2004) | 4 lines +Changed paths: + M /trunk/pow_ui.c + +Optimize the code: + + Special case for n == 2 + + The first squaring is done using the original input. + +------------------------------------------------------------------------ +r3089 | pelissip | 2004-11-16 16:13:30 +0000 (Tue, 16 Nov 2004) | 2 lines +Changed paths: + M /trunk/init2.c + +Add new assertion to check. + +------------------------------------------------------------------------ +r3088 | pelissip | 2004-11-16 16:13:01 +0000 (Tue, 16 Nov 2004) | 2 lines +Changed paths: + M /trunk/cmp2.c + +Likely / Unlikely some tests. + +------------------------------------------------------------------------ +r3087 | pelissip | 2004-11-15 11:44:26 +0000 (Mon, 15 Nov 2004) | 2 lines +Changed paths: + M /trunk/agm.c + +Add unused code (Still needs a proof). + +------------------------------------------------------------------------ +r3086 | pelissip | 2004-11-15 11:43:33 +0000 (Mon, 15 Nov 2004) | 4 lines +Changed paths: + M /trunk/get_exp.c + M /trunk/mpfr.h + M /trunk/set_dfl_prec.c + M /trunk/set_prec.c + M /trunk/set_rnd.c + M /trunk/set_ui.c + +Add macro version for small functions: + mpfr_get_prec, mpfr_get_exp, mpfr_get_default_rounding_mode, + mpfr_get_default_prec and mpfr_set_ui + +------------------------------------------------------------------------ +r3085 | pelissip | 2004-11-15 08:38:36 +0000 (Mon, 15 Nov 2004) | 2 lines +Changed paths: + M /trunk/atan.c + +Refix another bug (The same). + +------------------------------------------------------------------------ +r3084 | pelissip | 2004-11-15 08:32:23 +0000 (Mon, 15 Nov 2004) | 2 lines +Changed paths: + M /trunk/atan.c + +Fix a bug (Use __gmpfr_ceil_log2 instead of MPFR_INT_CEIL_LOG2). + +------------------------------------------------------------------------ +r3083 | zimmerma | 2004-11-12 17:29:54 +0000 (Fri, 12 Nov 2004) | 3 lines +Changed paths: + M /trunk/algorithms.tex + +added algorithm for mpfr_sqrt +improved algorithm for mpfr_div + +------------------------------------------------------------------------ +r3082 | zimmerma | 2004-11-12 17:22:57 +0000 (Fri, 12 Nov 2004) | 2 lines +Changed paths: + M /trunk/sqrt.c + +use MPFR_SET_EXP/MPFR_GET_EXP instead of MPFR_EXP(r)++ + +------------------------------------------------------------------------ +r3081 | lefevre | 2004-11-12 16:03:43 +0000 (Fri, 12 Nov 2004) | 2 lines +Changed paths: + M /trunk/sqrt.c + +Bug fix: delayed all the initializations after the singular test. + +------------------------------------------------------------------------ +r3080 | lefevre | 2004-11-11 11:30:46 +0000 (Thu, 11 Nov 2004) | 2 lines +Changed paths: + M /trunk/sqrt.c + +Untabified the source. + +------------------------------------------------------------------------ +r3079 | lefevre | 2004-11-11 11:26:51 +0000 (Thu, 11 Nov 2004) | 3 lines +Changed paths: + M /trunk/sqrt.c + +The test MPFR_GET_EXP(u) != MPFR_EMAX_MAX is no longer necessary +since we decided to lower MPFR_EMAX_MAX to avoid such tests. + +------------------------------------------------------------------------ +r3078 | pelissip | 2004-11-10 16:12:53 +0000 (Wed, 10 Nov 2004) | 3 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/sqrt.c + +Remove use of CNST_LIMB and TMP_ALLOC_LIMB which are GMP internal. +Add MPFR_LIMB_ZERO. + +------------------------------------------------------------------------ +r3077 | zimmerma | 2004-11-10 12:10:16 +0000 (Wed, 10 Nov 2004) | 2 lines +Changed paths: + M /trunk/sqrt.c + M /trunk/tests/tsqrt.c + +new simpler and faster code + +------------------------------------------------------------------------ +r3076 | pelissip | 2004-11-10 12:05:20 +0000 (Wed, 10 Nov 2004) | 2 lines +Changed paths: + M /trunk/acos.c + M /trunk/acosh.c + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atan.c + M /trunk/atanh.c + M /trunk/const_euler.c + M /trunk/const_log2.c + M /trunk/const_pi.c + M /trunk/cosh.c + M /trunk/erf.c + M /trunk/exp2.c + M /trunk/exp3.c + M /trunk/expm1.c + M /trunk/factorial.c + M /trunk/gamma.c + M /trunk/get_str.c + M /trunk/hypot.c + M /trunk/log10.c + M /trunk/log1p.c + M /trunk/log2.c + M /trunk/pow.c + M /trunk/pow_si.c + M /trunk/sin.c + M /trunk/sin_cos.c + M /trunk/sinh.c + M /trunk/sum.c + M /trunk/tan.c + M /trunk/tanh.c + +Replace __gmpfr_ceil_log2 by MPFR_INT_CEIL_LOG2 when possible. + +------------------------------------------------------------------------ +r3075 | pelissip | 2004-11-10 12:02:34 +0000 (Wed, 10 Nov 2004) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +Add __extension__ to avoid warning useless in GCC. + +------------------------------------------------------------------------ +r3074 | lefevre | 2004-11-03 16:14:38 +0000 (Wed, 03 Nov 2004) | 2 lines +Changed paths: + M /trunk/README + +Update. + +------------------------------------------------------------------------ +r3069 | pelissip | 2004-11-03 09:11:31 +0000 (Wed, 03 Nov 2004) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +Fix wrong Visual C++ code. + +------------------------------------------------------------------------ +r3068 | lefevre | 2004-11-02 17:01:49 +0000 (Tue, 02 Nov 2004) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + M /trunk/configure.in + +Code checking for GMP library wasn't working (always returning "yes"?). + +------------------------------------------------------------------------ +r3066 | lefevre | 2004-10-27 16:34:33 +0000 (Wed, 27 Oct 2004) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + +Updated copyright line. + +------------------------------------------------------------------------ +r3064 | lefevre | 2004-10-27 14:13:24 +0000 (Wed, 27 Oct 2004) | 2 lines +Changed paths: + M /trunk/BUGS + +Added a bug and updated copyright line. + +------------------------------------------------------------------------ +r3062 | lefevre | 2004-10-27 13:06:42 +0000 (Wed, 27 Oct 2004) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update. + +------------------------------------------------------------------------ +r3061 | lefevre | 2004-10-27 13:04:10 +0000 (Wed, 27 Oct 2004) | 7 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/set_d.c + +Removed the definitions of DBL_POS_INF/DBL_NEG_INF/DBL_NAN for +Visual C++ as they were incorrect. Modified DOUBLE_ISINF(x) so +that infinities are no longer used (this should fix a part of +the problem for Visual C++). If IEEE 754 is not supported, one +should probably use the standard INFINITY macro instead of +(1.0/0.0), since (1.0/0.0) is specific to IEEE 754. + +------------------------------------------------------------------------ +r3060 | lefevre | 2004-10-27 11:55:05 +0000 (Wed, 27 Oct 2004) | 3 lines +Changed paths: + M /trunk/acinclude.m4 + M /trunk/tests/tests.c + +Applied patch by Steve M. Robbins for non-IRIX MIPS systems +(originally for MPFR 2.0.3). + +------------------------------------------------------------------------ +r3059 | lefevre | 2004-10-26 02:11:43 +0000 (Tue, 26 Oct 2004) | 2 lines +Changed paths: + M /trunk/tests/tadd1sp.c + M /trunk/tests/tsub1sp.c + +Reformatted the code. + +------------------------------------------------------------------------ +r3058 | lefevre | 2004-10-26 01:49:26 +0000 (Tue, 26 Oct 2004) | 5 lines +Changed paths: + M /trunk/mpfr-test.h + M /trunk/tests/tacos.c + M /trunk/tests/tadd1sp.c + M /trunk/tests/tasin.c + M /trunk/tests/tatan.c + M /trunk/tests/tcos.c + M /trunk/tests/tcosh.c + M /trunk/tests/tdiv.c + M /trunk/tests/tests.c + M /trunk/tests/texceptions.c + M /trunk/tests/texp.c + M /trunk/tests/texp2.c + M /trunk/tests/tgamma.c + M /trunk/tests/tlog.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/trandom.c + M /trunk/tests/trint.c + M /trunk/tests/tround_prec.c + M /trunk/tests/tset.c + M /trunk/tests/tset_exp.c + M /trunk/tests/tset_ld.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsub1sp.c + M /trunk/tests/ttanh.c + +Replaced mpfr_set_emin/emax by set_emin/emax in tests to check +the return value; defined set_emin/emax in "tests/tests.c". +Fix: added missing #include <string.h> in "tests/tests.c". +Removed variable names in prototypes in "mpfr-test.h". + +------------------------------------------------------------------------ +r3057 | lefevre | 2004-10-22 13:19:48 +0000 (Fri, 22 Oct 2004) | 2 lines +Changed paths: + M /trunk/tests/mpf_compat.h + +Reformatted the code -> GNU style. + +------------------------------------------------------------------------ +r3054 | lefevre | 2004-10-22 12:49:32 +0000 (Fri, 22 Oct 2004) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update. + +------------------------------------------------------------------------ +r3053 | pelissip | 2004-10-22 08:00:56 +0000 (Fri, 22 Oct 2004) | 3 lines +Changed paths: + M /trunk/tests/tests.c + +Declaration of "tests_rand_start" and "tests_rand_end" with the same storage class specifier +in tests.c (static missing line 65 and 109). + +------------------------------------------------------------------------ +r3052 | lefevre | 2004-10-21 11:53:26 +0000 (Thu, 21 Oct 2004) | 4 lines +Changed paths: + M /trunk/strtofr.c + +Bug fixed: cast to unsigned char instead of int for isspace (no, +these are not "psycho" systems, just systems with signed chars). +Untabified the source. + +------------------------------------------------------------------------ +r3051 | pelissip | 2004-10-20 13:27:25 +0000 (Wed, 20 Oct 2004) | 2 lines +Changed paths: + M /trunk/configure.in + +Improve ICC CFLAGS by removins meaningless warnings. + +------------------------------------------------------------------------ +r3050 | pelissip | 2004-10-20 12:52:33 +0000 (Wed, 20 Oct 2004) | 2 lines +Changed paths: + M /trunk/strtofr.c + +Remove some warnings on some "psycho" systems. + +------------------------------------------------------------------------ +r3049 | pelissip | 2004-10-20 09:37:55 +0000 (Wed, 20 Oct 2004) | 2 lines +Changed paths: + M /trunk/README.dev + +Update the chapter "Make a release". + +------------------------------------------------------------------------ +r3048 | pelissip | 2004-10-20 09:36:18 +0000 (Wed, 20 Oct 2004) | 4 lines +Changed paths: + M /trunk/mpfr-test.h + M /trunk/tests/mpf_compat.h + M /trunk/tests/tests.c + M /trunk/tests/tinp_str.c + +Fix bug when you build MPFR outside source directory. +Add function src_fopen to open a file in the source directory, which +may be different from the current directory. + +------------------------------------------------------------------------ +r3047 | pelissip | 2004-10-20 07:12:08 +0000 (Wed, 20 Oct 2004) | 2 lines +Changed paths: + M /trunk/INSTALL + +Fix a typo. + +------------------------------------------------------------------------ +r3046 | lefevre | 2004-10-19 13:07:28 +0000 (Tue, 19 Oct 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Another correction (English). + +------------------------------------------------------------------------ +r3045 | lefevre | 2004-10-19 13:05:34 +0000 (Tue, 19 Oct 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Minor correction. + +------------------------------------------------------------------------ +r3044 | pelissip | 2004-10-19 12:49:15 +0000 (Tue, 19 Oct 2004) | 2 lines +Changed paths: + M /trunk/NEWS + +Update NEWS to reflect the change in mpfr_set_str. + +------------------------------------------------------------------------ +r3043 | pelissip | 2004-10-19 12:45:45 +0000 (Tue, 19 Oct 2004) | 3 lines +Changed paths: + M /trunk/mpfr.texi + M /trunk/set_str.c + M /trunk/tests/tset_str.c + +Update mpfr_set_str to be much more like strtofr. +Update the documentation to reflect the changes. + +------------------------------------------------------------------------ +r3042 | zimmerma | 2004-10-19 10:18:14 +0000 (Tue, 19 Oct 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +changed contributors section + +------------------------------------------------------------------------ +r3041 | pelissip | 2004-10-19 09:53:00 +0000 (Tue, 19 Oct 2004) | 2 lines +Changed paths: + M /trunk/NEWS + +Add a line about binary compatibility. + +------------------------------------------------------------------------ +r3040 | zimmerma | 2004-10-19 09:24:10 +0000 (Tue, 19 Oct 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +changed "contributors" section + +------------------------------------------------------------------------ +r3039 | zimmerma | 2004-10-19 09:02:46 +0000 (Tue, 19 Oct 2004) | 2 lines +Changed paths: + M /trunk/mul.c + +changed rights (remove executable permission) + +------------------------------------------------------------------------ +r3038 | lefevre | 2004-10-18 15:07:09 +0000 (Mon, 18 Oct 2004) | 7 lines +Changed paths: + M /trunk/mpfr.texi - * tests/tests.c (tests_rand_start): Use gmp_randinit_default not the - RANDS macro, to cope with new non-seeding MT setup by RANDS. +Misc corrections: + + spelling mistakes + + consistency: in direction @var{rnd} -> in the direction @var{rnd} + + @code{NULL} pointer -> null pointer (as in the C standard) + + in the example for mpfr_inits2 / mpfr_clears: NULL -> (void *) 0 + as NULL isn't necessarily a pointer. -2003-11-07 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3037 | pelissip | 2004-10-18 14:23:01 +0000 (Mon, 18 Oct 2004) | 2 lines +Changed paths: + M /trunk/BUGS + M /trunk/README + +Update - * add1.c: - Fix a stupid bug (diff_exp is not equal to the difference of prec) +------------------------------------------------------------------------ +r3036 | pelissip | 2004-10-18 13:28:28 +0000 (Mon, 18 Oct 2004) | 7 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/set_str.c + M /trunk/strtofr.c + M /trunk/tests/tset_str.c + M /trunk/tests/tstrtofr.c -2003-11-07 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Change "unsigned int" to "int" for base in proto of strtofr. +Change set_str to use strtofr (Fix a bug too). +Limit base to 36 in strtofr (since get_str is limited to 36). +Update documentation to reflect the changes. +mpfr_get_d1 is moved to section internal in the documentation. +Update the tests. - * init2.c: Initialize the exp field. +------------------------------------------------------------------------ +r3035 | pelissip | 2004-10-18 13:21:55 +0000 (Mon, 18 Oct 2004) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +Hard code NAN, +INF and -INF values for MVC. -2003-11-07 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3034 | pelissip | 2004-10-18 09:47:37 +0000 (Mon, 18 Oct 2004) | 2 lines +Changed paths: + M /trunk/tests/mpf_compat.h + M /trunk/tests/tout_str.c - * add1.c, copysign.c, div.c, div_2si.c, div_2ui.c, exceptions.c, extract.c, get_d.c, get_exp.c, get_str.c, init2.c, isinteger.c, mpfr-impl.h, mpfr.h, mul.c, mul_2si.c, mul_2ui.c, set_prec.c, set_str_raw.c, sub1.c, swap.c: - Some minor optimizations. - Optimization of mul.c / sub1.c. - Some clean up in the header files. +Fix problem on systems where "/dev/null" doesn't exist. -2003-11-05 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3033 | lefevre | 2004-10-16 10:48:15 +0000 (Sat, 16 Oct 2004) | 2 lines +Changed paths: + M /trunk/AUTHORS + M /trunk/mpfr.texi - * pow.c, pow_si.c, pow_ui.c, rint.c, set.c, sin.c, sin_cos.c, sinh.c, sub.c, sub1.c, swap.c, tan.c, tanh.c, ui_div.c, ui_sub.c, zeta.c, exp2.c, expm1.c, fma.c, gamma.c, gammaPiAGMformula.c, get_z_exp.c, hypot.c, log.c, log10.c, log1p.c, log2.c, mpfr-impl.h, mpfr.h, mul.c, mul_ui.c, add_one_ulp.c, agm.c, asin.c, asinh.c, atan.c, atanh.c, cbrt.c, cmp.c, cmp_abs.c, cmp_ui.c, copysign.c, cos.c, cosh.c, div.c, div_ui.c, erf.c, exp.c, acos.c, acosh.c, add.c: - Fix some bugs (Use MPFR_ASSERT(1) instead of MPFR_ASSERT(0)) - Optimize swap.c and copysign.c. +Misc corrections. - * cmp2.c, mpfr-impl.h, round_prec.c, set.c, sub1.c: - Optimize mpfr_prec_round. - Optimize mpfr_set (Case of both src & dest have the same precision). - Start optimizing mpfr_sub1. +------------------------------------------------------------------------ +r3032 | lefevre | 2004-10-15 14:06:28 +0000 (Fri, 15 Oct 2004) | 2 lines +Changed paths: + M /trunk/README.dev - * set_ui.c, sgn.c, sqrt.c, sub.c, sub1.c, tests/Makefile.am, tests/tsgn.c, Makefile.am, add.c, add1.c, cmp_ui.c, mpfr-impl.h, mpfr.h, mul.c, set.c: - Add a real function for mpfr_sgn (not a call to mpfr_cmp_ui_2exp). - Add a test for mpfr_sgn. - Change the proto of mpfr_add1 and mpfr_sub1 by removing the last arg. - Simplify the logic of the sign in mpfr_sub1. - Tiny speed up for cmp/set/sqrt. - mpfr-impl auto include all the needed local header files (gmp, gmp-impl, mpfr). +Updated the section "To make a release". -2003-11-04 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r3031 | lefevre | 2004-10-15 13:58:37 +0000 (Fri, 15 Oct 2004) | 2 lines +Changed paths: + M /trunk/VERSION + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/version.c - * pow_ui.c: Merged the mpfr-2-0-2-branch pow_ui.c changes to the trunk. +Updated the version on the trunk. - * pow_ui.c: - Overflow on err (which is now unsigned) avoided, simplified its - computation, added some asserts, fixed the underflow check (the - cast to double was useless and could be inexact). +------------------------------------------------------------------------ +r3030 | lefevre | 2004-10-15 12:52:20 +0000 (Fri, 15 Oct 2004) | 2 lines +Changed paths: + M /trunk/ChangeLog - * tests/tacosh.c: Merged the check_inf test to the 2.0.2 branch. +Update. - * tests/tacosh.c: - The check_inf test wasn't called. Added 2 missing mpfr_clear and \n. +------------------------------------------------------------------------ +r3029 | lefevre | 2004-10-15 12:49:05 +0000 (Fri, 15 Oct 2004) | 2 lines +Changed paths: + M /trunk/NEWS -2003-11-04 Patrick Pelissier <Patrick.Pelissier@loria.fr> +Update for 2.1.0. - * log2.c, minmax.c, mpfr-impl.h, mpfr-test.h, mpfr.h, mul.c, rint.c, round_prec.c, set_inf.c, set_str.c, set_str_raw.c, sin_cos.c, sub.c, tests/reuse.c, tests/tacosh.c, tests/tests.c, tests/texp2.c, tests/thyperbolic.c, tests/tui_pow.c, zeta.c, acos.c, acosh.c, add.c, agm.c, asin.c, asinh.c, atan.c, atanh.c, cbrt.c, const_euler.c, const_log2.c, const_pi.c, cos.c, cputime.h, dim.c, div.c, div_ui.c, erf.c, exp.c, exp2.c, exp_2.c, expm1.c, fma.c, gamma.c, gammaPiAGMformula.c, get_str.c, hypot.c, log.c, log10.c, log1p.c: - + Remove MPFR_CLEAR_NAN and MPFR_CLEAR_INF. Only use MPFR_CLEAR_FLAGS. - MPFR_SET_INF, MPFR_SET_ZERO and MPFR_SET_ZERO must clear the flags before setting them. - + Add a new test in tacosh.c : check Inf / Nan flags. - + Use MPFR_IS_SINGULAR in all the remaining files. - + Fix the use of MPFR_CLEAR_FLAGS. - + mpfr-impl.h auto include gmp.h, gmp-impl.h, mpfr.h and limits.h. - + Rename _PROTO to _MPFR_PROTO, and remove _GMP_PROTO. - + Add MPFR_INT_SIGN macro. - + Encapsulate a few more the sign. +------------------------------------------------------------------------ +r3028 | lefevre | 2004-10-13 08:35:11 +0000 (Wed, 13 Oct 2004) | 2 lines +Changed paths: + M /trunk/README.dev -2003-11-04 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Added a comment about autoreconf and a bug in Debian (now fixed). - * acosh.c: Special cases rewritten. +------------------------------------------------------------------------ +r3027 | pelissip | 2004-10-12 07:24:51 +0000 (Tue, 12 Oct 2004) | 2 lines +Changed paths: + M /trunk/INSTALL + +Add a note about Windows 64. -2003-10-30 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r3026 | pelissip | 2004-10-11 13:52:42 +0000 (Mon, 11 Oct 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * log1p.c: MPFR_RET_NAN -> MPFR_RET(0). +Update documentation. -2003-10-28 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3025 | pelissip | 2004-10-11 13:52:29 +0000 (Mon, 11 Oct 2004) | 2 lines +Changed paths: + M /trunk/INSTALL - * tests/tpow.c, sin.c, sinh.c, sqrt.c, sub.c, sub_one_ulp.c, tan.c, tanh.c, ui_div.c, ui_sub.c, zeta.c, mul.c, mul_ui.c, next.c, pow.c, pow_si.c, pow_ui.c, round_prec.c, set.c, set_si.c, set_ui.c, frac.c, gamma.c, gammaPiAGMformula.c, hypot.c, log.c, log10.c, log1p.c, log2.c, minmax.c, mpfr-impl.h, mpfr.h, eq.c, erf.c, exp.c, exp2.c, expm1.c, fma.c, cmp.c, cmp2.c, cmp_abs.c, cos.c, cosh.c, div.c, acosh.c, add.c, add1.c, add_one_ulp.c, agm.c, asin.c, asinh.c, atan.c, atanh.c, cbrt.c, acos.c: - Use of MPFR_UNLIKELY and MPFR_IS_SINGULAR for fast detection of special values (Nan, Inf or Zero). - Start to encapsulate the sign to be independant of the reprensation (Must be 1 or -1). +Improve Windows installation. -2003-10-27 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r3024 | pelissip | 2004-10-11 13:52:07 +0000 (Mon, 11 Oct 2004) | 2 lines +Changed paths: + M /trunk/README.dev - * init2.c, log.c, mpfr-impl.h, mpfr.h, rint.c, round_prec.c, set.c, set_d.c, set_prc_raw.c, set_prec.c, set_str.c, set_str_raw.c, sqrt_ui.c, sub_ui.c, ui_div.c, ui_sub.c, urandomb.c, add.c, add_ui.c, agm.c, clear.c, div.c, exceptions.c, extract.c, get_d.c, get_si.c, get_str.c, get_ui.c: - Change the internal format of MPFR: ZERO, INF and NAN have special values of exp. - Rename MPFR_ESIZE in MPFR_LIMB_SIZE. - Rename MPFR_ABSZISE in MPFR_ALLOC_SIZE. - Rename MPFR_INIT in MPFR_TMP_INIT (INIT1 too). - "mpfr.h" includes <gmp.h> if GMP isn't detected. - Change the way of detecting stdio.h (To check). - Use mpfr namespace for new definitions in "mpfr.h". +Add a line about "near" and "far". -2003-10-27 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r3023 | pelissip | 2004-10-07 11:53:27 +0000 (Thu, 07 Oct 2004) | 3 lines +Changed paths: + M /trunk/acinclude.m4 + M /trunk/configure.in + M /trunk/tests/tget_str.c - * tests/thyperbolic.c: - Fixes for thyperbolic.c merged to the 2.0.2 branch. +Add support for ".lib" since it seems to work. +Display GMP version inside the configure. - * tests/thyperbolic.c: Another fix, for acosh(-INF). +------------------------------------------------------------------------ +r3022 | zimmerma | 2004-10-05 09:45:29 +0000 (Tue, 05 Oct 2004) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c - * tests/thyperbolic.c: Fixed exit status. +added one new test -2003-10-21 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r3021 | lefevre | 2004-10-04 13:40:35 +0000 (Mon, 04 Oct 2004) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c - * ChangeLog: Update. +Added worst cases. - * TODO, const_log2.c, const_pi.c, mpfr.h, tests/trint.c: - Merged the mpfr-2-0-2-branch changes to the trunk. +------------------------------------------------------------------------ +r3020 | zimmerma | 2004-10-02 07:28:07 +0000 (Sat, 02 Oct 2004) | 2 lines +Changed paths: + M /trunk/tests/tset_str.c - * const_log2.c, const_pi.c, mpfr.h, TODO: - Fixed the mpfr_round bug (the mpfr_round macro hadn't been updated). - The ternary value wasn't always set in const_log2.c and const_pi.c. - Updated TODO. +added new tests (worst-case) - * tests/trint.c: Value of y is displayed when a test fails. +------------------------------------------------------------------------ +r3019 | zimmerma | 2004-10-01 12:31:46 +0000 (Fri, 01 Oct 2004) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c - * tests/trint.c: More tests (showing a bug for mpfr_round). +added new worst-cases (directed rounding) - * tests/trint.c: More tests for the rounding-to-integer functions. +------------------------------------------------------------------------ +r3018 | zimmerma | 2004-10-01 07:35:34 +0000 (Fri, 01 Oct 2004) | 2 lines +Changed paths: + M /trunk/TODO + +added new function to implement (dilog) + +------------------------------------------------------------------------ +r3017 | zimmerma | 2004-09-30 16:11:13 +0000 (Thu, 30 Sep 2004) | 2 lines +Changed paths: + M /trunk/get_str.c + +fixed bug in get_str_aux when one extra digit + +------------------------------------------------------------------------ +r3016 | lefevre | 2004-09-30 16:06:25 +0000 (Thu, 30 Sep 2004) | 3 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/rint.c + M /trunk/tests/trint.c + +Added functions mpfr_rint_round, mpfr_rint_trunc, mpfr_rint_ceil, +mpfr_rint_floor. + +------------------------------------------------------------------------ +r3015 | pelissip | 2004-09-30 13:03:52 +0000 (Thu, 30 Sep 2004) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c + +Add new test (One failed). + +------------------------------------------------------------------------ +r3014 | lefevre | 2004-09-30 09:21:11 +0000 (Thu, 30 Sep 2004) | 3 lines +Changed paths: + M /trunk/get_sj.c + +The cast to uintmax_t wasn't really useful, so I removed it. +Added a comment. + +------------------------------------------------------------------------ +r3013 | lefevre | 2004-09-30 09:06:37 +0000 (Thu, 30 Sep 2004) | 2 lines +Changed paths: + M /trunk/get_sj.c + +The real fix for sizeof(intmax_t) == sizeof(mp_limb_t). + +------------------------------------------------------------------------ +r3012 | pelissip | 2004-09-30 08:08:59 +0000 (Thu, 30 Sep 2004) | 2 lines +Changed paths: + M /trunk/get_sj.c + +Fix a bug if sizeof(intmax_t) == sizeof(mp_limb_t) + +------------------------------------------------------------------------ +r3011 | zimmerma | 2004-09-29 16:05:01 +0000 (Wed, 29 Sep 2004) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c + +added worst-case + +------------------------------------------------------------------------ +r3010 | pelissip | 2004-09-29 13:58:06 +0000 (Wed, 29 Sep 2004) | 2 lines +Changed paths: + M /trunk/TODO + M /trunk/cmp.c + M /trunk/cmp_abs.c + M /trunk/cmp_d.c + M /trunk/cmp_si.c + M /trunk/cmp_ui.c + M /trunk/mpfr.texi + M /trunk/tests/tcmp.c + M /trunk/tests/tcmp_d.c + M /trunk/tests/tcmp_ld.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tcmpabs.c + +cmp(x,y) if x=NAN or y=NAN returns 0 and erange flag. + +------------------------------------------------------------------------ +r3009 | pelissip | 2004-09-29 12:54:47 +0000 (Wed, 29 Sep 2004) | 3 lines +Changed paths: + M /trunk/NEWS + M /trunk/mpfr.texi + +Update documentation and NEWS to reflect new functions +and functionnality. + +------------------------------------------------------------------------ +r3008 | pelissip | 2004-09-29 12:28:17 +0000 (Wed, 29 Sep 2004) | 2 lines +Changed paths: + M /trunk/get_z.c + M /trunk/strtofr.c + +Improve assertion. + +------------------------------------------------------------------------ +r3007 | pelissip | 2004-09-29 12:27:36 +0000 (Wed, 29 Sep 2004) | 6 lines +Changed paths: + M /trunk/exceptions.c + M /trunk/get_si.c + M /trunk/get_sj.c + M /trunk/get_ui.c + M /trunk/get_uj.c + M /trunk/mpfr-impl.h + M /trunk/set_sj.c + M /trunk/set_uj.c + M /trunk/tests/texceptions.c + M /trunk/tests/tget_sj.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_sj.c + +Add mpfr_clear_erangeflag and mpfr_erangeflag_p. +Add test for theses two functions. +mpfr_get_[s/u][i/j] have a deterministic behavior in case of OVERFLOW. +(Return the MINIMUM or the MAXIMUM in the current type, and set +ERANGE_flag). + +------------------------------------------------------------------------ +r3006 | pelissip | 2004-09-29 12:23:54 +0000 (Wed, 29 Sep 2004) | 2 lines +Changed paths: + M /trunk/Makefile.am + A /trunk/fits_intmax.c + A /trunk/fits_uintmax.c + M /trunk/mpfr.h + M /trunk/tests/tfits.c + +Add mpfr_uintmax_p and mpfr_intmax_p. + +------------------------------------------------------------------------ +r3005 | pelissip | 2004-09-29 12:21:03 +0000 (Wed, 29 Sep 2004) | 3 lines +Changed paths: + M /trunk/INSTALL + M /trunk/TODO + +Update INSTALL about C++ +Update TODO and VERSION. + +------------------------------------------------------------------------ +r3004 | pelissip | 2004-09-29 08:59:58 +0000 (Wed, 29 Sep 2004) | 3 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/mpfr.texi + +Move mpfr_inits from mpfr-impl to mpfr.h. +Add doc too. + +------------------------------------------------------------------------ +r3003 | pelissip | 2004-09-28 10:09:18 +0000 (Tue, 28 Sep 2004) | 2 lines +Changed paths: + M /trunk/get_sj.c + M /trunk/get_uj.c + +Reindent the sources (again). + +------------------------------------------------------------------------ +r3002 | pelissip | 2004-09-28 09:26:34 +0000 (Tue, 28 Sep 2004) | 5 lines +Changed paths: + M /trunk/mpn_exp.c + +Fix how to detect overflow so that it can be build with GCC -ftrapv +option without any bugs (In the previous code, the overflow was +detected afterwards, whereas, now, it is detected before). +Fix also another real problem of overflow (Addition of two signed integers). + +------------------------------------------------------------------------ +r3001 | pelissip | 2004-09-28 08:24:07 +0000 (Tue, 28 Sep 2004) | 2 lines +Changed paths: + M /trunk/div.c + +Rename this variable again. + +------------------------------------------------------------------------ +r3000 | pelissip | 2004-09-28 07:53:46 +0000 (Tue, 28 Sep 2004) | 4 lines +Changed paths: + M /trunk/div.c + +Replace variable 'near' to 'the_real_near' since MSVC incorreclty +recognize "far" and "near" as obsolete keywords (100% incorrect, and +clearly MSVC fault but it doesn't cost many things to change the name). + +------------------------------------------------------------------------ +r2999 | pelissip | 2004-09-27 14:59:46 +0000 (Mon, 27 Sep 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Fix typo in the documentation about get_ functions. + +------------------------------------------------------------------------ +r2998 | pelissip | 2004-09-27 14:58:37 +0000 (Mon, 27 Sep 2004) | 2 lines +Changed paths: + M /trunk/get_sj.c + M /trunk/get_uj.c + +Retab the sources. + +------------------------------------------------------------------------ +r2997 | lefevre | 2004-09-27 13:58:21 +0000 (Mon, 27 Sep 2004) | 2 lines +Changed paths: + M /trunk/NEWS + +Added mpfr_get_uj and mpfr_get_sj in the changes 2.0.3 -> 2.1.0. + +------------------------------------------------------------------------ +r2996 | lefevre | 2004-09-27 13:38:24 +0000 (Mon, 27 Sep 2004) | 2 lines +Changed paths: + M /trunk/TODO + +Added an item about the future MPFR_FLAGS_ERANGE flag. -2003-10-20 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2995 | lefevre | 2004-09-27 13:21:12 +0000 (Mon, 27 Sep 2004) | 2 lines +Changed paths: + M /trunk/Makefile.am + A /trunk/get_sj.c + A /trunk/get_uj.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/tests/Makefile.am + A /trunk/tests/tget_sj.c - * gmp_op.c, mpfr.texi, rint.c, tests/trint.c: - Merged the mpfr-2-0-2-branch changes to the trunk. +New functions mpfr_get_sj and mpfr_get_uj, with tests. - * gmp_op.c: Wrong comment updated. +------------------------------------------------------------------------ +r2994 | pelissip | 2004-09-27 08:35:25 +0000 (Mon, 27 Sep 2004) | 2 lines +Changed paths: + M /trunk/set_sj.c - * rint.c, tests/trint.c, mpfr.texi: - Major update of the function mpfr_rint, including a small semantics - change to behave like the C function rint (unless the result is not - representable); as a consequence, mpfr_round now calls mpfr_rint with - the NEAREST_AWAY internal (to rint.c) rounding mode. Manual updated - to reflect this change. +Remove MPFR_NEED_LONGLONG_H macro. -2003-10-17 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2993 | lefevre | 2004-09-26 22:18:46 +0000 (Sun, 26 Sep 2004) | 2 lines +Changed paths: + M /trunk/set_sj.c - * erf.c, tests/tasin.c, tests/terf.c, tests/tgamma.c, tests/trint.c: - Merged the mpfr-2-0-2-branch changes to the trunk. +Added a cast to avoid an integer overflow. - * erf.c, tests/terf.c: Fixed ternary value bugs and added tests. +------------------------------------------------------------------------ +r2992 | lefevre | 2004-09-24 14:53:05 +0000 (Fri, 24 Sep 2004) | 2 lines +Changed paths: + M /trunk/get_si.c -2003-10-16 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Fixed integer overflow. - * tests/tasin.c, tests/tgamma.c: Added some necessary #include's. +------------------------------------------------------------------------ +r2991 | lefevre | 2004-09-24 14:13:20 +0000 (Fri, 24 Sep 2004) | 2 lines +Changed paths: + M /trunk/get_si.c - * tests/trint.c: - Added a test against the libc (compiled and performed only when - __STDC_VERSION__ >= 199901L), showing a difference between mpfr_rint - and the C rint function (the behavior of mpfr_rint will change and - the manual will be updated). +Fixed bugs (like those in mpfr_get_ui). - * tests/trint.c: - Added mpfr_rint tests (as the behavior of this function will change). +------------------------------------------------------------------------ +r2990 | lefevre | 2004-09-24 13:38:39 +0000 (Fri, 24 Sep 2004) | 2 lines +Changed paths: + M /trunk/README.dev - * README.dev: Update. +The standard autoreconf script should now be used instead of prepare. - * VERSION: Updated version on trunk. +------------------------------------------------------------------------ +r2989 | zimmerma | 2004-09-24 11:43:47 +0000 (Fri, 24 Sep 2004) | 2 lines +Changed paths: + M /trunk/get_ui.c + +forgot to check for 0 - * ChangeLog: Update. +------------------------------------------------------------------------ +r2988 | zimmerma | 2004-09-24 11:15:45 +0000 (Fri, 24 Sep 2004) | 2 lines +Changed paths: + M /trunk/get_ui.c - * get_d.c, set_d.c: Fixed several bugs. +now use mpfr_rint() + +------------------------------------------------------------------------ +r2987 | pelissip | 2004-09-24 08:32:31 +0000 (Fri, 24 Sep 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Update doc of mpfr_get_str (Minimum space is 7). + +------------------------------------------------------------------------ +r2986 | zimmerma | 2004-09-24 07:21:04 +0000 (Fri, 24 Sep 2004) | 2 lines +Changed paths: + M /trunk/get_ui.c + M /trunk/tests/tset_si.c + +fixed double-rounding bug in get_ui + +------------------------------------------------------------------------ +r2985 | pelissip | 2004-09-23 15:28:35 +0000 (Thu, 23 Sep 2004) | 3 lines +Changed paths: + M /trunk/mpf2mpfr.h + +Prevent from multiple inclusion. +mpf_init inits to 0 rather than NAN. + +------------------------------------------------------------------------ +r2984 | pelissip | 2004-09-23 13:54:41 +0000 (Thu, 23 Sep 2004) | 2 lines +Changed paths: + M /trunk/mpfr.h + +Fix some tiny problems. + +------------------------------------------------------------------------ +r2983 | zimmerma | 2004-09-23 10:16:45 +0000 (Thu, 23 Sep 2004) | 2 lines +Changed paths: + M /trunk/TODO + +added item on rounding to odd + +------------------------------------------------------------------------ +r2982 | pelissip | 2004-09-21 12:42:37 +0000 (Tue, 21 Sep 2004) | 3 lines +Changed paths: + M /trunk/strtofr.c + +Fix a bug in FreeBsd 5.20 / Alpha / Gcc 3.3.3. +Nor a MPFR bug, but add some code to avoid it. + +------------------------------------------------------------------------ +r2981 | pelissip | 2004-09-21 11:46:11 +0000 (Tue, 21 Sep 2004) | 2 lines +Changed paths: + M /trunk/strtofr.c + M /trunk/tests/tstrtofr.c - * get_d.c: Added XDEBUG support (like in set_d.c). +Add a new test and clarify a comment. -2003-10-15 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2980 | pelissip | 2004-09-21 09:52:54 +0000 (Tue, 21 Sep 2004) | 2 lines +Changed paths: + M /trunk/strtofr.c - * mpfr.texi: - Replaced all non-ASCII characters by an equivalent 7-bit sequence - to support unpatched texinfo.tex files. +Update Assertion for pow2. -2003-10-15 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2979 | pelissip | 2004-09-20 15:38:19 +0000 (Mon, 20 Sep 2004) | 2 lines +Changed paths: + M /trunk/NEWS + +Update NEWS. + +------------------------------------------------------------------------ +r2978 | pelissip | 2004-09-20 15:13:51 +0000 (Mon, 20 Sep 2004) | 2 lines +Changed paths: + M /trunk/TODO + +Update TODO due to new function mpfr_strtofr + +------------------------------------------------------------------------ +r2977 | pelissip | 2004-09-20 14:45:32 +0000 (Mon, 20 Sep 2004) | 3 lines +Changed paths: + M /trunk/configure.in + M /trunk/get_d.c + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/set_d.c + M /trunk/strtofr.c + M /trunk/tests/memory.c + M /trunk/tests/tdiv.c + M /trunk/tests/tests.c + M /trunk/tests/tget_str.c + M /trunk/tests/trint.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_str.c + M /trunk/tests/tstrtofr.c + +Add ICC detection && support. +Remove some potential warnings in the test files. - * tests/reuse.c: removed #define DEBUG (turned on accidentally) +------------------------------------------------------------------------ +r2976 | pelissip | 2004-09-20 08:57:28 +0000 (Mon, 20 Sep 2004) | 4 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/mpfr.texi + A /trunk/strtofr.c + M /trunk/tests/Makefile.am + A /trunk/tests/tstrtofr.c -2003-10-15 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Add mpfr_strtofr function. +Add mpfr_strtofr test file. +Add mpfr_strtofr documentation. + +------------------------------------------------------------------------ +r2975 | pelissip | 2004-09-20 08:55:56 +0000 (Mon, 20 Sep 2004) | 2 lines +Changed paths: + M /trunk/configure.in + +Improve GMP.h vs libgmp.a version checking. + +------------------------------------------------------------------------ +r2974 | zimmerma | 2004-09-17 16:26:22 +0000 (Fri, 17 Sep 2004) | 2 lines +Changed paths: + M /trunk/TODO + +added one entry (new function 1/sqrt(x)) + +------------------------------------------------------------------------ +r2973 | pelissip | 2004-09-17 09:49:50 +0000 (Fri, 17 Sep 2004) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + M /trunk/configure.in + M /trunk/tests/Makefile.am + +Use LIBS instead of LDADD for libraries (GMP). + +------------------------------------------------------------------------ +r2972 | pelissip | 2004-09-17 07:21:31 +0000 (Fri, 17 Sep 2004) | 2 lines +Changed paths: + M /trunk/configure.in + +Min GMP version is 4.1.0 now. + +------------------------------------------------------------------------ +r2971 | pelissip | 2004-09-16 11:12:09 +0000 (Thu, 16 Sep 2004) | 2 lines +Changed paths: + M /trunk/configure.in + +Add a check if both gmp.h and libgmp.a have the same version. + +------------------------------------------------------------------------ +r2970 | pelissip | 2004-09-16 11:11:23 +0000 (Thu, 16 Sep 2004) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h - * BUGS: - Bug on the ternary value was fixed by Paul Zimmermann on 2003-10-14. +Fix a typo. -2003-10-14 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2969 | pelissip | 2004-09-15 08:50:55 +0000 (Wed, 15 Sep 2004) | 2 lines +Changed paths: + M /trunk/tests/tset_str.c - * mpfr.texi: added preamble about ternary flag for special functions +Add a forgotten regression test "1.2.3" + +------------------------------------------------------------------------ +r2968 | lefevre | 2004-09-15 08:38:08 +0000 (Wed, 15 Sep 2004) | 2 lines +Changed paths: + M /trunk/config.guess + M /trunk/config.sub + +Update from the autotools-dev Debian package. + +------------------------------------------------------------------------ +r2967 | lefevre | 2004-09-15 08:27:38 +0000 (Wed, 15 Sep 2004) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update. + +------------------------------------------------------------------------ +r2966 | pelissip | 2004-09-14 15:11:07 +0000 (Tue, 14 Sep 2004) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +Add 2 new macros for handling correctly overflow. - * tests/reuse.c, tests/tacos.c, tests/tagm.c, tests/tasin.c, tests/tatan.c, tests/terf.c, tests/texp.c, tests/tgamma.c, tests/tgeneric.c, tests/thypot.c, tests/tzeta.c: - now uses #include "tgeneric.c" everywhere - (and modified test_generic to check also the inexact flag) +------------------------------------------------------------------------ +r2965 | zimmerma | 2004-09-13 14:00:36 +0000 (Mon, 13 Sep 2004) | 2 lines +Changed paths: + M /trunk/set_str.c - * tests/tui_div.c: check_nan() is back +fixed bug (several '.' allowed in mantissa) - * tests/tlog.c: removed old unused code +------------------------------------------------------------------------ +r2964 | zimmerma | 2004-09-03 09:06:13 +0000 (Fri, 03 Sep 2004) | 2 lines +Changed paths: + M /trunk/INSTALL - * tests/thyperbolic.c: fixed tests for x=0 - removed composition tests (were already in-between #if 0 ... #endif) +added notes for Windows - * pow.c, pow_si.c, pow_ui.c, sin.c, sinh.c, sqrt.c, tan.c, tanh.c, ui_pow_ui.c, zeta.c, factorial.c, gamma.c, hypot.c, log.c, log10.c, log1p.c, log2.c, asinh.c, atan.c, atanh.c, const_euler.c, const_log2.c, const_pi.c, cos.c, cosh.c, erf.c, exp2.c, expm1.c, acos.c, acosh.c, agm.c, asin.c: - replaced mpfr_can_round (approx, err, rnd1, GMP_RNDN, prec) - by mpfr_can_round (approx, err, rnd1, GMP_RNDZ, prec + 1) - which in addition guarantees a correct inexact flag +------------------------------------------------------------------------ +r2963 | pelissip | 2004-09-02 07:06:39 +0000 (Thu, 02 Sep 2004) | 2 lines +Changed paths: + M /trunk/TODO - * TODO: added new items (version number, rounding modes) +Add a line about Dynamic Version of MPFR. - * README.dev: added comment about --enable-alloca=debug +------------------------------------------------------------------------ +r2962 | zimmerma | 2004-09-01 16:42:07 +0000 (Wed, 01 Sep 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi -2003-10-13 Paul Zimmermann <Paul.Zimmermann@loria.fr> +added warnings about init functions (mpf wrt mpfr) - * BUGS: added section "Problems due to compiler bugs" +------------------------------------------------------------------------ +r2961 | pelissip | 2004-08-31 13:01:00 +0000 (Tue, 31 Aug 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * exp3.c, exp_2.c: - change in can_round calls to get correct inexact flag for rounding to nearest +Update documentations. -2003-10-10 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2960 | pelissip | 2004-08-31 13:00:15 +0000 (Tue, 31 Aug 2004) | 3 lines +Changed paths: + M /trunk/get_z.c + M /trunk/mpfr.h + M /trunk/tests/tget_z.c - * pow.c, tests/tpow.c: - fixed bug in mpfr_pow found by Ming J. Tsai (overflow) +Rename mpz_set_fr to mpfr_get_z. +Provide a conditionnal macro for mpz_set_fr. -2003-10-08 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2959 | pelissip | 2004-08-31 09:20:41 +0000 (Tue, 31 Aug 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * acos.c, asin.c, atan.c: - Removed useless inclusion of standard headers and some #ifdef DEBUG - code. Partial reindentation. +Add doc for mpfr_sqr. - * strncasecmp.c: Added a #include <stddef.h> because size_t is used. +------------------------------------------------------------------------ +r2958 | pelissip | 2004-08-31 08:58:29 +0000 (Tue, 31 Aug 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi -2003-10-07 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Fix month. - * tests/tabs.c, tests/tacos.c, tests/tadd.c, tests/tasin.c, tests/tatan.c, tests/tcmp.c, tests/tconst_log2.c, tests/tdiv.c, tests/tfactorial.c, tests/tfrac.c, tests/tgamma.c, tests/tget_str.c, tests/tlog10.c, tests/tlog1p.c, tests/tpow3.c, tests/tset_d.c, tests/tset_si.c, tests/tset_str.c, tests/tset_z.c, tests/tsub.c, tests/tui_pow.c, tests/tzeta.c, tests/tsin.c: - reduced test time +------------------------------------------------------------------------ +r2957 | pelissip | 2004-08-26 09:05:32 +0000 (Thu, 26 Aug 2004) | 2 lines +Changed paths: + M /trunk/tests/texp.c -2003-10-06 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Add a new test to check overflow. - * round_prec.c: fixed comment of mpfr_round_raw_generic +------------------------------------------------------------------------ +r2956 | pelissip | 2004-08-24 14:00:42 +0000 (Tue, 24 Aug 2004) | 3 lines +Changed paths: + M /trunk/exp_2.c - * add1.c, extract.c, get_si.c, get_ui.c: - replaced ABSSIZE by ESIZE (ABSSIZE is the allocated size, and should be - used only in functions init, set_prec, round_prec) +Try to retype correctly the functions (replace int by the correct type). +Still some works to do. - * tests/tadd.c: fixed bug in allocation for in-place operation +------------------------------------------------------------------------ +r2955 | pelissip | 2004-08-23 09:32:27 +0000 (Mon, 23 Aug 2004) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h - * asin.c, atan.c: - inexact flag should now be correct for directed rounding - fixed a bug for mpfr_atan(-Inf) [gave +Pi/2 instead of -Pi/2] +Add description of what does MPFR_INT_CEIL_LOG2. - * tests/tatan.c: added test for atan(-Inf) +------------------------------------------------------------------------ +r2954 | pelissip | 2004-08-23 09:31:32 +0000 (Mon, 23 Aug 2004) | 4 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/exp_2.c + A /trunk/isqrt.c - * set_ld.c: use macros to avoid possible problem with float input +Move __gmpfr_isqrt and __gmpfr_cuberoot to another file. +Clean up the code of mpfr_exp_2: remove DEBUG condition to use TRACE, ASSERT and DUMP. +Use MPFR_INT_CEIL_LOG2 instead of __gmpfr_ceil_log2. - * TODO: new proposal for mpfr_can_round +------------------------------------------------------------------------ +r2953 | pelissip | 2004-08-23 09:29:55 +0000 (Mon, 23 Aug 2004) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h - * mpfr.texi: mpfr_mul_2exp/mpfr_div_2exp are not obsolete +Improve a comment. + +------------------------------------------------------------------------ +r2952 | pelissip | 2004-08-23 09:01:18 +0000 (Mon, 23 Aug 2004) | 3 lines +Changed paths: + M /trunk/Makefile.am + A /trunk/int_ceil_log2.c + M /trunk/mpfr-impl.h + +Add MPFR_INT_CEIL_LOG2 macro and __gmpfr_int_ceil_log2 function +(don't use function but macro). + +------------------------------------------------------------------------ +r2951 | pelissip | 2004-08-23 08:58:24 +0000 (Mon, 23 Aug 2004) | 2 lines +Changed paths: + M /trunk/set_str.c + +Fix 2 typos. + +------------------------------------------------------------------------ +r2950 | pelissip | 2004-08-19 15:02:18 +0000 (Thu, 19 Aug 2004) | 2 lines +Changed paths: + M /trunk/tests/tpow.c + +Fix a bug on 64-bits introduced due to huger MPFR_EMAX_MAX. + +------------------------------------------------------------------------ +r2949 | pelissip | 2004-08-19 14:42:03 +0000 (Thu, 19 Aug 2004) | 5 lines +Changed paths: + M /trunk/exceptions.c + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/mpfr.texi + +Add new functions: mpfr_get_emin_min, mpfr_get_emax_max, mpfr_get_emin_max and +mpfr_get_emax_min. +Add documentation and explanation about potential portability problem when +you mpfr_set_emin and mpfr_set_emax. + +------------------------------------------------------------------------ +r2948 | lefevre | 2004-07-28 15:10:23 +0000 (Wed, 28 Jul 2004) | 3 lines +Changed paths: + M /trunk/Makefile.am + +Added mpfr-longlong.h to libmpfr_a_SOURCES so that it is distributed +with make dist. + +------------------------------------------------------------------------ +r2947 | lefevre | 2004-07-28 15:06:29 +0000 (Wed, 28 Jul 2004) | 3 lines +Changed paths: + M /trunk/Makefile.am + +Added mpfr-gmp.h to libmpfr_a_SOURCES so that it is distributed +with make dist. + +------------------------------------------------------------------------ +r2946 | pelissip | 2004-07-26 14:38:56 +0000 (Mon, 26 Jul 2004) | 2 lines +Changed paths: + M /trunk/README.dev -2003-10-05 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Add a new section. + +------------------------------------------------------------------------ +r2945 | pelissip | 2004-07-20 09:09:34 +0000 (Tue, 20 Jul 2004) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/mpfr.h + A /trunk/sqr.c + M /trunk/tests/Makefile.am + A /trunk/tests/tsqr.c + +Add function mpfr_sqr (TODO: Make doc) + +------------------------------------------------------------------------ +r2944 | pelissip | 2004-07-19 11:48:10 +0000 (Mon, 19 Jul 2004) | 2 lines +Changed paths: + M /trunk/zeta.c + +Fix an unsigned/signed comparison. + +------------------------------------------------------------------------ +r2943 | pelissip | 2004-07-19 11:39:27 +0000 (Mon, 19 Jul 2004) | 2 lines +Changed paths: + M /trunk/mpfr-gmp.h + +Improve the emulation of mpn_sqr_n and fix some typos. + +------------------------------------------------------------------------ +r2942 | pelissip | 2004-07-16 11:33:34 +0000 (Fri, 16 Jul 2004) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + +Remove unused item "rnd_mode" in cache struct. + +------------------------------------------------------------------------ +r2941 | pelissip | 2004-07-16 08:59:40 +0000 (Fri, 16 Jul 2004) | 3 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/tests/tversion.c + M /trunk/version.c + +Renamme mpfr_version to mpfr_get_version to be more GMP compatible. +Add macro mpfr_version. + +------------------------------------------------------------------------ +r2940 | pelissip | 2004-07-16 08:54:53 +0000 (Fri, 16 Jul 2004) | 2 lines +Changed paths: + M /trunk/cmp_ui.c + M /trunk/round_raw_generic.c + +Likely some tests. + +------------------------------------------------------------------------ +r2939 | pelissip | 2004-07-15 07:58:02 +0000 (Thu, 15 Jul 2004) | 2 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/set_si.c + +Add a speciliation for set_si for GCC. - * mpfr.texi: - Clearer mpfr_eq documentation (thanks to Kevin Ryde for the remark). +------------------------------------------------------------------------ +r2938 | pelissip | 2004-07-09 09:42:26 +0000 (Fri, 09 Jul 2004) | 2 lines +Changed paths: + M /trunk/agm.c + +Try to optimize a few agm by rewriting a few the loop. -2003-10-03 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2937 | pelissip | 2004-07-09 09:41:45 +0000 (Fri, 09 Jul 2004) | 2 lines +Changed paths: + M /trunk/sqrt.c - * mpfr-impl.h: - MPFR_ASSERTN rewritten to avoid "statement with no effect" warnings - with gcc when the assertion is always true. +Likely / Unlikely some tests using gcov. - * add1.c: - Optimization (thanks to Patrick Pelissier), as the allocated size - may be larger than the size used by the significant bits. +------------------------------------------------------------------------ +r2936 | pelissip | 2004-07-06 12:16:52 +0000 (Tue, 06 Jul 2004) | 5 lines +Changed paths: + M /trunk/mpfr-impl.h - * mpfr.texi, INSTALL: Updated installation notes. +Remove some unused code. +Add MPFR_LMIB_PER_DOUBLE +Add MPFR_DUMP +Add MPFR_TRACE - * cmp_abs.c, mpfr.texi: - Infinities are now accepted in mpfr_cmpabs. Updated its definition - in the source (no longer sign(abs(b) - abs(c))). +------------------------------------------------------------------------ +r2935 | pelissip | 2004-07-06 12:14:44 +0000 (Tue, 06 Jul 2004) | 2 lines +Changed paths: + M /trunk/set_d.c -2003-10-02 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Likely some tests. - * mpfr.texi: Use @url{} for URLs. +------------------------------------------------------------------------ +r2934 | pelissip | 2004-07-06 12:14:11 +0000 (Tue, 06 Jul 2004) | 2 lines +Changed paths: + M /trunk/get_d.c - * mpfr.texi: As suggested by PZ: - o documentation of mpfr_fits_* functions moved to the section - on conversions; - o grouped some mpfr_pow special cases; - o explanation concerning the meaning of rnd in mpfr_frac. +Used static precision for the array of limb for double. - * tests/tset_str.c, tests/tset_z.c, tests/tsinh.c, tests/tsqrt.c, tests/tsub.c, tests/ttanh.c, tests/tui_pow.c, tests/tui_sub.c, tests/tzeta.c, tests/tmul.c, tests/tmul_ui.c, tests/tout_str.c, tests/tpow.c, tests/tset.c, tests/tset_d.c, tests/tlog.c, tests/tlog10.c, tests/tlog1p.c, tests/tlog2.c, tests/texpm1.c, tests/tfma.c, tests/tget_str.c, tests/thypot.c, tests/tadd.c, tests/tadd_ui.c, tests/tagm.c, tests/tasinh.c, tests/tatan.c, tests/tatanh.c, tests/tcan_round.c, tests/tcmp.c, tests/tcmp2.c, tests/tcos.c, tests/tcosh.c, tests/tdiv.c, tests/tdiv_ui.c, tests/terf.c, tests/texceptions.c, tests/texp.c, mpfr.h, mpfr.texi, print_raw.c, set_str_raw.c, tests/tacosh.c, BUGS, mpfr-impl.h: - Updated documentation. In particular, mpfr_set_str_raw renamed - as mpfr_set_str_binary. This function and mpfr_print_binary are - now internal functions. mpfr_print_binary no longer prints the - non-significant 0 bits. Updated the source to match the manual. - mpfr_print_binary has been completely rewritten (now directly - prints to stdout, without using an intermediate string). In - mpfr_set_str_binary, replaced atol by strtol + error checking. +------------------------------------------------------------------------ +r2933 | pelissip | 2004-07-06 12:10:24 +0000 (Tue, 06 Jul 2004) | 2 lines +Changed paths: + M /trunk/mul_ui.c -2003-10-02 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Likely some tests / Other minor optimisations. - * mpfr.texi: added paragraph on support/grants - added help for mpfr_erf +------------------------------------------------------------------------ +r2932 | pelissip | 2004-07-06 12:09:31 +0000 (Tue, 06 Jul 2004) | 2 lines +Changed paths: + M /trunk/ui_div.c -2003-10-02 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Minor modifications. - * mpfr.texi: - Make node titles match section titles, and updated menus and xrefs. - Added a line break after @samp{uninstall}. +------------------------------------------------------------------------ +r2931 | pelissip | 2004-07-06 12:08:13 +0000 (Tue, 06 Jul 2004) | 3 lines +Changed paths: + M /trunk/div_2si.c + M /trunk/div_2ui.c -2003-10-01 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Unlikely a test so that it is faster when you call theses functions +with the same dest and source which is the common case in MPFR. - * TODO, const_log2.c, const_pi.c, mpfr.h, mpfr.texi, zeta.c: - Corrections in the MPFR manual (PZ & VL). Functions mpfr_const_pi, - mpfr_const_log2 and mpfr_zeta now return a ternary value. Updated - TODO file. +------------------------------------------------------------------------ +r2930 | pelissip | 2004-07-06 12:04:08 +0000 (Tue, 06 Jul 2004) | 3 lines +Changed paths: + M /trunk/mul_2si.c + M /trunk/mul_2ui.c -2003-09-30 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Likely a test to optimize when dest and src are the same +(which is very likely inside MPFR). - * BUGS: Added a bug related to the ternary value and worst cases. +------------------------------------------------------------------------ +r2929 | pelissip | 2004-07-06 12:02:59 +0000 (Tue, 06 Jul 2004) | 2 lines +Changed paths: + M /trunk/cache.c - * pow_si.c, pow_ui.c: Added exponent range support. +Likely a test (since cache should always work fine). - * mpfr.texi: Corrections up to Section 5.6 (PZ & VL). +------------------------------------------------------------------------ +r2928 | pelissip | 2004-06-28 12:11:44 +0000 (Mon, 28 Jun 2004) | 2 lines +Changed paths: + M /trunk/exp_2.c + M /trunk/get_d.c - * get_z_exp.c: - Re-added the assert on the exponent, but replacing MPFR_EMIN_MIN by - MP_EXP_T_MIN (this makes more sense): an assertion failed would mean - that the exponent is not representable (an undefined behavior in the - ISO C standard). If need be, we could choose to return MP_EXP_T_MIN - in such a case, or perhaps MP_EXP_T_MAX to signal an error. The - mantissa would still be meaningful. +Add some likely, and use a static table instead of a dynamic one. -2003-09-30 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r2927 | pelissip | 2004-06-16 12:08:30 +0000 (Wed, 16 Jun 2004) | 2 lines +Changed paths: + M /trunk/asin.c + M /trunk/atan.c - * TODO: Update TODO & mpfr_set_prec. +Unlikely some tests. -2003-09-29 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2926 | pelissip | 2004-06-10 15:10:12 +0000 (Thu, 10 Jun 2004) | 2 lines +Changed paths: + M /trunk/set_z.c - * mpfr.texi: Corrections up to Section 4. +Likely / Unlikely the code. - * AUTHORS: Added authors Kevin Ryde and Patrick Pelissier. +------------------------------------------------------------------------ +r2925 | pelissip | 2004-06-10 14:03:10 +0000 (Thu, 10 Jun 2004) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h - * INSTALL: Removed "known problems" that are no longer problems. +Respace some macro. -2003-09-26 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2924 | pelissip | 2004-06-10 14:02:30 +0000 (Thu, 10 Jun 2004) | 2 lines +Changed paths: + M /trunk/save_expo.c - * BUGS: Removed bugs related to the tests and to the exponents - as they no longer occur. Updated some potentials bugs. +Retab some lines. -2003-09-25 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2923 | pelissip | 2004-06-10 14:01:33 +0000 (Thu, 10 Jun 2004) | 2 lines +Changed paths: + M /trunk/get_z.c - * mpfr-impl.h, mpfr.h, mpfr.texi, tests/tinits.c: - Removed mpfr_inits, mpfr_inits2, mpfr_clears from the documentation. - Moved their prototypes to mpfr-impl.h (internal functions until - decided otherwise). +Optimize a bit. -2003-09-25 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r2922 | pelissip | 2004-06-10 13:59:50 +0000 (Thu, 10 Jun 2004) | 2 lines +Changed paths: + M /trunk/sin.c + M /trunk/tests/tsin.c - * const_log2.c, const_pi.c, generic.c, atan.c: - Modify 'r' arg of GENERIC from int to long (min 32 bits). +Fix an overflow bug. -2003-09-25 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2921 | zimmerma | 2004-06-08 07:27:40 +0000 (Tue, 08 Jun 2004) | 2 lines +Changed paths: + M /trunk/exp3.c + M /trunk/tests/texp.c - * mpfr.texi: 8-bit ISO-8859-1 characters + consistent spelling. +fixed bug in mpfr_exp_3 (wrong assert) - * ChangeLog: Update. +------------------------------------------------------------------------ +r2920 | pelissip | 2004-05-27 14:39:34 +0000 (Thu, 27 May 2004) | 2 lines +Changed paths: + M /trunk/mpfr.h - * tests/tgeneric.c, tests/tget_d.c, tests/tget_str.c, tests/thypot.c, tests/tisnan.c, tests/tlog.c, tests/tlog10.c, tests/tmul.c, tests/tmul_2exp.c, tests/tmul_ui.c, tests/tout_str.c, tests/tpow.c, tests/tpow3.c, tests/trandom.c, tests/tconst_pi.c, tests/tcos.c, tests/tdiv.c, tests/tdiv_ui.c, tests/teq.c, tests/terf.c, tests/tests.c, tests/texceptions.c, tests/texp.c, tests/texp2.c, tests/tfactorial.c, tests/tfma.c, tests/tfrac.c, tests/tgamma.c, tests/mpf_compat.h, tests/reuse.c, tests/tabs.c, tests/tacos.c, tests/tadd.c, tests/tagm.c, tests/tasin.c, tests/tatan.c, tests/tcan_round.c, tests/tcbrt.c, tests/tcmp.c, tests/tcmp2.c, tests/tcmp_d.c, tests/tcmp_ui.c, tests/tconst_log2.c: - Changed the remaining stderr to stdout. +Fix typos. -2003-09-24 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2919 | pelissip | 2004-05-27 09:52:44 +0000 (Thu, 27 May 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * tests/tset_str.c, tests/tset_z.c, tests/tsin.c, tests/tsin_cos.c, tests/tsqrt.c, tests/tsub.c, tests/tsub_ui.c, tests/tswap.c, tests/ttan.c, tests/ttrunc.c, tests/tui_div.c, tests/tui_pow.c, tests/tui_sub.c, tests/tzeta.c, tests/trint.c, tests/tround_prec.c, tests/tset.c, tests/tset_d.c, tests/tset_f.c, tests/tset_ld.c, tests/tset_q.c, tests/tset_si.c: - Changed some stderr to stdout. +Update doc. - * comparisons.c, mpfr.texi, TODO: - Added documentation for mpfr_greater_p, mpfr_greaterequal_p, - mpfr_less_p, mpfr_lessequal_p, mpfr_lessgreater_p, mpfr_equal_p - and mpfr_unordered_p. +------------------------------------------------------------------------ +r2918 | zimmerma | 2004-05-18 16:00:28 +0000 (Tue, 18 May 2004) | 3 lines +Changed paths: + M /trunk/cos.c - * TODO, tests/Makefile.am, tests/tcomparisons.c: - Added tests for mpfr_greater_p, mpfr_greaterequal_p, mpfr_less_p, - mpfr_lessequal_p, mpfr_lessgreater_p, mpfr_equal_p, mpfr_unordered_p. +fixed problem for x near from Pi/2 (the internal precision should take +into account the cancellation) - * TODO, tests/tnext.c: - Added a few more tests (involving mpfr_nexttoward). The tests for - the mpfr_nextabove, mpfr_nextbelow and mpfr_nexttoward functions - should now be sufficient. +------------------------------------------------------------------------ +r2917 | pelissip | 2004-05-18 15:26:19 +0000 (Tue, 18 May 2004) | 2 lines +Changed paths: + M /trunk/sin.c + M /trunk/tests/tsin.c - * tests/Makefile.am, tests/tnext.c, next.c: - Added generic tests for mpfr_nextabove and mpfr_nextbelow. - Fixed a bug in next.c related to assertion checks. +Improve tests for sin. - * tests/tset_str.c, TODO, set_str.c: - Accept (case-insensitive) NaN and Inf in input for bases <= 16 for - backward compatibility in these bases (for bases > 16, we cannot - guaranty backward compatibility with the current wanted behavior). - Added tests. +------------------------------------------------------------------------ +r2916 | zimmerma | 2004-05-18 14:29:55 +0000 (Tue, 18 May 2004) | 2 lines +Changed paths: + M /trunk/sin.c -2003-09-24 Paul Zimmermann <Paul.Zimmermann@loria.fr> +mpfr_sin_sign() should use at least MPFR_GET_EXP() bits - * TODO: added one item from Kevin +------------------------------------------------------------------------ +r2915 | pelissip | 2004-05-17 07:57:34 +0000 (Mon, 17 May 2004) | 2 lines +Changed paths: + M /trunk/TODO -2003-09-24 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Remove an item. - * texinfo.tex: - Added support for some top-bit-set characters in the .texi source. +------------------------------------------------------------------------ +r2914 | pelissip | 2004-05-12 14:57:36 +0000 (Wed, 12 May 2004) | 2 lines +Changed paths: + M /trunk/tests/tcos.c + M /trunk/tests/ttan.c - * mpfr.texi: Added information on special values for mpfr_pow. +Add a potential test (Too slow). -2003-09-24 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2913 | pelissip | 2004-05-12 14:57:10 +0000 (Wed, 12 May 2004) | 2 lines +Changed paths: + M /trunk/tan.c - * Makefile.am: - added MAKEINFOFLAGS = --enable-encoding to get 8-bit characters in mpfr.info +Simplify the code. - * AUTHORS, mpfr.texi: used ISO-8859-1 in AUTHORS - and @`e, @"o in mpfr.texi (waiting for code for ISO-8859-1 compatibility) +------------------------------------------------------------------------ +r2912 | pelissip | 2004-05-11 07:21:45 +0000 (Tue, 11 May 2004) | 2 lines +Changed paths: + M /trunk/cos.c -2003-09-24 Kevin Ryde <user42@zip.com.au> +Remove a C++ comment. - * acinclude.m4 (MPFR_C_LONG_DOUBLE_FORMAT): Remove conftest* temporary - files. +------------------------------------------------------------------------ +r2911 | pelissip | 2004-05-10 07:03:28 +0000 (Mon, 10 May 2004) | 2 lines +Changed paths: + M /trunk/cos.c -2003-09-24 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Remove a forgotten "assertd" which isn't usefull anymore. - * set_str.c: Fixed comparisons (cases @NaN@ and @Inf@). +------------------------------------------------------------------------ +r2910 | pelissip | 2004-05-07 15:04:30 +0000 (Fri, 07 May 2004) | 2 lines +Changed paths: + M /trunk/cos.c + M /trunk/mpfr-impl.h -2003-09-23 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Optimize cos. - * TODO: two updates +------------------------------------------------------------------------ +r2909 | zimmerma | 2004-05-07 13:00:11 +0000 (Fri, 07 May 2004) | 3 lines +Changed paths: + M /trunk/cos.c -2003-09-22 Vincent Lefevre <Vincent.Lefevre@loria.fr> +improved initial value of working precision (did not take into account +2K lost bits for large arguments) - * mpfr.texi: Updated mpfr_pow description. +------------------------------------------------------------------------ +r2908 | pelissip | 2004-05-06 12:37:21 +0000 (Thu, 06 May 2004) | 2 lines +Changed paths: + M /trunk/acos.c + M /trunk/asin.c + M /trunk/atan.c + M /trunk/exp2.c + M /trunk/tests/tacos.c + M /trunk/tests/tasin.c + M /trunk/tests/tatan.c + M /trunk/tests/texp2.c + M /trunk/tests/ttanh.c -2003-09-22 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Fix overflow and add corresponding tests. - * print_rnd_mode.c, set_str.c, set_str_raw.c: - changed __gmp_const into const in *.c - [Torbjo"rn: Please use __gmp_const just in user header files, plain C const in other files.] +------------------------------------------------------------------------ +r2907 | pelissip | 2004-05-06 10:42:56 +0000 (Thu, 06 May 2004) | 2 lines +Changed paths: + M /trunk/gamma.c -2003-09-22 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Fix a bug in a formula. - * TODO: Removed +------------------------------------------------------------------------ +r2906 | pelissip | 2004-05-06 10:42:44 +0000 (Thu, 06 May 2004) | 2 lines +Changed paths: + M /trunk/exp2.c - - allow the ISO C "P" exponent separator for base 16 in input functions +Optimize it a bit. - (already done). +------------------------------------------------------------------------ +r2905 | pelissip | 2004-05-06 09:56:48 +0000 (Thu, 06 May 2004) | 2 lines +Changed paths: + M /trunk/exp.c + M /trunk/exp_2.c + M /trunk/gamma.c + M /trunk/tests/texp.c + M /trunk/tests/tgamma.c - * TODO, tests/tset_ld.c: Implemented the following: - - use (LDBL_MAX/2)+(LDBL_MAX/4*LDBL_EPSILON) instead of loop in tset_ld - to get largest power of 2 that fits in a long double +Fix overflow problems. - * sub1.c: Added some MPFR_ASSERTN and improved a comment. +------------------------------------------------------------------------ +r2904 | pelissip | 2004-05-06 09:11:20 +0000 (Thu, 06 May 2004) | 2 lines +Changed paths: + M /trunk/gamma.c + M /trunk/tests/tcosh.c - * tests/texp.c, tests/tget_str.c: - Avoid string literals longer than 509 characters (ISO C89 limit). +Fix overflow bug. - * tests/texceptions.c (test_set_underflow, test_set_overflow): - Cleaner fix (for pre-C99 - compilers). +------------------------------------------------------------------------ +r2903 | pelissip | 2004-05-05 15:34:06 +0000 (Wed, 05 May 2004) | 2 lines +Changed paths: + M /trunk/gamma.c -2003-09-22 Kevin Ryde <user42@zip.com.au> +Remove the double vars. (Use fixed instead). - * tests/texceptions.c (test_set_underflow, test_set_overflow): Use - "static" on "r" to allow non-constant initializers. +------------------------------------------------------------------------ +r2902 | pelissip | 2004-05-05 15:14:07 +0000 (Wed, 05 May 2004) | 2 lines +Changed paths: + M /trunk/TODO -2003-09-21 Kevin Ryde <user42@zip.com.au> +Add a note about tanh. - * mpfr.texi (Converting Floats): In mpfr_get_d_2exp, the rounding mode - is given, it doesn't use the default mode. +------------------------------------------------------------------------ +r2901 | pelissip | 2004-05-05 15:10:43 +0000 (Wed, 05 May 2004) | 2 lines +Changed paths: + M /trunk/tanh.c + M /trunk/tests/ttanh.c - * mpfr.texi (Assigning Floats): In mpfr_set_str and mpfr_set_str_raw, - show "const" not "__gmp_const". - (Simultaneous Float Init & Assign): In mpfr_init_set_str, ditto. +Fix a bug in cas of overflow in tanh. - * mpfr.texi (Rounding Modes): Add blank line around @itemize. +------------------------------------------------------------------------ +r2900 | pelissip | 2004-05-05 13:02:20 +0000 (Wed, 05 May 2004) | 2 lines +Changed paths: + M /trunk/tanh.c - * mpfr.texi (Miscellaneous Float Functions): In mpfr_urandomb and - mpfr_random, use @math and @le. +Optimize a few by reducing the # of used vars. -2003-09-20 Kevin Ryde <user42@zip.com.au> +------------------------------------------------------------------------ +r2899 | pelissip | 2004-05-05 12:29:28 +0000 (Wed, 05 May 2004) | 2 lines +Changed paths: + M /trunk/cosh.c + M /trunk/tests/tcosh.c - * mpfr.texi (Assigning Floats): In mpfr_set_*, remove remarks about - long being rounded (this should be clear already), about rounding of - decimal double constants like 0.1 (too basic to appear here), - (Converting Floats): In mpfr_get_d_2exp, remove remark about exp - exceeding IEEE exponent range (should be clear already). +Fix critical bugs due to different kind of overflow in cosh. -2003-09-19 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2898 | pelissip | 2004-05-05 12:28:38 +0000 (Wed, 05 May 2004) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h - * TODO: updated items: removed conversion from/to float (obsolete) +Add MPFR_TMP_INIT_ABS macro. - * TODO, zeta.c: got rid of <math.h> dependency in mpfr_zeta +------------------------------------------------------------------------ +r2897 | pelissip | 2004-05-05 09:39:23 +0000 (Wed, 05 May 2004) | 2 lines +Changed paths: + M /trunk/const_pi.c + M /trunk/cosh.c - * tests/tround_prec.c, tests/tzeta.c, round_prec.c, tests/tacos.c, tests/tasin.c, tests/texp.c, tests/tgamma.c, exp_2.c, get_str.c, log_b2.h, mpfr.h, mpfr.texi, cos.c: - mpfr_round_prec is now obsolete - new function mpfr_prec_round replaces it +Optimize cosh a few by removing an unused intermedary var. -2003-09-18 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2896 | pelissip | 2004-05-05 07:49:22 +0000 (Wed, 05 May 2004) | 2 lines +Changed paths: + M /trunk/const_log2.c - * mpfr-impl.h: Fix for C implementations with 16-bit int. +Fix a critical bug in case of overflow. -2003-09-18 Patrick Pelissier <Patrick.Pelissier@loria.fr> +------------------------------------------------------------------------ +r2895 | pelissip | 2004-05-04 15:46:42 +0000 (Tue, 04 May 2004) | 2 lines +Changed paths: + M /trunk/cos.c + M /trunk/tests/tcos.c + M /trunk/tests/tlog.c - * mpfr-impl.h: - Optimization of macros MPFR_IS_INF, MPFR_IS_NAN and MPFR_IS_FP +Fix a critical bug in cos in case you have set the float range for the exponents. -2003-09-18 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2894 | pelissip | 2004-05-04 14:17:54 +0000 (Tue, 04 May 2004) | 2 lines +Changed paths: + M /trunk/cos.c - * set_ld.c: - Removed a comment that should have been removed in revision 1.8. +Optimize a few cos. -2003-09-15 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2893 | pelissip | 2004-05-04 13:34:15 +0000 (Tue, 04 May 2004) | 2 lines +Changed paths: + M /trunk/log.c - * div.c: - No longer perform the pre-check for exactness when first division step was - actually a complete division. This introduced way too much overhead. +Optimize the way of computing initial precision. - * inp_str.c: replaced test stream==0 by stream==NULL +------------------------------------------------------------------------ +r2892 | pelissip | 2004-05-04 12:52:01 +0000 (Tue, 04 May 2004) | 2 lines +Changed paths: + M /trunk/tests/tlog.c -2003-09-15 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Add a test to check an overflow in const_pi (called by log in case of emulation of the float type). - * round_prec.c, tests/tcan_round.c: - Fixed a bug in mpfr_can_round_raw and added other mpfr_can_round - tests. +------------------------------------------------------------------------ +r2891 | pelissip | 2004-05-04 12:50:59 +0000 (Tue, 04 May 2004) | 2 lines +Changed paths: + M /trunk/const_pi.c - * round_prec.c, tests/tcan_round.c: - Added a test to tests/tcan_round.c and assertions to round_prec.c. +Move to ASSERT mode some code. -2003-09-14 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2890 | pelissip | 2004-05-04 12:46:13 +0000 (Tue, 04 May 2004) | 3 lines +Changed paths: + M /trunk/const_pi.c - * tests/texceptions.c, exceptions.c, exp.c: - Fixed mpfr_set_overflow, added tests for mpfr_set_underflow - and mpfr_set_overflow, and reverted exp.c. +Push/Pop emin/emax so that an overflow can't occur in mpfr_set_z(x,pi,r) +Add test too. -2003-09-13 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2889 | pelissip | 2004-05-04 09:06:04 +0000 (Tue, 04 May 2004) | 2 lines +Changed paths: + M /trunk/mul_2ui.c - * exp.c: overflow with round to zero was incorrect +Add some UNLIKELY to the while. -2003-09-11 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2888 | pelissip | 2004-05-04 09:05:30 +0000 (Tue, 04 May 2004) | 2 lines +Changed paths: + M /trunk/exp.c - * Makefile.am, clears.c, inits.c, inits2.c, mpfr.h, mpfr.texi, tests/Makefile.am, 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). +Add some UNLIKELY to the tests. -2003-09-09 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2887 | pelissip | 2004-05-04 09:05:00 +0000 (Tue, 04 May 2004) | 2 lines +Changed paths: + M /trunk/add1sp.c + M /trunk/tests/tadd1sp.c - * TODO, zeta.c: - Replaced malloc/free by __gmp_allocate_func/__gmp_free_func in - mpfr_zeta_pos. zeta.c still uses math (libm) functions -> TODO: - remove this dependence. +Fix an overflow bug in add1sp. - * tests/tui_pow.c: - Added a test that makes MPFR crash (coming from the mpfr_zeta crash). +------------------------------------------------------------------------ +r2885 | pelissip | 2004-04-29 07:31:09 +0000 (Thu, 29 Apr 2004) | 2 lines +Changed paths: + M /trunk/acinclude.m4 - * tests/tzeta.c: - Case that crashes MPFR (coming from test_generic) -> function test1. +Fix a typo in AC_MY_LIBS. - * ui_pow.c: - Ended up by simplifying mpfr_ui_pow to fix it completely (with a - call to mpfr_pow, in a way similar to other ui functions). There - isn't significant differences with the old code anyway, and the - case integer^integer wasn't optimized like in mpfr_pow. - The test tui_pow now passes, but the test tzeta now fails! +------------------------------------------------------------------------ +r2884 | pelissip | 2004-04-28 07:47:59 +0000 (Wed, 28 Apr 2004) | 2 lines +Changed paths: + M /trunk/cmp.c + M /trunk/mpfr.h - * tests/tui_pow.c, ui_pow.c: - Code clean-up and reindented. Replaced a 8 by CHAR_BIT, - as CHAR_BIT isn't necessarily equal to 8. The bug seems - to occur on all machines. +Add mpfr_cmp as a real function, not only a macro. -2003-09-08 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2883 | pelissip | 2004-04-28 07:43:36 +0000 (Wed, 28 Apr 2004) | 2 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/set.c - * tests/tui_pow.c: - Added a test to reproduce a bug (to be fixed later) on all 64-bit - machines. +Add mpfr_set and mpfr_abs as real functions. - * tests/tset_str.c: Added a cast (useful under Linux/alpha). +------------------------------------------------------------------------ +r2882 | pelissip | 2004-04-27 13:35:45 +0000 (Tue, 27 Apr 2004) | 2 lines +Changed paths: + M /trunk/mpfr.h + +When using GCC, optimize certain common comparisons. + +------------------------------------------------------------------------ +r2881 | zimmerma | 2004-04-27 11:40:47 +0000 (Tue, 27 Apr 2004) | 2 lines +Changed paths: + M /trunk/TODO + +added one item + +------------------------------------------------------------------------ +r2880 | pelissip | 2004-04-27 09:04:14 +0000 (Tue, 27 Apr 2004) | 2 lines +Changed paths: + M /trunk/agm.c + +Minor Optimizations. + +------------------------------------------------------------------------ +r2879 | pelissip | 2004-04-27 09:03:17 +0000 (Tue, 27 Apr 2004) | 2 lines +Changed paths: + M /trunk/cache.c + +Fix a bug (Use nextbeloz instead of sub_one_ulp). + +------------------------------------------------------------------------ +r2878 | pelissip | 2004-04-21 13:07:50 +0000 (Wed, 21 Apr 2004) | 3 lines +Changed paths: + M /trunk/configure.in + M /trunk/mpfr-impl.h + +Add option in configure: --disable-cache +to disable the use of the cache for the const. + +------------------------------------------------------------------------ +r2877 | pelissip | 2004-04-21 12:47:53 +0000 (Wed, 21 Apr 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Fix a typo. + +------------------------------------------------------------------------ +r2876 | pelissip | 2004-04-21 12:36:30 +0000 (Wed, 21 Apr 2004) | 5 lines +Changed paths: + M /trunk/Makefile.am + A /trunk/cache.c + M /trunk/const_euler.c + M /trunk/const_log2.c + M /trunk/const_pi.c + M /trunk/free_cache.c + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/tests/tconst_log2.c + M /trunk/tests/tconst_pi.c + +Add preliminary generic code to handle cached const. +Move const_pi, const_log2 to use this generic cache, +which fix bugs of the previous implementation. +const_euler is now cached too. + +------------------------------------------------------------------------ +r2875 | pelissip | 2004-04-21 12:34:00 +0000 (Wed, 21 Apr 2004) | 2 lines +Changed paths: + M /trunk/round_prec.c + +Fix a bug (If x = Nan, the new new precision wasn't set). + +------------------------------------------------------------------------ +r2874 | pelissip | 2004-04-21 12:33:29 +0000 (Wed, 21 Apr 2004) | 2 lines +Changed paths: + M /trunk/cputime.h + +Fix a typo bug. + +------------------------------------------------------------------------ +r2873 | pelissip | 2004-04-20 12:13:51 +0000 (Tue, 20 Apr 2004) | 2 lines +Changed paths: + M /trunk/tests/tconst_log2.c + +Add new test about the cache: new bug to fix. + +------------------------------------------------------------------------ +r2872 | pelissip | 2004-04-20 12:03:40 +0000 (Tue, 20 Apr 2004) | 2 lines +Changed paths: + A /trunk/iszero.c + +Add forgotten file for mpfr_zero_p. + +------------------------------------------------------------------------ +r2871 | pelissip | 2004-04-20 09:32:20 +0000 (Tue, 20 Apr 2004) | 6 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/isinf.c + M /trunk/isnan.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/sgn.c + M /trunk/tests/tisnan.c + M /trunk/tests/tsgn.c + +Add mpfr_zero_p. +Add macros for mpfr_inf_p, mpfr_nan_p and mpfr_zero_p. +Add macro for mpfr_sgn. +Update doc. +Add new tests. + +------------------------------------------------------------------------ +r2870 | pelissip | 2004-04-20 09:30:56 +0000 (Tue, 20 Apr 2004) | 2 lines +Changed paths: + M /trunk/mpfr-gmp.h + +Fix a bug in a proto. + +------------------------------------------------------------------------ +r2869 | pelissip | 2004-04-20 09:29:48 +0000 (Tue, 20 Apr 2004) | 3 lines +Changed paths: + M /trunk/agm.c + M /trunk/tests/tagm.c + +Fix a bug when both op are < 0 (It seems it was my fault). +Add a test to check it. + +------------------------------------------------------------------------ +r2868 | pelissip | 2004-04-09 08:38:02 +0000 (Fri, 09 Apr 2004) | 2 lines +Changed paths: + M /trunk/mpfr-gmp.c + +Fix a bug (Remove useless function). + +------------------------------------------------------------------------ +r2867 | pelissip | 2004-04-08 09:12:08 +0000 (Thu, 08 Apr 2004) | 2 lines +Changed paths: + M /trunk/mpfr-gmp.h + +Fix another bug (Maybe the last?). + +------------------------------------------------------------------------ +r2866 | pelissip | 2004-04-08 09:09:45 +0000 (Thu, 08 Apr 2004) | 2 lines +Changed paths: + M /trunk/mpfr-gmp.h + +Fix a tiny bug. + +------------------------------------------------------------------------ +r2865 | pelissip | 2004-04-08 09:07:10 +0000 (Thu, 08 Apr 2004) | 4 lines +Changed paths: + M /trunk/mpfr-gmp.c + M /trunk/mpfr-gmp.h + M /trunk/mpfr-test.h + M /trunk/tests/reuse.c + M /trunk/tests/tests.c + M /trunk/tests/trandom.c + M /trunk/tests/tset_f.c + +Update memory allocations scheme without gmp-impl.h. +Now the semantic of the memory allocation scheme is the same +with and without gmp-impl, as it should be. + +------------------------------------------------------------------------ +r2864 | pelissip | 2004-04-07 14:42:32 +0000 (Wed, 07 Apr 2004) | 3 lines +Changed paths: + M /trunk/add_ui.c + M /trunk/gmp_op.c + M /trunk/mpfr.texi + M /trunk/sub_ui.c + M /trunk/tests/tgmpop.c + M /trunk/ui_sub.c + +For add/sub_type functions where type is a type without signed zeros, +specify the expected result when both operands are 0. + +------------------------------------------------------------------------ +r2863 | pelissip | 2004-04-07 14:40:47 +0000 (Wed, 07 Apr 2004) | 4 lines +Changed paths: + M /trunk/init2.c + M /trunk/mpfr-gmp.c + M /trunk/mpfr-gmp.h + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + +Modify a few the allocation scheme without gmp-impl.h +Add pseudo-constants __MPFR_EXP_NAN, __MPFR_EXP_ZERO and __MPFR_EXP_INF +for future (?) inlining of some functions. + +------------------------------------------------------------------------ +r2862 | zimmerma | 2004-04-07 14:19:44 +0000 (Wed, 07 Apr 2004) | 2 lines +Changed paths: + M /trunk/mpn_exp.c + M /trunk/set_str.c + M /trunk/tests/tset_str.c + +fixed problem when overflow in destination exponent happens + +------------------------------------------------------------------------ +r2861 | pelissip | 2004-04-07 13:31:54 +0000 (Wed, 07 Apr 2004) | 2 lines +Changed paths: + M /trunk/gmp_op.c + M /trunk/tests/tgmpop.c + +Fix a bug in case a mpz_t == 0 (mpz_sizeinbase(0Z,2)==0 and MPFR_PREC_MIN=2). + +------------------------------------------------------------------------ +r2860 | pelissip | 2004-04-07 13:12:41 +0000 (Wed, 07 Apr 2004) | 2 lines +Changed paths: + M /trunk/pow_si.c + M /trunk/tests/tpow.c + +Fix a bug in case of pow(2E1000000,-10); + +------------------------------------------------------------------------ +r2859 | zimmerma | 2004-04-05 08:53:04 +0000 (Mon, 05 Apr 2004) | 2 lines +Changed paths: + M /trunk/tests/tui_sub.c + +fixed problem (cmpabs doesn't work for x=0) + +------------------------------------------------------------------------ +r2858 | pelissip | 2004-03-26 13:27:16 +0000 (Fri, 26 Mar 2004) | 2 lines +Changed paths: + M /trunk/add1.c + M /trunk/add_one_ulp.c + M /trunk/check.c + M /trunk/cmp2.c + M /trunk/div_ui.c + M /trunk/exp.c + M /trunk/next.c + M /trunk/random2.c + M /trunk/round_prec.c + M /trunk/set_d.c + M /trunk/set_z.c + M /trunk/sqrt.c + M /trunk/sub1.c + M /trunk/sub_one_ulp.c + M /trunk/tests/tcheck.c + M /trunk/tests/trandom.c + M /trunk/urandomb.c + +Change from MP_LIMB_T_ONE to MPFR_LIMB_ONE and/or MPFR_LIMB_MASK. + +------------------------------------------------------------------------ +r2857 | pelissip | 2004-03-26 13:26:29 +0000 (Fri, 26 Mar 2004) | 2 lines +Changed paths: + M /trunk/init2.c + +Improve comments. + +------------------------------------------------------------------------ +r2856 | pelissip | 2004-03-26 13:24:58 +0000 (Fri, 26 Mar 2004) | 2 lines +Changed paths: + M /trunk/gmp_op.c + M /trunk/tests/tgmpop.c + +Fix a bug. + +------------------------------------------------------------------------ +r2855 | pelissip | 2004-03-26 13:24:14 +0000 (Fri, 26 Mar 2004) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + +Move detecting macros (__MPFR_GCC, __MPFR_STDC, __MPFR_GLIBC and __MPFR_GMP) from mpfr to mpfr-impl + +------------------------------------------------------------------------ +r2854 | zimmerma | 2004-03-22 10:54:28 +0000 (Mon, 22 Mar 2004) | 2 lines +Changed paths: + M /trunk/zeta.c + +removed blank + +------------------------------------------------------------------------ +r2853 | lefevre | 2004-03-22 10:20:16 +0000 (Mon, 22 Mar 2004) | 2 lines +Changed paths: + M /trunk/gmp_op.c + +Test write access to CVS. + +------------------------------------------------------------------------ +r2852 | pelissip | 2004-03-18 09:57:51 +0000 (Thu, 18 Mar 2004) | 2 lines +Changed paths: + M /trunk/mpfr-gmp.c + +Fix a bug in a string. + +------------------------------------------------------------------------ +r2851 | pelissip | 2004-03-17 15:50:27 +0000 (Wed, 17 Mar 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Add documentation of 'j' functions. + +------------------------------------------------------------------------ +r2850 | pelissip | 2004-03-17 12:40:01 +0000 (Wed, 17 Mar 2004) | 2 lines +Changed paths: + M /trunk/mpfr.h + +Fix (?) definition of MPFR_PREC_MAX. + +------------------------------------------------------------------------ +r2849 | pelissip | 2004-03-17 09:45:26 +0000 (Wed, 17 Mar 2004) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am + +Change the order of the tests. + +------------------------------------------------------------------------ +r2848 | pelissip | 2004-03-17 08:45:08 +0000 (Wed, 17 Mar 2004) | 4 lines +Changed paths: + M /trunk/exp.c + M /trunk/exp3.c + M /trunk/mpfr-impl.h + M /trunk/tests/texp.c + +Rename mpfr_exp3 in mpfr_exp_3. +Update THRESHOLD for mpfr_exp. +Add MPFR_EXP_THRESHOLD. + +------------------------------------------------------------------------ +r2847 | pelissip | 2004-03-16 15:24:50 +0000 (Tue, 16 Mar 2004) | 2 lines +Changed paths: + M /trunk/configure.in + +Add new option "--with-gmp-build=" + +------------------------------------------------------------------------ +r2846 | pelissip | 2004-03-16 15:24:26 +0000 (Tue, 16 Mar 2004) | 2 lines +Changed paths: + M /trunk/INSTALL + +Update INSTALL + +------------------------------------------------------------------------ +r2845 | pelissip | 2004-03-16 13:44:38 +0000 (Tue, 16 Mar 2004) | 2 lines +Changed paths: + M /trunk/mpfr.h -2003-09-01 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Fix a bug (Forget to cast to mp_exp_t). - * mpfr.h, mpfr.texi, print_rnd_mode.c, TODO: - Changes (Patrick Pelissier's suggestions): - _ mpfr_print_rnd_mode now has __gmp_const char * return type; - _ some corrections in mpfr.texi, documentencoding set. +------------------------------------------------------------------------ +r2844 | pelissip | 2004-03-16 10:45:49 +0000 (Tue, 16 Mar 2004) | 2 lines +Changed paths: + M /trunk/swap.c -2003-08-30 Kevin Ryde <user42@zip.com.au> +Update comment - * tests/Makefile.am (EXTRA_libfrtests_a_SOURCES): Add amd64.asm. +------------------------------------------------------------------------ +r2843 | pelissip | 2004-03-16 10:43:24 +0000 (Tue, 16 Mar 2004) | 2 lines +Changed paths: + M /trunk/Makefile.am + A /trunk/get_z.c + M /trunk/mpfr.h + M /trunk/tests/Makefile.am + A /trunk/tests/tget_z.c + +Add mpz_set_fr function and its test. + +------------------------------------------------------------------------ +r2842 | pelissip | 2004-03-15 14:09:49 +0000 (Mon, 15 Mar 2004) | 4 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/mpfr.h + A /trunk/set_sj.c + A /trunk/set_uj.c + M /trunk/tests/Makefile.am + A /trunk/tests/tset_sj.c - * tests/amd64.asm: New file. +Add new functions: + mpfr_set_sj_2exp, mpfr_set_sj + mpfr_set_uj_2exp, mpfr_set_uj + +------------------------------------------------------------------------ +r2841 | pelissip | 2004-03-15 14:08:54 +0000 (Mon, 15 Mar 2004) | 2 lines +Changed paths: + M /trunk/README.dev + M /trunk/sub1sp.c + +Fix a compiler bug (limb !=0 instead of limb). + +------------------------------------------------------------------------ +r2840 | pelissip | 2004-03-15 13:26:42 +0000 (Mon, 15 Mar 2004) | 2 lines +Changed paths: + M /trunk/print_raw.c + +Fix a cast problem on some systems (sizeof(mp_limb_t) > sizeof(unsigned long)). + +------------------------------------------------------------------------ +r2839 | pelissip | 2004-03-12 17:45:07 +0000 (Fri, 12 Mar 2004) | 2 lines +Changed paths: + M /trunk/tests/tadd1sp.c + M /trunk/tests/tcheck.c + M /trunk/tests/tget_d_2exp.c + M /trunk/tests/tgmpop.c + M /trunk/tests/tsub1sp.c + +Remove use of abort (They can create core dump on some systems). + +------------------------------------------------------------------------ +r2838 | pelissip | 2004-03-12 13:17:53 +0000 (Fri, 12 Mar 2004) | 2 lines +Changed paths: + M /trunk/acos.c + M /trunk/tests/tacos.c + +Fix bug of inexact flag for acos(0). + +------------------------------------------------------------------------ +r2837 | pelissip | 2004-03-12 12:51:09 +0000 (Fri, 12 Mar 2004) | 2 lines +Changed paths: + M /trunk/TODO + M /trunk/tests/memory.c + +Update. + +------------------------------------------------------------------------ +r2836 | pelissip | 2004-03-11 12:39:08 +0000 (Thu, 11 Mar 2004) | 3 lines +Changed paths: + M /trunk/si_op.c + M /trunk/tests/tsi_op.c + +Fix bug about forgotten MPFR_INVERT_RND. +Add test too. + +------------------------------------------------------------------------ +r2835 | pelissip | 2004-03-11 12:38:33 +0000 (Thu, 11 Mar 2004) | 2 lines +Changed paths: + M /trunk/README.dev + +Add doc about HAVE_STDINT_H + +------------------------------------------------------------------------ +r2834 | pelissip | 2004-03-10 16:16:28 +0000 (Wed, 10 Mar 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Fix doc about MPFR_DECL_INIT. + +------------------------------------------------------------------------ +r2833 | pelissip | 2004-03-10 15:31:42 +0000 (Wed, 10 Mar 2004) | 2 lines +Changed paths: + M /trunk/mpfr.h + +Fix the declaration of 'MPFR_DECL_INIT' + +------------------------------------------------------------------------ +r2832 | pelissip | 2004-03-10 14:58:16 +0000 (Wed, 10 Mar 2004) | 2 lines +Changed paths: + M /trunk/init2.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + +Add 'MPFR_DECL_INIT' macro. + +------------------------------------------------------------------------ +r2831 | pelissip | 2004-03-10 10:16:51 +0000 (Wed, 10 Mar 2004) | 2 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/rint.c + +Rename NEAREST_AWAY in GMP_RNDNA. + +------------------------------------------------------------------------ +r2830 | pelissip | 2004-03-10 09:35:45 +0000 (Wed, 10 Mar 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Add the description of mpfr_set_ui_2exp and mpfr_set_si_2exp. + +------------------------------------------------------------------------ +r2829 | pelissip | 2004-03-09 17:31:29 +0000 (Tue, 09 Mar 2004) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/mpfr.h + A /trunk/set_si_2exp.c + A /trunk/set_ui_2exp.c + M /trunk/tests/tset_si.c + +Add mpfr_set_si_2exp and mpfr_set_ui_2exp and their tests. + +------------------------------------------------------------------------ +r2828 | pelissip | 2004-03-09 15:20:01 +0000 (Tue, 09 Mar 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Add doc about mpfr_cmp_f function + +------------------------------------------------------------------------ +r2827 | pelissip | 2004-03-09 15:18:17 +0000 (Tue, 09 Mar 2004) | 2 lines +Changed paths: + M /trunk/gmp_op.c + M /trunk/mpfr.h + M /trunk/set_f.c + M /trunk/tests/tgmpop.c + +Add mpfr_cmp_f and its test. + +------------------------------------------------------------------------ +r2826 | pelissip | 2004-03-09 14:11:27 +0000 (Tue, 09 Mar 2004) | 2 lines +Changed paths: + M /trunk/Makefile.am + A /trunk/cmp_ld.c + M /trunk/mpfr.h + M /trunk/tests/Makefile.am + M /trunk/tests/tcmp_d.c + A /trunk/tests/tcmp_ld.c + +Add mpfr_cmp_ld and its test + +------------------------------------------------------------------------ +r2825 | pelissip | 2004-03-09 13:58:39 +0000 (Tue, 09 Mar 2004) | 2 lines +Changed paths: + M /trunk/README.dev + +Add doc of 2 macros. + +------------------------------------------------------------------------ +r2824 | pelissip | 2004-03-09 13:51:50 +0000 (Tue, 09 Mar 2004) | 3 lines +Changed paths: + M /trunk/cmp_si.c + M /trunk/cmp_ui.c + M /trunk/mpfr.h + +Add mpfr_cmp_ui and mpfr_cmp_si as real functions +(The macros are still defined and used). + +------------------------------------------------------------------------ +r2823 | pelissip | 2004-03-09 13:43:31 +0000 (Tue, 09 Mar 2004) | 4 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/mpfr.h + M /trunk/mpfr.texi + A /trunk/si_op.c + M /trunk/tests/Makefile.am + A /trunk/tests/tsi_op.c + +Add mpfr_add_si, mpfr_sub_si, mpfr_si_sub, mpfr_mul_si, mpfr_div_si and +mpfr_si_div. +Add the corresponding test. + +------------------------------------------------------------------------ +r2822 | pelissip | 2004-03-09 11:02:34 +0000 (Tue, 09 Mar 2004) | 2 lines +Changed paths: + M /trunk/gmp_op.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/tests/tgmpop.c + +Add `mpfr_cmp_q` and `mpfr_cmp_z`. + +------------------------------------------------------------------------ +r2821 | pelissip | 2004-03-09 10:06:01 +0000 (Tue, 09 Mar 2004) | 2 lines +Changed paths: + M /trunk/configure.in + +Clean up configure + +------------------------------------------------------------------------ +r2820 | pelissip | 2004-03-09 09:51:08 +0000 (Tue, 09 Mar 2004) | 2 lines +Changed paths: + M /trunk/cmp_si.c + M /trunk/cmp_ui.c + +Add ASSERT for NAN. + +------------------------------------------------------------------------ +r2819 | pelissip | 2004-02-27 12:41:37 +0000 (Fri, 27 Feb 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Add documentation for MPFR_VERSION + +------------------------------------------------------------------------ +r2818 | pelissip | 2004-02-26 11:20:49 +0000 (Thu, 26 Feb 2004) | 2 lines +Changed paths: + M /trunk/mul.c + +Optimize a few mpfr_mul. + +------------------------------------------------------------------------ +r2817 | pelissip | 2004-02-26 10:05:12 +0000 (Thu, 26 Feb 2004) | 2 lines +Changed paths: + M /trunk/AUTHORS + +Add Laurent Fousse in the AUTHORS file. + +------------------------------------------------------------------------ +r2816 | lefevre | 2004-02-26 09:56:02 +0000 (Thu, 26 Feb 2004) | 3 lines +Changed paths: + M /trunk/tests/tadd.c + +Fixed a bug in check2b and added a test; add1.c coverage is now +complete. + +------------------------------------------------------------------------ +r2815 | lefevre | 2004-02-25 16:30:33 +0000 (Wed, 25 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + +Improved coverage. + +------------------------------------------------------------------------ +r2814 | lefevre | 2004-02-25 16:00:58 +0000 (Wed, 25 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + +Improved coverage. + +------------------------------------------------------------------------ +r2813 | lefevre | 2004-02-25 15:44:56 +0000 (Wed, 25 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + +Bugs fixed in a test function -> improved coverage. + +------------------------------------------------------------------------ +r2812 | pelissip | 2004-02-25 15:02:22 +0000 (Wed, 25 Feb 2004) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/round_raw_generic.c + +Optimize mpfr_round_raw_? + +------------------------------------------------------------------------ +r2811 | pelissip | 2004-02-25 10:57:16 +0000 (Wed, 25 Feb 2004) | 2 lines +Changed paths: + M /trunk/add.c + M /trunk/add1sp.c + M /trunk/sgn.c + M /trunk/sub1sp.c + +Simplify the code. + +------------------------------------------------------------------------ +r2808 | lefevre | 2004-02-24 14:51:42 +0000 (Tue, 24 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/tmul_2exp.c + +Avoid integer overflow. + +------------------------------------------------------------------------ +r2807 | lefevre | 2004-02-24 14:44:38 +0000 (Tue, 24 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/reuse.c + +Ported code clean-up to trunk. + +------------------------------------------------------------------------ +r2802 | pelissip | 2004-02-24 13:23:35 +0000 (Tue, 24 Feb 2004) | 3 lines +Changed paths: + M /trunk/add1sp.c + M /trunk/div.c + M /trunk/eq.c + M /trunk/frac.c + M /trunk/log10.c + M /trunk/mpfr-impl.h + M /trunk/mpfr-test.h + M /trunk/mpfr.h + M /trunk/rint.c + M /trunk/round_prec.c + M /trunk/round_raw_generic.c + M /trunk/set_d.c + M /trunk/set_str.c + M /trunk/sin.c + M /trunk/sqrt.c + M /trunk/sub1.c + M /trunk/sub1sp.c + M /trunk/sum.c + M /trunk/tests/tests.c + +Remove some warnings. +MPFR can be compiled (but not checked!) with a C++ compiler. + +------------------------------------------------------------------------ +r2797 | pelissip | 2004-02-24 09:12:03 +0000 (Tue, 24 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tset_str.c + M /trunk/tests/tzeta.c + +Improve test coverage. + +------------------------------------------------------------------------ +r2796 | zimmerma | 2004-02-24 08:14:39 +0000 (Tue, 24 Feb 2004) | 3 lines +Changed paths: + M /trunk/div.c + +further simplification of the code (replaced one in-place shift and copy +by out-of-place shift or copy) + +------------------------------------------------------------------------ +r2795 | zimmerma | 2004-02-23 16:47:46 +0000 (Mon, 23 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/tabs.c + M /trunk/tests/tcbrt.c + M /trunk/tests/tconst_euler.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/tfactorial.c + M /trunk/tests/tget_str.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tpow.c + M /trunk/tests/tset.c + M /trunk/tests/tset_ld.c + M /trunk/tests/tui_div.c + +use GMP_RND_MAX instead of hard-coded constant + +------------------------------------------------------------------------ +r2794 | zimmerma | 2004-02-23 16:23:59 +0000 (Mon, 23 Feb 2004) | 2 lines +Changed paths: + M /trunk/div.c + M /trunk/tests/tdiv.c + +simplified the code of div.c and improved coverage + +------------------------------------------------------------------------ +r2792 | pelissip | 2004-02-23 14:20:32 +0000 (Mon, 23 Feb 2004) | 3 lines +Changed paths: + D /trunk/longlong.h + M /trunk/mpfr-impl.h + A /trunk/mpfr-longlong.h + +Rename 'longlong.h' in 'mpfr-longlong.h' so that when MPFR is built +within GMP it uses GMP's 'longlong.h' rather than MPFR's copy. + +------------------------------------------------------------------------ +r2791 | lefevre | 2004-02-23 14:19:02 +0000 (Mon, 23 Feb 2004) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update. + +------------------------------------------------------------------------ +r2789 | pelissip | 2004-02-23 14:09:10 +0000 (Mon, 23 Feb 2004) | 2 lines +Changed paths: + A /trunk/free_cache.c + +Add mpfr_free_cache (2). + +------------------------------------------------------------------------ +r2788 | pelissip | 2004-02-23 14:08:44 +0000 (Mon, 23 Feb 2004) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/tests/tests.c + +Add mpfr_free_cache. + +------------------------------------------------------------------------ +r2787 | pelissip | 2004-02-23 13:51:41 +0000 (Mon, 23 Feb 2004) | 2 lines +Changed paths: + M /trunk/get_str.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/tests/tget_str.c + +Add mpfr_free_str function. + +------------------------------------------------------------------------ +r2786 | pelissip | 2004-02-23 12:14:40 +0000 (Mon, 23 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + +Remove a warning. + +------------------------------------------------------------------------ +r2785 | pelissip | 2004-02-23 12:14:29 +0000 (Mon, 23 Feb 2004) | 4 lines +Changed paths: + M /trunk/mpfr.h + +Reorder the declarations of the functions. +Remove duplicate declarations. +Remove mpfr_factorial. + +------------------------------------------------------------------------ +r2784 | zimmerma | 2004-02-23 10:01:42 +0000 (Mon, 23 Feb 2004) | 2 lines +Changed paths: + M /trunk/sqrt.c + +patch from Guillaume Hanrot + +------------------------------------------------------------------------ +r2783 | pelissip | 2004-02-23 09:43:29 +0000 (Mon, 23 Feb 2004) | 3 lines +Changed paths: + M /trunk/pow_ui.c + M /trunk/set_str.c + M /trunk/tests/tgmpop.c + M /trunk/tests/tpow.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c + +Improve coverage tests. +Fix 2 underflow bugs. + +------------------------------------------------------------------------ +r2782 | pelissip | 2004-02-23 09:42:29 +0000 (Mon, 23 Feb 2004) | 2 lines +Changed paths: + M /trunk/sub1sp.c - * acinclude.m4: Correction to: - (MPFR_CONFIGS): Add amd64-*-* to x86 test objects. +Update comment - * tests/tests.c (tests_machine_prec_long_double): Add amd64 to the - comments. +------------------------------------------------------------------------ +r2781 | pelissip | 2004-02-23 09:42:04 +0000 (Mon, 23 Feb 2004) | 2 lines +Changed paths: + M /trunk/mpfr.h - * acinclude.m4 (MPFR_CONFIGS): Add amd64-*-* to x86 test objects. +Improve comments. - * tests/tset_ld.c (check_set_get): Improve error messages. +------------------------------------------------------------------------ +r2780 | pelissip | 2004-02-23 09:41:28 +0000 (Mon, 23 Feb 2004) | 2 lines +Changed paths: + M /trunk/mul.c - * mpfr-test.h, tests/tests.c (ld_trace): New function. +Add a comment. - * set_ld.c (ldbl_max_struct): Use octal character constants, since hex - is an ANSI-ism. +------------------------------------------------------------------------ +r2779 | lefevre | 2004-02-22 01:48:32 +0000 (Sun, 22 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/tadd.c -2003-08-07 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Added tests. - * ui_pow_ui.c: Avoid a potential overflow. +------------------------------------------------------------------------ +r2775 | fousse | 2004-02-20 13:15:44 +0000 (Fri, 20 Feb 2004) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/sum.c + M /trunk/tests/tsum.c -2003-08-04 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Changed mpfr_sum to use unsigned long instead of unsigned int. More tests. - * agm.c, tests/tagm.c: fixed pb found by Damien Fisher +------------------------------------------------------------------------ +r2774 | pelissip | 2004-02-20 12:58:30 +0000 (Fri, 20 Feb 2004) | 2 lines +Changed paths: + M /trunk/neg.c + M /trunk/tests/tset.c -2003-07-24 Vincent Lefevre <Vincent.Lefevre@loria.fr> +mpfr_neg (b, b, r) for b=NAN didnt' set NAN flag. - * get_d.c: - If the exponent of the number is meaningless (src = NaN, inf or 0), - 0 is stored in expptr (behavior similar to the ISO C frexp function). +------------------------------------------------------------------------ +r2773 | pelissip | 2004-02-20 10:49:34 +0000 (Fri, 20 Feb 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi -2003-07-21 Paul Zimmermann <Paul.Zimmermann@loria.fr> +mpfr_sgn is no longer a macro. - * TODO: added one item +------------------------------------------------------------------------ +r2770 | pelissip | 2004-02-19 12:33:47 +0000 (Thu, 19 Feb 2004) | 2 lines +Changed paths: + M /trunk/gmp_op.c + M /trunk/tests/tgmpop.c -2003-07-19 Kevin Ryde <user42@zip.com.au> +Fix bug with exact rationnal arguments (0.5+3/2 freezes). - * tests/Makefile.am (check_PROGRAMS): Add tget_d_2exp.c. +------------------------------------------------------------------------ +r2767 | lefevre | 2004-02-18 12:47:00 +0000 (Wed, 18 Feb 2004) | 2 lines +Changed paths: + M /trunk/config.guess + M /trunk/config.sub - * tests/tget_d_2exp.c: New file, partly derived from tget_d.c. +Update from the autotools-dev Debian package (2004-01-05). - * get_d.c (mpfr_get_d_2exp): Ensure 0.5 <= abs(ret) < 1.0 is respected - when rounding away from zero. +------------------------------------------------------------------------ +r2761 | lefevre | 2004-02-18 10:41:00 +0000 (Wed, 18 Feb 2004) | 2 lines +Changed paths: + M /trunk/set_f.c + M /trunk/tests/tset_f.c - * mpfr-test.h, tests/tests.c (d_trace): New function. +Fixed a bug in mpfr_set_f for 0 (wrong sign) and added the test. - * mpfr.texi (Converting Floats): mpfr_get_d_2exp stores to a long. +------------------------------------------------------------------------ +r2760 | pelissip | 2004-02-18 10:29:40 +0000 (Wed, 18 Feb 2004) | 2 lines +Changed paths: + M /trunk/get_str.c - * get_d.c (mpfr_get_d_2exp): Store exp in a long, same as - mpz_get_d_2exp and mpf_get_d_2exp. +Fix bug if you build MPFR with ASSERT. -2003-07-18 Kevin Ryde <user42@zip.com.au> +------------------------------------------------------------------------ +r2759 | pelissip | 2004-02-17 14:39:16 +0000 (Tue, 17 Feb 2004) | 2 lines +Changed paths: + M /trunk/mul.c - * mpfr.h (mpfr_get_d_2exp): Store exp in a long, same as - mpz_get_d_2exp and mpf_get_d_2exp. +Reduce the number of used variables. -2003-07-15 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2758 | zimmerma | 2004-02-17 14:29:28 +0000 (Tue, 17 Feb 2004) | 2 lines +Changed paths: + M /trunk/round_raw_generic.c - * get_d.c: Updated comment. +improved again documentation -2003-07-08 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2757 | zimmerma | 2004-02-17 14:27:06 +0000 (Tue, 17 Feb 2004) | 2 lines +Changed paths: + M /trunk/get_str.c - * random2.c: Correction in a comment (patch by Torbjorn). +simplified rounding -2003-07-01 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2756 | zimmerma | 2004-02-17 14:17:31 +0000 (Tue, 17 Feb 2004) | 2 lines +Changed paths: + M /trunk/round_raw_generic.c - * mpfr.texi, round_prec.c: can_round returns 0 for NaN/Inf +improved documentation of *inexp - * round_prec.c: fixed Uninitialized memory read in mpfr_can_round - (when b is NaN or Inf) +------------------------------------------------------------------------ +r2752 | pelissip | 2004-02-17 12:12:21 +0000 (Tue, 17 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/tsub1sp.c -2003-06-30 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Simplify the random code. - * tests/tget_str.c: - fixed array bound write (need 6+1 characters in s1 to represent -@inf@ + \0) +------------------------------------------------------------------------ +r2751 | pelissip | 2004-02-17 12:12:02 +0000 (Tue, 17 Feb 2004) | 2 lines +Changed paths: + M /trunk/sub1sp.c -2003-06-28 Kevin Ryde <user42@zip.com.au> +Optimize it a few. - * get_d.c: Add "const" to IEEE byte sequence data. +------------------------------------------------------------------------ +r2750 | pelissip | 2004-02-17 12:11:49 +0000 (Tue, 17 Feb 2004) | 2 lines +Changed paths: + M /trunk/round_raw_generic.c - * tests/tests.c (tests_rand_end): Remove explicit __gmp_rands - clearing, it's what RANDS_CLEAR does already. +Add 2004 in copyright line. -2003-06-26 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2749 | pelissip | 2004-02-17 12:11:26 +0000 (Tue, 17 Feb 2004) | 2 lines +Changed paths: + M /trunk/README.dev - * cmp_d.c, get_d.c, get_ld.c, mpfr-impl.h, set_d.c, set_dfl_prec.c, set_ld.c: - moved macros for [L]DBL_MANT_DIG in mpfr-impl.h +Add a section which describes the needed macros for building MPFR. -2003-06-25 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2747 | zimmerma | 2004-02-17 11:21:04 +0000 (Tue, 17 Feb 2004) | 2 lines +Changed paths: + M /trunk/mul.c - * urandomb.c: fixed several problems noticed by Kevin +added comment about probability of normalized product - * tests/tset_ld.c: changed test for 2^1024, using LDBL_MAX_EXP +------------------------------------------------------------------------ +r2744 | lefevre | 2004-02-17 10:36:11 +0000 (Tue, 17 Feb 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi -2003-06-24 Kevin Ryde <user42@zip.com.au> +Added a note about the ternary value, important in practice. - * mpfr-math.h: Remove file, no longer used. +------------------------------------------------------------------------ +r2743 | zimmerma | 2004-02-17 10:02:29 +0000 (Tue, 17 Feb 2004) | 2 lines +Changed paths: + M /trunk/set_f.c + M /trunk/tests/tset_f.c - * Makefile.am (libmpfr_a_SOURCES): Remove mpfr-math.h. +fixed 2 bugs and added test - * get_d.c (MPFR_DBL_INFP, MPFR_DBL_INFM, MPFR_DBL_NAN): Make private - definitions based on IEEE byte sequences, in particular avoid HUGE_VAL - from mpfr-math.h since that's not infinity on hppa1.1-hp-hpux10. - Remove includes of mpfr-math.h, math.h and stddef.h. +------------------------------------------------------------------------ +r2742 | zimmerma | 2004-02-17 10:01:18 +0000 (Tue, 17 Feb 2004) | 2 lines +Changed paths: + M /trunk/round_raw_generic.c - * tests/tget_d.c (check_inf_nan): New test. +added comment about return value - * acinclude.m4 (MPFR_C_LONG_DOUBLE_FORMAT): Use octal char constants, - '\xHH' is an ANSI-ism. +------------------------------------------------------------------------ +r2741 | pelissip | 2004-02-17 08:57:19 +0000 (Tue, 17 Feb 2004) | 2 lines +Changed paths: + M /trunk/acinclude.m4 -2003-06-24 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Try so support GMP as a Shared Library. - * tests/tset_ld.c: - check 2^1024 only when sizeof(long double) > sizeof(double) +------------------------------------------------------------------------ +r2740 | zimmerma | 2004-02-16 18:23:49 +0000 (Mon, 16 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c - * tests/tsub.c: correction to previous patch +improved error message - * tests/tadd.c: - correction to previous patch: problem was that x and u can be 0, - then MPFR_PREC() undefined +------------------------------------------------------------------------ +r2739 | pelissip | 2004-02-16 18:02:42 +0000 (Mon, 16 Feb 2004) | 2 lines +Changed paths: + M /trunk/gmp_op.c -2003-06-24 Kevin Ryde <user42@zip.com.au> +Fix the computing of the error for mpq_add and mpq_sub. - * tests/tests.c (tests_start_mpfr): Make stdout and stderr unbuffered. +------------------------------------------------------------------------ +r2738 | lefevre | 2004-02-16 17:57:38 +0000 (Mon, 16 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * tests/tsub.c, tests/tadd.c (check_inexact): - For pz, use at least MPFR_PREC_MIN - since this is required by mpfr_set_prec. +Added more tests (improved tadd1.c coverage). -2003-06-23 Kevin Ryde <user42@zip.com.au> +------------------------------------------------------------------------ +r2737 | zimmerma | 2004-02-16 17:47:59 +0000 (Mon, 16 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/tgmpop.c - * TODO: Remove mingw portability of random/rand48, no longer used. +added cancellation test for add_q - * TODO: Remove __setfpucw, no longer used. - Remove mpfr_integer_p, done. - Remove gmp rand functions in test programs, done. - Remove MPFR_CHECK_RANDOMIZE, done (as GMP_CHECK_RANDOMIZE). +------------------------------------------------------------------------ +r2736 | lefevre | 2004-02-16 17:37:59 +0000 (Mon, 16 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/tadd.c -2003-06-21 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Added tests (improved tadd1.c coverage). - * mpfr.texi: mpfr_random is deprecated. +------------------------------------------------------------------------ +r2735 | pelissip | 2004-02-16 17:35:26 +0000 (Mon, 16 Feb 2004) | 2 lines +Changed paths: + M /trunk/gmp_op.c + M /trunk/tests/tgmpop.c -2003-06-20 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Fix bug of add_q and sub_q with special values (NAN, INF and ZERO). - * tests/tdiv.c, tests/tsub.c, tests/tui_div.c: - changed since mpfr_random now can return 0 +------------------------------------------------------------------------ +r2734 | zimmerma | 2004-02-16 17:12:45 +0000 (Mon, 16 Feb 2004) | 2 lines +Changed paths: + M /trunk/div.c + M /trunk/set_d.c + M /trunk/set_q.c -2003-06-20 Vincent Lefevre <Vincent.Lefevre@loria.fr> +deal with overflow/underflow in mpfr_div - * random.c: - The distribution should now be uniform (mpfr_random implemented - by calling mpfr_urandomb). +------------------------------------------------------------------------ +r2733 | zimmerma | 2004-02-16 17:04:34 +0000 (Mon, 16 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/tgmpop.c - * mpfr.h, mpfr.texi, urandomb.c: - Take the current exponent range into account in mpfr_urandomb - (which now returns an int). +added hard-coded tests - * urandomb.c: Bug fix. +------------------------------------------------------------------------ +r2732 | lefevre | 2004-02-16 16:50:31 +0000 (Mon, 16 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/tadd.c -2003-06-20 Paul Zimmermann <Paul.Zimmermann@loria.fr> +When the precisions are the same, test both mpfr_add1sp and mpfr_add1. - * tests/tests.c: - moved _gmp_rands_initialized stuff from tests_end_mpfr() to tests_rand_end() +------------------------------------------------------------------------ +r2731 | lefevre | 2004-02-16 16:34:39 +0000 (Mon, 16 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * tests/tset_z.c, tests/tset_si.c: reduced default number of tests - improved style +Added overflow check. -2003-06-19 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2730 | pelissip | 2004-02-16 16:17:38 +0000 (Mon, 16 Feb 2004) | 3 lines +Changed paths: + M /trunk/add1sp.c + M /trunk/div.c + M /trunk/sub1sp.c + M /trunk/tests/tsub1sp.c - * exp_2.c: fixed bug in mpfr_exp2_aux2 (spe175.testdrive.hp.com) +Optimize add1sp, sub1sp and div. +Improve coverage test for sub1sp. - * exp3.c: improved style +------------------------------------------------------------------------ +r2729 | lefevre | 2004-02-16 16:06:11 +0000 (Mon, 16 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/texp.c - * tests/texp.c: added more information in case of failure +Removed unused label. - * tests/tests.c, tests/tlog.c, tests/tmul_2exp.c, tests/tout_str.c, tests/tset_d.c, tests/tset_f.c, tests/tset_si.c, tests/tset_str.c, tests/tset_z.c, tests/tadd.c, tests/tagm.c: - removed randseed() stuff [obsolete now we use the GMP mechanism] +------------------------------------------------------------------------ +r2727 | lefevre | 2004-02-16 15:05:18 +0000 (Mon, 16 Feb 2004) | 3 lines +Changed paths: + M /trunk/pow.c - * tests/tzeta.c: added memory test mechanism +Really reverted to rev. 1.54 + kept optimization + commented out +is_odd_even. + +------------------------------------------------------------------------ +r2725 | zimmerma | 2004-02-16 14:30:43 +0000 (Mon, 16 Feb 2004) | 2 lines +Changed paths: + M /trunk/set_d.c + M /trunk/set_ld.c + +take into account possible out-of-range exponent + +------------------------------------------------------------------------ +r2724 | zimmerma | 2004-02-16 14:24:48 +0000 (Mon, 16 Feb 2004) | 3 lines +Changed paths: + M /trunk/pow.c + +revert to rev 1.54 code for case x infinite +(was less efficient but simpler) + +------------------------------------------------------------------------ +r2723 | zimmerma | 2004-02-16 13:56:42 +0000 (Mon, 16 Feb 2004) | 2 lines +Changed paths: + M /trunk/pow.c + +fixed bug with in-place computation + +------------------------------------------------------------------------ +r2722 | lefevre | 2004-02-16 13:55:27 +0000 (Mon, 16 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/tset_ld.c + M /trunk/tests/tsqrt.c + +Code clean-up and fix to avoid warnings. + +------------------------------------------------------------------------ +r2721 | zimmerma | 2004-02-16 13:35:20 +0000 (Mon, 16 Feb 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi + M /trunk/pow.c + M /trunk/tests/tpow.c + +changed back to C99 standard for special values of x^y + +------------------------------------------------------------------------ +r2720 | zimmerma | 2004-02-16 11:33:24 +0000 (Mon, 16 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/trint.c + +added test for *function* mpfr_round + +------------------------------------------------------------------------ +r2719 | zimmerma | 2004-02-16 11:06:06 +0000 (Mon, 16 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/tinp_str.c + M /trunk/tests/tout_str.c + +check return value of fopen + +------------------------------------------------------------------------ +r2718 | lefevre | 2004-02-16 11:01:38 +0000 (Mon, 16 Feb 2004) | 2 lines +Changed paths: + M /trunk/sqrt.c + +Removed the no longer used label "fin" and fixed the indentation. + +------------------------------------------------------------------------ +r2717 | lefevre | 2004-02-16 10:55:36 +0000 (Mon, 16 Feb 2004) | 2 lines +Changed paths: + M /trunk/pow.c + +Fix: MPFR_NOT_ZERO -> MPFR_NOTZERO. + +------------------------------------------------------------------------ +r2716 | lefevre | 2004-02-16 10:52:40 +0000 (Mon, 16 Feb 2004) | 2 lines +Changed paths: + M /trunk/agm.c + +Commented out the now useless "double uo, vo;". + +------------------------------------------------------------------------ +r2715 | zimmerma | 2004-02-16 10:41:02 +0000 (Mon, 16 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/trandom.c + M /trunk/tests/tzeta.c + M /trunk/zeta.c + +improved coverage tests + +------------------------------------------------------------------------ +r2714 | zimmerma | 2004-02-14 23:05:51 +0000 (Sat, 14 Feb 2004) | 2 lines +Changed paths: + M /trunk/add.c + M /trunk/mpfr.texi + M /trunk/set_d.c + M /trunk/set_q.c + M /trunk/set_str_raw.c + M /trunk/sin.c + M /trunk/sin_cos.c + M /trunk/sinh.c + M /trunk/sqrt.c + M /trunk/tan.c + M /trunk/tanh.c + M /trunk/tests/Makefile.am + M /trunk/tests/tset_d.c + A /trunk/tests/tset_exp.c + M /trunk/tests/tset_f.c + M /trunk/tests/tset_ld.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsin.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsinh.c + M /trunk/tests/tsqrt.c + M /trunk/tests/ttan.c + M /trunk/tests/ttanh.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_pow.c + M /trunk/tests/tui_sub.c + M /trunk/ui_div.c + M /trunk/ui_pow_ui.c + M /trunk/ui_sub.c + +new coverage tests + +------------------------------------------------------------------------ +r2713 | zimmerma | 2004-02-14 11:11:31 +0000 (Sat, 14 Feb 2004) | 2 lines +Changed paths: + M /trunk/hypot.c + M /trunk/inp_str.c + M /trunk/log.c + M /trunk/log10.c + M /trunk/log1p.c + M /trunk/log2.c + M /trunk/mpfr.texi + M /trunk/mpn_exp.c + M /trunk/mul_ui.c + M /trunk/next.c + M /trunk/pow.c + M /trunk/pow_si.c + M /trunk/pow_ui.c + M /trunk/rint.c + M /trunk/round_prec.c + M /trunk/set.c + M /trunk/tests/Makefile.am + A /trunk/tests/inp_str.data + M /trunk/tests/mpf_compat.h + M /trunk/tests/thypot.c + A /trunk/tests/tinp_str.c + M /trunk/tests/tlog.c + M /trunk/tests/tlog10.c + M /trunk/tests/tlog1p.c + M /trunk/tests/tlog2.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tnext.c + M /trunk/tests/tout_str.c + M /trunk/tests/tpow.c + M /trunk/tests/trandom.c + M /trunk/tests/trint.c + M /trunk/tests/tround_prec.c + M /trunk/tests/tset.c + +improved coverage test + +------------------------------------------------------------------------ +r2712 | zimmerma | 2004-02-13 17:39:02 +0000 (Fri, 13 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/tget_d.c + M /trunk/tests/tset_si.c + +improved coverage test + +------------------------------------------------------------------------ +r2711 | zimmerma | 2004-02-13 17:17:52 +0000 (Fri, 13 Feb 2004) | 2 lines +Changed paths: + M /trunk/get_str.c + M /trunk/tests/tget_str.c + +improved test coverage + +------------------------------------------------------------------------ +r2710 | zimmerma | 2004-02-13 16:00:10 +0000 (Fri, 13 Feb 2004) | 2 lines +Changed paths: + M /trunk/gamma.c + M /trunk/tests/tgamma.c + +improved test coverage + +------------------------------------------------------------------------ +r2709 | zimmerma | 2004-02-13 15:35:19 +0000 (Fri, 13 Feb 2004) | 2 lines +Changed paths: + M /trunk/exp3.c + M /trunk/tests/texp.c + +improved test coverage + +------------------------------------------------------------------------ +r2708 | pelissip | 2004-02-13 15:05:42 +0000 (Fri, 13 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/tadd1sp.c + +Fix a bug in taddsp (Forget to check if random does not generate zero). + +------------------------------------------------------------------------ +r2707 | zimmerma | 2004-02-13 13:57:24 +0000 (Fri, 13 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/teq.c + +improved editing style + +------------------------------------------------------------------------ +r2706 | zimmerma | 2004-02-13 13:44:41 +0000 (Fri, 13 Feb 2004) | 2 lines +Changed paths: + M /trunk/cos.c + M /trunk/cosh.c + M /trunk/div_ui.c + M /trunk/tests/tdiv_ui.c + +improved test coverage + +------------------------------------------------------------------------ +r2705 | zimmerma | 2004-02-13 13:43:27 +0000 (Fri, 13 Feb 2004) | 2 lines +Changed paths: + M /trunk/eq.c + M /trunk/tests/teq.c + +partly rewritten, and improved test coverage + +------------------------------------------------------------------------ +r2704 | lefevre | 2004-02-13 13:33:10 +0000 (Fri, 13 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/tmul_2exp.c + +Added tests for mpfr_mul_2si and mpfr_div_2si + corrections. + +------------------------------------------------------------------------ +r2703 | lefevre | 2004-02-13 12:31:49 +0000 (Fri, 13 Feb 2004) | 3 lines +Changed paths: + M /trunk/tests/tmul_2exp.c + +Replaced mpfr_mul_2exp and mpfr_div_2exp by mpfr_mul_2ui and +mpfr_div_2ui as the 2exp form is obsolete. + +------------------------------------------------------------------------ +r2702 | zimmerma | 2004-02-13 12:25:14 +0000 (Fri, 13 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/tfactorial.c + +removed warnings + +------------------------------------------------------------------------ +r2701 | pelissip | 2004-02-13 11:30:05 +0000 (Fri, 13 Feb 2004) | 5 lines +Changed paths: + M /trunk/check.c + M /trunk/cmp_abs.c + M /trunk/set.c + M /trunk/tests/Makefile.am + A /trunk/tests/tcmpabs.c + M /trunk/tests/texceptions.c + A /trunk/tests/tfits.c + A /trunk/tests/toutimpl.c + +Add test for mpfr_cmpabs +Add test for mpfr_fits_ +Add test for internal dumping functions. +Improve coverage test for exceptions / set / check. + +------------------------------------------------------------------------ +r2700 | zimmerma | 2004-02-13 10:52:11 +0000 (Fri, 13 Feb 2004) | 2 lines +Changed paths: + M /trunk/const_pi.c + M /trunk/tests/tconst_pi.c + +improved coverage + +------------------------------------------------------------------------ +r2699 | zimmerma | 2004-02-13 10:31:42 +0000 (Fri, 13 Feb 2004) | 2 lines +Changed paths: + M /trunk/AUTHORS + +removed Kevin, added missing accent + +------------------------------------------------------------------------ +r2698 | zimmerma | 2004-02-13 09:33:55 +0000 (Fri, 13 Feb 2004) | 2 lines +Changed paths: + M /trunk/agm.c + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atan.c + M /trunk/atanh.c + M /trunk/cbrt.c + M /trunk/cmp.c + M /trunk/cmp2.c + M /trunk/cmp_ui.c + M /trunk/const_euler.c + M /trunk/const_log2.c + M /trunk/mpfr.texi + M /trunk/tests/tagm.c + M /trunk/tests/tatanh.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tconst_log2.c + M /trunk/uceil_exp2.c + +improved coverage test + +------------------------------------------------------------------------ +r2697 | pelissip | 2004-02-12 18:02:28 +0000 (Thu, 12 Feb 2004) | 4 lines +Changed paths: + M /trunk/dump.c + M /trunk/mpf2mpfr.h + M /trunk/mpfr.h + +Rewrite (simplify) mpfr_dump. +Change its proto. +Fix mpf_dump macro in mpf2mpfr. + +------------------------------------------------------------------------ +r2696 | pelissip | 2004-02-12 17:58:40 +0000 (Thu, 12 Feb 2004) | 2 lines +Changed paths: + M /trunk/add.c + M /trunk/div.c + M /trunk/mul.c + M /trunk/sub.c + +Remove MPFR_ASSERTN(0) and add MPFR_ASSERTD(last condition) instead. + +------------------------------------------------------------------------ +r2695 | zimmerma | 2004-02-12 16:54:28 +0000 (Thu, 12 Feb 2004) | 2 lines +Changed paths: + M /trunk/add.c + +improved coverage + +------------------------------------------------------------------------ +r2694 | zimmerma | 2004-02-12 16:38:06 +0000 (Thu, 12 Feb 2004) | 2 lines +Changed paths: + M /trunk/acos.c + M /trunk/acosh.c + +improved coverage + +------------------------------------------------------------------------ +r2693 | zimmerma | 2004-02-12 16:25:29 +0000 (Thu, 12 Feb 2004) | 2 lines +Changed paths: + M /trunk/gamma.c + M /trunk/tests/tgamma.c + +improved cov. test + +------------------------------------------------------------------------ +r2692 | zimmerma | 2004-02-12 16:08:00 +0000 (Thu, 12 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/tfrac.c + +improved cov. test + +------------------------------------------------------------------------ +r2691 | zimmerma | 2004-02-12 16:01:26 +0000 (Thu, 12 Feb 2004) | 2 lines +Changed paths: + M /trunk/fma.c + M /trunk/tests/tfma.c + +improved coverage test + +------------------------------------------------------------------------ +r2690 | zimmerma | 2004-02-12 15:05:14 +0000 (Thu, 12 Feb 2004) | 2 lines +Changed paths: + M /trunk/factorial.c + M /trunk/tests/tfactorial.c + +improved coverage test + +------------------------------------------------------------------------ +r2689 | zimmerma | 2004-02-12 14:30:20 +0000 (Thu, 12 Feb 2004) | 2 lines +Changed paths: + M /trunk/expm1.c + M /trunk/tests/texpm1.c + +improved test coverage + +------------------------------------------------------------------------ +r2688 | pelissip | 2004-02-12 14:20:43 +0000 (Thu, 12 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/tconst_log2.c + M /trunk/tests/tconst_pi.c + +Improve coverage of const_pi and const_log2 (Test for prec > 20000). + +------------------------------------------------------------------------ +r2687 | zimmerma | 2004-02-12 14:08:06 +0000 (Thu, 12 Feb 2004) | 3 lines +Changed paths: + M /trunk/exp.c + M /trunk/tests/texp.c + +fixed tiny bugs for corner cases +improved test coverage + +------------------------------------------------------------------------ +r2686 | pelissip | 2004-02-12 13:49:44 +0000 (Thu, 12 Feb 2004) | 6 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/add.c + A /trunk/add1sp.c + M /trunk/copysign.c + M /trunk/div_2ui.c + M /trunk/mpfr-impl.h + M /trunk/sqrt.c + M /trunk/sub.c + M /trunk/tests/Makefile.am + A /trunk/tests/tadd1sp.c + A /trunk/tests/tcopysign.c + M /trunk/tests/tdim.c + M /trunk/tests/texp.c + A /trunk/tests/tminmax.c + M /trunk/tests/tmul_2exp.c + ++ Add mpfr_add1sp which provides addition when all the operands have the same precision. ++ Add new test files for mpfr_copysign and mpfr_min and mpfr_max. ++ Add test for mpfr_exp10 in tests/texp.c ++ Improve coverage of div_2ui.c and mul_2ui.c ++ Add a forgotten ASSERT in mpfr_sqrt + +------------------------------------------------------------------------ +r2685 | zimmerma | 2004-02-12 13:20:50 +0000 (Thu, 12 Feb 2004) | 3 lines +Changed paths: + M /trunk/exp2.c + M /trunk/tests/texp2.c + +improved test coverage +replaced mpfr_get_d1 by mpfr_get_si + +------------------------------------------------------------------------ +r2684 | zimmerma | 2004-02-12 12:54:48 +0000 (Thu, 12 Feb 2004) | 2 lines +Changed paths: + M /trunk/erf.c + M /trunk/tests/terf.c + +improved coverage test + +------------------------------------------------------------------------ +r2683 | zimmerma | 2004-02-12 12:38:17 +0000 (Thu, 12 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/tsub.c + +added new coverage test + +------------------------------------------------------------------------ +r2682 | pelissip | 2004-02-12 11:42:34 +0000 (Thu, 12 Feb 2004) | 2 lines +Changed paths: + M /trunk/README.dev + +Fix some mistakes. + +------------------------------------------------------------------------ +r2681 | pelissip | 2004-02-12 11:38:49 +0000 (Thu, 12 Feb 2004) | 2 lines +Changed paths: + M /trunk/README.dev + +Add a description of the gcov tool. + +------------------------------------------------------------------------ +r2680 | zimmerma | 2004-02-12 11:35:50 +0000 (Thu, 12 Feb 2004) | 2 lines +Changed paths: + M /trunk/tests/tsub.c + +now 100% of coverage of sub1.c + +------------------------------------------------------------------------ +r2679 | zimmerma | 2004-02-12 11:06:02 +0000 (Thu, 12 Feb 2004) | 2 lines +Changed paths: + M /trunk/dim.c + M /trunk/tests/Makefile.am + A /trunk/tests/tdim.c + +new test file for mpfr_dim + +------------------------------------------------------------------------ +r2672 | pelissip | 2004-02-06 15:57:28 +0000 (Fri, 06 Feb 2004) | 2 lines +Changed paths: + M /trunk/configure.in + +Replace AS_HELP_STRING to AC_HELP_STRING (obsolete) + +------------------------------------------------------------------------ +r2671 | pelissip | 2004-02-06 15:37:40 +0000 (Fri, 06 Feb 2004) | 3 lines +Changed paths: + M /trunk/acosh.c + M /trunk/add1.c + M /trunk/add_ui.c + M /trunk/agm.c + M /trunk/asinh.c + M /trunk/clear.c + M /trunk/clears.c + M /trunk/cmp.c + M /trunk/cmp_abs.c + M /trunk/cmp_d.c + M /trunk/cmp_si.c + M /trunk/cmp_ui.c + M /trunk/comparisons.c + M /trunk/const_pi.c + M /trunk/copysign.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/dump.c + M /trunk/exceptions.c + M /trunk/exp.c + M /trunk/exp10.c + M /trunk/exp2.c + M /trunk/exp3.c + M /trunk/expm1.c + M /trunk/extract.c + M /trunk/fma.c + M /trunk/get_exp.c + M /trunk/get_z_exp.c + M /trunk/init.c + M /trunk/inits.c + M /trunk/inp_str.c + M /trunk/isinf.c + M /trunk/isnan.c + M /trunk/isnum.c + M /trunk/log1p.c + M /trunk/mpfr-test.h + M /trunk/mpfr.texi + M /trunk/mul.c + M /trunk/mul_2exp.c + M /trunk/mul_2si.c + M /trunk/mul_2ui.c + M /trunk/mul_ui.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/powerof2.c + M /trunk/print_rnd_mode.c + M /trunk/random.c + M /trunk/random2.c + M /trunk/rint.c + M /trunk/round_prec.c + M /trunk/set.c + M /trunk/set_dfl_prec.c + M /trunk/set_exp.c + M /trunk/set_inf.c + M /trunk/set_q.c + M /trunk/set_si.c + M /trunk/set_str_raw.c + M /trunk/set_ui.c + M /trunk/set_z.c + M /trunk/setmax.c + M /trunk/setmin.c + M /trunk/sgn.c + M /trunk/sin.c + M /trunk/sin_cos.c + M /trunk/sinh.c + M /trunk/sqrt.c + M /trunk/sqrt_ui.c + M /trunk/sub_ui.c + M /trunk/swap.c + M /trunk/tan.c + M /trunk/tanh.c + M /trunk/uceil_exp2.c + M /trunk/uceil_log2.c + M /trunk/ufloor_log2.c + M /trunk/ui_pow.c + M /trunk/ui_pow_ui.c + M /trunk/ui_sub.c + M /trunk/urandomb.c + M /trunk/volatile.c + +Add forgotten copyright 2004 line. +Add a small documentation about mpfr_sum. + +------------------------------------------------------------------------ +r2668 | pelissip | 2004-02-06 13:59:56 +0000 (Fri, 06 Feb 2004) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + A /trunk/sum.c + M /trunk/tests/Makefile.am + A /trunk/tests/tsum.c + +Added mpfr_sum function. + +------------------------------------------------------------------------ +r2665 | pelissip | 2004-02-06 13:27:05 +0000 (Fri, 06 Feb 2004) | 3 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/acinclude.m4 + M /trunk/acos.c + M /trunk/acosh.c + M /trunk/add.c + M /trunk/add1.c + M /trunk/add_one_ulp.c + M /trunk/add_ui.c + M /trunk/agm.c + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atan.c + M /trunk/atanh.c + M /trunk/cbrt.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_si.c + M /trunk/cmp_ui.c + M /trunk/comparisons.c + M /trunk/configure.in + M /trunk/const_euler.c + M /trunk/const_log2.c + M /trunk/const_pi.c + M /trunk/copysign.c + M /trunk/cos.c + M /trunk/cosh.c + M /trunk/dim.c + M /trunk/div.c + M /trunk/div_2exp.c + M /trunk/div_2si.c + M /trunk/div_2ui.c + M /trunk/div_ui.c + M /trunk/dump.c + M /trunk/eq.c + M /trunk/erf.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/fits_s.h + M /trunk/fits_u.h + M /trunk/fma.c + M /trunk/frac.c + M /trunk/gamma.c + M /trunk/get_d.c + M /trunk/get_exp.c + M /trunk/get_ld.c + M /trunk/get_si.c + M /trunk/get_str.c + M /trunk/get_ui.c + M /trunk/get_z_exp.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/isinf.c + M /trunk/isinteger.c + M /trunk/isnan.c + M /trunk/isnum.c + M /trunk/log.c + M /trunk/log10.c + M /trunk/log1p.c + M /trunk/log2.c + A /trunk/longlong.h + M /trunk/minmax.c + A /trunk/mp_clz_tab.c + A /trunk/mpfr-gmp.c + A /trunk/mpfr-gmp.h + M /trunk/mpfr-impl.h + M /trunk/mpfr-test.h + M /trunk/mpn_exp.c + M /trunk/mul.c + M /trunk/mul_2exp.c + M /trunk/mul_2si.c + M /trunk/mul_2ui.c + M /trunk/mul_ui.c + M /trunk/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/powerof2.c + M /trunk/print_rnd_mode.c + M /trunk/random.c + M /trunk/random2.c + M /trunk/reldiff.c + M /trunk/rint.c + M /trunk/round_prec.c + M /trunk/save_expo.c + M /trunk/set.c + M /trunk/set_d.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_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_str.c + M /trunk/set_str_raw.c + M /trunk/set_ui.c + M /trunk/set_z.c + M /trunk/setmax.c + M /trunk/setmin.c + M /trunk/sgn.c + M /trunk/sin.c + M /trunk/sin_cos.c + M /trunk/sinh.c + M /trunk/sqrt.c + M /trunk/sqrt_ui.c + M /trunk/sub.c + M /trunk/sub1.c + M /trunk/sub1sp.c + M /trunk/sub_one_ulp.c + M /trunk/sub_ui.c + M /trunk/swap.c + M /trunk/tan.c + M /trunk/tanh.c + M /trunk/tests/memory.c + M /trunk/tests/tacos.c + M /trunk/tests/tadd.c + M /trunk/tests/tasin.c + M /trunk/tests/tatan.c + M /trunk/tests/tcan_round.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tdiv.c + M /trunk/tests/tests.c + M /trunk/tests/texceptions.c + M /trunk/tests/texp.c + M /trunk/tests/tfma.c + M /trunk/tests/tfrac.c + M /trunk/tests/tgeneric.c + M /trunk/tests/tget_d_2exp.c + M /trunk/tests/tget_str.c + M /trunk/tests/tgmpop.c + M /trunk/tests/thypot.c + M /trunk/tests/tmul.c + M /trunk/tests/tout_str.c + M /trunk/tests/tpow3.c + M /trunk/tests/trint.c + M /trunk/tests/tset_f.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub1sp.c + M /trunk/tests/tui_pow.c + M /trunk/uceil_log2.c + M /trunk/ui_div.c + M /trunk/ui_pow.c + M /trunk/ui_pow_ui.c + M /trunk/ui_sub.c + M /trunk/urandomb.c + M /trunk/version.c + M /trunk/volatile.c + ++ Better support of non IEEE doubles. ++ You can compile MPFR without gmp internal files (ie gmp-impl.h, gmp-mparam.h, and config.h). You only need gmp.h and libgmp.a. But you can still compile with GMP internal files (configure detects them). + +------------------------------------------------------------------------ +r2664 | lefevre | 2004-02-06 13:06:36 +0000 (Fri, 06 Feb 2004) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update. + +------------------------------------------------------------------------ +r2660 | lefevre | 2004-02-06 10:54:26 +0000 (Fri, 06 Feb 2004) | 2 lines +Changed paths: + M /trunk/NEWS + +Updated MPFR URL. + +------------------------------------------------------------------------ +r2659 | lefevre | 2004-02-06 10:49:54 +0000 (Fri, 06 Feb 2004) | 2 lines +Changed paths: + M /trunk/NEWS + +Added the changes from version 2.0.1 to version 2.0.2. + +------------------------------------------------------------------------ +r2657 | lefevre | 2004-02-06 10:14:00 +0000 (Fri, 06 Feb 2004) | 2 lines +Changed paths: + M /trunk/README.dev + +Added: "3) Update the NEWS file.". + +------------------------------------------------------------------------ +r2655 | zimmerma | 2004-02-03 10:06:53 +0000 (Tue, 03 Feb 2004) | 2 lines +Changed paths: + M /trunk/get_str.c + M /trunk/mpfr.texi + M /trunk/tests/tget_str.c + +fixed bug in get_str (case pow2, rnd=up or down) + +------------------------------------------------------------------------ +r2654 | zimmerma | 2004-01-30 16:27:35 +0000 (Fri, 30 Jan 2004) | 2 lines +Changed paths: + M /trunk/tests/tzeta.c + M /trunk/zeta.c + +fixed problem (s1 = s-1 inexact) + +------------------------------------------------------------------------ +r2653 | zimmerma | 2004-01-30 15:06:42 +0000 (Fri, 30 Jan 2004) | 2 lines +Changed paths: + M /trunk/factorial.c + M /trunk/gamma.c + M /trunk/tests/tfactorial.c + M /trunk/tests/tgamma.c + +fixed problem in gamma/factorial + +------------------------------------------------------------------------ +r2652 | zimmerma | 2004-01-30 12:51:58 +0000 (Fri, 30 Jan 2004) | 2 lines +Changed paths: + M /trunk/agm.c + M /trunk/hypot.c + M /trunk/tests/tagm.c + M /trunk/tests/thypot.c + +added new tests for agm and hypot (+ fixed bugs) + +------------------------------------------------------------------------ +r2651 | pelissip | 2004-01-29 16:12:42 +0000 (Thu, 29 Jan 2004) | 3 lines +Changed paths: + M /trunk/mpfr.h + +Add GMP_RND_MAX so that a for loop of the rounding modes looks like: + for(int r = 0 ; r < GMP_RND_MAX ; r++) + +------------------------------------------------------------------------ +r2650 | pelissip | 2004-01-28 14:22:05 +0000 (Wed, 28 Jan 2004) | 2 lines +Changed paths: + M /trunk/get_d.c + M /trunk/mpfr-impl.h + M /trunk/set_d.c + M /trunk/set_ld.c + M /trunk/sub1sp.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tdiv.c + M /trunk/tests/tget_d.c + M /trunk/tests/tmul.c + M /trunk/tests/tset_ld.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_sub.c + M /trunk/tests/tzeta.c + M /trunk/uceil_exp2.c + M /trunk/ufloor_log2.c + +Better supports of non IEEE-754 floats (don't use anymore ieee_double_extract if _GMP_IEEE is not set). + +------------------------------------------------------------------------ +r2649 | lefevre | 2004-01-28 11:32:57 +0000 (Wed, 28 Jan 2004) | 2 lines +Changed paths: + M /trunk/frac.c + +Added comments and a temporary fix. + +------------------------------------------------------------------------ +r2648 | zimmerma | 2004-01-27 08:00:00 +0000 (Tue, 27 Jan 2004) | 3 lines +Changed paths: + M /trunk/atan.c + M /trunk/cbrt.c + M /trunk/erf.c + M /trunk/tests/tatan.c + M /trunk/tests/tcbrt.c + M /trunk/tests/terf.c + M /trunk/tests/tgamma.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tzeta.c + +fixed bugs in atan cbrt erf +added new hard-coded tests + +------------------------------------------------------------------------ +r2647 | zimmerma | 2004-01-26 13:14:55 +0000 (Mon, 26 Jan 2004) | 2 lines +Changed paths: + M /trunk/zeta.c + +removed argument reduction in sin(Pi*s/2) [delegated to mpfr_sin] + +------------------------------------------------------------------------ +r2646 | zimmerma | 2004-01-26 13:11:54 +0000 (Mon, 26 Jan 2004) | 3 lines +Changed paths: + M /trunk/tests/tzeta.c + +print inputs of test2 in binary form +commented out test for 0.8 (input is not exactly representable) + +------------------------------------------------------------------------ +r2645 | pelissip | 2004-01-26 11:45:21 +0000 (Mon, 26 Jan 2004) | 3 lines +Changed paths: + M /trunk/tests/tzeta.c + M /trunk/zeta.c + ++ Internal functions of zeta are now declared as static. ++ Add new tests which fail. + +------------------------------------------------------------------------ +r2644 | zimmerma | 2004-01-22 22:30:52 +0000 (Thu, 22 Jan 2004) | 2 lines +Changed paths: + M /trunk/acos.c + M /trunk/algorithms.tex + M /trunk/asin.c + M /trunk/atan.c + M /trunk/atanh.c + M /trunk/erf.c + M /trunk/exp_2.c + M /trunk/frac.c + M /trunk/mpfr-impl.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/tcbrt.c + M /trunk/tests/tconst_euler.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tconst_pi.c + M /trunk/tests/tcos.c + M /trunk/tests/tcosh.c + M /trunk/tests/terf.c + M /trunk/tests/tfrac.c + M /trunk/tests/thyperbolic.c + M /trunk/tests/trint.c + +added several hard-coded tests (and fixed bugs found) + +------------------------------------------------------------------------ +r2643 | pelissip | 2004-01-20 13:08:53 +0000 (Tue, 20 Jan 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Fix tiny bug of Concept Index / Rounding Modes. + +------------------------------------------------------------------------ +r2642 | pelissip | 2004-01-20 13:04:30 +0000 (Tue, 20 Jan 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Update minor things. + +------------------------------------------------------------------------ +r2641 | zimmerma | 2004-01-20 11:07:48 +0000 (Tue, 20 Jan 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +minor change in contributions + +------------------------------------------------------------------------ +r2640 | zimmerma | 2004-01-20 10:56:59 +0000 (Tue, 20 Jan 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +added Patrick in the main contributors + +------------------------------------------------------------------------ +r2639 | lefevre | 2004-01-20 10:08:27 +0000 (Tue, 20 Jan 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Fixed spelling mistake. + +------------------------------------------------------------------------ +r2638 | pelissip | 2004-01-20 09:15:19 +0000 (Tue, 20 Jan 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Reorder the documentation. + +------------------------------------------------------------------------ +r2637 | ryde | 2004-01-19 23:51:46 +0000 (Mon, 19 Jan 2004) | 2 lines +Changed paths: + M /trunk/TODO + +# Add a remark to mpf_strto. + +------------------------------------------------------------------------ +r2636 | ryde | 2004-01-19 23:31:56 +0000 (Mon, 19 Jan 2004) | 4 lines +Changed paths: + M /trunk/TODO + +# Drop my thought about addmul instead of fma. The latter takes a +# separate destination and is hence not the same as what mpn and mpz +# addmul do. + +------------------------------------------------------------------------ +r2635 | pelissip | 2004-01-19 16:06:34 +0000 (Mon, 19 Jan 2004) | 2 lines +Changed paths: + M /trunk/tests/tcmp_d.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tset_d.c + +Update tests to remove the use of double when possible. + +------------------------------------------------------------------------ +r2634 | pelissip | 2004-01-19 16:05:24 +0000 (Mon, 19 Jan 2004) | 2 lines +Changed paths: + M /trunk/sub1sp.c + +Reenable the cmp between inexact flags. + +------------------------------------------------------------------------ +r2633 | pelissip | 2004-01-19 16:03:30 +0000 (Mon, 19 Jan 2004) | 4 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/set_rnd.c + M /trunk/tests/texceptions.c + +Add mpfr_get_default_rounding_mode. +Add the tests for mpfr_get/set_default_rounding_mode. +Fix mpfr_set_default_rounding_mode. + +------------------------------------------------------------------------ +r2632 | lefevre | 2004-01-19 03:01:10 +0000 (Mon, 19 Jan 2004) | 2 lines +Changed paths: + M /trunk/get_str.c + +_mpfr_ceil -> mpfr_ceil_double + check for overflow. + +------------------------------------------------------------------------ +r2631 | lefevre | 2004-01-19 02:39:21 +0000 (Mon, 19 Jan 2004) | 3 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/get_str.c + A /trunk/mpn_exp.c + +Moved the mpfr_mpn_exp function to a new file "mpn_exp.c" as it is +used by both "get_str.c" and "set_str.c". + +------------------------------------------------------------------------ +r2630 | pelissip | 2004-01-16 15:55:15 +0000 (Fri, 16 Jan 2004) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c + +Update it to remove the use of float/double. + +------------------------------------------------------------------------ +r2629 | pelissip | 2004-01-15 16:57:35 +0000 (Thu, 15 Jan 2004) | 2 lines +Changed paths: + D /trunk/from_Torbjorn + M /trunk/get_str.c + M /trunk/tests/tget_str.c + +Add a new check in tget_str.c. + +------------------------------------------------------------------------ +r2628 | pelissip | 2004-01-15 16:56:48 +0000 (Thu, 15 Jan 2004) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +Add new macros. + +------------------------------------------------------------------------ +r2627 | pelissip | 2004-01-15 16:55:45 +0000 (Thu, 15 Jan 2004) | 2 lines +Changed paths: + M /trunk/zeta.c + +Readd stdio.h in case of DEBUG mode. + +------------------------------------------------------------------------ +r2626 | pelissip | 2004-01-15 16:55:25 +0000 (Thu, 15 Jan 2004) | 2 lines +Changed paths: + M /trunk/sub1sp.c + +Optimize a few sub1sp by removing the normalisation in case of exact rounding and by removing the calcul of the rounding mode in case of exact rounding. + +------------------------------------------------------------------------ +r2625 | zimmerma | 2004-01-15 14:43:17 +0000 (Thu, 15 Jan 2004) | 3 lines +Changed paths: + M /trunk/get_str.c + +fixed problem in case m=0 and b=2^k (lost bits from 1st digit were not taken +into account) + +------------------------------------------------------------------------ +r2624 | zimmerma | 2004-01-15 12:09:25 +0000 (Thu, 15 Jan 2004) | 2 lines +Changed paths: + M /trunk/get_str.c + M /trunk/mpfr-impl.h + M /trunk/set_str.c + +mpn_exp -> mpfr_mpn_exp + +------------------------------------------------------------------------ +r2623 | lefevre | 2004-01-15 08:49:34 +0000 (Thu, 15 Jan 2004) | 2 lines +Changed paths: + D /trunk/gammaPiAGMformula.c + +Removed gammaPiAGMformula.c (old version, no longer used). + +------------------------------------------------------------------------ +r2622 | lefevre | 2004-01-14 17:18:34 +0000 (Wed, 14 Jan 2004) | 3 lines +Changed paths: + M /trunk/cbrt.c + M /trunk/const_euler.c + M /trunk/const_log2.c + M /trunk/cos.c + M /trunk/cosh.c + M /trunk/div_ui.c + M /trunk/eq.c + M /trunk/exp.c + M /trunk/exp_2.c + M /trunk/get_ld.c + M /trunk/hypot.c + M /trunk/init2.c + M /trunk/log.c + M /trunk/log10.c + M /trunk/log2.c + M /trunk/reldiff.c + M /trunk/save_expo.c + M /trunk/set_f.c + M /trunk/set_prc_raw.c + M /trunk/set_prec.c + M /trunk/set_str.c + M /trunk/ui_div.c + M /trunk/zeta.c + +Changed some error messages into assertions. +Removed some useless #include's. + +------------------------------------------------------------------------ +r2621 | pelissip | 2004-01-14 12:42:22 +0000 (Wed, 14 Jan 2004) | 2 lines +Changed paths: + M /trunk/tests/reuse.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tasin.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tconst_pi.c + M /trunk/tests/tcos.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/texp.c + M /trunk/tests/texp2.c + M /trunk/tests/tfma.c + M /trunk/tests/tlog.c + M /trunk/tests/tlog10.c + M /trunk/tests/tmul.c + M /trunk/tests/tround_prec.c + M /trunk/tests/tset_q.c + M /trunk/tests/tsin.c + M /trunk/tests/tsin_cos.c + +Continue to port tests so that they don't use double. + +------------------------------------------------------------------------ +r2620 | pelissip | 2004-01-09 16:00:54 +0000 (Fri, 09 Jan 2004) | 2 lines +Changed paths: + M /trunk/mpfr-test.h + M /trunk/tests/Makefile.am + A /trunk/tests/cmp_str.c + M /trunk/tests/tadd.c + M /trunk/tests/tcbrt.c + M /trunk/tests/tcheck.c + M /trunk/tests/tgmpop.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tswap.c + M /trunk/tests/ttan.c + M /trunk/tests/ttrunc.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_sub.c + +Update the tests to reduce the use of floats. + +------------------------------------------------------------------------ +r2619 | pelissip | 2004-01-09 10:15:51 +0000 (Fri, 09 Jan 2004) | 2 lines +Changed paths: + D /trunk/mpfi.c + D /trunk/mpfi.h + +Remove unused files mpfi.c and mpfi.h + +------------------------------------------------------------------------ +r2618 | pelissip | 2004-01-09 09:51:23 +0000 (Fri, 09 Jan 2004) | 3 lines +Changed paths: + M /trunk/tests/tabs.c + +Update test. +Don't use floats anymore. + +------------------------------------------------------------------------ +r2617 | pelissip | 2004-01-09 09:50:45 +0000 (Fri, 09 Jan 2004) | 3 lines +Changed paths: + M /trunk/mpfr-test.h + +Add RND_RAND +Add SIGN_RAND + +------------------------------------------------------------------------ +r2616 | pelissip | 2004-01-09 08:58:24 +0000 (Fri, 09 Jan 2004) | 3 lines +Changed paths: + M /trunk/isinteger.c + ++ Simplify the signular code. ++ Fix potential type errors. (Used mpfr_prec_t instead of mpfr_uexp_t). + +------------------------------------------------------------------------ +r2615 | pelissip | 2004-01-08 16:51:51 +0000 (Thu, 08 Jan 2004) | 3 lines +Changed paths: + M /trunk/gmp_op.c + M /trunk/tests/Makefile.am + A /trunk/tests/tgmpop.c + ++ Add a new test file for checking functions mpfr_add/sub/mul/div_q/z (from gmp_op.c). ++ Fix bugs of mpfr_add/sub/mul/div_q/z. + +------------------------------------------------------------------------ +r2614 | lefevre | 2004-01-07 19:58:45 +0000 (Wed, 07 Jan 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +-0 -> @minus{}0. + +------------------------------------------------------------------------ +r2613 | lefevre | 2004-01-07 19:54:53 +0000 (Wed, 07 Jan 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Specifications for mpfr_min and mpfr_max. + +------------------------------------------------------------------------ +r2612 | lefevre | 2004-01-07 17:21:06 +0000 (Wed, 07 Jan 2004) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +Updated MPFR_INTPREC_MAX definition, as mpfr_prec_t has changed. + +------------------------------------------------------------------------ +r2611 | pelissip | 2004-01-07 16:37:09 +0000 (Wed, 07 Jan 2004) | 2 lines +Changed paths: + M /trunk/tests/tsub1sp.c + +Add a new test between sub1 and sub1sp. + +------------------------------------------------------------------------ +r2610 | pelissip | 2004-01-07 16:28:42 +0000 (Wed, 07 Jan 2004) | 2 lines +Changed paths: + M /trunk/minmax.c + +Fix copyright line. + +------------------------------------------------------------------------ +r2609 | zimmerma | 2004-01-07 16:27:09 +0000 (Wed, 07 Jan 2004) | 2 lines +Changed paths: + M /trunk/sub1.c + M /trunk/tests/tsub.c + +fixed wrong sign of inexact flag + +------------------------------------------------------------------------ +r2608 | lefevre | 2004-01-07 16:11:04 +0000 (Wed, 07 Jan 2004) | 3 lines +Changed paths: + M /trunk/mpfr-impl.h + +Added casts to size_t so that integers representing a size get +this type as soon as possible. + +------------------------------------------------------------------------ +r2607 | pelissip | 2004-01-07 14:48:33 +0000 (Wed, 07 Jan 2004) | 2 lines +Changed paths: + M /trunk/sub1sp.c - * tests/tdiv.c: added new test from Parks +Use MPFR_ASSERTN(0) instead of abort. + +------------------------------------------------------------------------ +r2606 | pelissip | 2004-01-07 14:48:10 +0000 (Wed, 07 Jan 2004) | 2 lines +Changed paths: + M /trunk/mpfr.h - * zeta.c: fixed allocation problem (forgot to clear) +Fix the definition of MPFR_PREC_MAX + +------------------------------------------------------------------------ +r2605 | zimmerma | 2004-01-07 14:46:09 +0000 (Wed, 07 Jan 2004) | 2 lines +Changed paths: + M /trunk/tests/tsub.c -2003-06-19 Vincent Lefevre <Vincent.Lefevre@loria.fr> +added new test to check bug repair + +------------------------------------------------------------------------ +r2604 | zimmerma | 2004-01-07 14:45:21 +0000 (Wed, 07 Jan 2004) | 3 lines +Changed paths: + M /trunk/sub1.c - * mpfr-test.h: Removed drand48/lrand48/srand48 prototypes. +fixed bug (wrong inexact flag) for rounding to nearest when sh=0 and +first trailing limbs coincide + +------------------------------------------------------------------------ +r2603 | pelissip | 2004-01-07 14:27:34 +0000 (Wed, 07 Jan 2004) | 2 lines +Changed paths: + M /trunk/add.c + M /trunk/sub.c -2003-06-18 Kevin Ryde <user42@zip.com.au> +Fix copyright lines (2004). + +------------------------------------------------------------------------ +r2602 | pelissip | 2004-01-07 14:05:30 +0000 (Wed, 07 Jan 2004) | 4 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/add.c + M /trunk/sub.c + M /trunk/sub1sp.c + M /trunk/tests/Makefile.am + M /trunk/tests/tsub1sp.c + +Fix bug of sub1sp.c on sparck. +Add new tests for sub1sp. +Reenable sub1sp for mpfr_add / mpfr_sub. + +------------------------------------------------------------------------ +r2601 | pelissip | 2004-01-07 14:04:30 +0000 (Wed, 07 Jan 2004) | 2 lines +Changed paths: + M /trunk/print_raw.c + +Change output format of mpfr_print_mant_binary. + +------------------------------------------------------------------------ +r2600 | lefevre | 2004-01-07 13:27:29 +0000 (Wed, 07 Jan 2004) | 2 lines +Changed paths: + M /trunk/cmp2.c + +Clarified comment. + +------------------------------------------------------------------------ +r2599 | lefevre | 2004-01-06 14:17:50 +0000 (Tue, 06 Jan 2004) | 2 lines +Changed paths: + M /trunk/mpfr.h + +Updated copyright line. + +------------------------------------------------------------------------ +r2598 | lefevre | 2004-01-06 14:06:48 +0000 (Tue, 06 Jan 2004) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/tests/Makefile.am + A /trunk/tests/tversion.c + M /trunk/update-version + A /trunk/version.c + +Added mpfr_version function and test. + +------------------------------------------------------------------------ +r2597 | lefevre | 2004-01-06 13:46:32 +0000 (Tue, 06 Jan 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +The mpfr_print_rnd_mode return type is const char *, not char *. + +------------------------------------------------------------------------ +r2596 | pelissip | 2004-01-06 13:06:37 +0000 (Tue, 06 Jan 2004) | 2 lines +Changed paths: + M /trunk/tests/tset_f.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_z.c + +Update the copyright line of the source files to 2004. + +------------------------------------------------------------------------ +r2595 | pelissip | 2004-01-06 12:30:41 +0000 (Tue, 06 Jan 2004) | 2 lines +Changed paths: + M /trunk/tests/tset_f.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_z.c + +Add the tests to check if 0 for signed class with unsigned 0 is set to 0+. + +------------------------------------------------------------------------ +r2594 | zimmerma | 2004-01-05 16:35:08 +0000 (Mon, 05 Jan 2004) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +specified sign of zero in mpfr_set_* + +------------------------------------------------------------------------ +r2593 | zimmerma | 2004-01-05 14:32:56 +0000 (Mon, 05 Jan 2004) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + +removed test using denorms + +------------------------------------------------------------------------ +r2592 | pelissip | 2003-12-22 17:08:57 +0000 (Mon, 22 Dec 2003) | 2 lines +Changed paths: + M /trunk/acos.c + M /trunk/add.c + M /trunk/sub.c + +Disable sub1sp in add.c and in sub.c since it provides some bugs on spark (Log/acos/asin and atan tests failed but not tsub or tsub1sp). + +------------------------------------------------------------------------ +r2591 | pelissip | 2003-12-22 17:08:01 +0000 (Mon, 22 Dec 2003) | 2 lines +Changed paths: + M /trunk/mpfr.h + +Change comment. + +------------------------------------------------------------------------ +r2590 | pelissip | 2003-12-22 14:13:24 +0000 (Mon, 22 Dec 2003) | 3 lines +Changed paths: + M /trunk/init2.c + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + ++ Rearrange the code to be more "compatible" with broken systems. ++ Preprocessing checks are done in init2.c since GMP constants can't be used in preprocessing #if. + +------------------------------------------------------------------------ +r2589 | pelissip | 2003-12-22 13:56:15 +0000 (Mon, 22 Dec 2003) | 2 lines +Changed paths: + M /trunk/sub1sp.c + +Use MPFR_UNSIGNED_MINUS_MODULO when needed. + +------------------------------------------------------------------------ +r2588 | pelissip | 2003-12-22 10:57:56 +0000 (Mon, 22 Dec 2003) | 2 lines +Changed paths: + M /trunk/clears.c + M /trunk/inits.c + M /trunk/inits2.c + +Explicit support for K&R C since ansi2knr can't be used. + +------------------------------------------------------------------------ +r2587 | ryde | 2003-12-20 00:02:38 +0000 (Sat, 20 Dec 2003) | 3 lines +Changed paths: + M /trunk/tests/tests.c + +(tests_rand_start): Use gmp_randinit_default not the +RANDS macro, to cope with new non-seeding MT setup by RANDS. + +------------------------------------------------------------------------ +r2586 | pelissip | 2003-12-19 16:29:48 +0000 (Fri, 19 Dec 2003) | 3 lines +Changed paths: + M /trunk/get_ui.c + M /trunk/init2.c + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + +Support of MPFR_PREC_FORMAT. +Fix a bug in case mp_prec_t = unsigned short. + +------------------------------------------------------------------------ +r2585 | lefevre | 2003-12-19 14:19:53 +0000 (Fri, 19 Dec 2003) | 2 lines +Changed paths: + M /trunk/update-version + +Update due to a change in mpfr.h. + +------------------------------------------------------------------------ +r2584 | pelissip | 2003-12-19 11:56:42 +0000 (Fri, 19 Dec 2003) | 4 lines +Changed paths: + M /trunk/VERSION + M /trunk/mpfr.h + M /trunk/mpfr.texi + ++ Modify Version to 2.1.0. ++ Add MPFR_VERSION_MAJOR, MPFR_VERSION_MINOR and MPFR_VERSION_PATCHLEVEL in mpfr.h ++ Add MPFR_VERSION_NUM and MPFR_VERSION to check Mpfr version. + +------------------------------------------------------------------------ +r2583 | pelissip | 2003-12-19 11:54:48 +0000 (Fri, 19 Dec 2003) | 4 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/sub1sp.c + M /trunk/tests/mpf_compat.h + M /trunk/ui_div.c + M /trunk/ui_sub.c + +Remove one warning in mpf_compat.h +Create a new macro: MPFR_RET_NEVER_GO_HERE +Modify ui_sub/div to use it to make Insure++ happy. + +------------------------------------------------------------------------ +r2582 | zimmerma | 2003-12-19 11:44:42 +0000 (Fri, 19 Dec 2003) | 2 lines +Changed paths: + M /trunk/TODO + +updated mpfr_root entry + +------------------------------------------------------------------------ +r2581 | lefevre | 2003-12-19 11:41:10 +0000 (Fri, 19 Dec 2003) | 2 lines +Changed paths: + M /trunk/README.dev + A /trunk/update-version + +Added update-version script to update the MPFR version. + +------------------------------------------------------------------------ +r2580 | zimmerma | 2003-12-19 10:06:10 +0000 (Fri, 19 Dec 2003) | 2 lines +Changed paths: + M /trunk/TODO + +removed one item, added one + +------------------------------------------------------------------------ +r2579 | zimmerma | 2003-12-16 12:46:28 +0000 (Tue, 16 Dec 2003) | 2 lines +Changed paths: + M /trunk/Makefile.am + +removed unused target "tests" + +------------------------------------------------------------------------ +r2578 | zimmerma | 2003-12-16 12:38:36 +0000 (Tue, 16 Dec 2003) | 2 lines +Changed paths: + M /trunk/configure.in + +removed AC_DEFINE(hpux) [not used any more] + +------------------------------------------------------------------------ +r2577 | ryde | 2003-12-15 22:01:21 +0000 (Mon, 15 Dec 2003) | 2 lines +Changed paths: + M /trunk/Makefile.am + +(EXTRA_DIST): Add round_raw_generic.c. + +------------------------------------------------------------------------ +r2576 | pelissip | 2003-12-15 14:39:35 +0000 (Mon, 15 Dec 2003) | 8 lines +Changed paths: + M /trunk/asin.c + M /trunk/atan.c + M /trunk/cbrt.c + M /trunk/div.c + M /trunk/fits_u.h + M /trunk/gamma.c + M /trunk/get_d.c + M /trunk/mpfr-impl.h + M /trunk/mpfr-test.h + M /trunk/round_prec.c + M /trunk/round_raw_generic.c + M /trunk/set_ld.c + M /trunk/set_ui.c + M /trunk/sub1sp.c + M /trunk/tests/memory.c + M /trunk/tests/mpf_compat.h + M /trunk/tests/reuse.c + M /trunk/tests/rnd_mode.c + M /trunk/tests/tabs.c + M /trunk/tests/tacos.c + M /trunk/tests/tacosh.c + M /trunk/tests/tadd.c + M /trunk/tests/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_ui.c + M /trunk/tests/tcomparisons.c + M /trunk/tests/tconst_euler.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tconst_pi.c + M /trunk/tests/tcos.c + M /trunk/tests/tcosh.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/tdump.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/texp2.c + M /trunk/tests/texpm1.c + M /trunk/tests/tfactorial.c + M /trunk/tests/tfma.c + M /trunk/tests/tfrac.c + M /trunk/tests/tgamma.c + M /trunk/tests/tgeneric.c + M /trunk/tests/tget_d.c + M /trunk/tests/tget_d_2exp.c + M /trunk/tests/tget_str.c + M /trunk/tests/thyperbolic.c + M /trunk/tests/thypot.c + M /trunk/tests/tinits.c + M /trunk/tests/tisnan.c + M /trunk/tests/tlog.c + M /trunk/tests/tlog10.c + M /trunk/tests/tlog1p.c + M /trunk/tests/tlog2.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tnext.c + M /trunk/tests/tout_str.c + M /trunk/tests/tpow.c + M /trunk/tests/tpow3.c + M /trunk/tests/trandom.c + M /trunk/tests/trint.c + M /trunk/tests/tround_prec.c + M /trunk/tests/tset.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_f.c + M /trunk/tests/tset_ld.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsgn.c + M /trunk/tests/tsin.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsinh.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub1sp.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/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/tzeta.c + ++ Optimize a few div.c ++ Remove some warnings in asin.c, atan.c. ++ Include limits.h before gmp-impl.h in mpfr-impl.h ++ mpfr-tests.h doesn't include anumore standard include files. ++ Test files include only standard includes and mpfr-tests.h. ++ Add some forgotten mpfr_clear in mpf[r]_compat. ++ Remove some warnings in the tests. + +------------------------------------------------------------------------ +r2575 | zimmerma | 2003-12-15 09:11:37 +0000 (Mon, 15 Dec 2003) | 2 lines +Changed paths: + M /trunk/tests/tlog.c + +removed unused arguments + +------------------------------------------------------------------------ +r2574 | zimmerma | 2003-12-15 09:00:22 +0000 (Mon, 15 Dec 2003) | 2 lines +Changed paths: + M /trunk/configure.in + +removed AC_DEFINE(__STDC__) for OSF + +------------------------------------------------------------------------ +r2573 | zimmerma | 2003-12-15 08:48:24 +0000 (Mon, 15 Dec 2003) | 2 lines +Changed paths: + M /trunk/configure.in + +removed MISCFLAGS (not used any more) + +------------------------------------------------------------------------ +r2572 | ryde | 2003-12-14 00:42:04 +0000 (Sun, 14 Dec 2003) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + +Quote AC_DEFUN names, for automake 1.8. + +------------------------------------------------------------------------ +r2571 | pelissip | 2003-12-10 13:40:52 +0000 (Wed, 10 Dec 2003) | 3 lines +Changed paths: + M /trunk/powerof2.c + M /trunk/sub1sp.c + M /trunk/tests/tsub1sp.c + ++ Add a new test in case of underflow. ++ Fix bug in case of underflow for sub1 / sub1sp (mpfr_powerof2 could be called with inalid numbers). + +------------------------------------------------------------------------ +r2570 | pelissip | 2003-12-09 14:58:26 +0000 (Tue, 09 Dec 2003) | 3 lines +Changed paths: + M /trunk/print_raw.c + M /trunk/sub1sp.c + ++ Fixed bugs of mpfr_print_mant_binary on 64 bits CPU (1L instead of 1). ++ Fixed bugs of mpfr_sub1sp on 64-bits CPU (mp_limb_t instead of int). + +------------------------------------------------------------------------ +r2569 | pelissip | 2003-12-09 13:52:50 +0000 (Tue, 09 Dec 2003) | 8 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/add.c + M /trunk/clear.c + M /trunk/init2.c + M /trunk/mpfr-impl.h + M /trunk/mul.c + M /trunk/print_raw.c + M /trunk/round_prec.c + M /trunk/set_prec.c + M /trunk/sub.c + M /trunk/sub1.c + A /trunk/sub1sp.c + M /trunk/tests/Makefile.am + M /trunk/tests/tabs.c + M /trunk/tests/tadd.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tpow.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_str.c + M /trunk/tests/tsin.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsub.c + A /trunk/tests/tsub1sp.c + M /trunk/tests/ttan.c + M /trunk/tests/ttrunc.c + M /trunk/tests/tui_pow.c + ++ Add function mpfr_print_mantissa_binary, for debugging reason. ++ Rename MPFR_ALLOC_SIZE in MPFR_MALLOC_SIZE. ++ Add conditionnal -DSMALL directive in mpfr-impl.h. ++ Add new function: sub1sp. + Substraction in case of all the ops have the same prec. ++ Add its test (tsub1sp). ++ Modify a few the tests to avoid comparing mpfr results with double, for portability reason. + +------------------------------------------------------------------------ +r2568 | lefevre | 2003-12-05 17:47:09 +0000 (Fri, 05 Dec 2003) | 2 lines +Changed paths: + M /trunk/Makefile.am + A /trunk/exp10.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + +Added mpfr_exp10 function. + +------------------------------------------------------------------------ +r2567 | pelissip | 2003-12-01 10:25:01 +0000 (Mon, 01 Dec 2003) | 3 lines +Changed paths: + M /trunk/exceptions.c + M /trunk/get_d.c + M /trunk/mpfr-impl.h + M /trunk/neg.c + M /trunk/powerof2.c + M /trunk/set_d.c + M /trunk/set_ld.c + M /trunk/uceil_exp2.c + M /trunk/uceil_log2.c + M /trunk/ufloor_log2.c + +Port all the IEEE dependent remaining functions so that it uses a generic way to compute the result if it detects that the double is not in IEEE format ( _GMP_IEEE_FLOATS == 0). +MPFR now should work well on non-IEEE machines. + +------------------------------------------------------------------------ +r2566 | zimmerma | 2003-12-01 10:20:37 +0000 (Mon, 01 Dec 2003) | 2 lines +Changed paths: + M /trunk/TODO + +added suggestion for 2 new functions + +------------------------------------------------------------------------ +r2565 | zimmerma | 2003-12-01 09:17:41 +0000 (Mon, 01 Dec 2003) | 2 lines +Changed paths: + M /trunk/TODO + +added entry (portability) + +------------------------------------------------------------------------ +r2564 | pelissip | 2003-11-25 17:22:31 +0000 (Tue, 25 Nov 2003) | 2 lines +Changed paths: + M /trunk/add1.c + M /trunk/cmp.c + M /trunk/mpfr-impl.h + M /trunk/sub1.c + +Optmize a few add1.c/sub1.c by using MPFR_LIKELY / MPFR_UNLIKELY. + +------------------------------------------------------------------------ +r2563 | pelissip | 2003-11-21 16:26:19 +0000 (Fri, 21 Nov 2003) | 2 lines +Changed paths: + M /trunk/const_pi.c + M /trunk/cos.c + M /trunk/eq.c + M /trunk/exp3.c + M /trunk/exp_2.c + M /trunk/factorial.c + M /trunk/fits_s.h + M /trunk/fits_u.h + M /trunk/gamma.c + M /trunk/inp_str.c + M /trunk/isinteger.c + M /trunk/mul.c + M /trunk/pow.c + M /trunk/pow_ui.c + M /trunk/round_prec.c + M /trunk/set_si.c + M /trunk/set_str.c + M /trunk/sub1.c + M /trunk/zeta.c + +Remove some warnings and potential errors (Comparaison between signed and unsigned). + +------------------------------------------------------------------------ +r2562 | pelissip | 2003-11-21 15:27:35 +0000 (Fri, 21 Nov 2003) | 4 lines +Changed paths: + M /trunk/Makefile.am + A /trunk/check.c + M /trunk/clear.c + M /trunk/mpfr-impl.h + M /trunk/tests/Makefile.am + M /trunk/tests/reuse.c + M /trunk/tests/tabs.c + M /trunk/tests/tadd.c + M /trunk/tests/tcbrt.c + A /trunk/tests/tcheck.c + M /trunk/tests/tcmp.c + M /trunk/tests/tcmp_d.c + M /trunk/tests/tcos.c + M /trunk/tests/tdiv.c + M /trunk/tests/terf.c + M /trunk/tests/texp.c + M /trunk/tests/texp2.c + M /trunk/tests/tfma.c + M /trunk/tests/tgamma.c + M /trunk/tests/tget_str.c + M /trunk/tests/tlog.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tout_str.c + M /trunk/tests/tpow.c + M /trunk/tests/tsin.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsub.c + M /trunk/tests/tswap.c + M /trunk/tests/ttan.c + M /trunk/tests/ttrunc.c + M /trunk/tests/tui_pow.c + ++ Add new internal function: mpfr_check. ++ Add the corresponding test file. ++ Translate mpfr_set_d to mpfr_set_str / mpfr_set_ui in the tests for portability reasons. + +------------------------------------------------------------------------ +r2558 | zimmerma | 2003-11-21 10:16:17 +0000 (Fri, 21 Nov 2003) | 2 lines +Changed paths: + M /trunk/tests/tui_pow.c + +use integers instead of double's + +------------------------------------------------------------------------ +r2557 | lefevre | 2003-11-21 08:05:29 +0000 (Fri, 21 Nov 2003) | 2 lines +Changed paths: + M /trunk/README.dev + M /trunk/TODO + +Notes about not using mpfr_set_d in the tests. + +------------------------------------------------------------------------ +r2554 | pelissip | 2003-11-19 10:01:34 +0000 (Wed, 19 Nov 2003) | 4 lines +Changed paths: + M /trunk/mul.c + M /trunk/pow.c + M /trunk/set_ui.c + + Optimization of mpfr_mul. + Tiny optimization of mpfr_pow (The case y=0 has been put inside the MPFR_ARE_SINGULAR block). + Tiny optimisation of mpfr_set_ui. + +------------------------------------------------------------------------ +r2553 | zimmerma | 2003-11-18 16:07:12 +0000 (Tue, 18 Nov 2003) | 2 lines +Changed paths: + M /trunk/pow.c + +fixed bug in case exact result + +------------------------------------------------------------------------ +r2552 | zimmerma | 2003-11-18 16:05:36 +0000 (Tue, 18 Nov 2003) | 2 lines +Changed paths: + M /trunk/tests/tui_pow.c + +added new tests + +------------------------------------------------------------------------ +r2551 | pelissip | 2003-11-18 11:46:34 +0000 (Tue, 18 Nov 2003) | 2 lines +Changed paths: + M /trunk/round_raw_generic.c + + Optimize round_raw_generic by reducing the number of redundant tests. + +------------------------------------------------------------------------ +r2550 | pelissip | 2003-11-17 14:43:54 +0000 (Mon, 17 Nov 2003) | 9 lines +Changed paths: + M /trunk/div.c + M /trunk/exceptions.c + M /trunk/get_d.c + M /trunk/get_str.c + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/mul.c + M /trunk/round_prec.c + A /trunk/round_raw_generic.c + M /trunk/set_str.c + M /trunk/sub1.c + M /trunk/tests/Makefile.am + +* Optimize a few div.c and mul.c. +* Reorder the tests. +* Remove mpfr_round_raw_generic and create 4 new functions which replace it, for efficiency reasons. +* Add round_raw_generic.c which is the generic file to create the 4 new functions. +* Add new MACRO: MPFR_RNDUTEST_OR_RNDDNOTTEST which is a faster way to check if (rnd_mode==GMP_RNDU && test) || (rnd_mode==GMP_RNDD && !test). +* Add new MACRO: MPFR_UNSIGNED_MINUS_MODULO. +* Optimize mpfr_can_round_raw. +* Some new defines in mpfr.h to increase compatibility with MPFR v2.0.1 and above. + +------------------------------------------------------------------------ +r2548 | zimmerma | 2003-11-14 12:47:01 +0000 (Fri, 14 Nov 2003) | 2 lines +Changed paths: + M /trunk/pow_si.c + M /trunk/tests/tpow.c + +fixed bug in pow_si (exact result, case z = x) + +------------------------------------------------------------------------ +r2546 | zimmerma | 2003-11-14 10:44:53 +0000 (Fri, 14 Nov 2003) | 2 lines +Changed paths: + M /trunk/tests/tzeta.c + +added test to check bug fix (bug was in mpfr_pow) + +------------------------------------------------------------------------ +r2545 | zimmerma | 2003-11-14 10:43:40 +0000 (Fri, 14 Nov 2003) | 2 lines +Changed paths: + M /trunk/tests/tui_pow.c + +added new test to check for bug fix (output precision > input precisions) + +------------------------------------------------------------------------ +r2544 | zimmerma | 2003-11-14 10:42:30 +0000 (Fri, 14 Nov 2003) | 2 lines +Changed paths: + M /trunk/zeta.c + +just improved editing style + +------------------------------------------------------------------------ +r2543 | zimmerma | 2003-11-14 10:41:35 +0000 (Fri, 14 Nov 2003) | 2 lines +Changed paths: + M /trunk/pow.c + +fixed bug for output precision > max(input precisions) + +------------------------------------------------------------------------ +r2542 | lefevre | 2003-11-14 10:40:26 +0000 (Fri, 14 Nov 2003) | 2 lines +Changed paths: + M /trunk/tests/tset_ld.c + +Ported the gcc-3.3 bug detection patch to the trunk. + +------------------------------------------------------------------------ +r2539 | pelissip | 2003-11-07 16:15:45 +0000 (Fri, 07 Nov 2003) | 2 lines +Changed paths: + M /trunk/add1.c + +Fix a stupid bug (diff_exp is not equal to the difference of prec) + +------------------------------------------------------------------------ +r2538 | lefevre | 2003-11-07 13:25:18 +0000 (Fri, 07 Nov 2003) | 2 lines +Changed paths: + M /trunk/init2.c + +Initialize the exp field. + +------------------------------------------------------------------------ +r2537 | pelissip | 2003-11-07 10:08:57 +0000 (Fri, 07 Nov 2003) | 4 lines +Changed paths: + M /trunk/add1.c + M /trunk/copysign.c + M /trunk/div.c + M /trunk/div_2si.c + M /trunk/div_2ui.c + M /trunk/exceptions.c + M /trunk/extract.c + M /trunk/get_d.c + M /trunk/get_exp.c + M /trunk/get_str.c + M /trunk/init2.c + M /trunk/isinteger.c + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/mul.c + M /trunk/mul_2si.c + M /trunk/mul_2ui.c + M /trunk/set_prec.c + M /trunk/set_str_raw.c + M /trunk/sub1.c + M /trunk/swap.c + +Some minor optimizations. +Optimization of mul.c / sub1.c. +Some clean up in the header files. + +------------------------------------------------------------------------ +r2536 | pelissip | 2003-11-05 16:18:16 +0000 (Wed, 05 Nov 2003) | 3 lines +Changed paths: + M /trunk/acos.c + M /trunk/acosh.c + M /trunk/add.c + M /trunk/add_one_ulp.c + M /trunk/agm.c + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atan.c + M /trunk/atanh.c + M /trunk/cbrt.c + M /trunk/cmp.c + M /trunk/cmp_abs.c + M /trunk/cmp_ui.c + M /trunk/copysign.c + M /trunk/cos.c + M /trunk/cosh.c + M /trunk/div.c + M /trunk/div_ui.c + M /trunk/erf.c + M /trunk/exp.c + M /trunk/exp2.c + M /trunk/expm1.c + M /trunk/fma.c + M /trunk/gamma.c + M /trunk/gammaPiAGMformula.c + M /trunk/get_z_exp.c + M /trunk/hypot.c + M /trunk/log.c + M /trunk/log10.c + M /trunk/log1p.c + M /trunk/log2.c + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/mul.c + M /trunk/mul_ui.c + M /trunk/pow.c + M /trunk/pow_si.c + M /trunk/pow_ui.c + M /trunk/rint.c + M /trunk/set.c + M /trunk/sin.c + M /trunk/sin_cos.c + M /trunk/sinh.c + M /trunk/sub.c + M /trunk/sub1.c + M /trunk/swap.c + M /trunk/tan.c + M /trunk/tanh.c + M /trunk/ui_div.c + M /trunk/ui_sub.c + M /trunk/zeta.c + +Fix some bugs (Use MPFR_ASSERT(1) instead of MPFR_ASSERT(0)) +Optimize swap.c and copysign.c. + +------------------------------------------------------------------------ +r2535 | pelissip | 2003-11-05 12:11:47 +0000 (Wed, 05 Nov 2003) | 4 lines +Changed paths: + M /trunk/cmp2.c + M /trunk/mpfr-impl.h + M /trunk/round_prec.c + M /trunk/set.c + M /trunk/sub1.c + +Optimize mpfr_prec_round. +Optimize mpfr_set (Case of both src & dest have the same precision). +Start optimizing mpfr_sub1. + +------------------------------------------------------------------------ +r2534 | pelissip | 2003-11-05 09:00:03 +0000 (Wed, 05 Nov 2003) | 7 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/add.c + M /trunk/add1.c + M /trunk/cmp_ui.c + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/mul.c + M /trunk/set.c + M /trunk/set_ui.c + A /trunk/sgn.c + M /trunk/sqrt.c + M /trunk/sub.c + M /trunk/sub1.c + M /trunk/tests/Makefile.am + A /trunk/tests/tsgn.c + +Add a real function for mpfr_sgn (not a call to mpfr_cmp_ui_2exp). +Add a test for mpfr_sgn. +Change the proto of mpfr_add1 and mpfr_sub1 by removing the last arg. +Simplify the logic of the sign in mpfr_sub1. +Tiny speed up for cmp/set/sqrt. +mpfr-impl auto include all the needed local header files (gmp, gmp-impl, mpfr). + +------------------------------------------------------------------------ +r2533 | lefevre | 2003-11-04 16:14:47 +0000 (Tue, 04 Nov 2003) | 2 lines +Changed paths: + M /trunk/pow_ui.c + +Merged the mpfr-2-0-2-branch pow_ui.c changes to the trunk. + +------------------------------------------------------------------------ +r2530 | lefevre | 2003-11-04 13:51:03 +0000 (Tue, 04 Nov 2003) | 2 lines +Changed paths: + M /trunk/tests/tacosh.c + +The check_inf test wasn't called. Added 2 missing mpfr_clear and \n. + +------------------------------------------------------------------------ +r2529 | pelissip | 2003-11-04 13:15:26 +0000 (Tue, 04 Nov 2003) | 10 lines +Changed paths: + M /trunk/acos.c + M /trunk/acosh.c + M /trunk/add.c + M /trunk/agm.c + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atan.c + M /trunk/atanh.c + M /trunk/cbrt.c + M /trunk/const_euler.c + M /trunk/const_log2.c + M /trunk/const_pi.c + M /trunk/cos.c + M /trunk/cputime.h + M /trunk/dim.c + M /trunk/div.c + M /trunk/div_ui.c + M /trunk/erf.c + M /trunk/exp.c + M /trunk/exp2.c + M /trunk/exp_2.c + M /trunk/expm1.c + M /trunk/fma.c + M /trunk/gamma.c + M /trunk/gammaPiAGMformula.c + M /trunk/get_str.c + M /trunk/hypot.c + M /trunk/log.c + M /trunk/log10.c + M /trunk/log1p.c + M /trunk/log2.c + M /trunk/minmax.c + M /trunk/mpfr-impl.h + M /trunk/mpfr-test.h + M /trunk/mpfr.h + M /trunk/mul.c + M /trunk/rint.c + M /trunk/round_prec.c + M /trunk/set_inf.c + M /trunk/set_str.c + M /trunk/set_str_raw.c + M /trunk/sin_cos.c + M /trunk/sub.c + M /trunk/tests/reuse.c + M /trunk/tests/tacosh.c + M /trunk/tests/tests.c + M /trunk/tests/texp2.c + M /trunk/tests/thyperbolic.c + M /trunk/tests/tui_pow.c + M /trunk/zeta.c + ++ Remove MPFR_CLEAR_NAN and MPFR_CLEAR_INF. Only use MPFR_CLEAR_FLAGS. + MPFR_SET_INF, MPFR_SET_ZERO and MPFR_SET_ZERO must clear the flags before setting them. ++ Add a new test in tacosh.c : check Inf / Nan flags. ++ Use MPFR_IS_SINGULAR in all the remaining files. ++ Fix the use of MPFR_CLEAR_FLAGS. ++ mpfr-impl.h auto include gmp.h, gmp-impl.h, mpfr.h and limits.h. ++ Rename _PROTO to _MPFR_PROTO, and remove _GMP_PROTO. ++ Add MPFR_INT_SIGN macro. ++ Encapsulate a few more the sign. + +------------------------------------------------------------------------ +r2526 | lefevre | 2003-10-30 00:03:26 +0000 (Thu, 30 Oct 2003) | 2 lines +Changed paths: + M /trunk/log1p.c + +MPFR_RET_NAN -> MPFR_RET(0). + +------------------------------------------------------------------------ +r2525 | pelissip | 2003-10-28 16:31:13 +0000 (Tue, 28 Oct 2003) | 3 lines +Changed paths: + M /trunk/acos.c + M /trunk/acosh.c + M /trunk/add.c + M /trunk/add1.c + M /trunk/add_one_ulp.c + M /trunk/agm.c + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atan.c + M /trunk/atanh.c + M /trunk/cbrt.c + M /trunk/cmp.c + M /trunk/cmp2.c + M /trunk/cmp_abs.c + M /trunk/cos.c + M /trunk/cosh.c + M /trunk/div.c + M /trunk/eq.c + M /trunk/erf.c + M /trunk/exp.c + M /trunk/exp2.c + M /trunk/expm1.c + M /trunk/fma.c + M /trunk/frac.c + M /trunk/gamma.c + M /trunk/gammaPiAGMformula.c + M /trunk/hypot.c + M /trunk/log.c + M /trunk/log10.c + M /trunk/log1p.c + M /trunk/log2.c + M /trunk/minmax.c + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/mul.c + M /trunk/mul_ui.c + M /trunk/next.c + M /trunk/pow.c + M /trunk/pow_si.c + M /trunk/pow_ui.c + M /trunk/round_prec.c + M /trunk/set.c + M /trunk/set_si.c + M /trunk/set_ui.c + M /trunk/sin.c + M /trunk/sinh.c + M /trunk/sqrt.c + M /trunk/sub.c + M /trunk/sub_one_ulp.c + M /trunk/tan.c + M /trunk/tanh.c + M /trunk/tests/tpow.c + M /trunk/ui_div.c + M /trunk/ui_sub.c + M /trunk/zeta.c + +Use of MPFR_UNLIKELY and MPFR_IS_SINGULAR for fast detection of special values (Nan, Inf or Zero). +Start to encapsulate the sign to be independant of the reprensation (Must be 1 or -1). + +------------------------------------------------------------------------ +r2524 | pelissip | 2003-10-27 15:15:04 +0000 (Mon, 27 Oct 2003) | 8 lines +Changed paths: + M /trunk/add.c + M /trunk/add_ui.c + M /trunk/agm.c + M /trunk/clear.c + M /trunk/div.c + M /trunk/exceptions.c + M /trunk/extract.c + M /trunk/get_d.c + M /trunk/get_si.c + M /trunk/get_str.c + M /trunk/get_ui.c + M /trunk/init2.c + M /trunk/log.c + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/rint.c + M /trunk/round_prec.c + M /trunk/set.c + M /trunk/set_d.c + M /trunk/set_prc_raw.c + M /trunk/set_prec.c + M /trunk/set_str.c + M /trunk/set_str_raw.c + M /trunk/sqrt_ui.c + M /trunk/sub_ui.c + M /trunk/ui_div.c + M /trunk/ui_sub.c + M /trunk/urandomb.c + +Change the internal format of MPFR: ZERO, INF and NAN have special values of exp. +Rename MPFR_ESIZE in MPFR_LIMB_SIZE. +Rename MPFR_ABSZISE in MPFR_ALLOC_SIZE. +Rename MPFR_INIT in MPFR_TMP_INIT (INIT1 too). +"mpfr.h" includes <gmp.h> if GMP isn't detected. +Change the way of detecting stdio.h (To check). +Use mpfr namespace for new definitions in "mpfr.h". + +------------------------------------------------------------------------ +r2522 | lefevre | 2003-10-27 13:06:22 +0000 (Mon, 27 Oct 2003) | 2 lines +Changed paths: + M /trunk/tests/thyperbolic.c + +Another fix, for acosh(-INF). + +------------------------------------------------------------------------ +r2521 | lefevre | 2003-10-27 12:57:27 +0000 (Mon, 27 Oct 2003) | 2 lines +Changed paths: + M /trunk/tests/thyperbolic.c + +Fixed exit status. + +------------------------------------------------------------------------ +r2519 | lefevre | 2003-10-21 12:33:17 +0000 (Tue, 21 Oct 2003) | 2 lines +Changed paths: + M /trunk/TODO + M /trunk/const_log2.c + M /trunk/const_pi.c + M /trunk/mpfr.h + M /trunk/tests/trint.c + +Merged the mpfr-2-0-2-branch changes to the trunk. + +------------------------------------------------------------------------ +r2514 | lefevre | 2003-10-20 15:47:10 +0000 (Mon, 20 Oct 2003) | 2 lines +Changed paths: + M /trunk/gmp_op.c + M /trunk/mpfr.texi + M /trunk/rint.c + M /trunk/tests/trint.c + +Merged the mpfr-2-0-2-branch changes to the trunk. + +------------------------------------------------------------------------ +r2511 | lefevre | 2003-10-17 13:34:46 +0000 (Fri, 17 Oct 2003) | 2 lines +Changed paths: + M /trunk/erf.c + M /trunk/tests/tasin.c + M /trunk/tests/terf.c + M /trunk/tests/tgamma.c + M /trunk/tests/trint.c + +Merged the mpfr-2-0-2-branch changes to the trunk. + +------------------------------------------------------------------------ +r2505 | lefevre | 2003-10-16 12:48:40 +0000 (Thu, 16 Oct 2003) | 2 lines +Changed paths: + M /trunk/README.dev + +Update. + +------------------------------------------------------------------------ +r2504 | lefevre | 2003-10-16 11:54:20 +0000 (Thu, 16 Oct 2003) | 2 lines +Changed paths: + M /trunk/VERSION + +Updated version on trunk. + +------------------------------------------------------------------------ +r2503 | lefevre | 2003-10-16 11:48:31 +0000 (Thu, 16 Oct 2003) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update. + +------------------------------------------------------------------------ +r2502 | lefevre | 2003-10-16 09:55:46 +0000 (Thu, 16 Oct 2003) | 2 lines +Changed paths: + M /trunk/get_d.c + M /trunk/set_d.c + +Fixed several bugs. + +------------------------------------------------------------------------ +r2501 | lefevre | 2003-10-16 09:32:26 +0000 (Thu, 16 Oct 2003) | 2 lines +Changed paths: + M /trunk/get_d.c + +Added XDEBUG support (like in set_d.c). + +------------------------------------------------------------------------ +r2500 | lefevre | 2003-10-15 09:46:52 +0000 (Wed, 15 Oct 2003) | 3 lines +Changed paths: + M /trunk/mpfr.texi + +Replaced all non-ASCII characters by an equivalent 7-bit sequence +to support unpatched texinfo.tex files. + +------------------------------------------------------------------------ +r2499 | zimmerma | 2003-10-15 09:32:21 +0000 (Wed, 15 Oct 2003) | 2 lines +Changed paths: + M /trunk/tests/reuse.c + +removed #define DEBUG (turned on accidentally) + +------------------------------------------------------------------------ +r2498 | lefevre | 2003-10-15 09:15:19 +0000 (Wed, 15 Oct 2003) | 2 lines +Changed paths: + M /trunk/BUGS + +Bug on the ternary value was fixed by Paul Zimmermann on 2003-10-14. + +------------------------------------------------------------------------ +r2497 | zimmerma | 2003-10-14 12:29:45 +0000 (Tue, 14 Oct 2003) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +added preamble about ternary flag for special functions + +------------------------------------------------------------------------ +r2496 | zimmerma | 2003-10-14 12:13:37 +0000 (Tue, 14 Oct 2003) | 3 lines +Changed paths: + M /trunk/tests/reuse.c + M /trunk/tests/tacos.c + M /trunk/tests/tagm.c + M /trunk/tests/tasin.c + M /trunk/tests/tatan.c + M /trunk/tests/terf.c + M /trunk/tests/texp.c + M /trunk/tests/tgamma.c + M /trunk/tests/tgeneric.c + M /trunk/tests/thypot.c + M /trunk/tests/tzeta.c + +now uses #include "tgeneric.c" everywhere +(and modified test_generic to check also the inexact flag) + +------------------------------------------------------------------------ +r2495 | zimmerma | 2003-10-14 12:12:10 +0000 (Tue, 14 Oct 2003) | 2 lines +Changed paths: + M /trunk/tests/tui_div.c + +check_nan() is back + +------------------------------------------------------------------------ +r2494 | zimmerma | 2003-10-14 12:08:37 +0000 (Tue, 14 Oct 2003) | 2 lines +Changed paths: + M /trunk/tests/tlog.c + +removed old unused code + +------------------------------------------------------------------------ +r2493 | zimmerma | 2003-10-14 12:05:25 +0000 (Tue, 14 Oct 2003) | 3 lines +Changed paths: + M /trunk/tests/thyperbolic.c + +fixed tests for x=0 +removed composition tests (were already in-between #if 0 ... #endif) + +------------------------------------------------------------------------ +r2492 | zimmerma | 2003-10-14 11:49:06 +0000 (Tue, 14 Oct 2003) | 4 lines +Changed paths: + M /trunk/acos.c + M /trunk/acosh.c + M /trunk/agm.c + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atan.c + M /trunk/atanh.c + M /trunk/const_euler.c + M /trunk/const_log2.c + M /trunk/const_pi.c + M /trunk/cos.c + M /trunk/cosh.c + M /trunk/erf.c + M /trunk/exp2.c + M /trunk/expm1.c + M /trunk/factorial.c + M /trunk/gamma.c + M /trunk/hypot.c + M /trunk/log.c + M /trunk/log10.c + M /trunk/log1p.c + M /trunk/log2.c + M /trunk/pow.c + M /trunk/pow_si.c + M /trunk/pow_ui.c + M /trunk/sin.c + M /trunk/sinh.c + M /trunk/sqrt.c + M /trunk/tan.c + M /trunk/tanh.c + M /trunk/ui_pow_ui.c + M /trunk/zeta.c + +replaced mpfr_can_round (approx, err, rnd1, GMP_RNDN, prec) +by mpfr_can_round (approx, err, rnd1, GMP_RNDZ, prec + 1) +which in addition guarantees a correct inexact flag + +------------------------------------------------------------------------ +r2491 | zimmerma | 2003-10-14 11:42:51 +0000 (Tue, 14 Oct 2003) | 2 lines +Changed paths: + M /trunk/TODO + +added new items (version number, rounding modes) + +------------------------------------------------------------------------ +r2490 | zimmerma | 2003-10-14 11:42:00 +0000 (Tue, 14 Oct 2003) | 2 lines +Changed paths: + M /trunk/README.dev + +added comment about --enable-alloca=debug + +------------------------------------------------------------------------ +r2489 | zimmerma | 2003-10-13 13:12:46 +0000 (Mon, 13 Oct 2003) | 2 lines +Changed paths: + M /trunk/BUGS + +added section "Problems due to compiler bugs" + +------------------------------------------------------------------------ +r2488 | zimmerma | 2003-10-13 08:03:14 +0000 (Mon, 13 Oct 2003) | 2 lines +Changed paths: + M /trunk/exp3.c + M /trunk/exp_2.c + +change in can_round calls to get correct inexact flag for rounding to nearest + +------------------------------------------------------------------------ +r2487 | zimmerma | 2003-10-10 09:05:15 +0000 (Fri, 10 Oct 2003) | 2 lines +Changed paths: + M /trunk/pow.c + M /trunk/tests/tpow.c + +fixed bug in mpfr_pow found by Ming J. Tsai (overflow) + +------------------------------------------------------------------------ +r2486 | lefevre | 2003-10-08 15:43:13 +0000 (Wed, 08 Oct 2003) | 3 lines +Changed paths: + M /trunk/acos.c + M /trunk/asin.c + M /trunk/atan.c + +Removed useless inclusion of standard headers and some #ifdef DEBUG +code. Partial reindentation. + +------------------------------------------------------------------------ +r2485 | lefevre | 2003-10-08 15:22:05 +0000 (Wed, 08 Oct 2003) | 2 lines +Changed paths: + M /trunk/strncasecmp.c + +Added a #include <stddef.h> because size_t is used. + +------------------------------------------------------------------------ +r2484 | zimmerma | 2003-10-07 08:37:28 +0000 (Tue, 07 Oct 2003) | 2 lines +Changed paths: + M /trunk/tests/tabs.c + M /trunk/tests/tacos.c + M /trunk/tests/tadd.c + M /trunk/tests/tasin.c + M /trunk/tests/tatan.c + M /trunk/tests/tcmp.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tdiv.c + M /trunk/tests/tfactorial.c + M /trunk/tests/tfrac.c + M /trunk/tests/tgamma.c + M /trunk/tests/tget_str.c + M /trunk/tests/tlog10.c + M /trunk/tests/tlog1p.c + M /trunk/tests/tpow3.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsub.c + M /trunk/tests/tui_pow.c + M /trunk/tests/tzeta.c + +reduced test time + +------------------------------------------------------------------------ +r2483 | zimmerma | 2003-10-07 07:41:55 +0000 (Tue, 07 Oct 2003) | 2 lines +Changed paths: + M /trunk/tests/tsin.c + +reduced test time + +------------------------------------------------------------------------ +r2482 | zimmerma | 2003-10-07 07:36:12 +0000 (Tue, 07 Oct 2003) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c + +reduced test time + +------------------------------------------------------------------------ +r2481 | zimmerma | 2003-10-06 16:11:15 +0000 (Mon, 06 Oct 2003) | 2 lines +Changed paths: + M /trunk/round_prec.c + +fixed comment of mpfr_round_raw_generic + +------------------------------------------------------------------------ +r2480 | zimmerma | 2003-10-06 15:53:46 +0000 (Mon, 06 Oct 2003) | 3 lines +Changed paths: + M /trunk/add1.c + M /trunk/extract.c + M /trunk/get_si.c + M /trunk/get_ui.c + +replaced ABSSIZE by ESIZE (ABSSIZE is the allocated size, and should be +used only in functions init, set_prec, round_prec) + +------------------------------------------------------------------------ +r2479 | zimmerma | 2003-10-06 15:52:25 +0000 (Mon, 06 Oct 2003) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + +fixed bug in allocation for in-place operation + +------------------------------------------------------------------------ +r2478 | zimmerma | 2003-10-06 14:44:18 +0000 (Mon, 06 Oct 2003) | 3 lines +Changed paths: + M /trunk/asin.c + M /trunk/atan.c + +inexact flag should now be correct for directed rounding +fixed a bug for mpfr_atan(-Inf) [gave +Pi/2 instead of -Pi/2] + +------------------------------------------------------------------------ +r2477 | zimmerma | 2003-10-06 14:43:00 +0000 (Mon, 06 Oct 2003) | 2 lines +Changed paths: + M /trunk/tests/tatan.c + +added test for atan(-Inf) + +------------------------------------------------------------------------ +r2476 | zimmerma | 2003-10-06 13:32:02 +0000 (Mon, 06 Oct 2003) | 2 lines +Changed paths: + M /trunk/set_ld.c + +use macros to avoid possible problem with float input + +------------------------------------------------------------------------ +r2475 | zimmerma | 2003-10-06 13:31:20 +0000 (Mon, 06 Oct 2003) | 2 lines +Changed paths: + M /trunk/TODO + +new proposal for mpfr_can_round + +------------------------------------------------------------------------ +r2474 | zimmerma | 2003-10-06 08:35:42 +0000 (Mon, 06 Oct 2003) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +mpfr_mul_2exp/mpfr_div_2exp are not obsolete + +------------------------------------------------------------------------ +r2473 | lefevre | 2003-10-05 23:11:12 +0000 (Sun, 05 Oct 2003) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Clearer mpfr_eq documentation (thanks to Kevin Ryde for the remark). + +------------------------------------------------------------------------ +r2472 | lefevre | 2003-10-03 13:00:41 +0000 (Fri, 03 Oct 2003) | 3 lines +Changed paths: + M /trunk/mpfr-impl.h + +MPFR_ASSERTN rewritten to avoid "statement with no effect" warnings +with gcc when the assertion is always true. + +------------------------------------------------------------------------ +r2471 | lefevre | 2003-10-03 12:49:59 +0000 (Fri, 03 Oct 2003) | 3 lines +Changed paths: + M /trunk/add1.c + +Optimization (thanks to Patrick Pelissier), as the allocated size +may be larger than the size used by the significant bits. + +------------------------------------------------------------------------ +r2470 | lefevre | 2003-10-03 12:30:14 +0000 (Fri, 03 Oct 2003) | 2 lines +Changed paths: + M /trunk/INSTALL + M /trunk/mpfr.texi + +Updated installation notes. + +------------------------------------------------------------------------ +r2469 | lefevre | 2003-10-03 08:01:45 +0000 (Fri, 03 Oct 2003) | 3 lines +Changed paths: + M /trunk/cmp_abs.c + M /trunk/mpfr.texi + +Infinities are now accepted in mpfr_cmpabs. Updated its definition +in the source (no longer sign(abs(b) - abs(c))). + +------------------------------------------------------------------------ +r2468 | lefevre | 2003-10-02 22:30:16 +0000 (Thu, 02 Oct 2003) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Use @url{} for URLs. + +------------------------------------------------------------------------ +r2467 | lefevre | 2003-10-02 21:57:39 +0000 (Thu, 02 Oct 2003) | 6 lines +Changed paths: + M /trunk/mpfr.texi + +As suggested by PZ: + o documentation of mpfr_fits_* functions moved to the section + on conversions; + o grouped some mpfr_pow special cases; + o explanation concerning the meaning of rnd in mpfr_frac. + +------------------------------------------------------------------------ +r2466 | lefevre | 2003-10-02 17:17:59 +0000 (Thu, 02 Oct 2003) | 8 lines +Changed paths: + M /trunk/BUGS + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/print_raw.c + M /trunk/set_str_raw.c + M /trunk/tests/tacosh.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.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/tcmp.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tcos.c + M /trunk/tests/tcosh.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/terf.c + M /trunk/tests/texceptions.c + M /trunk/tests/texp.c + M /trunk/tests/texpm1.c + M /trunk/tests/tfma.c + M /trunk/tests/tget_str.c + M /trunk/tests/thypot.c + M /trunk/tests/tlog.c + M /trunk/tests/tlog10.c + M /trunk/tests/tlog1p.c + M /trunk/tests/tlog2.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tout_str.c + M /trunk/tests/tpow.c + M /trunk/tests/tset.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsinh.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsub.c + M /trunk/tests/ttanh.c + M /trunk/tests/tui_pow.c + M /trunk/tests/tui_sub.c + M /trunk/tests/tzeta.c + +Updated documentation. In particular, mpfr_set_str_raw renamed +as mpfr_set_str_binary. This function and mpfr_print_binary are +now internal functions. mpfr_print_binary no longer prints the +non-significant 0 bits. Updated the source to match the manual. +mpfr_print_binary has been completely rewritten (now directly +prints to stdout, without using an intermediate string). In +mpfr_set_str_binary, replaced atol by strtol + error checking. + +------------------------------------------------------------------------ +r2465 | zimmerma | 2003-10-02 14:14:08 +0000 (Thu, 02 Oct 2003) | 3 lines +Changed paths: + M /trunk/mpfr.texi + +added paragraph on support/grants +added help for mpfr_erf + +------------------------------------------------------------------------ +r2464 | lefevre | 2003-10-02 14:05:59 +0000 (Thu, 02 Oct 2003) | 3 lines +Changed paths: + M /trunk/mpfr.texi + +Make node titles match section titles, and updated menus and xrefs. +Added a line break after @samp{uninstall}. + +------------------------------------------------------------------------ +r2463 | lefevre | 2003-10-01 15:06:25 +0000 (Wed, 01 Oct 2003) | 4 lines +Changed paths: + M /trunk/TODO + M /trunk/const_log2.c + M /trunk/const_pi.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/zeta.c + +Corrections in the MPFR manual (PZ & VL). Functions mpfr_const_pi, +mpfr_const_log2 and mpfr_zeta now return a ternary value. Updated +TODO file. + +------------------------------------------------------------------------ +r2462 | lefevre | 2003-09-30 16:50:58 +0000 (Tue, 30 Sep 2003) | 2 lines +Changed paths: + M /trunk/BUGS + +Added a bug related to the ternary value and worst cases. + +------------------------------------------------------------------------ +r2461 | lefevre | 2003-09-30 16:29:01 +0000 (Tue, 30 Sep 2003) | 2 lines +Changed paths: + M /trunk/pow_si.c + M /trunk/pow_ui.c + +Added exponent range support. + +------------------------------------------------------------------------ +r2460 | lefevre | 2003-09-30 10:34:39 +0000 (Tue, 30 Sep 2003) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Corrections up to Section 5.6 (PZ & VL). + +------------------------------------------------------------------------ +r2459 | lefevre | 2003-09-30 10:12:24 +0000 (Tue, 30 Sep 2003) | 7 lines +Changed paths: + M /trunk/get_z_exp.c + +Re-added the assert on the exponent, but replacing MPFR_EMIN_MIN by +MP_EXP_T_MIN (this makes more sense): an assertion failed would mean +that the exponent is not representable (an undefined behavior in the +ISO C standard). If need be, we could choose to return MP_EXP_T_MIN +in such a case, or perhaps MP_EXP_T_MAX to signal an error. The +mantissa would still be meaningful. + +------------------------------------------------------------------------ +r2458 | pelissip | 2003-09-30 07:47:49 +0000 (Tue, 30 Sep 2003) | 2 lines +Changed paths: + M /trunk/TODO + +Update TODO & mpfr_set_prec. + +------------------------------------------------------------------------ +r2457 | lefevre | 2003-09-29 14:40:11 +0000 (Mon, 29 Sep 2003) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Corrections up to Section 4. + +------------------------------------------------------------------------ +r2456 | lefevre | 2003-09-29 08:00:19 +0000 (Mon, 29 Sep 2003) | 2 lines +Changed paths: + M /trunk/AUTHORS + +Added authors Kevin Ryde and Patrick Pelissier. + +------------------------------------------------------------------------ +r2455 | lefevre | 2003-09-29 07:48:10 +0000 (Mon, 29 Sep 2003) | 2 lines +Changed paths: + M /trunk/INSTALL + +Removed "known problems" that are no longer problems. + +------------------------------------------------------------------------ +r2454 | lefevre | 2003-09-26 12:39:37 +0000 (Fri, 26 Sep 2003) | 3 lines +Changed paths: + M /trunk/BUGS + +Removed bugs related to the tests and to the exponents +as they no longer occur. Updated some potentials bugs. + +------------------------------------------------------------------------ +r2453 | lefevre | 2003-09-25 16:50:34 +0000 (Thu, 25 Sep 2003) | 4 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/tests/tinits.c + +Removed mpfr_inits, mpfr_inits2, mpfr_clears from the documentation. +Moved their prototypes to mpfr-impl.h (internal functions until +decided otherwise). + +------------------------------------------------------------------------ +r2452 | pelissip | 2003-09-25 12:03:36 +0000 (Thu, 25 Sep 2003) | 2 lines +Changed paths: + M /trunk/atan.c + M /trunk/const_log2.c + M /trunk/const_pi.c + M /trunk/generic.c + +Modify 'r' arg of GENERIC from int to long (min 32 bits). + +------------------------------------------------------------------------ +r2451 | lefevre | 2003-09-25 10:31:23 +0000 (Thu, 25 Sep 2003) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +8-bit ISO-8859-1 characters + consistent spelling. + +------------------------------------------------------------------------ +r2450 | lefevre | 2003-09-25 10:17:00 +0000 (Thu, 25 Sep 2003) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update. + +------------------------------------------------------------------------ +r2449 | lefevre | 2003-09-25 08:15:42 +0000 (Thu, 25 Sep 2003) | 2 lines +Changed paths: + M /trunk/tests/mpf_compat.h + M /trunk/tests/reuse.c + M /trunk/tests/tabs.c + M /trunk/tests/tacos.c + M /trunk/tests/tadd.c + M /trunk/tests/tagm.c + M /trunk/tests/tasin.c + M /trunk/tests/tatan.c + M /trunk/tests/tcan_round.c + M /trunk/tests/tcbrt.c + M /trunk/tests/tcmp.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tcmp_d.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tconst_pi.c + M /trunk/tests/tcos.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.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/texp2.c + M /trunk/tests/tfactorial.c + M /trunk/tests/tfma.c + M /trunk/tests/tfrac.c + M /trunk/tests/tgamma.c + M /trunk/tests/tgeneric.c + M /trunk/tests/tget_d.c + M /trunk/tests/tget_str.c + M /trunk/tests/thypot.c + M /trunk/tests/tisnan.c + M /trunk/tests/tlog.c + M /trunk/tests/tlog10.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tout_str.c + M /trunk/tests/tpow.c + M /trunk/tests/tpow3.c + M /trunk/tests/trandom.c + +Changed the remaining stderr to stdout. + +------------------------------------------------------------------------ +r2448 | lefevre | 2003-09-24 22:32:40 +0000 (Wed, 24 Sep 2003) | 2 lines +Changed paths: + M /trunk/tests/trint.c + M /trunk/tests/tround_prec.c + M /trunk/tests/tset.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_f.c + M /trunk/tests/tset_ld.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsin.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tswap.c + M /trunk/tests/ttan.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/tzeta.c + +Changed some stderr to stdout. + +------------------------------------------------------------------------ +r2447 | lefevre | 2003-09-24 21:05:42 +0000 (Wed, 24 Sep 2003) | 4 lines +Changed paths: + M /trunk/TODO + M /trunk/comparisons.c + M /trunk/mpfr.texi + +Added documentation for mpfr_greater_p, mpfr_greaterequal_p, +mpfr_less_p, mpfr_lessequal_p, mpfr_lessgreater_p, mpfr_equal_p +and mpfr_unordered_p. + +------------------------------------------------------------------------ +r2446 | lefevre | 2003-09-24 20:26:48 +0000 (Wed, 24 Sep 2003) | 3 lines +Changed paths: + M /trunk/TODO + M /trunk/tests/Makefile.am + A /trunk/tests/tcomparisons.c + +Added tests for mpfr_greater_p, mpfr_greaterequal_p, mpfr_less_p, +mpfr_lessequal_p, mpfr_lessgreater_p, mpfr_equal_p, mpfr_unordered_p. + +------------------------------------------------------------------------ +r2445 | lefevre | 2003-09-24 16:31:11 +0000 (Wed, 24 Sep 2003) | 4 lines +Changed paths: + M /trunk/TODO + M /trunk/tests/tnext.c + +Added a few more tests (involving mpfr_nexttoward). The tests for +the mpfr_nextabove, mpfr_nextbelow and mpfr_nexttoward functions +should now be sufficient. + +------------------------------------------------------------------------ +r2444 | lefevre | 2003-09-24 13:19:30 +0000 (Wed, 24 Sep 2003) | 3 lines +Changed paths: + M /trunk/next.c + M /trunk/tests/Makefile.am + A /trunk/tests/tnext.c + +Added generic tests for mpfr_nextabove and mpfr_nextbelow. +Fixed a bug in next.c related to assertion checks. + +------------------------------------------------------------------------ +r2443 | lefevre | 2003-09-24 12:02:45 +0000 (Wed, 24 Sep 2003) | 5 lines +Changed paths: + M /trunk/TODO + M /trunk/set_str.c + M /trunk/tests/tset_str.c + +Accept (case-insensitive) NaN and Inf in input for bases <= 16 for +backward compatibility in these bases (for bases > 16, we cannot +guaranty backward compatibility with the current wanted behavior). +Added tests. + +------------------------------------------------------------------------ +r2442 | zimmerma | 2003-09-24 10:33:20 +0000 (Wed, 24 Sep 2003) | 2 lines +Changed paths: + M /trunk/TODO + +added one item from Kevin + +------------------------------------------------------------------------ +r2441 | lefevre | 2003-09-24 09:26:34 +0000 (Wed, 24 Sep 2003) | 2 lines +Changed paths: + M /trunk/texinfo.tex + +Added support for some top-bit-set characters in the .texi source. + +------------------------------------------------------------------------ +r2440 | lefevre | 2003-09-24 08:40:04 +0000 (Wed, 24 Sep 2003) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Added information on special values for mpfr_pow. + +------------------------------------------------------------------------ +r2439 | zimmerma | 2003-09-24 08:35:06 +0000 (Wed, 24 Sep 2003) | 2 lines +Changed paths: + M /trunk/Makefile.am + +added MAKEINFOFLAGS = --enable-encoding to get 8-bit characters in mpfr.info + +------------------------------------------------------------------------ +r2438 | zimmerma | 2003-09-24 08:05:50 +0000 (Wed, 24 Sep 2003) | 3 lines +Changed paths: + M /trunk/AUTHORS + M /trunk/mpfr.texi + +used ISO-8859-1 in AUTHORS +and @`e, @"o in mpfr.texi (waiting for code for ISO-8859-1 compatibility) + +------------------------------------------------------------------------ +r2437 | ryde | 2003-09-24 00:40:24 +0000 (Wed, 24 Sep 2003) | 3 lines +Changed paths: + M /trunk/acinclude.m4 + +(MPFR_C_LONG_DOUBLE_FORMAT): Remove conftest* temporary +files. - * tests/tset_z.c, tests/tset_si.c: - Don't use mpz_get_d1, since a 53-bit double is not - enough when long is 64-bits. +------------------------------------------------------------------------ +r2436 | lefevre | 2003-09-24 00:36:19 +0000 (Wed, 24 Sep 2003) | 2 lines +Changed paths: + M /trunk/set_str.c + +Fixed comparisons (cases @NaN@ and @Inf@). -2003-06-13 Kevin Ryde <user42@zip.com.au> +------------------------------------------------------------------------ +r2435 | zimmerma | 2003-09-23 09:19:22 +0000 (Tue, 23 Sep 2003) | 2 lines +Changed paths: + M /trunk/TODO - * tests/tests.c: Use autoconf recommended style for time.h with - sys/time.h. +two updates + +------------------------------------------------------------------------ +r2434 | lefevre | 2003-09-22 15:03:30 +0000 (Mon, 22 Sep 2003) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * acinclude.m4 (MPFR_CONFIGS): Require AC_HEADER_TIME, add - AC_CHECK_HEADERS of sys/time.h. +Updated mpfr_pow description. - * acinclude.m4 (MPFR_CONFIGS): Add AC_CHECK_FUNCS of gettimeofday. +------------------------------------------------------------------------ +r2433 | zimmerma | 2003-09-22 13:50:46 +0000 (Mon, 22 Sep 2003) | 3 lines +Changed paths: + M /trunk/print_rnd_mode.c + M /trunk/set_str.c + M /trunk/set_str_raw.c -2003-06-13 Paul Zimmermann <Paul.Zimmermann@loria.fr> +changed __gmp_const into const in *.c +[Torbjo"rn: Please use __gmp_const just in user header files, plain C const in other files.] - * tests/tsqrt.c: moved disabled test to "special" code +------------------------------------------------------------------------ +r2432 | lefevre | 2003-09-22 13:30:46 +0000 (Mon, 22 Sep 2003) | 6 lines +Changed paths: + M /trunk/TODO - * algorithms.bib, algorithms.tex: added reference to Higham +Removed - * algorithms.tex, erf.c, exp.c: improved error analysis on erf +- allow the ISO C "P" exponent separator for base 16 in input functions - * tests/tlog.c: improved indentation +(already done). -2003-06-12 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2431 | lefevre | 2003-09-22 13:09:16 +0000 (Mon, 22 Sep 2003) | 4 lines +Changed paths: + M /trunk/TODO + M /trunk/tests/tset_ld.c - * tests/tests.c: added support for random see - (when env. variable GMP_CHECK_RANDOMIZE set) +Implemented the following: +- use (LDBL_MAX/2)+(LDBL_MAX/4*LDBL_EPSILON) instead of loop in tset_ld + to get largest power of 2 that fits in a long double + +------------------------------------------------------------------------ +r2430 | lefevre | 2003-09-22 11:23:09 +0000 (Mon, 22 Sep 2003) | 2 lines +Changed paths: + M /trunk/sub1.c + +Added some MPFR_ASSERTN and improved a comment. + +------------------------------------------------------------------------ +r2429 | lefevre | 2003-09-22 07:56:47 +0000 (Mon, 22 Sep 2003) | 2 lines +Changed paths: + M /trunk/tests/texp.c + M /trunk/tests/tget_str.c + +Avoid string literals longer than 509 characters (ISO C89 limit). + +------------------------------------------------------------------------ +r2428 | lefevre | 2003-09-22 07:53:16 +0000 (Mon, 22 Sep 2003) | 3 lines +Changed paths: + M /trunk/tests/texceptions.c + +(test_set_underflow, test_set_overflow): Cleaner fix (for pre-C99 +compilers). + +------------------------------------------------------------------------ +r2427 | ryde | 2003-09-22 01:45:07 +0000 (Mon, 22 Sep 2003) | 3 lines +Changed paths: + M /trunk/tests/texceptions.c + +(test_set_underflow, test_set_overflow): Use +"static" on "r" to allow non-constant initializers. + +------------------------------------------------------------------------ +r2426 | ryde | 2003-09-21 00:37:17 +0000 (Sun, 21 Sep 2003) | 3 lines +Changed paths: + M /trunk/mpfr.texi + +(Converting Floats): In mpfr_get_d_2exp, the rounding mode +is given, it doesn't use the default mode. + +------------------------------------------------------------------------ +r2425 | ryde | 2003-09-21 00:14:49 +0000 (Sun, 21 Sep 2003) | 4 lines +Changed paths: + M /trunk/mpfr.texi + +(Assigning Floats): In mpfr_set_str and mpfr_set_str_raw, +show "const" not "__gmp_const". +(Simultaneous Float Init & Assign): In mpfr_init_set_str, ditto. + +------------------------------------------------------------------------ +r2424 | ryde | 2003-09-21 00:07:26 +0000 (Sun, 21 Sep 2003) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +(Rounding Modes): Add blank line around @itemize. + +------------------------------------------------------------------------ +r2423 | ryde | 2003-09-21 00:06:03 +0000 (Sun, 21 Sep 2003) | 3 lines +Changed paths: + M /trunk/mpfr.texi + +(Miscellaneous Float Functions): In mpfr_urandomb and +mpfr_random, use @math and @le. + +------------------------------------------------------------------------ +r2422 | ryde | 2003-09-20 23:51:49 +0000 (Sat, 20 Sep 2003) | 6 lines +Changed paths: + M /trunk/mpfr.texi + +(Assigning Floats): In mpfr_set_*, remove remarks about +long being rounded (this should be clear already), about rounding of +decimal double constants like 0.1 (too basic to appear here), +(Converting Floats): In mpfr_get_d_2exp, remove remark about exp +exceeding IEEE exponent range (should be clear already). + +------------------------------------------------------------------------ +r2421 | zimmerma | 2003-09-19 14:25:15 +0000 (Fri, 19 Sep 2003) | 2 lines +Changed paths: + M /trunk/TODO + +updated items: removed conversion from/to float (obsolete) + +------------------------------------------------------------------------ +r2420 | zimmerma | 2003-09-19 14:09:51 +0000 (Fri, 19 Sep 2003) | 2 lines +Changed paths: + M /trunk/TODO + M /trunk/zeta.c + +got rid of <math.h> dependency in mpfr_zeta + +------------------------------------------------------------------------ +r2419 | zimmerma | 2003-09-19 13:41:10 +0000 (Fri, 19 Sep 2003) | 3 lines +Changed paths: + M /trunk/cos.c + M /trunk/exp_2.c + M /trunk/get_str.c + M /trunk/log_b2.h + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/round_prec.c + M /trunk/tests/tacos.c + M /trunk/tests/tasin.c + M /trunk/tests/texp.c + M /trunk/tests/tgamma.c + M /trunk/tests/tround_prec.c + M /trunk/tests/tzeta.c + +mpfr_round_prec is now obsolete +new function mpfr_prec_round replaces it + +------------------------------------------------------------------------ +r2418 | lefevre | 2003-09-18 10:33:57 +0000 (Thu, 18 Sep 2003) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +Fix for C implementations with 16-bit int. + +------------------------------------------------------------------------ +r2417 | pelissip | 2003-09-18 08:37:38 +0000 (Thu, 18 Sep 2003) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + + Optimization of macros MPFR_IS_INF, MPFR_IS_NAN and MPFR_IS_FP + +------------------------------------------------------------------------ +r2416 | lefevre | 2003-09-18 06:50:14 +0000 (Thu, 18 Sep 2003) | 2 lines +Changed paths: + M /trunk/set_ld.c + +Removed a comment that should have been removed in revision 1.8. + +------------------------------------------------------------------------ +r2415 | zimmerma | 2003-09-15 15:55:00 +0000 (Mon, 15 Sep 2003) | 3 lines +Changed paths: + M /trunk/div.c + +No longer perform the pre-check for exactness when first division step was +actually a complete division. This introduced way too much overhead. + +------------------------------------------------------------------------ +r2414 | zimmerma | 2003-09-15 15:30:31 +0000 (Mon, 15 Sep 2003) | 2 lines +Changed paths: + M /trunk/inp_str.c + +replaced test stream==0 by stream==NULL + +------------------------------------------------------------------------ +r2413 | lefevre | 2003-09-15 13:55:30 +0000 (Mon, 15 Sep 2003) | 3 lines +Changed paths: + M /trunk/round_prec.c + M /trunk/tests/tcan_round.c + +Fixed a bug in mpfr_can_round_raw and added other mpfr_can_round +tests. + +------------------------------------------------------------------------ +r2412 | lefevre | 2003-09-15 13:05:05 +0000 (Mon, 15 Sep 2003) | 2 lines +Changed paths: + M /trunk/round_prec.c + M /trunk/tests/tcan_round.c + +Added a test to tests/tcan_round.c and assertions to round_prec.c. + +------------------------------------------------------------------------ +r2411 | lefevre | 2003-09-14 08:52:44 +0000 (Sun, 14 Sep 2003) | 3 lines +Changed paths: + M /trunk/exceptions.c + M /trunk/exp.c + M /trunk/tests/texceptions.c + +Fixed mpfr_set_overflow, added tests for mpfr_set_underflow +and mpfr_set_overflow, and reverted exp.c. + +------------------------------------------------------------------------ +r2410 | zimmerma | 2003-09-13 08:46:47 +0000 (Sat, 13 Sep 2003) | 2 lines +Changed paths: + M /trunk/exp.c + +overflow with round to zero was incorrect + +------------------------------------------------------------------------ +r2409 | lefevre | 2003-09-11 16:49:11 +0000 (Thu, 11 Sep 2003) | 3 lines +Changed paths: + M /trunk/Makefile.am + A /trunk/clears.c + A /trunk/inits.c + A /trunk/inits2.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/tests/Makefile.am + 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). + +------------------------------------------------------------------------ +r2408 | lefevre | 2003-09-09 16:09:42 +0000 (Tue, 09 Sep 2003) | 4 lines +Changed paths: + M /trunk/TODO + M /trunk/zeta.c + +Replaced malloc/free by __gmp_allocate_func/__gmp_free_func in +mpfr_zeta_pos. zeta.c still uses math (libm) functions -> TODO: +remove this dependence. + +------------------------------------------------------------------------ +r2407 | lefevre | 2003-09-09 15:13:38 +0000 (Tue, 09 Sep 2003) | 2 lines +Changed paths: + M /trunk/tests/tui_pow.c + +Added a test that makes MPFR crash (coming from the mpfr_zeta crash). + +------------------------------------------------------------------------ +r2406 | lefevre | 2003-09-09 14:28:47 +0000 (Tue, 09 Sep 2003) | 2 lines +Changed paths: + M /trunk/tests/tzeta.c + +Case that crashes MPFR (coming from test_generic) -> function test1. + +------------------------------------------------------------------------ +r2405 | lefevre | 2003-09-09 11:33:45 +0000 (Tue, 09 Sep 2003) | 6 lines +Changed paths: + M /trunk/ui_pow.c + +Ended up by simplifying mpfr_ui_pow to fix it completely (with a +call to mpfr_pow, in a way similar to other ui functions). There +isn't significant differences with the old code anyway, and the +case integer^integer wasn't optimized like in mpfr_pow. +The test tui_pow now passes, but the test tzeta now fails! + +------------------------------------------------------------------------ +r2404 | lefevre | 2003-09-09 10:39:01 +0000 (Tue, 09 Sep 2003) | 4 lines +Changed paths: + M /trunk/tests/tui_pow.c + M /trunk/ui_pow.c + +Code clean-up and reindented. Replaced a 8 by CHAR_BIT, +as CHAR_BIT isn't necessarily equal to 8. The bug seems +to occur on all machines. + +------------------------------------------------------------------------ +r2403 | lefevre | 2003-09-08 16:22:08 +0000 (Mon, 08 Sep 2003) | 3 lines +Changed paths: + M /trunk/tests/tui_pow.c + +Added a test to reproduce a bug (to be fixed later) on all 64-bit +machines. + +------------------------------------------------------------------------ +r2402 | lefevre | 2003-09-08 15:50:30 +0000 (Mon, 08 Sep 2003) | 2 lines +Changed paths: + M /trunk/tests/tset_str.c + +Added a cast (useful under Linux/alpha). + +------------------------------------------------------------------------ +r2401 | lefevre | 2003-09-01 15:20:39 +0000 (Mon, 01 Sep 2003) | 4 lines +Changed paths: + M /trunk/TODO + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/print_rnd_mode.c + +Changes (Patrick Pelissier's suggestions): + _ mpfr_print_rnd_mode now has __gmp_const char * return type; + _ some corrections in mpfr.texi, documentencoding set. + +------------------------------------------------------------------------ +r2400 | ryde | 2003-08-30 23:25:43 +0000 (Sat, 30 Aug 2003) | 2 lines +Changed paths: + M /trunk/tests/amd64.asm + +#Corrections to initial checkin. + +------------------------------------------------------------------------ +r2399 | ryde | 2003-08-30 02:13:55 +0000 (Sat, 30 Aug 2003) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am + +(EXTRA_libfrtests_a_SOURCES): Add amd64.asm. + +------------------------------------------------------------------------ +r2398 | ryde | 2003-08-30 02:13:34 +0000 (Sat, 30 Aug 2003) | 2 lines +Changed paths: + A /trunk/tests/amd64.asm -2003-06-12 Vincent Lefevre <Vincent.Lefevre@loria.fr> +New file. - * tests/tatan.c, tests/tcmp.c, tests/tcmp2.c, tests/tdiv_ui.c, tests/terf.c, tests/tests.c, tests/texp.c, tests/tfma.c, tests/tgamma.c, tests/tgeneric.c, tests/thypot.c, tests/tlog.c, tests/tmul.c, tests/tmul_2exp.c, tests/tmul_ui.c, tests/tout_str.c, tests/tpow.c, tests/tpow3.c, tests/trint.c, tests/tset.c, tests/tset_d.c, tests/tset_f.c, tests/tset_si.c, tests/tset_str.c, tests/tset_z.c, tests/tsqrt.c, tests/tsub.c, tests/tsub_ui.c, tests/tui_div.c, tests/tui_pow.c, tests/tui_sub.c, tests/tzeta.c, acinclude.m4, mpfr-test.h, tests/tabs.c, tests/tacos.c, tests/tadd.c, tests/tagm.c, tests/tasin.c: - Replaced misc random functions by GMP ones. +------------------------------------------------------------------------ +r2397 | ryde | 2003-08-30 02:13:18 +0000 (Sat, 30 Aug 2003) | 3 lines +Changed paths: + M /trunk/acinclude.m4 - * mpfr-test.h, tests/tests.c: Added function randlimb(). +Correction to: +(MPFR_CONFIGS): Add amd64-*-* to x86 test objects. - * erf.c: Fixed a few bugs concerning special values, code simplified. +------------------------------------------------------------------------ +r2396 | ryde | 2003-08-30 01:42:49 +0000 (Sat, 30 Aug 2003) | 3 lines +Changed paths: + M /trunk/tests/tests.c -2003-06-12 Paul Zimmermann <Paul.Zimmermann@loria.fr> +(tests_machine_prec_long_double): Add amd64 to the +comments. - * Makefile.am, algorithms.tex, erf.c, mpfr.h, mpfr.texi, tests/Makefile.am, tests/terf.c: - added error function +------------------------------------------------------------------------ +r2395 | ryde | 2003-08-30 01:41:08 +0000 (Sat, 30 Aug 2003) | 2 lines +Changed paths: + M /trunk/acinclude.m4 -2003-06-11 Vincent Lefevre <Vincent.Lefevre@loria.fr> +(MPFR_CONFIGS): Add amd64-*-* to x86 test objects. - * random2.c: Make x positive + some minor changes. +------------------------------------------------------------------------ +r2394 | ryde | 2003-08-30 01:39:32 +0000 (Sat, 30 Aug 2003) | 2 lines +Changed paths: + M /trunk/tests/tset_ld.c - * random2.c: New version written by Torbjorn Granlund. +(check_set_get): Improve error messages. -2003-06-10 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2393 | ryde | 2003-08-30 01:38:46 +0000 (Sat, 30 Aug 2003) | 2 lines +Changed paths: + M /trunk/mpfr-test.h + M /trunk/tests/tests.c - * algorithms.bib, algorithms.tex: updated formular for erf - added url for Abramowitz & Stegun +(ld_trace): New function. -2003-06-10 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2392 | ryde | 2003-08-30 01:37:40 +0000 (Sat, 30 Aug 2003) | 3 lines +Changed paths: + M /trunk/set_ld.c - * get_d.c: Added a comment concerning NO_MATH_DEFS. +(ldbl_max_struct): Use octal character constants, since hex +is an ANSI-ism. -2003-06-10 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2391 | lefevre | 2003-08-07 07:56:08 +0000 (Thu, 07 Aug 2003) | 2 lines +Changed paths: + M /trunk/ui_pow_ui.c - * tests/tgamma.c: made test faster +Avoid a potential overflow. - * tests/tzeta.c: reduced test time +------------------------------------------------------------------------ +r2390 | zimmerma | 2003-08-04 11:13:04 +0000 (Mon, 04 Aug 2003) | 2 lines +Changed paths: + M /trunk/agm.c + M /trunk/tests/tagm.c - * tests/tdiv.c: reduced time of test +fixed pb found by Damien Fisher - * tests/tfrac.c: reduced time +------------------------------------------------------------------------ +r2389 | lefevre | 2003-07-24 15:47:17 +0000 (Thu, 24 Jul 2003) | 3 lines +Changed paths: + M /trunk/get_d.c -2003-06-09 Kevin Ryde <user42@zip.com.au> +If the exponent of the number is meaningless (src = NaN, inf or 0), +0 is stored in expptr (behavior similar to the ISO C frexp function). - * tests/tabs.c, tests/tacos.c, tests/tadd.c, tests/tasin.c, tests/tatan.c, tests/tcmp2.c, tests/tconst_euler.c, tests/tconst_log2.c, tests/tconst_pi.c, tests/tcos.c, tests/tdiv.c, tests/tdiv_ui.c, tests/texceptions.c, tests/texp.c, tests/tfactorial.c, tests/tfma.c, tests/tgamma.c, tests/tgeneric.c, tests/tget_str.c, tests/thyperbolic.c, tests/thypot.c, tests/tlog.c, tests/tmul_ui.c, tests/tpow.c, tests/tpow3.c, tests/trandom.c, tests/tset_d.c, tests/tset_si.c, tests/tset_str.c, tests/tsin_cos.c, tests/tsqrt.c, tests/tsub.c, tests/tsub_ui.c, tests/tui_div.c, tests/tui_pow.c, tests/tui_sub.c, tests/tzeta.c: - Patch by Torbjorn: use puts not putchar, to avoid GNUPro compiler bug. +------------------------------------------------------------------------ +r2388 | zimmerma | 2003-07-21 13:16:54 +0000 (Mon, 21 Jul 2003) | 2 lines +Changed paths: + M /trunk/TODO -2003-06-08 Kevin Ryde <user42@zip.com.au> +added one item - * tests/tsqrt.c: Disable "8093416094703476*2^(-1075)" because mips64 - SGI cc doesn't seem to like the value (a denorm). +------------------------------------------------------------------------ +r2387 | ryde | 2003-07-19 00:17:02 +0000 (Sat, 19 Jul 2003) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am - * get_d.c: Include <stddef.h> before <math.h>, to avoid problems with - gcc 3.2 on hppa2.0w-hp-hpux11.11. +(check_PROGRAMS): Add tget_d_2exp.c. - * mpfr-test.h (random): Remove prototype, since it conflicts with - stdlib.h on osf4. +------------------------------------------------------------------------ +r2386 | ryde | 2003-07-19 00:15:46 +0000 (Sat, 19 Jul 2003) | 2 lines +Changed paths: + A /trunk/tests/tget_d_2exp.c -2003-05-28 Vincent Lefevre <Vincent.Lefevre@loria.fr> +New file, partly derived from tget_d.c. - * mpfr-test.h, tests/tzeta.c, mpfr-impl.h: - Added prototypes of non-standard functions that weren't always defined. +------------------------------------------------------------------------ +r2385 | ryde | 2003-07-19 00:12:19 +0000 (Sat, 19 Jul 2003) | 3 lines +Changed paths: + M /trunk/get_d.c - * mpfr-impl.h: - MPFR_EXP_CHECK is now defined when WANT_ASSERT is defined. +(mpfr_get_d_2exp): Ensure 0.5 <= abs(ret) < 1.0 is respected +when rounding away from zero. -2003-05-26 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2384 | ryde | 2003-07-19 00:07:32 +0000 (Sat, 19 Jul 2003) | 2 lines +Changed paths: + M /trunk/mpfr-test.h + M /trunk/tests/tests.c - * zeta.c: - The special case s = 1 is taken into account (the previous code - seemed to work, but perhaps not for rigorous reasons). +(d_trace): New function. - * tests/tzeta.c: Added test for case s = 1. +------------------------------------------------------------------------ +r2383 | ryde | 2003-07-19 00:06:15 +0000 (Sat, 19 Jul 2003) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * round_prec.c (mpfr_round_prec): - Bug fixed (case zero wasn't taken into account) - and 'assertion failed' avoided. +(Converting Floats): mpfr_get_d_2exp stores to a long. - * add_one_ulp.c, div_ui.c, sub_one_ulp.c: - Update related to MPFR_GET_EXP and MPFR_SET_EXP. +------------------------------------------------------------------------ +r2382 | ryde | 2003-07-19 00:00:24 +0000 (Sat, 19 Jul 2003) | 3 lines +Changed paths: + M /trunk/get_d.c + M /trunk/mpfr.h - * rint.c: MPFR_GET_EXP (r) -> exp. +(mpfr_get_d_2exp): Store exp in a long, same as +mpz_get_d_2exp and mpf_get_d_2exp. - * swap.c: Function mpfr_swap rewritten using memcpy. +------------------------------------------------------------------------ +r2381 | lefevre | 2003-07-15 14:42:08 +0000 (Tue, 15 Jul 2003) | 2 lines +Changed paths: + M /trunk/get_d.c - * set.c, set_si.c, set_ui.c, sqrt_ui.c, sub_ui.c, add_ui.c, mpfr-impl.h: - Updates/optimizations related to MPFR_GET_EXP and MPFR_SET_EXP. +Updated comment. -2003-05-23 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2380 | lefevre | 2003-07-08 14:31:44 +0000 (Tue, 08 Jul 2003) | 2 lines +Changed paths: + M /trunk/random2.c - * add1.c: Code clean-up. Assertion failed avoided. +Correction in a comment (patch by Torbjorn). -2003-05-22 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2379 | zimmerma | 2003-07-01 14:47:05 +0000 (Tue, 01 Jul 2003) | 2 lines +Changed paths: + M /trunk/mpfr.texi + M /trunk/round_prec.c - * ChangeLog: Update. +can_round returns 0 for NaN/Inf - * mpfr-impl.h, mul.c, mul_2si.c, mul_2ui.c, mul_ui.c, next.c, pow.c, print_raw.c, random.c, random2.c, rint.c, round_prec.c, set.c, set_d.c, set_exp.c, set_f.c, set_si.c, set_str.c, set_str_raw.c, set_ui.c, set_z.c, setmax.c, setmin.c, sin.c, sin_cos.c, sinh.c, sqrt.c, sqrt_ui.c, sub.c, sub1.c, sub_one_ulp.c, sub_ui.c, swap.c, tan.c, tanh.c, ui_div.c, ui_pow.c, ui_sub.c, urandomb.c, zeta.c, acos.c, acosh.c, add.c, add1.c, add_one_ulp.c, add_ui.c, asin.c, asinh.c, atan.c, atanh.c, cbrt.c, cmp.c, cmp2.c, cmp_abs.c, cmp_si.c, cmp_ui.c, const_log2.c, const_pi.c, cos.c, div.c, div_2si.c, div_2ui.c, div_ui.c, eq.c, exceptions.c, exp.c, exp2.c, exp3.c, exp_2.c, expm1.c, frac.c, generic.c, get_d.c, get_exp.c, get_ld.c, get_si.c, get_str.c, get_ui.c, get_z_exp.c, hypot.c, isinteger.c, log.c, log1p.c, log2.c, BUGS: - Macros MPFR_EXP_INVALID (invalid exponent value) and MPFR_EXP_CHECK - added. Code update to use MPFR_GET_EXP and MPFR_SET_EXP instead of - MPFR_EXP to allow more bug detection related to special values. - Macros MPFR_SET_NAN, MPFR_SET_INF, MPFR_SET_ZERO and MPFR_INIT set - the exponent of the number to MPFR_EXP_INVALID if MPFR_EXP_CHECK - is defined. Compile with -DMPFR_EXP_CHECK and make check to see - the potential problems; currently, 40 of 76 tests fail. +------------------------------------------------------------------------ +r2378 | zimmerma | 2003-07-01 10:49:04 +0000 (Tue, 01 Jul 2003) | 3 lines +Changed paths: + M /trunk/round_prec.c -2003-05-21 Vincent Lefevre <Vincent.Lefevre@loria.fr> +fixed Uninitialized memory read in mpfr_can_round +(when b is NaN or Inf) - * mpfr-impl.h: - MPFR_ASSERTD: use MPFR_ASSERTN instead of ASSERT_ALWAYS so that - it can be used as an expression. - New macros MPFR_GET_EXP and MPFR_SET_EXP (they should almost - completely replace MPFR_EXP). +------------------------------------------------------------------------ +r2377 | zimmerma | 2003-06-30 15:59:19 +0000 (Mon, 30 Jun 2003) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c -2003-05-19 Paul Zimmermann <Paul.Zimmermann@loria.fr> +fixed array bound write (need 6+1 characters in s1 to represent -@inf@ + \0) - * tests/teq.c: added test 'special' +------------------------------------------------------------------------ +r2376 | ryde | 2003-06-28 00:17:24 +0000 (Sat, 28 Jun 2003) | 2 lines +Changed paths: + M /trunk/get_d.c - * eq.c: fixed bug when n_bits larger than size*BITS_PER_MP_LIMB +Add "const" to IEEE byte sequence data. -2003-05-18 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2375 | ryde | 2003-06-28 00:15:04 +0000 (Sat, 28 Jun 2003) | 3 lines +Changed paths: + M /trunk/tests/tests.c - * eq.c: Bugs fixed (special cases). +(tests_rand_end): Remove explicit __gmp_rands +clearing, it's what RANDS_CLEAR does already. -2003-05-13 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2374 | ryde | 2003-06-26 23:01:02 +0000 (Thu, 26 Jun 2003) | 4 lines +Changed paths: + M /trunk/TODO - * tests/Makefile.am: removed dummy test tdump +# Clarify nan/inf bits under efficiency. +# Add mpfr_get_d3 ieee portability. +# Add mpfr_random not wanted in mpf integration. - * TODO: compatibility with mpf is done +------------------------------------------------------------------------ +r2373 | zimmerma | 2003-06-26 13:40:08 +0000 (Thu, 26 Jun 2003) | 2 lines +Changed paths: + M /trunk/cmp_d.c + M /trunk/get_d.c + M /trunk/get_ld.c + M /trunk/mpfr-impl.h + M /trunk/set_d.c + M /trunk/set_dfl_prec.c + M /trunk/set_ld.c - * mpfr.texi, cmp_d.c, mpf2mpfr.h: updated mpfr_cmp_d - added mpfr_cmp_d in mpf2mpfr.h and mpfr.texi +moved macros for [L]DBL_MANT_DIG in mpfr-impl.h -2003-05-13 Guillaume Hanrot <Guillaume.Hanrot@loria.fr> +------------------------------------------------------------------------ +r2372 | zimmerma | 2003-06-25 10:16:43 +0000 (Wed, 25 Jun 2003) | 2 lines +Changed paths: + M /trunk/urandomb.c - * cmp_d.c, tests/tcmp_d.c: Added cmp_d.c, tcmp_d.c. +fixed several problems noticed by Kevin - * mpfr.h, tests/Makefile.am, tests/mpf_compat.h, Makefile.am: - Added cmp_d/tcmp_d. +------------------------------------------------------------------------ +r2371 | zimmerma | 2003-06-25 07:47:53 +0000 (Wed, 25 Jun 2003) | 2 lines +Changed paths: + M /trunk/tests/tset_ld.c -2003-04-11 Paul Zimmermann <Paul.Zimmermann@loria.fr> +changed test for 2^1024, using LDBL_MAX_EXP - * tests/reuse.c, zeta.c: moved test for NaN/Inf +------------------------------------------------------------------------ +r2370 | ryde | 2003-06-25 00:47:56 +0000 (Wed, 25 Jun 2003) | 2 lines +Changed paths: + M /trunk/TODO - * Makefile.am, mpfr.h, mpfr.texi, tests/Makefile.am, tests/tzeta.c, zeta.c: - added Riemann Zeta function (contribution from Jean-Luc Re'my) +# Add efficiency of separate flag bit operations. -2003-04-08 Kevin Ryde <user42@zip.com.au> +------------------------------------------------------------------------ +r2369 | ryde | 2003-06-24 23:57:33 +0000 (Tue, 24 Jun 2003) | 2 lines +Changed paths: + D /trunk/mpfr-math.h - * mpfr.texi: Move macros down below @copying. +Remove file, no longer used. - * mpfr.texi: Add @: after various abbreviations. +------------------------------------------------------------------------ +r2368 | ryde | 2003-06-24 23:56:41 +0000 (Tue, 24 Jun 2003) | 2 lines +Changed paths: + M /trunk/Makefile.am -2003-04-01 Paul Zimmermann <Paul.Zimmermann@loria.fr> +(libmpfr_a_SOURCES): Remove mpfr-math.h. - * exp_2.c: fixed pb with count_leading_zeros (n=0) +------------------------------------------------------------------------ +r2367 | ryde | 2003-06-24 23:55:52 +0000 (Tue, 24 Jun 2003) | 5 lines +Changed paths: + M /trunk/get_d.c - * tests/texp.c: added test for bug found by Franky Backeljauw +(MPFR_DBL_INFP, MPFR_DBL_INFM, MPFR_DBL_NAN): Make private +definitions based on IEEE byte sequences, in particular avoid HUGE_VAL +from mpfr-math.h since that's not infinity on hppa1.1-hp-hpux10. +Remove includes of mpfr-math.h, math.h and stddef.h. - * exp_2.c: fixed bug found by Franky +------------------------------------------------------------------------ +r2366 | ryde | 2003-06-24 23:50:03 +0000 (Tue, 24 Jun 2003) | 2 lines +Changed paths: + M /trunk/tests/tget_d.c -2003-03-28 Vincent Lefevre <Vincent.Lefevre@loria.fr> +(check_inf_nan): New test. - * exp3.c: Added some asserts. +------------------------------------------------------------------------ +r2365 | ryde | 2003-06-24 23:45:21 +0000 (Tue, 24 Jun 2003) | 3 lines +Changed paths: + M /trunk/acinclude.m4 -2003-03-28 Paul Zimmermann <Paul.Zimmermann@loria.fr> +(MPFR_C_LONG_DOUBLE_FORMAT): Use octal char constants, +'\xHH' is an ANSI-ism. - * tests/tconst_pi.c: - fixed pb found by Will Galway <galway@pims.math.ca> (continued) +------------------------------------------------------------------------ +r2364 | zimmerma | 2003-06-24 10:21:38 +0000 (Tue, 24 Jun 2003) | 2 lines +Changed paths: + M /trunk/tests/tset_ld.c -2003-03-28 Guillaume Hanrot <Guillaume.Hanrot@loria.fr> +check 2^1024 only when sizeof(long double) > sizeof(double) - * const_pi.c, tests/tconst_pi.c: Patches from W. Galway. +------------------------------------------------------------------------ +r2363 | zimmerma | 2003-06-24 08:20:41 +0000 (Tue, 24 Jun 2003) | 2 lines +Changed paths: + M /trunk/tests/tsub.c -2003-03-28 Paul Zimmermann <Paul.Zimmermann@loria.fr> +correction to previous patch - * mpfr.texi: fixed reference to Plouffe/Bailey/Borwein formula +------------------------------------------------------------------------ +r2362 | zimmerma | 2003-06-24 08:14:39 +0000 (Tue, 24 Jun 2003) | 3 lines +Changed paths: + M /trunk/tests/tadd.c -2003-03-27 Guillaume Hanrot <Guillaume.Hanrot@loria.fr> +correction to previous patch: problem was that x and u can be 0, +then MPFR_PREC() undefined - * const_pi.c: Credits for the pi formula modified. +------------------------------------------------------------------------ +r2361 | ryde | 2003-06-24 00:32:32 +0000 (Tue, 24 Jun 2003) | 2 lines +Changed paths: + M /trunk/tests/tests.c -2003-03-26 Paul Zimmermann <Paul.Zimmermann@loria.fr> +(tests_start_mpfr): Make stdout and stderr unbuffered. - * mpfr.texi, set_str.c, set_str_raw.c, mpfr.h: - changed back "unsigned char *" to "char *" +------------------------------------------------------------------------ +r2360 | ryde | 2003-06-24 00:30:25 +0000 (Tue, 24 Jun 2003) | 3 lines +Changed paths: + M /trunk/tests/tsub.c -2003-03-25 Paul Zimmermann <Paul.Zimmermann@loria.fr> +(check_inexact): For pz, use at least MPFR_PREC_MIN +since this is required by mpfr_set_prec. - * mpfr.h, mpfr.texi, set_str.c, set_str_raw.c: - char * -> const unsigned char * for mpfr_set_str, mpfr_set_str_raw, - and mpfr_init_set_str +------------------------------------------------------------------------ +r2359 | ryde | 2003-06-24 00:29:32 +0000 (Tue, 24 Jun 2003) | 4 lines +Changed paths: + M /trunk/tests/tadd.c -2003-03-24 Paul Zimmermann <Paul.Zimmermann@loria.fr> +# Correction to: +# (check_inexact): For pz, use at least MPFR_PREC_MIN +# since this is required by mpfr_set_prec. - * get_ld.c: removed unused variable +------------------------------------------------------------------------ +r2358 | ryde | 2003-06-24 00:20:41 +0000 (Tue, 24 Jun 2003) | 3 lines +Changed paths: + M /trunk/tests/tadd.c -2003-03-18 Paul Zimmermann <Paul.Zimmermann@loria.fr> +(check_inexact): For pz, use at least MPFR_PREC_MIN +since this is required by mpfr_set_prec. - * mpfr.texi: fixed documentation bug in mpfr_log2 (exact results) +------------------------------------------------------------------------ +r2357 | ryde | 2003-06-23 23:58:03 +0000 (Mon, 23 Jun 2003) | 2 lines +Changed paths: + M /trunk/TODO - * tests/tsqrt.c: changed new test in 'check4' style +Remove mingw portability of random/rand48, no longer used. -2003-03-17 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2356 | ryde | 2003-06-23 23:55:24 +0000 (Mon, 23 Jun 2003) | 5 lines +Changed paths: + M /trunk/TODO - * BUGS, mpfr.texi: Update concerning underflow problems. +Remove __setfpucw, no longer used. +Remove mpfr_integer_p, done. +Remove gmp rand functions in test programs, done. +Remove MPFR_CHECK_RANDOMIZE, done (as GMP_CHECK_RANDOMIZE). + +------------------------------------------------------------------------ +r2355 | lefevre | 2003-06-21 07:56:50 +0000 (Sat, 21 Jun 2003) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +mpfr_random is deprecated. + +------------------------------------------------------------------------ +r2354 | zimmerma | 2003-06-20 15:01:01 +0000 (Fri, 20 Jun 2003) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c + M /trunk/tests/tsub.c + M /trunk/tests/tui_div.c -2003-03-17 Kevin Ryde <user42@zip.com.au> +changed since mpfr_random now can return 0 - * tests/tpow.c (main): Comment out underflows(), until it works. +------------------------------------------------------------------------ +r2353 | lefevre | 2003-06-20 14:21:36 +0000 (Fri, 20 Jun 2003) | 3 lines +Changed paths: + M /trunk/random.c - * get_z_exp.c: Comment out an assert tickled for an f with exponent - near MPFR_EMIN_MIN. +The distribution should now be uniform (mpfr_random implemented +by calling mpfr_urandomb). -2003-03-16 Kevin Ryde <user42@zip.com.au> +------------------------------------------------------------------------ +r2352 | lefevre | 2003-06-20 12:30:42 +0000 (Fri, 20 Jun 2003) | 3 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/urandomb.c - * mpfr-impl.h (LONGDOUBLE_NAN_ACTION): New version for IEEE quad big - endian, fixing HP cc. - (WANT_LONGDOUBLE_VOLATILE): New define for when LONGDOUBLE_VOLATILE is - wanted. - (WANT_GMPFR_LONGDOUBLE_VOLATILE): New define for when - __gmpfr_longdouble_volatile is wanted. +Take the current exponent range into account in mpfr_urandomb +(which now returns an int). - * volatile.c: Use WANT_GMPFR_LONGDOUBLE_VOLATILE. +------------------------------------------------------------------------ +r2351 | lefevre | 2003-06-20 10:37:26 +0000 (Fri, 20 Jun 2003) | 2 lines +Changed paths: + M /trunk/urandomb.c - * acinclude.m4 (MPFR_C_LONG_DOUBLE_FORMAT): Add IEEE quad big endian, - check long double exists before testing. +Bug fix. -2003-03-14 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2350 | zimmerma | 2003-06-20 10:30:35 +0000 (Fri, 20 Jun 2003) | 2 lines +Changed paths: + M /trunk/tests/tests.c - * tests/tpow.c: Added underflow test showing a bug in mpfr_pow. +moved _gmp_rands_initialized stuff from tests_end_mpfr() to tests_rand_end() -2003-03-14 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2349 | zimmerma | 2003-06-20 09:58:46 +0000 (Fri, 20 Jun 2003) | 3 lines +Changed paths: + M /trunk/tests/tset_z.c + +reduced default number of tests +improved style - * pow.c: fixed bug for x=1 +------------------------------------------------------------------------ +r2348 | zimmerma | 2003-06-20 09:53:15 +0000 (Fri, 20 Jun 2003) | 3 lines +Changed paths: + M /trunk/tests/tset_si.c + +reduced default number of tests +improved style + +------------------------------------------------------------------------ +r2347 | zimmerma | 2003-06-19 17:17:48 +0000 (Thu, 19 Jun 2003) | 2 lines +Changed paths: + M /trunk/exp_2.c -2003-03-14 Vincent Lefevre <Vincent.Lefevre@loria.fr> +fixed bug in mpfr_exp2_aux2 (spe175.testdrive.hp.com) - * BUGS, pow.c: This wasn't a compiler bug; mpfr_pow is really buggy. - Added some asserts to show that. +------------------------------------------------------------------------ +r2346 | zimmerma | 2003-06-19 15:40:52 +0000 (Thu, 19 Jun 2003) | 2 lines +Changed paths: + M /trunk/exp3.c - * tests/tpow.c, BUGS: - The infinite loop concerning 1^0.5 was probably due to a bug in the - compiler [cc (GCC) 3.2.3 20030309 (Debian prerelease)]: adding some - printf's changes the values of the variables and the correct result - is returned. +improved style -2003-03-13 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2345 | zimmerma | 2003-06-19 14:57:05 +0000 (Thu, 19 Jun 2003) | 2 lines +Changed paths: + M /trunk/tests/texp.c - * tests/tpow.c: fixed sign problem in particular_cases() +added more information in case of failure - * ui_pow.c: declared mpfr_ui_pow_is_exact as static +------------------------------------------------------------------------ +r2344 | zimmerma | 2003-06-19 09:12:26 +0000 (Thu, 19 Jun 2003) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + M /trunk/tests/tagm.c + M /trunk/tests/tests.c + M /trunk/tests/tlog.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tout_str.c + M /trunk/tests/tset_d.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 - * pow_si.c, pow.c: gnu-style +removed randseed() stuff [obsolete now we use the GMP mechanism] -2003-03-13 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2343 | zimmerma | 2003-06-19 08:55:03 +0000 (Thu, 19 Jun 2003) | 2 lines +Changed paths: + M /trunk/tests/tzeta.c - * tests/tpow3.c: - Removed some useless and inaccurate tests on NaN, infinities, zeros - (as the behavior of mpfr_pow on such particular cases has changed); - similar tests were added to "tests/tpow.c". +added memory test mechanism - * BUGS, tests/tpow.c: Test of mpfr_pow: particular cases. Bugs. +------------------------------------------------------------------------ +r2342 | zimmerma | 2003-06-19 08:54:42 +0000 (Thu, 19 Jun 2003) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c -2003-03-12 Vincent Lefevre <Vincent.Lefevre@loria.fr> +added new test from Parks + +------------------------------------------------------------------------ +r2341 | zimmerma | 2003-06-19 08:54:07 +0000 (Thu, 19 Jun 2003) | 2 lines +Changed paths: + M /trunk/zeta.c + +fixed allocation problem (forgot to clear) + +------------------------------------------------------------------------ +r2340 | lefevre | 2003-06-19 01:01:38 +0000 (Thu, 19 Jun 2003) | 2 lines +Changed paths: + M /trunk/mpfr-test.h + +Removed drand48/lrand48/srand48 prototypes. + +------------------------------------------------------------------------ +r2339 | ryde | 2003-06-18 22:57:32 +0000 (Wed, 18 Jun 2003) | 3 lines +Changed paths: + M /trunk/tests/tset_z.c + +Don't use mpz_get_d1, since a 53-bit double is not +enough when long is 64-bits. + +------------------------------------------------------------------------ +r2338 | ryde | 2003-06-18 22:50:59 +0000 (Wed, 18 Jun 2003) | 3 lines +Changed paths: + M /trunk/tests/tset_si.c + +Don't use mpz_get_d1, since a 53-bit double is not +enough when long is 64-bits. + +------------------------------------------------------------------------ +r2337 | ryde | 2003-06-13 22:43:53 +0000 (Fri, 13 Jun 2003) | 3 lines +Changed paths: + M /trunk/tests/tests.c + +Use autoconf recommended style for time.h with +sys/time.h. + +------------------------------------------------------------------------ +r2336 | ryde | 2003-06-13 22:40:44 +0000 (Fri, 13 Jun 2003) | 3 lines +Changed paths: + M /trunk/acinclude.m4 + +(MPFR_CONFIGS): Require AC_HEADER_TIME, add +AC_CHECK_HEADERS of sys/time.h. + +------------------------------------------------------------------------ +r2335 | ryde | 2003-06-13 22:33:50 +0000 (Fri, 13 Jun 2003) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + +(MPFR_CONFIGS): Add AC_CHECK_FUNCS of gettimeofday. + +------------------------------------------------------------------------ +r2334 | zimmerma | 2003-06-13 15:19:12 +0000 (Fri, 13 Jun 2003) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c + +moved disabled test to "special" code + +------------------------------------------------------------------------ +r2333 | zimmerma | 2003-06-13 11:50:07 +0000 (Fri, 13 Jun 2003) | 2 lines +Changed paths: + M /trunk/algorithms.bib + M /trunk/algorithms.tex + +added reference to Higham + +------------------------------------------------------------------------ +r2332 | zimmerma | 2003-06-13 08:22:53 +0000 (Fri, 13 Jun 2003) | 2 lines +Changed paths: + M /trunk/algorithms.tex + M /trunk/erf.c + M /trunk/exp.c + +improved error analysis on erf + +------------------------------------------------------------------------ +r2331 | zimmerma | 2003-06-13 07:52:01 +0000 (Fri, 13 Jun 2003) | 2 lines +Changed paths: + M /trunk/tests/tlog.c + +improved indentation + +------------------------------------------------------------------------ +r2330 | zimmerma | 2003-06-12 16:29:34 +0000 (Thu, 12 Jun 2003) | 3 lines +Changed paths: + M /trunk/tests/tests.c + +added support for random see +(when env. variable GMP_CHECK_RANDOMIZE set) + +------------------------------------------------------------------------ +r2329 | lefevre | 2003-06-12 16:13:49 +0000 (Thu, 12 Jun 2003) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + M /trunk/mpfr-test.h + M /trunk/tests/tabs.c + M /trunk/tests/tacos.c + M /trunk/tests/tadd.c + M /trunk/tests/tagm.c + M /trunk/tests/tasin.c + M /trunk/tests/tatan.c + M /trunk/tests/tcmp.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/terf.c + M /trunk/tests/tests.c + M /trunk/tests/texp.c + M /trunk/tests/tfma.c + M /trunk/tests/tgamma.c + M /trunk/tests/tgeneric.c + M /trunk/tests/thypot.c + M /trunk/tests/tlog.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tout_str.c + M /trunk/tests/tpow.c + M /trunk/tests/tpow3.c + M /trunk/tests/trint.c + M /trunk/tests/tset.c + M /trunk/tests/tset_d.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/tsqrt.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_pow.c + M /trunk/tests/tui_sub.c + M /trunk/tests/tzeta.c + +Replaced misc random functions by GMP ones. + +------------------------------------------------------------------------ +r2328 | lefevre | 2003-06-12 13:52:56 +0000 (Thu, 12 Jun 2003) | 2 lines +Changed paths: + M /trunk/mpfr-test.h + M /trunk/tests/tests.c + +Added function randlimb(). + +------------------------------------------------------------------------ +r2327 | lefevre | 2003-06-12 11:37:31 +0000 (Thu, 12 Jun 2003) | 2 lines +Changed paths: + M /trunk/erf.c + +Fixed a few bugs concerning special values, code simplified. + +------------------------------------------------------------------------ +r2326 | zimmerma | 2003-06-12 09:10:34 +0000 (Thu, 12 Jun 2003) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/algorithms.tex + A /trunk/erf.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/tests/Makefile.am + A /trunk/tests/terf.c + +added error function + +------------------------------------------------------------------------ +r2325 | lefevre | 2003-06-11 23:38:43 +0000 (Wed, 11 Jun 2003) | 2 lines +Changed paths: + M /trunk/random2.c + +Make x positive + some minor changes. + +------------------------------------------------------------------------ +r2324 | lefevre | 2003-06-11 23:31:05 +0000 (Wed, 11 Jun 2003) | 2 lines +Changed paths: + M /trunk/random2.c + +New version written by Torbjorn Granlund. + +------------------------------------------------------------------------ +r2323 | zimmerma | 2003-06-10 15:24:16 +0000 (Tue, 10 Jun 2003) | 3 lines +Changed paths: + M /trunk/algorithms.bib + M /trunk/algorithms.tex + +updated formular for erf +added url for Abramowitz & Stegun + +------------------------------------------------------------------------ +r2322 | lefevre | 2003-06-10 13:22:52 +0000 (Tue, 10 Jun 2003) | 2 lines +Changed paths: + M /trunk/get_d.c + +Added a comment concerning NO_MATH_DEFS. + +------------------------------------------------------------------------ +r2321 | zimmerma | 2003-06-10 08:43:05 +0000 (Tue, 10 Jun 2003) | 2 lines +Changed paths: + M /trunk/tests/tgamma.c + +made test faster + +------------------------------------------------------------------------ +r2320 | zimmerma | 2003-06-10 08:41:47 +0000 (Tue, 10 Jun 2003) | 2 lines +Changed paths: + M /trunk/tests/tzeta.c + +reduced test time + +------------------------------------------------------------------------ +r2319 | zimmerma | 2003-06-10 08:38:54 +0000 (Tue, 10 Jun 2003) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c + +reduced time of test + +------------------------------------------------------------------------ +r2318 | zimmerma | 2003-06-10 08:20:21 +0000 (Tue, 10 Jun 2003) | 2 lines +Changed paths: + M /trunk/tests/tfrac.c + +reduced time + +------------------------------------------------------------------------ +r2317 | ryde | 2003-06-09 22:48:18 +0000 (Mon, 09 Jun 2003) | 2 lines +Changed paths: + M /trunk/tests/tabs.c + M /trunk/tests/tacos.c + M /trunk/tests/tadd.c + M /trunk/tests/tasin.c + M /trunk/tests/tatan.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tconst_euler.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tconst_pi.c + M /trunk/tests/tcos.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/texceptions.c + M /trunk/tests/texp.c + M /trunk/tests/tfactorial.c + M /trunk/tests/tfma.c + M /trunk/tests/tgamma.c + M /trunk/tests/tgeneric.c + M /trunk/tests/tget_str.c + M /trunk/tests/thyperbolic.c + M /trunk/tests/thypot.c + M /trunk/tests/tlog.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tpow.c + M /trunk/tests/tpow3.c + M /trunk/tests/trandom.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_pow.c + M /trunk/tests/tui_sub.c + M /trunk/tests/tzeta.c + +Patch by Torbjorn: use puts not putchar, to avoid GNUPro compiler bug. + +------------------------------------------------------------------------ +r2316 | ryde | 2003-06-08 23:56:47 +0000 (Sun, 08 Jun 2003) | 3 lines +Changed paths: + M /trunk/tests/tsqrt.c + +Disable "8093416094703476*2^(-1075)" because mips64 +SGI cc doesn't seem to like the value (a denorm). + +------------------------------------------------------------------------ +r2315 | ryde | 2003-06-08 22:44:59 +0000 (Sun, 08 Jun 2003) | 3 lines +Changed paths: + M /trunk/get_d.c + +Include <stddef.h> before <math.h>, to avoid problems with +gcc 3.2 on hppa2.0w-hp-hpux11.11. + +------------------------------------------------------------------------ +r2314 | ryde | 2003-06-08 22:35:03 +0000 (Sun, 08 Jun 2003) | 3 lines +Changed paths: + M /trunk/mpfr-test.h + +(random): Remove prototype, since it conflicts with +stdlib.h on osf4. + +------------------------------------------------------------------------ +r2313 | lefevre | 2003-05-28 14:04:50 +0000 (Wed, 28 May 2003) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/mpfr-test.h + M /trunk/tests/tzeta.c + +Added prototypes of non-standard functions that weren't always defined. + +------------------------------------------------------------------------ +r2312 | lefevre | 2003-05-28 08:44:17 +0000 (Wed, 28 May 2003) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +MPFR_EXP_CHECK is now defined when WANT_ASSERT is defined. + +------------------------------------------------------------------------ +r2311 | lefevre | 2003-05-26 20:31:56 +0000 (Mon, 26 May 2003) | 3 lines +Changed paths: + M /trunk/zeta.c + +The special case s = 1 is taken into account (the previous code +seemed to work, but perhaps not for rigorous reasons). + +------------------------------------------------------------------------ +r2310 | lefevre | 2003-05-26 20:31:38 +0000 (Mon, 26 May 2003) | 2 lines +Changed paths: + M /trunk/tests/tzeta.c + +Added test for case s = 1. + +------------------------------------------------------------------------ +r2309 | lefevre | 2003-05-26 15:34:17 +0000 (Mon, 26 May 2003) | 3 lines +Changed paths: + M /trunk/round_prec.c + +(mpfr_round_prec): Bug fixed (case zero wasn't taken into account) +and 'assertion failed' avoided. + +------------------------------------------------------------------------ +r2308 | lefevre | 2003-05-26 15:20:27 +0000 (Mon, 26 May 2003) | 2 lines +Changed paths: + M /trunk/add_one_ulp.c + M /trunk/div_ui.c + M /trunk/sub_one_ulp.c + +Update related to MPFR_GET_EXP and MPFR_SET_EXP. + +------------------------------------------------------------------------ +r2307 | lefevre | 2003-05-26 14:46:42 +0000 (Mon, 26 May 2003) | 2 lines +Changed paths: + M /trunk/rint.c + +MPFR_GET_EXP (r) -> exp. + +------------------------------------------------------------------------ +r2306 | lefevre | 2003-05-26 13:20:54 +0000 (Mon, 26 May 2003) | 2 lines +Changed paths: + M /trunk/swap.c + +Function mpfr_swap rewritten using memcpy. + +------------------------------------------------------------------------ +r2305 | lefevre | 2003-05-26 12:03:59 +0000 (Mon, 26 May 2003) | 2 lines +Changed paths: + M /trunk/set.c + +Updates/optimizations related to MPFR_GET_EXP and MPFR_SET_EXP. + +------------------------------------------------------------------------ +r2304 | lefevre | 2003-05-26 11:47:04 +0000 (Mon, 26 May 2003) | 2 lines +Changed paths: + M /trunk/add_ui.c + M /trunk/mpfr-impl.h + M /trunk/set_si.c + M /trunk/set_ui.c + M /trunk/sqrt_ui.c + M /trunk/sub_ui.c + +Updates/optimizations related to MPFR_GET_EXP and MPFR_SET_EXP. + +------------------------------------------------------------------------ +r2303 | lefevre | 2003-05-23 10:28:12 +0000 (Fri, 23 May 2003) | 2 lines +Changed paths: + M /trunk/add1.c + +Code clean-up. Assertion failed avoided. + +------------------------------------------------------------------------ +r2302 | lefevre | 2003-05-22 22:11:01 +0000 (Thu, 22 May 2003) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update. + +------------------------------------------------------------------------ +r2301 | lefevre | 2003-05-22 21:39:40 +0000 (Thu, 22 May 2003) | 8 lines +Changed paths: + M /trunk/BUGS + M /trunk/acos.c + M /trunk/acosh.c + M /trunk/add.c + M /trunk/add1.c + M /trunk/add_one_ulp.c + M /trunk/add_ui.c + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atan.c + M /trunk/atanh.c + M /trunk/cbrt.c + M /trunk/cmp.c + M /trunk/cmp2.c + M /trunk/cmp_abs.c + M /trunk/cmp_si.c + M /trunk/cmp_ui.c + M /trunk/const_log2.c + M /trunk/const_pi.c + M /trunk/cos.c + M /trunk/div.c + M /trunk/div_2si.c + M /trunk/div_2ui.c + M /trunk/div_ui.c + M /trunk/eq.c + M /trunk/exceptions.c + M /trunk/exp.c + M /trunk/exp2.c + M /trunk/exp3.c + M /trunk/exp_2.c + M /trunk/expm1.c + M /trunk/frac.c + M /trunk/generic.c + M /trunk/get_d.c + M /trunk/get_exp.c + M /trunk/get_ld.c + M /trunk/get_si.c + M /trunk/get_str.c + M /trunk/get_ui.c + M /trunk/get_z_exp.c + M /trunk/hypot.c + M /trunk/isinteger.c + M /trunk/log.c + M /trunk/log1p.c + M /trunk/log2.c + M /trunk/mpfr-impl.h + M /trunk/mul.c + M /trunk/mul_2si.c + M /trunk/mul_2ui.c + M /trunk/mul_ui.c + M /trunk/next.c + M /trunk/pow.c + M /trunk/print_raw.c + M /trunk/random.c + M /trunk/random2.c + M /trunk/rint.c + M /trunk/round_prec.c + M /trunk/set.c + M /trunk/set_d.c + M /trunk/set_exp.c + M /trunk/set_f.c + M /trunk/set_si.c + M /trunk/set_str.c + M /trunk/set_str_raw.c + M /trunk/set_ui.c + M /trunk/set_z.c + M /trunk/setmax.c + M /trunk/setmin.c + M /trunk/sin.c + M /trunk/sin_cos.c + M /trunk/sinh.c + M /trunk/sqrt.c + M /trunk/sqrt_ui.c + M /trunk/sub.c + M /trunk/sub1.c + M /trunk/sub_one_ulp.c + M /trunk/sub_ui.c + M /trunk/swap.c + M /trunk/tan.c + M /trunk/tanh.c + M /trunk/ui_div.c + M /trunk/ui_pow.c + M /trunk/ui_sub.c + M /trunk/urandomb.c + M /trunk/zeta.c + +Macros MPFR_EXP_INVALID (invalid exponent value) and MPFR_EXP_CHECK +added. Code update to use MPFR_GET_EXP and MPFR_SET_EXP instead of +MPFR_EXP to allow more bug detection related to special values. +Macros MPFR_SET_NAN, MPFR_SET_INF, MPFR_SET_ZERO and MPFR_INIT set +the exponent of the number to MPFR_EXP_INVALID if MPFR_EXP_CHECK +is defined. Compile with -DMPFR_EXP_CHECK and make check to see +the potential problems; currently, 40 of 76 tests fail. + +------------------------------------------------------------------------ +r2300 | lefevre | 2003-05-21 15:16:49 +0000 (Wed, 21 May 2003) | 2 lines +Changed paths: + M /trunk/pow_ui.c + M /trunk/tests/tacos.c + +#include "gmp-impl.h" added. + +------------------------------------------------------------------------ +r2299 | lefevre | 2003-05-21 14:49:03 +0000 (Wed, 21 May 2003) | 5 lines +Changed paths: + M /trunk/mpfr-impl.h + +MPFR_ASSERTD: use MPFR_ASSERTN instead of ASSERT_ALWAYS so that +it can be used as an expression. +New macros MPFR_GET_EXP and MPFR_SET_EXP (they should almost +completely replace MPFR_EXP). + +------------------------------------------------------------------------ +r2298 | zimmerma | 2003-05-19 15:04:20 +0000 (Mon, 19 May 2003) | 2 lines +Changed paths: + M /trunk/tests/teq.c + +added test 'special' + +------------------------------------------------------------------------ +r2297 | zimmerma | 2003-05-19 15:03:11 +0000 (Mon, 19 May 2003) | 2 lines +Changed paths: + M /trunk/eq.c + +fixed bug when n_bits larger than size*BITS_PER_MP_LIMB + +------------------------------------------------------------------------ +r2296 | lefevre | 2003-05-18 00:11:11 +0000 (Sun, 18 May 2003) | 2 lines +Changed paths: + M /trunk/eq.c + +Bugs fixed (special cases). + +------------------------------------------------------------------------ +r2295 | zimmerma | 2003-05-13 16:02:44 +0000 (Tue, 13 May 2003) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am + +removed dummy test tdump + +------------------------------------------------------------------------ +r2294 | zimmerma | 2003-05-13 16:00:44 +0000 (Tue, 13 May 2003) | 2 lines +Changed paths: + M /trunk/TODO + +compatibility with mpf is done + +------------------------------------------------------------------------ +r2293 | zimmerma | 2003-05-13 15:52:30 +0000 (Tue, 13 May 2003) | 3 lines +Changed paths: + M /trunk/cmp_d.c + M /trunk/mpf2mpfr.h + M /trunk/mpfr.texi + +updated mpfr_cmp_d +added mpfr_cmp_d in mpf2mpfr.h and mpfr.texi + +------------------------------------------------------------------------ +r2292 | hanrot | 2003-05-13 15:03:49 +0000 (Tue, 13 May 2003) | 2 lines +Changed paths: + A /trunk/cmp_d.c + A /trunk/tests/tcmp_d.c + +Added cmp_d.c, tcmp_d.c. + +------------------------------------------------------------------------ +r2291 | hanrot | 2003-05-13 15:03:07 +0000 (Tue, 13 May 2003) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/mpfr.h + M /trunk/tests/Makefile.am + M /trunk/tests/mpf_compat.h + +Added cmp_d/tcmp_d. + +------------------------------------------------------------------------ +r2290 | zimmerma | 2003-04-11 10:08:39 +0000 (Fri, 11 Apr 2003) | 2 lines +Changed paths: + M /trunk/tests/reuse.c + M /trunk/zeta.c + +moved test for NaN/Inf + +------------------------------------------------------------------------ +r2289 | zimmerma | 2003-04-11 09:54:23 +0000 (Fri, 11 Apr 2003) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/tests/Makefile.am + M /trunk/tests/tzeta.c + M /trunk/zeta.c - * pow.c, tests/tpow3.c: Special cases for mpfr_pow(). +added Riemann Zeta function (contribution from Jean-Luc Re'my) -2003-03-11 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2288 | ryde | 2003-04-08 23:50:59 +0000 (Tue, 08 Apr 2003) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * out_str.c: - when stream=NULL, use stdout (as indicated in the documentation) +Move macros down below @copying. -2003-03-03 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2287 | ryde | 2003-04-08 23:43:51 +0000 (Tue, 08 Apr 2003) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * sin.c: mpfr_sin_sign -> static. +Add @: after various abbreviations. - * pow.c: Useless declaration removed. +------------------------------------------------------------------------ +r2286 | zimmerma | 2003-04-01 11:49:34 +0000 (Tue, 01 Apr 2003) | 2 lines +Changed paths: + M /trunk/exp_2.c - * pow.c: Special cases for mpfr_pow: like Section F.9.4.4 of the - ISO C99 standard. +fixed pb with count_leading_zeros (n=0) - * pow.c: Prototype fixed. +------------------------------------------------------------------------ +r2285 | zimmerma | 2003-04-01 10:39:48 +0000 (Tue, 01 Apr 2003) | 2 lines +Changed paths: + M /trunk/tests/texp.c -2003-02-27 Vincent Lefevre <Vincent.Lefevre@loria.fr> +added test for bug found by Franky Backeljauw - * set_str.c, tests/tset_str.c, mpfr.texi: - mpfr_set_str now accepts a binary exponent for base 16 - (as defined by the ISO C99 standard). +------------------------------------------------------------------------ +r2284 | zimmerma | 2003-04-01 10:39:14 +0000 (Tue, 01 Apr 2003) | 2 lines +Changed paths: + M /trunk/exp_2.c - * TODO: Comment concerning the installation of MPFR: done. +fixed bug found by Franky - * INSTALL, mpfr.texi: New recommendation to install MPFR. +------------------------------------------------------------------------ +r2283 | lefevre | 2003-03-28 12:56:46 +0000 (Fri, 28 Mar 2003) | 2 lines +Changed paths: + M /trunk/exp3.c -2003-02-24 Guillaume Hanrot <Guillaume.Hanrot@loria.fr> +Added some asserts. - * tests/tget_str.c, tests/tset_str.c, dump.c, get_str.c, out_str.c, print_raw.c, set_str.c: - Replaced NaN, Inf by @NaN@, @Inf@ [for bases > 24]. +------------------------------------------------------------------------ +r2282 | zimmerma | 2003-03-28 09:22:37 +0000 (Fri, 28 Mar 2003) | 2 lines +Changed paths: + M /trunk/tests/tconst_pi.c + +fixed pb found by Will Galway <galway@pims.math.ca> (continued) -2003-02-21 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2281 | hanrot | 2003-03-28 09:13:19 +0000 (Fri, 28 Mar 2003) | 2 lines +Changed paths: + M /trunk/const_pi.c + M /trunk/tests/tconst_pi.c - * tests/thypot.c: added one test +Patches from W. Galway. -2003-02-21 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2280 | zimmerma | 2003-03-28 08:40:59 +0000 (Fri, 28 Mar 2003) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * get_ui.c: Fixed cast (though unnecessary). +fixed reference to Plouffe/Bailey/Borwein formula -2003-02-21 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2279 | hanrot | 2003-03-27 09:37:37 +0000 (Thu, 27 Mar 2003) | 2 lines +Changed paths: + M /trunk/const_pi.c - * tests/tsqrt.c: added one test +Credits for the pi formula modified. -2003-02-13 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2278 | zimmerma | 2003-03-26 10:01:02 +0000 (Wed, 26 Mar 2003) | 2 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/set_str.c + M /trunk/set_str_raw.c - * tests/Makefile.am: added mpf_compat, mpfr_compat +changed back "unsigned char *" to "char *" - * tests/mpf_compat.c, tests/mpf_compat.h, tests/mpfr_compat.c: - test files for mpf-mpfr compatibility +------------------------------------------------------------------------ +r2277 | zimmerma | 2003-03-25 09:17:50 +0000 (Tue, 25 Mar 2003) | 3 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/set_str.c + M /trunk/set_str_raw.c - * set_str.c: added mpfr_init_set_str +char * -> const unsigned char * for mpfr_set_str, mpfr_set_str_raw, +and mpfr_init_set_str - * mpfr.h: added "const" to char* arg. of mpfr_init_set_str +------------------------------------------------------------------------ +r2276 | zimmerma | 2003-03-24 13:24:54 +0000 (Mon, 24 Mar 2003) | 2 lines +Changed paths: + M /trunk/get_ld.c - * mpf2mpfr.h: added macros for new mpfr functions - changed some old macros +removed unused variable - * tests/tpow3.c, pow.c: mpfr_isinteger -> mpfr_integer_p +------------------------------------------------------------------------ +r2275 | zimmerma | 2003-03-18 10:55:37 +0000 (Tue, 18 Mar 2003) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * mpfr.texi: - document new functions (fits_*, get_ui, get_si, get_d_2exp) - added integer_p that was not documented +fixed documentation bug in mpfr_log2 (exact results) - * mpfr.h: mpfr_isinteger -> mpfr_integer_p - new functions: mpfr_fits_*, mpfr_get_ui, mpfr_get_si, mpfr_get_d_2exp +------------------------------------------------------------------------ +r2274 | zimmerma | 2003-03-18 09:05:42 +0000 (Tue, 18 Mar 2003) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c - * log10.c, isinteger.c: mpfr_isinteger -> mpfr_integer_p +changed new test in 'check4' style - * get_d.c: added mpfr_get_d_2exp +------------------------------------------------------------------------ +r2273 | lefevre | 2003-03-17 02:08:03 +0000 (Mon, 17 Mar 2003) | 2 lines +Changed paths: + M /trunk/BUGS + M /trunk/mpfr.texi - * frac.c, exp2.c: mpfr_isinteger -> mpfr_integer_p +Update concerning underflow problems. - * Makefile.am: new functions mpfr_fits_* and mpfr_get_ui/si +------------------------------------------------------------------------ +r2272 | ryde | 2003-03-17 00:20:46 +0000 (Mon, 17 Mar 2003) | 2 lines +Changed paths: + M /trunk/tests/tpow.c - * fits_s.h, fits_sint.c, fits_slong.c, fits_sshort.c, fits_u.h, fits_uint.c, fits_ulong.c, fits_ushort.c, get_si.c, get_ui.c: - new functions mpfr_fits_* and mpfr_get_[us]i +(main): Comment out underflows(), until it works. -2003-01-27 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2271 | ryde | 2003-03-17 00:04:41 +0000 (Mon, 17 Mar 2003) | 3 lines +Changed paths: + M /trunk/get_z_exp.c - * tests/tset_str.c: check for +/-0.0 after variable set to NaN +Comment out an assert tickled for an f with exponent +near MPFR_EMIN_MIN. -2003-01-25 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2270 | ryde | 2003-03-16 23:32:38 +0000 (Sun, 16 Mar 2003) | 7 lines +Changed paths: + M /trunk/mpfr-impl.h + +(LONGDOUBLE_NAN_ACTION): New version for IEEE quad big +endian, fixing HP cc. +(WANT_LONGDOUBLE_VOLATILE): New define for when LONGDOUBLE_VOLATILE is +wanted. +(WANT_GMPFR_LONGDOUBLE_VOLATILE): New define for when +__gmpfr_longdouble_volatile is wanted. + +------------------------------------------------------------------------ +r2269 | ryde | 2003-03-16 23:32:05 +0000 (Sun, 16 Mar 2003) | 2 lines +Changed paths: + M /trunk/volatile.c - * acinclude.m4: - Suppressed the underscores of AC_CHECK_LIBM in comments, otherwise - aclocal 1.4-p6 includes libtool code in aclocal.m4 and this leads - to compilation problems. +Use WANT_GMPFR_LONGDOUBLE_VOLATILE. -2003-01-25 Kevin Ryde <user42@zip.com.au> +------------------------------------------------------------------------ +r2268 | ryde | 2003-03-16 23:29:27 +0000 (Sun, 16 Mar 2003) | 3 lines +Changed paths: + M /trunk/acinclude.m4 - * mpfr.h (_MPFR_H_HAVE_FILE): Copy FILE define tests from gmp.h, adds - Borland, Microsoft and Apple MPW. +(MPFR_C_LONG_DOUBLE_FORMAT): Add IEEE quad big endian, +check long double exists before testing. - * Makefile.am (libmpfr_a_SOURCES): Add volatile.c. +------------------------------------------------------------------------ +r2267 | lefevre | 2003-03-14 11:55:34 +0000 (Fri, 14 Mar 2003) | 2 lines +Changed paths: + M /trunk/tests/tpow.c - * volatile.c: New file. +Added underflow test showing a bug in mpfr_pow. - * tests/tset_ld.c (Isnan_ld): - New function based on LONGDOUBLE_NAN_ACTION, use it - instead of LONGDOUBLE_ISNAN. +------------------------------------------------------------------------ +r2266 | zimmerma | 2003-03-14 08:22:36 +0000 (Fri, 14 Mar 2003) | 2 lines +Changed paths: + M /trunk/pow.c - * mpfr-test.h (LONGDOUBLE_ISNAN): Remove. +fixed bug for x=1 - * set_ld.c (LONGDOUBLE_ISNAN): - Remove this, use LONGDOUBLE_NAN_ACTION instead. +------------------------------------------------------------------------ +r2265 | lefevre | 2003-03-14 01:50:48 +0000 (Fri, 14 Mar 2003) | 3 lines +Changed paths: + M /trunk/BUGS + M /trunk/pow.c - * mpfr-impl.h (LONGDOUBLE_NAN_ACTION): New macro. +This wasn't a compiler bug; mpfr_pow is really buggy. +Added some asserts to show that. -2003-01-24 Kevin Ryde <user42@zip.com.au> +------------------------------------------------------------------------ +r2264 | lefevre | 2003-03-14 01:12:44 +0000 (Fri, 14 Mar 2003) | 5 lines +Changed paths: + M /trunk/BUGS + M /trunk/tests/tpow.c - * set_str.c: Allow "e" exponent in base<=10 not <10. Restrict "E" - exponent to base<=10 too, since digits are not case sensitive. +The infinite loop concerning 1^0.5 was probably due to a bug in the +compiler [cc (GCC) 3.2.3 20030309 (Debian prerelease)]: adding some +printf's changes the values of the variables and the correct result +is returned. -2003-01-24 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2263 | zimmerma | 2003-03-13 17:11:52 +0000 (Thu, 13 Mar 2003) | 2 lines +Changed paths: + M /trunk/tests/tpow.c - * tests/tcmp2.c, tests/tconst_log2.c, tests/tdiv.c, tests/tdiv_ui.c, tests/teq.c, tests/texceptions.c, tests/texp.c, tests/tgeneric.c, tests/tget_d.c, tests/tget_str.c, tests/thyperbolic.c, tests/tlog.c, tests/tmul_ui.c, tests/tout_str.c, tests/tpow.c, tests/trandom.c, tests/tset_ld.c, tests/tset_q.c, tests/tset_z.c, tests/tsqrt.c, tests/tsqrt_ui.c, tests/tsub.c, tests/tsub_ui.c, tests/tui_div.c, tests/tabs.c, tests/tatan.c: - Prototypes: use static. Some code reformatting. +fixed sign problem in particular_cases() - * set_str.c: The sign wasn't set when the result was zero. +------------------------------------------------------------------------ +r2262 | zimmerma | 2003-03-13 17:10:45 +0000 (Thu, 13 Mar 2003) | 2 lines +Changed paths: + M /trunk/ui_pow.c -2003-01-24 Kevin Ryde <user42@zip.com.au> +declared mpfr_ui_pow_is_exact as static - * set_str.c: - Reject "", "+" and "-", also fixing an attempt to allocate a 0 length - block in these cases. +------------------------------------------------------------------------ +r2261 | zimmerma | 2003-03-13 17:10:02 +0000 (Thu, 13 Mar 2003) | 2 lines +Changed paths: + M /trunk/pow.c + M /trunk/pow_si.c + +gnu-style - * set_str.c: Clear NAN and INF flags when setting result to zero. +------------------------------------------------------------------------ +r2260 | lefevre | 2003-03-13 00:26:48 +0000 (Thu, 13 Mar 2003) | 4 lines +Changed paths: + M /trunk/tests/tpow3.c + +Removed some useless and inaccurate tests on NaN, infinities, zeros +(as the behavior of mpfr_pow on such particular cases has changed); +similar tests were added to "tests/tpow.c". + +------------------------------------------------------------------------ +r2259 | lefevre | 2003-03-13 00:15:19 +0000 (Thu, 13 Mar 2003) | 2 lines +Changed paths: + M /trunk/BUGS + M /trunk/tests/tpow.c + +Test of mpfr_pow: particular cases. Bugs. + +------------------------------------------------------------------------ +r2258 | lefevre | 2003-03-12 18:19:59 +0000 (Wed, 12 Mar 2003) | 2 lines +Changed paths: + M /trunk/pow.c + M /trunk/tests/tpow3.c + +Special cases for mpfr_pow(). -2003-01-24 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2257 | zimmerma | 2003-03-11 17:32:46 +0000 (Tue, 11 Mar 2003) | 2 lines +Changed paths: + M /trunk/out_str.c - * tests/tadd.c, tests/tadd_ui.c, tests/tagm.c, tests/tcos.c, tests/tmul.c, tests/tsin.c, tests/tsin_cos.c, tests/tsub_ui.c, tests/ttan.c, tests/tui_sub.c: - Fixed prototypes (use static...). +when stream=NULL, use stdout (as indicated in the documentation) - * tests/tcbrt.c: Missing #include. +------------------------------------------------------------------------ +r2256 | lefevre | 2003-03-03 06:04:29 +0000 (Mon, 03 Mar 2003) | 2 lines +Changed paths: + M /trunk/sin.c -2003-01-23 Paul Zimmermann <Paul.Zimmermann@loria.fr> +mpfr_sin_sign -> static. - * tests/tget_d.c: workaround for gcc bug on m68040-unknown-netbsd1.4.1 +------------------------------------------------------------------------ +r2255 | lefevre | 2003-03-03 06:03:24 +0000 (Mon, 03 Mar 2003) | 2 lines +Changed paths: + M /trunk/pow.c - * tests/tget_d.c: added cast to double +Useless declaration removed. -2003-01-23 Kevin Ryde <user42@zip.com.au> +------------------------------------------------------------------------ +r2254 | lefevre | 2003-03-03 05:51:30 +0000 (Mon, 03 Mar 2003) | 3 lines +Changed paths: + M /trunk/pow.c - * tests/tadd.c: - Use mpfr_set_nan and mpfr_set_inf for NaN and Inf tests, - not "double" nans and infs. +Special cases for mpfr_pow: like Section F.9.4.4 of the +ISO C99 standard. -2003-01-22 Kevin Ryde <user42@zip.com.au> +------------------------------------------------------------------------ +r2253 | lefevre | 2003-03-03 05:14:18 +0000 (Mon, 03 Mar 2003) | 2 lines +Changed paths: + M /trunk/pow.c - * tests/tmul.c, tests/tui_sub.c, tests/tsub_ui.c, tests/tadd_ui.c: - Use mpfr_set_nan and mpfr_set_inf for NaN and Inf tests, - not "double" nans and infs. +Prototype fixed. - * tests/tgamma.c, tests/tdiv.c, tests/tui_div.c, tests/tzeta.c, tests/tsqrt.c: - Use tests_start_mpfr / tests_end_mpfr. +------------------------------------------------------------------------ +r2252 | lefevre | 2003-02-27 10:20:34 +0000 (Thu, 27 Feb 2003) | 3 lines +Changed paths: + M /trunk/mpfr.texi + M /trunk/set_str.c + M /trunk/tests/tset_str.c + +mpfr_set_str now accepts a binary exponent for base 16 +(as defined by the ISO C99 standard). - * tests/tout_str.c: Use tests_start_mpfr / tests_end_mpfr. - (check_large): Use __gmp_free_func to free mpfr_get_str result. +------------------------------------------------------------------------ +r2251 | lefevre | 2003-02-27 05:32:01 +0000 (Thu, 27 Feb 2003) | 2 lines +Changed paths: + M /trunk/TODO - * tests/tget_d.c, tests/tcbrt.c: Use tests_start_mpfr / tests_end_mpfr. +Comment concerning the installation of MPFR: done. - * tests/tsin_cos.c: - Use mpfr_set_nan and mpfr_set_inf for NaN and Inf tests, - not "double" nans and infs. Use tests_start_mpfr / tests_end_mpfr. +------------------------------------------------------------------------ +r2250 | lefevre | 2003-02-27 05:18:56 +0000 (Thu, 27 Feb 2003) | 2 lines +Changed paths: + M /trunk/INSTALL + M /trunk/mpfr.texi - * tests/tagm.c: - Use mpfr_set_nan and mpfr_set_inf for NaN and Inf tests, - not "double" nans and infs. +New recommendation to install MPFR. - * tests/tsqrt.c: - Remove tests involving "double" nans and infs, covered by check_nan. +------------------------------------------------------------------------ +r2249 | hanrot | 2003-02-24 12:32:56 +0000 (Mon, 24 Feb 2003) | 2 lines +Changed paths: + M /trunk/dump.c + M /trunk/get_str.c + M /trunk/out_str.c + M /trunk/print_raw.c + M /trunk/set_str.c + M /trunk/tests/tget_str.c + M /trunk/tests/tset_str.c - * tests/tsin.c, tests/tcos.c, tests/ttan.c: - Use mpfr_set_nan and mpfr_set_inf for NaN and Inf tests, - not "double" nans and infs. +Replaced NaN, Inf by @NaN@, @Inf@ [for bases > 24]. -2003-01-18 Kevin Ryde <user42@zip.com.au> +------------------------------------------------------------------------ +r2248 | zimmerma | 2003-02-21 15:06:24 +0000 (Fri, 21 Feb 2003) | 2 lines +Changed paths: + M /trunk/tests/thypot.c - * Makefile.am: - Move log_b2.h from include_HEADERS to libmpfr_a_SOURCES, it doesn't - want to be installed. +added one test + +------------------------------------------------------------------------ +r2247 | lefevre | 2003-02-21 15:04:06 +0000 (Fri, 21 Feb 2003) | 2 lines +Changed paths: + M /trunk/get_ui.c + +Fixed cast (though unnecessary). + +------------------------------------------------------------------------ +r2246 | zimmerma | 2003-02-21 13:07:46 +0000 (Fri, 21 Feb 2003) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c + +added one test + +------------------------------------------------------------------------ +r2245 | zimmerma | 2003-02-13 15:31:51 +0000 (Thu, 13 Feb 2003) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am + +added mpf_compat, mpfr_compat + +------------------------------------------------------------------------ +r2244 | zimmerma | 2003-02-13 15:30:41 +0000 (Thu, 13 Feb 2003) | 2 lines +Changed paths: + A /trunk/tests/mpf_compat.c + A /trunk/tests/mpf_compat.h + A /trunk/tests/mpfr_compat.c + +test files for mpf-mpfr compatibility + +------------------------------------------------------------------------ +r2243 | zimmerma | 2003-02-13 15:29:27 +0000 (Thu, 13 Feb 2003) | 2 lines +Changed paths: + M /trunk/set_str.c + +added mpfr_init_set_str + +------------------------------------------------------------------------ +r2242 | zimmerma | 2003-02-13 14:50:37 +0000 (Thu, 13 Feb 2003) | 2 lines +Changed paths: + M /trunk/mpfr.h + +added "const" to char* arg. of mpfr_init_set_str + +------------------------------------------------------------------------ +r2241 | zimmerma | 2003-02-13 14:49:47 +0000 (Thu, 13 Feb 2003) | 3 lines +Changed paths: + M /trunk/mpf2mpfr.h + +added macros for new mpfr functions +changed some old macros + +------------------------------------------------------------------------ +r2240 | zimmerma | 2003-02-13 08:57:19 +0000 (Thu, 13 Feb 2003) | 2 lines +Changed paths: + M /trunk/exp2.c + M /trunk/frac.c + M /trunk/isinteger.c + M /trunk/log10.c + M /trunk/pow.c + M /trunk/tests/tpow3.c + +mpfr_isinteger -> mpfr_integer_p + +------------------------------------------------------------------------ +r2239 | zimmerma | 2003-02-13 08:56:34 +0000 (Thu, 13 Feb 2003) | 3 lines +Changed paths: + M /trunk/mpfr.texi + +document new functions (fits_*, get_ui, get_si, get_d_2exp) +added integer_p that was not documented + +------------------------------------------------------------------------ +r2238 | zimmerma | 2003-02-13 08:55:23 +0000 (Thu, 13 Feb 2003) | 3 lines +Changed paths: + M /trunk/mpfr.h - * set_str.c: - Correction to memory leak fix, need "result" for final rounding. +mpfr_isinteger -> mpfr_integer_p +new functions: mpfr_fits_*, mpfr_get_ui, mpfr_get_si, mpfr_get_d_2exp + +------------------------------------------------------------------------ +r2237 | zimmerma | 2003-02-13 08:53:54 +0000 (Thu, 13 Feb 2003) | 2 lines +Changed paths: + M /trunk/get_d.c -2003-01-17 Kevin Ryde <user42@zip.com.au> +added mpfr_get_d_2exp - * set_str.c: Fix two memory leaks. +------------------------------------------------------------------------ +r2236 | zimmerma | 2003-02-13 08:52:15 +0000 (Thu, 13 Feb 2003) | 2 lines +Changed paths: + M /trunk/Makefile.am + +new functions mpfr_fits_* and mpfr_get_ui/si + +------------------------------------------------------------------------ +r2235 | zimmerma | 2003-02-13 08:51:29 +0000 (Thu, 13 Feb 2003) | 2 lines +Changed paths: + A /trunk/fits_s.h + A /trunk/fits_sint.c + A /trunk/fits_slong.c + A /trunk/fits_sshort.c + A /trunk/fits_u.h + A /trunk/fits_uint.c + A /trunk/fits_ulong.c + A /trunk/fits_ushort.c + A /trunk/get_si.c + A /trunk/get_ui.c + +new functions mpfr_fits_* and mpfr_get_[us]i + +------------------------------------------------------------------------ +r2234 | zimmerma | 2003-01-27 10:13:37 +0000 (Mon, 27 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/tset_str.c + +check for +/-0.0 after variable set to NaN + +------------------------------------------------------------------------ +r2233 | lefevre | 2003-01-25 02:44:06 +0000 (Sat, 25 Jan 2003) | 4 lines +Changed paths: + M /trunk/acinclude.m4 + +Suppressed the underscores of AC_CHECK_LIBM in comments, otherwise +aclocal 1.4-p6 includes libtool code in aclocal.m4 and this leads +to compilation problems. + +------------------------------------------------------------------------ +r2232 | ryde | 2003-01-25 00:44:05 +0000 (Sat, 25 Jan 2003) | 3 lines +Changed paths: + M /trunk/mpfr.h + +(_MPFR_H_HAVE_FILE): Copy FILE define tests from gmp.h, adds +Borland, Microsoft and Apple MPW. + +------------------------------------------------------------------------ +r2231 | ryde | 2003-01-25 00:28:59 +0000 (Sat, 25 Jan 2003) | 2 lines +Changed paths: + M /trunk/Makefile.am + +(libmpfr_a_SOURCES): Add volatile.c. + +------------------------------------------------------------------------ +r2230 | ryde | 2003-01-25 00:28:30 +0000 (Sat, 25 Jan 2003) | 2 lines +Changed paths: + A /trunk/volatile.c + +New file. + +------------------------------------------------------------------------ +r2229 | ryde | 2003-01-25 00:28:04 +0000 (Sat, 25 Jan 2003) | 3 lines +Changed paths: + M /trunk/tests/tset_ld.c + +(Isnan_ld): New function based on LONGDOUBLE_NAN_ACTION, use it +instead of LONGDOUBLE_ISNAN. + +------------------------------------------------------------------------ +r2228 | ryde | 2003-01-25 00:21:21 +0000 (Sat, 25 Jan 2003) | 2 lines +Changed paths: + M /trunk/mpfr-test.h + +(LONGDOUBLE_ISNAN): Remove. + +------------------------------------------------------------------------ +r2227 | ryde | 2003-01-25 00:21:02 +0000 (Sat, 25 Jan 2003) | 2 lines +Changed paths: + M /trunk/set_ld.c + +(LONGDOUBLE_ISNAN): Remove this, use LONGDOUBLE_NAN_ACTION instead. + +------------------------------------------------------------------------ +r2226 | ryde | 2003-01-25 00:20:07 +0000 (Sat, 25 Jan 2003) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +(LONGDOUBLE_NAN_ACTION): New macro. + +------------------------------------------------------------------------ +r2225 | ryde | 2003-01-24 21:47:56 +0000 (Fri, 24 Jan 2003) | 3 lines +Changed paths: + M /trunk/set_str.c + +Allow "e" exponent in base<=10 not <10. Restrict "E" +exponent to base<=10 too, since digits are not case sensitive. + +------------------------------------------------------------------------ +r2224 | lefevre | 2003-01-24 19:08:07 +0000 (Fri, 24 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/tabs.c + M /trunk/tests/tatan.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/teq.c + M /trunk/tests/texceptions.c + M /trunk/tests/texp.c + M /trunk/tests/tgeneric.c + M /trunk/tests/tget_d.c + M /trunk/tests/tget_str.c + M /trunk/tests/thyperbolic.c + M /trunk/tests/tlog.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tout_str.c + M /trunk/tests/tpow.c + M /trunk/tests/trandom.c + M /trunk/tests/tset_ld.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tui_div.c + +Prototypes: use static. Some code reformatting. + +------------------------------------------------------------------------ +r2223 | lefevre | 2003-01-24 16:49:54 +0000 (Fri, 24 Jan 2003) | 2 lines +Changed paths: + M /trunk/set_str.c + +The sign wasn't set when the result was zero. + +------------------------------------------------------------------------ +r2222 | ryde | 2003-01-24 16:17:04 +0000 (Fri, 24 Jan 2003) | 3 lines +Changed paths: + M /trunk/set_str.c + +Reject "", "+" and "-", also fixing an attempt to allocate a 0 length +block in these cases. + +------------------------------------------------------------------------ +r2221 | ryde | 2003-01-24 16:03:35 +0000 (Fri, 24 Jan 2003) | 2 lines +Changed paths: + M /trunk/set_str.c + +Clear NAN and INF flags when setting result to zero. + +------------------------------------------------------------------------ +r2220 | lefevre | 2003-01-24 11:29:42 +0000 (Fri, 24 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tcos.c + M /trunk/tests/tmul.c + M /trunk/tests/tsin.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/ttan.c + M /trunk/tests/tui_sub.c + +Fixed prototypes (use static...). + +------------------------------------------------------------------------ +r2219 | lefevre | 2003-01-24 11:28:34 +0000 (Fri, 24 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/tcbrt.c + +Missing #include. + +------------------------------------------------------------------------ +r2218 | zimmerma | 2003-01-23 13:16:00 +0000 (Thu, 23 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/tget_d.c + +workaround for gcc bug on m68040-unknown-netbsd1.4.1 + +------------------------------------------------------------------------ +r2217 | zimmerma | 2003-01-23 12:41:31 +0000 (Thu, 23 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/tget_d.c + +added cast to double + +------------------------------------------------------------------------ +r2216 | ryde | 2003-01-23 00:00:29 +0000 (Thu, 23 Jan 2003) | 3 lines +Changed paths: + M /trunk/tests/tadd.c + +Use mpfr_set_nan and mpfr_set_inf for NaN and Inf tests, +not "double" nans and infs. + +------------------------------------------------------------------------ +r2215 | ryde | 2003-01-22 23:40:43 +0000 (Wed, 22 Jan 2003) | 3 lines +Changed paths: + M /trunk/tests/tmul.c + +Use mpfr_set_nan and mpfr_set_inf for NaN and Inf tests, +not "double" nans and infs. + +------------------------------------------------------------------------ +r2214 | ryde | 2003-01-22 23:32:19 +0000 (Wed, 22 Jan 2003) | 3 lines +Changed paths: + M /trunk/tests/tadd_ui.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tui_sub.c + +Use mpfr_set_nan and mpfr_set_inf for NaN and Inf tests, +not "double" nans and infs. + +------------------------------------------------------------------------ +r2213 | ryde | 2003-01-22 22:59:46 +0000 (Wed, 22 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c + M /trunk/tests/tgamma.c + +Use tests_start_mpfr / tests_end_mpfr. + +------------------------------------------------------------------------ +r2212 | ryde | 2003-01-22 22:39:38 +0000 (Wed, 22 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/tcbrt.c + M /trunk/tests/tget_d.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tui_div.c + M /trunk/tests/tzeta.c + +Use tests_start_mpfr / tests_end_mpfr. + +------------------------------------------------------------------------ +r2211 | ryde | 2003-01-22 22:34:54 +0000 (Wed, 22 Jan 2003) | 3 lines +Changed paths: + M /trunk/tests/tout_str.c + +Use tests_start_mpfr / tests_end_mpfr. +(check_large): Use __gmp_free_func to free mpfr_get_str result. + +------------------------------------------------------------------------ +r2210 | ryde | 2003-01-22 22:27:46 +0000 (Wed, 22 Jan 2003) | 3 lines +Changed paths: + M /trunk/tests/tsin_cos.c + +Use mpfr_set_nan and mpfr_set_inf for NaN and Inf tests, +not "double" nans and infs. Use tests_start_mpfr / tests_end_mpfr. + +------------------------------------------------------------------------ +r2209 | ryde | 2003-01-22 22:24:50 +0000 (Wed, 22 Jan 2003) | 3 lines +Changed paths: + M /trunk/tests/tagm.c + +Use mpfr_set_nan and mpfr_set_inf for NaN and Inf tests, +not "double" nans and infs. + +------------------------------------------------------------------------ +r2208 | ryde | 2003-01-22 22:18:09 +0000 (Wed, 22 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c - * tests/Makefile.am (LDADD): Add $(MPFR_LIBM). +Remove tests involving "double" nans and infs, covered by check_nan. - * configure.in: Remove -lm setups, now handled by MPFR_CHECK_LIBM. +------------------------------------------------------------------------ +r2207 | ryde | 2003-01-22 22:15:49 +0000 (Wed, 22 Jan 2003) | 3 lines +Changed paths: + M /trunk/tests/tcos.c + M /trunk/tests/tsin.c + M /trunk/tests/ttan.c - * acinclude.m4 (MPFR_CHECK_LIBM): New macro. - (MPFR_CONFIGS): Use it. +Use mpfr_set_nan and mpfr_set_inf for NaN and Inf tests, +not "double" nans and infs. -2003-01-17 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2206 | ryde | 2003-01-18 00:31:30 +0000 (Sat, 18 Jan 2003) | 3 lines +Changed paths: + M /trunk/Makefile.am - * BUGS, NEWS, README, TODO, acinclude.m4: - added copyright notices and license statements +Move log_b2.h from include_HEADERS to libmpfr_a_SOURCES, it doesn't +want to be installed. - * tests/tcmp2.c: - now use __gmpfr_floor_log2 instead of floor/log to get rid of math.h +------------------------------------------------------------------------ +r2205 | ryde | 2003-01-18 00:14:32 +0000 (Sat, 18 Jan 2003) | 2 lines +Changed paths: + M /trunk/set_str.c - * tests/tagm.c: removed unused function dagm(), and get rid of math.h - added tests for NaN, Inf's +Correction to memory leak fix, need "result" for final rounding. -2003-01-17 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2204 | ryde | 2003-01-17 23:50:10 +0000 (Fri, 17 Jan 2003) | 2 lines +Changed paths: + M /trunk/set_str.c + +Fix two memory leaks. + +------------------------------------------------------------------------ +r2203 | ryde | 2003-01-17 23:08:05 +0000 (Fri, 17 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am - * acinclude.m4: - Re-added $OBJEXT, using AC_REQUIRE([AC_OBJEXT]) for old autoconf. +(LDADD): Add $(MPFR_LIBM). + +------------------------------------------------------------------------ +r2202 | ryde | 2003-01-17 23:00:42 +0000 (Fri, 17 Jan 2003) | 2 lines +Changed paths: + M /trunk/configure.in + +Remove -lm setups, now handled by MPFR_CHECK_LIBM. + +------------------------------------------------------------------------ +r2201 | ryde | 2003-01-17 22:59:51 +0000 (Fri, 17 Jan 2003) | 3 lines +Changed paths: + M /trunk/acinclude.m4 + +(MPFR_CHECK_LIBM): New macro. +(MPFR_CONFIGS): Use it. + +------------------------------------------------------------------------ +r2200 | zimmerma | 2003-01-17 14:59:48 +0000 (Fri, 17 Jan 2003) | 2 lines +Changed paths: + M /trunk/BUGS + M /trunk/NEWS + M /trunk/README + M /trunk/TODO + M /trunk/acinclude.m4 + +added copyright notices and license statements + +------------------------------------------------------------------------ +r2199 | zimmerma | 2003-01-17 08:58:45 +0000 (Fri, 17 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/tcmp2.c + +now use __gmpfr_floor_log2 instead of floor/log to get rid of math.h + +------------------------------------------------------------------------ +r2198 | zimmerma | 2003-01-17 08:52:49 +0000 (Fri, 17 Jan 2003) | 3 lines +Changed paths: + M /trunk/tests/tagm.c + +removed unused function dagm(), and get rid of math.h +added tests for NaN, Inf's + +------------------------------------------------------------------------ +r2197 | lefevre | 2003-01-17 00:55:13 +0000 (Fri, 17 Jan 2003) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + +Re-added $OBJEXT, using AC_REQUIRE([AC_OBJEXT]) for old autoconf. + +------------------------------------------------------------------------ +r2196 | zimmerma | 2003-01-16 17:46:17 +0000 (Thu, 16 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/tcmp2.c + +put back math.h + +------------------------------------------------------------------------ +r2195 | zimmerma | 2003-01-16 17:44:13 +0000 (Thu, 16 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/tagm.c + +added back math.h (for sqrt) + +------------------------------------------------------------------------ +r2194 | zimmerma | 2003-01-16 17:32:19 +0000 (Thu, 16 Jan 2003) | 2 lines +Changed paths: + M /trunk/Makefile.am + +added log_b2.h in include_HEADERS + +------------------------------------------------------------------------ +r2193 | zimmerma | 2003-01-16 17:28:18 +0000 (Thu, 16 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am + +added tsin_cos + +------------------------------------------------------------------------ +r2192 | zimmerma | 2003-01-16 17:23:25 +0000 (Thu, 16 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + +added #ifdef HAVE_DENORMS for denormalized test + +------------------------------------------------------------------------ +r2191 | zimmerma | 2003-01-16 17:18:07 +0000 (Thu, 16 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/tcmp2.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/teq.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tout_str.c + M /trunk/tests/tset.c + M /trunk/tests/tsub.c + +removed math.h + +------------------------------------------------------------------------ +r2190 | zimmerma | 2003-01-16 17:13:43 +0000 (Thu, 16 Jan 2003) | 3 lines +Changed paths: + M /trunk/tests/tadd.c + M /trunk/tests/tcmp.c + M /trunk/tests/tcos.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/texp.c + M /trunk/tests/tlog.c + M /trunk/tests/tmul.c + M /trunk/tests/tset_d.c + M /trunk/tests/tsin.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tsub_ui.c + +added year 2003 in copyright line +removed math.h + +------------------------------------------------------------------------ +r2189 | zimmerma | 2003-01-16 17:01:07 +0000 (Thu, 16 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/tadd_ui.c + M /trunk/tests/ttan.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_sub.c + +added 2003, removed math.h + +------------------------------------------------------------------------ +r2188 | zimmerma | 2003-01-16 16:58:56 +0000 (Thu, 16 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/memory.c + M /trunk/tests/tabs.c + M /trunk/tests/tset_str.c + +added 2003 + +------------------------------------------------------------------------ +r2187 | zimmerma | 2003-01-16 16:57:37 +0000 (Thu, 16 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/tagm.c + M /trunk/tests/trandom.c + +removed math.h + +------------------------------------------------------------------------ +r2186 | zimmerma | 2003-01-16 16:52:51 +0000 (Thu, 16 Jan 2003) | 3 lines +Changed paths: + M /trunk/tests/tget_str.c + +added year 2003 +removed math.h + +------------------------------------------------------------------------ +r2185 | zimmerma | 2003-01-16 16:40:46 +0000 (Thu, 16 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + +patch for compiler bug on hppa2.0w-hp-hpux11.11 + +------------------------------------------------------------------------ +r2184 | lefevre | 2003-01-16 16:33:05 +0000 (Thu, 16 Jan 2003) | 2 lines +Changed paths: + M /trunk/set_ld.c + +Macro LONGDOUBLE_ISNAN wasn't defined. + +------------------------------------------------------------------------ +r2183 | zimmerma | 2003-01-16 16:04:04 +0000 (Thu, 16 Jan 2003) | 2 lines +Changed paths: + M /trunk/mpfr-test.h + +now always define Isnan + +------------------------------------------------------------------------ +r2182 | zimmerma | 2003-01-16 16:03:34 +0000 (Thu, 16 Jan 2003) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +moved LONGDOUBLE_ISNAN to mpfr-test.h + +------------------------------------------------------------------------ +r2181 | zimmerma | 2003-01-16 16:03:04 +0000 (Thu, 16 Jan 2003) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + +removed check from isnan + +------------------------------------------------------------------------ +r2180 | zimmerma | 2003-01-16 16:01:55 +0000 (Thu, 16 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/tabs.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tcmp.c + M /trunk/tests/tcos.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/tests.c + M /trunk/tests/texp.c + M /trunk/tests/tlog.c + M /trunk/tests/tmul.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_ld.c + M /trunk/tests/tsin.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/ttan.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_sub.c + +replaced isnan() by Isnan() + +------------------------------------------------------------------------ +r2179 | lefevre | 2003-01-16 13:58:55 +0000 (Thu, 16 Jan 2003) | 3 lines +Changed paths: + M /trunk/acinclude.m4 + +AC_PREREQ(2.50) added (useful when both autoconf 2.13 and autoconf +2.50 are installed, with a wrapper to select the required version). + +------------------------------------------------------------------------ +r2178 | lefevre | 2003-01-16 13:30:03 +0000 (Thu, 16 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/tests.c + +Comment in mpfr_test_init: s/preprocessor/compiler/. + +------------------------------------------------------------------------ +r2177 | zimmerma | 2003-01-16 13:26:53 +0000 (Thu, 16 Jan 2003) | 3 lines +Changed paths: + M /trunk/tests/tests.c + +fixed pb in mpfr_test_init with the compiler optimizing too much +(this happened on Alpha with -O1 or higher) + +------------------------------------------------------------------------ +r2176 | lefevre | 2003-01-15 20:43:58 +0000 (Wed, 15 Jan 2003) | 2 lines +Changed paths: + M /trunk/zeta.c + +Standard prototype only. Particular cases added. + +------------------------------------------------------------------------ +r2175 | zimmerma | 2003-01-15 17:29:10 +0000 (Wed, 15 Jan 2003) | 2 lines +Changed paths: + M /trunk/get_str.c + M /trunk/set_str.c + +moved common prototype for mpn_exp in mpfr-impl.h + +------------------------------------------------------------------------ +r2174 | zimmerma | 2003-01-15 17:28:33 +0000 (Wed, 15 Jan 2003) | 3 lines +Changed paths: + M /trunk/mpfr-impl.h + +removed spurious ; after MPFR_ESIZE +added prototype for mpn_exp + +------------------------------------------------------------------------ +r2173 | zimmerma | 2003-01-15 17:17:17 +0000 (Wed, 15 Jan 2003) | 2 lines +Changed paths: + M /trunk/TODO + +removed items done + +------------------------------------------------------------------------ +r2172 | zimmerma | 2003-01-15 17:14:32 +0000 (Wed, 15 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/tset_str.c + +new tests from Alain Delplanque + +------------------------------------------------------------------------ +r2171 | zimmerma | 2003-01-15 17:13:50 +0000 (Wed, 15 Jan 2003) | 3 lines +Changed paths: + M /trunk/set_str.c + +new version using mpn_set_str +[written by Alain Delplanque, edited by Paul Zimmermann] + +------------------------------------------------------------------------ +r2170 | lefevre | 2003-01-15 13:05:06 +0000 (Wed, 15 Jan 2003) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + +Replace $OBJEXT by o (as $OBJEXT isn't defined everywhere). + +------------------------------------------------------------------------ +r2169 | lefevre | 2003-01-15 12:50:13 +0000 (Wed, 15 Jan 2003) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + +A ` must be quoted to avoid an error with Autoconf 2.13. + +------------------------------------------------------------------------ +r2168 | lefevre | 2003-01-15 11:40:35 +0000 (Wed, 15 Jan 2003) | 2 lines +Changed paths: + M /trunk/gamma.c -2003-01-16 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Use type mp_prec_t for precisions. - * tests/tcmp2.c: put back math.h +------------------------------------------------------------------------ +r2167 | lefevre | 2003-01-15 11:29:46 +0000 (Wed, 15 Jan 2003) | 2 lines +Changed paths: + M /trunk/gamma.c - * tests/tagm.c: added back math.h (for sqrt) +Source re-indented. - * Makefile.am: added log_b2.h in include_HEADERS +------------------------------------------------------------------------ +r2166 | lefevre | 2003-01-15 11:22:26 +0000 (Wed, 15 Jan 2003) | 4 lines +Changed paths: + M /trunk/gamma.c - * tests/Makefile.am: added tsin_cos +Several bugs fixed concerning the particular cases. +<stdio.h> and <stdlib.h> not included by default. +int mpfr_gamma _PROTO ... removed (was useless). - * tests/tadd.c: added #ifdef HAVE_DENORMS for denormalized test +------------------------------------------------------------------------ +r2165 | zimmerma | 2003-01-15 09:54:12 +0000 (Wed, 15 Jan 2003) | 2 lines +Changed paths: + M /trunk/gamma.c - * tests/tcmp2.c, tests/tcmp_ui.c, tests/teq.c, tests/tmul_ui.c, tests/tout_str.c, tests/tset.c, tests/tsub.c: - removed math.h +get rid of ceil() call, that requires -lm - * tests/tset_d.c, tests/tsin.c, tests/tsin_cos.c, tests/tsqrt.c, tests/tsqrt_ui.c, tests/tsub_ui.c, tests/tadd.c, tests/tcmp.c, tests/tcos.c, tests/tdiv.c, tests/tdiv_ui.c, tests/texp.c, tests/tlog.c, tests/tmul.c: - added year 2003 in copyright line - removed math.h +------------------------------------------------------------------------ +r2164 | ryde | 2003-01-14 23:02:26 +0000 (Tue, 14 Jan 2003) | 3 lines +Changed paths: + M /trunk/get_ld.c - * tests/ttan.c, tests/tui_div.c, tests/tui_sub.c: - added 2003, removed math.h +Force LDBL_MANT_DIG on IEEE extended, to avoid problems with +some i386 gcc. - * tests/tabs.c: added 2003 +------------------------------------------------------------------------ +r2163 | ryde | 2003-01-14 22:48:03 +0000 (Tue, 14 Jan 2003) | 2 lines +Changed paths: + M /trunk/set_ld.c - * tests/tadd_ui.c: added 2003, removed math.h +Avoid problems with bad LDBL_MAX and LDBL_MANT_DIG on some i386 gcc. - * tests/tagm.c: removed math.h +------------------------------------------------------------------------ +r2162 | ryde | 2003-01-14 22:43:24 +0000 (Tue, 14 Jan 2003) | 3 lines +Changed paths: + M /trunk/acinclude.m4 - * tests/tset_str.c, tests/memory.c: added 2003 +(MPFR_C_LONG_DOUBLE_FORMAT): New macro. +(MPFR_CONFIGS): Use it. - * tests/trandom.c: removed math.h +------------------------------------------------------------------------ +r2161 | lefevre | 2003-01-11 19:32:47 +0000 (Sat, 11 Jan 2003) | 3 lines +Changed paths: + M /trunk/tests/memory.c - * tests/tget_str.c: added year 2003 - removed math.h +Required casts added (and switch from uint to ulong); +in particular, useful on Alpha. - * tests/tadd.c: patch for compiler bug on hppa2.0w-hp-hpux11.11 +------------------------------------------------------------------------ +r2160 | ryde | 2003-01-10 21:42:53 +0000 (Fri, 10 Jan 2003) | 2 lines +Changed paths: + M /trunk/get_ld.c + M /trunk/set_ld.c + M /trunk/tests/texp2.c + M /trunk/tests/tpow.c + M /trunk/tests/trandom.c -2003-01-16 Vincent Lefevre <Vincent.Lefevre@loria.fr> +# Add a copyright year. - * set_ld.c: Macro LONGDOUBLE_ISNAN wasn't defined. +------------------------------------------------------------------------ +r2159 | ryde | 2003-01-10 21:31:31 +0000 (Fri, 10 Jan 2003) | 3 lines +Changed paths: + M /trunk/tests/trandom.c -2003-01-16 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Tolerate empty argv[1], which can arise from ancient bash executing +the libtool shared library wrapper script. - * mpfr-test.h: now always define Isnan +------------------------------------------------------------------------ +r2158 | ryde | 2003-01-10 20:59:19 +0000 (Fri, 10 Jan 2003) | 3 lines +Changed paths: + M /trunk/tests/tconst_pi.c - * mpfr-impl.h: moved LONGDOUBLE_ISNAN to mpfr-test.h +Tolerate empty argv[1], which can arise from ancient bash executing +the libtool shared library wrapper script. - * acinclude.m4: removed check from isnan +------------------------------------------------------------------------ +r2157 | ryde | 2003-01-10 15:39:03 +0000 (Fri, 10 Jan 2003) | 3 lines +Changed paths: + M /trunk/get_ld.c - * tests/tcmp.c, tests/tcos.c, tests/tdiv.c, tests/tdiv_ui.c, tests/tests.c, tests/texp.c, tests/tlog.c, tests/tmul.c, tests/tset_d.c, tests/tset_ld.c, tests/tsin.c, tests/tsin_cos.c, tests/tsqrt.c, tests/tsqrt_ui.c, tests/tsub_ui.c, tests/ttan.c, tests/tui_div.c, tests/tui_sub.c, tests/tabs.c, tests/tadd.c, tests/tadd_ui.c, tests/tagm.c: - replaced isnan() by Isnan() +Avoid unnecessary extra power of 2 squaring, so as not to provoke an +overflow exception when result is in range. -2003-01-16 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2156 | lefevre | 2003-01-10 13:41:42 +0000 (Fri, 10 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/tests.c - * acinclude.m4: - AC_PREREQ(2.50) added (useful when both autoconf 2.13 and autoconf - 2.50 are installed, with a wrapper to select the required version). +Extended precision detection fixed. - * tests/tests.c: Comment in mpfr_test_init: s/preprocessor/compiler/. +------------------------------------------------------------------------ +r2155 | zimmerma | 2003-01-09 14:06:37 +0000 (Thu, 09 Jan 2003) | 2 lines +Changed paths: + M /trunk/get_ld.c -2003-01-16 Paul Zimmermann <Paul.Zimmermann@loria.fr> +fixed possible overflow when EXP=1024 - * tests/tests.c: - fixed pb in mpfr_test_init with the compiler optimizing too much - (this happened on Alpha with -O1 or higher) +------------------------------------------------------------------------ +r2154 | zimmerma | 2003-01-09 14:05:30 +0000 (Thu, 09 Jan 2003) | 2 lines +Changed paths: + M /trunk/set_ld.c -2003-01-15 Vincent Lefevre <Vincent.Lefevre@loria.fr> +rewritten to avoid overflows - * zeta.c: Standard prototype only. Particular cases added. +------------------------------------------------------------------------ +r2153 | zimmerma | 2003-01-09 09:56:04 +0000 (Thu, 09 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/tpow.c -2003-01-15 Paul Zimmermann <Paul.Zimmermann@loria.fr> +added one test - * get_str.c, set_str.c: - moved common prototype for mpn_exp in mpfr-impl.h +------------------------------------------------------------------------ +r2152 | ryde | 2003-01-08 23:14:50 +0000 (Wed, 08 Jan 2003) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/tests/tests.c + M /trunk/tests/tset_ld.c - * mpfr-impl.h: removed spurious ; after MPFR_ESIZE - added prototype for mpn_exp +# Add a copyright year. - * TODO: removed items done +------------------------------------------------------------------------ +r2151 | ryde | 2003-01-08 23:09:51 +0000 (Wed, 08 Jan 2003) | 2 lines +Changed paths: + M /trunk/get_str.c + M /trunk/mpfr-test.h - * tests/tset_str.c: new tests from Alain Delplanque +#Add a copyright year. - * set_str.c: new version using mpn_set_str - [written by Alain Delplanque, edited by Paul Zimmermann] +------------------------------------------------------------------------ +r2150 | ryde | 2003-01-08 23:04:40 +0000 (Wed, 08 Jan 2003) | 3 lines +Changed paths: + M /trunk/get_str.c -2003-01-15 Vincent Lefevre <Vincent.Lefevre@loria.fr> +(mpn_exp): Don't store -1 in a uint then return it as a long. +Fixes systems such as alpha where sizeof(uint)!=sizeof(long). - * acinclude.m4: - Replace $OBJEXT by o (as $OBJEXT isn't defined everywhere). +------------------------------------------------------------------------ +r2149 | ryde | 2003-01-08 22:07:59 +0000 (Wed, 08 Jan 2003) | 2 lines +Changed paths: + M /trunk/acinclude.m4 - * acinclude.m4: - A ` must be quoted to avoid an error with Autoconf 2.13. +(AC_CHECK_HEADERS): Remove fpu_control.h, no longer required. - * gamma.c: Use type mp_prec_t for precisions. +------------------------------------------------------------------------ +r2148 | ryde | 2003-01-08 21:17:29 +0000 (Wed, 08 Jan 2003) | 3 lines +Changed paths: + M /trunk/tests/tset_ld.c - * gamma.c: Source re-indented. +Use tests_machine_prec_long_double. +Use LDBL_MAX for largest value and to find largest power of 2. - * gamma.c: Several bugs fixed concerning the particular cases. - <stdio.h> and <stdlib.h> not included by default. - int mpfr_gamma _PROTO ... removed (was useless). +------------------------------------------------------------------------ +r2147 | ryde | 2003-01-08 21:03:01 +0000 (Wed, 08 Jan 2003) | 4 lines +Changed paths: + M /trunk/mpfr-test.h -2003-01-15 Paul Zimmermann <Paul.Zimmermann@loria.fr> +(__setfpucw, _FPU_EXTENDED, etc): Remove these setups. +(tests_machine_prec_double, tests_machine_prec_long_double, +x86_fstcw, x86_fldcw): Add prototypes. - * gamma.c: get rid of ceil() call, that requires -lm +------------------------------------------------------------------------ +r2146 | ryde | 2003-01-08 21:00:32 +0000 (Wed, 08 Jan 2003) | 3 lines +Changed paths: + M /trunk/tests/tests.c -2003-01-14 Kevin Ryde <user42@zip.com.au> +(tests_machine_prec_double, tests_machine_prec_long_double): New functions. +(mpfr_test_init): Replace __setfpucw with tests_machine_prec_double. - * get_ld.c: - Force LDBL_MANT_DIG on IEEE extended, to avoid problems with - some i386 gcc. +------------------------------------------------------------------------ +r2145 | ryde | 2003-01-08 20:52:04 +0000 (Wed, 08 Jan 2003) | 2 lines +Changed paths: + M /trunk/acinclude.m4 - * set_ld.c: - Avoid problems with bad LDBL_MAX and LDBL_MANT_DIG on some i386 gcc. +(MPFR_CONFIGS): Add tests/x86.asm support. - * acinclude.m4 (MPFR_C_LONG_DOUBLE_FORMAT): New macro. - (MPFR_CONFIGS): Use it. +------------------------------------------------------------------------ +r2144 | ryde | 2003-01-08 20:48:47 +0000 (Wed, 08 Jan 2003) | 2 lines +Changed paths: + M /trunk/configure.in -2003-01-11 Vincent Lefevre <Vincent.Lefevre@loria.fr> +(X86_PATTERN): New define, supporting acinclude.m4. - * tests/memory.c: Required casts added (and switch from uint to ulong); - in particular, useful on Alpha. +------------------------------------------------------------------------ +r2143 | ryde | 2003-01-08 20:43:02 +0000 (Wed, 08 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am -2003-01-10 Kevin Ryde <user42@zip.com.au> +Add x86.asm support. - * tests/trandom.c, tests/tconst_pi.c: - Tolerate empty argv[1], which can arise from ancient bash executing - the libtool shared library wrapper script. +------------------------------------------------------------------------ +r2142 | ryde | 2003-01-08 20:35:33 +0000 (Wed, 08 Jan 2003) | 2 lines +Changed paths: + A /trunk/tests/x86.asm - * get_ld.c: - Avoid unnecessary extra power of 2 squaring, so as not to provoke an - overflow exception when result is in range. +New file. -2003-01-10 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2141 | zimmerma | 2003-01-07 10:31:43 +0000 (Tue, 07 Jan 2003) | 2 lines +Changed paths: + M /trunk/exp2.c - * tests/tests.c: Extended precision detection fixed. +fixed pb for underflow and rounding to nearest -2003-01-09 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2140 | zimmerma | 2003-01-07 09:25:47 +0000 (Tue, 07 Jan 2003) | 4 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/set_ld.c - * get_ld.c: fixed possible overflow when EXP=1024 +added macro LONGDOUBLE_ISNAN +use LONGDOUBLE_ISNAN in set_ld instead of cast to double and DOUBLE_ISNAN +(did raise exception under freebsd) - * set_ld.c: rewritten to avoid overflows +------------------------------------------------------------------------ +r2139 | lefevre | 2003-01-07 01:46:51 +0000 (Tue, 07 Jan 2003) | 4 lines +Changed paths: + M /trunk/exp2.c - * tests/tpow.c: added one test +Added assertions that can be resolved at compile time: the exponents +must be representable in a long int (IMHO, this limitation should be +avoided in a clean way). -2003-01-08 Kevin Ryde <user42@zip.com.au> +------------------------------------------------------------------------ +r2138 | ryde | 2003-01-06 21:56:38 +0000 (Mon, 06 Jan 2003) | 2 lines +Changed paths: + M /trunk/TODO - * get_str.c (mpn_exp): - Don't store -1 in a uint then return it as a long. - Fixes systems such as alpha where sizeof(uint)!=sizeof(long). +Remove mpfr_get_ld, done. - * acinclude.m4 (AC_CHECK_HEADERS): - Remove fpu_control.h, no longer required. +------------------------------------------------------------------------ +r2137 | ryde | 2003-01-06 21:53:01 +0000 (Mon, 06 Jan 2003) | 2 lines +Changed paths: + M /trunk/TODO + +Remove mpfr_set_machine_rnd_mode, done. + +------------------------------------------------------------------------ +r2136 | lefevre | 2003-01-06 21:48:33 +0000 (Mon, 06 Jan 2003) | 2 lines +Changed paths: + M /trunk/exp2.c + +Bug fix: __mpfr_emax -> __gmpfr_emax. + +------------------------------------------------------------------------ +r2135 | ryde | 2003-01-06 21:47:37 +0000 (Mon, 06 Jan 2003) | 3 lines +Changed paths: + M /trunk/set_str.c + +Use separate function calls to second strncasecmp and strncmp +for consistency and to avoid gcc warnings. + +------------------------------------------------------------------------ +r2134 | zimmerma | 2003-01-06 19:28:25 +0000 (Mon, 06 Jan 2003) | 2 lines +Changed paths: + M /trunk/exp2.c + M /trunk/tests/texp2.c + +fixed infinite loop for 2^integer + +------------------------------------------------------------------------ +r2133 | lefevre | 2003-01-06 10:30:52 +0000 (Mon, 06 Jan 2003) | 2 lines +Changed paths: + M /trunk/set_str.c + +Use digit_value_in_base for the part after the '.'. + +------------------------------------------------------------------------ +r2132 | lefevre | 2003-01-06 10:11:15 +0000 (Mon, 06 Jan 2003) | 2 lines +Changed paths: + M /trunk/set_str.c + +Static function digit_value_in_base is now compatible with any locale. + +------------------------------------------------------------------------ +r2131 | ryde | 2003-01-03 23:07:37 +0000 (Fri, 03 Jan 2003) | 3 lines +Changed paths: + M /trunk/mpfr-test.h + M /trunk/tests/tests.c + +(<sys/fpu.h>) [__mips]: Move from mpfr-test.h to tests/tests.c, +and conditionalize with HAVE_SYS_FPU_H. + +------------------------------------------------------------------------ +r2130 | ryde | 2003-01-03 23:03:35 +0000 (Fri, 03 Jan 2003) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + +(AC_CHECK_HEADERS): Add sys/fpu.h. + +------------------------------------------------------------------------ +r2129 | ryde | 2003-01-03 23:02:12 +0000 (Fri, 03 Jan 2003) | 2 lines +Changed paths: + M /trunk/mpfr-test.h + +(HAVE_DENORMS) [__mips]: Remove this, let the configure test decide. + +------------------------------------------------------------------------ +r2128 | ryde | 2003-01-03 21:47:20 +0000 (Fri, 03 Jan 2003) | 4 lines +Changed paths: + M /trunk/set_str.c + +Use separate function calls to strncasecmp and strncmp, rather than +?: on function pointers, since the latter demands declarations not +present on SunOS. Both forms are optimized the same by gcc. + +------------------------------------------------------------------------ +r2127 | lefevre | 2003-01-03 21:38:33 +0000 (Fri, 03 Jan 2003) | 2 lines +Changed paths: + M /trunk/BUGS + +Added some potential bugs (mpfr_exp2 is known to have such a bug). + +------------------------------------------------------------------------ +r2126 | ryde | 2003-01-02 23:48:32 +0000 (Thu, 02 Jan 2003) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c + M /trunk/tests/tset_str.c + +Add gmp-impl.h for __gmp_free_func. + +------------------------------------------------------------------------ +r2125 | lefevre | 2002-12-16 00:56:03 +0000 (Mon, 16 Dec 2002) | 15 lines +Changed paths: + M /trunk/acos.c + M /trunk/acosh.c + M /trunk/add1.c + M /trunk/add_one_ulp.c + M /trunk/agm.c + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atan.c + M /trunk/atanh.c + M /trunk/const_euler.c + M /trunk/const_log2.c + M /trunk/const_pi.c + M /trunk/cos.c + M /trunk/cosh.c + M /trunk/div_2si.c + M /trunk/div_2ui.c + M /trunk/exceptions.c + M /trunk/exp.c + M /trunk/exp2.c + M /trunk/exp3.c + M /trunk/exp_2.c + M /trunk/expm1.c + M /trunk/factorial.c + M /trunk/gamma.c + M /trunk/gammaPiAGMformula.c + M /trunk/get_d.c + M /trunk/get_str.c + M /trunk/get_z_exp.c + M /trunk/hypot.c + M /trunk/init.c + M /trunk/log10.c + M /trunk/log1p.c + M /trunk/log2.c + M /trunk/mpf2mpfr.h + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/mul.c + M /trunk/mul_2si.c + M /trunk/mul_2ui.c + M /trunk/mul_ui.c + M /trunk/next.c + M /trunk/pow.c + M /trunk/pow_si.c + M /trunk/rint.c + M /trunk/round_prec.c + M /trunk/save_expo.c + M /trunk/set.c + M /trunk/set_dfl_prec.c + M /trunk/set_exp.c + M /trunk/set_nan.c + M /trunk/set_rnd.c + M /trunk/set_si.c + M /trunk/set_str.c + M /trunk/set_str_raw.c + M /trunk/set_ui.c + M /trunk/set_z.c + M /trunk/sin.c + M /trunk/sin_cos.c + M /trunk/sinh.c + M /trunk/sub1.c + M /trunk/sub_one_ulp.c + M /trunk/tan.c + M /trunk/tanh.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tests.c + M /trunk/uceil_exp2.c + M /trunk/uceil_log2.c + M /trunk/ufloor_log2.c + M /trunk/ui_pow.c + +Suppress some #define and fix symbol names (makes code cleaner): +perl -pi -e 's/__mpfr_flags/__gmpfr_flags/g' **/*.{c,h} +perl -pi -e 's/__mpfr_emin/__gmpfr_emin/g' **/*.{c,h} +perl -pi -e 's/__mpfr_emax/__gmpfr_emax/g' **/*.{c,h} +perl -pi -e 's/__mpfr_default_fp_bit_precision/__gmpfr_default_fp_bit_precision/g' **/*.{c,h} +perl -pi -e 's/__gmp_default_rounding_mode/__gmpfr_default_rounding_mode/g' **/*.{c,h} +perl -pi -e 's/__mpfr_const_log2_prec/__gmpfr_const_log2_prec/g' **/*.{c,h} +perl -pi -e 's/__mpfr_const_pi_prec/__gmpfr_const_pi_prec/g' **/*.{c,h} +perl -pi -e 's/_mpfr_ceil_log2/__gmpfr_ceil_log2/g' **/*.{c,h} +perl -pi -e 's/_mpfr_floor_log2/__gmpfr_floor_log2/g' **/*.{c,h} +perl -pi -e 's/_mpfr_ceil_exp2/__gmpfr_ceil_exp2/g' **/*.{c,h} +perl -pi -e 's/_mpfr_isqrt/__gmpfr_isqrt/g' **/*.{c,h} +perl -pi -e 's/_mpfr_cuberoot/__gmpfr_cuberoot/g' **/*.{c,h} +perl -pi -e 's/^#define __gmpfr_.*\n//' *.h + +------------------------------------------------------------------------ +r2124 | lefevre | 2002-12-13 18:06:58 +0000 (Fri, 13 Dec 2002) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update. + +------------------------------------------------------------------------ +r2123 | lefevre | 2002-12-13 18:01:04 +0000 (Fri, 13 Dec 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +IEEE 754 / IEEE P754 -> IEEE 754-1985. + +------------------------------------------------------------------------ +r2122 | lefevre | 2002-12-13 11:20:28 +0000 (Fri, 13 Dec 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Correction. + +------------------------------------------------------------------------ +r2121 | lefevre | 2002-12-13 11:19:25 +0000 (Fri, 13 Dec 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Added a note about the signed zero. + +------------------------------------------------------------------------ +r2120 | lefevre | 2002-12-13 02:35:45 +0000 (Fri, 13 Dec 2002) | 2 lines +Changed paths: + M /trunk/set_d.c + +Assertion re-added. + +------------------------------------------------------------------------ +r2119 | lefevre | 2002-12-13 02:34:50 +0000 (Fri, 13 Dec 2002) | 2 lines +Changed paths: + M /trunk/missing + +Update for new version of automake/autoconf. + +------------------------------------------------------------------------ +r2118 | lefevre | 2002-12-13 02:23:23 +0000 (Fri, 13 Dec 2002) | 2 lines +Changed paths: + A /trunk/depcomp + +depcomp script added for new version of automake. + +------------------------------------------------------------------------ +r2117 | ryde | 2002-12-12 22:30:05 +0000 (Thu, 12 Dec 2002) | 2 lines +Changed paths: + M /trunk/configure.in + +Don't -D define PACKAGE_VERSION etc, to avoid conflict with gmp config.h. + +------------------------------------------------------------------------ +r2116 | zimmerma | 2002-12-12 16:41:43 +0000 (Thu, 12 Dec 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +added paragraph about accuracy + +------------------------------------------------------------------------ +r2115 | zimmerma | 2002-12-12 15:32:52 +0000 (Thu, 12 Dec 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +rewritten unclear paragraph about precision + +------------------------------------------------------------------------ +r2114 | zimmerma | 2002-12-12 14:42:42 +0000 (Thu, 12 Dec 2002) | 2 lines +Changed paths: + M /trunk/TODO + +added one item - * tests/tset_ld.c: Use tests_machine_prec_long_double. - Use LDBL_MAX for largest value and to find largest power of 2. +------------------------------------------------------------------------ +r2113 | zimmerma | 2002-12-12 14:38:03 +0000 (Thu, 12 Dec 2002) | 2 lines +Changed paths: + M /trunk/set_d.c - * mpfr-test.h (__setfpucw, _FPU_EXTENDED, etc): Remove these setups. - (tests_machine_prec_double, tests_machine_prec_long_double, - x86_fstcw, x86_fldcw): Add prototypes. +use MPN_NORMALIZE_NOT_ZERO instead of loop - * tests/tests.c (tests_machine_prec_double, tests_machine_prec_long_double): - New functions. - (mpfr_test_init): Replace __setfpucw with tests_machine_prec_double. +------------------------------------------------------------------------ +r2112 | lefevre | 2002-12-11 14:31:28 +0000 (Wed, 11 Dec 2002) | 3 lines +Changed paths: + M /trunk/tests/memory.c - * acinclude.m4 (MPFR_CONFIGS): Add tests/x86.asm support. +Added #include "mpfr.h" (needed by mpfr-test.h as it uses +mp_rnd_t in one of the prototypes). - * configure.in (X86_PATTERN): New define, supporting acinclude.m4. +------------------------------------------------------------------------ +r2111 | lefevre | 2002-12-10 22:23:04 +0000 (Tue, 10 Dec 2002) | 5 lines +Changed paths: + M /trunk/set_d.c - * tests/Makefile.am: Add x86.asm support. +Patch by Torbjorn Granlund <tege@swox.com>: Don't use TMP_ allocation +mechanism for fixed size objects. Resulting streamlining. Misc +addressing changes to work around GNUPro bugs. +Patch by VL: Some other changes in mpfr_set_d. - * tests/x86.asm: New file. +------------------------------------------------------------------------ +r2110 | lefevre | 2002-12-07 12:26:11 +0000 (Sat, 07 Dec 2002) | 3 lines +Changed paths: + M /trunk/const_euler.c -2003-01-07 Paul Zimmermann <Paul.Zimmermann@loria.fr> +(mpfr_const_euler_S, mpfr_const_euler_R) +Make declaration match prototype (patch by Torbjorn Granlund). - * exp2.c: fixed pb for underflow and rounding to nearest +------------------------------------------------------------------------ +r2109 | lefevre | 2002-12-04 11:22:24 +0000 (Wed, 04 Dec 2002) | 2 lines +Changed paths: + M /trunk/config.guess + M /trunk/config.sub - * mpfr-impl.h, set_ld.c: added macro LONGDOUBLE_ISNAN - use LONGDOUBLE_ISNAN in set_ld instead of cast to double and DOUBLE_ISNAN - (did raise exception under freebsd) +Update from ftp://ftp.gnu.org/pub/gnu/config/ -2003-01-07 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2108 | zimmerma | 2002-12-03 13:32:21 +0000 (Tue, 03 Dec 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * exp2.c: - Added assertions that can be resolved at compile time: the exponents - must be representable in a long int (IMHO, this limitation should be - avoided in a clean way). +Use @ifnottex/@end iffnotex instead of @ifinfo/@end ifinfo -2003-01-06 Kevin Ryde <user42@zip.com.au> +------------------------------------------------------------------------ +r2107 | lefevre | 2002-12-02 11:44:35 +0000 (Mon, 02 Dec 2002) | 2 lines +Changed paths: + M /trunk/mpfr-test.h + M /trunk/tests/rnd_mode.c - * TODO: Remove mpfr_get_ld, done. +Fix rnd_mode.c (again). - * TODO: Remove mpfr_set_machine_rnd_mode, done. +------------------------------------------------------------------------ +r2106 | zimmerma | 2002-12-02 09:44:41 +0000 (Mon, 02 Dec 2002) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/mpfr.h -2003-01-06 Vincent Lefevre <Vincent.Lefevre@loria.fr> +put redefinitions of external symbols just before prototypes - * exp2.c: Bug fix: __mpfr_emax -> __gmpfr_emax. +------------------------------------------------------------------------ +r2105 | zimmerma | 2002-12-02 09:23:47 +0000 (Mon, 02 Dec 2002) | 2 lines +Changed paths: + M /trunk/TODO -2003-01-06 Kevin Ryde <user42@zip.com.au> +updated - * set_str.c: - Use separate function calls to second strncasecmp and strncmp - for consistency and to avoid gcc warnings. +------------------------------------------------------------------------ +r2104 | zimmerma | 2002-12-02 09:21:40 +0000 (Mon, 02 Dec 2002) | 2 lines +Changed paths: + M /trunk/BUGS -2003-01-06 Paul Zimmermann <Paul.Zimmermann@loria.fr> +added new known bugs - * exp2.c, tests/texp2.c: fixed infinite loop for 2^integer +------------------------------------------------------------------------ +r2103 | ryde | 2002-11-29 23:05:47 +0000 (Fri, 29 Nov 2002) | 2 lines +Changed paths: + M /trunk/TODO -2003-01-06 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Add notes on mpf_t maintaining actual size for efficiency. - * set_str.c: Use digit_value_in_base for the part after the '.'. +------------------------------------------------------------------------ +r2102 | ryde | 2002-11-29 22:52:20 +0000 (Fri, 29 Nov 2002) | 2 lines +Changed paths: + M /trunk/TODO - * set_str.c: - Static function digit_value_in_base is now compatible with any locale. +Remove mpfr_set_machine_rnd_mode task. -2003-01-03 Kevin Ryde <user42@zip.com.au> +------------------------------------------------------------------------ +r2101 | ryde | 2002-11-29 22:51:58 +0000 (Fri, 29 Nov 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * tests/tests.c, mpfr-test.h: - (<sys/fpu.h>) [__mips]: Move from mpfr-test.h to tests/tests.c, - and conditionalize with HAVE_SYS_FPU_H. +Tweak some math formatting for tex. - * acinclude.m4 (AC_CHECK_HEADERS): Add sys/fpu.h. +------------------------------------------------------------------------ +r2100 | ryde | 2002-11-29 22:45:40 +0000 (Fri, 29 Nov 2002) | 2 lines +Changed paths: + M /trunk/mpfr-test.h + M /trunk/mpfr.h - * mpfr-test.h: - (HAVE_DENORMS) [__mips]: Remove this, let the configure test decide. +(mpfr_set_machine_rnd_mode): Move prototype to mpfr-test.h. - * set_str.c: - Use separate function calls to strncasecmp and strncmp, rather than - ?: on function pointers, since the latter demands declarations not - present on SunOS. Both forms are optimized the same by gcc. +------------------------------------------------------------------------ +r2099 | ryde | 2002-11-29 22:42:19 +0000 (Fri, 29 Nov 2002) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am -2003-01-03 Vincent Lefevre <Vincent.Lefevre@loria.fr> +(libfrtests_a_SOURCES): Add rnd_mode.c. - * BUGS: - Added some potential bugs (mpfr_exp2 is known to have such a bug). +------------------------------------------------------------------------ +r2098 | ryde | 2002-11-29 22:41:57 +0000 (Fri, 29 Nov 2002) | 2 lines +Changed paths: + M /trunk/Makefile.am -2003-01-02 Kevin Ryde <user42@zip.com.au> +(libmpfr_a_SOURCES): Remove rnd_mode.c. - * tests/tset_str.c, tests/tget_str.c: - Add gmp-impl.h for __gmp_free_func. +------------------------------------------------------------------------ +r2097 | ryde | 2002-11-29 22:40:40 +0000 (Fri, 29 Nov 2002) | 2 lines +Changed paths: + D /trunk/rnd_mode.c -2002-12-16 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Remove file, moved to tests directory. - * tests/tconst_log2.c, tests/tests.c, set_rnd.c, set_si.c, set_str.c, set_str_raw.c, set_ui.c, set_z.c, sin.c, sin_cos.c, sinh.c, sub1.c, sub_one_ulp.c, tan.c, tanh.c, uceil_exp2.c, uceil_log2.c, ufloor_log2.c, ui_pow.c, mul_2si.c, mul_2ui.c, mul_ui.c, next.c, pow.c, pow_si.c, rint.c, round_prec.c, save_expo.c, set.c, set_dfl_prec.c, set_exp.c, set_nan.c, log10.c, log1p.c, log2.c, mpf2mpfr.h, mpfr-impl.h, mpfr.h, mul.c, factorial.c, gamma.c, gammaPiAGMformula.c, get_d.c, get_str.c, get_z_exp.c, hypot.c, init.c, const_pi.c, cos.c, cosh.c, div_2si.c, div_2ui.c, exceptions.c, exp.c, exp2.c, exp3.c, exp_2.c, expm1.c, acosh.c, add1.c, add_one_ulp.c, agm.c, asin.c, asinh.c, atan.c, atanh.c, const_euler.c, const_log2.c, acos.c: - Suppress some #define and fix symbol names (makes code cleaner): - perl -pi -e 's/__mpfr_flags/__gmpfr_flags/g' **/*.{c,h} - perl -pi -e 's/__mpfr_emin/__gmpfr_emin/g' **/*.{c,h} - perl -pi -e 's/__mpfr_emax/__gmpfr_emax/g' **/*.{c,h} - perl -pi -e 's/__mpfr_default_fp_bit_precision/__gmpfr_default_fp_bit_precision/g' **/*.{c,h} - perl -pi -e 's/__gmp_default_rounding_mode/__gmpfr_default_rounding_mode/g' **/*.{c,h} - perl -pi -e 's/__mpfr_const_log2_prec/__gmpfr_const_log2_prec/g' **/*.{c,h} - perl -pi -e 's/__mpfr_const_pi_prec/__gmpfr_const_pi_prec/g' **/*.{c,h} - perl -pi -e 's/_mpfr_ceil_log2/__gmpfr_ceil_log2/g' **/*.{c,h} - perl -pi -e 's/_mpfr_floor_log2/__gmpfr_floor_log2/g' **/*.{c,h} - perl -pi -e 's/_mpfr_ceil_exp2/__gmpfr_ceil_exp2/g' **/*.{c,h} - perl -pi -e 's/_mpfr_isqrt/__gmpfr_isqrt/g' **/*.{c,h} - perl -pi -e 's/_mpfr_cuberoot/__gmpfr_cuberoot/g' **/*.{c,h} - perl -pi -e 's/^#define __gmpfr_.*\n//' *.h +------------------------------------------------------------------------ +r2096 | ryde | 2002-11-29 22:40:01 +0000 (Fri, 29 Nov 2002) | 2 lines +Changed paths: + A /trunk/tests/rnd_mode.c -2002-12-13 Vincent Lefevre <Vincent.Lefevre@loria.fr> +New file, moved from top-level directory. - * ChangeLog: Update. +------------------------------------------------------------------------ +r2095 | ryde | 2002-11-29 22:22:40 +0000 (Fri, 29 Nov 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * mpfr.texi: IEEE 754 / IEEE P754 -> IEEE 754-1985. +(Rounding Modes): Remove mpfr_set_machine_rnd_mode. - * mpfr.texi: Correction. +------------------------------------------------------------------------ +r2094 | ryde | 2002-11-29 21:42:11 +0000 (Fri, 29 Nov 2002) | 2 lines +Changed paths: + M /trunk/setmin.c - * mpfr.texi: Added a note about the signed zero. +Use GNU style code layout. - * set_d.c: Assertion re-added. +------------------------------------------------------------------------ +r2093 | ryde | 2002-11-29 21:35:59 +0000 (Fri, 29 Nov 2002) | 2 lines +Changed paths: + M /trunk/setmax.c - * missing: Update for new version of automake/autoconf. +Use GNU style code layout. - * depcomp: depcomp script added for new version of automake. +------------------------------------------------------------------------ +r2092 | zimmerma | 2002-11-29 17:26:31 +0000 (Fri, 29 Nov 2002) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/mpfr.h -2002-12-12 Kevin Ryde <user42@zip.com.au> +redefined external symbols in the __gmpfr namespace - * configure.in: - Don't -D define PACKAGE_VERSION etc, to avoid conflict with gmp config.h. +------------------------------------------------------------------------ +r2091 | zimmerma | 2002-11-25 17:04:36 +0000 (Mon, 25 Nov 2002) | 2 lines +Changed paths: + M /trunk/tests/tout_str.c -2002-12-12 Paul Zimmermann <Paul.Zimmermann@loria.fr> +added one fprintf in case of error - * mpfr.texi: added paragraph about accuracy +------------------------------------------------------------------------ +r2090 | lefevre | 2002-11-25 16:11:33 +0000 (Mon, 25 Nov 2002) | 3 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/rnd_mode.c - * mpfr.texi: rewritten unclear paragraph about precision +mpfr_set_machine_rnd_mode fixed to compile on some architectures +(e.g. ARM). Now returns an int. - * TODO: added one item +------------------------------------------------------------------------ +r2089 | lefevre | 2002-11-25 15:30:56 +0000 (Mon, 25 Nov 2002) | 2 lines +Changed paths: + M /trunk/tests/tmul.c - * set_d.c: use MPN_NORMALIZE_NOT_ZERO instead of loop +Bug fixed. -2002-12-11 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2088 | zimmerma | 2002-11-25 12:54:49 +0000 (Mon, 25 Nov 2002) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/texp.c + M /trunk/tests/tget_d.c + M /trunk/tests/tlog.c + M /trunk/tests/tmul.c + M /trunk/tests/tset_q.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_sub.c - * tests/memory.c: - Added #include "mpfr.h" (needed by mpfr-test.h as it uses - mp_rnd_t in one of the prototypes). +removed all tests that compare to libm -2002-12-10 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2087 | zimmerma | 2002-11-25 10:54:35 +0000 (Mon, 25 Nov 2002) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c - * set_d.c: - Patch by Torbjorn Granlund <tege@swox.com>: Don't use TMP_ allocation - mechanism for fixed size objects. Resulting streamlining. Misc - addressing changes to work around GNUPro bugs. - Patch by VL: Some other changes in mpfr_set_d. +changed to distinguish mpfr failures from libm failures -2002-12-07 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2086 | zimmerma | 2002-11-25 10:37:43 +0000 (Mon, 25 Nov 2002) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c - * const_euler.c: (mpfr_const_euler_S, mpfr_const_euler_R) - Make declaration match prototype (patch by Torbjorn Granlund). +added 3 tests that make libm fail under HP-PA -2002-12-04 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2085 | lefevre | 2002-11-23 23:47:18 +0000 (Sat, 23 Nov 2002) | 2 lines +Changed paths: + M /trunk/ChangeLog - * config.guess, config.sub: - Update from ftp://ftp.gnu.org/pub/gnu/config/ +Update. -2002-12-03 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2084 | zimmerma | 2002-11-22 10:40:05 +0000 (Fri, 22 Nov 2002) | 2 lines +Changed paths: + M /trunk/ui_pow.c - * mpfr.texi: Use @ifnottex/@end iffnotex instead of @ifinfo/@end ifinfo +forgot to remove debug statement -2002-12-02 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2083 | zimmerma | 2002-11-22 10:26:38 +0000 (Fri, 22 Nov 2002) | 2 lines +Changed paths: + M /trunk/pow.c + M /trunk/tests/tui_pow.c + M /trunk/ui_pow.c - * mpfr-test.h, tests/rnd_mode.c: Fix rnd_mode.c (again). +fixed bug (infinite loop) for exact powers -2002-12-02 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2082 | ryde | 2002-11-21 22:28:44 +0000 (Thu, 21 Nov 2002) | 3 lines +Changed paths: + M /trunk/TODO - * mpfr-impl.h, mpfr.h: - put redefinitions of external symbols just before prototypes +More on tuned thresholds, more on config.h etc, new section on mpf/mpfr +integration. - * TODO: updated +------------------------------------------------------------------------ +r2081 | lefevre | 2002-11-20 14:34:08 +0000 (Wed, 20 Nov 2002) | 2 lines +Changed paths: + M /trunk/get_str.c - * BUGS: added new known bugs +Code clean-up. -2002-11-29 Kevin Ryde <user42@zip.com.au> +------------------------------------------------------------------------ +r2080 | zimmerma | 2002-11-20 13:08:23 +0000 (Wed, 20 Nov 2002) | 2 lines +Changed paths: + M /trunk/gamma.c + M /trunk/log.c + M /trunk/set_ld.c - * TODO: Add notes on mpf_t maintaining actual size for efficiency. +fixed some problems found by insure - * TODO: Remove mpfr_set_machine_rnd_mode task. +------------------------------------------------------------------------ +r2079 | zimmerma | 2002-11-20 11:03:21 +0000 (Wed, 20 Nov 2002) | 2 lines +Changed paths: + M /trunk/tests/tout_str.c - * mpfr.texi: Tweak some math formatting for tex. +forgotten fclose() call - * mpfr-test.h, mpfr.h (mpfr_set_machine_rnd_mode): - Move prototype to mpfr-test.h. +------------------------------------------------------------------------ +r2078 | zimmerma | 2002-11-20 10:13:01 +0000 (Wed, 20 Nov 2002) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c - * tests/Makefile.am (libfrtests_a_SOURCES): Add rnd_mode.c. +fixed array bound write - * Makefile.am (libmpfr_a_SOURCES): Remove rnd_mode.c. +------------------------------------------------------------------------ +r2077 | zimmerma | 2002-11-19 16:46:45 +0000 (Tue, 19 Nov 2002) | 2 lines +Changed paths: + M /trunk/get_str.c - * rnd_mode.c: Remove file, moved to tests directory. +fixed non-ansi features - * tests/rnd_mode.c: New file, moved from top-level directory. +------------------------------------------------------------------------ +r2076 | zimmerma | 2002-11-19 16:26:22 +0000 (Tue, 19 Nov 2002) | 2 lines +Changed paths: + M /trunk/div.c + M /trunk/div_ui.c - * mpfr.texi (Rounding Modes): Remove mpfr_set_machine_rnd_mode. +added explicit cast - * setmin.c, setmax.c: Use GNU style code layout. +------------------------------------------------------------------------ +r2075 | zimmerma | 2002-10-24 12:04:59 +0000 (Thu, 24 Oct 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi -2002-11-29 Paul Zimmermann <Paul.Zimmermann@loria.fr> +added mpfr_cbrt - * mpfr-impl.h, mpfr.h: - redefined external symbols in the __gmpfr namespace +------------------------------------------------------------------------ +r2074 | lefevre | 2002-10-20 09:46:03 +0000 (Sun, 20 Oct 2002) | 2 lines +Changed paths: + M /trunk/BUGS -2002-11-25 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Update. - * tests/tout_str.c: added one fprintf in case of error +------------------------------------------------------------------------ +r2073 | zimmerma | 2002-10-20 07:43:07 +0000 (Sun, 20 Oct 2002) | 2 lines +Changed paths: + M /trunk/sin.c -2002-11-25 Vincent Lefevre <Vincent.Lefevre@loria.fr> +fixed bug with wrong sign detection - * mpfr.texi, rnd_mode.c, mpfr.h: - mpfr_set_machine_rnd_mode fixed to compile on some architectures - (e.g. ARM). Now returns an int. +------------------------------------------------------------------------ +r2072 | lefevre | 2002-10-19 10:25:49 +0000 (Sat, 19 Oct 2002) | 2 lines +Changed paths: + M /trunk/hypot.c - * tests/tmul.c: Bug fixed. +Some fixes to avoid overflows. -2002-11-25 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2071 | zimmerma | 2002-10-19 08:08:47 +0000 (Sat, 19 Oct 2002) | 2 lines +Changed paths: + M /trunk/hypot.c - * tests/tadd.c, tests/tadd_ui.c, tests/tagm.c, tests/tdiv.c, tests/tdiv_ui.c, tests/texp.c, tests/tget_d.c, tests/tlog.c, tests/tmul.c, tests/tset_q.c, tests/tsqrt.c, tests/tsqrt_ui.c, tests/tsub_ui.c, tests/tui_div.c, tests/tui_sub.c: - removed all tests that compare to libm +fixed bug for large arguments - * tests/tdiv.c: changed to distinguish mpfr failures from libm failures +------------------------------------------------------------------------ +r2070 | zimmerma | 2002-10-19 08:08:15 +0000 (Sat, 19 Oct 2002) | 2 lines +Changed paths: + M /trunk/cbrt.c - * tests/tdiv.c: added 3 tests that make libm fail under HP-PA +improved code for rounding to nearest -2002-11-23 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2069 | zimmerma | 2002-10-19 08:05:45 +0000 (Sat, 19 Oct 2002) | 2 lines +Changed paths: + M /trunk/acosh.c + M /trunk/asinh.c - * ChangeLog: Update. +fixed bug for EXP(x) > EMAX/2 -2002-11-22 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2068 | zimmerma | 2002-10-19 08:04:51 +0000 (Sat, 19 Oct 2002) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * ui_pow.c: forgot to remove debug statement +modified description of hypot and cbrt - * pow.c, tests/tui_pow.c, ui_pow.c: - fixed bug (infinite loop) for exact powers +------------------------------------------------------------------------ +r2067 | lefevre | 2002-10-18 14:57:01 +0000 (Fri, 18 Oct 2002) | 2 lines +Changed paths: + M /trunk/BUGS -2002-11-21 Kevin Ryde <user42@zip.com.au> +Update. - * TODO: - More on tuned thresholds, more on config.h etc, new section on mpf/mpfr - integration. +------------------------------------------------------------------------ +r2066 | lefevre | 2002-10-18 14:53:53 +0000 (Fri, 18 Oct 2002) | 2 lines +Changed paths: + M /trunk/tests/tsin.c -2002-11-20 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Added test showing bug in sign detection. - * get_str.c: Code clean-up. +------------------------------------------------------------------------ +r2065 | lefevre | 2002-10-18 13:45:02 +0000 (Fri, 18 Oct 2002) | 2 lines +Changed paths: + M /trunk/tests/thypot.c -2002-11-20 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Added newline. - * gamma.c, log.c, set_ld.c: fixed some problems found by insure +------------------------------------------------------------------------ +r2064 | lefevre | 2002-10-18 12:39:07 +0000 (Fri, 18 Oct 2002) | 2 lines +Changed paths: + M /trunk/BUGS - * tests/tout_str.c: forgotten fclose() call +Bug in mpfr_hypot. - * tests/tget_str.c: fixed array bound write +------------------------------------------------------------------------ +r2063 | lefevre | 2002-10-18 12:26:16 +0000 (Fri, 18 Oct 2002) | 2 lines +Changed paths: + M /trunk/tests/thypot.c -2002-11-19 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Added test that makes mpfr_hypot fail. - * get_str.c: fixed non-ansi features +------------------------------------------------------------------------ +r2062 | lefevre | 2002-10-18 12:06:17 +0000 (Fri, 18 Oct 2002) | 2 lines +Changed paths: + M /trunk/hypot.c - * div.c, div_ui.c: added explicit cast +Precision Nt: int -> mp_prec_t. -2002-10-24 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2061 | lefevre | 2002-10-18 10:21:31 +0000 (Fri, 18 Oct 2002) | 2 lines +Changed paths: + M /trunk/tests/tcbrt.c - * mpfr.texi: added mpfr_cbrt +Added some tests. -2002-10-20 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2060 | lefevre | 2002-10-18 09:58:41 +0000 (Fri, 18 Oct 2002) | 2 lines +Changed paths: + M /trunk/tests/tcbrt.c - * BUGS: Update. +main () -> main (void). -2002-10-20 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2059 | zimmerma | 2002-10-18 07:00:18 +0000 (Fri, 18 Oct 2002) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am + A /trunk/tests/tcbrt.c - * sin.c: fixed bug with wrong sign detection +added tcbrt.c, test file for mpfr_cbrt -2002-10-19 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2058 | zimmerma | 2002-10-18 06:58:51 +0000 (Fri, 18 Oct 2002) | 2 lines +Changed paths: + M /trunk/hypot.c - * hypot.c: Some fixes to avoid overflows. +fixed overflow problem -2002-10-19 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2057 | zimmerma | 2002-10-18 06:58:08 +0000 (Fri, 18 Oct 2002) | 2 lines +Changed paths: + M /trunk/cbrt.c - * hypot.c: fixed bug for large arguments +completely rewritten using mpz_root - * cbrt.c: improved code for rounding to nearest +------------------------------------------------------------------------ +r2056 | zimmerma | 2002-10-18 06:57:14 +0000 (Fri, 18 Oct 2002) | 2 lines +Changed paths: + M /trunk/Makefile.am - * asinh.c: fixed bug for EXP(x) > EMAX/2 +added cbrt - * algorithms.tex: modified description of hypot and cbrt +------------------------------------------------------------------------ +r2055 | lefevre | 2002-10-17 16:48:10 +0000 (Thu, 17 Oct 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * acosh.c: fixed bug for EXP(x) > EMAX/2 +C9X -> ISO/IEC 9899:1999 (ISO C99). -2002-10-18 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2054 | lefevre | 2002-10-17 16:03:57 +0000 (Thu, 17 Oct 2002) | 2 lines +Changed paths: + M /trunk/set_ld.c - * BUGS: Update. +Cases NaN and -0.0 taken into account. - * tests/tsin.c: Added test showing bug in sign detection. +------------------------------------------------------------------------ +r2053 | zimmerma | 2002-10-17 15:37:00 +0000 (Thu, 17 Oct 2002) | 2 lines +Changed paths: + M /trunk/tests/tset_ld.c - * tests/thypot.c: Added newline. +added check for +0 and -0 - * BUGS: Bug in mpfr_hypot. +------------------------------------------------------------------------ +r2052 | zimmerma | 2002-10-17 15:13:09 +0000 (Thu, 17 Oct 2002) | 2 lines +Changed paths: + M /trunk/tests/tset_ld.c - * tests/thypot.c: Added test that makes mpfr_hypot fail. +added one test (2^1024) - * hypot.c: Precision Nt: int -> mp_prec_t. +------------------------------------------------------------------------ +r2051 | zimmerma | 2002-10-17 15:11:54 +0000 (Thu, 17 Oct 2002) | 2 lines +Changed paths: + M /trunk/set_ld.c - * tests/tcbrt.c: Added some tests. +fixed bug when overflow for double type - * tests/tcbrt.c: main () -> main (void). +------------------------------------------------------------------------ +r2050 | zimmerma | 2002-10-17 12:56:49 +0000 (Thu, 17 Oct 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi -2002-10-18 Paul Zimmermann <Paul.Zimmermann@loria.fr> +added mpfr_set_ld and mpfr_get_ld - * tests/Makefile.am, tests/tcbrt.c: - added tcbrt.c, test file for mpfr_cbrt +------------------------------------------------------------------------ +r2049 | lefevre | 2002-10-16 18:37:48 +0000 (Wed, 16 Oct 2002) | 2 lines +Changed paths: + M /trunk/get_ld.c - * hypot.c: fixed overflow problem +Fix for -0.0. - * cbrt.c: completely rewritten using mpz_root +------------------------------------------------------------------------ +r2048 | zimmerma | 2002-10-16 18:21:54 +0000 (Wed, 16 Oct 2002) | 2 lines +Changed paths: + A /trunk/log_b2.h - * Makefile.am: added cbrt +constants for mpfr_get_str and mpfr_set_str -2002-10-17 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2047 | lefevre | 2002-10-16 16:25:56 +0000 (Wed, 16 Oct 2002) | 2 lines +Changed paths: + M /trunk/tests/tset_ld.c - * mpfr.texi: C9X -> ISO/IEC 9899:1999 (ISO C99). +Obsolete comment removed. - * set_ld.c: Cases NaN and -0.0 taken into account. +------------------------------------------------------------------------ +r2046 | lefevre | 2002-10-16 16:23:35 +0000 (Wed, 16 Oct 2002) | 2 lines +Changed paths: + M /trunk/Makefile.am -2002-10-17 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Removed log_b2.h as it doesn't seem to be necessary. - * tests/tset_ld.c: added check for +0 and -0 +------------------------------------------------------------------------ +r2045 | zimmerma | 2002-10-16 15:41:24 +0000 (Wed, 16 Oct 2002) | 2 lines +Changed paths: + M /trunk/mpfr.h - * tests/tset_ld.c: added one test (2^1024) +added prototype for mpfr_get_ld - * set_ld.c: fixed bug when overflow for double type +------------------------------------------------------------------------ +r2044 | zimmerma | 2002-10-16 15:40:19 +0000 (Wed, 16 Oct 2002) | 2 lines +Changed paths: + M /trunk/Makefile.am + A /trunk/get_ld.c + M /trunk/tests/tset_ld.c - * mpfr.texi: added mpfr_set_ld and mpfr_get_ld +added mpfr_get_ld and tests for set_ld/get_ld -2002-10-16 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2043 | zimmerma | 2002-10-16 15:38:46 +0000 (Wed, 16 Oct 2002) | 2 lines +Changed paths: + M /trunk/set_ld.c - * get_ld.c: Fix for -0.0. +added cast to long double -2002-10-16 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2042 | lefevre | 2002-10-16 10:08:09 +0000 (Wed, 16 Oct 2002) | 2 lines +Changed paths: + M /trunk/TODO - * log_b2.h: constants for mpfr_get_str and mpfr_set_str +Update (tset_ld). -2002-10-16 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2041 | lefevre | 2002-10-16 08:13:25 +0000 (Wed, 16 Oct 2002) | 4 lines +Changed paths: + M /trunk/tests/tset_ld.c - * tests/tset_ld.c: Obsolete comment removed. +Test removed as the minimal precision for a long double is something +like 10 decimal digits. Anyway, there are implementations for which +long double = double = IEEE double precision. - * Makefile.am: Removed log_b2.h as it doesn't seem to be necessary. +------------------------------------------------------------------------ +r2040 | lefevre | 2002-10-16 07:38:15 +0000 (Wed, 16 Oct 2002) | 2 lines +Changed paths: + M /trunk/set_ld.c -2002-10-16 Paul Zimmermann <Paul.Zimmermann@loria.fr> +DBL_MANT_DIG and LDBL_MANT_DIG are normally defined by <float.h>. - * mpfr.h: added prototype for mpfr_get_ld +------------------------------------------------------------------------ +r2039 | zimmerma | 2002-10-15 14:58:26 +0000 (Tue, 15 Oct 2002) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/mpfr.h + A /trunk/set_ld.c + M /trunk/tests/Makefile.am + A /trunk/tests/tset_ld.c - * Makefile.am, get_ld.c, tests/tset_ld.c: - added mpfr_get_ld and tests for set_ld/get_ld +added mpfr_set_ld and test file - * set_ld.c: added cast to long double +------------------------------------------------------------------------ +r2038 | lefevre | 2002-10-13 14:12:46 +0000 (Sun, 13 Oct 2002) | 2 lines +Changed paths: + M /trunk/BUGS -2002-10-16 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Bug in mpfr_sin (and perhaps other functions): error analysis. - * TODO: Update (tset_ld). +------------------------------------------------------------------------ +r2037 | lefevre | 2002-10-13 13:54:45 +0000 (Sun, 13 Oct 2002) | 2 lines +Changed paths: + M /trunk/atan.c - * tests/tset_ld.c: - Test removed as the minimal precision for a long double is something - like 10 decimal digits. Anyway, there are implementations for which - long double = double = IEEE double precision. +Bug fixed (found by Dmitrii Baksheyev): atan(1) cannot be exact. - * set_ld.c: - DBL_MANT_DIG and LDBL_MANT_DIG are normally defined by <float.h>. +------------------------------------------------------------------------ +r2036 | ryde | 2002-10-08 01:41:21 +0000 (Tue, 08 Oct 2002) | 5 lines +Changed paths: + M /trunk/TODO -2002-10-15 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Remove mpfr_get_str using mpn_get_str (done). +Remove no grepping for __setfpucw, done (near enough). +New thread-safety section, add const_pi and const_log2 caching. +New portability section, add mingw random and _mpfr_ceil_log2 IEEE-ism. - * Makefile.am, mpfr.h, set_ld.c, tests/Makefile.am, tests/tset_ld.c: - added mpfr_set_ld and test file +------------------------------------------------------------------------ +r2035 | ryde | 2002-10-08 01:38:34 +0000 (Tue, 08 Oct 2002) | 2 lines +Changed paths: + M /trunk/acinclude.m4 -2002-10-13 Vincent Lefevre <Vincent.Lefevre@loria.fr> +(AC_MY_LIBS): Show the filename in the error message. - * BUGS: Bug in mpfr_sin (and perhaps other functions): error analysis. +------------------------------------------------------------------------ +r2034 | zimmerma | 2002-10-04 14:32:53 +0000 (Fri, 04 Oct 2002) | 2 lines +Changed paths: + M /trunk/mpf2mpfr.h - * atan.c: - Bug fixed (found by Dmitrii Baksheyev): atan(1) cannot be exact. +mpfr_get_default_prec was missing (thanks to F. Morain) -2002-10-08 Kevin Ryde <user42@zip.com.au> +------------------------------------------------------------------------ +r2033 | lefevre | 2002-09-30 12:22:28 +0000 (Mon, 30 Sep 2002) | 3 lines +Changed paths: + M /trunk/BUGS - * TODO: Remove mpfr_get_str using mpn_get_str (done). - Remove no grepping for __setfpucw, done (near enough). - New thread-safety section, add const_pi and const_log2 caching. - New portability section, add mingw random and _mpfr_ceil_log2 IEEE-ism. +Removed get_str.c bug, as the mpfr_get_str function has +completely been rewritten. - * acinclude.m4 (AC_MY_LIBS): Show the filename in the error message. +------------------------------------------------------------------------ +r2032 | zimmerma | 2002-09-26 08:15:34 +0000 (Thu, 26 Sep 2002) | 3 lines +Changed paths: + M /trunk/sub.c + +fixed wrong inexact flag for a - b where a and b are of different signs +and EXP(a) < EXP(b) -2002-10-04 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2031 | zimmerma | 2002-09-26 08:00:09 +0000 (Thu, 26 Sep 2002) | 2 lines +Changed paths: + M /trunk/tests/tsub.c - * mpf2mpfr.h: mpfr_get_default_prec was missing (thanks to F. Morain) +added test for inexact flag (bug found by Andreas Enge) -2002-09-30 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r2030 | ryde | 2002-09-23 22:51:26 +0000 (Mon, 23 Sep 2002) | 3 lines +Changed paths: + M /trunk/init.c + M /trunk/init2.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/set_prec.c - * BUGS: Removed get_str.c bug, as the mpfr_get_str function has - completely been rewritten. +(mpfr_init, mpfr_init2, mpfr_set_prec): Make void return, these always +succeed. + +------------------------------------------------------------------------ +r2029 | zimmerma | 2002-09-23 12:25:52 +0000 (Mon, 23 Sep 2002) | 2 lines +Changed paths: + M /trunk/urandomb.c -2002-09-26 Paul Zimmermann <Paul.Zimmermann@loria.fr> +fixed various tiny problems + +------------------------------------------------------------------------ +r2028 | zimmerma | 2002-09-23 12:19:24 +0000 (Mon, 23 Sep 2002) | 2 lines +Changed paths: + M /trunk/tests/trandom.c - * sub.c: - fixed wrong inexact flag for a - b where a and b are of different signs - and EXP(a) < EXP(b) +added more tests for mpfr_urandomb, and for small precision - * tests/tsub.c: added test for inexact flag (bug found by Andreas Enge) +------------------------------------------------------------------------ +r2027 | zimmerma | 2002-09-23 08:45:25 +0000 (Mon, 23 Sep 2002) | 2 lines +Changed paths: + M /trunk/random2.c + M /trunk/tests/trandom.c -2002-09-23 Kevin Ryde <user42@zip.com.au> +fixed bugs in mpfr_random2 (wrong exponent, invalid numbers) - * mpfr.texi, set_prec.c, init2.c, init.c, mpfr.h (mpfr_init, mpfr_init2, mpfr_set_prec): - Make void return, these always - succeed. +------------------------------------------------------------------------ +r2026 | zimmerma | 2002-09-23 08:42:28 +0000 (Mon, 23 Sep 2002) | 2 lines +Changed paths: + M /trunk/tests/trandom.c -2002-09-23 Paul Zimmermann <Paul.Zimmermann@loria.fr> +added checks for mpfr_random2 - * urandomb.c: fixed various tiny problems +------------------------------------------------------------------------ +r2025 | zimmerma | 2002-09-23 08:20:31 +0000 (Mon, 23 Sep 2002) | 2 lines +Changed paths: + M /trunk/cmp_abs.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/pow.c + M /trunk/tests/tadd.c + M /trunk/tests/tsub.c - * tests/trandom.c: - added more tests for mpfr_urandomb, and for small precision +cmp_abs -> cmpabs (for compatibility with mpz) - * random2.c, tests/trandom.c: - fixed bugs in mpfr_random2 (wrong exponent, invalid numbers) +------------------------------------------------------------------------ +r2024 | ryde | 2002-09-21 22:57:26 +0000 (Sat, 21 Sep 2002) | 3 lines +Changed paths: + M /trunk/mpfr.texi - * tests/trandom.c: added checks for mpfr_random2 +(Converting Floats): Don't refer to the internal _mp_free_func with +mpfr_get_str. - * tests/tadd.c, tests/tsub.c, cmp_abs.c, mpfr.h, mpfr.texi, pow.c: - cmp_abs -> cmpabs (for compatibility with mpz) +------------------------------------------------------------------------ +r2023 | ryde | 2002-09-21 22:51:58 +0000 (Sat, 21 Sep 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi -2002-09-21 Kevin Ryde <user42@zip.com.au> +(Special Functions, Internals): Make these into nodes. - * mpfr.texi (Converting Floats): - Don't refer to the internal _mp_free_func with - mpfr_get_str. +------------------------------------------------------------------------ +r2022 | zimmerma | 2002-09-20 16:11:47 +0000 (Fri, 20 Sep 2002) | 2 lines +Changed paths: + M /trunk/set_str.c - * mpfr.texi (Special Functions, Internals): Make these into nodes. +now accept uppercase letters too -2002-09-20 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2021 | zimmerma | 2002-09-20 16:07:35 +0000 (Fri, 20 Sep 2002) | 2 lines +Changed paths: + M /trunk/tests/tset_str.c + +added test for uppercase letters + +------------------------------------------------------------------------ +r2020 | zimmerma | 2002-09-18 15:11:33 +0000 (Wed, 18 Sep 2002) | 2 lines +Changed paths: + M /trunk/agm.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + +now mpfr_agm returns an int (inexact flag) + +------------------------------------------------------------------------ +r2019 | lefevre | 2002-09-13 10:11:33 +0000 (Fri, 13 Sep 2002) | 2 lines +Changed paths: + M /trunk/README.dev + M /trunk/prepare + +Some more information. + +------------------------------------------------------------------------ +r2018 | lefevre | 2002-09-12 11:50:34 +0000 (Thu, 12 Sep 2002) | 3 lines +Changed paths: + M /trunk/configure.in + +On HP-UX, use the +allowunsats switch for ld, otherwise ld complains +that some GMP symbols are unsatisfied. + +------------------------------------------------------------------------ +r2017 | zimmerma | 2002-09-12 09:54:44 +0000 (Thu, 12 Sep 2002) | 2 lines +Changed paths: + M /trunk/gamma.c + M /trunk/tests/tgamma.c + +fixed bug in reflection formula for x<1 - * set_str.c: now accept uppercase letters too +------------------------------------------------------------------------ +r2016 | lefevre | 2002-08-23 22:05:08 +0000 (Fri, 23 Aug 2002) | 2 lines +Changed paths: + M /trunk/INSTALL + M /trunk/mpfr.texi + +MPFR now needs GMP 4.1 or higher. - * tests/tset_str.c: added test for uppercase letters +------------------------------------------------------------------------ +r2015 | ryde | 2002-08-22 00:56:07 +0000 (Thu, 22 Aug 2002) | 2 lines +Changed paths: + M /trunk/mpfr-math.h + +(__mpfr_nan): Clarify comments about HP C and alpha. -2002-09-18 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r2014 | ryde | 2002-08-22 00:47:22 +0000 (Thu, 22 Aug 2002) | 4 lines +Changed paths: + M /trunk/mpfr-math.h + +(_MPFR_NAN_BYTES, _MPFR_INFP_BYTES, _MPFR_INFM_BYTES): +Use HAVE_DOUBLE_IEEE_LITTLE_ENDIAN etc to select endianness, not a big +block of #ifdefs. + +------------------------------------------------------------------------ +r2013 | lefevre | 2002-08-12 00:35:25 +0000 (Mon, 12 Aug 2002) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + M /trunk/strcasecmp.c + A /trunk/strncasecmp.c + +strcasecmp.c -> strcasecmp.c & strncasecmp.c + +------------------------------------------------------------------------ +r2012 | ryde | 2002-08-07 01:47:30 +0000 (Wed, 07 Aug 2002) | 3 lines +Changed paths: + M /trunk/tests/Makefile.am + +Use $(top_builddir) consistently with libmpfr.a, for the benefit of +srcdir!=builddir. + +------------------------------------------------------------------------ +r2011 | lefevre | 2002-08-02 23:36:46 +0000 (Fri, 02 Aug 2002) | 2 lines +Changed paths: + M /trunk/configure.in + +Don't touch user specified flags (CFLAGS). [patch by Kevin Ryde] + +------------------------------------------------------------------------ +r2010 | lefevre | 2002-07-30 03:19:37 +0000 (Tue, 30 Jul 2002) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + M /trunk/mpfr-impl.h + M /trunk/set_str.c + +Better check for strcasecmp and strncasecmp. Bug fixed. + +------------------------------------------------------------------------ +r2009 | lefevre | 2002-07-28 23:48:20 +0000 (Sun, 28 Jul 2002) | 3 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/TODO + A /trunk/comparisons.c + M /trunk/mpfr.h + +Functions mpfr_greater_p, mpfr_greaterequal_p, mpfr_less_p, +mpfr_lessequal_p, mpfr_lessgreater_p, mpfr_equal_p, mpfr_unordered_p. + +------------------------------------------------------------------------ +r2008 | lefevre | 2002-07-28 01:58:32 +0000 (Sun, 28 Jul 2002) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/prepare + M /trunk/tests/Makefile.am + +Use AUTOMAKE_OPTIONS = gnu [suggested by Kevin Ryde] + +------------------------------------------------------------------------ +r2007 | lefevre | 2002-07-28 01:43:29 +0000 (Sun, 28 Jul 2002) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am + +check target -> TESTS = $(check_PROGRAMS) [suggested by Kevin Ryde] + +------------------------------------------------------------------------ +r2006 | lefevre | 2002-07-28 01:28:54 +0000 (Sun, 28 Jul 2002) | 3 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/strcasecmp.c + +strcasecmp and strncasecmp -> mpfr_strcasecmp and mpfr_strncasecmp +if they are provided by MPFR. + +------------------------------------------------------------------------ +r2005 | lefevre | 2002-07-28 00:50:51 +0000 (Sun, 28 Jul 2002) | 2 lines +Changed paths: + M /trunk/get_str.c + +TMP_MARK missing (patch by Kevin Ryde). + +------------------------------------------------------------------------ +r2004 | lefevre | 2002-07-26 17:53:53 +0000 (Fri, 26 Jul 2002) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update. + +------------------------------------------------------------------------ +r2003 | lefevre | 2002-07-26 17:49:03 +0000 (Fri, 26 Jul 2002) | 2 lines +Changed paths: + M /trunk/README + M /trunk/README.dev + +Update (mainly concerning CVS use). + +------------------------------------------------------------------------ +r2002 | lefevre | 2002-07-26 15:52:58 +0000 (Fri, 26 Jul 2002) | 5 lines +Changed paths: + M /trunk/TODO + M /trunk/exceptions.c + M /trunk/exp.c + M /trunk/mpfr-impl.h + M /trunk/next.c + M /trunk/setmax.c + M /trunk/setmin.c + +Prototype of mpfr_setmax and mpfr_setmin changed (exponent given). +In mpfr_exp for x ~= 0, add_one_ulp and sub_one_ulp are no longer +used (sub_one_ulp was incorrect). These cases should now be faster. +Small fix in mpfr_nextabove, mpfr_nextbelow and mpfr_nexttoward. + +------------------------------------------------------------------------ +r2001 | lefevre | 2002-07-26 15:21:45 +0000 (Fri, 26 Jul 2002) | 4 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/TODO + M /trunk/exceptions.c + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/mpfr.texi + A /trunk/next.c + A /trunk/setmax.c + A /trunk/setmin.c + M /trunk/sub_one_ulp.c + +New internal functions mpfr_setmin and mpfr_setmax. +New functions mpfr_nextabove, mpfr_nextbelow, mpfr_nexttoward. +Small fix in mpfr_sub_one_ulp. + +------------------------------------------------------------------------ +r2000 | zimmerma | 2002-07-26 13:24:45 +0000 (Fri, 26 Jul 2002) | 2 lines +Changed paths: + M /trunk/get_str.c + +improved the computation of g = ceil((e-1)/log_2(beta)), using two tables + +------------------------------------------------------------------------ +r1999 | lefevre | 2002-07-25 15:43:49 +0000 (Thu, 25 Jul 2002) | 5 lines +Changed paths: + M /trunk/add_ui.c + M /trunk/exceptions.c + M /trunk/mpfr-impl.h + M /trunk/mpfr.texi + M /trunk/save_expo.c + M /trunk/set_q.c + M /trunk/sqrt_ui.c + M /trunk/sub_ui.c + M /trunk/ui_pow_ui.c + +Function mpfr_check_range now propagates the inexact ternary value. +Function mpfr_restore_emin_emax OR's the saved flags with the current +flags, as this is more useful in general. +Macro MPFR_RESTORE_RET removed (no longer useful). + +------------------------------------------------------------------------ +r1998 | lefevre | 2002-07-24 17:38:21 +0000 (Wed, 24 Jul 2002) | 2 lines +Changed paths: + M /trunk/frac.c + +Change concerning an assertion, due to GMP limitation. + +------------------------------------------------------------------------ +r1997 | zimmerma | 2002-07-24 16:35:02 +0000 (Wed, 24 Jul 2002) | 2 lines +Changed paths: + M /trunk/tests/tout_str.c + +gnu indentation + +------------------------------------------------------------------------ +r1996 | zimmerma | 2002-07-24 16:32:49 +0000 (Wed, 24 Jul 2002) | 2 lines +Changed paths: + M /trunk/tests/tgamma.c + +reduce range of tests (did take too much time) + +------------------------------------------------------------------------ +r1995 | zimmerma | 2002-07-24 16:31:00 +0000 (Wed, 24 Jul 2002) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c + +added plenty of new cases, now covers all lines of get_str.c + +------------------------------------------------------------------------ +r1994 | zimmerma | 2002-07-24 16:29:40 +0000 (Wed, 24 Jul 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +updated documentation of mpfr_get_str + +------------------------------------------------------------------------ +r1993 | zimmerma | 2002-07-24 16:28:21 +0000 (Wed, 24 Jul 2002) | 4 lines +Changed paths: + M /trunk/get_str.c + +completely new version, written by Alain Delplanque and Paul Zimmermann. +It now directly uses mpn_get_str, with subquadratic complexity. +About 3 times faster than previous version in most cases. + +------------------------------------------------------------------------ +r1992 | lefevre | 2002-07-24 16:23:27 +0000 (Wed, 24 Jul 2002) | 3 lines +Changed paths: + M /trunk/frac.c + +Bug fixed: unsigned int variables changed to int to avoid operations +with mixed signed/unsigned variables and unwanted casts. + +------------------------------------------------------------------------ +r1991 | lefevre | 2002-07-24 16:04:16 +0000 (Wed, 24 Jul 2002) | 2 lines +Changed paths: + M /trunk/Makefile.am + A /trunk/frac.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/tests/Makefile.am + A /trunk/tests/tfrac.c + +Function mpfr_frac and tests added. + +------------------------------------------------------------------------ +r1990 | lefevre | 2002-07-24 15:05:51 +0000 (Wed, 24 Jul 2002) | 2 lines +Changed paths: + M /trunk/set.c + +Bug fixed (0 was forgotten). - * agm.c, mpfr.h, mpfr.texi: now mpfr_agm returns an int (inexact flag) +------------------------------------------------------------------------ +r1989 | lefevre | 2002-07-24 11:11:07 +0000 (Wed, 24 Jul 2002) | 2 lines +Changed paths: + M /trunk/isinteger.c + +Optimization: mpfr_trunc no longer used! -2002-09-13 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r1988 | lefevre | 2002-07-24 10:13:00 +0000 (Wed, 24 Jul 2002) | 2 lines +Changed paths: + M /trunk/isinteger.c + +mpfr_isinteger extended to non-fp numbers and to zero. - * prepare, README.dev: Some more information. +------------------------------------------------------------------------ +r1987 | lefevre | 2002-07-24 09:59:01 +0000 (Wed, 24 Jul 2002) | 2 lines +Changed paths: + M /trunk/isnum.c -2002-09-12 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Simpler test. - * configure.in: - On HP-UX, use the +allowunsats switch for ld, otherwise ld complains - that some GMP symbols are unsatisfied. +------------------------------------------------------------------------ +r1986 | lefevre | 2002-07-23 17:19:47 +0000 (Tue, 23 Jul 2002) | 2 lines +Changed paths: + A /trunk/mul.c -2002-09-12 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Re-adding mul.c with fixed permissions. - * tests/tgamma.c, gamma.c: fixed bug in reflection formula for x<1 +------------------------------------------------------------------------ +r1985 | lefevre | 2002-07-23 17:18:56 +0000 (Tue, 23 Jul 2002) | 2 lines +Changed paths: + D /trunk/mul.c -2002-08-23 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Temporarily removing mul.c in order to try to fix its permissions. - * INSTALL, mpfr.texi: MPFR now needs GMP 4.1 or higher. +------------------------------------------------------------------------ +r1984 | lefevre | 2002-07-23 16:22:08 +0000 (Tue, 23 Jul 2002) | 2 lines +Changed paths: + M /trunk/mul.c -2002-08-22 Kevin Ryde <user42@zip.com.au> +Fixed permissions. - * mpfr-math.h (__mpfr_nan): Clarify comments about HP C and alpha. +------------------------------------------------------------------------ +r1983 | lefevre | 2002-07-23 16:02:30 +0000 (Tue, 23 Jul 2002) | 2 lines +Changed paths: + M /trunk/exceptions.c + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/set_si.c + M /trunk/set_ui.c + M /trunk/tests/texceptions.c - * mpfr-math.h: (_MPFR_NAN_BYTES, _MPFR_INFP_BYTES, _MPFR_INFM_BYTES): - Use HAVE_DOUBLE_IEEE_LITTLE_ENDIAN etc to select endianness, not a big - block of #ifdefs. +Function mpfr_check_range improved in the underflow case. -2002-08-12 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r1982 | lefevre | 2002-07-22 15:52:33 +0000 (Mon, 22 Jul 2002) | 2 lines +Changed paths: + M /trunk/ChangeLog - * acinclude.m4, strcasecmp.c, strncasecmp.c: - strcasecmp.c -> strcasecmp.c & strncasecmp.c +Update. -2002-08-07 Kevin Ryde <user42@zip.com.au> +------------------------------------------------------------------------ +r1981 | zimmerma | 2002-07-22 15:22:13 +0000 (Mon, 22 Jul 2002) | 2 lines +Changed paths: + M /trunk/dump.c - * tests/Makefile.am: - Use $(top_builddir) consistently with libmpfr.a, for the benefit of - srcdir!=builddir. +now dump in base 2 -2002-08-02 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r1980 | zimmerma | 2002-07-22 15:11:50 +0000 (Mon, 22 Jul 2002) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c - * configure.in: - Don't touch user specified flags (CFLAGS). [patch by Kevin Ryde] +forgot one free() call -2002-07-30 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r1979 | lefevre | 2002-07-22 13:57:15 +0000 (Mon, 22 Jul 2002) | 2 lines +Changed paths: + M /trunk/BUGS - * acinclude.m4, mpfr-impl.h, set_str.c: - Better check for strcasecmp and strncasecmp. Bug fixed. +mpfr_pow bug removed. -2002-07-28 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r1978 | lefevre | 2002-07-22 13:54:55 +0000 (Mon, 22 Jul 2002) | 2 lines +Changed paths: + M /trunk/pow.c - * Makefile.am, TODO, comparisons.c, mpfr.h: - Functions mpfr_greater_p, mpfr_greaterequal_p, mpfr_less_p, - mpfr_lessequal_p, mpfr_lessgreater_p, mpfr_equal_p, mpfr_unordered_p. +Reindentation. - * prepare, tests/Makefile.am, Makefile.am: - Use AUTOMAKE_OPTIONS = gnu [suggested by Kevin Ryde] +------------------------------------------------------------------------ +r1977 | lefevre | 2002-07-22 13:51:20 +0000 (Mon, 22 Jul 2002) | 3 lines +Changed paths: + M /trunk/pow.c + M /trunk/tests/tpow.c - * tests/Makefile.am: - check target -> TESTS = $(check_PROGRAMS) [suggested by Kevin Ryde] +pow.c: bug fixed (in the call to mpfr_can_round). +tpow.c: mpfr_clear added. - * mpfr-impl.h, strcasecmp.c: - strcasecmp and strncasecmp -> mpfr_strcasecmp and mpfr_strncasecmp - if they are provided by MPFR. +------------------------------------------------------------------------ +r1976 | lefevre | 2002-07-22 13:26:54 +0000 (Mon, 22 Jul 2002) | 2 lines +Changed paths: + M /trunk/tests/tpow.c - * get_str.c: TMP_MARK missing (patch by Kevin Ryde). +Modified the two tests to make the bug appear. -2002-07-26 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r1975 | zimmerma | 2002-07-22 09:37:31 +0000 (Mon, 22 Jul 2002) | 2 lines +Changed paths: + M /trunk/tests/tpow.c - * ChangeLog: Update. +added two tests - * README, README.dev: Update (mainly concerning CVS use). +------------------------------------------------------------------------ +r1974 | lefevre | 2002-07-19 15:31:23 +0000 (Fri, 19 Jul 2002) | 2 lines +Changed paths: + M /trunk/README.dev - * TODO, exceptions.c, exp.c, mpfr-impl.h, next.c, setmax.c, setmin.c: - Prototype of mpfr_setmax and mpfr_setmin changed (exponent given). - In mpfr_exp for x ~= 0, add_one_ulp and sub_one_ulp are no longer - used (sub_one_ulp was incorrect). These cases should now be faster. - Small fix in mpfr_nextabove, mpfr_nextbelow and mpfr_nexttoward. +Updated note concerning rcs2log. - * next.c, setmax.c, setmin.c, sub_one_ulp.c, Makefile.am, TODO, exceptions.c, mpfr-impl.h, mpfr.h, mpfr.texi: - New internal functions mpfr_setmin and mpfr_setmax. - New functions mpfr_nextabove, mpfr_nextbelow, mpfr_nexttoward. - Small fix in mpfr_sub_one_ulp. +------------------------------------------------------------------------ +r1973 | lefevre | 2002-07-19 11:31:30 +0000 (Fri, 19 Jul 2002) | 2 lines +Changed paths: + M /trunk/TODO -2002-07-26 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Line mpfr_get_exp / mpfr_set_exp removed. - * get_str.c: - improved the computation of g = ceil((e-1)/log_2(beta)), using two tables +------------------------------------------------------------------------ +r1972 | zimmerma | 2002-07-16 15:33:31 +0000 (Tue, 16 Jul 2002) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c -2002-07-25 Vincent Lefevre <Vincent.Lefevre@loria.fr> +added function check_large - * mpfr-impl.h, mpfr.texi, save_expo.c, set_q.c, sqrt_ui.c, sub_ui.c, ui_pow_ui.c, add_ui.c, exceptions.c: - Function mpfr_check_range now propagates the inexact ternary value. - Function mpfr_restore_emin_emax OR's the saved flags with the current - flags, as this is more useful in general. - Macro MPFR_RESTORE_RET removed (no longer useful). +------------------------------------------------------------------------ +r1971 | lefevre | 2002-07-15 13:16:15 +0000 (Mon, 15 Jul 2002) | 2 lines +Changed paths: + M /trunk/config.guess + M /trunk/config.sub -2002-07-24 Vincent Lefevre <Vincent.Lefevre@loria.fr> +Update from ftp://ftp.gnu.org/pub/gnu/config/ - * frac.c: Change concerning an assertion, due to GMP limitation. +------------------------------------------------------------------------ +r1970 | lefevre | 2002-07-14 23:44:41 +0000 (Sun, 14 Jul 2002) | 2 lines +Changed paths: + M /trunk/mpfr-math.h -2002-07-24 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Add __sparc__ (patch by Nix <nix@esperi.demon.co.uk>). - * tests/tout_str.c: gnu indentation +------------------------------------------------------------------------ +r1969 | lefevre | 2002-07-14 23:39:13 +0000 (Sun, 14 Jul 2002) | 2 lines +Changed paths: + M /trunk/TODO - * tests/tgamma.c: reduce range of tests (did take too much time) +Note about randomized tests. - * tests/tget_str.c: - added plenty of new cases, now covers all lines of get_str.c +------------------------------------------------------------------------ +r1968 | lefevre | 2002-07-04 15:09:17 +0000 (Thu, 04 Jul 2002) | 2 lines +Changed paths: + M /trunk/BUGS - * mpfr.texi: updated documentation of mpfr_get_str +Bug concerning the rounding of pow(). - * get_str.c: - completely new version, written by Alain Delplanque and Paul Zimmermann. - It now directly uses mpn_get_str, with subquadratic complexity. - About 3 times faster than previous version in most cases. +------------------------------------------------------------------------ +r1967 | lefevre | 2002-07-04 14:26:00 +0000 (Thu, 04 Jul 2002) | 2 lines +Changed paths: + M /trunk/pow.c -2002-07-24 Vincent Lefevre <Vincent.Lefevre@loria.fr> +mpfr_pow() didn't work when the exponent was a negative integer. - * frac.c: - Bug fixed: unsigned int variables changed to int to avoid operations - with mixed signed/unsigned variables and unwanted casts. +------------------------------------------------------------------------ +r1966 | lefevre | 2002-07-04 14:25:40 +0000 (Thu, 04 Jul 2002) | 2 lines +Changed paths: + M /trunk/get_z_exp.c - * Makefile.am, frac.c, mpfr.h, mpfr.texi, tests/Makefile.am, tests/tfrac.c: - Function mpfr_frac and tests added. +mpfr_get_z_exp() didn't work when the MPFR number was negative. - * set.c: Bug fixed (0 was forgotten). +------------------------------------------------------------------------ +r1965 | lefevre | 2002-07-04 11:59:27 +0000 (Thu, 04 Jul 2002) | 2 lines +Changed paths: + M /trunk/Makefile.am + A /trunk/get_exp.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + A /trunk/set_exp.c - * isinteger.c: Optimization: mpfr_trunc no longer used! +New functions mpfr_get_exp and mpfr_set_exp. - * isinteger.c: mpfr_isinteger extended to non-fp numbers and to zero. +------------------------------------------------------------------------ +r1964 | zimmerma | 2002-06-27 14:07:06 +0000 (Thu, 27 Jun 2002) | 2 lines +Changed paths: + M /trunk/TODO - * isnum.c: Simpler test. +removed duplicated entry (thread-safe) -2002-07-23 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r1963 | zimmerma | 2002-06-27 13:57:23 +0000 (Thu, 27 Jun 2002) | 2 lines +Changed paths: + M /trunk/TODO - * mul.c: Re-adding mul.c with fixed permissions. +added new items - * mul.c: - Temporarily removing mul.c in order to try to fix its permissions. +------------------------------------------------------------------------ +r1962 | zimmerma | 2002-06-27 12:55:03 +0000 (Thu, 27 Jun 2002) | 2 lines +Changed paths: + M /trunk/tests/tpow.c - * mul.c: Fixed permissions. +added special cases - * exceptions.c, mpfr-impl.h, mpfr.h, mpfr.texi, set_si.c, set_ui.c, tests/texceptions.c: - Function mpfr_check_range improved in the underflow case. +------------------------------------------------------------------------ +r1961 | zimmerma | 2002-06-27 12:50:36 +0000 (Thu, 27 Jun 2002) | 2 lines +Changed paths: + M /trunk/algorithms.tex -2002-07-22 Vincent Lefevre <Vincent.Lefevre@loria.fr> +added one reference (nocite) - * ChangeLog: Update. +------------------------------------------------------------------------ +r1960 | zimmerma | 2002-06-27 12:50:15 +0000 (Thu, 27 Jun 2002) | 2 lines +Changed paths: + M /trunk/algorithms.bib -2002-07-22 Paul Zimmermann <Paul.Zimmermann@loria.fr> +added one reference - * dump.c: now dump in base 2 +------------------------------------------------------------------------ +r1959 | zimmerma | 2002-06-27 12:49:01 +0000 (Thu, 27 Jun 2002) | 2 lines +Changed paths: + M /trunk/inp_str.c - * tests/tget_str.c: forgot one free() call +fixed bug in return value -2002-07-22 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r1958 | zimmerma | 2002-06-27 12:30:03 +0000 (Thu, 27 Jun 2002) | 2 lines +Changed paths: + M /trunk/TODO - * BUGS: mpfr_pow bug removed. +new additions - * pow.c: Reindentation. +------------------------------------------------------------------------ +r1957 | zimmerma | 2002-06-27 09:31:01 +0000 (Thu, 27 Jun 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * pow.c, tests/tpow.c: - pow.c: bug fixed (in the call to mpfr_can_round). - tpow.c: mpfr_clear added. +added pointer to mpfr_inp_str in mpfr_set_str - * tests/tpow.c: Modified the two tests to make the bug appear. +------------------------------------------------------------------------ +r1956 | lefevre | 2002-06-26 23:55:24 +0000 (Wed, 26 Jun 2002) | 2 lines +Changed paths: + M /trunk/ChangeLog -2002-07-22 Paul Zimmermann <Paul.Zimmermann@loria.fr> +Update. - * tests/tpow.c: added two tests +------------------------------------------------------------------------ +r1955 | lefevre | 2002-06-26 23:51:49 +0000 (Wed, 26 Jun 2002) | 3 lines +Changed paths: + M /trunk/add1.c + M /trunk/add_one_ulp.c + M /trunk/div.c + M /trunk/exceptions.c + M /trunk/mpfr-impl.h + M /trunk/mul.c + M /trunk/mul_ui.c + M /trunk/print_raw.c + M /trunk/rint.c + M /trunk/round_prec.c + M /trunk/set.c + M /trunk/set_si.c + M /trunk/set_ui.c + M /trunk/set_z.c + M /trunk/sqrt.c + M /trunk/sub1.c + +MP_LIMB_T_HIGHBIT -> MPFR_LIMB_HIGHBIT. +MPFR is now compatible with GMP 4.1. + +------------------------------------------------------------------------ +r1954 | lefevre | 2002-06-15 10:50:23 +0000 (Sat, 15 Jun 2002) | 2 lines +Changed paths: + M /trunk/TODO + +Added: make MPFR thread-safe. + +------------------------------------------------------------------------ +r1953 | zimmerma | 2002-06-14 13:14:34 +0000 (Fri, 14 Jun 2002) | 2 lines +Changed paths: + M /trunk/set_q.c + +fixed bug found by Gerardo Ballabio + +------------------------------------------------------------------------ +r1952 | zimmerma | 2002-06-14 13:14:08 +0000 (Fri, 14 Jun 2002) | 2 lines +Changed paths: + M /trunk/tests/tset_q.c + +added one test (bug in mpfr-2.0.1 found by Gerardo Ballabio) + +------------------------------------------------------------------------ +r1951 | zimmerma | 2002-06-13 12:44:16 +0000 (Thu, 13 Jun 2002) | 2 lines +Changed paths: + M /trunk/TODO + +added mpfr_modf + +------------------------------------------------------------------------ +r1950 | lefevre | 2002-06-12 22:30:26 +0000 (Wed, 12 Jun 2002) | 2 lines +Changed paths: + M /trunk/TODO + +Added modf (to implement). + +------------------------------------------------------------------------ +r1949 | lefevre | 2002-06-08 22:58:28 +0000 (Sat, 08 Jun 2002) | 3 lines +Changed paths: + M /trunk/tests/tadd.c + M /trunk/tests/tmul.c + +check: Apply a hack to the parameter order to make sparc gcc 2.95.2 +happy (patch by Kevin Ryde) + static added. + +------------------------------------------------------------------------ +r1948 | lefevre | 2002-06-08 22:45:57 +0000 (Sat, 08 Jun 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Patch by Kevin Ryde. + +------------------------------------------------------------------------ +r1947 | lefevre | 2002-06-08 02:45:27 +0000 (Sat, 08 Jun 2002) | 3 lines +Changed paths: + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + +Suppress tests if sqrt is not affected by mpfr_set_machine_rnd_mode +(patch by Kevin Ryde). + +------------------------------------------------------------------------ +r1946 | lefevre | 2002-06-08 02:25:49 +0000 (Sat, 08 Jun 2002) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update. + +------------------------------------------------------------------------ +r1945 | lefevre | 2002-06-08 02:20:00 +0000 (Sat, 08 Jun 2002) | 2 lines +Changed paths: + M /trunk/README + +fdl.texi added. + +------------------------------------------------------------------------ +r1944 | lefevre | 2002-06-08 02:16:07 +0000 (Sat, 08 Jun 2002) | 9 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/README.dev + A /trunk/fdl.texi + M /trunk/mpfr.texi + M /trunk/texinfo.tex + +Patch by Kevin Ryde (and Vincent Lefevre). +mpfr.texi: Change license to FDL, use @copying per texinfo 4.2. +Use @dircategory, @direntry, @documentdescription. +Move @contents to start of file. +(VERSION, UPDATED): New variables. +(m, GMPtimes, times): New macros. +(Float Arithmetic): Fix html output. Reported by Richard Dawe. +(GNU Free Documentation License): New appendix. + +------------------------------------------------------------------------ +r1943 | lefevre | 2002-06-06 11:08:47 +0000 (Thu, 06 Jun 2002) | 2 lines +Changed paths: + M /trunk/rnd_mode.c + +Use gmp-impl.h to get MPFR_HAVE_FESETROUND (reported by Kevin Ryde). + +------------------------------------------------------------------------ +r1942 | zimmerma | 2002-06-05 15:27:23 +0000 (Wed, 05 Jun 2002) | 2 lines +Changed paths: + M /trunk/ChangeLog + +patch for mpfr.texi + +------------------------------------------------------------------------ +r1941 | zimmerma | 2002-06-05 15:24:46 +0000 (Wed, 05 Jun 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +patch from Richard Dawe <richdawe@bigfoot.com> to generate HTML + +------------------------------------------------------------------------ +r1940 | zimmerma | 2002-06-05 15:05:21 +0000 (Wed, 05 Jun 2002) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/gamma.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/tests/Makefile.am + M /trunk/tests/tgamma.c + +added mpfr_gamma in libmpfr + +------------------------------------------------------------------------ +r1939 | lefevre | 2002-06-05 01:01:42 +0000 (Wed, 05 Jun 2002) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + M /trunk/mpfr-test.h + M /trunk/tests/tests.c + +Check for isnan. + +------------------------------------------------------------------------ +r1938 | lefevre | 2002-05-29 13:08:04 +0000 (Wed, 29 May 2002) | 2 lines +Changed paths: + M /trunk/rint.c + +Bug fixed (possible integer overflow). + +------------------------------------------------------------------------ +r1937 | lefevre | 2002-05-29 12:48:06 +0000 (Wed, 29 May 2002) | 2 lines +Changed paths: + M /trunk/add_one_ulp.c + M /trunk/sub_one_ulp.c + +Bug fixed (possible integer overflow). + +------------------------------------------------------------------------ +r1936 | lefevre | 2002-05-29 12:41:19 +0000 (Wed, 29 May 2002) | 2 lines +Changed paths: + M /trunk/add1.c + M /trunk/sub1.c + +Bug fixed (possible integer overflow). + +------------------------------------------------------------------------ +r1935 | lefevre | 2002-05-29 12:21:32 +0000 (Wed, 29 May 2002) | 2 lines +Changed paths: + M /trunk/exceptions.c + +Note added for mpfr_check_range. Bug fixed. + +------------------------------------------------------------------------ +r1934 | lefevre | 2002-05-29 11:37:31 +0000 (Wed, 29 May 2002) | 3 lines +Changed paths: + M /trunk/urandomb.c + +Sign wasn't set (reported by Dmitrii Baksheyev). +Types fixed and code clean-up. + +------------------------------------------------------------------------ +r1933 | lefevre | 2002-05-29 10:56:51 +0000 (Wed, 29 May 2002) | 2 lines +Changed paths: + M /trunk/random.c + +Types fixed and code clean-up. + +------------------------------------------------------------------------ +r1932 | lefevre | 2002-05-27 13:48:56 +0000 (Mon, 27 May 2002) | 3 lines +Changed paths: + M /trunk/TODO + M /trunk/const_log2.c + M /trunk/const_pi.c + M /trunk/mpfr-impl.h + M /trunk/mpfr-test.h + M /trunk/tests/Makefile.am + A /trunk/tests/memory.c + M /trunk/tests/reuse.c + M /trunk/tests/tabs.c + M /trunk/tests/tacos.c + M /trunk/tests/tacosh.c + M /trunk/tests/tadd.c + M /trunk/tests/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/tcmp.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tconst_euler.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tconst_pi.c + M /trunk/tests/tcos.c + M /trunk/tests/tcosh.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/tdump.c + M /trunk/tests/teq.c + A /trunk/tests/tests.c + M /trunk/tests/texceptions.c + M /trunk/tests/texp.c + M /trunk/tests/texp2.c + M /trunk/tests/texpm1.c + M /trunk/tests/tfactorial.c + M /trunk/tests/tfma.c + M /trunk/tests/tget_str.c + M /trunk/tests/thyperbolic.c + M /trunk/tests/thypot.c + M /trunk/tests/tisnan.c + M /trunk/tests/tlog.c + M /trunk/tests/tlog10.c + M /trunk/tests/tlog1p.c + M /trunk/tests/tlog2.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tpow.c + M /trunk/tests/tpow3.c + M /trunk/tests/trandom.c + M /trunk/tests/trint.c + M /trunk/tests/tround_prec.c + M /trunk/tests/tset.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_f.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsin.c + M /trunk/tests/tsinh.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub_ui.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_pow.c + M /trunk/tests/tui_sub.c + +Patch by Kevin Ryde for memory leak checking + misc declaration fixes. +Code moved from mpfr-test.h to tests.c. + +------------------------------------------------------------------------ +r1931 | lefevre | 2002-05-14 23:14:53 +0000 (Tue, 14 May 2002) | 2 lines +Changed paths: + M /trunk/TODO + +Ternary flag for mpfr_agm. + +------------------------------------------------------------------------ +r1930 | lefevre | 2002-05-14 23:03:08 +0000 (Tue, 14 May 2002) | 2 lines +Changed paths: + M /trunk/acos.c + M /trunk/add.c + M /trunk/asin.c + M /trunk/atan.c + M /trunk/cmp2.c + M /trunk/const_euler.c + M /trunk/const_log2.c + M /trunk/const_pi.c + M /trunk/div.c + M /trunk/exceptions.c + M /trunk/gamma.c + M /trunk/generic.c + M /trunk/init.c + M /trunk/init2.c + M /trunk/isinteger.c + M /trunk/mpfi.h + M /trunk/out_str.c + M /trunk/set_si.c + M /trunk/set_str_raw.c + M /trunk/set_ui.c + M /trunk/sub.c + M /trunk/tests/tacos.c + M /trunk/tests/tacosh.c + M /trunk/tests/tasinh.c + M /trunk/tests/tatanh.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tconst_pi.c + M /trunk/tests/tcosh.c + M /trunk/tests/texceptions.c + M /trunk/tests/texp2.c + M /trunk/tests/texpm1.c + M /trunk/tests/tfma.c + M /trunk/tests/tgamma.c + M /trunk/tests/thypot.c + M /trunk/tests/tlog1p.c + M /trunk/tests/tlog2.c + M /trunk/tests/tpow3.c + M /trunk/tests/tset.c + M /trunk/tests/tsinh.c + M /trunk/tests/tsub.c + M /trunk/tests/tswap.c + M /trunk/tests/ttanh.c + M /trunk/tests/ttrunc.c + M /trunk/tests/tui_pow.c + M /trunk/tests/tzeta.c + M /trunk/ui_div.c + M /trunk/zeta.c + +Copyright line updated. + +------------------------------------------------------------------------ +r1929 | zimmerma | 2002-05-14 14:47:35 +0000 (Tue, 14 May 2002) | 2 lines +Changed paths: + M /trunk/TODO + +ternary flag for mpfr_agm? + +------------------------------------------------------------------------ +r1928 | zimmerma | 2002-05-14 14:37:20 +0000 (Tue, 14 May 2002) | 2 lines +Changed paths: + M /trunk/TODO + +update wrt mpfr_set_machine_rnd_mode + +------------------------------------------------------------------------ +r1927 | zimmerma | 2002-05-14 09:44:27 +0000 (Tue, 14 May 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +added mathematical description of arithmetico-geometric mean + +------------------------------------------------------------------------ +r1926 | lefevre | 2002-05-08 00:13:28 +0000 (Wed, 08 May 2002) | 4 lines +Changed paths: + M /trunk/INSTALL + M /trunk/acinclude.m4 + +The problem on a G4 PowerPC was a bug in gcc; this is now tested +in configure (float-conversion bug) and -ffloat-store is used if +need be. + +------------------------------------------------------------------------ +r1925 | lefevre | 2002-05-06 08:37:34 +0000 (Mon, 06 May 2002) | 2 lines +Changed paths: + M /trunk/INSTALL + +Problem on the G4 PowerPC. + +------------------------------------------------------------------------ +r1924 | zimmerma | 2002-04-30 18:49:21 +0000 (Tue, 30 Apr 2002) | 2 lines +Changed paths: + M /trunk/algorithms.tex + M /trunk/pow.c + M /trunk/tests/tpow.c + +fixed problem (infinite loop) in mpfr_pow for exact powers + +------------------------------------------------------------------------ +r1923 | zimmerma | 2002-04-30 09:54:12 +0000 (Tue, 30 Apr 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +fixed errors found by Sylvain Pion + +------------------------------------------------------------------------ +r1922 | lefevre | 2002-04-27 23:13:33 +0000 (Sat, 27 Apr 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +not relevant -> undefined. + +------------------------------------------------------------------------ +r1921 | lefevre | 2002-04-27 23:07:29 +0000 (Sat, 27 Apr 2002) | 3 lines +Changed paths: + M /trunk/mpfr.texi + +Some changes concerning the internals and zeros +(including remarks by Kevin Ryde). + +------------------------------------------------------------------------ +r1920 | lefevre | 2002-04-25 15:40:13 +0000 (Thu, 25 Apr 2002) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + M /trunk/mpfr-math.h + +Check if HUGE_VAL is supported. + +------------------------------------------------------------------------ +r1919 | lefevre | 2002-04-25 14:03:17 +0000 (Thu, 25 Apr 2002) | 2 lines +Changed paths: + M /trunk/TODO + +Changes in mpfr_set_str. + +------------------------------------------------------------------------ +r1918 | zimmerma | 2002-04-25 13:45:07 +0000 (Thu, 25 Apr 2002) | 2 lines +Changed paths: + M /trunk/TODO + +update + +------------------------------------------------------------------------ +r1917 | zimmerma | 2002-04-25 09:04:20 +0000 (Thu, 25 Apr 2002) | 3 lines +Changed paths: + M /trunk/mpfr.texi + M /trunk/set_str.c -2002-07-19 Vincent Lefevre <Vincent.Lefevre@loria.fr> +mpfr_set_str doesn't require any more a final '\0' + and return the number of characters read - * README.dev: Updated note concerning rcs2log. +------------------------------------------------------------------------ +r1916 | zimmerma | 2002-04-25 09:02:31 +0000 (Thu, 25 Apr 2002) | 2 lines +Changed paths: + M /trunk/tests/tset_str.c - * TODO: Line mpfr_get_exp / mpfr_set_exp removed. +modified tests for special values -2002-07-16 Paul Zimmermann <Paul.Zimmermann@loria.fr> +------------------------------------------------------------------------ +r1915 | lefevre | 2002-04-24 10:25:02 +0000 (Wed, 24 Apr 2002) | 2 lines +Changed paths: + M /trunk/cmp_abs.c - * tests/tget_str.c: added function check_large +Description updated. -2002-07-15 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r1914 | lefevre | 2002-04-24 10:23:42 +0000 (Wed, 24 Apr 2002) | 3 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/mpfr.texi + +mpfr_cmp_abs no longer an internal function and described in mpfr.texi. +In mpfr.texi, a @var{} was forgotten. - * config.guess, config.sub: - Update from ftp://ftp.gnu.org/pub/gnu/config/ +------------------------------------------------------------------------ +r1913 | lefevre | 2002-04-24 10:21:15 +0000 (Wed, 24 Apr 2002) | 2 lines +Changed paths: + M /trunk/cmp_abs.c -2002-07-14 Vincent Lefevre <Vincent.Lefevre@loria.fr> +mpfr_cmp_abs can now be called on zero numbers. - * mpfr-math.h: Add __sparc__ (patch by Nix <nix@esperi.demon.co.uk>). +------------------------------------------------------------------------ +r1912 | lefevre | 2002-04-24 00:21:46 +0000 (Wed, 24 Apr 2002) | 2 lines +Changed paths: + M /trunk/mpfr-math.h - * TODO: Note about randomized tests. +Structures are used to get correct alignment. + +------------------------------------------------------------------------ +r1911 | lefevre | 2002-04-23 23:32:28 +0000 (Tue, 23 Apr 2002) | 3 lines +Changed paths: + M /trunk/mpfr-math.h + +_MPFR_INF*_BYTES fix. On alpha, use a "double" for the bytes, +to avoid a mis-conversion on alpha gcc 3.0.2. (Kevin Ryde) + +------------------------------------------------------------------------ +r1910 | lefevre | 2002-04-23 20:00:42 +0000 (Tue, 23 Apr 2002) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/div_2si.c + M /trunk/div_2ui.c + M /trunk/exceptions.c + M /trunk/mpfr-impl.h + M /trunk/mul.c + M /trunk/mul_2si.c + A /trunk/powerof2.c + M /trunk/set_z.c + M /trunk/sub1.c + M /trunk/sub_one_ulp.c + +Underflow semantics changed (not tested). + +------------------------------------------------------------------------ +r1909 | lefevre | 2002-04-23 09:35:26 +0000 (Tue, 23 Apr 2002) | 2 lines +Changed paths: + M /trunk/mul.c + +Code simplified due to change in the maximum exponent range. + +------------------------------------------------------------------------ +r1908 | zimmerma | 2002-04-23 09:08:33 +0000 (Tue, 23 Apr 2002) | 2 lines +Changed paths: + M /trunk/algorithms.tex + +modifs from Andreas + +------------------------------------------------------------------------ +r1907 | lefevre | 2002-04-22 22:23:26 +0000 (Mon, 22 Apr 2002) | 2 lines +Changed paths: + M /trunk/mpfr-math.h + +Union -> array + cast because of the HP compiler. + +------------------------------------------------------------------------ +r1906 | lefevre | 2002-04-20 13:17:37 +0000 (Sat, 20 Apr 2002) | 3 lines +Changed paths: + M /trunk/get_d.c + +Avoid constant floating expression, as this doesn't give the correct +result with gcc on some Alpha machines. (patch by Paul Zimmermann) + +------------------------------------------------------------------------ +r1905 | lefevre | 2002-04-19 23:19:31 +0000 (Fri, 19 Apr 2002) | 2 lines +Changed paths: + M /trunk/mpfr-test.h + +RAND_MAX defined if not already defined (as it should be). + +------------------------------------------------------------------------ +r1904 | lefevre | 2002-04-19 23:10:09 +0000 (Fri, 19 Apr 2002) | 3 lines +Changed paths: + M /trunk/mpfr-test.h + +Include config.h, for the benefit of test programs not using +gmp-impl.h (Kevin Ryde). + +------------------------------------------------------------------------ +r1903 | zimmerma | 2002-04-19 18:16:53 +0000 (Fri, 19 Apr 2002) | 2 lines +Changed paths: + M /trunk/mpfr-test.h + +added tests in mpfr_test_init for denorms and extended precision + +------------------------------------------------------------------------ +r1902 | zimmerma | 2002-04-19 17:22:46 +0000 (Fri, 19 Apr 2002) | 2 lines +Changed paths: + M /trunk/init.c + M /trunk/init2.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + +mpfr_init and mpfr_init2 now return an int + +------------------------------------------------------------------------ +r1901 | lefevre | 2002-04-19 16:37:15 +0000 (Fri, 19 Apr 2002) | 3 lines +Changed paths: + M /trunk/set_q.c + +Exponent range saved/restored. Returns NaN when the numerator +or the denominator is too large for MPFR. + +------------------------------------------------------------------------ +r1900 | lefevre | 2002-04-19 12:26:06 +0000 (Fri, 19 Apr 2002) | 3 lines +Changed paths: + M /trunk/add_ui.c + M /trunk/div_ui.c + M /trunk/mul_ui.c + M /trunk/set_si.c + M /trunk/set_ui.c + M /trunk/sqrt_ui.c + M /trunk/sub_ui.c + M /trunk/ui_div.c + M /trunk/ui_sub.c + +Added some assertions (any unsigned long must be representable +in a mp_limb_t). + +------------------------------------------------------------------------ +r1899 | lefevre | 2002-04-19 12:01:16 +0000 (Fri, 19 Apr 2002) | 2 lines +Changed paths: + M /trunk/cmp_si.c + M /trunk/mpfr-impl.h + M /trunk/set_si.c + +SAFE_ABS changed so that it can be used for any unsigned type. + +------------------------------------------------------------------------ +r1898 | lefevre | 2002-04-18 15:36:36 +0000 (Thu, 18 Apr 2002) | 3 lines +Changed paths: + M /trunk/set_z.c + +Added code to prevent possible integer overflow when the input number +is very large. + +------------------------------------------------------------------------ +r1897 | lefevre | 2002-04-18 15:22:56 +0000 (Thu, 18 Apr 2002) | 2 lines +Changed paths: + M /trunk/mpfr.h + +New values for exponent range. + +------------------------------------------------------------------------ +r1896 | zimmerma | 2002-04-18 14:28:31 +0000 (Thu, 18 Apr 2002) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + +call get_d with rounding mode in check2, to avoid problems near +Inf + +------------------------------------------------------------------------ +r1895 | zimmerma | 2002-04-18 12:10:49 +0000 (Thu, 18 Apr 2002) | 2 lines +Changed paths: + M /trunk/mpfr-test.h + +2147483647 -> INT_MAX + +------------------------------------------------------------------------ +r1894 | zimmerma | 2002-04-18 09:47:02 +0000 (Thu, 18 Apr 2002) | 3 lines +Changed paths: + M /trunk/mpfr-test.h + M /trunk/tests/tadd.c + +improved ulp() to deal with infinities +and fixed tadd/check2 to deal with infinities + +------------------------------------------------------------------------ +r1893 | zimmerma | 2002-04-17 12:04:21 +0000 (Wed, 17 Apr 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +improved documentation of mpfr_set_precset_prec. + +------------------------------------------------------------------------ +r1892 | zimmerma | 2002-04-16 16:31:42 +0000 (Tue, 16 Apr 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +fixed documentation of cosh/sinh/tanh + +------------------------------------------------------------------------ +r1891 | lefevre | 2002-04-16 13:26:15 +0000 (Tue, 16 Apr 2002) | 3 lines +Changed paths: + M /trunk/Makefile.am + A /trunk/cmp_si.c + M /trunk/cmp_ui.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + +mpfr_cmp_ui_2exp and mpfr_cmp_si_2exp rewritten. +Prototype changed. + +------------------------------------------------------------------------ +r1890 | lefevre | 2002-04-16 00:56:54 +0000 (Tue, 16 Apr 2002) | 3 lines +Changed paths: + M /trunk/acinclude.m4 + M /trunk/configure.in + +Use AC_CANONICAL_HOST and $host instead of $OS_TYPE and $MACHTYPE +(patch suggested by Kevin Ryde). + +------------------------------------------------------------------------ +r1889 | lefevre | 2002-04-16 00:51:21 +0000 (Tue, 16 Apr 2002) | 2 lines +Changed paths: + A /trunk/config.guess + A /trunk/config.sub + +Added files from ftp.gnu.org for automake and AC_CANONICAL_HOST. + +------------------------------------------------------------------------ +r1888 | zimmerma | 2002-04-15 17:45:46 +0000 (Mon, 15 Apr 2002) | 2 lines +Changed paths: + M /trunk/tests/tabs.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/tout_str.c + M /trunk/tests/tset_d.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tui_sub.c + +replaced 2.2e-307 by DBL_MIN + +------------------------------------------------------------------------ +r1887 | lefevre | 2002-04-15 16:23:49 +0000 (Mon, 15 Apr 2002) | 2 lines +Changed paths: + M /trunk/README + +Typo: Gnu -> GNU. + +------------------------------------------------------------------------ +r1886 | lefevre | 2002-04-15 15:43:26 +0000 (Mon, 15 Apr 2002) | 2 lines +Changed paths: + M /trunk/VERSION + M /trunk/mpfr.texi + +Update for future 2.0.2. + +------------------------------------------------------------------------ +r1884 | lefevre | 2002-04-15 15:33:49 +0000 (Mon, 15 Apr 2002) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update for mpfr 2.0.1. + +------------------------------------------------------------------------ +r1883 | lefevre | 2002-04-15 15:32:21 +0000 (Mon, 15 Apr 2002) | 2 lines +Changed paths: + M /trunk/README.dev + M /trunk/VERSION + M /trunk/mpfr.texi + +Back to version 2.0.1, updated documentation. + +------------------------------------------------------------------------ +r1882 | lefevre | 2002-04-15 14:48:58 +0000 (Mon, 15 Apr 2002) | 2 lines +Changed paths: + M /trunk/README.dev + M /trunk/VERSION + +Post-release commit. + +------------------------------------------------------------------------ +r1881 | lefevre | 2002-04-15 14:38:45 +0000 (Mon, 15 Apr 2002) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update for mpfr 2.0.1. + +------------------------------------------------------------------------ +r1880 | lefevre | 2002-04-15 14:16:20 +0000 (Mon, 15 Apr 2002) | 3 lines +Changed paths: + M /trunk/cmp_ui.c + +mpfr_cmp_ui_2exp and mpfr_cmp_si_2exp can no longer be called with a NaN. +Misc bugs fixed. + +------------------------------------------------------------------------ +r1879 | zimmerma | 2002-04-15 14:08:47 +0000 (Mon, 15 Apr 2002) | 2 lines +Changed paths: + M /trunk/NEWS + +added main changes in version 2.0.1 + +------------------------------------------------------------------------ +r1878 | lefevre | 2002-04-15 13:47:24 +0000 (Mon, 15 Apr 2002) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/README + +Update for "make dist". + +------------------------------------------------------------------------ +r1877 | lefevre | 2002-04-15 13:26:56 +0000 (Mon, 15 Apr 2002) | 2 lines +Changed paths: + M /trunk/COPYING + A /trunk/COPYING.LIB + M /trunk/README + M /trunk/acos.c + M /trunk/acosh.c + M /trunk/add.c + M /trunk/add1.c + M /trunk/add_one_ulp.c + M /trunk/add_ui.c + M /trunk/agm.c + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atan.c + M /trunk/atanh.c + M /trunk/cbrt.c + M /trunk/clear.c + M /trunk/cmp.c + M /trunk/cmp2.c + M /trunk/cmp_abs.c + M /trunk/cmp_ui.c + M /trunk/const_euler.c + M /trunk/const_log2.c + M /trunk/const_pi.c + M /trunk/copysign.c + M /trunk/cos.c + M /trunk/cosh.c + M /trunk/dim.c + M /trunk/div.c + M /trunk/div_2exp.c + M /trunk/div_2si.c + M /trunk/div_2ui.c + M /trunk/div_ui.c + M /trunk/dump.c + M /trunk/eq.c + M /trunk/exceptions.c + M /trunk/exp.c + M /trunk/exp2.c + M /trunk/exp3.c + M /trunk/exp_2.c + M /trunk/expm1.c + M /trunk/extract.c + M /trunk/factorial.c + M /trunk/fma.c + M /trunk/gamma.c + M /trunk/gammaPiAGMformula.c + M /trunk/generic.c + M /trunk/get_d.c + M /trunk/get_str.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/inp_str.c + M /trunk/isinf.c + M /trunk/isinteger.c + M /trunk/isnan.c + M /trunk/isnum.c + M /trunk/log.c + M /trunk/log10.c + M /trunk/log1p.c + M /trunk/log2.c + M /trunk/minmax.c + M /trunk/mpf2mpfr.h + M /trunk/mpfi.c + M /trunk/mpfi.h + M /trunk/mpfr-impl.h + M /trunk/mpfr-math.h + M /trunk/mpfr-test.h + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/mul.c + M /trunk/mul_2exp.c + M /trunk/mul_2si.c + M /trunk/mul_2ui.c + M /trunk/mul_ui.c + M /trunk/neg.c + M /trunk/out_str.c + M /trunk/pow.c + M /trunk/pow_si.c + M /trunk/pow_ui.c + M /trunk/print_raw.c + M /trunk/print_rnd_mode.c + M /trunk/random.c + M /trunk/random2.c + M /trunk/reldiff.c + M /trunk/rint.c + M /trunk/rnd_mode.c + M /trunk/round_prec.c + M /trunk/save_expo.c + M /trunk/set.c + M /trunk/set_d.c + M /trunk/set_dfl_prec.c + M /trunk/set_f.c + M /trunk/set_inf.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_str.c + M /trunk/set_str_raw.c + M /trunk/set_ui.c + M /trunk/set_z.c + M /trunk/sin.c + M /trunk/sin_cos.c + M /trunk/sinh.c + M /trunk/sqrt.c + M /trunk/sqrt_ui.c + M /trunk/sub.c + M /trunk/sub1.c + M /trunk/sub_one_ulp.c + M /trunk/sub_ui.c + M /trunk/swap.c + M /trunk/tan.c + M /trunk/tanh.c + M /trunk/tests/reuse.c + M /trunk/tests/tabs.c + M /trunk/tests/tacos.c + M /trunk/tests/tacosh.c + M /trunk/tests/tadd.c + M /trunk/tests/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/tcmp.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tconst_euler.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tconst_pi.c + M /trunk/tests/tcos.c + M /trunk/tests/tcosh.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/tdump.c + M /trunk/tests/teq.c + M /trunk/tests/texceptions.c + M /trunk/tests/texp.c + M /trunk/tests/texp2.c + M /trunk/tests/texpm1.c + M /trunk/tests/tfactorial.c + M /trunk/tests/tfma.c + M /trunk/tests/tgamma.c + M /trunk/tests/tgeneric.c + M /trunk/tests/tget_d.c + M /trunk/tests/tget_str.c + M /trunk/tests/thyperbolic.c + M /trunk/tests/thypot.c + M /trunk/tests/tisnan.c + M /trunk/tests/tlog.c + M /trunk/tests/tlog10.c + M /trunk/tests/tlog1p.c + M /trunk/tests/tlog2.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tout_str.c + M /trunk/tests/tpow.c + M /trunk/tests/tpow3.c + M /trunk/tests/trandom.c + M /trunk/tests/trint.c + M /trunk/tests/tround_prec.c + M /trunk/tests/tset.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_f.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsin.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsinh.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub_ui.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/tzeta.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/zeta.c + +COPYING -> COPYING.LIB and GPL re-added. + +------------------------------------------------------------------------ +r1876 | lefevre | 2002-04-15 12:34:08 +0000 (Mon, 15 Apr 2002) | 2 lines +Changed paths: + M /trunk/BUGS + +Update. + +------------------------------------------------------------------------ +r1875 | lefevre | 2002-04-15 12:13:27 +0000 (Mon, 15 Apr 2002) | 2 lines +Changed paths: + M /trunk/configure.in + +Removed switches -g -O2 as already done by configure. + +------------------------------------------------------------------------ +r1874 | lefevre | 2002-04-14 22:55:55 +0000 (Sun, 14 Apr 2002) | 2 lines +Changed paths: + M /trunk/INSTALL + +Update. + +------------------------------------------------------------------------ +r1873 | lefevre | 2002-04-14 15:53:55 +0000 (Sun, 14 Apr 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Removed useless @iftex... + +------------------------------------------------------------------------ +r1872 | lefevre | 2002-04-14 11:14:31 +0000 (Sun, 14 Apr 2002) | 2 lines +Changed paths: + M /trunk/TODO + +Update. + +------------------------------------------------------------------------ +r1871 | lefevre | 2002-04-14 10:24:27 +0000 (Sun, 14 Apr 2002) | 2 lines +Changed paths: + M /trunk/set_q.c + +When q = 0, +0 is returned. + +------------------------------------------------------------------------ +r1870 | lefevre | 2002-04-13 18:32:56 +0000 (Sat, 13 Apr 2002) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update for the next pre-release. + +------------------------------------------------------------------------ +r1869 | lefevre | 2002-04-13 18:27:39 +0000 (Sat, 13 Apr 2002) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/acinclude.m4 + M /trunk/set_str.c + A /trunk/strcasecmp.c + M /trunk/tests/tset_str.c + +Support for NaN and Inf (case insensitive) in mpfr_set_str. Tests. + +------------------------------------------------------------------------ +r1868 | lefevre | 2002-04-13 01:40:03 +0000 (Sat, 13 Apr 2002) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + +Bug fixed. + +------------------------------------------------------------------------ +r1867 | lefevre | 2002-04-13 01:22:51 +0000 (Sat, 13 Apr 2002) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update for the next pre-release. + +------------------------------------------------------------------------ +r1866 | lefevre | 2002-04-13 01:18:54 +0000 (Sat, 13 Apr 2002) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + M /trunk/configure.in + +Misc changes. Use of AC_CACHE_CHECK. -2002-07-04 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r1865 | lefevre | 2002-04-12 16:11:14 +0000 (Fri, 12 Apr 2002) | 2 lines +Changed paths: + M /trunk/exp.c + M /trunk/exp3.c + M /trunk/exp_2.c + M /trunk/mpfr-impl.h + M /trunk/tests/tconst_log2.c + M /trunk/tests/texp.c - * BUGS: Bug concerning the rounding of pow(). +Code clean-up. - * pow.c: - mpfr_pow() didn't work when the exponent was a negative integer. +------------------------------------------------------------------------ +r1864 | lefevre | 2002-04-12 14:51:26 +0000 (Fri, 12 Apr 2002) | 2 lines +Changed paths: + M /trunk/ChangeLog - * get_z_exp.c: - mpfr_get_z_exp() didn't work when the MPFR number was negative. +Update for the next pre-release. - * Makefile.am, get_exp.c, mpfr.h, mpfr.texi, set_exp.c: - New functions mpfr_get_exp and mpfr_set_exp. +------------------------------------------------------------------------ +r1863 | lefevre | 2002-04-12 14:29:58 +0000 (Fri, 12 Apr 2002) | 2 lines +Changed paths: + M /trunk/tests/tget_d.c -2002-06-27 Paul Zimmermann <Paul.Zimmermann@loria.fr> +New tests. - * TODO: removed duplicated entry (thread-safe) +------------------------------------------------------------------------ +r1862 | lefevre | 2002-04-12 14:29:49 +0000 (Fri, 12 Apr 2002) | 2 lines +Changed paths: + M /trunk/BUGS + M /trunk/get_d.c - * TODO: added new items +mpfr_get_d* fixed. - * tests/tpow.c: added special cases +------------------------------------------------------------------------ +r1861 | lefevre | 2002-04-12 10:25:34 +0000 (Fri, 12 Apr 2002) | 2 lines +Changed paths: + M /trunk/INSTALL + M /trunk/const_log2.c - * algorithms.tex: added one reference (nocite) +Types fixed in const_log2.c (this fixes the tconst_log2 crash). - * algorithms.bib: added one reference +------------------------------------------------------------------------ +r1860 | lefevre | 2002-04-12 09:58:11 +0000 (Fri, 12 Apr 2002) | 2 lines +Changed paths: + M /trunk/README.dev - * inp_str.c: fixed bug in return value +Added a note about the native SunOS 4 C compiler. - * TODO: new additions +------------------------------------------------------------------------ +r1859 | lefevre | 2002-04-11 22:37:48 +0000 (Thu, 11 Apr 2002) | 2 lines +Changed paths: + M /trunk/tests/tconst_log2.c - * mpfr.texi: added pointer to mpfr_inp_str in mpfr_set_str +Type fixed. -2002-06-26 Vincent Lefevre <Vincent.Lefevre@loria.fr> +------------------------------------------------------------------------ +r1858 | lefevre | 2002-04-11 16:42:20 +0000 (Thu, 11 Apr 2002) | 2 lines +Changed paths: + M /trunk/BUGS + M /trunk/set_d.c - * ChangeLog: Update. +mpfr_set_d bug fixed, but other bugs still remain... - * exceptions.c, mpfr-impl.h, mul.c, mul_ui.c, print_raw.c, rint.c, round_prec.c, set.c, set_si.c, set_ui.c, set_z.c, sqrt.c, sub1.c, add1.c, add_one_ulp.c, div.c: - MP_LIMB_T_HIGHBIT -> MPFR_LIMB_HIGHBIT. - MPFR is now compatible with GMP 4.1. +------------------------------------------------------------------------ +r1857 | lefevre | 2002-04-11 16:21:50 +0000 (Thu, 11 Apr 2002) | 2 lines +Changed paths: + M /trunk/print_rnd_mode.c -2002-06-15 Vincent Lefevre <lefevre@greux.loria.fr> +NULL was undeclared on some architectures (reported by Torbjorn Granlund). - * TODO: Added: make MPFR thread-safe. +------------------------------------------------------------------------ +r1856 | lefevre | 2002-04-11 13:00:43 +0000 (Thu, 11 Apr 2002) | 2 lines +Changed paths: + M /trunk/get_d.c + M /trunk/mpfr-math.h + +#include ordering changed for Windows + Cygwin 32. + +------------------------------------------------------------------------ +r1855 | lefevre | 2002-04-11 12:41:54 +0000 (Thu, 11 Apr 2002) | 2 lines +Changed paths: + M /trunk/configure.in + +LDFLAGS changed on HP-UX. + +------------------------------------------------------------------------ +r1854 | lefevre | 2002-04-11 03:35:40 +0000 (Thu, 11 Apr 2002) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update for the next pre-release. + +------------------------------------------------------------------------ +r1853 | lefevre | 2002-04-11 03:29:44 +0000 (Thu, 11 Apr 2002) | 2 lines +Changed paths: + M /trunk/tests/tget_d.c -2002-06-14 Paul Zimmermann <zimmerma@greux.loria.fr> +Subnormal test in different rounding modes + fix. + +------------------------------------------------------------------------ +r1852 | lefevre | 2002-04-11 02:49:49 +0000 (Thu, 11 Apr 2002) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + M /trunk/configure.in - * set_q.c: fixed bug found by Gerardo Ballabio +Function MPFR_CONFIGS. - * tests/tset_q.c: - added one test (bug in mpfr-2.0.1 found by Gerardo Ballabio) +------------------------------------------------------------------------ +r1851 | lefevre | 2002-04-11 01:54:09 +0000 (Thu, 11 Apr 2002) | 2 lines +Changed paths: + M /trunk/tests/tget_d.c -2002-06-13 Paul Zimmermann <zimmerma@greux.loria.fr> +Tests added. - * TODO: added mpfr_modf +------------------------------------------------------------------------ +r1850 | lefevre | 2002-04-11 01:53:57 +0000 (Thu, 11 Apr 2002) | 2 lines +Changed paths: + M /trunk/BUGS + M /trunk/get_d.c -2002-06-12 Vincent Lefevre <lefevre@greux.loria.fr> +get_d.c partly rewritten (Paul Zimmermann). - * TODO: Added modf (to implement). +------------------------------------------------------------------------ +r1849 | lefevre | 2002-04-11 01:36:49 +0000 (Thu, 11 Apr 2002) | 2 lines +Changed paths: + M /trunk/set_q.c -2002-06-08 Vincent Lefevre <lefevre@greux.loria.fr> +#include ordering fixed. - * tests/tmul.c, tests/tadd.c: - check: Apply a hack to the parameter order to make sparc gcc 2.95.2 - happy (patch by Kevin Ryde) + static added. +------------------------------------------------------------------------ +r1848 | lefevre | 2002-04-11 01:24:20 +0000 (Thu, 11 Apr 2002) | 2 lines +Changed paths: + M /trunk/configure.in - * mpfr.texi: Patch by Kevin Ryde. +Check for gcc float-conversion bug. - * tests/tsqrt.c, tests/tsqrt_ui.c: - Suppress tests if sqrt is not affected by mpfr_set_machine_rnd_mode - (patch by Kevin Ryde). +------------------------------------------------------------------------ +r1847 | lefevre | 2002-04-10 23:21:41 +0000 (Wed, 10 Apr 2002) | 2 lines +Changed paths: + M /trunk/round_prec.c - * ChangeLog: Update. +Added comment for mpfr_round_raw_generic (about using 1-bit precision). - * README: fdl.texi added. +------------------------------------------------------------------------ +r1846 | lefevre | 2002-04-10 14:05:52 +0000 (Wed, 10 Apr 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * Makefile.am, README.dev, fdl.texi, mpfr.texi, texinfo.tex: - Patch by Kevin Ryde (and Vincent Lefevre). - mpfr.texi: Change license to FDL, use @copying per texinfo 4.2. - Use @dircategory, @direntry, @documentdescription. - Move @contents to start of file. - (VERSION, UPDATED): New variables. - (m, GMPtimes, times): New macros. - (Float Arithmetic): Fix html output. Reported by Richard Dawe. - (GNU Free Documentation License): New appendix. +Update (thanks to Nathalie Revol). -2002-06-06 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1845 | lefevre | 2002-04-10 12:20:13 +0000 (Wed, 10 Apr 2002) | 2 lines +Changed paths: + M /trunk/ChangeLog - * rnd_mode.c: - Use gmp-impl.h to get MPFR_HAVE_FESETROUND (reported by Kevin Ryde). +Update for the next pre-release. -2002-06-05 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1844 | lefevre | 2002-04-10 12:13:25 +0000 (Wed, 10 Apr 2002) | 3 lines +Changed paths: + M /trunk/configure.in + M /trunk/rnd_mode.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/texp.c + M /trunk/tests/tget_d.c + M /trunk/tests/tget_str.c + M /trunk/tests/tlog.c + M /trunk/tests/tmul.c + M /trunk/tests/tset_q.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_sub.c + +HAVE_FESETROUND renamed to MPFR_HAVE_FESETROUND to avoid possible +name conflict. + +------------------------------------------------------------------------ +r1843 | lefevre | 2002-04-10 00:12:01 +0000 (Wed, 10 Apr 2002) | 2 lines +Changed paths: + M /trunk/Makefile.am + D /trunk/srandom.h + +Added missing headers in libmpfr_a_SOURCES. + +------------------------------------------------------------------------ +r1842 | lefevre | 2002-04-09 23:53:57 +0000 (Tue, 09 Apr 2002) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update for the next pre-release. + +------------------------------------------------------------------------ +r1841 | lefevre | 2002-04-09 23:48:30 +0000 (Tue, 09 Apr 2002) | 2 lines +Changed paths: + M /trunk/INSTALL + +Possible tconst_log2 crash under Solaris. + +------------------------------------------------------------------------ +r1840 | lefevre | 2002-04-09 23:30:08 +0000 (Tue, 09 Apr 2002) | 2 lines +Changed paths: + M /trunk/configure.in + +Under OSF, use option -ffloat-store only when the compiler is gcc. + +------------------------------------------------------------------------ +r1839 | lefevre | 2002-04-09 23:11:46 +0000 (Tue, 09 Apr 2002) | 2 lines +Changed paths: + M /trunk/Makefile.am + +include_HEADERS should contain only mpfr.h and mpf2mpfr.h. + +------------------------------------------------------------------------ +r1838 | lefevre | 2002-04-09 13:47:16 +0000 (Tue, 09 Apr 2002) | 2 lines +Changed paths: + M /trunk/configure.in + +Added code to support fesetround under Solaris. + +------------------------------------------------------------------------ +r1837 | lefevre | 2002-04-09 12:49:54 +0000 (Tue, 09 Apr 2002) | 2 lines +Changed paths: + M /trunk/INSTALL + +"In case of problem" update. + +------------------------------------------------------------------------ +r1836 | lefevre | 2002-04-09 12:40:11 +0000 (Tue, 09 Apr 2002) | 2 lines +Changed paths: + M /trunk/INSTALL + +Old URL removed. + +------------------------------------------------------------------------ +r1835 | lefevre | 2002-04-09 11:33:14 +0000 (Tue, 09 Apr 2002) | 2 lines +Changed paths: + M /trunk/INSTALL + +Renaming: DIR -> GMPINSTALL, GMPDIR -> GMPBUILD. Bug on IRIX updated. + +------------------------------------------------------------------------ +r1834 | lefevre | 2002-04-09 11:04:42 +0000 (Tue, 09 Apr 2002) | 2 lines +Changed paths: + M /trunk/INSTALL + +Removed note about stack-alloc.h. + +------------------------------------------------------------------------ +r1833 | lefevre | 2002-04-09 10:50:01 +0000 (Tue, 09 Apr 2002) | 2 lines +Changed paths: + M /trunk/configure.in + M /trunk/rnd_mode.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/texp.c + M /trunk/tests/tget_d.c + M /trunk/tests/tget_str.c + M /trunk/tests/tlog.c + M /trunk/tests/tmul.c + M /trunk/tests/tset_q.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_sub.c + +Check for fenv.h -> check for fesetround. + +------------------------------------------------------------------------ +r1832 | lefevre | 2002-04-09 00:12:01 +0000 (Tue, 09 Apr 2002) | 2 lines +Changed paths: + M /trunk/README.dev + +Added note concerning patch submission. + +------------------------------------------------------------------------ +r1831 | lefevre | 2002-04-08 21:23:50 +0000 (Mon, 08 Apr 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Note about overflows. Functions mpfr_{div,mul}_{si,ui} described. + +------------------------------------------------------------------------ +r1830 | lefevre | 2002-04-07 23:22:34 +0000 (Sun, 07 Apr 2002) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update for the next (and last?) pre-release. + +------------------------------------------------------------------------ +r1829 | lefevre | 2002-04-07 23:11:04 +0000 (Sun, 07 Apr 2002) | 2 lines +Changed paths: + M /trunk/configure.in + +Stricter test for HAVE_INFS. + +------------------------------------------------------------------------ +r1828 | lefevre | 2002-04-07 20:20:15 +0000 (Sun, 07 Apr 2002) | 2 lines +Changed paths: + M /trunk/BUGS + +Update. + +------------------------------------------------------------------------ +r1827 | lefevre | 2002-04-07 20:10:31 +0000 (Sun, 07 Apr 2002) | 2 lines +Changed paths: + M /trunk/INSTALL + +Added note about IRIX. + +------------------------------------------------------------------------ +r1826 | lefevre | 2002-04-07 01:01:01 +0000 (Sun, 07 Apr 2002) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update for the next pre-release. + +------------------------------------------------------------------------ +r1825 | lefevre | 2002-04-07 00:38:47 +0000 (Sun, 07 Apr 2002) | 2 lines +Changed paths: + M /trunk/agm.c + M /trunk/exp.c + M /trunk/exp_2.c + M /trunk/get_d.c + M /trunk/log.c + M /trunk/log10.c + M /trunk/mpf2mpfr.h + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/tests/reuse.c + M /trunk/tests/tabs.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tasin.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tconst_pi.c + M /trunk/tests/tcos.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/texp.c + M /trunk/tests/texp2.c + M /trunk/tests/tfma.c + M /trunk/tests/tget_d.c + M /trunk/tests/tlog.c + M /trunk/tests/tlog10.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/trandom.c + M /trunk/tests/tround_prec.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsin.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tswap.c + M /trunk/tests/ttan.c + M /trunk/tests/ttrunc.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_sub.c + M /trunk/tests/tzeta.c + M /trunk/zeta.c + +mpfr_get_d -> mpfr_get_d1 and mpfr_get_d2 -> mpfr_get_d. + +------------------------------------------------------------------------ +r1824 | lefevre | 2002-04-06 01:01:29 +0000 (Sat, 06 Apr 2002) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update for the next pre-release. + +------------------------------------------------------------------------ +r1823 | lefevre | 2002-04-06 00:54:50 +0000 (Sat, 06 Apr 2002) | 2 lines +Changed paths: + M /trunk/INSTALL + +Update. + +------------------------------------------------------------------------ +r1822 | lefevre | 2002-04-05 23:56:33 +0000 (Fri, 05 Apr 2002) | 2 lines +Changed paths: + M /trunk/INSTALL + +New file from Paul. + +------------------------------------------------------------------------ +r1821 | lefevre | 2002-04-05 12:31:59 +0000 (Fri, 05 Apr 2002) | 2 lines +Changed paths: + M /trunk/Makefile.am + +COPYING.LIB removed. + +------------------------------------------------------------------------ +r1820 | lefevre | 2002-04-05 12:29:11 +0000 (Fri, 05 Apr 2002) | 2 lines +Changed paths: + M /trunk/COPYING + D /trunk/COPYING.LIB + M /trunk/acos.c + M /trunk/acosh.c + M /trunk/add.c + M /trunk/add1.c + M /trunk/add_one_ulp.c + M /trunk/add_ui.c + M /trunk/agm.c + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atan.c + M /trunk/atanh.c + M /trunk/cbrt.c + M /trunk/clear.c + M /trunk/cmp.c + M /trunk/cmp2.c + M /trunk/cmp_abs.c + M /trunk/cmp_ui.c + M /trunk/const_euler.c + M /trunk/const_log2.c + M /trunk/const_pi.c + M /trunk/copysign.c + M /trunk/cos.c + M /trunk/cosh.c + M /trunk/dim.c + M /trunk/div.c + M /trunk/div_2exp.c + M /trunk/div_2si.c + M /trunk/div_2ui.c + M /trunk/div_ui.c + M /trunk/dump.c + M /trunk/eq.c + M /trunk/exceptions.c + M /trunk/exp.c + M /trunk/exp2.c + M /trunk/exp3.c + M /trunk/exp_2.c + M /trunk/expm1.c + M /trunk/extract.c + M /trunk/factorial.c + M /trunk/fma.c + M /trunk/gamma.c + M /trunk/gammaPiAGMformula.c + M /trunk/generic.c + M /trunk/get_d.c + M /trunk/get_str.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/inp_str.c + M /trunk/isinf.c + M /trunk/isinteger.c + M /trunk/isnan.c + M /trunk/isnum.c + M /trunk/log.c + M /trunk/log10.c + M /trunk/log1p.c + M /trunk/log2.c + M /trunk/minmax.c + M /trunk/mpf2mpfr.h + M /trunk/mpfi.c + M /trunk/mpfi.h + M /trunk/mpfr-impl.h + M /trunk/mpfr-math.h + M /trunk/mpfr-test.h + M /trunk/mpfr.h + M /trunk/mul.c + M /trunk/mul_2exp.c + M /trunk/mul_2si.c + M /trunk/mul_2ui.c + M /trunk/mul_ui.c + M /trunk/neg.c + M /trunk/out_str.c + M /trunk/pow.c + M /trunk/pow_si.c + M /trunk/pow_ui.c + M /trunk/print_raw.c + M /trunk/print_rnd_mode.c + M /trunk/random.c + M /trunk/random2.c + M /trunk/reldiff.c + M /trunk/rint.c + M /trunk/rnd_mode.c + M /trunk/round_prec.c + M /trunk/save_expo.c + M /trunk/set.c + M /trunk/set_d.c + M /trunk/set_dfl_prec.c + M /trunk/set_f.c + M /trunk/set_inf.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_str.c + M /trunk/set_str_raw.c + M /trunk/set_ui.c + M /trunk/set_z.c + M /trunk/sin.c + M /trunk/sin_cos.c + M /trunk/sinh.c + M /trunk/sqrt.c + M /trunk/sqrt_ui.c + M /trunk/srandom.h + M /trunk/sub.c + M /trunk/sub1.c + M /trunk/sub_one_ulp.c + M /trunk/sub_ui.c + M /trunk/swap.c + M /trunk/tan.c + M /trunk/tanh.c + M /trunk/tests/reuse.c + M /trunk/tests/tabs.c + M /trunk/tests/tacos.c + M /trunk/tests/tacosh.c + M /trunk/tests/tadd.c + M /trunk/tests/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/tcmp.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tconst_euler.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tconst_pi.c + M /trunk/tests/tcos.c + M /trunk/tests/tcosh.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/tdump.c + M /trunk/tests/teq.c + M /trunk/tests/texceptions.c + M /trunk/tests/texp.c + M /trunk/tests/texp2.c + M /trunk/tests/texpm1.c + M /trunk/tests/tfactorial.c + M /trunk/tests/tfma.c + M /trunk/tests/tgamma.c + M /trunk/tests/tgeneric.c + M /trunk/tests/tget_d.c + M /trunk/tests/tget_str.c + M /trunk/tests/thyperbolic.c + M /trunk/tests/thypot.c + M /trunk/tests/tisnan.c + M /trunk/tests/tlog.c + M /trunk/tests/tlog10.c + M /trunk/tests/tlog1p.c + M /trunk/tests/tlog2.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tout_str.c + M /trunk/tests/tpow.c + M /trunk/tests/tpow3.c + M /trunk/tests/trandom.c + M /trunk/tests/trint.c + M /trunk/tests/tround_prec.c + M /trunk/tests/tset.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_f.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsin.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsinh.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub_ui.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/tzeta.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/zeta.c + +COPYING.LIB -> COPYING. + +------------------------------------------------------------------------ +r1819 | lefevre | 2002-04-05 12:14:11 +0000 (Fri, 05 Apr 2002) | 2 lines +Changed paths: + M /trunk/README + A /trunk/README.dev + +README.dev added. + +------------------------------------------------------------------------ +r1818 | zimmerma | 2002-04-05 12:08:31 +0000 (Fri, 05 Apr 2002) | 2 lines +Changed paths: + M /trunk/sqrt.c + +put back label removed by error + +------------------------------------------------------------------------ +r1817 | zimmerma | 2002-04-05 12:05:35 +0000 (Fri, 05 Apr 2002) | 2 lines +Changed paths: + M /trunk/mpfr-test.h + +removed _FPU_RC_NEAREST ... for x86 (not used any more, now use fenv.h) + +------------------------------------------------------------------------ +r1816 | zimmerma | 2002-04-05 12:04:40 +0000 (Fri, 05 Apr 2002) | 2 lines +Changed paths: + M /trunk/agm.c + M /trunk/sqrt.c + +removed nested TMP_MARK's (problems when configuring gmp with --disable-alloca) + +------------------------------------------------------------------------ +r1815 | zimmerma | 2002-04-05 11:47:25 +0000 (Fri, 05 Apr 2002) | 2 lines +Changed paths: + M /trunk/agm.c + +fixed pb with two markers (with --disable-alloca) + +------------------------------------------------------------------------ +r1814 | lefevre | 2002-04-05 11:40:58 +0000 (Fri, 05 Apr 2002) | 2 lines +Changed paths: + D /trunk/shortmul.c + +Removed (not used). + +------------------------------------------------------------------------ +r1813 | zimmerma | 2002-04-05 07:21:21 +0000 (Fri, 05 Apr 2002) | 3 lines +Changed paths: + M /trunk/configure.in + M /trunk/mpfr-test.h + M /trunk/rnd_mode.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/texp.c + M /trunk/tests/tget_d.c + M /trunk/tests/tget_str.c + M /trunk/tests/tlog.c + M /trunk/tests/tmul.c + M /trunk/tests/tset_q.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_sub.c + +use AC_CHECK_HEADERS to check for fenv.h +and AC_CHECK_FUNCS to check for lrand48 + +------------------------------------------------------------------------ +r1812 | lefevre | 2002-04-04 23:44:27 +0000 (Thu, 04 Apr 2002) | 2 lines +Changed paths: + M /trunk/README + +Added "VERSION" and "prepare" descriptions. + +------------------------------------------------------------------------ +r1811 | zimmerma | 2002-04-04 14:20:19 +0000 (Thu, 04 Apr 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +fixed bugs found by Nathalie + +------------------------------------------------------------------------ +r1810 | lefevre | 2002-04-04 13:50:20 +0000 (Thu, 04 Apr 2002) | 2 lines +Changed paths: + M /trunk/ChangeLog + +Update for the next pre-release. + +------------------------------------------------------------------------ +r1809 | lefevre | 2002-04-04 13:46:23 +0000 (Thu, 04 Apr 2002) | 2 lines +Changed paths: + M /trunk/configure.in - * ChangeLog: patch for mpfr.texi +Removed check for extended precision, as no longer used. - * mpfr.texi: - patch from Richard Dawe <richdawe@bigfoot.com> to generate HTML +------------------------------------------------------------------------ +r1808 | zimmerma | 2002-04-04 11:46:32 +0000 (Thu, 04 Apr 2002) | 2 lines +Changed paths: + M /trunk/tests/tget_d.c - * tests/Makefile.am, tests/tgamma.c, Makefile.am, gamma.c, mpfr.h, mpfr.texi: - added mpfr_gamma in libmpfr +added check for denormalized numbers -2002-06-05 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1807 | zimmerma | 2002-04-04 10:19:32 +0000 (Thu, 04 Apr 2002) | 2 lines +Changed paths: + M /trunk/TODO - * tests/tests.c, acinclude.m4, mpfr-test.h: Check for isnan. +added new functions to implement -2002-05-29 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1806 | lefevre | 2002-04-03 16:28:40 +0000 (Wed, 03 Apr 2002) | 2 lines +Changed paths: + M /trunk/ChangeLog - * rint.c, sub_one_ulp.c, add_one_ulp.c, sub1.c, add1.c: - Bug fixed (possible integer overflow). +Update for the next pre-release. - * exceptions.c: Note added for mpfr_check_range. Bug fixed. +------------------------------------------------------------------------ +r1805 | lefevre | 2002-04-03 13:52:42 +0000 (Wed, 03 Apr 2002) | 2 lines +Changed paths: + M /trunk/configure.in - * urandomb.c: Sign wasn't set (reported by Dmitrii Baksheyev). - Types fixed and code clean-up. +-ffloat-store is a gcc option. - * random.c: Types fixed and code clean-up. +------------------------------------------------------------------------ +r1804 | lefevre | 2002-04-03 13:40:49 +0000 (Wed, 03 Apr 2002) | 2 lines +Changed paths: + M /trunk/configure.in -2002-05-27 Vincent Lefevre <lefevre@greux.loria.fr> +Added 4th argument to AC_TRY_RUN. - * tests/tset_si.c, tests/tset_str.c, tests/tset_z.c, tests/tsin.c, tests/tsinh.c, tests/tsqrt_ui.c, tests/tsub.c, tests/tsub_ui.c, tests/tswap.c, tests/ttan.c, tests/ttanh.c, tests/ttrunc.c, tests/tui_pow.c, tests/tui_sub.c, tests/thyperbolic.c, tests/thypot.c, tests/tisnan.c, tests/tlog.c, tests/tlog10.c, tests/tlog1p.c, tests/tlog2.c, tests/tmul.c, tests/tmul_2exp.c, tests/tmul_ui.c, tests/tpow.c, tests/tpow3.c, tests/trandom.c, tests/trint.c, tests/tround_prec.c, tests/tset.c, tests/tset_d.c, tests/tset_f.c, tests/tset_q.c, tests/tatanh.c, tests/tcan_round.c, tests/tcmp.c, tests/tcmp2.c, tests/tcmp_ui.c, tests/tconst_euler.c, tests/tconst_log2.c, tests/tconst_pi.c, tests/tcos.c, tests/tcosh.c, tests/tdiv_ui.c, tests/tdump.c, tests/teq.c, tests/tests.c, tests/texceptions.c, tests/texp.c, tests/texp2.c, tests/texpm1.c, tests/tfactorial.c, tests/tfma.c, tests/tget_str.c, tests/Makefile.am, tests/memory.c, tests/reuse.c, tests/tabs.c, tests/tacos.c, tests/tacosh.c, tests/tadd.c, tests/tadd_ui.c, tests/tagm.c, tests/tasin.c, tests/tasinh.c, tests/tatan.c, TODO, const_log2.c, const_pi.c, mpfr-impl.h, mpfr-test.h: - Patch by Kevin Ryde for memory leak checking + misc declaration fixes. - Code moved from mpfr-test.h to tests.c. +------------------------------------------------------------------------ +r1803 | lefevre | 2002-04-03 12:12:45 +0000 (Wed, 03 Apr 2002) | 2 lines +Changed paths: + M /trunk/configure.in -2002-05-14 Vincent Lefevre <lefevre@greux.loria.fr> +Re-fix. - * TODO: Ternary flag for mpfr_agm. +------------------------------------------------------------------------ +r1802 | zimmerma | 2002-04-03 10:11:59 +0000 (Wed, 03 Apr 2002) | 2 lines +Changed paths: + M /trunk/configure.in + M /trunk/mpfr-test.h - * tests/texceptions.c, tests/texp2.c, tests/texpm1.c, tests/tfma.c, tests/tgamma.c, tests/thypot.c, tests/tlog1p.c, tests/tlog2.c, tests/tpow3.c, tests/tset.c, tests/tsinh.c, tests/tsub.c, tests/tswap.c, tests/ttanh.c, tests/ttrunc.c, tests/tui_pow.c, tests/tzeta.c, tests/tacos.c, tests/tacosh.c, tests/tasinh.c, tests/tatanh.c, tests/tcmp_ui.c, tests/tconst_log2.c, tests/tconst_pi.c, tests/tcosh.c, div.c, exceptions.c, gamma.c, generic.c, init.c, init2.c, isinteger.c, mpfi.h, out_str.c, set_si.c, set_str_raw.c, set_ui.c, sub.c, ui_div.c, zeta.c, acos.c, add.c, asin.c, atan.c, cmp2.c, const_euler.c, const_log2.c, const_pi.c: - Copyright line updated. +added check for fpu_control.h -2002-05-14 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1801 | zimmerma | 2002-04-03 10:02:27 +0000 (Wed, 03 Apr 2002) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * TODO: ternary flag for mpfr_agm? +added missing cast to double - * TODO: update wrt mpfr_set_machine_rnd_mode +------------------------------------------------------------------------ +r1800 | lefevre | 2002-04-02 23:42:48 +0000 (Tue, 02 Apr 2002) | 2 lines +Changed paths: + M /trunk/configure.in - * mpfr.texi: - added mathematical description of arithmetico-geometric mean +[ ] used around error message. -2002-05-08 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1799 | lefevre | 2002-04-02 15:44:50 +0000 (Tue, 02 Apr 2002) | 2 lines +Changed paths: + M /trunk/ChangeLog - * INSTALL, acinclude.m4: - The problem on a G4 PowerPC was a bug in gcc; this is now tested - in configure (float-conversion bug) and -ffloat-store is used if - need be. +Update. -2002-05-06 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1798 | lefevre | 2002-04-02 15:36:51 +0000 (Tue, 02 Apr 2002) | 2 lines +Changed paths: + M /trunk/configure.in - * INSTALL: Problem on the G4 PowerPC. +Check BITS_PER_MP_LIMB and BYTES_PER_MP_LIMB. -2002-04-30 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1797 | lefevre | 2002-04-02 12:30:24 +0000 (Tue, 02 Apr 2002) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/mpfr-impl.h + D /trunk/sqrtrem.c - * tests/tpow.c, algorithms.tex, pow.c: - fixed problem (infinite loop) in mpfr_pow for exact powers +sqrtrem.c removed. - * mpfr.texi: fixed errors found by Sylvain Pion +------------------------------------------------------------------------ +r1796 | lefevre | 2002-04-02 11:50:27 +0000 (Tue, 02 Apr 2002) | 2 lines +Changed paths: + M /trunk/ChangeLog -2002-04-27 Vincent Lefevre <lefevre@greux.loria.fr> +New ChangeLog file (generated by rcs2log). - * mpfr.texi: not relevant -> undefined. +------------------------------------------------------------------------ +r1795 | lefevre | 2002-04-02 11:42:03 +0000 (Tue, 02 Apr 2002) | 2 lines +Changed paths: + M /trunk/configure.in - * mpfr.texi: Some changes concerning the internals and zeros - (including remarks by Kevin Ryde). +Suppress PACKAGE and VERSION definitions for the compiler. -2002-04-25 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1794 | zimmerma | 2002-04-01 17:28:42 +0000 (Mon, 01 Apr 2002) | 2 lines +Changed paths: + D /trunk/Configure + +old file + +------------------------------------------------------------------------ +r1793 | zimmerma | 2002-03-31 14:58:47 +0000 (Sun, 31 Mar 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +more "internal" changes suggested by Vincent + +------------------------------------------------------------------------ +r1792 | zimmerma | 2002-03-31 14:48:14 +0000 (Sun, 31 Mar 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +added suggestions from Kevin in "internals" + +------------------------------------------------------------------------ +r1791 | zimmerma | 2002-03-28 09:01:28 +0000 (Thu, 28 Mar 2002) | 2 lines +Changed paths: + M /trunk/tests/tset_d.c + +added test for denorms + +------------------------------------------------------------------------ +r1790 | zimmerma | 2002-03-28 09:01:06 +0000 (Thu, 28 Mar 2002) | 3 lines +Changed paths: + M /trunk/set_d.c + +on a 32-bit machine, denormalized numbers with high 32 bits to 0 +were flushed to zero + +------------------------------------------------------------------------ +r1789 | zimmerma | 2002-03-27 15:26:18 +0000 (Wed, 27 Mar 2002) | 2 lines +Changed paths: + M /trunk/asin.c + +sign of sin(-1) was not set + +------------------------------------------------------------------------ +r1788 | zimmerma | 2002-03-27 15:25:54 +0000 (Wed, 27 Mar 2002) | 2 lines +Changed paths: + M /trunk/tests/tasin.c + +added check for asin(-1) + +------------------------------------------------------------------------ +r1787 | zimmerma | 2002-03-27 14:38:50 +0000 (Wed, 27 Mar 2002) | 2 lines +Changed paths: + M /trunk/tests/texp2.c + +added one test + +------------------------------------------------------------------------ +r1786 | zimmerma | 2002-03-27 14:38:29 +0000 (Wed, 27 Mar 2002) | 2 lines +Changed paths: + M /trunk/exp2.c + +previous fix was completely wrong + +------------------------------------------------------------------------ +r1785 | zimmerma | 2002-03-27 14:37:39 +0000 (Wed, 27 Mar 2002) | 2 lines +Changed paths: + M /trunk/cmp_ui.c + +fixed pb in cmp_si when i = -2^31 (then beware that -1 * i < 0 !!!) + +------------------------------------------------------------------------ +r1784 | zimmerma | 2002-03-27 14:09:35 +0000 (Wed, 27 Mar 2002) | 2 lines +Changed paths: + M /trunk/exp2.c + +added check for underflow + +------------------------------------------------------------------------ +r1783 | zimmerma | 2002-03-26 18:39:57 +0000 (Tue, 26 Mar 2002) | 4 lines +Changed paths: + A /trunk/tests/Makefile.in + M /trunk/tests/tabs.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tcos.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/texp.c + M /trunk/tests/tfma.c + M /trunk/tests/tget_d.c + M /trunk/tests/tget_str.c + M /trunk/tests/tlog.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tpow.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_q.c + M /trunk/tests/tsin.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/ttan.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_sub.c + +- use mpfr_test_init to initialize harware floats +- use #ifdef HAVE_INFS when using DBL_NAN, ... +- fixed some problems with wrongly converted f-p values (esp. under IRIX) + +------------------------------------------------------------------------ +r1782 | zimmerma | 2002-03-26 18:36:49 +0000 (Tue, 26 Mar 2002) | 3 lines +Changed paths: + M /trunk/configure.in + +use AC_TRY_CPP instead of AC_TRY_RUN for fenv.h +(otherwise fails on Itanium) + +------------------------------------------------------------------------ +r1781 | zimmerma | 2002-03-26 18:35:56 +0000 (Tue, 26 Mar 2002) | 2 lines +Changed paths: + M /trunk/mpfr-test.h + +added function mpfr_test_init to initialize full IEEE behaviour + +------------------------------------------------------------------------ +r1780 | zimmerma | 2002-03-26 18:34:54 +0000 (Tue, 26 Mar 2002) | 3 lines +Changed paths: + M /trunk/fma.c + +put back simple algorithm that computes x*y exactly and then +directly calls mpfr_add, to avoid wrong inexact flags + +------------------------------------------------------------------------ +r1779 | zimmerma | 2002-03-26 09:40:54 +0000 (Tue, 26 Mar 2002) | 2 lines +Changed paths: + M /trunk/tests/tdump.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + +added 2002 in copyright line + +------------------------------------------------------------------------ +r1778 | zimmerma | 2002-03-26 09:40:06 +0000 (Tue, 26 Mar 2002) | 2 lines +Changed paths: + M /trunk/tests/tget_d.c + +fixed problem on x86 (set precision to double to avoid double rounding) + +------------------------------------------------------------------------ +r1777 | zimmerma | 2002-03-26 09:36:52 +0000 (Tue, 26 Mar 2002) | 2 lines +Changed paths: + M /trunk/configure.in + +added check for valid 1/0, denormalized, and extended precision + +------------------------------------------------------------------------ +r1776 | lefevre | 2002-03-26 09:29:34 +0000 (Tue, 26 Mar 2002) | 2 lines +Changed paths: + M /trunk/tests/tget_d.c + +New-style comment removed. + +------------------------------------------------------------------------ +r1775 | zimmerma | 2002-03-26 09:19:05 +0000 (Tue, 26 Mar 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +added a description of the mpfr_t type in "Internals" + +------------------------------------------------------------------------ +r1774 | lefevre | 2002-03-26 01:50:35 +0000 (Tue, 26 Mar 2002) | 2 lines +Changed paths: + M /trunk/tests/tadd_ui.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/tdump.c + M /trunk/tests/texp.c + M /trunk/tests/tget_str.c + M /trunk/tests/tmul.c + M /trunk/tests/tset_q.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tui_sub.c + +#include <unistd.h> removed. Redefined macros ABS removed. + +------------------------------------------------------------------------ +r1773 | lefevre | 2002-03-26 01:35:24 +0000 (Tue, 26 Mar 2002) | 2 lines +Changed paths: + M /trunk/tests/tagm.c + M /trunk/tests/tdiv.c + M /trunk/tests/tlog.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tout_str.c + M /trunk/tests/trandom.c + M /trunk/tests/tset_d.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/tui_div.c + +Patch by Kevin Ryde + misc fixes. + +------------------------------------------------------------------------ +r1772 | zimmerma | 2002-03-25 17:10:50 +0000 (Mon, 25 Mar 2002) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/texp.c + M /trunk/tests/tget_str.c + M /trunk/tests/tlog.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tout_str.c + M /trunk/tests/trandom.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_f.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_sub.c + +replaced getpid() by time(NULL) + +------------------------------------------------------------------------ +r1771 | zimmerma | 2002-03-25 14:56:28 +0000 (Mon, 25 Mar 2002) | 2 lines +Changed paths: + M /trunk/set_str_raw.c + +MPFR_SIZE and sign were incorrectly set [thanks Kevin] + +------------------------------------------------------------------------ +r1770 | zimmerma | 2002-03-25 13:53:31 +0000 (Mon, 25 Mar 2002) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c + +added check_nan (from Kevin) + +------------------------------------------------------------------------ +r1769 | zimmerma | 2002-03-25 13:52:26 +0000 (Mon, 25 Mar 2002) | 2 lines +Changed paths: + M /trunk/sqrt.c + +fixed bug for sqrt(-0) found by Kevin [NaN flag not cleared] + +------------------------------------------------------------------------ +r1768 | lefevre | 2002-03-22 15:28:29 +0000 (Fri, 22 Mar 2002) | 2 lines +Changed paths: + M /trunk/tests/tget_d.c + +Error message now copes with extended precision. + +------------------------------------------------------------------------ +r1767 | zimmerma | 2002-03-22 14:41:46 +0000 (Fri, 22 Mar 2002) | 5 lines +Changed paths: + M /trunk/configure.in + M /trunk/mpfr-test.h + M /trunk/mpfr.texi + M /trunk/rnd_mode.c + M /trunk/tests/tget_d.c + +added test in configure for checking rand48 functions (HAVE_RAND48) +and fenv.h (HAVE_FENV) +added mpfr_set_machine_rnd_mode (if fenv.h exists) +replaced TEST by HAVE_FENV + +------------------------------------------------------------------------ +r1766 | lefevre | 2002-03-22 01:48:18 +0000 (Fri, 22 Mar 2002) | 2 lines +Changed paths: + M /trunk/tests/tadd_ui.c + M /trunk/tests/tget_d.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/trandom.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_f.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_sub.c + +Missing #include. + +------------------------------------------------------------------------ +r1765 | lefevre | 2002-03-22 01:25:57 +0000 (Fri, 22 Mar 2002) | 2 lines +Changed paths: + M /trunk/set_nan.c + +MPFR_RETNAN shouldn't be used as no value is returned. + +------------------------------------------------------------------------ +r1764 | lefevre | 2002-03-22 01:22:29 +0000 (Fri, 22 Mar 2002) | 2 lines +Changed paths: + M /trunk/set_inf.c + +Regarde 0 as positive rather than negative (though it's better not to use it). + +------------------------------------------------------------------------ +r1763 | lefevre | 2002-03-22 01:09:58 +0000 (Fri, 22 Mar 2002) | 2 lines +Changed paths: + M /trunk/isinteger.c + +Memory leak (patch by Kevin Ryde). + +------------------------------------------------------------------------ +r1762 | zimmerma | 2002-03-21 15:35:48 +0000 (Thu, 21 Mar 2002) | 4 lines +Changed paths: + M /trunk/tests/tabs.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/texp.c + M /trunk/tests/tget_d.c + M /trunk/tests/tget_str.c + M /trunk/tests/tlog.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tout_str.c + M /trunk/tests/tpow.c + M /trunk/tests/trandom.c + M /trunk/tests/trint.c + M /trunk/tests/tset.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_f.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_sub.c + +replaced rand/lrand48, drand48, srand/srand48 by macros + LONG_RAND, DBL_RAND, SEED_RAND +and time(NULL) by getpid() + +------------------------------------------------------------------------ +r1761 | zimmerma | 2002-03-21 15:34:18 +0000 (Thu, 21 Mar 2002) | 2 lines +Changed paths: + M /trunk/mpfr-test.h + +added macros LONG_RAND, DBL_RAND, SEED_RAND + +------------------------------------------------------------------------ +r1760 | zimmerma | 2002-03-21 10:04:49 +0000 (Thu, 21 Mar 2002) | 2 lines +Changed paths: + M /trunk/Makefile.am + +added VERSION and mpfr-math.h for "make dist" + +------------------------------------------------------------------------ +r1759 | zimmerma | 2002-03-19 16:45:01 +0000 (Tue, 19 Mar 2002) | 2 lines +Changed paths: + A /trunk/set_inf.c + A /trunk/set_nan.c + +new functions + +------------------------------------------------------------------------ +r1758 | zimmerma | 2002-03-19 16:44:32 +0000 (Tue, 19 Mar 2002) | 3 lines +Changed paths: + M /trunk/tests/reuse.c + M /trunk/tests/tabs.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tcmp.c + M /trunk/tests/tcos.c + M /trunk/tests/tdiv.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tpow.c + M /trunk/tests/tsin.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/ttan.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_sub.c + +now use macros DBL_NAN, DBL_POS_INF, DBL_NEG_INF, +and functions mpfr_set_nan, mpfr_set_inf + +------------------------------------------------------------------------ +r1757 | zimmerma | 2002-03-19 16:42:26 +0000 (Tue, 19 Mar 2002) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +defined macros for 0/0, 1/0, -1/0 + +------------------------------------------------------------------------ +r1756 | zimmerma | 2002-03-19 16:40:41 +0000 (Tue, 19 Mar 2002) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/mpfr.h + M /trunk/mpfr.texi + +added new functions mpfr_set_nan and mpfr_set_inf + +------------------------------------------------------------------------ +r1755 | lefevre | 2002-03-19 15:09:16 +0000 (Tue, 19 Mar 2002) | 3 lines +Changed paths: + A /trunk/VERSION + M /trunk/configure.in + +File VERSION added. Contains the next version (currently 2.0.1). +configure.in updated accordingly. + +------------------------------------------------------------------------ +r1754 | lefevre | 2002-03-19 08:47:22 +0000 (Tue, 19 Mar 2002) | 2 lines +Changed paths: + M /trunk/get_d.c + A /trunk/mpfr-math.h + M /trunk/tests/tadd.c + +Macros MPFR_DBL_NAN, MPFR_DBL_INFP and MPFR_DBL_INFM. + +------------------------------------------------------------------------ +r1753 | zimmerma | 2002-03-19 02:11:56 +0000 (Tue, 19 Mar 2002) | 2 lines +Changed paths: + M /trunk/tests/tmul_ui.c + +MP_LIMB_T_HIGHBIT -> ULONG_HIGHBIT + +------------------------------------------------------------------------ +r1752 | zimmerma | 2002-03-19 02:11:30 +0000 (Tue, 19 Mar 2002) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c + +moved code under #ifdef + +------------------------------------------------------------------------ +r1751 | zimmerma | 2002-03-19 02:10:50 +0000 (Tue, 19 Mar 2002) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + +moved code under #ifdef TEST + +------------------------------------------------------------------------ +r1750 | zimmerma | 2002-03-19 02:10:13 +0000 (Tue, 19 Mar 2002) | 2 lines +Changed paths: + M /trunk/set_d.c + +remove variable sizer (not used) + +------------------------------------------------------------------------ +r1749 | zimmerma | 2002-03-19 02:09:11 +0000 (Tue, 19 Mar 2002) | 2 lines +Changed paths: + M /trunk/cbrt.c + +Library GPL -> Lesser GPL + +------------------------------------------------------------------------ +r1748 | zimmerma | 2002-03-19 02:00:53 +0000 (Tue, 19 Mar 2002) | 2 lines +Changed paths: + M /trunk/TODO + +updated + +------------------------------------------------------------------------ +r1747 | lefevre | 2002-03-17 22:13:03 +0000 (Sun, 17 Mar 2002) | 2 lines +Changed paths: + M /trunk/fma.c - * acinclude.m4, mpfr-math.h: Check if HUGE_VAL is supported. +Some changes in the types. - * TODO: Changes in mpfr_set_str. +------------------------------------------------------------------------ +r1746 | zimmerma | 2002-03-17 22:13:02 +0000 (Sun, 17 Mar 2002) | 2 lines +Changed paths: + M /trunk/fma.c -2002-04-25 Paul Zimmermann <zimmerma@greux.loria.fr> +changed Nt variable to signed - * TODO: update +------------------------------------------------------------------------ +r1745 | lefevre | 2002-03-17 22:03:14 +0000 (Sun, 17 Mar 2002) | 2 lines +Changed paths: + M /trunk/log.c + M /trunk/log10.c + M /trunk/log2.c - * mpfr.texi, set_str.c: - mpfr_set_str doesn't require any more a final '\0' - and return the number of characters read +Bugs fixed. - * tests/tset_str.c: modified tests for special values +------------------------------------------------------------------------ +r1744 | zimmerma | 2002-03-17 17:53:04 +0000 (Sun, 17 Mar 2002) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/mpfr.h + M /trunk/mpfr.texi -2002-04-24 Vincent Lefevre <lefevre@greux.loria.fr> +added back mpfr_sin_cos - * cmp_abs.c: Description updated. +------------------------------------------------------------------------ +r1743 | zimmerma | 2002-03-17 17:50:27 +0000 (Sun, 17 Mar 2002) | 2 lines +Changed paths: + A /trunk/sin_cos.c - * mpfr-impl.h, mpfr.h, mpfr.texi: - mpfr_cmp_abs no longer an internal function and described in mpfr.texi. - In mpfr.texi, a @var{} was forgotten. +new version (adapted from sin.c) - * cmp_abs.c: mpfr_cmp_abs can now be called on zero numbers. +------------------------------------------------------------------------ +r1742 | zimmerma | 2002-03-17 17:49:08 +0000 (Sun, 17 Mar 2002) | 2 lines +Changed paths: + M /trunk/tests/ttan.c - * mpfr-math.h: Structures are used to get correct alignment. +added tests for tan(3*Pi/4) and tan(7*Pi/4) -2002-04-23 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1741 | zimmerma | 2002-03-17 17:48:38 +0000 (Sun, 17 Mar 2002) | 2 lines +Changed paths: + M /trunk/tan.c - * mpfr-math.h: - _MPFR_INF*_BYTES fix. On alpha, use a "double" for the bytes, - to avoid a mis-conversion on alpha gcc 3.0.2. (Kevin Ryde) +fixed bug for tan(3*Pi/4) [wrong sign] - * Makefile.am, div_2si.c, div_2ui.c, exceptions.c, mpfr-impl.h, mul.c, mul_2si.c, powerof2.c, set_z.c, sub1.c, sub_one_ulp.c: - Underflow semantics changed (not tested). +------------------------------------------------------------------------ +r1740 | zimmerma | 2002-03-17 17:27:42 +0000 (Sun, 17 Mar 2002) | 2 lines +Changed paths: + M /trunk/tests/tlog10.c - * mul.c: Code simplified due to change in the maximum exponent range. +added test for log(10^n) -2002-04-23 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1739 | zimmerma | 2002-03-17 17:21:31 +0000 (Sun, 17 Mar 2002) | 2 lines +Changed paths: + M /trunk/log10.c - * algorithms.tex: modifs from Andreas +fixed infinite loop problem for log(10^n) -2002-04-22 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1738 | lefevre | 2002-03-13 01:16:23 +0000 (Wed, 13 Mar 2002) | 2 lines +Changed paths: + M /trunk/tests/reuse.c - * mpfr-math.h: Union -> array + cast because of the HP compiler. +Fix (patch by Kevin Ryde). -2002-04-20 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1737 | lefevre | 2002-03-13 00:44:20 +0000 (Wed, 13 Mar 2002) | 2 lines +Changed paths: + M /trunk/get_d.c - * get_d.c: - Avoid constant floating expression, as this doesn't give the correct - result with gcc on some Alpha machines. (patch by Paul Zimmermann) +Do not read the exponent if it has no meaning. -2002-04-19 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1736 | lefevre | 2002-03-12 23:58:10 +0000 (Tue, 12 Mar 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * mpfr-test.h: - RAND_MAX defined if not already defined (as it should be). +mpfr_random update (patch by Kevin Ryde). - * mpfr-test.h: - Include config.h, for the benefit of test programs not using - gmp-impl.h (Kevin Ryde). +------------------------------------------------------------------------ +r1735 | lefevre | 2002-03-12 23:53:47 +0000 (Tue, 12 Mar 2002) | 2 lines +Changed paths: + M /trunk/BUGS -2002-04-19 Paul Zimmermann <zimmerma@greux.loria.fr> +2 more known bugs. - * mpfr-test.h: - added tests in mpfr_test_init for denorms and extended precision +------------------------------------------------------------------------ +r1734 | lefevre | 2002-03-12 23:48:06 +0000 (Tue, 12 Mar 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * init.c, init2.c, mpfr.h, mpfr.texi: - mpfr_init and mpfr_init2 now return an int +mpfr_a{cos,sin,tan} documentation at a better place. -2002-04-19 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1733 | lefevre | 2002-03-12 23:43:10 +0000 (Tue, 12 Mar 2002) | 2 lines +Changed paths: + M /trunk/acos.c - * set_q.c: - Exponent range saved/restored. Returns NaN when the numerator - or the denominator is too large for MPFR. +Some mpfr_clear added (patch by Kevin Ryde). - * sqrt_ui.c, sub_ui.c, ui_div.c, ui_sub.c, add_ui.c, div_ui.c, mul_ui.c, set_si.c, set_ui.c: - Added some assertions (any unsigned long must be representable - in a mp_limb_t). +------------------------------------------------------------------------ +r1732 | lefevre | 2002-03-11 16:54:55 +0000 (Mon, 11 Mar 2002) | 3 lines +Changed paths: + M /trunk/TODO + M /trunk/get_d.c + M /trunk/tests/tget_d.c - * cmp_si.c, mpfr-impl.h, set_si.c: - SAFE_ABS changed so that it can be used for any unsigned type. +mpfr_get_d3 partially rewritten (to follow the new specifications). +tget_d.c updated because of changes in get_d.c. -2002-04-18 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1731 | lefevre | 2002-03-11 13:52:30 +0000 (Mon, 11 Mar 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi + M /trunk/print_rnd_mode.c - * set_z.c: - Added code to prevent possible integer overflow when the input number - is very large. +Return a null pointer if rnd_mode is an invalid rounding mode. - * mpfr.h: New values for exponent range. +------------------------------------------------------------------------ +r1730 | zimmerma | 2002-03-11 13:43:18 +0000 (Mon, 11 Mar 2002) | 2 lines +Changed paths: + M /trunk/set_si.c -2002-04-18 Paul Zimmermann <zimmerma@greux.loria.fr> +set sign before calling mpfr_check_range - * tests/tadd.c: - call get_d with rounding mode in check2, to avoid problems near +Inf +------------------------------------------------------------------------ +r1729 | zimmerma | 2002-03-11 13:40:02 +0000 (Mon, 11 Mar 2002) | 2 lines +Changed paths: + M /trunk/tests/tset_si.c - * mpfr-test.h: 2147483647 -> INT_MAX +stupid typo in previous commit - * tests/tadd.c, mpfr-test.h: improved ulp() to deal with infinities - and fixed tadd/check2 to deal with infinities +------------------------------------------------------------------------ +r1728 | zimmerma | 2002-03-11 13:36:40 +0000 (Mon, 11 Mar 2002) | 2 lines +Changed paths: + M /trunk/exp_2.c -2002-04-17 Paul Zimmermann <zimmerma@greux.loria.fr> +removed expx (not used) - * mpfr.texi: improved documentation of mpfr_set_precset_prec. +------------------------------------------------------------------------ +r1727 | zimmerma | 2002-03-11 13:35:12 +0000 (Mon, 11 Mar 2002) | 2 lines +Changed paths: + M /trunk/set_si.c + M /trunk/tests/tset_si.c -2002-04-16 Paul Zimmermann <zimmerma@greux.loria.fr> +fixed typo (ai [potentially unsigned] replaced by i) - * mpfr.texi: fixed documentation of cosh/sinh/tanh +------------------------------------------------------------------------ +r1726 | lefevre | 2002-03-11 13:16:54 +0000 (Mon, 11 Mar 2002) | 2 lines +Changed paths: + M /trunk/TODO + M /trunk/get_d.c + M /trunk/get_str.c + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/tests/tget_d.c -2002-04-16 Vincent Lefevre <lefevre@greux.loria.fr> +New mpfr_get_d, mpfr_get_d2, mpfr_get_d3. - * Makefile.am, cmp_si.c, cmp_ui.c, mpfr.h, mpfr.texi: - mpfr_cmp_ui_2exp and mpfr_cmp_si_2exp rewritten. - Prototype changed. +------------------------------------------------------------------------ +r1725 | zimmerma | 2002-03-11 13:00:29 +0000 (Mon, 11 Mar 2002) | 2 lines +Changed paths: + M /trunk/print_rnd_mode.c + +added return + +------------------------------------------------------------------------ +r1724 | lefevre | 2002-03-11 12:41:00 +0000 (Mon, 11 Mar 2002) | 2 lines +Changed paths: + M /trunk/Makefile.am + A /trunk/get_d.c + M /trunk/set_d.c + +set_d.c split into get_d.c and set_d.c + +------------------------------------------------------------------------ +r1723 | daney | 2002-03-11 12:38:44 +0000 (Mon, 11 Mar 2002) | 2 lines +Changed paths: + A /trunk/cbrt.c + +add cbrt in fonctionnality + +------------------------------------------------------------------------ +r1722 | lefevre | 2002-03-11 10:53:10 +0000 (Mon, 11 Mar 2002) | 2 lines +Changed paths: + M /trunk/BUGS + +Bug removed. + +------------------------------------------------------------------------ +r1721 | lefevre | 2002-03-11 05:44:18 +0000 (Mon, 11 Mar 2002) | 2 lines +Changed paths: + M /trunk/extract.c + M /trunk/tests/tacos.c + M /trunk/tests/tgamma.c + M /trunk/tests/tgeneric.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_sub.c + +#include changes. + +------------------------------------------------------------------------ +r1720 | zimmerma | 2002-03-07 16:42:57 +0000 (Thu, 07 Mar 2002) | 2 lines +Changed paths: + M /trunk/sinh.c + +fixed problem when te=ti=1 (i.e. t=0) found by Kevin Ryde + +------------------------------------------------------------------------ +r1719 | zimmerma | 2002-03-07 16:04:54 +0000 (Thu, 07 Mar 2002) | 2 lines +Changed paths: + M /trunk/tests/reuse.c + +simplified test4() + +------------------------------------------------------------------------ +r1718 | lefevre | 2002-03-06 17:56:06 +0000 (Wed, 06 Mar 2002) | 2 lines +Changed paths: + M /trunk/BUGS + M /trunk/TODO + +Update. + +------------------------------------------------------------------------ +r1717 | lefevre | 2002-03-06 17:05:26 +0000 (Wed, 06 Mar 2002) | 2 lines +Changed paths: + M /trunk/BUGS + +Update. + +------------------------------------------------------------------------ +r1716 | lefevre | 2002-03-06 16:32:50 +0000 (Wed, 06 Mar 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Patch by Kevin Ryde concerning nodes/menus. + +------------------------------------------------------------------------ +r1715 | lefevre | 2002-03-05 00:13:20 +0000 (Tue, 05 Mar 2002) | 2 lines +Changed paths: + M /trunk/tests/reuse.c + +Casts fixed. + +------------------------------------------------------------------------ +r1714 | lefevre | 2002-03-04 23:35:05 +0000 (Mon, 04 Mar 2002) | 2 lines +Changed paths: + M /trunk/Makefile.am + A /trunk/get_z_exp.c + D /trunk/internal_ceil_exp2.c + D /trunk/internal_ceil_log2.c + D /trunk/internal_floor_log2.c + D /trunk/mpz_set_fr.c + A /trunk/uceil_exp2.c + A /trunk/uceil_log2.c + A /trunk/ufloor_log2.c + +File renaming. + +------------------------------------------------------------------------ +r1713 | lefevre | 2002-03-04 23:05:20 +0000 (Mon, 04 Mar 2002) | 2 lines +Changed paths: + M /trunk/acos.c + M /trunk/acosh.c + M /trunk/add.c + M /trunk/add1.c + M /trunk/add_one_ulp.c + M /trunk/add_ui.c + M /trunk/agm.c + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atan.c + M /trunk/atanh.c + M /trunk/clear.c + M /trunk/cmp.c + M /trunk/cmp2.c + M /trunk/cmp_abs.c + M /trunk/cmp_ui.c + M /trunk/const_euler.c + M /trunk/const_log2.c + M /trunk/const_pi.c + M /trunk/copysign.c + M /trunk/cos.c + M /trunk/cosh.c + M /trunk/dim.c + M /trunk/div.c + M /trunk/div_2exp.c + M /trunk/div_2si.c + M /trunk/div_2ui.c + M /trunk/div_ui.c + M /trunk/dump.c + M /trunk/eq.c + M /trunk/exceptions.c + M /trunk/exp.c + M /trunk/exp2.c + M /trunk/exp3.c + M /trunk/exp_2.c + M /trunk/expm1.c + M /trunk/extract.c + M /trunk/factorial.c + M /trunk/fma.c + M /trunk/gamma.c + M /trunk/gammaPiAGMformula.c + M /trunk/generic.c + M /trunk/get_str.c + M /trunk/gmp_op.c + M /trunk/hypot.c + M /trunk/init.c + M /trunk/init2.c + M /trunk/inp_str.c + M /trunk/internal_ceil_exp2.c + M /trunk/internal_ceil_log2.c + M /trunk/internal_floor_log2.c + M /trunk/isinf.c + M /trunk/isinteger.c + M /trunk/isnan.c + M /trunk/isnum.c + M /trunk/log.c + M /trunk/log10.c + M /trunk/log1p.c + M /trunk/log2.c + M /trunk/minmax.c + M /trunk/mpf2mpfr.h + M /trunk/mpfi.c + M /trunk/mpfi.h + M /trunk/mpfr-impl.h + M /trunk/mpfr-test.h + M /trunk/mpfr.h + M /trunk/mpz_set_fr.c + M /trunk/mul.c + M /trunk/mul_2exp.c + M /trunk/mul_2si.c + M /trunk/mul_2ui.c + M /trunk/mul_ui.c + M /trunk/neg.c + M /trunk/out_str.c + M /trunk/pow.c + M /trunk/pow_si.c + M /trunk/pow_ui.c + M /trunk/print_raw.c + M /trunk/print_rnd_mode.c + M /trunk/random.c + M /trunk/random2.c + M /trunk/reldiff.c + M /trunk/rint.c + M /trunk/rnd_mode.c + M /trunk/round_prec.c + M /trunk/save_expo.c + M /trunk/set.c + M /trunk/set_d.c + M /trunk/set_dfl_prec.c + M /trunk/set_f.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_str.c + M /trunk/set_str_raw.c + M /trunk/set_ui.c + M /trunk/set_z.c + M /trunk/sin.c + M /trunk/sinh.c + M /trunk/sqrt.c + M /trunk/sqrt_ui.c + M /trunk/sqrtrem.c + M /trunk/srandom.h + M /trunk/sub.c + M /trunk/sub1.c + M /trunk/sub_one_ulp.c + M /trunk/sub_ui.c + M /trunk/swap.c + M /trunk/tan.c + M /trunk/tanh.c + M /trunk/tests/reuse.c + M /trunk/tests/tabs.c + M /trunk/tests/tacos.c + M /trunk/tests/tacosh.c + M /trunk/tests/tadd.c + M /trunk/tests/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/tcmp.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tconst_euler.c + M /trunk/tests/tconst_log2.c + M /trunk/tests/tconst_pi.c + M /trunk/tests/tcos.c + M /trunk/tests/tcosh.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/tdump.c + M /trunk/tests/teq.c + M /trunk/tests/texceptions.c + M /trunk/tests/texp.c + M /trunk/tests/texp2.c + M /trunk/tests/texpm1.c + M /trunk/tests/tfactorial.c + M /trunk/tests/tfma.c + M /trunk/tests/tgamma.c + M /trunk/tests/tgeneric.c + M /trunk/tests/tget_d.c + M /trunk/tests/tget_str.c + M /trunk/tests/thyperbolic.c + M /trunk/tests/thypot.c + M /trunk/tests/tisnan.c + M /trunk/tests/tlog.c + M /trunk/tests/tlog10.c + M /trunk/tests/tlog1p.c + M /trunk/tests/tlog2.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tout_str.c + M /trunk/tests/tpow.c + M /trunk/tests/tpow3.c + M /trunk/tests/trandom.c + M /trunk/tests/trint.c + M /trunk/tests/tround_prec.c + M /trunk/tests/tset.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_f.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsin.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsinh.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub_ui.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/tzeta.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/zeta.c + +Copyright line changed. + +------------------------------------------------------------------------ +r1712 | zimmerma | 2002-03-01 13:03:11 +0000 (Fri, 01 Mar 2002) | 2 lines +Changed paths: + M /trunk/AUTHORS + +updated + +------------------------------------------------------------------------ +r1711 | zimmerma | 2002-03-01 13:02:03 +0000 (Fri, 01 Mar 2002) | 2 lines +Changed paths: + M /trunk/atan.c + M /trunk/exp_2.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/mpz_set_fr.c + M /trunk/pow.c + +changed name of mpz_set_fr to mpfr_get_z_exp + +------------------------------------------------------------------------ +r1710 | lefevre | 2002-02-28 14:21:20 +0000 (Thu, 28 Feb 2002) | 2 lines +Changed paths: + M /trunk/tests/tabs.c + M /trunk/tests/tadd.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + +Removed some <math.h> dependencies. + +------------------------------------------------------------------------ +r1709 | lefevre | 2002-02-28 00:19:56 +0000 (Thu, 28 Feb 2002) | 2 lines +Changed paths: + M /trunk/tests/tget_d.c + +Fixed. + +------------------------------------------------------------------------ +r1708 | lefevre | 2002-02-28 00:19:46 +0000 (Thu, 28 Feb 2002) | 2 lines +Changed paths: + M /trunk/set_d.c + +mpfr_get_d rewritten (still needs to be fixed when the result is a subnormal). + +------------------------------------------------------------------------ +r1707 | lefevre | 2002-02-27 18:16:29 +0000 (Wed, 27 Feb 2002) | 2 lines +Changed paths: + M /trunk/tests/tget_d.c + +mpfr_get_d2 tested. + +------------------------------------------------------------------------ +r1706 | lefevre | 2002-02-27 14:29:18 +0000 (Wed, 27 Feb 2002) | 2 lines +Changed paths: + M /trunk/TODO + +Update. + +------------------------------------------------------------------------ +r1705 | lefevre | 2002-02-27 14:02:18 +0000 (Wed, 27 Feb 2002) | 2 lines +Changed paths: + M /trunk/tests/tget_d.c + M /trunk/tests/tset_d.c + +New tests. + +------------------------------------------------------------------------ +r1704 | lefevre | 2002-02-27 14:00:16 +0000 (Wed, 27 Feb 2002) | 2 lines +Changed paths: + M /trunk/configure.in + +Additional flags for gcc + minor changes. + +------------------------------------------------------------------------ +r1703 | lefevre | 2002-02-27 13:57:51 +0000 (Wed, 27 Feb 2002) | 2 lines +Changed paths: + M /trunk/get_str.c + +Minor update. + +------------------------------------------------------------------------ +r1702 | lefevre | 2002-02-25 14:50:14 +0000 (Mon, 25 Feb 2002) | 7 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/set_d.c + +mpfr_get_d2 prototype changed (mp_exp_t instead of long). +__mpfr_scale2 fixes: checks for integer overflows, signed zeros, exact +rounding for subnormals in the rounding to the nearest mode (problems +due to multiple roundings avoided). +mpfr_get_d2: signed zeros taken into account. This function still needs +to be rewritten (because of multiple roundings). + +------------------------------------------------------------------------ +r1701 | lefevre | 2002-02-21 15:43:40 +0000 (Thu, 21 Feb 2002) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/agm.c + A /trunk/internal_ceil_exp2.c + A /trunk/internal_ceil_log2.c + A /trunk/internal_floor_log2.c + +_mpfr_ceil_log2, _mpfr_floor_log2, _mpfr_ceil_exp2 in separate files. + +------------------------------------------------------------------------ +r1700 | lefevre | 2002-02-19 16:05:52 +0000 (Tue, 19 Feb 2002) | 3 lines +Changed paths: + M /trunk/get_str.c + +Fixes, code clean-up and some asserts against integer overflows. +Code need to be checked. + +------------------------------------------------------------------------ +r1699 | lefevre | 2002-02-14 11:36:40 +0000 (Thu, 14 Feb 2002) | 2 lines +Changed paths: + M /trunk/acos.c + M /trunk/agm.c + M /trunk/atan.c + M /trunk/atanh.c + M /trunk/const_euler.c + M /trunk/const_log2.c + M /trunk/const_pi.c + M /trunk/cos.c + M /trunk/cosh.c + M /trunk/exp3.c + M /trunk/exp_2.c + M /trunk/gamma.c + M /trunk/generic.c + M /trunk/get_str.c + M /trunk/sin.c + M /trunk/sinh.c + M /trunk/tanh.c + M /trunk/zeta.c + +mpfr_{div,mul}_2exp -> mpfr_{div,mul}_2ui. + +------------------------------------------------------------------------ +r1698 | lefevre | 2002-02-14 02:35:35 +0000 (Thu, 14 Feb 2002) | 2 lines +Changed paths: + M /trunk/get_str.c + +Partial code clean-up and some asserts against integer overflows (2). + +------------------------------------------------------------------------ +r1697 | lefevre | 2002-02-13 13:53:46 +0000 (Wed, 13 Feb 2002) | 2 lines +Changed paths: + M /trunk/get_str.c + +Partial code clean-up and some asserts against integer overflows. + +------------------------------------------------------------------------ +r1696 | lefevre | 2002-02-13 13:18:12 +0000 (Wed, 13 Feb 2002) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + +MP_EXP_T_MAX and MP_EXP_T_MIN defined. + +------------------------------------------------------------------------ +r1695 | lefevre | 2002-02-13 10:49:09 +0000 (Wed, 13 Feb 2002) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +Macros IS_POW2 and NOT_POW2. + +------------------------------------------------------------------------ +r1694 | lefevre | 2002-02-12 17:11:50 +0000 (Tue, 12 Feb 2002) | 2 lines +Changed paths: + M /trunk/ui_pow_ui.c + +Use mpfr_save_emin_emax and MPFR_RESTORE_RET. + +------------------------------------------------------------------------ +r1693 | lefevre | 2002-02-12 16:41:50 +0000 (Tue, 12 Feb 2002) | 2 lines +Changed paths: + M /trunk/tests/tdump.c + +Update due to changes in mpfr_get_str. + +------------------------------------------------------------------------ +r1692 | lefevre | 2002-02-12 16:41:36 +0000 (Tue, 12 Feb 2002) | 4 lines +Changed paths: + M /trunk/get_str.c + M /trunk/mpz_set_fr.c + M /trunk/out_str.c + +mpfr_get_str: the returned exponent for 0 is 0 (like in frexp()). +mpz_set_fr.c: comment added. +out_str.c: minor changes. + +------------------------------------------------------------------------ +r1691 | lefevre | 2002-02-12 15:59:02 +0000 (Tue, 12 Feb 2002) | 2 lines +Changed paths: + M /trunk/BUGS + +Update. + +------------------------------------------------------------------------ +r1690 | lefevre | 2002-02-12 14:42:23 +0000 (Tue, 12 Feb 2002) | 2 lines +Changed paths: + M /trunk/ui_pow_ui.c + +Bug fixed and other changes. + +------------------------------------------------------------------------ +r1689 | lefevre | 2002-02-12 14:08:25 +0000 (Tue, 12 Feb 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +NULL -> null pointer and other small changes. + +------------------------------------------------------------------------ +r1688 | lefevre | 2002-02-12 14:03:02 +0000 (Tue, 12 Feb 2002) | 2 lines +Changed paths: + M /trunk/get_str.c + M /trunk/mpfr.texi + +mpfr_get_str: null pointer returned in case of error, NaN taken into account. + +------------------------------------------------------------------------ +r1687 | lefevre | 2002-02-11 14:59:18 +0000 (Mon, 11 Feb 2002) | 3 lines +Changed paths: + M /trunk/mpfr.texi + M /trunk/set_str.c + +mpfr_set_str partially rewritten to cope with integer overflows. +The rounding code hasn't been fixed yet. + +------------------------------------------------------------------------ +r1686 | lefevre | 2002-02-08 17:04:01 +0000 (Fri, 08 Feb 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Typo. + +------------------------------------------------------------------------ +r1685 | lefevre | 2002-02-08 17:01:49 +0000 (Fri, 08 Feb 2002) | 2 lines +Changed paths: + M /trunk/mpfr.texi + M /trunk/set_str.c + +mpfr_set_str: base must be between 2 and 36. + +------------------------------------------------------------------------ +r1684 | daney | 2002-02-06 15:34:46 +0000 (Wed, 06 Feb 2002) | 2 lines +Changed paths: + M /trunk/acosh.c + +chnage the return values + +------------------------------------------------------------------------ +r1683 | daney | 2002-02-06 15:34:15 +0000 (Wed, 06 Feb 2002) | 2 lines +Changed paths: + M /trunk/tests/thyperbolic.c + +Change the test return values + +------------------------------------------------------------------------ +r1682 | lefevre | 2002-02-06 02:57:55 +0000 (Wed, 06 Feb 2002) | 2 lines +Changed paths: + M /trunk/pow.c + +Some optimizations. + +------------------------------------------------------------------------ +r1681 | lefevre | 2002-02-04 01:04:59 +0000 (Mon, 04 Feb 2002) | 2 lines +Changed paths: + M /trunk/exp.c + M /trunk/pow_ui.c + M /trunk/sin.c + M /trunk/sinh.c + M /trunk/tan.c + M /trunk/tanh.c + M /trunk/ui_pow.c + M /trunk/ui_sub.c + +Misc bug fixes and code clean-up. + +------------------------------------------------------------------------ +r1680 | lefevre | 2002-02-04 00:16:27 +0000 (Mon, 04 Feb 2002) | 2 lines +Changed paths: + M /trunk/mpz_set_fr.c + M /trunk/mul.c + M /trunk/mul_ui.c + M /trunk/pow.c + +Misc bug fixes and code clean-up. + +------------------------------------------------------------------------ +r1679 | lefevre | 2002-02-03 02:59:44 +0000 (Sun, 03 Feb 2002) | 2 lines +Changed paths: + M /trunk/mpz_set_fr.c + +For the value 0, return __mpfr_emin instead of 0. + +------------------------------------------------------------------------ +r1678 | lefevre | 2002-02-01 21:35:34 +0000 (Fri, 01 Feb 2002) | 2 lines +Changed paths: + M /trunk/acosh.c + M /trunk/agm.c + M /trunk/asinh.c + M /trunk/atanh.c + M /trunk/copysign.c + M /trunk/cos.c + M /trunk/cosh.c + M /trunk/dim.c + M /trunk/div_ui.c + M /trunk/exp.c + M /trunk/exp2.c + M /trunk/expm1.c + M /trunk/hypot.c + M /trunk/log.c + M /trunk/log10.c + M /trunk/log1p.c + M /trunk/log2.c + M /trunk/pow_si.c + +Misc bug fixes and code clean-up. + +------------------------------------------------------------------------ +r1677 | hanrot | 2002-02-01 18:17:56 +0000 (Fri, 01 Feb 2002) | 2 lines +Changed paths: + M /trunk/pow_si.c + +Patch. + +------------------------------------------------------------------------ +r1676 | lefevre | 2002-01-30 14:57:31 +0000 (Wed, 30 Jan 2002) | 2 lines +Changed paths: + M /trunk/tests/trint.c + +Bux fixed. + +------------------------------------------------------------------------ +r1675 | lefevre | 2002-01-30 14:57:24 +0000 (Wed, 30 Jan 2002) | 2 lines +Changed paths: + M /trunk/set_z.c + +mpfr_set_z rewritten. + +------------------------------------------------------------------------ +r1674 | lefevre | 2002-01-30 12:37:04 +0000 (Wed, 30 Jan 2002) | 3 lines +Changed paths: + M /trunk/mpfr.texi + +Update concerning mpfr_round_prec, mpfr_rint, mpfr_ceil, mpfr_floor, +mpfr_round and mpfr_trunc. + +------------------------------------------------------------------------ +r1673 | lefevre | 2002-01-30 04:57:52 +0000 (Wed, 30 Jan 2002) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am + M /trunk/tests/reuse.c + A /trunk/tests/trint.c + +Tests added (mpfr_trunc, mpfr_floor, mpfr_ceil, mpfr_round). + +------------------------------------------------------------------------ +r1672 | lefevre | 2002-01-30 04:57:10 +0000 (Wed, 30 Jan 2002) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/mpf2mpfr.h + M /trunk/mpfr.h + A /trunk/rint.c + D /trunk/trunc.c + +mpfr_rint, mpfr_trunc, mpfr_floor, mpfr_ceil, mpfr_round rewritten. + +------------------------------------------------------------------------ +r1671 | lefevre | 2002-01-25 14:00:37 +0000 (Fri, 25 Jan 2002) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/cos.c + M /trunk/get_str.c + M /trunk/mpfr.h + D /trunk/round.c + A /trunk/round_prec.c + M /trunk/tests/Makefile.am + M /trunk/tests/tacos.c + M /trunk/tests/tasin.c + M /trunk/tests/tgamma.c + D /trunk/tests/tround.c + A /trunk/tests/tround_prec.c + +mpfr_round -> mpfr_round_prec. + +------------------------------------------------------------------------ +r1670 | lefevre | 2002-01-25 13:43:31 +0000 (Fri, 25 Jan 2002) | 2 lines +Changed paths: + M /trunk/sqrt.c + +Code reformatted. + +------------------------------------------------------------------------ +r1669 | lefevre | 2002-01-23 00:08:52 +0000 (Wed, 23 Jan 2002) | 3 lines +Changed paths: + M /trunk/mpfr-test.h + +MAX, MIN, ABS macros undefined before being redefined. +Fix in ABS macro. + +------------------------------------------------------------------------ +r1668 | lefevre | 2002-01-22 02:29:47 +0000 (Tue, 22 Jan 2002) | 2 lines +Changed paths: + M /trunk/tests/tmul_ui.c + +Example with high bit set. + +------------------------------------------------------------------------ +r1667 | lefevre | 2002-01-22 02:29:35 +0000 (Tue, 22 Jan 2002) | 2 lines +Changed paths: + M /trunk/mul_ui.c + +Fix (Kevin Ryde). + +------------------------------------------------------------------------ +r1666 | lefevre | 2002-01-22 00:45:44 +0000 (Tue, 22 Jan 2002) | 4 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/mul.c + M /trunk/sqrt.c + +MPFR_PREC_MAX redefined. +MPFR_INTPREC_MAX defined (internal maximum precision). +Some integer overflow detection. + +------------------------------------------------------------------------ +r1665 | lefevre | 2002-01-21 11:37:41 +0000 (Mon, 21 Jan 2002) | 3 lines +Changed paths: + M /trunk/sqrt_ui.c + +Set sign of sqrt(0). +Support for exponent range. + +------------------------------------------------------------------------ +r1664 | lefevre | 2002-01-21 10:38:37 +0000 (Mon, 21 Jan 2002) | 3 lines +Changed paths: + M /trunk/sqrt.c + +can_round type changed: char -> int. +Case sqrt(0) improved. + +------------------------------------------------------------------------ +r1663 | lefevre | 2002-01-21 10:26:13 +0000 (Mon, 21 Jan 2002) | 4 lines +Changed paths: + M /trunk/sqrt.c + +Bug fixes: + * return 1 -> MPFR_RET_NAN + * a MPFR_CLEAR_INF was missing. + +------------------------------------------------------------------------ +r1662 | lefevre | 2002-01-20 00:17:27 +0000 (Sun, 20 Jan 2002) | 2 lines +Changed paths: + M /trunk/add_ui.c + M /trunk/mpfr-impl.h + M /trunk/sub_ui.c + +New macro MPFR_RESTORE_RET. + +------------------------------------------------------------------------ +r1661 | lefevre | 2002-01-18 16:13:33 +0000 (Fri, 18 Jan 2002) | 2 lines +Changed paths: + M /trunk/fma.c + +Code clean-up (goto suppressed). + +------------------------------------------------------------------------ +r1660 | lefevre | 2002-01-18 15:40:30 +0000 (Fri, 18 Jan 2002) | 2 lines +Changed paths: + M /trunk/fma.c + +Cases 0 * 0 + 0. + +------------------------------------------------------------------------ +r1659 | lefevre | 2002-01-18 11:33:22 +0000 (Fri, 18 Jan 2002) | 2 lines +Changed paths: + M /trunk/fma.c + +Nt: int -> mp_prec_t + +------------------------------------------------------------------------ +r1658 | lefevre | 2002-01-18 11:15:54 +0000 (Fri, 18 Jan 2002) | 2 lines +Changed paths: + M /trunk/fma.c + M /trunk/tests/tacosh.c + +<> changed back to "". + +------------------------------------------------------------------------ +r1657 | daney | 2002-01-18 09:58:00 +0000 (Fri, 18 Jan 2002) | 2 lines +Changed paths: + M /trunk/tests/tacosh.c + +change "" -> <> in headers + +------------------------------------------------------------------------ +r1656 | daney | 2002-01-18 09:51:03 +0000 (Fri, 18 Jan 2002) | 2 lines +Changed paths: + M /trunk/fma.c + +Change indendation + replace "" -> <> in header + +------------------------------------------------------------------------ +r1655 | lefevre | 2002-01-17 21:45:41 +0000 (Thu, 17 Jan 2002) | 2 lines +Changed paths: + M /trunk/fma.c + +Particular cases rewritten. + +------------------------------------------------------------------------ +r1654 | lefevre | 2002-01-17 20:33:21 +0000 (Thu, 17 Jan 2002) | 3 lines +Changed paths: + M /trunk/mpfr-test.h + +Test "__hpux", not "hpux". Mask off mrand48 return value to 31 bits +to work around sloppy mpfr #include practices. (Torbjorn Granlund) + +------------------------------------------------------------------------ +r1653 | lefevre | 2002-01-17 20:29:58 +0000 (Thu, 17 Jan 2002) | 2 lines +Changed paths: + 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/texceptions.c + M /trunk/tests/texp2.c + M /trunk/tests/texpm1.c + M /trunk/tests/tfma.c + M /trunk/tests/thyperbolic.c + M /trunk/tests/thypot.c + M /trunk/tests/tlog10.c + M /trunk/tests/tlog1p.c + M /trunk/tests/tlog2.c + M /trunk/tests/tpow3.c + M /trunk/tests/tset_f.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c + M /trunk/tests/tsin.c + M /trunk/tests/tsinh.c + M /trunk/tests/ttan.c + M /trunk/tests/ttanh.c + M /trunk/tests/tui_pow.c + +#include fixes (Torbjorn Granlund). + +------------------------------------------------------------------------ +r1652 | lefevre | 2002-01-16 15:14:09 +0000 (Wed, 16 Jan 2002) | 2 lines +Changed paths: + M /trunk/div.c + +Comments were incorrect. + +------------------------------------------------------------------------ +r1651 | lefevre | 2002-01-15 11:23:34 +0000 (Tue, 15 Jan 2002) | 2 lines +Changed paths: + M /trunk/BUGS + +Note concerning mpfr_trunc, mpfr_floor and mpfr_ceil. + +------------------------------------------------------------------------ +r1650 | lefevre | 2002-01-14 13:09:42 +0000 (Mon, 14 Jan 2002) | 2 lines +Changed paths: + M /trunk/div.c + +Special cases. + +------------------------------------------------------------------------ +r1649 | lefevre | 2002-01-12 01:27:53 +0000 (Sat, 12 Jan 2002) | 3 lines +Changed paths: + M /trunk/mpfr-test.h + M /trunk/mpfr.h + M /trunk/shortmul.c + M /trunk/tests/reuse.c + M /trunk/tests/tabs.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tatan.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tcos.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/teq.c + M /trunk/tests/texp.c + M /trunk/tests/tget_str.c + M /trunk/tests/thyperbolic.c + M /trunk/tests/tlog.c + M /trunk/tests/tmul.c + M /trunk/tests/tout_str.c + M /trunk/tests/tpow.c + M /trunk/tests/trandom.c + M /trunk/tests/tset.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsin.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/ttan.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_sub.c + M /trunk/tests/tzeta.c + +Patches by Kevin Ryde for K&R compilers +and other fixes in prototypes. + +------------------------------------------------------------------------ +r1648 | lefevre | 2002-01-10 22:20:28 +0000 (Thu, 10 Jan 2002) | 2 lines +Changed paths: + M /trunk/tests/tmul.c + +Test check_min added. + +------------------------------------------------------------------------ +r1647 | lefevre | 2002-01-10 21:45:00 +0000 (Thu, 10 Jan 2002) | 2 lines +Changed paths: + M /trunk/tests/tmul.c + +Test check_max added. + +------------------------------------------------------------------------ +r1646 | lefevre | 2002-01-10 13:42:21 +0000 (Thu, 10 Jan 2002) | 2 lines +Changed paths: + M /trunk/algorithms.tex + M /trunk/cmp2.c + M /trunk/log.c + +Spelling: "canceled" + +------------------------------------------------------------------------ +r1645 | zimmerma | 2002-01-10 13:05:58 +0000 (Thu, 10 Jan 2002) | 2 lines +Changed paths: + M /trunk/mpfr.h + +GMP_PROTO change was already done by Vincent + +------------------------------------------------------------------------ +r1644 | zimmerma | 2002-01-10 12:58:47 +0000 (Thu, 10 Jan 2002) | 2 lines +Changed paths: + M /trunk/mpfr.h + +prepare change PROTO -> GMP_PROTO + +------------------------------------------------------------------------ +r1643 | lefevre | 2002-01-04 14:41:33 +0000 (Fri, 04 Jan 2002) | 2 lines +Changed paths: + M /trunk/sub_one_ulp.c + +The precision can no longer be 1. + +------------------------------------------------------------------------ +r1642 | lefevre | 2002-01-04 03:07:23 +0000 (Fri, 04 Jan 2002) | 2 lines +Changed paths: + M /trunk/mpfr.h + +__GMP_PROTO defined if not already defined. + +------------------------------------------------------------------------ +r1641 | lefevre | 2002-01-04 02:57:08 +0000 (Fri, 04 Jan 2002) | 5 lines +Changed paths: + M /trunk/add.c + M /trunk/agm.c + M /trunk/cmp2.c + M /trunk/mpfr-impl.h + M /trunk/sub.c + M /trunk/sub1.c + M /trunk/tests/tcmp.c + M /trunk/tests/tcmp2.c + +Optimization: mpfr_cmp2 now accepts any combination of real arguments +and computes the sign of |b| - |c| (in addition to the number of +cancelled bits); mpfr_add, mpfr_sub, mpfr_sub1, mpfr_agm and some +tests updated to take this change into account. + +------------------------------------------------------------------------ +r1640 | zimmerma | 2001-12-21 16:33:10 +0000 (Fri, 21 Dec 2001) | 2 lines +Changed paths: + M /trunk/tests/tsin.c + +added check for sin(3*Pi/2) + +------------------------------------------------------------------------ +r1639 | zimmerma | 2001-12-21 16:33:02 +0000 (Fri, 21 Dec 2001) | 2 lines +Changed paths: + M /trunk/sin.c + +fixed bug for sin(3*Pi/2) + +------------------------------------------------------------------------ +r1638 | lefevre | 2001-12-19 15:50:01 +0000 (Wed, 19 Dec 2001) | 2 lines +Changed paths: + M /trunk/set_str_raw.c + +Global NaN flag set when result is NaN. + +------------------------------------------------------------------------ +r1637 | zimmerma | 2001-12-19 14:41:04 +0000 (Wed, 19 Dec 2001) | 2 lines +Changed paths: + M /trunk/set_str_raw.c + +forgot to clear nan flag for Inf + +------------------------------------------------------------------------ +r1636 | zimmerma | 2001-12-19 13:32:05 +0000 (Wed, 19 Dec 2001) | 3 lines +Changed paths: + M /trunk/mpfr.texi + +changed description of mpfr_cmp to correspond to the implementation: +NaNs are not allowed + +------------------------------------------------------------------------ +r1635 | zimmerma | 2001-12-19 12:39:49 +0000 (Wed, 19 Dec 2001) | 6 lines +Changed paths: + M /trunk/algorithms.tex + +fixed mpfr_cmp2 : there was a bug noticed by Nicolas Magaud and Didier +Bondyfalat for inputs: +100 011 111 +100 010 110 +where it gave 8 instead of 5. + +------------------------------------------------------------------------ +r1634 | lefevre | 2001-12-19 10:44:15 +0000 (Wed, 19 Dec 2001) | 2 lines +Changed paths: + M /trunk/add1.c + M /trunk/sub1.c + +Better comments. + +------------------------------------------------------------------------ +r1633 | zimmerma | 2001-12-10 09:20:59 +0000 (Mon, 10 Dec 2001) | 2 lines +Changed paths: + M /trunk/algorithms.bib + M /trunk/algorithms.tex + +added "PI and the AGM" + +------------------------------------------------------------------------ +r1632 | lefevre | 2001-12-06 17:25:46 +0000 (Thu, 06 Dec 2001) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am + A /trunk/tests/tlog10.c + A /trunk/tests/tlog2.c + D /trunk/tests/tlog_base_10.c + D /trunk/tests/tlog_base_2.c + +Files renamed (log in base 2 and 10). + +------------------------------------------------------------------------ +r1631 | lefevre | 2001-12-06 17:22:14 +0000 (Thu, 06 Dec 2001) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am + A /trunk/tests/tconst_euler.c + A /trunk/tests/tconst_log2.c + A /trunk/tests/tconst_pi.c + D /trunk/tests/teuler.c + D /trunk/tests/tlog2.c + D /trunk/tests/tpi.c + +Files renamed (constants). + +------------------------------------------------------------------------ +r1630 | lefevre | 2001-12-06 17:12:59 +0000 (Thu, 06 Dec 2001) | 2 lines +Changed paths: + D /trunk/aclocal.m4 + +File aclocal.m4 removed, as generated by aclocal (called by prepare). + +------------------------------------------------------------------------ +r1629 | lefevre | 2001-12-06 17:02:18 +0000 (Thu, 06 Dec 2001) | 2 lines +Changed paths: + M /trunk/Makefile.am + A /trunk/log10.c + A /trunk/log2.c + D /trunk/log_base_10.c + D /trunk/log_base_2.c + +Files log_base_*.c renamed. + +------------------------------------------------------------------------ +r1628 | lefevre | 2001-12-06 16:53:25 +0000 (Thu, 06 Dec 2001) | 2 lines +Changed paths: + M /trunk/Makefile.am + A /trunk/const_euler.c + A /trunk/const_log2.c + A /trunk/const_pi.c + D /trunk/euler.c + D /trunk/log2.c + D /trunk/pi.c + +Functions (constants) renamed. + +------------------------------------------------------------------------ +r1627 | lefevre | 2001-12-06 16:33:10 +0000 (Thu, 06 Dec 2001) | 3 lines +Changed paths: + D /trunk/Makefile.in + D /trunk/configure + D /trunk/tests/Makefile.in + +Files configure, Makefile.in, tests/Makefile.in removed. +Use the `prepare' script to generate them. + +------------------------------------------------------------------------ +r1626 | lefevre | 2001-12-06 12:37:05 +0000 (Thu, 06 Dec 2001) | 2 lines +Changed paths: + M /trunk/BUGS + +Removed 2 bugs. + +------------------------------------------------------------------------ +r1625 | lefevre | 2001-12-06 12:12:43 +0000 (Thu, 06 Dec 2001) | 2 lines +Changed paths: + A /trunk/prepare + +Initial release. + +------------------------------------------------------------------------ +r1624 | zimmerma | 2001-12-05 17:06:03 +0000 (Wed, 05 Dec 2001) | 2 lines +Changed paths: + M /trunk/algorithms.tex + +added arc-tangent (from Mathieu) + +------------------------------------------------------------------------ +r1623 | zimmerma | 2001-12-05 16:29:15 +0000 (Wed, 05 Dec 2001) | 2 lines +Changed paths: + M /trunk/algorithms.tex + +added paragraph on asin and acos from Mathieu Dutour + +------------------------------------------------------------------------ +r1622 | zimmerma | 2001-12-05 16:28:31 +0000 (Wed, 05 Dec 2001) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am + A /trunk/tests/tacos.c + +added tacos + +------------------------------------------------------------------------ +r1621 | zimmerma | 2001-12-05 16:27:44 +0000 (Wed, 05 Dec 2001) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * acinclude.m4, configure.in: - Use AC_CANONICAL_HOST and $host instead of $OS_TYPE and $MACHTYPE - (patch suggested by Kevin Ryde). +in check5, test NaNs before calling mpfr_cmp - * config.guess, config.sub: - Added files from ftp.gnu.org for automake and AC_CANONICAL_HOST. +------------------------------------------------------------------------ +r1620 | zimmerma | 2001-12-05 16:26:56 +0000 (Wed, 05 Dec 2001) | 2 lines +Changed paths: + M /trunk/tests/reuse.c -2002-04-15 Paul Zimmermann <zimmerma@greux.loria.fr> +added acos - * tests/tabs.c, tests/tadd.c, tests/tadd_ui.c, tests/tdiv_ui.c, tests/tout_str.c, tests/tset_d.c, tests/tsub_ui.c, tests/tui_sub.c: - replaced 2.2e-307 by DBL_MIN +------------------------------------------------------------------------ +r1619 | zimmerma | 2001-12-05 16:26:34 +0000 (Wed, 05 Dec 2001) | 2 lines +Changed paths: + M /trunk/Makefile.am -2002-04-15 Vincent Lefevre <lefevre@greux.loria.fr> +added acos.c - * README: Typo: Gnu -> GNU. +------------------------------------------------------------------------ +r1618 | zimmerma | 2001-12-05 16:26:02 +0000 (Wed, 05 Dec 2001) | 2 lines +Changed paths: + A /trunk/acos.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + +added acos (from Mathieu Dutour) + +------------------------------------------------------------------------ +r1617 | zimmerma | 2001-12-05 16:25:10 +0000 (Wed, 05 Dec 2001) | 2 lines +Changed paths: + M /trunk/sqrt.c + +use now new sqrtrem from gmp-4.0 + +------------------------------------------------------------------------ +r1616 | zimmerma | 2001-12-05 16:08:30 +0000 (Wed, 05 Dec 2001) | 2 lines +Changed paths: + M /trunk/tests/tdiv_ui.c + +improved test (avoid mpfr_get_d) + +------------------------------------------------------------------------ +r1615 | zimmerma | 2001-12-05 15:15:47 +0000 (Wed, 05 Dec 2001) | 2 lines +Changed paths: + M /trunk/tests/tset_d.c + +removed isnan prototype + +------------------------------------------------------------------------ +r1614 | zimmerma | 2001-12-05 15:11:47 +0000 (Wed, 05 Dec 2001) | 2 lines +Changed paths: + M /trunk/rnd_mode.c + +added stdlib.h for exit + +------------------------------------------------------------------------ +r1613 | zimmerma | 2001-11-30 17:55:16 +0000 (Fri, 30 Nov 2001) | 3 lines +Changed paths: + M /trunk/dump.c + M /trunk/tests/tdump.c + +test NaN before Inf +changed precision to 2 for test + +------------------------------------------------------------------------ +r1612 | lefevre | 2001-11-30 15:57:22 +0000 (Fri, 30 Nov 2001) | 2 lines +Changed paths: + M /trunk/set_prc_raw.c + +Cast added. + +------------------------------------------------------------------------ +r1611 | zimmerma | 2001-11-30 14:48:45 +0000 (Fri, 30 Nov 2001) | 2 lines +Changed paths: + M /trunk/tests/tatan.c + +added a new test (worst case) + +------------------------------------------------------------------------ +r1610 | zimmerma | 2001-11-30 14:48:12 +0000 (Fri, 30 Nov 2001) | 3 lines +Changed paths: + M /trunk/atan.c + +nouvelle version de Mathieu Dutour, +corrigeant certains bugs avec les pires cas de Vincent + +------------------------------------------------------------------------ +r1609 | lefevre | 2001-11-30 14:37:25 +0000 (Fri, 30 Nov 2001) | 2 lines +Changed paths: + M /trunk/mpz_set_fr.c + M /trunk/set_d.c + +#include order changed. + +------------------------------------------------------------------------ +r1608 | lefevre | 2001-11-30 14:29:38 +0000 (Fri, 30 Nov 2001) | 2 lines +Changed paths: + M /trunk/set_prec.c + +Misc fixes. + +------------------------------------------------------------------------ +r1607 | lefevre | 2001-11-30 13:44:59 +0000 (Fri, 30 Nov 2001) | 2 lines +Changed paths: + M /trunk/fma.c + +Unused variables. + +------------------------------------------------------------------------ +r1606 | zimmerma | 2001-11-30 13:37:37 +0000 (Fri, 30 Nov 2001) | 2 lines +Changed paths: + M /trunk/tests/tacosh.c + M /trunk/tests/tadd.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/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/teuler.c + M /trunk/tests/texp.c + M /trunk/tests/texp2.c + M /trunk/tests/texpm1.c + M /trunk/tests/tfactorial.c + M /trunk/tests/tfma.c + M /trunk/tests/tget_str.c + M /trunk/tests/thypot.c + M /trunk/tests/tlog.c + M /trunk/tests/tlog1p.c + M /trunk/tests/tlog2.c + M /trunk/tests/tlog_base_10.c + M /trunk/tests/tlog_base_2.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tout_str.c + M /trunk/tests/tpow.c + M /trunk/tests/tpow3.c + M /trunk/tests/tset.c + M /trunk/tests/tset_f.c + M /trunk/tests/tset_si.c + M /trunk/tests/tsin.c + M /trunk/tests/tsinh.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/ttan.c + M /trunk/tests/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 + +start tests with precision 2 instead of 1 + +------------------------------------------------------------------------ +r1605 | zimmerma | 2001-11-30 13:29:57 +0000 (Fri, 30 Nov 2001) | 2 lines +Changed paths: + M /trunk/tests/tabs.c + +start from precision 2 + +------------------------------------------------------------------------ +r1604 | zimmerma | 2001-11-30 13:29:06 +0000 (Fri, 30 Nov 2001) | 2 lines +Changed paths: + M /trunk/get_str.c + +big rewrite to fix problems when the estimate base exponent is too small + +------------------------------------------------------------------------ +r1603 | zimmerma | 2001-11-30 13:28:04 +0000 (Fri, 30 Nov 2001) | 2 lines +Changed paths: + M /trunk/fma.c + +fixed detection of exact cases (in particular 0) + +------------------------------------------------------------------------ +r1602 | zimmerma | 2001-11-30 13:27:30 +0000 (Fri, 30 Nov 2001) | 2 lines +Changed paths: + M /trunk/cos.c + +now use MPFR_PREC_MIN + +------------------------------------------------------------------------ +r1601 | zimmerma | 2001-11-30 13:27:01 +0000 (Fri, 30 Nov 2001) | 2 lines +Changed paths: + M /trunk/atan.c + +exptol is now of type mp_exp_t + +------------------------------------------------------------------------ +r1600 | zimmerma | 2001-11-30 13:26:03 +0000 (Fri, 30 Nov 2001) | 2 lines +Changed paths: + M /trunk/log2.c + +rewritten part with Taylor series + +------------------------------------------------------------------------ +r1599 | zimmerma | 2001-11-30 13:03:07 +0000 (Fri, 30 Nov 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h + +changed MPFR_PREC_MIN to 2 + +------------------------------------------------------------------------ +r1598 | zimmerma | 2001-11-30 13:02:45 +0000 (Fri, 30 Nov 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi + M /trunk/set_prc_raw.c + +updated wrt MPFR_PREC_MIN/MPFR_PREC_MAX + +------------------------------------------------------------------------ +r1597 | zimmerma | 2001-11-30 12:53:16 +0000 (Fri, 30 Nov 2001) | 2 lines +Changed paths: + M /trunk/mpz_set_fr.c + +case x=0 was forgotten + +------------------------------------------------------------------------ +r1596 | zimmerma | 2001-11-30 12:52:07 +0000 (Fri, 30 Nov 2001) | 2 lines +Changed paths: + M /trunk/set_prec.c + +now use MPFR_PREC_MIN + +------------------------------------------------------------------------ +r1595 | zimmerma | 2001-11-30 12:51:26 +0000 (Fri, 30 Nov 2001) | 2 lines +Changed paths: + M /trunk/sub1.c + +added comment + +------------------------------------------------------------------------ +r1594 | lefevre | 2001-11-30 02:41:36 +0000 (Fri, 30 Nov 2001) | 2 lines +Changed paths: + M /trunk/set_z.c + +mpfr_set_z rewritten to support overflows/underflows and ternary value. - * VERSION, mpfr.texi: Update for future 2.0.2. +------------------------------------------------------------------------ +r1593 | lefevre | 2001-11-30 00:10:52 +0000 (Fri, 30 Nov 2001) | 2 lines +Changed paths: + M /trunk/set_z.c - * ChangeLog: Update for mpfr 2.0.1. +0 -> set to +0. - * VERSION, mpfr.texi, README.dev: - Back to version 2.0.1, updated documentation. +------------------------------------------------------------------------ +r1592 | lefevre | 2001-11-30 00:07:36 +0000 (Fri, 30 Nov 2001) | 2 lines +Changed paths: + M /trunk/mul.c - * README.dev, VERSION: Post-release commit. +Better sign comparison. - * ChangeLog: Update for mpfr 2.0.1. +------------------------------------------------------------------------ +r1591 | lefevre | 2001-11-29 23:56:56 +0000 (Thu, 29 Nov 2001) | 2 lines +Changed paths: + M /trunk/set_si.c + M /trunk/set_ui.c - * cmp_ui.c: - mpfr_cmp_ui_2exp and mpfr_cmp_si_2exp can no longer be called with a NaN. - Misc bugs fixed. +Use MPFR_SET_POS. -2002-04-15 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1590 | lefevre | 2001-11-29 14:23:12 +0000 (Thu, 29 Nov 2001) | 2 lines +Changed paths: + M /trunk/trunc.c - * NEWS: added main changes in version 2.0.1 +Bug fixed concerning integer overflows. -2002-04-15 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1589 | zimmerma | 2001-11-29 09:43:55 +0000 (Thu, 29 Nov 2001) | 2 lines +Changed paths: + M /trunk/init2.c - * Makefile.am, README: Update for "make dist". +added comment - * tests/tset_q.c, tests/tset_si.c, tests/tset_str.c, tests/tset_z.c, tests/tsin.c, tests/tsin_cos.c, tests/tsinh.c, tests/tsqrt.c, tests/tsqrt_ui.c, tests/tsub.c, tests/tsub_ui.c, tests/tswap.c, tests/ttan.c, tests/ttanh.c, tests/ttrunc.c, tests/tui_div.c, tests/tui_pow.c, tests/tui_sub.c, tests/tzeta.c, tests/tget_d.c, tests/tget_str.c, tests/thyperbolic.c, tests/thypot.c, tests/tisnan.c, tests/tlog.c, tests/tlog10.c, tests/tlog1p.c, tests/tlog2.c, tests/tmul.c, tests/tmul_2exp.c, tests/tmul_ui.c, tests/tout_str.c, tests/tpow.c, tests/tpow3.c, tests/trandom.c, tests/trint.c, tests/tround_prec.c, tests/tset.c, tests/tset_d.c, tests/tset_f.c, tests/tcan_round.c, tests/tcmp.c, tests/tcmp2.c, tests/tcmp_ui.c, tests/tconst_euler.c, tests/tconst_log2.c, tests/tconst_pi.c, tests/tcos.c, tests/tcosh.c, tests/tdiv.c, tests/tdiv_ui.c, tests/tdump.c, tests/teq.c, tests/texceptions.c, tests/texp.c, tests/texp2.c, tests/texpm1.c, tests/tfactorial.c, tests/tfma.c, tests/tgamma.c, tests/tgeneric.c, tests/tabs.c, tests/tacos.c, tests/tacosh.c, tests/tadd.c, tests/tadd_ui.c, tests/tagm.c, tests/tasin.c, tests/tasinh.c, tests/tatan.c, tests/tatanh.c, tests/reuse.c, ui_sub.c, urandomb.c, zeta.c, sub.c, sub1.c, sub_one_ulp.c, sub_ui.c, swap.c, tan.c, tanh.c, uceil_exp2.c, uceil_log2.c, ufloor_log2.c, ui_div.c, ui_pow.c, ui_pow_ui.c, set_f.c, set_inf.c, set_nan.c, set_prc_raw.c, set_prec.c, set_q.c, set_rnd.c, set_si.c, set_str.c, set_str_raw.c, set_ui.c, set_z.c, sin.c, sin_cos.c, sinh.c, sqrt.c, sqrt_ui.c, mul_2si.c, mul_2ui.c, mul_ui.c, neg.c, out_str.c, pow.c, pow_si.c, pow_ui.c, print_raw.c, print_rnd_mode.c, random.c, random2.c, reldiff.c, rint.c, rnd_mode.c, round_prec.c, save_expo.c, set.c, set_d.c, set_dfl_prec.c, gmp_op.c, hypot.c, init.c, init2.c, inp_str.c, isinf.c, isinteger.c, isnan.c, isnum.c, log.c, log10.c, log1p.c, log2.c, minmax.c, mpf2mpfr.h, mpfi.c, mpfi.h, mpfr-impl.h, mpfr-math.h, mpfr-test.h, mpfr.h, mpfr.texi, mul.c, mul_2exp.c, div.c, div_2exp.c, div_2si.c, div_2ui.c, div_ui.c, dump.c, eq.c, exceptions.c, exp.c, exp2.c, exp3.c, exp_2.c, expm1.c, extract.c, factorial.c, fma.c, gamma.c, gammaPiAGMformula.c, generic.c, get_d.c, get_str.c, get_z_exp.c, add1.c, add_one_ulp.c, add_ui.c, agm.c, asin.c, asinh.c, atan.c, atanh.c, cbrt.c, clear.c, cmp.c, cmp2.c, cmp_abs.c, cmp_ui.c, const_euler.c, const_log2.c, const_pi.c, copysign.c, cos.c, cosh.c, dim.c, COPYING, COPYING.LIB, README, acos.c, acosh.c, add.c: - COPYING -> COPYING.LIB and GPL re-added. +------------------------------------------------------------------------ +r1588 | zimmerma | 2001-11-29 09:43:35 +0000 (Thu, 29 Nov 2001) | 2 lines +Changed paths: + M /trunk/cos.c - * BUGS: Update. +fixed bug for small precision, where r can be >= 1 - * configure.in: Removed switches -g -O2 as already done by configure. +------------------------------------------------------------------------ +r1587 | lefevre | 2001-11-29 03:15:54 +0000 (Thu, 29 Nov 2001) | 4 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/Makefile.in + M /trunk/div_2exp.c + A /trunk/div_2si.c + A /trunk/div_2ui.c + M /trunk/log.c + M /trunk/mpfr.h + M /trunk/mul_2exp.c + A /trunk/mul_2si.c + A /trunk/mul_2ui.c -2002-04-14 Vincent Lefevre <lefevre@greux.loria.fr> +Functions mpfr_{mul,div}_2{si,ui} added. +Functions mpfr_{mul,div}_2exp still exist for backward compatibility; +they are obsolete and should not be used any longer. - * INSTALL: Update. +------------------------------------------------------------------------ +r1586 | lefevre | 2001-11-28 17:57:53 +0000 (Wed, 28 Nov 2001) | 2 lines +Changed paths: + M /trunk/minmax.c - * mpfr.texi: Removed useless @iftex... +Particular cases (NaN and signed zeros). - * TODO: Update. +------------------------------------------------------------------------ +r1585 | lefevre | 2001-11-28 17:12:35 +0000 (Wed, 28 Nov 2001) | 2 lines +Changed paths: + M /trunk/init2.c + M /trunk/tests/texp2.c + M /trunk/tests/thyperbolic.c - * set_q.c: When q = 0, +0 is returned. +Init variables to NaN instead of 0. -2002-04-13 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1584 | lefevre | 2001-11-28 17:09:37 +0000 (Wed, 28 Nov 2001) | 2 lines +Changed paths: + M /trunk/atan.c - * ChangeLog: Update for the next pre-release. +Possible integer overflow fixed. - * tests/tset_str.c, Makefile.am, acinclude.m4, set_str.c, strcasecmp.c: - Support for NaN and Inf (case insensitive) in mpfr_set_str. Tests. +------------------------------------------------------------------------ +r1583 | lefevre | 2001-11-28 16:54:20 +0000 (Wed, 28 Nov 2001) | 2 lines +Changed paths: + M /trunk/asin.c + M /trunk/atan.c - * acinclude.m4: Bug fixed. +Particular cases fixed. + +------------------------------------------------------------------------ +r1582 | lefevre | 2001-11-25 15:24:31 +0000 (Sun, 25 Nov 2001) | 2 lines +Changed paths: + M /trunk/trunc.c + +Overflow support. + +------------------------------------------------------------------------ +r1581 | lefevre | 2001-11-25 14:44:49 +0000 (Sun, 25 Nov 2001) | 2 lines +Changed paths: + M /trunk/trunc.c + +K&R -> ISO C prototype. + +------------------------------------------------------------------------ +r1580 | lefevre | 2001-11-25 08:04:07 +0000 (Sun, 25 Nov 2001) | 2 lines +Changed paths: + M /trunk/div_2exp.c + +mpfr_div_2exp rewritten. + +------------------------------------------------------------------------ +r1579 | lefevre | 2001-11-25 07:49:47 +0000 (Sun, 25 Nov 2001) | 2 lines +Changed paths: + M /trunk/mul_2exp.c + +mpfr_mul_2exp rewritten. + +------------------------------------------------------------------------ +r1578 | lefevre | 2001-11-25 06:53:41 +0000 (Sun, 25 Nov 2001) | 2 lines +Changed paths: + M /trunk/mul_ui.c + +Overflow support. + +------------------------------------------------------------------------ +r1577 | lefevre | 2001-11-25 06:20:35 +0000 (Sun, 25 Nov 2001) | 2 lines +Changed paths: + M /trunk/add1.c + M /trunk/init2.c + M /trunk/mpfr-impl.h + M /trunk/round.c + +Casts to size_t added (safer and could be required in the future). + +------------------------------------------------------------------------ +r1576 | lefevre | 2001-11-23 16:39:25 +0000 (Fri, 23 Nov 2001) | 2 lines +Changed paths: + M /trunk/mul.c + +Minor change. + +------------------------------------------------------------------------ +r1575 | lefevre | 2001-11-23 16:28:08 +0000 (Fri, 23 Nov 2001) | 5 lines +Changed paths: + M /trunk/mul.c + +mpfr_mul partially rewritten: + * Integer overflows almost completely avoided. + * Now supports signed zeros and overflows. +Not tested yet. + +------------------------------------------------------------------------ +r1574 | lefevre | 2001-11-22 17:21:08 +0000 (Thu, 22 Nov 2001) | 2 lines +Changed paths: + M /trunk/round.c + +mpfr_can_round_raw: integer overflows checked and code duplication avoided. + +------------------------------------------------------------------------ +r1573 | lefevre | 2001-11-22 15:32:44 +0000 (Thu, 22 Nov 2001) | 2 lines +Changed paths: + M /trunk/BUGS + +More bugs. + +------------------------------------------------------------------------ +r1572 | lefevre | 2001-11-22 12:48:20 +0000 (Thu, 22 Nov 2001) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/round.c + +mpfr_can_round and mpfr_can_round_raw: prototypes changed. + +------------------------------------------------------------------------ +r1571 | lefevre | 2001-11-21 20:40:47 +0000 (Wed, 21 Nov 2001) | 2 lines +Changed paths: + M /trunk/exceptions.c + +Bug fixed. + +------------------------------------------------------------------------ +r1570 | lefevre | 2001-11-21 20:07:35 +0000 (Wed, 21 Nov 2001) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/Makefile.in + A /trunk/add_one_ulp.c + D /trunk/add_ulp.c + M /trunk/div_ui.c + M /trunk/exp.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/set_z.c + A /trunk/sub_one_ulp.c + M /trunk/tests/tdiv.c + M /trunk/tests/texp.c + M /trunk/tests/tsqrt.c + +mpfr_add_one_ulp and mpfr_sub_one_ulp changed. + +------------------------------------------------------------------------ +r1569 | lefevre | 2001-11-21 15:50:45 +0000 (Wed, 21 Nov 2001) | 2 lines +Changed paths: + M /trunk/init2.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/round.c + M /trunk/set_dfl_prec.c + M /trunk/set_rnd.c + +Added MPFR_PREC_MIN and MPFR_PREC_MAX. + +------------------------------------------------------------------------ +r1568 | lefevre | 2001-11-21 14:06:36 +0000 (Wed, 21 Nov 2001) | 3 lines +Changed paths: + M /trunk/init2.c + +Error test -> assert. +mp_prec_t -> mp_size_t. + +------------------------------------------------------------------------ +r1567 | lefevre | 2001-11-20 14:10:05 +0000 (Tue, 20 Nov 2001) | 2 lines +Changed paths: + M /trunk/tests/tround.c + +Test added. + +------------------------------------------------------------------------ +r1566 | lefevre | 2001-11-20 14:09:55 +0000 (Tue, 20 Nov 2001) | 3 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/round.c + +mpfr_round rewritten. +mpfr_round_raw_generic: NULL changed to 0 as not necessarily defined. + +------------------------------------------------------------------------ +r1565 | lefevre | 2001-11-20 13:41:41 +0000 (Tue, 20 Nov 2001) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +Added macro MPFR_SET_ABSSIZE. + +------------------------------------------------------------------------ +r1564 | lefevre | 2001-11-20 02:17:32 +0000 (Tue, 20 Nov 2001) | 2 lines +Changed paths: + M /trunk/round.c + +mpfr_round: Check for overflow. + +------------------------------------------------------------------------ +r1563 | lefevre | 2001-11-17 03:58:19 +0000 (Sat, 17 Nov 2001) | 2 lines +Changed paths: + M /trunk/sub1.c + +Some type changes. + +------------------------------------------------------------------------ +r1562 | lefevre | 2001-11-16 17:58:50 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/add1.c + M /trunk/mpz_set_fr.c + +Integer overflows checked. + +------------------------------------------------------------------------ +r1561 | lefevre | 2001-11-16 17:16:31 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/mpz_set_fr.c + +MPFR_ASSERTN instead of fprintf + exit. + +------------------------------------------------------------------------ +r1560 | lefevre | 2001-11-16 17:10:30 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +GMP assert mechanism: macros changed until GMP is fixed. + +------------------------------------------------------------------------ +r1559 | zimmerma | 2001-11-16 17:04:15 +0000 (Fri, 16 Nov 2001) | 3 lines +Changed paths: + M /trunk/mpfr.texi + +version -> 2002 +removed executable flag + +------------------------------------------------------------------------ +r1558 | zimmerma | 2001-11-16 14:38:24 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/Makefile.in + M /trunk/exp_2.c + M /trunk/log.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/print_raw.c + M /trunk/sub1.c + M /trunk/tests/tabs.c + M /trunk/tests/tadd.c + M /trunk/tests/tatan.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tcos.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/teq.c + M /trunk/tests/teuler.c + M /trunk/tests/texceptions.c + M /trunk/tests/texp.c + M /trunk/tests/tfactorial.c + M /trunk/tests/tfma.c + M /trunk/tests/tgeneric.c + M /trunk/tests/thypot.c + M /trunk/tests/tlog.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tpow.c + M /trunk/tests/tpow3.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub_ui.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/tzeta.c + +mpfr_print_raw -> mpfr_print_binary + +------------------------------------------------------------------------ +r1557 | zimmerma | 2001-11-16 14:15:57 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + A /trunk/init2.c + +split from init.c + +------------------------------------------------------------------------ +r1556 | daney | 2001-11-16 14:14:10 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/expm1.c + M /trunk/log1p.c + M /trunk/tanh.c + +remove math.h + +------------------------------------------------------------------------ +r1555 | daney | 2001-11-16 14:04:13 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/sinh.c + +remve math.h + +------------------------------------------------------------------------ +r1554 | zimmerma | 2001-11-16 14:04:06 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c + +added one test + +------------------------------------------------------------------------ +r1553 | daney | 2001-11-16 14:00:29 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/atanh.c + +remove math.h + +------------------------------------------------------------------------ +r1552 | zimmerma | 2001-11-16 13:54:55 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/init.c + +init -> init + init2. + +------------------------------------------------------------------------ +r1551 | daney | 2001-11-16 13:54:32 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/acosh.c + M /trunk/asinh.c + +remove math.h + +------------------------------------------------------------------------ +r1550 | hanrot | 2001-11-16 13:27:50 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/div.c + +Ajoute retours chariots dans div.c, etc. + +------------------------------------------------------------------------ +r1549 | hanrot | 2001-11-16 13:23:43 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/div.c + +if () remplace par if ( ==0) ou if ( != 0) + +------------------------------------------------------------------------ +r1548 | zimmerma | 2001-11-16 13:22:13 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/Makefile.in + M /trunk/TODO + M /trunk/add_ui.c + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atanh.c + M /trunk/clear.c + M /trunk/copysign.c + M /trunk/cos.c + M /trunk/cosh.c + M /trunk/dim.c + M /trunk/exp.c + M /trunk/exp2.c + M /trunk/expm1.c + M /trunk/extract.c + M /trunk/factorial.c + M /trunk/fma.c + M /trunk/gmp_op.c + M /trunk/hypot.c + M /trunk/isinteger.c + M /trunk/log1p.c + M /trunk/log2.c + M /trunk/log_base_10.c + M /trunk/log_base_2.c + M /trunk/minmax.c + M /trunk/mul.c + M /trunk/pow.c + M /trunk/pow_si.c + M /trunk/print_raw.c + M /trunk/rnd_mode.c + M /trunk/set_rnd.c + M /trunk/set_str_raw.c + M /trunk/sin.c + M /trunk/sinh.c + M /trunk/sqrt.c + M /trunk/sqrt_ui.c + M /trunk/tan.c + M /trunk/tanh.c + M /trunk/tests/Makefile.in + M /trunk/ui_pow.c + +removed K&R function headers + +------------------------------------------------------------------------ +r1547 | hanrot | 2001-11-16 13:19:50 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c + +Beuh ? + +------------------------------------------------------------------------ +r1546 | hanrot | 2001-11-16 13:19:42 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/div.c + M /trunk/inp_str.c + +return -> MPFR_RET, patch d'un leak dans inp_str.c + +------------------------------------------------------------------------ +r1545 | zimmerma | 2001-11-16 13:09:07 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +changed to use GMP assert mechanism + +------------------------------------------------------------------------ +r1544 | daney | 2001-11-16 12:55:53 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/pow_si.c + +remove stdio.h math.h + +------------------------------------------------------------------------ +r1543 | zimmerma | 2001-11-16 12:54:09 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/cos.c + M /trunk/euler.c + +assert -> MPFR_ASSERT + +------------------------------------------------------------------------ +r1542 | daney | 2001-11-16 12:52:55 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/pow.c + +remove stdio math .h + +------------------------------------------------------------------------ +r1541 | daney | 2001-11-16 12:50:31 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/isinteger.c + +remove stdio.h math.h + +------------------------------------------------------------------------ +r1540 | zimmerma | 2001-11-16 12:49:36 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/mul_ui.c + M /trunk/sub1.c + +ASSERT_ALWAYS -> MPFR_ASSERTN + +------------------------------------------------------------------------ +r1539 | zimmerma | 2001-11-16 12:39:30 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/Makefile.am + +added COPYING.LIB + +------------------------------------------------------------------------ +r1538 | zimmerma | 2001-11-16 12:38:56 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/COPYING + +replaced by GPL + +------------------------------------------------------------------------ +r1537 | daney | 2001-11-16 12:34:00 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/factorial.c + +remove limits.h + +------------------------------------------------------------------------ +r1536 | zimmerma | 2001-11-16 12:32:48 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/acosh.c + M /trunk/add.c + M /trunk/add1.c + M /trunk/add_ui.c + M /trunk/add_ulp.c + M /trunk/agm.c + M /trunk/asin.c + M /trunk/asinh.c + M /trunk/atan.c + M /trunk/atanh.c + M /trunk/clear.c + M /trunk/cmp.c + M /trunk/cmp2.c + M /trunk/cmp_abs.c + M /trunk/cmp_ui.c + M /trunk/copysign.c + M /trunk/cos.c + M /trunk/cosh.c + M /trunk/dim.c + M /trunk/div.c + M /trunk/div_2exp.c + M /trunk/div_ui.c + M /trunk/dump.c + M /trunk/eq.c + M /trunk/euler.c + M /trunk/exceptions.c + M /trunk/exp.c + M /trunk/exp2.c + M /trunk/exp3.c + M /trunk/exp_2.c + M /trunk/expm1.c + M /trunk/extract.c + M /trunk/factorial.c + M /trunk/fma.c + M /trunk/gamma.c + M /trunk/gammaPiAGMformula.c + M /trunk/generic.c + M /trunk/get_str.c + M /trunk/gmp_op.c + M /trunk/hypot.c + M /trunk/init.c + M /trunk/inp_str.c + M /trunk/isinf.c + M /trunk/isinteger.c + M /trunk/isnan.c + M /trunk/isnum.c + M /trunk/log.c + M /trunk/log1p.c + M /trunk/log2.c + M /trunk/log_base_10.c + M /trunk/log_base_2.c + M /trunk/minmax.c + M /trunk/mpf2mpfr.h + M /trunk/mpfi.c + M /trunk/mpfi.h + M /trunk/mpfr-impl.h + M /trunk/mpfr-test.h + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/mpz_set_fr.c + M /trunk/mul.c + M /trunk/mul_2exp.c + M /trunk/mul_ui.c + M /trunk/neg.c + M /trunk/out_str.c + M /trunk/pi.c + M /trunk/pow.c + M /trunk/pow_si.c + M /trunk/pow_ui.c + M /trunk/print_raw.c + M /trunk/print_rnd_mode.c + M /trunk/random.c + M /trunk/random2.c + M /trunk/reldiff.c + M /trunk/rnd_mode.c + M /trunk/round.c + M /trunk/save_expo.c + M /trunk/set.c + M /trunk/set_d.c + M /trunk/set_dfl_prec.c + M /trunk/set_f.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_str.c + M /trunk/set_str_raw.c + M /trunk/set_ui.c + M /trunk/set_z.c + M /trunk/sin.c + M /trunk/sinh.c + M /trunk/sqrt.c + M /trunk/sqrt_ui.c + M /trunk/sqrtrem.c + M /trunk/srandom.h + M /trunk/sub.c + M /trunk/sub1.c + M /trunk/sub_ui.c + M /trunk/swap.c + M /trunk/tan.c + M /trunk/tanh.c + M /trunk/tests/reuse.c + M /trunk/tests/tabs.c + M /trunk/tests/tacosh.c + M /trunk/tests/tadd.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/tcmp.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tcos.c + M /trunk/tests/tcosh.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/tdump.c + M /trunk/tests/teq.c + M /trunk/tests/teuler.c + M /trunk/tests/texceptions.c + M /trunk/tests/texp.c + M /trunk/tests/texp2.c + M /trunk/tests/texpm1.c + M /trunk/tests/tfactorial.c + M /trunk/tests/tfma.c + M /trunk/tests/tgamma.c + M /trunk/tests/tgeneric.c + M /trunk/tests/tget_d.c + M /trunk/tests/tget_str.c + M /trunk/tests/thyperbolic.c + M /trunk/tests/thypot.c + M /trunk/tests/tisnan.c + M /trunk/tests/tlog.c + M /trunk/tests/tlog1p.c + M /trunk/tests/tlog2.c + M /trunk/tests/tlog_base_10.c + M /trunk/tests/tlog_base_2.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tout_str.c + M /trunk/tests/tpi.c + M /trunk/tests/tpow.c + M /trunk/tests/tpow3.c + M /trunk/tests/trandom.c + M /trunk/tests/tround.c + M /trunk/tests/tset.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_f.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsin.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsinh.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tsub.c + M /trunk/tests/tsub_ui.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/tzeta.c + M /trunk/trunc.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/zeta.c + +changed Library GPL to Lesser GPL + +------------------------------------------------------------------------ +r1535 | zimmerma | 2001-11-16 12:31:12 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + A /trunk/COPYING.LIB + +GNU Lesser General Public License, version 2.1 + +------------------------------------------------------------------------ +r1534 | daney | 2001-11-16 12:30:42 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/ui_pow.c + +remove limits.h math.h + +------------------------------------------------------------------------ +r1533 | zimmerma | 2001-11-16 12:27:02 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/replace_all + +now treats all *.h + +------------------------------------------------------------------------ +r1532 | daney | 2001-11-16 12:25:25 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/exp2.c + +remove the proto, remove math.h + +------------------------------------------------------------------------ +r1531 | zimmerma | 2001-11-16 12:21:07 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/div_ui.c + +removed DEBUG's + +------------------------------------------------------------------------ +r1530 | zimmerma | 2001-11-16 12:19:39 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/div_ui.c + +removed old patch for GMP 2.xx + +------------------------------------------------------------------------ +r1529 | zimmerma | 2001-11-16 12:17:56 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/eq.c + M /trunk/swap.c + M /trunk/urandomb.c + +GNU MP -> MPFR + +------------------------------------------------------------------------ +r1528 | zimmerma | 2001-11-16 12:08:08 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/add_ulp.c + +added year 2001 in copyright line + +------------------------------------------------------------------------ +r1527 | zimmerma | 2001-11-16 11:18:52 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/tests/reuse.c + M /trunk/tests/tabs.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tcan_round.c + M /trunk/tests/tcmp.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdump.c + M /trunk/tests/teq.c + M /trunk/tests/texp.c + M /trunk/tests/tget_str.c + M /trunk/tests/thyperbolic.c + M /trunk/tests/tlog.c + M /trunk/tests/tlog2.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tout_str.c + M /trunk/tests/tpi.c + M /trunk/tests/tpow.c + M /trunk/tests/trandom.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_f.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tswap.c + M /trunk/tests/ttrunc.c + M /trunk/tests/tui_div.c + +added year 2001 in copyright line + +------------------------------------------------------------------------ +r1526 | zimmerma | 2001-11-16 11:18:00 +0000 (Fri, 16 Nov 2001) | 3 lines +Changed paths: + M /trunk/acosh.c + M /trunk/cmp.c + M /trunk/cmp_abs.c + M /trunk/cmp_ui.c + M /trunk/div.c + M /trunk/div_2exp.c + M /trunk/dump.c + M /trunk/exp3.c + M /trunk/exp_2.c + M /trunk/get_str.c + M /trunk/init.c + M /trunk/inp_str.c + M /trunk/log.c + M /trunk/log2.c + M /trunk/mpf2mpfr.h + M /trunk/mpfr-impl.h + M /trunk/mpfr-test.h + M /trunk/mpfr.h + M /trunk/mpz_set_fr.c + M /trunk/mul_2exp.c + M /trunk/mul_ui.c + M /trunk/out_str.c + M /trunk/pow_ui.c + M /trunk/print_rnd_mode.c + M /trunk/random.c + M /trunk/random2.c + M /trunk/reldiff.c + M /trunk/round.c + M /trunk/save_expo.c + M /trunk/set.c + M /trunk/set_d.c + M /trunk/set_dfl_prec.c + M /trunk/set_f.c + M /trunk/set_prc_raw.c + M /trunk/set_prec.c + M /trunk/set_q.c + M /trunk/set_str.c + M /trunk/set_z.c + M /trunk/sqrtrem.c + M /trunk/sub_ui.c + M /trunk/trunc.c + M /trunk/ui_div.c + M /trunk/ui_pow_ui.c + M /trunk/ui_sub.c + +added year 2001 in copyright line +removed #if __STDC__ + +------------------------------------------------------------------------ +r1525 | zimmerma | 2001-11-16 11:15:29 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + D /trunk/sin_cos.c + +now two separate files cos.c and sin.c + +------------------------------------------------------------------------ +r1524 | zimmerma | 2001-11-16 10:43:04 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/agm.c + M /trunk/clear.c + M /trunk/pi.c + M /trunk/urandomb.c + +added year 2001 in copyright line + +------------------------------------------------------------------------ +r1523 | zimmerma | 2001-11-16 10:38:25 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/BUGS + +updated + +------------------------------------------------------------------------ +r1522 | zimmerma | 2001-11-16 10:26:46 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + D /trunk/div2.c + +old version, removed + +------------------------------------------------------------------------ +r1521 | zimmerma | 2001-11-16 10:16:37 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/Makefile.am + +added isinf and isnum (split from isnan) + +------------------------------------------------------------------------ +r1520 | zimmerma | 2001-11-16 10:16:21 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + A /trunk/isinf.c + A /trunk/isnum.c + +new files (split from isnan.c) + +------------------------------------------------------------------------ +r1519 | zimmerma | 2001-11-16 10:14:44 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/acosh.c + M /trunk/asinh.c + M /trunk/atanh.c + M /trunk/copysign.c + M /trunk/cosh.c + +removed prototype already in mpfr.h + +------------------------------------------------------------------------ +r1518 | zimmerma | 2001-11-16 10:14:27 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/agm.c + +translated french comments to english + +------------------------------------------------------------------------ +r1517 | zimmerma | 2001-11-16 10:14:08 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/algorithms.tex + +added mpfr_sub + +------------------------------------------------------------------------ +r1516 | zimmerma | 2001-11-16 10:13:12 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/atan.c + M /trunk/cos.c + M /trunk/exp_2.c + +added static to local functions + +------------------------------------------------------------------------ +r1515 | zimmerma | 2001-11-16 10:12:42 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/cmp2.c - * ChangeLog: Update for the next pre-release. +1 -> MP_LIMB_T_ONE - * acinclude.m4, configure.in: Misc changes. Use of AC_CACHE_CHECK. +------------------------------------------------------------------------ +r1514 | zimmerma | 2001-11-16 10:11:20 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/div.c + M /trunk/div_ui.c -2002-04-12 Vincent Lefevre <lefevre@greux.loria.fr> +1 -> BITS_PER_MP_LIMB - * tests/tconst_log2.c, tests/texp.c, exp3.c, exp_2.c, mpfr-impl.h, exp.c: - Code clean-up. +------------------------------------------------------------------------ +r1513 | zimmerma | 2001-11-16 10:10:48 +0000 (Fri, 16 Nov 2001) | 3 lines +Changed paths: + M /trunk/euler.c - * ChangeLog: Update for the next pre-release. +added static to local functions +removed prototype already in mpfr.h - * tests/tget_d.c: New tests. +------------------------------------------------------------------------ +r1512 | zimmerma | 2001-11-16 10:10:29 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/exp2.c - * BUGS, get_d.c: mpfr_get_d* fixed. +removed mpfr_exp2_si (not used) - * INSTALL, const_log2.c: - Types fixed in const_log2.c (this fixes the tconst_log2 crash). +------------------------------------------------------------------------ +r1511 | zimmerma | 2001-11-16 10:10:07 +0000 (Fri, 16 Nov 2001) | 3 lines +Changed paths: + M /trunk/exp3.c - * README.dev: Added a note about the native SunOS 4 C compiler. +added static to local functions +translated french comments to english -2002-04-11 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1510 | zimmerma | 2001-11-16 10:09:29 +0000 (Fri, 16 Nov 2001) | 3 lines +Changed paths: + M /trunk/expm1.c + M /trunk/log1p.c - * tests/tconst_log2.c: Type fixed. +translated french comments to english +removed prototype already in mpfr.h - * set_d.c, BUGS: mpfr_set_d bug fixed, but other bugs still remain... +------------------------------------------------------------------------ +r1509 | zimmerma | 2001-11-16 10:09:09 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/factorial.c + +initialized inexact to 0 - * print_rnd_mode.c: - NULL was undeclared on some architectures (reported by Torbjorn Granlund). +------------------------------------------------------------------------ +r1508 | zimmerma | 2001-11-16 10:08:47 +0000 (Fri, 16 Nov 2001) | 3 lines +Changed paths: + M /trunk/generic.c + +used TMP_ALLOC +translated french comments to english + +------------------------------------------------------------------------ +r1507 | zimmerma | 2001-11-16 10:08:18 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/get_str.c + +simplified test + +------------------------------------------------------------------------ +r1506 | zimmerma | 2001-11-16 10:08:04 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/isnan.c - * configure.in: LDFLAGS changed on HP-UX. +moved inf_p and number_p to different files + +------------------------------------------------------------------------ +r1505 | zimmerma | 2001-11-16 10:06:38 +0000 (Fri, 16 Nov 2001) | 3 lines +Changed paths: + M /trunk/log2.c + +added static to local functions +explained threshold + +------------------------------------------------------------------------ +r1504 | zimmerma | 2001-11-16 10:06:03 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/minmax.c - * ChangeLog: Update for the next pre-release. +removed prototypes already in mpfr.h + +------------------------------------------------------------------------ +r1503 | zimmerma | 2001-11-16 10:05:45 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h - * tests/tget_d.c: Subnormal test in different rounding modes + fix. +does not include stdio.h any more - * acinclude.m4, configure.in: Function MPFR_CONFIGS. +------------------------------------------------------------------------ +r1502 | zimmerma | 2001-11-16 10:05:01 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/mpz_set_fr.c + +added stdio.h + +------------------------------------------------------------------------ +r1501 | zimmerma | 2001-11-16 10:04:07 +0000 (Fri, 16 Nov 2001) | 3 lines +Changed paths: + M /trunk/add_ulp.c + M /trunk/mul.c + M /trunk/mul_ui.c + M /trunk/print_raw.c + M /trunk/round.c + M /trunk/set_z.c + M /trunk/sqrt.c + M /trunk/trunc.c + +1 -> BITS_PER_MP_LIMB +1 << (BITS_PER_MP_LIMB - 1) -> MP_LIMB_T_HIGHBIT + +------------------------------------------------------------------------ +r1500 | zimmerma | 2001-11-16 09:40:02 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/out_str.c + M /trunk/reldiff.c + +removed french comment + +------------------------------------------------------------------------ +r1499 | zimmerma | 2001-11-16 09:39:45 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/pi.c + +added static to local functions + +------------------------------------------------------------------------ +r1498 | zimmerma | 2001-11-16 09:39:26 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/pow_si.c + M /trunk/sinh.c + M /trunk/tanh.c + +removed prototype already in mpfr.h + +------------------------------------------------------------------------ +r1497 | zimmerma | 2001-11-16 09:39:11 +0000 (Fri, 16 Nov 2001) | 4 lines +Changed paths: + M /trunk/print_raw.c + +1 -> BITS_PER_MP_LIMB +translated french comments to english +added static to local functions + +------------------------------------------------------------------------ +r1496 | zimmerma | 2001-11-16 09:38:47 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/random.c + M /trunk/random2.c + M /trunk/set_z.c + M /trunk/sqrt.c + M /trunk/sub1.c + M /trunk/trunc.c + +1 -> BITS_PER_MP_LIMB + +------------------------------------------------------------------------ +r1495 | zimmerma | 2001-11-16 09:37:52 +0000 (Fri, 16 Nov 2001) | 3 lines +Changed paths: + M /trunk/round.c + +1 -> BITS_PER_MP_LIMB +translated french comments to english + +------------------------------------------------------------------------ +r1494 | zimmerma | 2001-11-16 09:37:15 +0000 (Fri, 16 Nov 2001) | 3 lines +Changed paths: + M /trunk/set_d.c + M /trunk/sqrtrem.c + +1 -> BITS_PER_MP_LIMB +added static to local functions + +------------------------------------------------------------------------ +r1493 | zimmerma | 2001-11-16 09:33:57 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/ui_pow.c + +removed proto already in mpfr.h + +------------------------------------------------------------------------ +r1492 | zimmerma | 2001-11-16 09:33:33 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/urandomb.c + +1 -> MP_LIMB_T_ONE + +------------------------------------------------------------------------ +r1491 | zimmerma | 2001-11-16 09:32:45 +0000 (Fri, 16 Nov 2001) | 2 lines +Changed paths: + M /trunk/tests/reuse.c + M /trunk/tests/tcos.c + M /trunk/tests/tdump.c + M /trunk/tests/teuler.c + M /trunk/tests/texp.c + M /trunk/tests/tlog2.c + M /trunk/tests/tpi.c + M /trunk/tests/tpow.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsin.c + M /trunk/tests/tswap.c + M /trunk/tests/ttan.c + +added stdio.h + +------------------------------------------------------------------------ +r1490 | lefevre | 2001-11-15 18:11:07 +0000 (Thu, 15 Nov 2001) | 3 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/Makefile.in + M /trunk/add.c + A /trunk/add1.c + M /trunk/sub.c + A /trunk/sub1.c + +add.c -> add.c & add1.c +sub.c -> sub.c & sub1.c + some changes. + +------------------------------------------------------------------------ +r1489 | zimmerma | 2001-11-13 09:33:07 +0000 (Tue, 13 Nov 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +iff the results are exact -> iff the result is exact + +------------------------------------------------------------------------ +r1488 | lefevre | 2001-11-10 01:45:36 +0000 (Sat, 10 Nov 2001) | 2 lines +Changed paths: + M /trunk/add.c + M /trunk/cmp.c + M /trunk/cmp_abs.c + M /trunk/exceptions.c + M /trunk/neg.c + M /trunk/round.c + M /trunk/save_expo.c + M /trunk/set.c + M /trunk/set_si.c + M /trunk/set_ui.c + +GNU coding style. K&R function headers removed. + +------------------------------------------------------------------------ +r1487 | lefevre | 2001-11-10 00:47:44 +0000 (Sat, 10 Nov 2001) | 5 lines +Changed paths: + M /trunk/mpfr-impl.h + +MP_LIMB_T_ONE defined. +mp_size_unsigned_t defined. +Important bugs fixed (in particular when int has fewer than 32 bits). +Still unavoidable possible bugs due to the fact that mp_size_t is signed. + +------------------------------------------------------------------------ +r1486 | daney | 2001-11-09 11:24:05 +0000 (Fri, 09 Nov 2001) | 2 lines +Changed paths: + A /trunk/tests/tgamma.c + +add tests file for gamma + +------------------------------------------------------------------------ +r1485 | daney | 2001-11-09 11:23:33 +0000 (Fri, 09 Nov 2001) | 2 lines +Changed paths: + A /trunk/gammaPiAGMformula.c + +add gamma function an other version + +------------------------------------------------------------------------ +r1484 | daney | 2001-11-09 11:23:04 +0000 (Fri, 09 Nov 2001) | 2 lines +Changed paths: + A /trunk/gamma.c + +add gamma function + +------------------------------------------------------------------------ +r1483 | zimmerma | 2001-11-09 06:24:52 +0000 (Fri, 09 Nov 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +mis a` jour valeur de retour de mpfr_tan + +------------------------------------------------------------------------ +r1482 | lefevre | 2001-11-09 01:38:45 +0000 (Fri, 09 Nov 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +Some -'s missing in floating-point. + +------------------------------------------------------------------------ +r1481 | zimmerma | 2001-11-08 23:15:59 +0000 (Thu, 08 Nov 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +modifs suite aux remarques de Nathalie + +------------------------------------------------------------------------ +r1480 | daney | 2001-11-08 17:48:33 +0000 (Thu, 08 Nov 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h - * tests/tget_d.c: Tests added. +remove some name of variables - * BUGS, get_d.c: get_d.c partly rewritten (Paul Zimmermann). +------------------------------------------------------------------------ +r1479 | lefevre | 2001-11-08 17:14:01 +0000 (Thu, 08 Nov 2001) | 2 lines +Changed paths: + M /trunk/cmp2.c + D /trunk/pow2.c - * configure.in: Check for gcc float-conversion bug. +cmp2.c: Integer overflows checked. -2002-04-10 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1478 | lefevre | 2001-11-08 17:11:36 +0000 (Thu, 08 Nov 2001) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/Makefile.in + M /trunk/isinteger.c + M /trunk/mpfr.h + M /trunk/pow.c - * round_prec.c: - Added comment for mpfr_round_raw_generic (about using 1-bit precision). +Update. - * mpfr.texi: Update (thanks to Nathalie Revol). +------------------------------------------------------------------------ +r1477 | lefevre | 2001-11-08 16:42:30 +0000 (Thu, 08 Nov 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h - * ChangeLog: Update for the next pre-release. +Fix. - * tests/tsqrt.c, tests/tsqrt_ui.c, tests/tsub_ui.c, tests/tui_div.c, tests/tui_sub.c, tests/tadd.c, tests/tadd_ui.c, tests/tagm.c, tests/tdiv.c, tests/tdiv_ui.c, tests/texp.c, tests/tget_d.c, tests/tget_str.c, tests/tlog.c, tests/tmul.c, tests/tset_q.c, rnd_mode.c, configure.in: - HAVE_FESETROUND renamed to MPFR_HAVE_FESETROUND to avoid possible - name conflict. +------------------------------------------------------------------------ +r1476 | daney | 2001-11-08 16:37:47 +0000 (Thu, 08 Nov 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h - * Makefile.am, srandom.h: Added missing headers in libmpfr_a_SOURCES. +suppress variable name in dim min max -2002-04-09 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1475 | daney | 2001-11-08 16:23:29 +0000 (Thu, 08 Nov 2001) | 2 lines +Changed paths: + A /trunk/isinteger.c - * ChangeLog: Update for the next pre-release. +export isinteger in the file isinteger.c - * INSTALL: Possible tconst_log2 crash under Solaris. +------------------------------------------------------------------------ +r1474 | daney | 2001-11-08 16:21:56 +0000 (Thu, 08 Nov 2001) | 2 lines +Changed paths: + A /trunk/pow_si.c - * configure.in: - Under OSF, use option -ffloat-store only when the compiler is gcc. +exporte pow_si from pow2.c to pow_si.c - * Makefile.am: - include_HEADERS should contain only mpfr.h and mpf2mpfr.h. +------------------------------------------------------------------------ +r1473 | daney | 2001-11-08 16:21:06 +0000 (Thu, 08 Nov 2001) | 2 lines +Changed paths: + M /trunk/pow.c - * configure.in: Added code to support fesetround under Solaris. +rename pow2.c in pow.c (source for mpfr_pow) - * INSTALL: "In case of problem" update. +------------------------------------------------------------------------ +r1472 | daney | 2001-11-08 16:19:49 +0000 (Thu, 08 Nov 2001) | 2 lines +Changed paths: + A /trunk/ui_pow_ui.c - * INSTALL: Old URL removed. +add ui_pow_ui.c (initially in pow.c) - * INSTALL: - Renaming: DIR -> GMPINSTALL, GMPDIR -> GMPBUILD. Bug on IRIX updated. +------------------------------------------------------------------------ +r1471 | daney | 2001-11-08 16:19:18 +0000 (Thu, 08 Nov 2001) | 2 lines +Changed paths: + A /trunk/pow_ui.c - * INSTALL: Removed note about stack-alloc.h. +add pow_ui.c file (initially in pow.c) - * tests/tui_div.c, tests/tui_sub.c, tests/tadd.c, tests/tadd_ui.c, tests/tagm.c, tests/tdiv.c, tests/tdiv_ui.c, tests/texp.c, tests/tget_d.c, tests/tget_str.c, tests/tlog.c, tests/tmul.c, tests/tset_q.c, tests/tsqrt.c, tests/tsqrt_ui.c, tests/tsub_ui.c, configure.in, rnd_mode.c: - Check for fenv.h -> check for fesetround. +------------------------------------------------------------------------ +r1470 | lefevre | 2001-11-08 15:56:09 +0000 (Thu, 08 Nov 2001) | 2 lines +Changed paths: + M /trunk/cmp2.c + M /trunk/mpfr-impl.h - * README.dev: Added note concerning patch submission. +mpfr_cmp2: return type changed to mp_prec_t. -2002-04-08 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1469 | daney | 2001-11-08 14:53:54 +0000 (Thu, 08 Nov 2001) | 2 lines +Changed paths: + M /trunk/tests/reuse.c - * mpfr.texi: - Note about overflows. Functions mpfr_{div,mul}_{si,ui} described. +add function test4 for 3 input test + fma tests -2002-04-07 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1468 | lefevre | 2001-11-08 03:04:00 +0000 (Thu, 08 Nov 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h - * ChangeLog: Update for the next (and last?) pre-release. +Macros added. - * configure.in: Stricter test for HAVE_INFS. +------------------------------------------------------------------------ +r1467 | lefevre | 2001-11-08 02:15:36 +0000 (Thu, 08 Nov 2001) | 2 lines +Changed paths: + M /trunk/add.c - * BUGS: Update. +MP_LIMB_T_MAX instead of (mp_limb_t) -1 (a little nicer...). - * INSTALL: Added note about IRIX. +------------------------------------------------------------------------ +r1466 | lefevre | 2001-11-06 17:05:41 +0000 (Tue, 06 Nov 2001) | 2 lines +Changed paths: + M /trunk/round.c - * ChangeLog: Update for the next pre-release. +Code clean-up. - * tests/tzeta.c, tests/tlog10.c, tests/tmul.c, tests/tmul_2exp.c, tests/tmul_ui.c, tests/trandom.c, tests/tround_prec.c, tests/tset_d.c, tests/tset_q.c, tests/tset_si.c, tests/tset_str.c, tests/tset_z.c, tests/tsin.c, tests/tsin_cos.c, tests/tsqrt.c, tests/tsqrt_ui.c, tests/tsub.c, tests/tsub_ui.c, tests/tswap.c, tests/ttan.c, tests/ttrunc.c, tests/tui_div.c, tests/tui_sub.c, tests/reuse.c, tests/tabs.c, tests/tadd.c, tests/tadd_ui.c, tests/tagm.c, tests/tasin.c, tests/tcmp_ui.c, tests/tconst_log2.c, tests/tconst_pi.c, tests/tcos.c, tests/tdiv.c, tests/tdiv_ui.c, tests/texp.c, tests/texp2.c, tests/tfma.c, tests/tget_d.c, tests/tlog.c, mpf2mpfr.h, mpfr.h, mpfr.texi, zeta.c, agm.c, exp.c, exp_2.c, get_d.c, log.c, log10.c: - mpfr_get_d -> mpfr_get_d1 and mpfr_get_d2 -> mpfr_get_d. +------------------------------------------------------------------------ +r1465 | lefevre | 2001-11-05 15:44:24 +0000 (Mon, 05 Nov 2001) | 2 lines +Changed paths: + M /trunk/exceptions.c -2002-04-06 Vincent Lefevre <lefevre@greux.loria.fr> +Prototypes for K&R C. - * ChangeLog: Update for the next pre-release. +------------------------------------------------------------------------ +r1464 | lefevre | 2001-11-05 09:58:14 +0000 (Mon, 05 Nov 2001) | 2 lines +Changed paths: + M /trunk/round.c - * INSTALL: Update. +mpfr_round_raw_generic prototype fixed. -2002-04-05 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1463 | daney | 2001-11-01 14:15:23 +0000 (Thu, 01 Nov 2001) | 2 lines +Changed paths: + M /trunk/asin.c - * INSTALL: New file from Paul. +clear xp for Nan Inf or 0 are returned - * Makefile.am: COPYING.LIB removed. +------------------------------------------------------------------------ +r1462 | daney | 2001-11-01 14:11:48 +0000 (Thu, 01 Nov 2001) | 2 lines +Changed paths: + M /trunk/tests/thyperbolic.c - * tests/tui_pow.c, tests/tui_sub.c, tests/tzeta.c, tests/trint.c, tests/tround_prec.c, tests/tset.c, tests/tset_d.c, tests/tset_f.c, tests/tset_q.c, tests/tset_si.c, tests/tset_str.c, tests/tset_z.c, tests/tsin.c, tests/tsin_cos.c, tests/tsinh.c, tests/tsqrt.c, tests/tsqrt_ui.c, tests/tsub.c, tests/tsub_ui.c, tests/tswap.c, tests/ttan.c, tests/ttanh.c, tests/ttrunc.c, tests/tui_div.c, tests/tdiv_ui.c, tests/tdump.c, tests/teq.c, tests/texceptions.c, tests/texp.c, tests/texp2.c, tests/texpm1.c, tests/tfactorial.c, tests/tfma.c, tests/tgamma.c, tests/tgeneric.c, tests/tget_d.c, tests/tget_str.c, tests/thyperbolic.c, tests/thypot.c, tests/tisnan.c, tests/tlog.c, tests/tlog10.c, tests/tlog1p.c, tests/tlog2.c, tests/tmul.c, tests/tmul_2exp.c, tests/tmul_ui.c, tests/tout_str.c, tests/tpow.c, tests/tpow3.c, tests/trandom.c, tests/tacos.c, tests/tacosh.c, tests/tadd.c, tests/tadd_ui.c, tests/tagm.c, tests/tasin.c, tests/tasinh.c, tests/tatan.c, tests/tatanh.c, tests/tcan_round.c, tests/tcmp.c, tests/tcmp2.c, tests/tcmp_ui.c, tests/tconst_euler.c, tests/tconst_log2.c, tests/tconst_pi.c, tests/tcos.c, tests/tcosh.c, tests/tdiv.c, tests/reuse.c, tests/tabs.c, tanh.c, uceil_exp2.c, uceil_log2.c, ufloor_log2.c, ui_div.c, ui_pow.c, ui_pow_ui.c, ui_sub.c, urandomb.c, zeta.c, set_prec.c, set_q.c, set_rnd.c, set_si.c, set_str.c, set_str_raw.c, set_ui.c, set_z.c, sin.c, sin_cos.c, sinh.c, sqrt.c, sqrt_ui.c, srandom.h, sub.c, sub1.c, sub_one_ulp.c, sub_ui.c, swap.c, tan.c, out_str.c, pow.c, pow_si.c, pow_ui.c, print_raw.c, print_rnd_mode.c, random.c, random2.c, reldiff.c, rint.c, rnd_mode.c, round_prec.c, save_expo.c, set.c, set_d.c, set_dfl_prec.c, set_f.c, set_inf.c, set_nan.c, set_prc_raw.c, init.c, init2.c, inp_str.c, isinf.c, isinteger.c, isnan.c, isnum.c, log.c, log10.c, log1p.c, log2.c, minmax.c, mpf2mpfr.h, mpfi.c, mpfi.h, mpfr-impl.h, mpfr-math.h, mpfr-test.h, mpfr.h, mul.c, mul_2exp.c, mul_2si.c, mul_2ui.c, mul_ui.c, neg.c, dim.c, div.c, div_2exp.c, div_2si.c, div_2ui.c, div_ui.c, dump.c, eq.c, exceptions.c, exp.c, exp2.c, exp3.c, exp_2.c, expm1.c, extract.c, factorial.c, fma.c, gamma.c, gammaPiAGMformula.c, generic.c, get_d.c, get_str.c, get_z_exp.c, gmp_op.c, hypot.c, add.c, add1.c, add_one_ulp.c, add_ui.c, agm.c, asin.c, asinh.c, atan.c, atanh.c, cbrt.c, clear.c, cmp.c, cmp2.c, cmp_abs.c, cmp_ui.c, const_euler.c, const_log2.c, const_pi.c, copysign.c, cos.c, cosh.c, COPYING, COPYING.LIB, acos.c, acosh.c: - COPYING.LIB -> COPYING. +clear variable if an error is return - * README, README.dev: README.dev added. +------------------------------------------------------------------------ +r1461 | daney | 2001-11-01 14:10:50 +0000 (Thu, 01 Nov 2001) | 2 lines +Changed paths: + M /trunk/atanh.c -2002-04-05 Paul Zimmermann <zimmerma@greux.loria.fr> +clear x for Nan inf 0 return - * sqrt.c: put back label removed by error +------------------------------------------------------------------------ +r1460 | daney | 2001-11-01 14:10:10 +0000 (Thu, 01 Nov 2001) | 2 lines +Changed paths: + M /trunk/asinh.c - * mpfr-test.h: - removed _FPU_RC_NEAREST ... for x86 (not used any more, now use fenv.h) +clear x for Nan Inf 0 return - * agm.c, sqrt.c: - removed nested TMP_MARK's (problems when configuring gmp with --disable-alloca) +------------------------------------------------------------------------ +r1459 | daney | 2001-11-01 14:05:15 +0000 (Thu, 01 Nov 2001) | 2 lines +Changed paths: + M /trunk/expm1.c - * agm.c: fixed pb with two markers (with --disable-alloca) +clear te -2002-04-05 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1458 | lefevre | 2001-11-01 12:20:32 +0000 (Thu, 01 Nov 2001) | 2 lines +Changed paths: + M /trunk/tests/tpow.c - * shortmul.c: Removed (not used). +Added prototype. -2002-04-05 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1457 | lefevre | 2001-11-01 11:53:58 +0000 (Thu, 01 Nov 2001) | 2 lines +Changed paths: + M /trunk/add.c - * tests/tsqrt.c, tests/tsqrt_ui.c, tests/tsub_ui.c, tests/tui_div.c, tests/tui_sub.c, tests/tadd.c, tests/tadd_ui.c, tests/tagm.c, tests/tdiv.c, tests/tdiv_ui.c, tests/texp.c, tests/tget_d.c, tests/tget_str.c, tests/tlog.c, tests/tmul.c, tests/tset_q.c, configure.in, mpfr-test.h, rnd_mode.c: - use AC_CHECK_HEADERS to check for fenv.h - and AC_CHECK_FUNCS to check for lrand48 +Bug fixed. -2002-04-04 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1456 | zimmerma | 2001-11-01 10:05:27 +0000 (Thu, 01 Nov 2001) | 2 lines +Changed paths: + M /trunk/tests/tfma.c - * README: Added "VERSION" and "prepare" descriptions. +fixed MLK's -2002-04-04 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1455 | zimmerma | 2001-11-01 09:44:03 +0000 (Thu, 01 Nov 2001) | 2 lines +Changed paths: + M /trunk/pow2.c - * mpfr.texi: fixed bugs found by Nathalie +fixed MLK's in mpfr_isinteger -2002-04-04 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1454 | zimmerma | 2001-11-01 09:43:32 +0000 (Thu, 01 Nov 2001) | 2 lines +Changed paths: + M /trunk/tests/tpow3.c - * ChangeLog: Update for the next pre-release. +fixed MLK's - * configure.in: - Removed check for extended precision, as no longer used. +------------------------------------------------------------------------ +r1453 | zimmerma | 2001-11-01 09:04:19 +0000 (Thu, 01 Nov 2001) | 2 lines +Changed paths: + M /trunk/tests/tui_pow.c -2002-04-04 Paul Zimmermann <zimmerma@greux.loria.fr> +fixed missing mpfr_clear's - * tests/tget_d.c: added check for denormalized numbers +------------------------------------------------------------------------ +r1452 | zimmerma | 2001-11-01 08:02:00 +0000 (Thu, 01 Nov 2001) | 2 lines +Changed paths: + M /trunk/tests/tsin.c - * TODO: added new functions to implement +added missing mpfr_clear -2002-04-03 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1451 | zimmerma | 2001-11-01 07:20:30 +0000 (Thu, 01 Nov 2001) | 2 lines +Changed paths: + M /trunk/tests/tsub.c - * ChangeLog: Update for the next pre-release. +added clear's in bug_ddefour - * configure.in: -ffloat-store is a gcc option. +------------------------------------------------------------------------ +r1450 | zimmerma | 2001-11-01 00:42:47 +0000 (Thu, 01 Nov 2001) | 2 lines +Changed paths: + M /trunk/tests/tgeneric.c - * configure.in: Added 4th argument to AC_TRY_RUN. +added mpfr_clear's - * configure.in: Re-fix. +------------------------------------------------------------------------ +r1449 | zimmerma | 2001-11-01 00:10:46 +0000 (Thu, 01 Nov 2001) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c -2002-04-03 Paul Zimmermann <zimmerma@greux.loria.fr> +fixed MLK's - * configure.in, mpfr-test.h: added check for fpu_control.h +------------------------------------------------------------------------ +r1448 | zimmerma | 2001-10-31 23:12:41 +0000 (Wed, 31 Oct 2001) | 2 lines +Changed paths: + M /trunk/set_str_raw.c - * tests/tadd.c: added missing cast to double +fixed MLK for Inf or Nan -2002-04-02 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1447 | zimmerma | 2001-10-31 22:52:06 +0000 (Wed, 31 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * configure.in: [ ] used around error message. +fixed MLK in check_case_2 - * ChangeLog: Update. +------------------------------------------------------------------------ +r1446 | daney | 2001-10-31 10:16:21 +0000 (Wed, 31 Oct 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * configure.in: Check BITS_PER_MP_LIMB and BYTES_PER_MP_LIMB. +rename factorial -> fac_ui - * sqrtrem.c, Makefile.am, mpfr-impl.h: sqrtrem.c removed. +------------------------------------------------------------------------ +r1445 | rouillie | 2001-10-30 15:26:27 +0000 (Tue, 30 Oct 2001) | 4 lines +Changed paths: + M /trunk/Makefile.in + M /trunk/gmp_op.c + M /trunk/mpfr.h + M /trunk/tests/Makefile.in - * ChangeLog: New ChangeLog file (generated by rcs2log). +Change mpfr_<op>_mpz to mpfr_<op>_z +Change mpfr_<op>_mpq to mpfr_<op>_q +where <op> is mul,div,add,sub - * configure.in: - Suppress PACKAGE and VERSION definitions for the compiler. +------------------------------------------------------------------------ +r1444 | daney | 2001-10-30 10:30:48 +0000 (Tue, 30 Oct 2001) | 2 lines +Changed paths: + M /trunk/factorial.c -2002-04-01 Paul Zimmermann <zimmerma@greux.loria.fr> +correct factorial -> fac_ui in comments - * Configure: old file +------------------------------------------------------------------------ +r1443 | daney | 2001-10-30 10:24:08 +0000 (Tue, 30 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tfactorial.c -2002-03-31 Paul Zimmermann <zimmerma@greux.loria.fr> +rename tfactorial -> fac_ui - * mpfr.texi: more "internal" changes suggested by Vincent +------------------------------------------------------------------------ +r1442 | daney | 2001-10-30 10:23:25 +0000 (Tue, 30 Oct 2001) | 2 lines +Changed paths: + M /trunk/factorial.c + M /trunk/mpfr.h - * mpfr.texi: added suggestions from Kevin in "internals" +rename factorial -> fac_ui -2002-03-28 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1441 | lefevre | 2001-10-27 11:16:02 +0000 (Sat, 27 Oct 2001) | 2 lines +Changed paths: + M /trunk/add.c - * tests/tset_d.c: added test for denorms +Bug fixed. - * set_d.c: - on a 32-bit machine, denormalized numbers with high 32 bits to 0 - were flushed to zero +------------------------------------------------------------------------ +r1440 | zimmerma | 2001-10-26 16:01:03 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tadd_ui.c + M /trunk/tests/tsub_ui.c -2002-03-27 Paul Zimmermann <zimmerma@greux.loria.fr> +drand -> drand48 - * asin.c: sign of sin(-1) was not set +------------------------------------------------------------------------ +r1439 | zimmerma | 2001-10-26 15:49:21 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c - * tests/tasin.c: added check for asin(-1) +put MAX_PREC back to 100 - * tests/texp2.c: added one test +------------------------------------------------------------------------ +r1438 | zimmerma | 2001-10-26 15:46:37 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tpow.c - * exp2.c: previous fix was completely wrong +added test for inexact flag - * cmp_ui.c: - fixed pb in cmp_si when i = -2^31 (then beware that -1 * i < 0 !!!) +------------------------------------------------------------------------ +r1437 | zimmerma | 2001-10-26 15:45:42 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/div_ui.c - * exp2.c: added check for underflow +use MPFR_RET_NAN and MPFR_RET -2002-03-26 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1436 | zimmerma | 2001-10-26 15:42:23 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/div.c - * tests/tsqrt_ui.c, tests/tsub_ui.c, tests/ttan.c, tests/tui_div.c, tests/tui_sub.c, tests/Makefile.in, tests/tabs.c, tests/tadd.c, tests/tadd_ui.c, tests/tagm.c, tests/tcmp2.c, tests/tcos.c, tests/tdiv.c, tests/tdiv_ui.c, tests/texp.c, tests/tfma.c, tests/tget_d.c, tests/tget_str.c, tests/tlog.c, tests/tmul.c, tests/tmul_ui.c, tests/tpow.c, tests/tset_d.c, tests/tset_q.c, tests/tsin.c, tests/tsin_cos.c, tests/tsqrt.c: - - use mpfr_test_init to initialize harware floats - - use #ifdef HAVE_INFS when using DBL_NAN, ... - - fixed some problems with wrongly converted f-p values (esp. under IRIX) +removed MPFR_DEBUG_LEVEL definition - * configure.in: use AC_TRY_CPP instead of AC_TRY_RUN for fenv.h - (otherwise fails on Itanium) +------------------------------------------------------------------------ +r1435 | zimmerma | 2001-10-26 15:39:21 +0000 (Fri, 26 Oct 2001) | 5 lines +Changed paths: + M /trunk/mpfr.texi - * mpfr-test.h: - added function mpfr_test_init to initialize full IEEE behaviour +mpfr_set_q and mpfr_abs now return an int +mpfr_pow_ui and mpfr_ui_pow_ui now implement exact rounding +updated the documentation of the mpfr_*pow* functions +removed some internal functions - * fma.c: put back simple algorithm that computes x*y exactly and then - directly calls mpfr_add, to avoid wrong inexact flags +------------------------------------------------------------------------ +r1434 | zimmerma | 2001-10-26 15:32:23 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/pow.c - * tests/tset_si.c, tests/tset_q.c: added 2002 in copyright line +implemented exact rounding (but no ternary flag) - * tests/tget_d.c: - fixed problem on x86 (set precision to double to avoid double rounding) +------------------------------------------------------------------------ +r1433 | daney | 2001-10-26 15:31:42 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/hypot.c - * tests/tdump.c: added 2002 in copyright line +add some flags - * configure.in: - added check for valid 1/0, denormalized, and extended precision +------------------------------------------------------------------------ +r1432 | daney | 2001-10-26 15:29:28 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/fma.c -2002-03-26 Vincent Lefevre <lefevre@greux.loria.fr> +mixed version beetwen DD and Pau => (gestion des flag inexacte dirige) - * tests/tget_d.c: New-style comment removed. +------------------------------------------------------------------------ +r1431 | daney | 2001-10-26 15:28:31 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tfma.c -2002-03-26 Paul Zimmermann <zimmerma@greux.loria.fr> +rien - * mpfr.texi: added a description of the mpfr_t type in "Internals" +------------------------------------------------------------------------ +r1430 | zimmerma | 2001-10-26 13:48:33 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c -2002-03-26 Vincent Lefevre <lefevre@greux.loria.fr> +MAX_PREC included - * tests/tagm.c, tests/tdiv.c, tests/tlog.c, tests/tmul_2exp.c, tests/tout_str.c, tests/trandom.c, tests/tset_d.c, tests/tset_f.c, tests/tset_si.c, tests/tset_str.c, tests/tset_z.c, tests/tui_div.c: - Patch by Kevin Ryde + misc fixes. +------------------------------------------------------------------------ +r1429 | zimmerma | 2001-10-26 13:31:55 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/set_q.c -2002-03-25 Paul Zimmermann <zimmerma@greux.loria.fr> +implemented inexact flag - * tests/trandom.c, tests/tset_d.c, tests/tset_f.c, tests/tset_q.c, tests/tset_si.c, tests/tset_str.c, tests/tset_z.c, tests/tsqrt.c, tests/tsqrt_ui.c, tests/tsub_ui.c, tests/tui_div.c, tests/tui_sub.c, tests/tadd.c, tests/tadd_ui.c, tests/tagm.c, tests/tdiv.c, tests/tdiv_ui.c, tests/texp.c, tests/tget_str.c, tests/tlog.c, tests/tmul.c, tests/tmul_2exp.c, tests/tout_str.c: - replaced getpid() by time(NULL) +------------------------------------------------------------------------ +r1428 | hanrot | 2001-10-26 13:28:00 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/div.c - * set_str_raw.c: MPFR_SIZE and sign were incorrectly set [thanks Kevin] +Clearing high part of rem2. - * tests/tsqrt.c: added check_nan (from Kevin) +------------------------------------------------------------------------ +r1427 | rouillie | 2001-10-26 13:24:02 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/Makefile.am - * sqrt.c: fixed bug for sqrt(-0) found by Kevin [NaN flag not cleared] +adds gmp_op.c -2002-03-22 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1426 | zimmerma | 2001-10-26 13:23:12 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h - * tests/tget_d.c: Error message now copes with extended precision. +mpfr_set_q now returns an int -2002-03-22 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1425 | zimmerma | 2001-10-26 13:22:22 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tset_q.c - * configure.in, mpfr-test.h, mpfr.texi, rnd_mode.c, tests/tget_d.c: - added test in configure for checking rand48 functions (HAVE_RAND48) - and fenv.h (HAVE_FENV) - added mpfr_set_machine_rnd_mode (if fenv.h exists) - replaced TEST by HAVE_FENV +added test for inexact flag -2002-03-22 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1424 | rouillie | 2001-10-26 13:19:40 +0000 (Fri, 26 Oct 2001) | 3 lines +Changed paths: + A /trunk/gmp_op.c - * tests/tadd_ui.c, tests/tget_d.c, tests/tmul_2exp.c, tests/trandom.c, tests/tset_d.c, tests/tset_f.c, tests/tset_q.c, tests/tset_si.c, tests/tset_str.c, tests/tsqrt.c, tests/tsqrt_ui.c, tests/tsub_ui.c, tests/tui_div.c, tests/tui_sub.c: - Missing #include. +Adds the file gmp_op.c containing the implementations of operations between +mpfr and mpz/mpq data - * set_nan.c: MPFR_RETNAN shouldn't be used as no value is returned. +------------------------------------------------------------------------ +r1423 | daney | 2001-10-26 13:05:58 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/hypot.c - * set_inf.c: - Regarde 0 as positive rather than negative (though it's better not to use it). +err <0 => is now tester - * isinteger.c: Memory leak (patch by Kevin Ryde). +------------------------------------------------------------------------ +r1422 | hanrot | 2001-10-26 13:00:54 +0000 (Fri, 26 Oct 2001) | 3 lines +Changed paths: + M /trunk/div.c -2002-03-21 Paul Zimmermann <zimmerma@greux.loria.fr> +Patch for bits shifted out when the high word of the quotient is nonzero. +Induced error on inexact flag (and hence on rounding in some cases). - * tests/tdiv_ui.c, tests/texp.c, tests/tget_d.c, tests/tget_str.c, tests/tlog.c, tests/tmul.c, tests/tmul_2exp.c, tests/tmul_ui.c, tests/tout_str.c, tests/tpow.c, tests/trandom.c, tests/trint.c, tests/tset.c, tests/tset_d.c, tests/tset_f.c, tests/tset_q.c, tests/tset_si.c, tests/tset_str.c, tests/tset_z.c, tests/tsqrt.c, tests/tsqrt_ui.c, tests/tsub.c, tests/tsub_ui.c, tests/tui_div.c, tests/tui_sub.c, tests/tabs.c, tests/tadd.c, tests/tadd_ui.c, tests/tagm.c, tests/tcmp2.c, tests/tdiv.c: - replaced rand/lrand48, drand48, srand/srand48 by macros - LONG_RAND, DBL_RAND, SEED_RAND - and time(NULL) by getpid() +------------------------------------------------------------------------ +r1421 | daney | 2001-10-26 12:46:30 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + A /trunk/copysign.c - * mpfr-test.h: added macros LONG_RAND, DBL_RAND, SEED_RAND +add copysign.c - * Makefile.am: added VERSION and mpfr-math.h for "make dist" +------------------------------------------------------------------------ +r1420 | zimmerma | 2001-10-26 12:41:45 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c -2002-03-19 Paul Zimmermann <zimmerma@greux.loria.fr> +added one test - * set_inf.c, set_nan.c: new functions +------------------------------------------------------------------------ +r1419 | daney | 2001-10-26 12:37:43 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/dim.c - * tests/tcmp.c, tests/tcos.c, tests/tdiv.c, tests/tmul.c, tests/tmul_2exp.c, tests/tmul_ui.c, tests/tpow.c, tests/tsin.c, tests/tsin_cos.c, tests/tsqrt.c, tests/tsub_ui.c, tests/ttan.c, tests/tui_div.c, tests/tui_sub.c, tests/reuse.c, tests/tabs.c, tests/tadd.c, tests/tadd_ui.c: - now use macros DBL_NAN, DBL_POS_INF, DBL_NEG_INF, - and functions mpfr_set_nan, mpfr_set_inf +simplify dim - * mpfr-impl.h: defined macros for 0/0, 1/0, -1/0 +------------------------------------------------------------------------ +r1418 | daney | 2001-10-26 12:32:57 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/thypot.c - * Makefile.am, mpfr.h, mpfr.texi: - added new functions mpfr_set_nan and mpfr_set_inf +add exact flag -2002-03-19 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1417 | daney | 2001-10-26 12:24:00 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/exp2.c + M /trunk/log_base_10.c + M /trunk/log_base_2.c + M /trunk/pow2.c - * VERSION, configure.in: - File VERSION added. Contains the next version (currently 2.0.1). - configure.in updated accordingly. +err => long int - * tests/tadd.c, get_d.c, mpfr-math.h: - Macros MPFR_DBL_NAN, MPFR_DBL_INFP and MPFR_DBL_INFM. +------------------------------------------------------------------------ +r1416 | zimmerma | 2001-10-26 12:22:28 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tset.c -2002-03-19 Paul Zimmermann <zimmerma@greux.loria.fr> +added one test - * tests/tmul_ui.c: MP_LIMB_T_HIGHBIT -> ULONG_HIGHBIT +------------------------------------------------------------------------ +r1415 | zimmerma | 2001-10-26 12:21:46 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/log1p.c - * tests/tdiv.c: moved code under #ifdef +cosmetic changes - * tests/tadd.c: moved code under #ifdef TEST +------------------------------------------------------------------------ +r1414 | zimmerma | 2001-10-26 12:21:08 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/round.c - * set_d.c: remove variable sizer (not used) +can_round return 0 for b=0 - * cbrt.c: Library GPL -> Lesser GPL +------------------------------------------------------------------------ +r1413 | daney | 2001-10-26 12:17:06 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am - * TODO: updated +add thypot - * fma.c: changed Nt variable to signed +------------------------------------------------------------------------ +r1412 | daney | 2001-10-26 11:51:19 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/Makefile.am -2002-03-17 Vincent Lefevre <lefevre@greux.loria.fr> +add coopysign - * fma.c: Some changes in the types. +------------------------------------------------------------------------ +r1411 | daney | 2001-10-26 11:50:27 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h - * log.c, log10.c, log2.c: Bugs fixed. +add copysign -2002-03-17 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1410 | daney | 2001-10-26 11:47:46 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/expm1.c - * Makefile.am, mpfr.h, mpfr.texi: added back mpfr_sin_cos +correct mp_prec_t err => long int - * sin_cos.c: new version (adapted from sin.c) +------------------------------------------------------------------------ +r1409 | daney | 2001-10-26 11:47:09 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/log1p.c - * tests/ttan.c: added tests for tan(3*Pi/4) and tan(7*Pi/4) +correst mp_prec_t err => long int - * tan.c: fixed bug for tan(3*Pi/4) [wrong sign] +------------------------------------------------------------------------ +r1408 | rouillie | 2001-10-26 11:34:26 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/Makefile.in + M /trunk/mpfr.h + M /trunk/mpfr.texi - * tests/tlog10.c: added test for log(10^n) +Add multiplication/division/addition/substraction by mpz and mpq - * log10.c: fixed infinite loop problem for log(10^n) +------------------------------------------------------------------------ +r1407 | zimmerma | 2001-10-26 10:56:14 +0000 (Fri, 26 Oct 2001) | 3 lines +Changed paths: + M /trunk/tests/tadd.c -2002-03-13 Vincent Lefevre <lefevre@greux.loria.fr> +added two tests +fixed bug in generic tests (one more bit is needed to get an exact result) - * tests/reuse.c: Fix (patch by Kevin Ryde). +------------------------------------------------------------------------ +r1406 | zimmerma | 2001-10-26 10:55:36 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/add.c - * get_d.c: Do not read the exponent if it has no meaning. +fixed pb with exact results not detected (ck was < 0) -2002-03-12 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1405 | hanrot | 2001-10-26 09:12:13 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tfma.c - * mpfr.texi: mpfr_random update (patch by Kevin Ryde). +Rien. - * BUGS: 2 more known bugs. +------------------------------------------------------------------------ +r1404 | hanrot | 2001-10-26 09:11:07 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/div.c - * mpfr.texi: mpfr_a{cos,sin,tan} documentation at a better place. +Patch for the computation of the u_lo + r part of the remainder when u_lo = 0. - * acos.c: Some mpfr_clear added (patch by Kevin Ryde). +------------------------------------------------------------------------ +r1403 | zimmerma | 2001-10-26 08:43:09 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/tsub.c + M /trunk/tests/tui_div.c -2002-03-11 Vincent Lefevre <lefevre@greux.loria.fr> +added test for inexact flag - * tests/tget_d.c, TODO, get_d.c: - mpfr_get_d3 partially rewritten (to follow the new specifications). - tget_d.c updated because of changes in get_d.c. +------------------------------------------------------------------------ +r1402 | zimmerma | 2001-10-26 08:41:29 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/sub.c - * print_rnd_mode.c, mpfr.texi: - Return a null pointer if rnd_mode is an invalid rounding mode. +fixed pbs with inexact flag -2002-03-11 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1401 | zimmerma | 2001-10-26 08:41:05 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * set_si.c: set sign before calling mpfr_check_range +now mpfr_div and mpfr_ui_div return an int - * tests/tset_si.c: stupid typo in previous commit +------------------------------------------------------------------------ +r1400 | zimmerma | 2001-10-26 08:40:13 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/ui_div.c - * exp_2.c: removed expx (not used) +implemented ternary flag in mpfr_ui_div - * tests/tset_si.c, set_si.c: - fixed typo (ai [potentially unsigned] replaced by i) +------------------------------------------------------------------------ +r1399 | zimmerma | 2001-10-26 08:39:28 +0000 (Fri, 26 Oct 2001) | 3 lines +Changed paths: + M /trunk/log_base_2.c -2002-03-11 Vincent Lefevre <lefevre@greux.loria.fr> +removed unnecessary CLEAR_FLAGS +used MPFR_RET_NAN - * tests/tget_d.c, TODO, get_d.c, get_str.c, mpfr-impl.h, mpfr.h, mpfr.texi: - New mpfr_get_d, mpfr_get_d2, mpfr_get_d3. +------------------------------------------------------------------------ +r1398 | zimmerma | 2001-10-26 08:38:58 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tlog_base_2.c -2002-03-11 Paul Zimmermann <zimmerma@greux.loria.fr> +reduced number of tests - * print_rnd_mode.c: added return +------------------------------------------------------------------------ +r1397 | zimmerma | 2001-10-26 08:31:58 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/log_base_10.c -2002-03-11 Vincent Lefevre <lefevre@greux.loria.fr> +removed unnecessary CLEAR_FLAGS - * set_d.c, Makefile.am, get_d.c: set_d.c split into get_d.c and set_d.c +------------------------------------------------------------------------ +r1396 | zimmerma | 2001-10-26 08:30:00 +0000 (Fri, 26 Oct 2001) | 3 lines +Changed paths: + M /trunk/tests/reuse.c -2002-03-11 David Daney <daney@greux.loria.fr> +improved mpfr_compare +fixed wrong function name for mpfr_log2 - * cbrt.c: add cbrt in fonctionnality +------------------------------------------------------------------------ +r1395 | zimmerma | 2001-10-26 08:23:51 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/div_ui.c -2002-03-11 Vincent Lefevre <lefevre@greux.loria.fr> +rewritten to implement ternary inexact flag - * BUGS: Bug removed. +------------------------------------------------------------------------ +r1394 | zimmerma | 2001-10-26 08:15:24 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tfma.c -2002-03-07 Paul Zimmermann <zimmerma@greux.loria.fr> +fixed generic test (pb with double rounding) - * sinh.c: fixed problem when te=ti=1 (i.e. t=0) found by Kevin Ryde +------------------------------------------------------------------------ +r1393 | zimmerma | 2001-10-26 07:46:30 +0000 (Fri, 26 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c - * tests/reuse.c: simplified test4() +increased MAX_PREC -2002-03-06 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1392 | hanrot | 2001-10-25 22:03:55 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/acosh.c - * BUGS, TODO: Update. +Changed the type of err from mp_prec_t (unsigned) to int. - * mpfr.texi: Patch by Kevin Ryde concerning nodes/menus. +------------------------------------------------------------------------ +r1391 | hanrot | 2001-10-25 21:32:42 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/Makefile.in + M /trunk/tests/tdiv.c -2002-03-05 Vincent Lefevre <lefevre@greux.loria.fr> +Added tests for inexact flag. - * tests/reuse.c: Casts fixed. +------------------------------------------------------------------------ +r1390 | hanrot | 2001-10-25 21:32:33 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/Makefile.in + M /trunk/algorithms.tex + M /trunk/configure + M /trunk/div.c -2002-03-04 Vincent Lefevre <lefevre@greux.loria.fr> +Patch for even rounding. - * internal_ceil_log2.c, internal_floor_log2.c, mpz_set_fr.c, uceil_exp2.c, uceil_log2.c, ufloor_log2.c, Makefile.am, get_z_exp.c, internal_ceil_exp2.c: - File renaming. +------------------------------------------------------------------------ +r1389 | daney | 2001-10-25 17:12:26 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/log_base_2.c - * tests/tsub_ui.c, tests/tswap.c, tests/ttan.c, tests/ttanh.c, tests/ttrunc.c, tests/tui_div.c, tests/tui_pow.c, tests/tui_sub.c, tests/tzeta.c, tests/tpow.c, tests/tpow3.c, tests/trandom.c, tests/trint.c, tests/tround_prec.c, tests/tset.c, tests/tset_d.c, tests/tset_f.c, tests/tset_q.c, tests/tset_si.c, tests/tset_str.c, tests/tset_z.c, tests/tsin.c, tests/tsin_cos.c, tests/tsinh.c, tests/tsqrt.c, tests/tsqrt_ui.c, tests/tsub.c, tests/texp.c, tests/texp2.c, tests/texpm1.c, tests/tfactorial.c, tests/tfma.c, tests/tgamma.c, tests/tgeneric.c, tests/tget_d.c, tests/tget_str.c, tests/thyperbolic.c, tests/thypot.c, tests/tisnan.c, tests/tlog.c, tests/tlog10.c, tests/tlog1p.c, tests/tlog2.c, tests/tmul.c, tests/tmul_2exp.c, tests/tmul_ui.c, tests/tout_str.c, tests/tagm.c, tests/tasin.c, tests/tasinh.c, tests/tatan.c, tests/tatanh.c, tests/tcan_round.c, tests/tcmp.c, tests/tcmp2.c, tests/tcmp_ui.c, tests/tconst_euler.c, tests/tconst_log2.c, tests/tconst_pi.c, tests/tcos.c, tests/tcosh.c, tests/tdiv.c, tests/tdiv_ui.c, tests/tdump.c, tests/teq.c, tests/texceptions.c, tests/reuse.c, tests/tabs.c, tests/tacos.c, tests/tacosh.c, tests/tadd.c, tests/tadd_ui.c, sqrtrem.c, srandom.h, sub.c, sub1.c, sub_one_ulp.c, sub_ui.c, swap.c, tan.c, tanh.c, ui_div.c, ui_pow.c, ui_pow_ui.c, ui_sub.c, urandomb.c, zeta.c, set_d.c, set_dfl_prec.c, set_f.c, set_prc_raw.c, set_prec.c, set_q.c, set_rnd.c, set_si.c, set_str.c, set_str_raw.c, set_ui.c, set_z.c, sin.c, sinh.c, sqrt.c, sqrt_ui.c, mpz_set_fr.c, mul.c, mul_2exp.c, mul_2si.c, mul_2ui.c, mul_ui.c, neg.c, out_str.c, pow.c, pow_si.c, pow_ui.c, print_raw.c, print_rnd_mode.c, random.c, random2.c, reldiff.c, rint.c, rnd_mode.c, round_prec.c, save_expo.c, set.c, internal_ceil_log2.c, internal_floor_log2.c, isinf.c, isinteger.c, isnan.c, isnum.c, log.c, log10.c, log1p.c, log2.c, minmax.c, mpf2mpfr.h, mpfi.c, mpfi.h, mpfr-impl.h, mpfr-test.h, mpfr.h, eq.c, exceptions.c, exp.c, exp2.c, exp3.c, exp_2.c, expm1.c, extract.c, factorial.c, fma.c, gamma.c, gammaPiAGMformula.c, generic.c, get_str.c, gmp_op.c, hypot.c, init.c, init2.c, inp_str.c, internal_ceil_exp2.c, atanh.c, clear.c, cmp.c, cmp2.c, cmp_abs.c, cmp_ui.c, const_euler.c, const_log2.c, const_pi.c, copysign.c, cos.c, cosh.c, dim.c, div.c, div_2exp.c, div_2si.c, div_2ui.c, div_ui.c, dump.c, acos.c, acosh.c, add.c, add1.c, add_one_ulp.c, add_ui.c, agm.c, asin.c, asinh.c, atan.c: - Copyright line changed. +rien -2002-03-01 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1388 | daney | 2001-10-25 17:05:29 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/log_base_10.c - * AUTHORS: updated +rien - * atan.c, exp_2.c, mpfr.h, mpfr.texi, mpz_set_fr.c, pow.c: - changed name of mpz_set_fr to mpfr_get_z_exp +------------------------------------------------------------------------ +r1387 | lefevre | 2001-10-25 17:00:10 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/reuse.c -2002-02-28 Vincent Lefevre <lefevre@greux.loria.fr> +Warning avoided. - * tests/tabs.c, tests/tadd.c, tests/tdiv.c, tests/tdiv_ui.c: - Removed some <math.h> dependencies. +------------------------------------------------------------------------ +r1386 | zimmerma | 2001-10-25 17:00:06 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am - * tests/tget_d.c: Fixed. +added tfma - * set_d.c: - mpfr_get_d rewritten (still needs to be fixed when the result is a subnormal). +------------------------------------------------------------------------ +r1385 | zimmerma | 2001-10-25 16:53:36 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tfma.c -2002-02-27 Vincent Lefevre <lefevre@greux.loria.fr> +slong -> t - * tests/tget_d.c: mpfr_get_d2 tested. +------------------------------------------------------------------------ +r1384 | zimmerma | 2001-10-25 16:53:05 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/fma.c - * TODO: Update. +nouvelew version (without loop) - * tests/tget_d.c, tests/tset_d.c: New tests. +------------------------------------------------------------------------ +r1383 | daney | 2001-10-25 16:51:56 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/pow2.c - * configure.in: Additional flags for gcc + minor changes. +rien - * get_str.c: Minor update. +------------------------------------------------------------------------ +r1382 | daney | 2001-10-25 16:50:31 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/pow2.c + M /trunk/tests/reuse.c -2002-02-25 Vincent Lefevre <lefevre@greux.loria.fr> +rien - * mpfr-impl.h, set_d.c: - mpfr_get_d2 prototype changed (mp_exp_t instead of long). - __mpfr_scale2 fixes: checks for integer overflows, signed zeros, exact - rounding for subnormals in the rounding to the nearest mode (problems - due to multiple roundings avoided). - mpfr_get_d2: signed zeros taken into account. This function still needs - to be rewritten (because of multiple roundings). +------------------------------------------------------------------------ +r1381 | daney | 2001-10-25 16:45:27 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/reuse.c -2002-02-21 Vincent Lefevre <lefevre@greux.loria.fr> +change - * internal_ceil_exp2.c, internal_ceil_log2.c, internal_floor_log2.c, Makefile.am, agm.c: - _mpfr_ceil_log2, _mpfr_floor_log2, _mpfr_ceil_exp2 in separate files. +------------------------------------------------------------------------ +r1380 | lefevre | 2001-10-25 16:45:20 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/add.c -2002-02-19 Vincent Lefevre <lefevre@greux.loria.fr> +Bug fixed. - * get_str.c: - Fixes, code clean-up and some asserts against integer overflows. - Code need to be checked. +------------------------------------------------------------------------ +r1379 | daney | 2001-10-25 16:34:55 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/pow2.c -2002-02-14 Vincent Lefevre <lefevre@greux.loria.fr> +correct bugs with reuse - * const_pi.c, cos.c, cosh.c, exp3.c, exp_2.c, gamma.c, generic.c, get_str.c, sin.c, sinh.c, tanh.c, zeta.c, acos.c, agm.c, atan.c, atanh.c, const_euler.c, const_log2.c: - mpfr_{div,mul}_2exp -> mpfr_{div,mul}_2ui. +------------------------------------------------------------------------ +r1378 | daney | 2001-10-25 16:34:05 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/reuse.c - * get_str.c: - Partial code clean-up and some asserts against integer overflows (2). +test for log2 log10 pow -2002-02-13 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1377 | hanrot | 2001-10-25 16:29:46 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/div.c + M /trunk/mpfr.h - * get_str.c: - Partial code clean-up and some asserts against integer overflows. +La division nouvelle est arrivee. - * mpfr-impl.h, mpfr.h: MP_EXP_T_MAX and MP_EXP_T_MIN defined. +------------------------------------------------------------------------ +r1376 | zimmerma | 2001-10-25 16:04:18 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * mpfr-impl.h: Macros IS_POW2 and NOT_POW2. +ajoute' nouveau test -2002-02-12 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1375 | lefevre | 2001-10-25 15:34:17 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/add.c - * ui_pow_ui.c: Use mpfr_save_emin_emax and MPFR_RESTORE_RET. +Bug fixed. - * tests/tdump.c: Update due to changes in mpfr_get_str. +------------------------------------------------------------------------ +r1374 | hanrot | 2001-10-25 15:26:36 +0000 (Thu, 25 Oct 2001) | 3 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/round.c - * get_str.c, mpz_set_fr.c, out_str.c: - mpfr_get_str: the returned exponent for 0 is 0 (like in frexp()). - mpz_set_fr.c: comment added. - out_str.c: minor changes. +round_raw, round_raw2 -> round_raw_generic. Macros to simulate previous +behaviour. Even rounding returns +- MPFR_EVEN_INEX. - * BUGS: Update. +------------------------------------------------------------------------ +r1373 | zimmerma | 2001-10-25 15:24:11 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/log_base_10.c - * ui_pow_ui.c: Bug fixed and other changes. +fixed pb with mpfr_log10(a, a) with a=-Inf - * mpfr.texi: NULL -> null pointer and other small changes. +------------------------------------------------------------------------ +r1372 | zimmerma | 2001-10-25 15:14:01 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * get_str.c, mpfr.texi: - mpfr_get_str: null pointer returned in case of error, NaN taken into account. +added two tests -2002-02-11 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1371 | zimmerma | 2001-10-25 15:06:12 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tcmp.c - * mpfr.texi, set_str.c: - mpfr_set_str partially rewritten to cope with integer overflows. - The rounding code hasn't been fixed yet. +added one test -2002-02-08 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1370 | daney | 2001-10-25 15:03:13 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/reuse.c - * mpfr.texi: Typo. +add log2 and log10 - * set_str.c, mpfr.texi: mpfr_set_str: base must be between 2 and 36. +------------------------------------------------------------------------ +r1369 | daney | 2001-10-25 15:02:59 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/log_base_10.c -2002-02-06 David Daney <daney@greux.loria.fr> +correction for reuse - * acosh.c: chnage the return values +------------------------------------------------------------------------ +r1368 | daney | 2001-10-25 15:02:45 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/log_base_2.c - * tests/thyperbolic.c: Change the test return values +coorection for reuse -2002-02-06 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1367 | zimmerma | 2001-10-25 14:53:19 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + A /trunk/tests/texceptions.c - * pow.c: Some optimizations. +test file for testing exceptions -2002-02-04 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1366 | lefevre | 2001-10-25 14:32:20 +0000 (Thu, 25 Oct 2001) | 3 lines +Changed paths: + M /trunk/add.c - * tan.c, tanh.c, ui_pow.c, ui_sub.c, exp.c, pow_ui.c, sin.c, sinh.c, mul.c, mul_ui.c, pow.c, mpz_set_fr.c: - Misc bug fixes and code clean-up. +mpfr_add1 completely rewritten. Overflows are checked. +The ternary value should now be supported (but it hasn't been tested yet). -2002-02-03 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1365 | daney | 2001-10-25 14:04:09 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/fma.c - * mpz_set_fr.c: For the value 0, return __mpfr_emin instead of 0. +new version -2002-02-01 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1364 | zimmerma | 2001-10-25 13:54:46 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tmul_ui.c - * div_ui.c, exp.c, exp2.c, expm1.c, hypot.c, log.c, log10.c, log1p.c, log2.c, pow_si.c, acosh.c, agm.c, asinh.c, atanh.c, copysign.c, cos.c, cosh.c, dim.c: - Misc bug fixes and code clean-up. +added one test -2002-02-01 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r1363 | zimmerma | 2001-10-25 13:54:27 +0000 (Thu, 25 Oct 2001) | 3 lines +Changed paths: + M /trunk/tests/tgeneric.c - * pow_si.c: Patch. +add possibility to define a random function (default is mpfr_random) +to get random variables in specific ranges -2002-01-30 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1362 | zimmerma | 2001-10-25 13:53:19 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tacosh.c + M /trunk/tests/tasinh.c + M /trunk/tests/tatanh.c - * tests/trint.c: Bux fixed. +now use tgeneric.c - * set_z.c: mpfr_set_z rewritten. +------------------------------------------------------------------------ +r1361 | zimmerma | 2001-10-25 13:50:49 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am - * mpfr.texi: - Update concerning mpfr_round_prec, mpfr_rint, mpfr_ceil, mpfr_floor, - mpfr_round and mpfr_trunc. +added texceptions - * tests/Makefile.am, tests/reuse.c, tests/trint.c: - Tests added (mpfr_trunc, mpfr_floor, mpfr_ceil, mpfr_round). +------------------------------------------------------------------------ +r1360 | zimmerma | 2001-10-25 13:49:56 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * rint.c, trunc.c, Makefile.am, mpf2mpfr.h, mpfr.h: - mpfr_rint, mpfr_trunc, mpfr_floor, mpfr_ceil, mpfr_round rewritten. +documented exception mechanism (with Vincent Lefe`vre) -2002-01-25 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1359 | zimmerma | 2001-10-25 13:48:28 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tfactorial.c - * tests/tgamma.c, tests/tround.c, tests/tround_prec.c, tests/Makefile.am, tests/tacos.c, tests/tasin.c, round.c, round_prec.c, Makefile.am, cos.c, get_str.c, mpfr.h: - mpfr_round -> mpfr_round_prec. +changed stupid test (was computing only 200!) - * sqrt.c: Code reformatted. +------------------------------------------------------------------------ +r1358 | zimmerma | 2001-10-25 13:47:27 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/factorial.c -2002-01-23 Vincent Lefevre <lefevre@greux.loria.fr> +implemented inexact flag - * mpfr-test.h: MAX, MIN, ABS macros undefined before being redefined. - Fix in ABS macro. +------------------------------------------------------------------------ +r1357 | zimmerma | 2001-10-25 13:45:42 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/exceptions.c -2002-01-22 Vincent Lefevre <lefevre@greux.loria.fr> +1999 -> 2001 - * tests/tmul_ui.c: Example with high bit set. +------------------------------------------------------------------------ +r1356 | zimmerma | 2001-10-25 13:45:14 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/add.c - * mul_ui.c: Fix (Kevin Ryde). +check overflow - * mpfr-impl.h, mpfr.h, mul.c, sqrt.c: MPFR_PREC_MAX redefined. - MPFR_INTPREC_MAX defined (internal maximum precision). - Some integer overflow detection. +------------------------------------------------------------------------ +r1355 | zimmerma | 2001-10-25 13:39:35 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tui_sub.c -2002-01-21 Vincent Lefevre <lefevre@greux.loria.fr> +added two tests - * sqrt_ui.c: Set sign of sqrt(0). - Support for exponent range. +------------------------------------------------------------------------ +r1354 | zimmerma | 2001-10-25 13:37:24 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/sub.c - * sqrt.c: can_round type changed: char -> int. - Case sqrt(0) improved. +implemented overflow/underflow - * sqrt.c: Bug fixes: - * return 1 -> MPFR_RET_NAN - * a MPFR_CLEAR_INF was missing. +------------------------------------------------------------------------ +r1353 | daney | 2001-10-25 13:36:56 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/atanh.c -2002-01-20 Vincent Lefevre <lefevre@greux.loria.fr> +correct atanh(INF)=INF exact - * mpfr-impl.h, sub_ui.c, add_ui.c: New macro MPFR_RESTORE_RET. +------------------------------------------------------------------------ +r1352 | daney | 2001-10-25 13:14:54 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/thyperbolic.c -2002-01-18 Vincent Lefevre <lefevre@greux.loria.fr> +correct test inf for atanh - * fma.c: Code clean-up (goto suppressed). +------------------------------------------------------------------------ +r1351 | zimmerma | 2001-10-25 12:52:08 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * fma.c: Cases 0 * 0 + 0. +added warning for mpfr_set_d - * fma.c: Nt: int -> mp_prec_t +------------------------------------------------------------------------ +r1350 | daney | 2001-10-25 09:19:06 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/thyperbolic.c - * fma.c, tests/tacosh.c: <> changed back to "". +correct bug in tests file (test of atanh for + or - Inf) -2002-01-18 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r1349 | zimmerma | 2001-10-25 08:37:39 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am - * tests/tacosh.c: change "" -> <> in headers +added tadd_ui (forgotten?) - * fma.c: Change indendation + replace "" -> <> in header +------------------------------------------------------------------------ +r1348 | zimmerma | 2001-10-25 08:37:19 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tadd_ui.c -2002-01-17 Vincent Lefevre <lefevre@greux.loria.fr> +added special test - * fma.c: Particular cases rewritten. +------------------------------------------------------------------------ +r1347 | zimmerma | 2001-10-25 08:36:55 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/add.c - * mpfr-test.h: - Test "__hpux", not "hpux". Mask off mrand48 return value to 31 bits - to work around sloppy mpfr #include practices. (Torbjorn Granlund) +fixed bug in rounding part when rounding towards 0 (infinite loop due to bn<an) -2002-01-16 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1346 | zimmerma | 2001-10-25 08:34:51 +0000 (Thu, 25 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tasinh.c - * div.c: Comments were incorrect. +added one special test -2002-01-15 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1345 | daney | 2001-10-24 17:33:12 +0000 (Wed, 24 Oct 2001) | 2 lines +Changed paths: + M /trunk/minmax.c - * BUGS: Note concerning mpfr_trunc, mpfr_floor and mpfr_ceil. +correct the Nan case -2002-01-14 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1344 | daney | 2001-10-24 17:23:08 +0000 (Wed, 24 Oct 2001) | 2 lines +Changed paths: + A /trunk/dim.c - * div.c: Special cases. +add the function mpfr_dim -2002-01-12 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1343 | daney | 2001-10-24 17:22:36 +0000 (Wed, 24 Oct 2001) | 2 lines +Changed paths: + A /trunk/minmax.c - * tests/tmul.c, tests/tout_str.c, tests/tpow.c, tests/trandom.c, tests/tset.c, tests/tset_z.c, tests/tsin.c, tests/tsqrt.c, tests/tsqrt_ui.c, tests/tsub.c, tests/tsub_ui.c, tests/ttan.c, tests/tui_div.c, tests/tui_sub.c, tests/tzeta.c, tests/tadd.c, tests/tadd_ui.c, tests/tagm.c, tests/tatan.c, tests/tcmp2.c, tests/tcos.c, tests/tdiv.c, tests/tdiv_ui.c, tests/teq.c, tests/texp.c, tests/tget_str.c, tests/thyperbolic.c, tests/tlog.c, tests/reuse.c, tests/tabs.c, mpfr-test.h, mpfr.h, shortmul.c: - Patches by Kevin Ryde for K&R compilers - and other fixes in prototypes. +add function mpfr_min and mpfr_max -2002-01-10 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1342 | daney | 2001-10-24 16:12:27 +0000 (Wed, 24 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tasinh.c + M /trunk/tests/tatanh.c - * tests/tmul.c: Test check_min added. +correct these tesats files - * tests/tmul.c: Test check_max added. +------------------------------------------------------------------------ +r1341 | daney | 2001-10-24 16:11:23 +0000 (Wed, 24 Oct 2001) | 2 lines +Changed paths: + M /trunk/acosh.c + M /trunk/asinh.c + M /trunk/atanh.c + M /trunk/cosh.c + M /trunk/sinh.c + M /trunk/tanh.c - * algorithms.tex, cmp2.c, log.c: Spelling: "canceled" +correct some bugs -2002-01-10 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1340 | zimmerma | 2001-10-24 15:47:48 +0000 (Wed, 24 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am - * mpfr.h: GMP_PROTO change was already done by Vincent +added EXTRA_DIST= tgeneric.c - * mpfr.h: prepare change PROTO -> GMP_PROTO +------------------------------------------------------------------------ +r1339 | daney | 2001-10-24 15:32:28 +0000 (Wed, 24 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am -2002-01-04 Vincent Lefevre <lefevre@greux.loria.fr> +remove tfma - * sub_one_ulp.c: The precision can no longer be 1. +------------------------------------------------------------------------ +r1338 | daney | 2001-10-24 15:29:56 +0000 (Wed, 24 Oct 2001) | 2 lines +Changed paths: + A /trunk/tests/tfma.c - * mpfr.h: __GMP_PROTO defined if not already defined. +add tfma - * tests/tcmp.c, tests/tcmp2.c, cmp2.c, mpfr-impl.h, sub.c, sub1.c, add.c, agm.c: - Optimization: mpfr_cmp2 now accepts any combination of real arguments - and computes the sign of |b| - |c| (in addition to the number of - cancelled bits); mpfr_add, mpfr_sub, mpfr_sub1, mpfr_agm and some - tests updated to take this change into account. +------------------------------------------------------------------------ +r1337 | daney | 2001-10-24 09:34:27 +0000 (Wed, 24 Oct 2001) | 2 lines +Changed paths: + M /trunk/acosh.c -2001-12-21 Paul Zimmermann <zimmerma@greux.loria.fr> +acosh revue et corrige...+beau - * tests/tsin.c: added check for sin(3*Pi/2) +------------------------------------------------------------------------ +r1336 | daney | 2001-10-23 16:57:30 +0000 (Tue, 23 Oct 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h - * sin.c: fixed bug for sin(3*Pi/2) +add mpfr_log10 -2001-12-19 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1335 | daney | 2001-10-23 16:56:22 +0000 (Tue, 23 Oct 2001) | 2 lines +Changed paths: + M /trunk/Makefile.am + A /trunk/log_base_10.c - * set_str_raw.c: Global NaN flag set when result is NaN. +add log_base_10 -2001-12-19 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1334 | daney | 2001-10-23 16:55:58 +0000 (Tue, 23 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am - * set_str_raw.c: forgot to clear nan flag for Inf +add tlog_base_10 - * mpfr.texi: - changed description of mpfr_cmp to correspond to the implementation: - NaNs are not allowed +------------------------------------------------------------------------ +r1333 | daney | 2001-10-23 16:55:25 +0000 (Tue, 23 Oct 2001) | 2 lines +Changed paths: + A /trunk/tests/tlog_base_10.c - * algorithms.tex: - fixed mpfr_cmp2 : there was a bug noticed by Nicolas Magaud and Didier - Bondyfalat for inputs: - 100 011 111 - 100 010 110 - where it gave 8 instead of 5. +add test file for log_base_10 function -2001-12-19 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1332 | daney | 2001-10-23 16:54:12 +0000 (Tue, 23 Oct 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * add1.c, sub1.c: Better comments. +correct a bug in mpfr_log10 section -2001-12-10 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1331 | daney | 2001-10-23 13:14:13 +0000 (Tue, 23 Oct 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * algorithms.bib, algorithms.tex: added "PI and the AGM" +add help of log10 + fma -2001-12-06 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1330 | daney | 2001-10-23 12:38:15 +0000 (Tue, 23 Oct 2001) | 2 lines +Changed paths: + M /trunk/log_base_2.c - * tests/Makefile.am, tests/tlog10.c, tests/tlog2.c, tests/tlog_base_10.c, tests/tlog_base_2.c: - Files renamed (log in base 2 and 10). +correct particular cases - * tests/teuler.c, tests/tlog2.c, tests/tpi.c, tests/Makefile.am, tests/tconst_euler.c, tests/tconst_log2.c, tests/tconst_pi.c: - Files renamed (constants). +------------------------------------------------------------------------ +r1329 | daney | 2001-10-23 12:33:00 +0000 (Tue, 23 Oct 2001) | 2 lines +Changed paths: + M /trunk/log_base_2.c - * aclocal.m4: - File aclocal.m4 removed, as generated by aclocal (called by prepare). +improve the clear flags - * Makefile.am, log10.c, log2.c, log_base_10.c, log_base_2.c: - Files log_base_*.c renamed. +------------------------------------------------------------------------ +r1328 | daney | 2001-10-23 09:41:29 +0000 (Tue, 23 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tpow3.c - * log2.c, pi.c, Makefile.am, const_euler.c, const_log2.c, const_pi.c, euler.c: - Functions (constants) renamed. +correction dans l'entete - * tests/Makefile.in, configure, Makefile.in: - Files configure, Makefile.in, tests/Makefile.in removed. - Use the `prepare' script to generate them. +------------------------------------------------------------------------ +r1327 | lefevre | 2001-10-21 07:56:29 +0000 (Sun, 21 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/reuse.c + M /trunk/tests/tdiv.c - * BUGS: Removed 2 bugs. +Some changes to avoid warnings. - * prepare: Initial release. +------------------------------------------------------------------------ +r1326 | lefevre | 2001-10-21 07:12:18 +0000 (Sun, 21 Oct 2001) | 2 lines +Changed paths: + M /trunk/div.c -2001-12-05 Paul Zimmermann <zimmerma@greux.loria.fr> +Bug fixed (char -> int). - * algorithms.tex: added arc-tangent (from Mathieu) +------------------------------------------------------------------------ +r1325 | lefevre | 2001-10-19 20:47:39 +0000 (Fri, 19 Oct 2001) | 2 lines +Changed paths: + M /trunk/Makefile.in + M /trunk/tests/Makefile.in - * algorithms.tex: added paragraph on asin and acos from Mathieu Dutour +Update. - * tests/Makefile.am, tests/tacos.c: added tacos +------------------------------------------------------------------------ +r1324 | lefevre | 2001-10-19 20:45:12 +0000 (Fri, 19 Oct 2001) | 2 lines +Changed paths: + M /trunk/add_ui.c + M /trunk/sub_ui.c - * tests/tadd.c: in check5, test NaNs before calling mpfr_cmp +Bugs fixed concerning the "inexact" ternary value. - * tests/reuse.c: added acos +------------------------------------------------------------------------ +r1323 | daney | 2001-10-19 16:56:51 +0000 (Fri, 19 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am - * Makefile.am: added acos.c +suppress thypot tgeneric - * acos.c, mpfr.h, mpfr.texi: added acos (from Mathieu Dutour) +------------------------------------------------------------------------ +r1322 | daney | 2001-10-19 16:53:12 +0000 (Fri, 19 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am - * sqrt.c: use now new sqrtrem from gmp-4.0 +suppress sample - * tests/tdiv_ui.c: improved test (avoid mpfr_get_d) +------------------------------------------------------------------------ +r1321 | zimmerma | 2001-10-19 16:26:47 +0000 (Fri, 19 Oct 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h - * tests/tset_d.c: removed isnan prototype +void -> int as return value for mpfr_add_ui - * rnd_mode.c: added stdlib.h for exit +------------------------------------------------------------------------ +r1320 | zimmerma | 2001-10-19 16:26:19 +0000 (Fri, 19 Oct 2001) | 2 lines +Changed paths: + M /trunk/add_ui.c -2001-11-30 Paul Zimmermann <zimmerma@greux.loria.fr> +added ternary flag - * tests/tdump.c, dump.c: test NaN before Inf - changed precision to 2 for test +------------------------------------------------------------------------ +r1319 | zimmerma | 2001-10-19 16:24:50 +0000 (Fri, 19 Oct 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi -2001-11-30 Vincent Lefevre <lefevre@greux.loria.fr> +void -> int for mpfr_add and mpfr_add_ui - * set_prc_raw.c: Cast added. +------------------------------------------------------------------------ +r1318 | daney | 2001-10-19 16:21:08 +0000 (Fri, 19 Oct 2001) | 2 lines +Changed paths: + A /trunk/tests/thypot.c -2001-11-30 Paul Zimmermann <zimmerma@greux.loria.fr> +add test for hypot - * tests/tatan.c: added a new test (worst case) +------------------------------------------------------------------------ +r1317 | daney | 2001-10-19 16:15:16 +0000 (Fri, 19 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am - * atan.c: nouvelle version de Mathieu Dutour, - corrigeant certains bugs avec les pires cas de Vincent +add some test -2001-11-30 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1316 | daney | 2001-10-19 16:13:56 +0000 (Fri, 19 Oct 2001) | 2 lines +Changed paths: + M /trunk/Makefile.am - * set_prec.c: Misc fixes. +add some functions - * fma.c: Unused variables. +------------------------------------------------------------------------ +r1315 | daney | 2001-10-19 16:12:44 +0000 (Fri, 19 Oct 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h -2001-11-30 Paul Zimmermann <zimmerma@greux.loria.fr> +add some proto - * tests/tsub.c, tests/tsub_ui.c, tests/ttan.c, tests/ttanh.c, tests/ttrunc.c, tests/tui_div.c, tests/tui_pow.c, tests/tui_sub.c, tests/tsinh.c, tests/tsqrt.c, tests/tmul.c, tests/tmul_ui.c, tests/tout_str.c, tests/tpow.c, tests/tpow3.c, tests/tset.c, tests/tset_f.c, tests/tset_si.c, tests/tsin.c, tests/tfma.c, tests/tget_str.c, tests/thypot.c, tests/tlog.c, tests/tlog1p.c, tests/tlog2.c, tests/tlog_base_10.c, tests/tlog_base_2.c, tests/tdiv_ui.c, tests/teuler.c, tests/texp2.c, tests/texpm1.c, tests/tfactorial.c, tests/texp.c, tests/tacosh.c, tests/tadd.c, tests/tasin.c, tests/tasinh.c, tests/tatan.c, tests/tatanh.c, tests/tcos.c, tests/tcosh.c, tests/tdiv.c: - start tests with precision 2 instead of 1 +------------------------------------------------------------------------ +r1314 | daney | 2001-10-19 16:09:34 +0000 (Fri, 19 Oct 2001) | 2 lines +Changed paths: + A /trunk/tests/tpow3.c - * tests/tabs.c: start from precision 2 +add test file for pow - * get_str.c: - big rewrite to fix problems when the estimate base exponent is too small +------------------------------------------------------------------------ +r1313 | daney | 2001-10-19 16:09:01 +0000 (Fri, 19 Oct 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * fma.c: fixed detection of exact cases (in particular 0) +add the help for pow and pow_si - * cos.c: now use MPFR_PREC_MIN +------------------------------------------------------------------------ +r1312 | daney | 2001-10-19 16:08:29 +0000 (Fri, 19 Oct 2001) | 2 lines +Changed paths: + A /trunk/pow2.c - * atan.c: exptol is now of type mp_exp_t +add the function pow and pow_si - * log2.c: rewritten part with Taylor series +------------------------------------------------------------------------ +r1311 | zimmerma | 2001-10-19 16:02:34 +0000 (Fri, 19 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tsub.c - * mpfr.h: changed MPFR_PREC_MIN to 2 +added two tests for 0-c and c-0 with prec(c) > prec(a) - * set_prc_raw.c, mpfr.texi: updated wrt MPFR_PREC_MIN/MPFR_PREC_MAX +------------------------------------------------------------------------ +r1310 | lefevre | 2001-10-19 15:53:17 +0000 (Fri, 19 Oct 2001) | 2 lines +Changed paths: + M /trunk/neg.c - * mpz_set_fr.c: case x=0 was forgotten +Removed #include <stdio.h>, "return 0;" replaced by "MPFR_RET(0);". - * set_prec.c: now use MPFR_PREC_MIN +------------------------------------------------------------------------ +r1309 | lefevre | 2001-10-19 15:45:18 +0000 (Fri, 19 Oct 2001) | 4 lines +Changed paths: + M /trunk/add.c + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/sub.c - * sub1.c: added comment +mpfr_add1 and mpfr_sub1 prototypes moved to mpfr-impl.h (to detect clashes). +Bug fix concerning the inexact ternary value in mpfr_sub. +mpfr_add now returns an int (inexact ternary value unsupported if true add). -2001-11-30 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1308 | lefevre | 2001-10-19 14:49:44 +0000 (Fri, 19 Oct 2001) | 2 lines +Changed paths: + M /trunk/Makefile.in - * set_z.c: - mpfr_set_z rewritten to support overflows/underflows and ternary value. +Update. - * set_z.c: 0 -> set to +0. +------------------------------------------------------------------------ +r1307 | lefevre | 2001-10-19 14:13:10 +0000 (Fri, 19 Oct 2001) | 2 lines +Changed paths: + M /trunk/set_si.c - * mul.c: Better sign comparison. +Underflow/overflow check. -2001-11-29 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1306 | lefevre | 2001-10-19 14:02:01 +0000 (Fri, 19 Oct 2001) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h - * set_si.c, set_ui.c: Use MPFR_SET_POS. +Documentation updated. - * trunc.c: Bug fixed concerning integer overflows. +------------------------------------------------------------------------ +r1305 | lefevre | 2001-10-19 13:57:06 +0000 (Fri, 19 Oct 2001) | 2 lines +Changed paths: + M /trunk/set_ui.c -2001-11-29 Paul Zimmermann <zimmerma@greux.loria.fr> +Comment added. - * init2.c: added comment +------------------------------------------------------------------------ +r1304 | lefevre | 2001-10-19 13:41:41 +0000 (Fri, 19 Oct 2001) | 2 lines +Changed paths: + M /trunk/set.c - * cos.c: fixed bug for small precision, where r can be >= 1 +MPFR_RET(0) replaced by MPFR_RET_NAN. -2001-11-29 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1303 | lefevre | 2001-10-19 13:28:41 +0000 (Fri, 19 Oct 2001) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h - * mul_2exp.c, mul_2si.c, mul_2ui.c, Makefile.am, Makefile.in, div_2exp.c, div_2si.c, div_2ui.c, log.c, mpfr.h: - Functions mpfr_{mul,div}_2{si,ui} added. - Functions mpfr_{mul,div}_2exp still exist for backward compatibility; - they are obsolete and should not be used any longer. +Macro MPFR_RET_NAN. -2001-11-28 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1302 | lefevre | 2001-10-18 17:29:45 +0000 (Thu, 18 Oct 2001) | 2 lines +Changed paths: + M /trunk/round.c - * minmax.c: Particular cases (NaN and signed zeros). +Code clean-up in mpfr_round_raw (well... IMHO). - * tests/texp2.c, tests/thyperbolic.c, init2.c: - Init variables to NaN instead of 0. +------------------------------------------------------------------------ +r1301 | daney | 2001-10-18 15:30:04 +0000 (Thu, 18 Oct 2001) | 2 lines +Changed paths: + M /trunk/ui_pow.c - * atan.c: Possible integer overflow fixed. +take in account of CHAR_BIT in ui_pow - * asin.c, atan.c: Particular cases fixed. +------------------------------------------------------------------------ +r1300 | zimmerma | 2001-10-18 15:21:45 +0000 (Thu, 18 Oct 2001) | 2 lines +Changed paths: + M /trunk/sqrt.c -2001-11-25 Vincent Lefevre <lefevre@greux.loria.fr> +cast to mp_limb_t was missing - * trunc.c: Overflow support. +------------------------------------------------------------------------ +r1299 | lefevre | 2001-10-18 15:05:45 +0000 (Thu, 18 Oct 2001) | 2 lines +Changed paths: + M /trunk/acosh.c + M /trunk/asinh.c + M /trunk/atanh.c + M /trunk/factorial.c - * trunc.c: K&R -> ISO C prototype. +BITS_PER_CHAR replaced by the standard CHAR_BIT. - * div_2exp.c: mpfr_div_2exp rewritten. +------------------------------------------------------------------------ +r1298 | hanrot | 2001-10-18 14:58:14 +0000 (Thu, 18 Oct 2001) | 2 lines +Changed paths: + M /trunk/div.c - * mul_2exp.c: mpfr_mul_2exp rewritten. +*** empty log message *** - * mul_ui.c: Overflow support. +------------------------------------------------------------------------ +r1297 | daney | 2001-10-18 13:55:26 +0000 (Thu, 18 Oct 2001) | 2 lines +Changed paths: + A /trunk/tests/tui_pow.c - * add1.c, init2.c, mpfr-impl.h, round.c: - Casts to size_t added (safer and could be required in the future). +add test of ui_pow -2001-11-23 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1296 | daney | 2001-10-18 13:54:47 +0000 (Thu, 18 Oct 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * mul.c: Minor change. +add the help of ui_pow - * mul.c: mpfr_mul partially rewritten: - * Integer overflows almost completely avoided. - * Now supports signed zeros and overflows. - Not tested yet. +------------------------------------------------------------------------ +r1295 | daney | 2001-10-18 13:54:21 +0000 (Thu, 18 Oct 2001) | 2 lines +Changed paths: + A /trunk/ui_pow.c -2001-11-22 Vincent Lefevre <lefevre@greux.loria.fr> +add the function pow(unsign long int, mpfr_t) - * round.c: - mpfr_can_round_raw: integer overflows checked and code duplication avoided. +------------------------------------------------------------------------ +r1294 | lefevre | 2001-10-18 13:52:48 +0000 (Thu, 18 Oct 2001) | 3 lines +Changed paths: + M /trunk/configure + M /trunk/configure.in - * BUGS: More bugs. +Improved configure.in. +configure generated by Autoconf 2.52. - * round.c, mpfr-impl.h, mpfr.h, mpfr.texi: - mpfr_can_round and mpfr_can_round_raw: prototypes changed. +------------------------------------------------------------------------ +r1293 | daney | 2001-10-18 12:09:08 +0000 (Thu, 18 Oct 2001) | 2 lines +Changed paths: + M /trunk/exp2.c -2001-11-21 Vincent Lefevre <lefevre@greux.loria.fr> +ajout du flag inexact - * exceptions.c: Bug fixed. +------------------------------------------------------------------------ +r1292 | lefevre | 2001-10-18 11:27:38 +0000 (Thu, 18 Oct 2001) | 3 lines +Changed paths: + M /trunk/configure - * tests/tdiv.c, tests/texp.c, tests/tsqrt.c, Makefile.am, Makefile.in, add_one_ulp.c, add_ulp.c, div_ui.c, exp.c, mpfr.h, mpfr.texi, set_z.c, sub_one_ulp.c: - mpfr_add_one_ulp and mpfr_sub_one_ulp changed. +fixed and improved check for gmp.h/gmp-impl.h/config.h/gmp-mparam.h/longlong.h +and corresponding error message - * round.c, set_dfl_prec.c, set_rnd.c, init2.c, mpfr.h, mpfr.texi: - Added MPFR_PREC_MIN and MPFR_PREC_MAX. +------------------------------------------------------------------------ +r1291 | daney | 2001-10-18 10:38:10 +0000 (Thu, 18 Oct 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * init2.c: Error test -> assert. - mp_prec_t -> mp_size_t. +add the help on log2 -2001-11-20 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1290 | daney | 2001-10-18 10:36:00 +0000 (Thu, 18 Oct 2001) | 2 lines +Changed paths: + A /trunk/tests/tlog_base_2.c - * tests/tround.c: Test added. +add the test file of the log2 (log in base 2) - * round.c, mpfr-impl.h: mpfr_round rewritten. - mpfr_round_raw_generic: NULL changed to 0 as not necessarily defined. +------------------------------------------------------------------------ +r1289 | daney | 2001-10-18 10:35:11 +0000 (Thu, 18 Oct 2001) | 2 lines +Changed paths: + A /trunk/log_base_2.c - * mpfr-impl.h: Added macro MPFR_SET_ABSSIZE. +ajout de log2 (log en base 2) - * round.c: mpfr_round: Check for overflow. +------------------------------------------------------------------------ +r1288 | daney | 2001-10-18 10:24:43 +0000 (Thu, 18 Oct 2001) | 2 lines +Changed paths: + M /trunk/tanh.c -2001-11-17 Vincent Lefevre <lefevre@greux.loria.fr> +correst tanh(0) - * sub1.c: Some type changes. +------------------------------------------------------------------------ +r1287 | zimmerma | 2001-10-18 10:20:41 +0000 (Thu, 18 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tset_si.c -2001-11-16 Vincent Lefevre <lefevre@greux.loria.fr> +added two more tests - * add1.c, mpz_set_fr.c: Integer overflows checked. +------------------------------------------------------------------------ +r1286 | zimmerma | 2001-10-18 10:20:09 +0000 (Thu, 18 Oct 2001) | 2 lines +Changed paths: + M /trunk/set_si.c - * mpz_set_fr.c: MPFR_ASSERTN instead of fprintf + exit. +wrong sign passed to mpfr_can_round (mp_limb_t may be unsigned) - * mpfr-impl.h: GMP assert mechanism: macros changed until GMP is fixed. +------------------------------------------------------------------------ +r1285 | daney | 2001-10-18 10:10:49 +0000 (Thu, 18 Oct 2001) | 2 lines +Changed paths: + M /trunk/sinh.c -2001-11-16 Paul Zimmermann <zimmerma@greux.loria.fr> +correct a bug for sinh(Inf) - * mpfr.texi: version -> 2002 - removed executable flag +------------------------------------------------------------------------ +r1284 | daney | 2001-10-17 15:49:52 +0000 (Wed, 17 Oct 2001) | 2 lines +Changed paths: + M /trunk/tanh.c - * tests/thypot.c, tests/tlog.c, tests/tmul_ui.c, tests/tpow.c, tests/tpow3.c, tests/tset_d.c, tests/tset_si.c, tests/tset_str.c, tests/tsqrt.c, tests/tsub.c, tests/tsub_ui.c, tests/ttrunc.c, tests/tui_div.c, tests/tui_pow.c, tests/tui_sub.c, tests/tzeta.c, tests/tabs.c, tests/tadd.c, tests/tatan.c, tests/tcmp2.c, tests/tcos.c, tests/tdiv.c, tests/tdiv_ui.c, tests/teq.c, tests/teuler.c, tests/texceptions.c, tests/texp.c, tests/tfactorial.c, tests/tfma.c, tests/tgeneric.c, mpfr.texi, print_raw.c, sub1.c, Makefile.in, exp_2.c, log.c, mpfr.h: - mpfr_print_raw -> mpfr_print_binary +correct syntax of tanh.c - * init2.c: split from init.c +------------------------------------------------------------------------ +r1283 | daney | 2001-10-17 15:47:03 +0000 (Wed, 17 Oct 2001) | 2 lines +Changed paths: + M /trunk/sinh.c -2001-11-16 David Daney <daney@greux.loria.fr> +correct an error - * expm1.c, log1p.c, tanh.c: remove math.h +------------------------------------------------------------------------ +r1282 | daney | 2001-10-17 15:42:10 +0000 (Wed, 17 Oct 2001) | 2 lines +Changed paths: + M /trunk/cosh.c - * sinh.c: remve math.h +correct few things -2001-11-16 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1281 | daney | 2001-10-17 15:29:50 +0000 (Wed, 17 Oct 2001) | 2 lines +Changed paths: + M /trunk/cosh.c - * tests/tdiv.c: added one test +little patch for cosh -2001-11-16 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r1280 | daney | 2001-10-17 15:04:43 +0000 (Wed, 17 Oct 2001) | 2 lines +Changed paths: + A /trunk/tests/texpm1.c - * atanh.c: remove math.h +add the test function of expm1 -2001-11-16 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1279 | daney | 2001-10-17 15:04:06 +0000 (Wed, 17 Oct 2001) | 2 lines +Changed paths: + A /trunk/tests/tlog1p.c - * Makefile.am, init.c: init -> init + init2. +add the test of the function log1p -2001-11-16 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r1278 | daney | 2001-10-17 15:03:04 +0000 (Wed, 17 Oct 2001) | 2 lines +Changed paths: + A /trunk/expm1.c - * asinh.c, acosh.c: remove math.h +add the function expm1 -2001-11-16 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r1277 | daney | 2001-10-17 15:02:30 +0000 (Wed, 17 Oct 2001) | 2 lines +Changed paths: + A /trunk/log1p.c - * div.c: Ajoute retours chariots dans div.c, etc. +add the function log1p - * div.c: if () remplace par if ( ==0) ou if ( != 0) +------------------------------------------------------------------------ +r1276 | daney | 2001-10-17 12:50:15 +0000 (Wed, 17 Oct 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi -2001-11-16 Paul Zimmermann <zimmerma@greux.loria.fr> +add to mpfr.texi log1p and expm1 - * tests/Makefile.in, pow.c, pow_si.c, print_raw.c, rnd_mode.c, set_rnd.c, set_str_raw.c, sin.c, sinh.c, sqrt.c, sqrt_ui.c, tan.c, tanh.c, ui_pow.c, Makefile.in, TODO, add_ui.c, asin.c, asinh.c, atanh.c, clear.c, copysign.c, cos.c, cosh.c, dim.c, exp.c, exp2.c, expm1.c, extract.c, factorial.c, fma.c, gmp_op.c, hypot.c, isinteger.c, log1p.c, log2.c, log_base_10.c, log_base_2.c, minmax.c, mul.c: - removed K&R function headers +------------------------------------------------------------------------ +r1275 | daney | 2001-10-17 12:37:46 +0000 (Wed, 17 Oct 2001) | 2 lines +Changed paths: + M /trunk/exp2.c -2001-11-16 Guillaume Hanrot <hanrot@greux.loria.fr> +actualisation de exp2.c - * tests/tdiv.c: Beuh ? +------------------------------------------------------------------------ +r1274 | daney | 2001-10-17 12:36:51 +0000 (Wed, 17 Oct 2001) | 2 lines +Changed paths: + M /trunk/exp2.c - * inp_str.c, div.c: return -> MPFR_RET, patch d'un leak dans inp_str.c +actualisation de exp2 -2001-11-16 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1273 | hanrot | 2001-10-17 10:28:27 +0000 (Wed, 17 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/Makefile.in + M /trunk/tests/tdiv.c - * mpfr-impl.h: changed to use GMP assert mechanism +New tests in tdiv.c. -2001-11-16 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r1272 | hanrot | 2001-10-17 10:28:14 +0000 (Wed, 17 Oct 2001) | 3 lines +Changed paths: + M /trunk/div.c + A /trunk/div2.c - * pow_si.c: remove stdio.h math.h +New division in div.c, old one renamed in mpfr_div2. Remains to implement +exact/inexact flag. Should not be *that* hard. -2001-11-16 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1271 | daney | 2001-10-16 16:02:21 +0000 (Tue, 16 Oct 2001) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * cos.c, euler.c: assert -> MPFR_ASSERT +ajout de functions pow, fma, hypot etc etc -2001-11-16 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r1270 | zimmerma | 2001-10-16 15:48:48 +0000 (Tue, 16 Oct 2001) | 2 lines +Changed paths: + M /trunk/Makefile.am - * pow.c: remove stdio math .h +added fma.c - * isinteger.c: remove stdio.h math.h +------------------------------------------------------------------------ +r1269 | zimmerma | 2001-10-16 15:48:34 +0000 (Tue, 16 Oct 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h -2001-11-16 Paul Zimmermann <zimmerma@greux.loria.fr> +added prototypes for mpfr_fma and mpfr_hypot - * mul_ui.c, sub1.c: ASSERT_ALWAYS -> MPFR_ASSERTN +------------------------------------------------------------------------ +r1268 | zimmerma | 2001-10-16 15:48:12 +0000 (Tue, 16 Oct 2001) | 2 lines +Changed paths: + M /trunk/hypot.c - * Makefile.am: added COPYING.LIB +small changes for inexact flag - * COPYING: replaced by GPL +------------------------------------------------------------------------ +r1267 | zimmerma | 2001-10-16 15:41:38 +0000 (Tue, 16 Oct 2001) | 3 lines +Changed paths: + M /trunk/fma.c -2001-11-16 David Daney <daney@greux.loria.fr> +added some cases for Inf +implement (partly) inexact flag - * factorial.c: remove limits.h +------------------------------------------------------------------------ +r1266 | daney | 2001-10-16 15:09:29 +0000 (Tue, 16 Oct 2001) | 2 lines +Changed paths: + A /trunk/hypot.c -2001-11-16 Paul Zimmermann <zimmerma@greux.loria.fr> +ajout hypot - * tests/tout_str.c, tests/tpi.c, tests/tpow.c, tests/tpow3.c, tests/trandom.c, tests/tround.c, tests/tset.c, tests/tset_d.c, tests/tset_f.c, tests/tset_q.c, tests/tset_si.c, tests/tset_str.c, tests/tset_z.c, tests/tsin.c, tests/tsin_cos.c, tests/tsinh.c, tests/tsqrt.c, tests/tsqrt_ui.c, tests/tsub.c, tests/tsub_ui.c, tests/tswap.c, tests/ttan.c, tests/ttanh.c, tests/ttrunc.c, tests/tui_div.c, tests/tui_pow.c, tests/tui_sub.c, tests/tzeta.c, tests/tdiv_ui.c, tests/tdump.c, tests/teq.c, tests/teuler.c, tests/texceptions.c, tests/texp.c, tests/texp2.c, tests/texpm1.c, tests/tfactorial.c, tests/tfma.c, tests/tgamma.c, tests/tgeneric.c, tests/tget_d.c, tests/tget_str.c, tests/thyperbolic.c, tests/thypot.c, tests/tisnan.c, tests/tlog.c, tests/tlog1p.c, tests/tlog2.c, tests/tlog_base_10.c, tests/tlog_base_2.c, tests/tmul.c, tests/tmul_2exp.c, tests/tmul_ui.c, tests/reuse.c, tests/tabs.c, tests/tacosh.c, tests/tadd.c, tests/tadd_ui.c, tests/tagm.c, tests/tasin.c, tests/tasinh.c, tests/tatan.c, tests/tatanh.c, tests/tcan_round.c, tests/tcmp.c, tests/tcmp2.c, tests/tcmp_ui.c, tests/tcos.c, tests/tcosh.c, tests/tdiv.c, set_d.c, set_dfl_prec.c, set_f.c, set_prc_raw.c, set_prec.c, set_q.c, set_rnd.c, set_si.c, set_str.c, set_str_raw.c, set_ui.c, set_z.c, sin.c, sinh.c, sqrt.c, sqrt_ui.c, sqrtrem.c, srandom.h, sub.c, sub1.c, sub_ui.c, swap.c, tan.c, tanh.c, trunc.c, ui_div.c, ui_pow.c, ui_pow_ui.c, ui_sub.c, urandomb.c, zeta.c, log2.c, log_base_10.c, log_base_2.c, minmax.c, mpf2mpfr.h, mpfi.c, mpfi.h, mpfr-impl.h, mpfr-test.h, mpfr.h, mpfr.texi, mpz_set_fr.c, mul.c, mul_2exp.c, mul_ui.c, neg.c, out_str.c, pi.c, pow.c, pow_si.c, pow_ui.c, print_raw.c, print_rnd_mode.c, random.c, random2.c, reldiff.c, rnd_mode.c, round.c, save_expo.c, set.c, div_ui.c, dump.c, eq.c, euler.c, exceptions.c, exp.c, exp2.c, exp3.c, exp_2.c, expm1.c, extract.c, factorial.c, fma.c, gamma.c, gammaPiAGMformula.c, generic.c, get_str.c, gmp_op.c, hypot.c, init.c, inp_str.c, isinf.c, isinteger.c, isnan.c, isnum.c, log.c, log1p.c, acosh.c, add.c, add1.c, add_ui.c, add_ulp.c, agm.c, asin.c, asinh.c, atan.c, atanh.c, clear.c, cmp.c, cmp2.c, cmp_abs.c, cmp_ui.c, copysign.c, cos.c, cosh.c, dim.c, div.c, div_2exp.c: - changed Library GPL to Lesser GPL +------------------------------------------------------------------------ +r1265 | daney | 2001-10-16 15:06:29 +0000 (Tue, 16 Oct 2001) | 2 lines +Changed paths: + A /trunk/fma.c - * COPYING.LIB: GNU Lesser General Public License, version 2.1 +ajout de fma -2001-11-16 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r1264 | lefevre | 2001-10-16 10:13:02 +0000 (Tue, 16 Oct 2001) | 2 lines +Changed paths: + M /trunk/sub.c - * ui_pow.c: remove limits.h math.h +Comment: // --> /* ... */ -2001-11-16 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1263 | zimmerma | 2001-10-15 14:19:10 +0000 (Mon, 15 Oct 2001) | 2 lines +Changed paths: + A /trunk/tests/tgeneric.c - * replace_all: now treats all *.h +generic test file -2001-11-16 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r1262 | zimmerma | 2001-10-15 14:16:50 +0000 (Mon, 15 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/reuse.c - * exp2.c: remove the proto, remove math.h +added cast to (void*) for new functions returning an int -2001-11-16 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1261 | zimmerma | 2001-10-15 14:16:25 +0000 (Mon, 15 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tabs.c - * div_ui.c: removed DEBUG's +added test for inexact flag - * div_ui.c: removed old patch for GMP 2.xx +------------------------------------------------------------------------ +r1260 | zimmerma | 2001-10-15 14:15:49 +0000 (Mon, 15 Oct 2001) | 3 lines +Changed paths: + M /trunk/tests/tcos.c - * urandomb.c, swap.c, eq.c: GNU MP -> MPFR +now use tgeneric.c +added more tests - * add_ulp.c, tests/tout_str.c, tests/tabs.c, tests/tadd_ui.c, tests/tagm.c, tests/tcan_round.c, tests/tcmp.c, tests/tcmp_ui.c, tests/tdiv.c, tests/tdump.c, tests/teq.c, tests/texp.c, tests/tget_str.c, tests/thyperbolic.c, tests/tlog.c, tests/tlog2.c, tests/tmul.c, tests/tpi.c, tests/tpow.c, tests/tset_d.c, tests/tset_f.c, tests/tset_q.c, tests/tset_si.c, tests/tset_str.c, tests/tset_z.c, tests/tsin_cos.c, tests/tsqrt.c, tests/tsqrt_ui.c, tests/tswap.c, tests/ttrunc.c, tests/tui_div.c, tests/reuse.c, tests/tmul_2exp.c, tests/trandom.c: - added year 2001 in copyright line +------------------------------------------------------------------------ +r1259 | zimmerma | 2001-10-15 14:15:27 +0000 (Mon, 15 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tcosh.c + M /trunk/tests/texp.c + M /trunk/tests/texp2.c + M /trunk/tests/tlog.c + M /trunk/tests/tsin.c + M /trunk/tests/tsinh.c + M /trunk/tests/ttan.c + M /trunk/tests/ttanh.c - * acosh.c, div_2exp.c, dump.c, exp3.c, exp_2.c, init.c, log2.c, mpfr-test.h, mpfr.h, mpz_set_fr.c, mul_2exp.c, out_str.c, pow_ui.c, print_rnd_mode.c, random.c, random2.c, reldiff.c, save_expo.c, set_dfl_prec.c, set_prc_raw.c, set_prec.c, sqrtrem.c, sub_ui.c, trunc.c, ui_pow_ui.c, cmp.c, cmp_abs.c, cmp_ui.c, div.c, get_str.c, inp_str.c, log.c, mpf2mpfr.h, mpfr-impl.h, mul_ui.c, round.c, set.c, set_d.c, set_f.c, set_q.c, set_str.c, set_z.c, ui_div.c, ui_sub.c: - added year 2001 in copyright line - removed #if __STDC__ +now use tgeneric.c - * sin_cos.c: now two separate files cos.c and sin.c +------------------------------------------------------------------------ +r1258 | zimmerma | 2001-10-15 14:14:38 +0000 (Mon, 15 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/thyperbolic.c - * agm.c, urandomb.c, pi.c, clear.c: added year 2001 in copyright line +fixed test of return values for infinities: foo(+/-Inf) is *exact* - * BUGS: updated +------------------------------------------------------------------------ +r1257 | zimmerma | 2001-10-15 14:13:33 +0000 (Mon, 15 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tset.c - * div2.c: old version, removed +now also try with negative numbers - * Makefile.am: added isinf and isnum (split from isnan) +------------------------------------------------------------------------ +r1256 | zimmerma | 2001-10-15 14:09:24 +0000 (Mon, 15 Oct 2001) | 2 lines +Changed paths: + M /trunk/cos.c + M /trunk/cosh.c + M /trunk/exp.c + M /trunk/exp2.c + M /trunk/exp_2.c + M /trunk/log.c - * isinf.c, isnum.c: new files (split from isnan.c) +implement ternary inexact flag - * acosh.c: removed prototype already in mpfr.h +------------------------------------------------------------------------ +r1255 | zimmerma | 2001-10-15 14:08:57 +0000 (Mon, 15 Oct 2001) | 2 lines +Changed paths: + M /trunk/div_2exp.c + M /trunk/exp3.c + M /trunk/mul_2exp.c - * agm.c: translated french comments to english +implement inexact flag - * algorithms.tex: added mpfr_sub +------------------------------------------------------------------------ +r1254 | zimmerma | 2001-10-15 14:06:46 +0000 (Mon, 15 Oct 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h - * asinh.c: removed prototype already in mpfr.h +return type is now int for mpfr_mul_2exp and mpfr_div_2exp - * atan.c: added static to local functions +------------------------------------------------------------------------ +r1253 | zimmerma | 2001-10-15 14:06:17 +0000 (Mon, 15 Oct 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * atanh.c: removed prototype already in mpfr.h +return type is now int for more functions - * cmp2.c: 1 -> MP_LIMB_T_ONE +------------------------------------------------------------------------ +r1252 | zimmerma | 2001-10-15 14:05:10 +0000 (Mon, 15 Oct 2001) | 2 lines +Changed paths: + M /trunk/random.c - * copysign.c: removed prototype already in mpfr.h +sign was not set - * cos.c: added static to local functions +------------------------------------------------------------------------ +r1251 | zimmerma | 2001-10-15 14:04:24 +0000 (Mon, 15 Oct 2001) | 2 lines +Changed paths: + M /trunk/round.c - * cosh.c: removed prototype already in mpfr.h +rewritten completely mpfr_can_round_raw - * div.c, div_ui.c: 1 -> BITS_PER_MP_LIMB +------------------------------------------------------------------------ +r1250 | zimmerma | 2001-10-15 14:02:37 +0000 (Mon, 15 Oct 2001) | 2 lines +Changed paths: + M /trunk/set.c - * euler.c: added static to local functions - removed prototype already in mpfr.h +documented mpfr_set4 - * exp2.c: removed mpfr_exp2_si (not used) +------------------------------------------------------------------------ +r1249 | zimmerma | 2001-10-15 14:02:13 +0000 (Mon, 15 Oct 2001) | 2 lines +Changed paths: + M /trunk/set_prec.c - * exp3.c: added static to local functions - translated french comments to english +return non-zero if malloc failed - * exp_2.c: added static to local functions +------------------------------------------------------------------------ +r1248 | zimmerma | 2001-10-15 14:01:42 +0000 (Mon, 15 Oct 2001) | 2 lines +Changed paths: + M /trunk/agm.c + M /trunk/set_q.c - * expm1.c: translated french comments to english - removed prototype already in mpfr.h +cosmetic changes - * factorial.c: initialized inexact to 0 +------------------------------------------------------------------------ +r1247 | zimmerma | 2001-10-15 14:01:18 +0000 (Mon, 15 Oct 2001) | 2 lines +Changed paths: + M /trunk/sin.c + M /trunk/sinh.c + M /trunk/tan.c + M /trunk/tanh.c - * generic.c: used TMP_ALLOC - translated french comments to english +implement ternary inexact flag - * get_str.c: simplified test +------------------------------------------------------------------------ +r1246 | zimmerma | 2001-10-15 14:00:45 +0000 (Mon, 15 Oct 2001) | 2 lines +Changed paths: + M /trunk/sqrt_ui.c - * isnan.c: moved inf_p and number_p to different files +avoid one variable - * log1p.c: translated french comments to english - removed prototype already in mpfr.h +------------------------------------------------------------------------ +r1245 | daney | 2001-10-12 15:19:02 +0000 (Fri, 12 Oct 2001) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * log2.c: added static to local functions - explained threshold +correction d'erreurs sur les notations + correction de la regle 9 - * minmax.c: removed prototypes already in mpfr.h +------------------------------------------------------------------------ +r1244 | zimmerma | 2001-10-12 12:56:24 +0000 (Fri, 12 Oct 2001) | 3 lines +Changed paths: + M /trunk/mpfr-impl.h - * mpfr.h: does not include stdio.h any more +fixed MPFR_ASSERT +documented MPFR_ASSERTN and MPFR_ASSERTD - * mpz_set_fr.c: added stdio.h +------------------------------------------------------------------------ +r1243 | zimmerma | 2001-10-12 12:24:18 +0000 (Fri, 12 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tset_f.c - * add_ulp.c, mul.c, mul_ui.c, print_raw.c, round.c, set_z.c, sqrt.c, trunc.c: - 1 -> BITS_PER_MP_LIMB - 1 << (BITS_PER_MP_LIMB - 1) -> MP_LIMB_T_HIGHBIT +added test for mpfr_init_set_f prototype - * out_str.c: removed french comment +------------------------------------------------------------------------ +r1242 | zimmerma | 2001-10-12 12:23:50 +0000 (Fri, 12 Oct 2001) | 3 lines +Changed paths: + M /trunk/tests/tmul_ui.c - * pi.c: added static to local functions +added test for inexact flag +corrected a wrong test - * pow_si.c: removed prototype already in mpfr.h +------------------------------------------------------------------------ +r1241 | zimmerma | 2001-10-12 12:23:11 +0000 (Fri, 12 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * print_raw.c: 1 -> BITS_PER_MP_LIMB - translated french comments to english - added static to local functions +cosmetic change - * random.c, random2.c: 1 -> BITS_PER_MP_LIMB +------------------------------------------------------------------------ +r1240 | zimmerma | 2001-10-12 12:22:36 +0000 (Fri, 12 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am - * reldiff.c: removed french comment +added tsub_ui (did exist but forgotten in Makefile) and tset (new file) - * round.c: 1 -> BITS_PER_MP_LIMB - translated french comments to english +------------------------------------------------------------------------ +r1239 | zimmerma | 2001-10-12 12:21:40 +0000 (Fri, 12 Oct 2001) | 2 lines +Changed paths: + A /trunk/tests/tset.c - * set_d.c: 1 -> BITS_PER_MP_LIMB - added static to local functions +test file for mpfr_set, initial version - * set_z.c: 1 -> BITS_PER_MP_LIMB +------------------------------------------------------------------------ +r1238 | zimmerma | 2001-10-12 12:20:53 +0000 (Fri, 12 Oct 2001) | 3 lines +Changed paths: + M /trunk/mpfr.texi - * sinh.c: removed prototype already in mpfr.h +void -> int as return value for several functions +and explained the ternary return value - * sqrt.c: 1 -> BITS_PER_MP_LIMB +------------------------------------------------------------------------ +r1237 | zimmerma | 2001-10-12 12:19:49 +0000 (Fri, 12 Oct 2001) | 2 lines +Changed paths: + M /trunk/neg.c + M /trunk/set_f.c + M /trunk/ui_sub.c - * sqrtrem.c: 1 -> BITS_PER_MP_LIMB - added static to local functions +implemented inexact flag - * sub1.c: 1 -> BITS_PER_MP_LIMB +------------------------------------------------------------------------ +r1236 | zimmerma | 2001-10-12 12:18:46 +0000 (Fri, 12 Oct 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h - * tanh.c: removed prototype already in mpfr.h +void -> int as return value for new functions implementing inexact flag - * trunc.c: 1 -> BITS_PER_MP_LIMB +------------------------------------------------------------------------ +r1235 | zimmerma | 2001-10-12 12:18:10 +0000 (Fri, 12 Oct 2001) | 2 lines +Changed paths: + M /trunk/set_d.c - * ui_pow.c: removed proto already in mpfr.h +implemeted inexact flag in mpfr_set_d - * urandomb.c: 1 -> MP_LIMB_T_ONE +------------------------------------------------------------------------ +r1234 | zimmerma | 2001-10-12 12:17:24 +0000 (Fri, 12 Oct 2001) | 2 lines +Changed paths: + M /trunk/round.c - * tests/reuse.c, tests/tcos.c, tests/tdump.c, tests/teuler.c, tests/texp.c, tests/tlog2.c, tests/tpi.c, tests/tpow.c, tests/tset_q.c, tests/tset_z.c, tests/tsin.c, tests/tswap.c, tests/ttan.c: - added stdio.h +implemented inexact flag in mpfr_round -2001-11-15 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1233 | zimmerma | 2001-10-12 12:16:13 +0000 (Fri, 12 Oct 2001) | 2 lines +Changed paths: + M /trunk/mul_ui.c - * add.c, add1.c, sub.c, sub1.c, Makefile.am, Makefile.in: - add.c -> add.c & add1.c - sub.c -> sub.c & sub1.c + some changes. +completely rewritten -2001-11-13 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1232 | zimmerma | 2001-10-12 12:15:46 +0000 (Fri, 12 Oct 2001) | 2 lines +Changed paths: + M /trunk/mul.c - * mpfr.texi: iff the results are exact -> iff the result is exact +computation of inexact flag now directly uses mpfr_round_raw -2001-11-10 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1231 | zimmerma | 2001-10-12 12:13:27 +0000 (Fri, 12 Oct 2001) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h - * add.c, cmp.c, cmp_abs.c, exceptions.c, neg.c, round.c, save_expo.c, set.c, set_si.c, set_ui.c: - GNU coding style. K&R function headers removed. +added 'if' in MPFR_ASSERT to avoid compiler warning - * mpfr-impl.h: MP_LIMB_T_ONE defined. - mp_size_unsigned_t defined. - Important bugs fixed (in particular when int has fewer than 32 bits). - Still unavoidable possible bugs due to the fact that mp_size_t is signed. +------------------------------------------------------------------------ +r1230 | zimmerma | 2001-10-12 12:12:07 +0000 (Fri, 12 Oct 2001) | 2 lines +Changed paths: + M /trunk/add.c -2001-11-09 David Daney <daney@greux.loria.fr> +put initial value in variables which may be used without being initialized - * tests/tgamma.c: add tests file for gamma +------------------------------------------------------------------------ +r1229 | zimmerma | 2001-10-12 12:11:23 +0000 (Fri, 12 Oct 2001) | 2 lines +Changed paths: + M /trunk/TODO - * gammaPiAGMformula.c: add gamma function an other version +updated things done, added Rounding section - * gamma.c: add gamma function +------------------------------------------------------------------------ +r1228 | daney | 2001-10-11 16:47:30 +0000 (Thu, 11 Oct 2001) | 2 lines +Changed paths: + M /trunk/algorithms.tex -2001-11-09 Paul Zimmermann <zimmerma@greux.loria.fr> +ajout de log1p et expm1 - * mpfr.texi: mis a` jour valeur de retour de mpfr_tan +------------------------------------------------------------------------ +r1227 | zimmerma | 2001-10-11 15:26:57 +0000 (Thu, 11 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tatan.c -2001-11-09 Vincent Lefevre <lefevre@greux.loria.fr> +reduced number of random tests (took too much time) - * mpfr.texi: Some -'s missing in floating-point. +------------------------------------------------------------------------ +r1226 | zimmerma | 2001-10-11 15:19:04 +0000 (Thu, 11 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tsub.c -2001-11-08 Paul Zimmermann <zimmerma@greux.loria.fr> +added random tests for inexact flag - * mpfr.texi: modifs suite aux remarques de Nathalie +------------------------------------------------------------------------ +r1225 | zimmerma | 2001-10-11 15:18:22 +0000 (Thu, 11 Oct 2001) | 2 lines +Changed paths: + M /trunk/sub.c + M /trunk/sub_ui.c -2001-11-08 David Daney <daney@greux.loria.fr> +implemented inexact flag - * mpfr.h: remove some name of variables +------------------------------------------------------------------------ +r1224 | zimmerma | 2001-10-11 15:05:13 +0000 (Thu, 11 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tsub_ui.c + M /trunk/tests/tui_sub.c -2001-11-08 Vincent Lefevre <lefevre@greux.loria.fr> +added random tests for inexact flag - * cmp2.c, pow2.c: cmp2.c: Integer overflows checked. +------------------------------------------------------------------------ +r1223 | daney | 2001-10-11 14:51:03 +0000 (Thu, 11 Oct 2001) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * isinteger.c, mpfr.h, pow.c, Makefile.am, Makefile.in: Update. +ajout du log generic et de fma - * mpfr.h: Fix. +------------------------------------------------------------------------ +r1222 | zimmerma | 2001-10-11 12:33:08 +0000 (Thu, 11 Oct 2001) | 2 lines +Changed paths: + M /trunk/sqrt.c -2001-11-08 David Daney <daney@greux.loria.fr> +inexact flag was wrong in some cases - * mpfr.h: suppress variable name in dim min max +------------------------------------------------------------------------ +r1221 | zimmerma | 2001-10-11 12:31:37 +0000 (Thu, 11 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c - * isinteger.c: export isinteger in the file isinteger.c +added random tests for inexact flag - * pow_si.c: exporte pow_si from pow2.c to pow_si.c +------------------------------------------------------------------------ +r1220 | zimmerma | 2001-10-11 12:28:53 +0000 (Thu, 11 Oct 2001) | 3 lines +Changed paths: + M /trunk/tests/tasin.c - * pow.c: rename pow2.c in pow.c (source for mpfr_pow) +reduced number of loops per precision from 100 to 10 +(test was too long) - * ui_pow_ui.c: add ui_pow_ui.c (initially in pow.c) +------------------------------------------------------------------------ +r1219 | zimmerma | 2001-10-11 08:25:55 +0000 (Thu, 11 Oct 2001) | 3 lines +Changed paths: + M /trunk/configure - * pow_ui.c: add pow_ui.c file (initially in pow.c) +improved check for gmp-impl.h/config.h/gmp-mparam.h/longlong.h +and corresponding error message -2001-11-08 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1218 | zimmerma | 2001-10-11 08:25:03 +0000 (Thu, 11 Oct 2001) | 2 lines +Changed paths: + M /trunk/INSTALL - * cmp2.c, mpfr-impl.h: mpfr_cmp2: return type changed to mp_prec_t. +stack-alloc.h no longer needed (will be included in gmp-impl.h) -2001-11-08 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r1217 | zimmerma | 2001-10-11 08:24:35 +0000 (Thu, 11 Oct 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * tests/reuse.c: add function test4 for 3 input test + fma tests +stack-alloc.h is no longer needed (will be included in gmp-impl.h) -2001-11-08 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1216 | zimmerma | 2001-10-09 13:25:20 +0000 (Tue, 09 Oct 2001) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * mpfr.h: Macros added. +added proof of rules - * add.c: MP_LIMB_T_MAX instead of (mp_limb_t) -1 (a little nicer...). +------------------------------------------------------------------------ +r1215 | zimmerma | 2001-10-09 11:38:44 +0000 (Tue, 09 Oct 2001) | 2 lines +Changed paths: + M /trunk/tests/tadd.c -2001-11-06 Vincent Lefevre <lefevre@greux.loria.fr> +fixed buggy test - * round.c: Code clean-up. +------------------------------------------------------------------------ +r1214 | zimmerma | 2001-10-05 07:35:10 +0000 (Fri, 05 Oct 2001) | 2 lines +Changed paths: + M /trunk/add.c -2001-11-05 Vincent Lefevre <lefevre@greux.loria.fr> +fixed bug for b + d where b=2^900+2^500+2^110, d=2^900-2^500-2^110 - * exceptions.c: Prototypes for K&R C. +------------------------------------------------------------------------ +r1213 | zimmerma | 2001-10-03 10:24:47 +0000 (Wed, 03 Oct 2001) | 2 lines +Changed paths: + M /trunk/set_d.c + +fixed bug in mpfr_set_d on 64-bit machines + +------------------------------------------------------------------------ +r1212 | zimmerma | 2001-09-28 12:13:30 +0000 (Fri, 28 Sep 2001) | 2 lines +Changed paths: + M /trunk/set_d.c + +fixed a few problems in mpfr_set_d for sizer < MPFR_LIMBS_PER_DOUBLE + +------------------------------------------------------------------------ +r1211 | zimmerma | 2001-09-28 10:15:12 +0000 (Fri, 28 Sep 2001) | 2 lines +Changed paths: + M /trunk/algorithms.bib + +added paper of Brent and McMillan + +------------------------------------------------------------------------ +r1210 | zimmerma | 2001-09-28 10:11:04 +0000 (Fri, 28 Sep 2001) | 2 lines +Changed paths: + M /trunk/tests/texp.c + +does not call compare_exp2_exp3 when argc=4 + +------------------------------------------------------------------------ +r1209 | zimmerma | 2001-09-28 10:09:06 +0000 (Fri, 28 Sep 2001) | 2 lines +Changed paths: + M /trunk/TODO + +added one item + +------------------------------------------------------------------------ +r1208 | zimmerma | 2001-09-28 09:42:22 +0000 (Fri, 28 Sep 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/set_prec.c + +now mpfr_set_prec returns 1 instead of producing an error in case prec=0 + +------------------------------------------------------------------------ +r1207 | daney | 2001-09-27 13:03:29 +0000 (Thu, 27 Sep 2001) | 2 lines +Changed paths: + M /trunk/algorithms.tex + +New version with new generic function + / * etc + +------------------------------------------------------------------------ +r1206 | lefevre | 2001-09-20 15:08:05 +0000 (Thu, 20 Sep 2001) | 2 lines +Changed paths: + M /trunk/BUGS + M /trunk/INSTALL + M /trunk/README + +BUGS updated. + +------------------------------------------------------------------------ +r1205 | lefevre | 2001-09-13 16:35:18 +0000 (Thu, 13 Sep 2001) | 2 lines +Changed paths: + M /trunk/tests/tabs.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tcmp.c + M /trunk/tests/tcos.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/trandom.c + M /trunk/tests/tsin.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/ttan.c + +Prototype changes. + +------------------------------------------------------------------------ +r1204 | lefevre | 2001-09-13 13:20:40 +0000 (Thu, 13 Sep 2001) | 2 lines +Changed paths: + M /trunk/dump.c + M /trunk/set_str.c + M /trunk/set_str_raw.c + +<strings.h> -> <string.h> (ISO C). + +------------------------------------------------------------------------ +r1203 | lefevre | 2001-09-13 13:12:21 +0000 (Thu, 13 Sep 2001) | 2 lines +Changed paths: + M /trunk/set_prc_raw.c + +#include added. + +------------------------------------------------------------------------ +r1202 | lefevre | 2001-09-13 12:32:44 +0000 (Thu, 13 Sep 2001) | 2 lines +Changed paths: + M /trunk/add.c + M /trunk/agm.c + M /trunk/euler.c + M /trunk/init.c + M /trunk/pi.c + M /trunk/print_rnd_mode.c + M /trunk/set_prec.c + M /trunk/tests/reuse.c + M /trunk/tests/tcos.c + M /trunk/tests/tfactorial.c + M /trunk/tests/tisnan.c + M /trunk/tests/tpow.c + M /trunk/tests/tsin.c + M /trunk/tests/tswap.c + M /trunk/tests/ttan.c + +#include added/removed. + +------------------------------------------------------------------------ +r1201 | lefevre | 2001-09-13 12:16:12 +0000 (Thu, 13 Sep 2001) | 2 lines +Changed paths: + M /trunk/configure + M /trunk/configure.in + M /trunk/mpfr-impl.h + +GCC option -Wno-implicit removed and prototype added to mpfr-impl.h + +------------------------------------------------------------------------ +r1200 | lefevre | 2001-09-12 15:51:26 +0000 (Wed, 12 Sep 2001) | 8 lines +Changed paths: + M /trunk/tests/Makefile.am + M /trunk/tests/Makefile.in + +INCLUDES in Makefile.am: -I$(top_srcdir) and @INCLUDES@ swapped. +This defines the following precedence for the tests: + 1) MPFR directories + 2) User-defined directory + 3) GMP include directory +This allows the user to override the GMP longlong.h file with the +gcc-3 one, by using: INCLUDES="-I.../include" ./configure ... + +------------------------------------------------------------------------ +r1199 | lefevre | 2001-09-12 13:50:42 +0000 (Wed, 12 Sep 2001) | 2 lines +Changed paths: + M /trunk/log2.c + +#include order fixed. + +------------------------------------------------------------------------ +r1198 | lefevre | 2001-09-12 12:19:27 +0000 (Wed, 12 Sep 2001) | 2 lines +Changed paths: + M /trunk/tests/tset_si.c + +Tests added (in particular, inex value). + +------------------------------------------------------------------------ +r1197 | lefevre | 2001-09-12 12:19:06 +0000 (Wed, 12 Sep 2001) | 2 lines +Changed paths: + M /trunk/set_si.c + +Bug fixed. + +------------------------------------------------------------------------ +r1196 | lefevre | 2001-09-11 15:21:52 +0000 (Tue, 11 Sep 2001) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +MPFR_RET: definition changed to avoid warning. + +------------------------------------------------------------------------ +r1195 | lefevre | 2001-09-11 14:02:32 +0000 (Tue, 11 Sep 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/set.c + M /trunk/set_si.c + M /trunk/set_ui.c + +Inexact ternary value for mpfr_set4, mpfr_set_ui and mpfr_set_si. + +------------------------------------------------------------------------ +r1194 | lefevre | 2001-09-11 13:55:08 +0000 (Tue, 11 Sep 2001) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + +Macro SAFE_ABS. + +------------------------------------------------------------------------ +r1193 | lefevre | 2001-09-11 13:16:51 +0000 (Tue, 11 Sep 2001) | 3 lines +Changed paths: + M /trunk/exceptions.c + M /trunk/mpfr-impl.h + +Inexact ternary value and flag for mpfr_set_underflow, mpfr_set_overflow +and mpfr_check_range. + +------------------------------------------------------------------------ +r1192 | lefevre | 2001-09-11 03:20:42 +0000 (Tue, 11 Sep 2001) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/set.c + +Macro MPFR_RET added. Ternary value for mpfr_set4. + +------------------------------------------------------------------------ +r1191 | lefevre | 2001-09-11 01:02:15 +0000 (Tue, 11 Sep 2001) | 2 lines +Changed paths: + M /trunk/exceptions.c + M /trunk/mpfr.h + +New flags. + +------------------------------------------------------------------------ +r1190 | lefevre | 2001-09-10 23:58:12 +0000 (Mon, 10 Sep 2001) | 2 lines +Changed paths: + M /trunk/Makefile.in + M /trunk/div.c + M /trunk/mpfr-impl.h + M /trunk/mpfr.texi + M /trunk/mul.c + M /trunk/mul_ui.c + M /trunk/round.c + M /trunk/set.c + M /trunk/set_f.c + M /trunk/set_si.c + M /trunk/set_ui.c + M /trunk/sqrt.c + M /trunk/tests/Makefile.in + +Parameter added to mpfr_round_raw: pointer to inexact ternary value. - * round.c: mpfr_round_raw_generic prototype fixed. +------------------------------------------------------------------------ +r1189 | hanrot | 2001-09-10 16:30:21 +0000 (Mon, 10 Sep 2001) | 2 lines +Changed paths: + M /trunk/set_d.c -2001-11-01 David Daney <daney@greux.loria.fr> +Zqwiuyt - * asin.c: clear xp for Nan Inf or 0 are returned +------------------------------------------------------------------------ +r1188 | hanrot | 2001-09-10 16:21:42 +0000 (Mon, 10 Sep 2001) | 2 lines +Changed paths: + M /trunk/set_d.c - * tests/thyperbolic.c: clear variable if an error is return +Zorgs. - * atanh.c: clear x for Nan inf 0 return +------------------------------------------------------------------------ +r1187 | hanrot | 2001-09-10 15:42:12 +0000 (Mon, 10 Sep 2001) | 2 lines +Changed paths: + M /trunk/set_d.c - * asinh.c: clear x for Nan Inf 0 return +Gleurbs. - * expm1.c: clear te +------------------------------------------------------------------------ +r1186 | hanrot | 2001-09-10 15:40:57 +0000 (Mon, 10 Sep 2001) | 2 lines +Changed paths: + M /trunk/set_d.c -2001-11-01 Vincent Lefevre <lefevre@greux.loria.fr> +Patch grotesque. - * tests/tpow.c: Added prototype. +------------------------------------------------------------------------ +r1185 | hanrot | 2001-09-10 15:20:08 +0000 (Mon, 10 Sep 2001) | 2 lines +Changed paths: + M /trunk/set_d.c - * add.c: Bug fixed. +Patch for the case SIZE(r) < MPFR_LIMBS_PER_DOUBLE. -2001-11-01 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1184 | zimmerma | 2001-09-10 07:47:29 +0000 (Mon, 10 Sep 2001) | 2 lines +Changed paths: + A /trunk/tests/ttan.c - * tests/tfma.c: fixed MLK's +test file for mpfr_tan - * pow2.c: fixed MLK's in mpfr_isinteger +------------------------------------------------------------------------ +r1183 | zimmerma | 2001-09-10 07:47:15 +0000 (Mon, 10 Sep 2001) | 2 lines +Changed paths: + M /trunk/tests/tsin.c - * tests/tpow3.c: fixed MLK's +fixed a few typos - * tests/tui_pow.c: fixed missing mpfr_clear's +------------------------------------------------------------------------ +r1182 | zimmerma | 2001-09-10 07:46:56 +0000 (Mon, 10 Sep 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/tests/reuse.c - * tests/tsin.c: added missing mpfr_clear +added mpfr_tan - * tests/tsub.c: added clear's in bug_ddefour +------------------------------------------------------------------------ +r1181 | zimmerma | 2001-09-10 07:46:37 +0000 (Mon, 10 Sep 2001) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am - * tests/tgeneric.c: added mpfr_clear's +added ttan - * tests/tdiv.c: fixed MLK's +------------------------------------------------------------------------ +r1180 | zimmerma | 2001-09-10 07:45:54 +0000 (Mon, 10 Sep 2001) | 2 lines +Changed paths: + M /trunk/algorithms.tex -2001-10-31 Paul Zimmermann <zimmerma@greux.loria.fr> +added the tangent - * set_str_raw.c: fixed MLK for Inf or Nan +------------------------------------------------------------------------ +r1179 | zimmerma | 2001-09-10 07:45:14 +0000 (Mon, 10 Sep 2001) | 2 lines +Changed paths: + M /trunk/Makefile.am - * tests/tadd.c: fixed MLK in check_case_2 +added tan.c -2001-10-31 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r1178 | zimmerma | 2001-09-10 07:44:05 +0000 (Mon, 10 Sep 2001) | 2 lines +Changed paths: + A /trunk/tan.c - * mpfr.texi: rename factorial -> fac_ui +tangent function -2001-10-30 Fabrice Rouillier <rouillie@greux.loria.fr> +------------------------------------------------------------------------ +r1177 | zimmerma | 2001-09-07 12:46:54 +0000 (Fri, 07 Sep 2001) | 2 lines +Changed paths: + M /trunk/sin_cos.c - * tests/Makefile.in, Makefile.in, gmp_op.c, mpfr.h: - Change mpfr_<op>_mpz to mpfr_<op>_z - Change mpfr_<op>_mpq to mpfr_<op>_q - where <op> is mul,div,add,sub +removed mpfr_sin and mpfr_cos (now separate implementations) -2001-10-30 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r1176 | zimmerma | 2001-09-07 12:45:52 +0000 (Fri, 07 Sep 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h - * factorial.c: correct factorial -> fac_ui in comments +removed sin_cos - * tests/tfactorial.c: rename tfactorial -> fac_ui +------------------------------------------------------------------------ +r1175 | zimmerma | 2001-09-07 12:41:15 +0000 (Fri, 07 Sep 2001) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * factorial.c, mpfr.h: rename factorial -> fac_ui +added sine and cosine -2001-10-27 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1174 | zimmerma | 2001-09-07 12:40:29 +0000 (Fri, 07 Sep 2001) | 2 lines +Changed paths: + M /trunk/Makefile.am - * add.c: Bug fixed. +removed sin_cos, added sin and cos -2001-10-26 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1173 | zimmerma | 2001-09-07 12:37:21 +0000 (Fri, 07 Sep 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * tests/tadd_ui.c, tests/tsub_ui.c: drand -> drand48 +removed mpfr_sin_cos - * tests/tdiv.c: put MAX_PREC back to 100 +------------------------------------------------------------------------ +r1172 | zimmerma | 2001-09-07 12:32:28 +0000 (Fri, 07 Sep 2001) | 2 lines +Changed paths: + M /trunk/tests/reuse.c - * tests/tpow.c: added test for inexact flag +removed sin_cos, added sin and cos - * div_ui.c: use MPFR_RET_NAN and MPFR_RET +------------------------------------------------------------------------ +r1171 | zimmerma | 2001-09-07 12:32:07 +0000 (Fri, 07 Sep 2001) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am - * div.c: removed MPFR_DEBUG_LEVEL definition +removed tsin_cos, added tsin and tcos - * mpfr.texi: mpfr_set_q and mpfr_abs now return an int - mpfr_pow_ui and mpfr_ui_pow_ui now implement exact rounding - updated the documentation of the mpfr_*pow* functions - removed some internal functions +------------------------------------------------------------------------ +r1170 | zimmerma | 2001-09-07 12:30:42 +0000 (Fri, 07 Sep 2001) | 2 lines +Changed paths: + A /trunk/tests/tcos.c + A /trunk/tests/tsin.c - * pow.c: implemented exact rounding (but no ternary flag) +test files for mpfr_cos and mpfr_sin -2001-10-26 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r1169 | zimmerma | 2001-09-07 12:30:14 +0000 (Fri, 07 Sep 2001) | 2 lines +Changed paths: + A /trunk/sin.c - * hypot.c: add some flags +new implementation of mpfr_sin, using mpfr_cos - * fma.c: - mixed version beetwen DD and Pau => (gestion des flag inexacte dirige) +------------------------------------------------------------------------ +r1168 | zimmerma | 2001-09-07 12:29:52 +0000 (Fri, 07 Sep 2001) | 2 lines +Changed paths: + A /trunk/cos.c - * tests/tfma.c: rien +new (faster) implementation of mpfr_cos -2001-10-26 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1167 | lefevre | 2001-09-06 15:59:15 +0000 (Thu, 06 Sep 2001) | 2 lines +Changed paths: + M /trunk/exceptions.c - * tests/tdiv.c: MAX_PREC included +Fix: flags set in mpfr_set_{under,over}flow(). - * set_q.c: implemented inexact flag +------------------------------------------------------------------------ +r1166 | lefevre | 2001-09-06 12:49:53 +0000 (Thu, 06 Sep 2001) | 3 lines +Changed paths: + M /trunk/sub.c -2001-10-26 Guillaume Hanrot <hanrot@greux.loria.fr> +Cases where the result is 0 fixed. +Integer overflow checked in mpfr_sub. - * div.c: Clearing high part of rem2. +------------------------------------------------------------------------ +r1165 | lefevre | 2001-09-06 11:35:12 +0000 (Thu, 06 Sep 2001) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/Makefile.in + M /trunk/add.c -2001-10-26 Fabrice Rouillier <rouillie@greux.loria.fr> +In add.c: use mpfr_cmp_abs instead of mpfr_cmp3; x - x fixed for GMP_RNDD. - * Makefile.am: adds gmp_op.c +------------------------------------------------------------------------ +r1164 | lefevre | 2001-09-06 10:27:57 +0000 (Thu, 06 Sep 2001) | 2 lines +Changed paths: + A /trunk/cmp_abs.c -2001-10-26 Paul Zimmermann <zimmerma@greux.loria.fr> +Compare the absolute values of two nonzero FP numbers. - * mpfr.h: mpfr_set_q now returns an int +------------------------------------------------------------------------ +r1163 | lefevre | 2001-09-05 15:40:47 +0000 (Wed, 05 Sep 2001) | 2 lines +Changed paths: + M /trunk/cmp.c + M /trunk/mpfr.h - * tests/tset_q.c: added test for inexact flag +mpfr_cmp3 changed and integer overflows checked. -2001-10-26 Fabrice Rouillier <rouillie@greux.loria.fr> +------------------------------------------------------------------------ +r1162 | zimmerma | 2001-09-05 09:52:50 +0000 (Wed, 05 Sep 2001) | 2 lines +Changed paths: + M /trunk/TODO - * gmp_op.c: - Adds the file gmp_op.c containing the implementations of operations between - mpfr and mpz/mpq data +added efficiency item -2001-10-26 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r1161 | lefevre | 2001-09-03 14:52:45 +0000 (Mon, 03 Sep 2001) | 2 lines +Changed paths: + M /trunk/add.c - * hypot.c: err <0 => is now tester +Cases [+-]0 + [+-]0 fixed (depending on the rounding mode). -2001-10-26 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r1160 | lefevre | 2001-08-29 15:29:46 +0000 (Wed, 29 Aug 2001) | 2 lines +Changed paths: + M /trunk/set.c - * div.c: - Patch for bits shifted out when the high word of the quotient is nonzero. - Induced error on inexact flag (and hence on rounding in some cases). +Optimization + overflow support. -2001-10-26 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r1159 | lefevre | 2001-08-29 14:10:30 +0000 (Wed, 29 Aug 2001) | 2 lines +Changed paths: + M /trunk/add.c + M /trunk/mpfr-impl.h - * copysign.c: add copysign.c +Case +0 + -0 fixed. -2001-10-26 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1158 | zimmerma | 2001-08-29 12:30:24 +0000 (Wed, 29 Aug 2001) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * tests/tdiv.c: added one test +added one test -2001-10-26 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r1157 | zimmerma | 2001-08-29 09:24:30 +0000 (Wed, 29 Aug 2001) | 2 lines +Changed paths: + M /trunk/tests/tmul_ui.c - * dim.c: simplify dim +another test from Norbert - * tests/thypot.c: add exact flag +------------------------------------------------------------------------ +r1156 | zimmerma | 2001-08-29 09:24:10 +0000 (Wed, 29 Aug 2001) | 2 lines +Changed paths: + M /trunk/mul_ui.c - * pow2.c: err => long int +another fix (final copy when xsize > ysize was wrong) -2001-10-26 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1155 | zimmerma | 2001-08-28 16:15:02 +0000 (Tue, 28 Aug 2001) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * tests/tset.c: added one test +added several tests for case (1b) - * log1p.c: cosmetic changes +------------------------------------------------------------------------ +r1154 | zimmerma | 2001-08-28 15:57:47 +0000 (Tue, 28 Aug 2001) | 2 lines +Changed paths: + M /trunk/mul_ui.c - * round.c: can_round return 0 for b=0 +another fix (previous one was incomplete) -2001-10-26 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r1153 | zimmerma | 2001-08-28 15:56:22 +0000 (Tue, 28 Aug 2001) | 2 lines +Changed paths: + M /trunk/tests/tmul_ui.c - * exp2.c: err => long int +added one more test (from Norbert) - * tests/Makefile.am: add thypot +------------------------------------------------------------------------ +r1152 | lefevre | 2001-08-28 14:20:50 +0000 (Tue, 28 Aug 2001) | 2 lines +Changed paths: + M /trunk/add.c - * log_base_10.c, log_base_2.c: err => long int +Bug fixed. - * Makefile.am: add coopysign +------------------------------------------------------------------------ +r1151 | lefevre | 2001-08-28 10:28:50 +0000 (Tue, 28 Aug 2001) | 2 lines +Changed paths: + M /trunk/add.c - * mpfr.h: add copysign +Bug fixed and update to check the exponents. - * expm1.c: correct mp_prec_t err => long int +------------------------------------------------------------------------ +r1150 | zimmerma | 2001-08-27 14:54:28 +0000 (Mon, 27 Aug 2001) | 2 lines +Changed paths: + M /trunk/tests/tdiv_ui.c - * log1p.c: correst mp_prec_t err => long int +added test for 53 <= xprec, yprec <= 128 -2001-10-26 Fabrice Rouillier <rouillie@greux.loria.fr> +------------------------------------------------------------------------ +r1149 | zimmerma | 2001-08-27 14:10:03 +0000 (Mon, 27 Aug 2001) | 2 lines +Changed paths: + M /trunk/tests/tmul_ui.c - * Makefile.in, mpfr.h, mpfr.texi: - Add multiplication/division/addition/substraction by mpz and mpq +added multiple tests for 53 <= xprec, yprec <= 128 -2001-10-26 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1148 | zimmerma | 2001-08-27 14:09:13 +0000 (Mon, 27 Aug 2001) | 2 lines +Changed paths: + M /trunk/mul_ui.c - * tests/tadd.c: added two tests - fixed bug in generic tests (one more bit is needed to get an exact result) +was completely wrong for ysize > xsize - * add.c: fixed pb with exact results not detected (ck was < 0) +------------------------------------------------------------------------ +r1147 | zimmerma | 2001-08-27 12:47:37 +0000 (Mon, 27 Aug 2001) | 2 lines +Changed paths: + M /trunk/algorithms.tex -2001-10-26 Guillaume Hanrot <hanrot@greux.loria.fr> +added faster formula in exp(-8*n) for Euler's constant - * tests/tfma.c: Rien. +------------------------------------------------------------------------ +r1146 | lefevre | 2001-08-25 09:58:24 +0000 (Sat, 25 Aug 2001) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h - * div.c: - Patch for the computation of the u_lo + r part of the remainder when u_lo = 0. +Assertion support with debug level. -2001-10-26 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1145 | lefevre | 2001-08-25 09:11:18 +0000 (Sat, 25 Aug 2001) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/Makefile.in + M /trunk/add_ui.c + A /trunk/exceptions.c + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + A /trunk/save_expo.c + M /trunk/sub_ui.c - * tests/tui_div.c, tests/tsub.c, tests/tdiv_ui.c, tests/tadd.c: - added test for inexact flag +Some support for exponent change and exceptions. - * sub.c: fixed pbs with inexact flag +------------------------------------------------------------------------ +r1144 | zimmerma | 2001-08-23 14:57:09 +0000 (Thu, 23 Aug 2001) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h - * mpfr.texi: now mpfr_div and mpfr_ui_div return an int +added constant ALPHA (for mpfr_const_euler) - * mpfr.h, ui_div.c: implemented ternary flag in mpfr_ui_div +------------------------------------------------------------------------ +r1143 | zimmerma | 2001-08-23 14:56:36 +0000 (Thu, 23 Aug 2001) | 2 lines +Changed paths: + M /trunk/Makefile.in + M /trunk/tests/Makefile.in - * log_base_2.c: removed unnecessary CLEAR_FLAGS - used MPFR_RET_NAN +added euler/teuler - * tests/tlog_base_2.c: reduced number of tests +------------------------------------------------------------------------ +r1142 | zimmerma | 2001-08-23 14:53:23 +0000 (Thu, 23 Aug 2001) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am - * log_base_10.c: removed unnecessary CLEAR_FLAGS +added teuler - * tests/reuse.c: improved mpfr_compare - fixed wrong function name for mpfr_log2 +------------------------------------------------------------------------ +r1141 | zimmerma | 2001-08-23 14:47:41 +0000 (Thu, 23 Aug 2001) | 2 lines +Changed paths: + M /trunk/Makefile.am - * div_ui.c: rewritten to implement ternary inexact flag +added euler.c - * tests/tfma.c: fixed generic test (pb with double rounding) +------------------------------------------------------------------------ +r1140 | zimmerma | 2001-08-23 14:45:58 +0000 (Thu, 23 Aug 2001) | 2 lines +Changed paths: + M /trunk/add.c - * tests/tdiv.c: increased MAX_PREC +fixed pb with c2 = c2old << dif with dif negative -2001-10-25 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r1139 | zimmerma | 2001-08-23 14:25:50 +0000 (Thu, 23 Aug 2001) | 2 lines +Changed paths: + M /trunk/sub.c - * acosh.c: Changed the type of err from mp_prec_t (unsigned) to int. +fixed bug for (2^53+4) - 1 - * tests/Makefile.in, tests/tdiv.c: Added tests for inexact flag. +------------------------------------------------------------------------ +r1138 | zimmerma | 2001-08-23 13:51:31 +0000 (Thu, 23 Aug 2001) | 2 lines +Changed paths: + M /trunk/tests/tmul_ui.c - * Makefile.in, algorithms.tex, configure, div.c: - Patch for even rounding. +added new test from Norbert Mueller -2001-10-25 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r1137 | zimmerma | 2001-08-23 13:41:17 +0000 (Thu, 23 Aug 2001) | 2 lines +Changed paths: + M /trunk/mul_ui.c - * log_base_2.c, log_base_10.c: rien +fixed pb: sh becomes "negative" -2001-10-25 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1136 | zimmerma | 2001-08-23 11:13:44 +0000 (Thu, 23 Aug 2001) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * tests/reuse.c: Warning avoided. +included Euler's constant -2001-10-25 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1135 | zimmerma | 2001-08-23 11:13:10 +0000 (Thu, 23 Aug 2001) | 2 lines +Changed paths: + A /trunk/algorithms.bib - * tests/Makefile.am: added tfma +bibtex file for algorithms.tex - * tests/tfma.c: slong -> t +------------------------------------------------------------------------ +r1134 | zimmerma | 2001-08-23 11:07:19 +0000 (Thu, 23 Aug 2001) | 2 lines +Changed paths: + A /trunk/tests/teuler.c - * fma.c: nouvelew version (without loop) +test file for mpfr_const_euler -2001-10-25 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r1133 | zimmerma | 2001-08-23 11:06:52 +0000 (Thu, 23 Aug 2001) | 2 lines +Changed paths: + A /trunk/euler.c - * pow2.c, tests/reuse.c: rien +computation of Euler's constant 0.577... - * tests/reuse.c: change +------------------------------------------------------------------------ +r1132 | zimmerma | 2001-08-23 11:06:23 +0000 (Thu, 23 Aug 2001) | 2 lines +Changed paths: + M /trunk/tests/tsub.c -2001-10-25 Vincent Lefevre <lefevre@greux.loria.fr> +added missing prototype - * add.c: Bug fixed. +------------------------------------------------------------------------ +r1131 | zimmerma | 2001-08-23 11:01:31 +0000 (Thu, 23 Aug 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h -2001-10-25 David Daney <daney@greux.loria.fr> +mpfr_const_euler returns an int - * pow2.c: correct bugs with reuse +------------------------------------------------------------------------ +r1130 | zimmerma | 2001-08-23 11:00:34 +0000 (Thu, 23 Aug 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/mpfr.texi - * tests/reuse.c: test for log2 log10 pow +added mpfr_const_euler -2001-10-25 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r1129 | lefevre | 2001-08-22 16:01:37 +0000 (Wed, 22 Aug 2001) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * mpfr.h, div.c: La division nouvelle est arrivee. +Tests added. -2001-10-25 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1128 | lefevre | 2001-08-22 16:01:28 +0000 (Wed, 22 Aug 2001) | 2 lines +Changed paths: + M /trunk/sub.c - * tests/tadd.c: ajoute' nouveau test +Bugs fixed (particular cases). -2001-10-25 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1127 | lefevre | 2001-08-22 15:18:06 +0000 (Wed, 22 Aug 2001) | 2 lines +Changed paths: + M /trunk/add.c - * add.c: Bug fixed. +"mant(c) != 1/2" test was broken. -2001-10-25 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r1126 | lefevre | 2001-08-22 15:05:23 +0000 (Wed, 22 Aug 2001) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * mpfr-impl.h, round.c: - round_raw, round_raw2 -> round_raw_generic. Macros to simulate previous - behaviour. Even rounding returns +- MPFR_EVEN_INEX. +check fixed. Check added: 2^53 + 1 --> 2^53. -2001-10-25 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1125 | lefevre | 2001-08-22 14:24:02 +0000 (Wed, 22 Aug 2001) | 2 lines +Changed paths: + M /trunk/Makefile.in + M /trunk/tests/Makefile.in - * log_base_10.c: fixed pb with mpfr_log10(a, a) with a=-Inf +Update. - * tests/tadd.c: added two tests +------------------------------------------------------------------------ +r1124 | zimmerma | 2001-08-21 15:02:19 +0000 (Tue, 21 Aug 2001) | 2 lines +Changed paths: + M /trunk/tests/tdiv_ui.c - * tests/tcmp.c: added one test +added one test -2001-10-25 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r1123 | zimmerma | 2001-08-21 15:02:05 +0000 (Tue, 21 Aug 2001) | 2 lines +Changed paths: + M /trunk/div_ui.c - * tests/reuse.c: add log2 and log10 +fixed stupid bug when dif < 0 - * log_base_10.c: correction for reuse +------------------------------------------------------------------------ +r1122 | zimmerma | 2001-08-14 14:15:25 +0000 (Tue, 14 Aug 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/mpfr.texi - * log_base_2.c: coorection for reuse +added mpfr_asin -2001-10-25 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1121 | zimmerma | 2001-08-14 14:14:57 +0000 (Tue, 14 Aug 2001) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c - * tests/texceptions.c: test file for testing exceptions +added missing cast -2001-10-25 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1120 | zimmerma | 2001-08-14 13:50:47 +0000 (Tue, 14 Aug 2001) | 2 lines +Changed paths: + A /trunk/tests/tasin.c - * add.c: mpfr_add1 completely rewritten. Overflows are checked. - The ternary value should now be supported (but it hasn't been tested yet). +test file for mpfr_asin -2001-10-25 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r1119 | zimmerma | 2001-08-14 13:47:32 +0000 (Tue, 14 Aug 2001) | 2 lines +Changed paths: + A /trunk/asin.c - * fma.c: new version +arc-sine, contributed by Mathieu Dutour -2001-10-25 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1118 | zimmerma | 2001-08-14 13:37:06 +0000 (Tue, 14 Aug 2001) | 2 lines +Changed paths: + M /trunk/tests/reuse.c - * tests/tmul_ui.c: added one test +added mpfr_asin - * tests/tgeneric.c: - add possibility to define a random function (default is mpfr_random) - to get random variables in specific ranges +------------------------------------------------------------------------ +r1117 | zimmerma | 2001-08-14 13:36:50 +0000 (Tue, 14 Aug 2001) | 2 lines +Changed paths: + A /trunk/tests/tatan.c - * tests/tatanh.c, tests/tasinh.c, tests/tacosh.c: now use tgeneric.c +new name for file tarctan.c - * tests/Makefile.am: added texceptions +------------------------------------------------------------------------ +r1116 | zimmerma | 2001-08-14 13:36:37 +0000 (Tue, 14 Aug 2001) | 2 lines +Changed paths: + D /trunk/tests/tarctan.c - * mpfr.texi: documented exception mechanism (with Vincent Lefe`vre) +renamed to tatan.c - * tests/tfactorial.c: changed stupid test (was computing only 200!) +------------------------------------------------------------------------ +r1115 | zimmerma | 2001-08-14 13:36:10 +0000 (Tue, 14 Aug 2001) | 3 lines +Changed paths: + M /trunk/tests/Makefile.am - * factorial.c: implemented inexact flag +renamed tarctan.c into tatan.c +added tasin.c - * exceptions.c: 1999 -> 2001 +------------------------------------------------------------------------ +r1114 | zimmerma | 2001-08-14 13:32:47 +0000 (Tue, 14 Aug 2001) | 3 lines +Changed paths: + M /trunk/Makefile.am - * add.c: check overflow +renamed arctan.c to atan.c +added asin.c - * tests/tui_sub.c: added two tests +------------------------------------------------------------------------ +r1113 | zimmerma | 2001-08-14 13:32:20 +0000 (Tue, 14 Aug 2001) | 2 lines +Changed paths: + A /trunk/atan.c - * sub.c: implemented overflow/underflow +new name for file arctan.c -2001-10-25 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r1112 | zimmerma | 2001-08-14 13:32:04 +0000 (Tue, 14 Aug 2001) | 2 lines +Changed paths: + D /trunk/arctan.c - * atanh.c: correct atanh(INF)=INF exact +moved to atan.c - * tests/thyperbolic.c: correct test inf for atanh +------------------------------------------------------------------------ +r1111 | zimmerma | 2001-08-14 13:15:56 +0000 (Tue, 14 Aug 2001) | 2 lines +Changed paths: + M /trunk/add.c -2001-10-25 Paul Zimmermann <zimmerma@greux.loria.fr> +low significant bit is in ap[0] and not in ap[an-1] !!! - * mpfr.texi: added warning for mpfr_set_d +------------------------------------------------------------------------ +r1110 | lefevre | 2001-08-13 17:56:06 +0000 (Mon, 13 Aug 2001) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h -2001-10-25 David Daney <daney@greux.loria.fr> +Cleaner MPFR_SET_SAME_SIGN. - * tests/thyperbolic.c: - correct bug in tests file (test of atanh for + or - Inf) +------------------------------------------------------------------------ +r1109 | lefevre | 2001-08-13 04:48:05 +0000 (Mon, 13 Aug 2001) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h -2001-10-25 Paul Zimmermann <zimmerma@greux.loria.fr> +Macros MPFR_SET_SAME_SIGN, MPFR_INIT and MPFR_INIT1 changed to expressions. - * tests/Makefile.am: added tadd_ui (forgotten?) +------------------------------------------------------------------------ +r1108 | lefevre | 2001-08-10 15:40:56 +0000 (Fri, 10 Aug 2001) | 2 lines +Changed paths: + M /trunk/set_si.c + M /trunk/set_ui.c + M /trunk/set_z.c - * tests/tadd_ui.c: added special test +Bugs fixed (wrong types). - * add.c: - fixed bug in rounding part when rounding towards 0 (infinite loop due to bn<an) +------------------------------------------------------------------------ +r1107 | lefevre | 2001-08-10 12:35:30 +0000 (Fri, 10 Aug 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h - * tests/tasinh.c: added one special test +Macros mpfr_init_set_* changed to expressions. -2001-10-24 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r1106 | lefevre | 2001-08-10 12:04:17 +0000 (Fri, 10 Aug 2001) | 2 lines +Changed paths: + M /trunk/Makefile.in - * minmax.c: correct the Nan case +Makefile.in update. - * dim.c: add the function mpfr_dim +------------------------------------------------------------------------ +r1105 | zimmerma | 2001-07-06 14:02:40 +0000 (Fri, 06 Jul 2001) | 2 lines +Changed paths: + M /trunk/tests/tset_str.c - * minmax.c: add function mpfr_min and mpfr_max +edited wrt GNU style - * tests/tasinh.c, tests/tatanh.c: correct these tesats files +------------------------------------------------------------------------ +r1104 | zimmerma | 2001-07-06 13:56:34 +0000 (Fri, 06 Jul 2001) | 2 lines +Changed paths: + M /trunk/get_str.c - * acosh.c, asinh.c, atanh.c, cosh.c, sinh.c, tanh.c: correct some bugs +fixed stupid bug: ceil(a/b) isn't (a+b-1)/a but simply a/b for a negative! -2001-10-24 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1103 | zimmerma | 2001-07-06 13:04:04 +0000 (Fri, 06 Jul 2001) | 2 lines +Changed paths: + M /trunk/sub.c - * tests/Makefile.am: added EXTRA_DIST= tgeneric.c +fixed array bound write (bn < an + cancel1 + 1) -2001-10-24 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r1102 | zimmerma | 2001-07-06 12:32:13 +0000 (Fri, 06 Jul 2001) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h - * tests/Makefile.am: remove tfma +macros MPFR_NOTZERO and MPFR_ISZERO did not work properly with 64-bit words - * tests/tfma.c: add tfma +------------------------------------------------------------------------ +r1101 | zimmerma | 2001-06-29 16:21:05 +0000 (Fri, 29 Jun 2001) | 2 lines +Changed paths: + M /trunk/get_str.c - * acosh.c: acosh revue et corrige...+beau +fixed bug for output base 2^k -2001-10-23 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r1100 | zimmerma | 2001-06-29 16:19:30 +0000 (Fri, 29 Jun 2001) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c - * mpfr.h: add mpfr_log10 +added one test - * Makefile.am: add log_base_10 +------------------------------------------------------------------------ +r1099 | zimmerma | 2001-06-29 16:17:20 +0000 (Fri, 29 Jun 2001) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * tests/Makefile.am: add tlog_base_10 +added a section for the exponential - * tests/tlog_base_10.c: add test file for log_base_10 function +------------------------------------------------------------------------ +r1098 | zimmerma | 2001-06-29 11:56:51 +0000 (Fri, 29 Jun 2001) | 2 lines +Changed paths: + M /trunk/div_ui.c + M /trunk/tests/tdiv_ui.c - * log_base_10.c: add log_base_10 +fixed bug when dividend is 0 - * mpfr.texi: correct a bug in mpfr_log10 section +------------------------------------------------------------------------ +r1097 | zimmerma | 2001-06-28 12:45:27 +0000 (Thu, 28 Jun 2001) | 2 lines +Changed paths: + M /trunk/exp_2.c - * mpfr.texi: add help of log10 + fma +moved TMP_FREE - * log_base_2.c: correct particular cases +------------------------------------------------------------------------ +r1096 | zimmerma | 2001-06-28 12:39:45 +0000 (Thu, 28 Jun 2001) | 2 lines +Changed paths: + M /trunk/TODO - * log_base_2.c: improve the clear flags +added 2 things - * tests/tpow3.c: correction dans l'entete +------------------------------------------------------------------------ +r1095 | zimmerma | 2001-06-27 09:40:24 +0000 (Wed, 27 Jun 2001) | 2 lines +Changed paths: + M /trunk/Makefile.am -2001-10-21 Vincent Lefevre <lefevre@greux.loria.fr> +added mpfr.info to files to remove for "make distclean" - * tests/tdiv.c, tests/reuse.c: Some changes to avoid warnings. +------------------------------------------------------------------------ +r1094 | lefevre | 2001-06-23 01:41:08 +0000 (Sat, 23 Jun 2001) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/Makefile.in + M /trunk/tests/Makefile.am + M /trunk/tests/Makefile.in - * div.c: Bug fixed (char -> int). +Non-existent C source references removed. -2001-10-19 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1093 | lefevre | 2001-06-23 01:13:41 +0000 (Sat, 23 Jun 2001) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h - * tests/Makefile.in, Makefile.in: Update. +Macros MPFR_INIT and MPFR_INIT1 fixed. - * add_ui.c, sub_ui.c: - Bugs fixed concerning the "inexact" ternary value. +------------------------------------------------------------------------ +r1092 | zimmerma | 2001-06-18 13:52:58 +0000 (Mon, 18 Jun 2001) | 2 lines +Changed paths: + M /trunk/agm.c + M /trunk/sqrt.c -2001-10-19 David Daney <daney@greux.loria.fr> +nested double TMP_DECL's - * tests/Makefile.am: suppress thypot tgeneric +------------------------------------------------------------------------ +r1091 | daney | 2001-06-14 15:55:36 +0000 (Thu, 14 Jun 2001) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/Makefile.in + M /trunk/arctan.c + M /trunk/mpfr.h + M /trunk/out_str.c + M /trunk/sin_cos.c + M /trunk/tests/Makefile.am + M /trunk/tests/Makefile.in + M /trunk/tests/reuse.c + M /trunk/tests/tarctan.c + M /trunk/tests/tfactorial.c + M /trunk/ui_sub.c - * tests/Makefile.am: suppress sample +A few patches. -2001-10-19 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1090 | zimmerma | 2001-06-07 14:22:08 +0000 (Thu, 07 Jun 2001) | 3 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/sin_cos.c - * mpfr.h: void -> int as return value for mpfr_add_ui +added mpfr_sin and mpfr_cos +corrected in the documentation some exact values - * add_ui.c: added ternary flag +------------------------------------------------------------------------ +r1089 | zimmerma | 2001-06-01 16:15:23 +0000 (Fri, 01 Jun 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * mpfr.texi: void -> int for mpfr_add and mpfr_add_ui +removed 2 tabs -2001-10-19 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r1088 | zimmerma | 2001-06-01 16:03:15 +0000 (Fri, 01 Jun 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * tests/thypot.c: add test for hypot +added change explaining the LGPL with non-free programs - * tests/Makefile.am: add some test +------------------------------------------------------------------------ +r1087 | hanrot | 2001-05-31 16:56:11 +0000 (Thu, 31 May 2001) | 2 lines +Changed paths: + M /trunk/mul_ui.c - * Makefile.am: add some functions +Patch for the case b = 0 or c = 0. - * mpfr.h: add some proto +------------------------------------------------------------------------ +r1086 | hanrot | 2001-05-23 16:57:20 +0000 (Wed, 23 May 2001) | 2 lines +Changed paths: + M /trunk/tests/tsub.c - * tests/tpow3.c: add test file for pow +Added DDefour's bug. - * mpfr.texi: add the help for pow and pow_si +------------------------------------------------------------------------ +r1085 | hanrot | 2001-05-22 10:29:32 +0000 (Tue, 22 May 2001) | 2 lines +Changed paths: + M /trunk/sub.c - * pow2.c: add the function pow and pow_si +Patch in the case MPFR_PREC(b) > MPFR_PREC(a)+cancel. -2001-10-19 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1084 | lefevre | 2001-05-10 12:31:23 +0000 (Thu, 10 May 2001) | 2 lines +Changed paths: + M /trunk/Makefile.in + M /trunk/mpfr.texi + M /trunk/tests/Makefile.in - * tests/tsub.c: added two tests for 0-c and c-0 with prec(c) > prec(a) +fixed bug in mpfr.texi -2001-10-19 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1083 | daney | 2001-05-10 09:19:25 +0000 (Thu, 10 May 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * neg.c: - Removed #include <stdio.h>, "return 0;" replaced by "MPFR_RET(0);". +correction du bug donne par vincent + ajout des aides des fonctions hyperbolic - * mpfr-impl.h, mpfr.h, sub.c, add.c: - mpfr_add1 and mpfr_sub1 prototypes moved to mpfr-impl.h (to detect clashes). - Bug fix concerning the inexact ternary value in mpfr_sub. - mpfr_add now returns an int (inexact ternary value unsupported if true add). +------------------------------------------------------------------------ +r1082 | daney | 2001-05-09 15:26:28 +0000 (Wed, 09 May 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * Makefile.in: Update. +*** empty log message *** - * set_si.c: Underflow/overflow check. +------------------------------------------------------------------------ +r1081 | zimmerma | 2001-04-20 08:49:45 +0000 (Fri, 20 Apr 2001) | 2 lines +Changed paths: + M /trunk/log.c - * mpfr-impl.h: Documentation updated. +log(0) now returns 0 (exact infinity) - * set_ui.c: Comment added. +------------------------------------------------------------------------ +r1080 | zimmerma | 2001-04-18 16:05:20 +0000 (Wed, 18 Apr 2001) | 2 lines +Changed paths: + M /trunk/log.c - * set.c: MPFR_RET(0) replaced by MPFR_RET_NAN. +fixed pbs with NaN/Inf - * mpfr-impl.h: Macro MPFR_RET_NAN. +------------------------------------------------------------------------ +r1079 | zimmerma | 2001-04-18 11:56:09 +0000 (Wed, 18 Apr 2001) | 2 lines +Changed paths: + M /trunk/sub.c -2001-10-18 Vincent Lefevre <lefevre@greux.loria.fr> +fixed new bug found by Nathalie Revol (case when add_one_ulp produces a carry) - * round.c: Code clean-up in mpfr_round_raw (well... IMHO). +------------------------------------------------------------------------ +r1078 | zimmerma | 2001-04-18 11:51:51 +0000 (Wed, 18 Apr 2001) | 2 lines +Changed paths: + M /trunk/tests/tsub.c -2001-10-18 David Daney <daney@greux.loria.fr> +added new bug found by Nathalie Revol - * ui_pow.c: take in account of CHAR_BIT in ui_pow +------------------------------------------------------------------------ +r1077 | zimmerma | 2001-04-18 11:40:26 +0000 (Wed, 18 Apr 2001) | 2 lines +Changed paths: + M /trunk/sub.c -2001-10-18 Paul Zimmermann <zimmerma@greux.loria.fr> +fixed bug for 1.0000... - 0.000001 for rounding up or nearest - * sqrt.c: cast to mp_limb_t was missing +------------------------------------------------------------------------ +r1076 | revol | 2001-04-17 18:23:18 +0000 (Tue, 17 Apr 2001) | 2 lines +Changed paths: + M /trunk/log.c -2001-10-18 Vincent Lefevre <lefevre@greux.loria.fr> +Case where argument < 0 included, NR 17-04-2001 - * acosh.c, asinh.c, atanh.c, factorial.c: - BITS_PER_CHAR replaced by the standard CHAR_BIT. +------------------------------------------------------------------------ +r1075 | zimmerma | 2001-04-12 21:38:29 +0000 (Thu, 12 Apr 2001) | 2 lines +Changed paths: + M /trunk/tests/tui_sub.c -2001-10-18 Guillaume Hanrot <hanrot@greux.loria.fr> +added new (special) tests - * div.c: *** empty log message *** +------------------------------------------------------------------------ +r1074 | zimmerma | 2001-04-12 21:38:02 +0000 (Thu, 12 Apr 2001) | 2 lines +Changed paths: + A /trunk/tests/tsub.c -2001-10-18 David Daney <daney@greux.loria.fr> +test file for mpfr_sub - * tests/tui_pow.c: add test of ui_pow +------------------------------------------------------------------------ +r1073 | zimmerma | 2001-04-12 21:37:47 +0000 (Thu, 12 Apr 2001) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am - * mpfr.texi: add the help of ui_pow +added tsub - * ui_pow.c: add the function pow(unsign long int, mpfr_t) +------------------------------------------------------------------------ +r1072 | daney | 2001-04-06 09:30:15 +0000 (Fri, 06 Apr 2001) | 2 lines +Changed paths: + M /trunk/exp.c -2001-10-18 Vincent Lefevre <lefevre@greux.loria.fr> +change old exp2 (conflict with 2^x) to exp_2 - * configure, configure.in: Improved configure.in. - configure generated by Autoconf 2.52. +------------------------------------------------------------------------ +r1071 | zimmerma | 2001-04-05 18:29:54 +0000 (Thu, 05 Apr 2001) | 2 lines +Changed paths: + M /trunk/tests/tcmp2.c -2001-10-18 David Daney <daney@greux.loria.fr> +0 -> GMP_RNDN - * exp2.c: ajout du flag inexact +------------------------------------------------------------------------ +r1070 | zimmerma | 2001-04-05 18:29:03 +0000 (Thu, 05 Apr 2001) | 3 lines +Changed paths: + M /trunk/cmp2.c -2001-10-18 Vincent Lefevre <lefevre@greux.loria.fr> +check apart the case c=0 (otherwise some low significant limbs may be +non zero, which may produce a wrong result) - * configure: - fixed and improved check for gmp.h/gmp-impl.h/config.h/gmp-mparam.h/longlong.h - and corresponding error message +------------------------------------------------------------------------ +r1069 | zimmerma | 2001-04-05 18:18:14 +0000 (Thu, 05 Apr 2001) | 2 lines +Changed paths: + M /trunk/exp.c -2001-10-18 David Daney <daney@greux.loria.fr> +mpfr_exp2 -> mpfr_exp_2 - * mpfr.texi: add the help on log2 +------------------------------------------------------------------------ +r1068 | zimmerma | 2001-04-05 17:52:36 +0000 (Thu, 05 Apr 2001) | 2 lines +Changed paths: + M /trunk/tests/texp.c - * tests/tlog_base_2.c: add the test file of the log2 (log in base 2) +mpfr_exp2 -> mpfr_exp_2 - * log_base_2.c: ajout de log2 (log en base 2) +------------------------------------------------------------------------ +r1067 | daney | 2001-04-05 17:42:31 +0000 (Thu, 05 Apr 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h - * tanh.c: correst tanh(0) +reactualise .h -2001-10-18 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1066 | daney | 2001-04-05 17:42:09 +0000 (Thu, 05 Apr 2001) | 2 lines +Changed paths: + M /trunk/tests/thyperbolic.c - * tests/tset_si.c: added two more tests +change header - * set_si.c: - wrong sign passed to mpfr_can_round (mp_limb_t may be unsigned) +------------------------------------------------------------------------ +r1065 | daney | 2001-04-05 17:39:30 +0000 (Thu, 05 Apr 2001) | 2 lines +Changed paths: + M /trunk/tests/reuse.c -2001-10-18 David Daney <daney@greux.loria.fr> +change reuse to suppress factorial - * sinh.c: correct a bug for sinh(Inf) +------------------------------------------------------------------------ +r1064 | daney | 2001-04-05 17:33:16 +0000 (Thu, 05 Apr 2001) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am -2001-10-17 David Daney <daney@greux.loria.fr> +suppress of timing in makefile - * tanh.c: correct syntax of tanh.c +------------------------------------------------------------------------ +r1063 | daney | 2001-04-05 17:22:23 +0000 (Thu, 05 Apr 2001) | 2 lines +Changed paths: + A /trunk/exp_2.c - * sinh.c: correct an error +add the old exp2 function and file renamed by exp_2 - * cosh.c: correct few things +------------------------------------------------------------------------ +r1062 | daney | 2001-04-05 17:20:11 +0000 (Thu, 05 Apr 2001) | 2 lines +Changed paths: + M /trunk/Makefile.am - * cosh.c: little patch for cosh +change makefile for new functions - * tests/texpm1.c: add the test function of expm1 +------------------------------------------------------------------------ +r1061 | daney | 2001-04-05 17:19:21 +0000 (Thu, 05 Apr 2001) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am - * tests/tlog1p.c: add the test of the function log1p +change make file test for hyperbolic function exp2 and factorial - * expm1.c: add the function expm1 +------------------------------------------------------------------------ +r1060 | daney | 2001-04-05 17:17:38 +0000 (Thu, 05 Apr 2001) | 2 lines +Changed paths: + A /trunk/tests/tacosh.c + A /trunk/tests/tasinh.c + A /trunk/tests/tatanh.c + A /trunk/tests/tcosh.c + A /trunk/tests/tsinh.c + A /trunk/tests/ttanh.c - * log1p.c: add the function log1p +add new test file for hyperbolic function - * mpfr.texi: add to mpfr.texi log1p and expm1 +------------------------------------------------------------------------ +r1059 | daney | 2001-04-05 17:16:37 +0000 (Thu, 05 Apr 2001) | 2 lines +Changed paths: + A /trunk/tests/texp2.c + A /trunk/tests/tfactorial.c + A /trunk/tests/thyperbolic.c - * exp2.c: actualisation de exp2.c +add test file for new function - * exp2.c: actualisation de exp2 +------------------------------------------------------------------------ +r1058 | daney | 2001-04-05 17:15:37 +0000 (Thu, 05 Apr 2001) | 2 lines +Changed paths: + M /trunk/exp2.c + A /trunk/factorial.c -2001-10-17 Guillaume Hanrot <hanrot@greux.loria.fr> +add function - * tests/Makefile.in, tests/tdiv.c: New tests in tdiv.c. +------------------------------------------------------------------------ +r1057 | daney | 2001-04-05 17:14:44 +0000 (Thu, 05 Apr 2001) | 2 lines +Changed paths: + A /trunk/acosh.c + A /trunk/asinh.c + A /trunk/atanh.c + A /trunk/sinh.c + A /trunk/tanh.c - * div.c, div2.c: - New division in div.c, old one renamed in mpfr_div2. Remains to implement - exact/inexact flag. Should not be *that* hard. +new file function -2001-10-16 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r1056 | daney | 2001-04-05 17:13:11 +0000 (Thu, 05 Apr 2001) | 2 lines +Changed paths: + A /trunk/cosh.c - * algorithms.tex: ajout de functions pow, fma, hypot etc etc +new function file -2001-10-16 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1055 | zimmerma | 2001-04-05 17:07:35 +0000 (Thu, 05 Apr 2001) | 2 lines +Changed paths: + M /trunk/Makefile.in - * Makefile.am: added fma.c +new version with cmp2.c - * mpfr.h: added prototypes for mpfr_fma and mpfr_hypot +------------------------------------------------------------------------ +r1054 | zimmerma | 2001-04-05 15:53:49 +0000 (Thu, 05 Apr 2001) | 2 lines +Changed paths: + M /trunk/mul.c - * hypot.c: small changes for inexact flag +fixed pb with inexact flag when 'int' and 'mp_limb_t' has different sizes - * fma.c: added some cases for Inf - implement (partly) inexact flag +------------------------------------------------------------------------ +r1053 | daney | 2001-04-05 15:31:42 +0000 (Thu, 05 Apr 2001) | 2 lines +Changed paths: + M /trunk/cmp_ui.c + M /trunk/tests/tcmp_ui.c -2001-10-16 David Daney <daney@greux.loria.fr> +fixed bug for mpfr_cmp_ui (Inf, 0) - * hypot.c: ajout hypot +------------------------------------------------------------------------ +r1052 | daney | 2001-04-05 15:29:31 +0000 (Thu, 05 Apr 2001) | 2 lines +Changed paths: + M /trunk/set_ui.c + M /trunk/tests/tset_si.c - * fma.c: ajout de fma +fixed bug for mpfr_set_ui (x, 0) [was giving -0] -2001-10-16 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r1051 | zimmerma | 2001-04-03 17:36:03 +0000 (Tue, 03 Apr 2001) | 2 lines +Changed paths: + M /trunk/algorithms.tex - * sub.c: Comment: // --> /* ... */ +added algorithm for mpfr_cmp2 -2001-10-15 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1050 | zimmerma | 2001-04-03 17:35:37 +0000 (Tue, 03 Apr 2001) | 2 lines +Changed paths: + M /trunk/Makefile.am - * tests/tgeneric.c: generic test file +added cmp2.c - * tests/reuse.c: - added cast to (void*) for new functions returning an int +------------------------------------------------------------------------ +r1049 | zimmerma | 2001-04-03 17:35:03 +0000 (Tue, 03 Apr 2001) | 2 lines +Changed paths: + M /trunk/cmp2.c - * tests/tabs.c: added test for inexact flag +fixed bug when diff_exp >= BITS_PER_MP_LIMB - * tests/tcos.c: now use tgeneric.c - added more tests +------------------------------------------------------------------------ +r1048 | zimmerma | 2001-04-03 17:34:03 +0000 (Tue, 03 Apr 2001) | 2 lines +Changed paths: + M /trunk/tests/tcmp2.c - * tests/tcosh.c, tests/texp.c, tests/texp2.c: now use tgeneric.c +added new test for worst cases: 1 - 1/2^i and (1 + 1/2^i) - 1/2^i - * tests/thyperbolic.c: - fixed test of return values for infinities: foo(+/-Inf) is *exact* +------------------------------------------------------------------------ +r1047 | zimmerma | 2001-04-03 17:11:08 +0000 (Tue, 03 Apr 2001) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h - * tests/tlog.c: now use tgeneric.c +changed return value of mpfr_cmp2 - * tests/tset.c: now also try with negative numbers +------------------------------------------------------------------------ +r1046 | zimmerma | 2001-04-03 17:10:39 +0000 (Tue, 03 Apr 2001) | 2 lines +Changed paths: + A /trunk/cmp2.c - * tests/tsin.c, tests/tsinh.c, tests/ttan.c, tests/ttanh.c: - now use tgeneric.c +new file for mpfr_cmp2 - * cos.c, cosh.c: implement ternary inexact flag +------------------------------------------------------------------------ +r1045 | zimmerma | 2001-04-03 17:10:23 +0000 (Tue, 03 Apr 2001) | 2 lines +Changed paths: + M /trunk/cmp.c - * div_2exp.c: implement inexact flag +moved mpfr_cmp2 to separate file cmp2.c - * exp.c, exp2.c: implement ternary inexact flag +------------------------------------------------------------------------ +r1044 | zimmerma | 2001-04-03 17:09:44 +0000 (Tue, 03 Apr 2001) | 2 lines +Changed paths: + M /trunk/tests/tcmp2.c - * exp3.c: implement inexact flag +added several tests, and a routine that generates worst cases - * exp_2.c, log.c: implement ternary inexact flag +------------------------------------------------------------------------ +r1043 | zimmerma | 2001-04-03 10:21:10 +0000 (Tue, 03 Apr 2001) | 2 lines +Changed paths: + M /trunk/trunc.c - * mpfr.h: return type is now int for mpfr_mul_2exp and mpfr_div_2exp +two changes suggested by Kevin Ryde - * mpfr.texi: return type is now int for more functions +------------------------------------------------------------------------ +r1042 | zimmerma | 2001-04-02 17:46:07 +0000 (Mon, 02 Apr 2001) | 2 lines +Changed paths: + M /trunk/Makefile.in - * mul_2exp.c: implement inexact flag +new version from new Makefile.am - * random.c: sign was not set +------------------------------------------------------------------------ +r1041 | zimmerma | 2001-03-27 20:23:12 +0000 (Tue, 27 Mar 2001) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * round.c: rewritten completely mpfr_can_round_raw +added new test - * set.c: documented mpfr_set4 +------------------------------------------------------------------------ +r1040 | zimmerma | 2001-03-27 20:22:57 +0000 (Tue, 27 Mar 2001) | 2 lines +Changed paths: + M /trunk/cmp.c - * set_prec.c: return non-zero if malloc failed +fixed new bug in mpfr_cmp2 found by Fabrice - * set_q.c: cosmetic changes +------------------------------------------------------------------------ +r1039 | zimmerma | 2001-03-21 22:07:04 +0000 (Wed, 21 Mar 2001) | 2 lines +Changed paths: + M /trunk/tests/tcmp2.c - * sin.c, sinh.c: implement ternary inexact flag +added new test - * sqrt_ui.c: avoid one variable +------------------------------------------------------------------------ +r1038 | zimmerma | 2001-03-21 22:05:54 +0000 (Wed, 21 Mar 2001) | 2 lines +Changed paths: + M /trunk/cmp.c - * tan.c, tanh.c: implement ternary inexact flag +fixed bug found by Nathalie Revol - * agm.c: cosmetic changes +------------------------------------------------------------------------ +r1037 | zimmerma | 2001-03-20 14:32:26 +0000 (Tue, 20 Mar 2001) | 2 lines +Changed paths: + M /trunk/TODO -2001-10-12 David Daney <daney@greux.loria.fr> +added 2 items - * algorithms.tex: - correction d'erreurs sur les notations + correction de la regle 9 +------------------------------------------------------------------------ +r1036 | zimmerma | 2001-03-20 10:03:08 +0000 (Tue, 20 Mar 2001) | 2 lines +Changed paths: + M /trunk/tests/tcmp_ui.c -2001-10-12 Paul Zimmermann <zimmerma@greux.loria.fr> +added test for mpfr_cmp_ui (-0, 0) - * mpfr-impl.h: fixed MPFR_ASSERT - documented MPFR_ASSERTN and MPFR_ASSERTD +------------------------------------------------------------------------ +r1035 | zimmerma | 2001-03-20 10:02:27 +0000 (Tue, 20 Mar 2001) | 2 lines +Changed paths: + M /trunk/out_str.c - * tests/tset_f.c: added test for mpfr_init_set_f prototype +now prints -0 for -0 - * tests/tmul_ui.c: added test for inexact flag - corrected a wrong test +------------------------------------------------------------------------ +r1034 | revol | 2001-03-19 18:11:09 +0000 (Mon, 19 Mar 2001) | 2 lines +Changed paths: + M /trunk/cmp_ui.c - * tests/tadd.c: cosmetic change +Comparison between 0- and 0 now returns 0, NR 19-03-2001 - * tests/Makefile.am: - added tsub_ui (did exist but forgotten in Makefile) and tset (new file) +------------------------------------------------------------------------ +r1033 | lefevre | 2001-03-16 13:50:18 +0000 (Fri, 16 Mar 2001) | 2 lines +Changed paths: + M /trunk/tests/reuse.c - * tests/tset.c: test file for mpfr_set, initial version +added cast to avoid a warning - * mpfr.texi: void -> int as return value for several functions - and explained the ternary return value +------------------------------------------------------------------------ +r1032 | zimmerma | 2001-03-13 09:32:53 +0000 (Tue, 13 Mar 2001) | 2 lines +Changed paths: + M /trunk/tests/tmul.c - * ui_sub.c, set_f.c: implemented inexact flag +added tests for inexact return value - * mpfr.h: - void -> int as return value for new functions implementing inexact flag +------------------------------------------------------------------------ +r1031 | zimmerma | 2001-03-13 09:32:28 +0000 (Tue, 13 Mar 2001) | 2 lines +Changed paths: + M /trunk/mul.c - * set_d.c: implemeted inexact flag in mpfr_set_d +tiny bug in inexact value determination - * round.c: implemented inexact flag in mpfr_round +------------------------------------------------------------------------ +r1030 | zimmerma | 2001-03-13 08:55:46 +0000 (Tue, 13 Mar 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/mul.c - * neg.c: implemented inexact flag +mpfr_mul now returns an int - * mul_ui.c: completely rewritten +------------------------------------------------------------------------ +r1029 | zimmerma | 2001-03-09 17:52:21 +0000 (Fri, 09 Mar 2001) | 2 lines +Changed paths: + A /trunk/algorithms.tex - * mul.c: computation of inexact flag now directly uses mpfr_round_raw +description of algorithms - * mpfr-impl.h: added 'if' in MPFR_ASSERT to avoid compiler warning +------------------------------------------------------------------------ +r1028 | zimmerma | 2001-03-09 17:14:53 +0000 (Fri, 09 Mar 2001) | 2 lines +Changed paths: + M /trunk/TODO - * add.c: - put initial value in variables which may be used without being initialized +reorganized - * TODO: updated things done, added Rounding section +------------------------------------------------------------------------ +r1027 | zimmerma | 2001-03-08 13:26:07 +0000 (Thu, 08 Mar 2001) | 2 lines +Changed paths: + M /trunk/TODO -2001-10-11 David Daney <daney@greux.loria.fr> +added few things - * algorithms.tex: ajout de log1p et expm1 +------------------------------------------------------------------------ +r1026 | zimmerma | 2001-03-08 13:25:39 +0000 (Thu, 08 Mar 2001) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/mpfr.h -2001-10-11 Paul Zimmermann <zimmerma@greux.loria.fr> +added arc-tangent - * tests/tatan.c: reduced number of random tests (took too much time) +------------------------------------------------------------------------ +r1025 | zimmerma | 2001-03-08 13:24:57 +0000 (Thu, 08 Mar 2001) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am - * tests/tsub.c: added random tests for inexact flag +added tarctan - * sub.c, sub_ui.c: implemented inexact flag +------------------------------------------------------------------------ +r1024 | zimmerma | 2001-03-08 13:24:29 +0000 (Thu, 08 Mar 2001) | 2 lines +Changed paths: + M /trunk/tests/reuse.c - * tests/tui_sub.c, tests/tsub_ui.c: added random tests for inexact flag +added test to mpfr_arctan -2001-10-11 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r1023 | zimmerma | 2001-03-08 13:23:34 +0000 (Thu, 08 Mar 2001) | 2 lines +Changed paths: + M /trunk/tests/tarctan.c - * algorithms.tex: ajout du log generic et de fma +added header -2001-10-11 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r1022 | zimmerma | 2001-03-08 13:22:20 +0000 (Thu, 08 Mar 2001) | 2 lines +Changed paths: + A /trunk/tests/tarctan.c - * sqrt.c: inexact flag was wrong in some cases +test file for mpfr_arctan - * tests/tsqrt.c: added random tests for inexact flag +------------------------------------------------------------------------ +r1021 | zimmerma | 2001-03-08 13:14:26 +0000 (Thu, 08 Mar 2001) | 2 lines +Changed paths: + M /trunk/arctan.c - * tests/tasin.c: reduced number of loops per precision from 100 to 10 - (test was too long) +removed math.h - * configure: - improved check for gmp-impl.h/config.h/gmp-mparam.h/longlong.h - and corresponding error message +------------------------------------------------------------------------ +r1020 | zimmerma | 2001-03-08 13:08:25 +0000 (Thu, 08 Mar 2001) | 2 lines +Changed paths: + A /trunk/arctan.c - * INSTALL: - stack-alloc.h no longer needed (will be included in gmp-impl.h) +arctangent function (contributed by Mathieu Dutour, done slight changes) - * mpfr.texi: - stack-alloc.h is no longer needed (will be included in gmp-impl.h) +------------------------------------------------------------------------ +r1019 | zimmerma | 2001-03-08 13:07:32 +0000 (Thu, 08 Mar 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +added Mathieu Dutour in contributors + +------------------------------------------------------------------------ +r1018 | zimmerma | 2001-03-08 13:06:20 +0000 (Thu, 08 Mar 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +added mpfr_arctan + +------------------------------------------------------------------------ +r1017 | zimmerma | 2001-03-08 11:21:31 +0000 (Thu, 08 Mar 2001) | 2 lines +Changed paths: + M /trunk/tests/tcan_round.c + +added one test + +------------------------------------------------------------------------ +r1016 | zimmerma | 2001-03-08 11:21:14 +0000 (Thu, 08 Mar 2001) | 2 lines +Changed paths: + M /trunk/round.c + +fixed bug in mpfr_can_round_raw, when err > bn*BITS_PER_MP_LIMB + +------------------------------------------------------------------------ +r1015 | zimmerma | 2001-03-08 09:35:03 +0000 (Thu, 08 Mar 2001) | 2 lines +Changed paths: + M /trunk/tests/tset_str.c + +now tset_str <number> <prec> is possible + +------------------------------------------------------------------------ +r1014 | zimmerma | 2001-03-06 16:41:25 +0000 (Tue, 06 Mar 2001) | 2 lines +Changed paths: + M /trunk/out_str.c + +fixed bug for Infinity (was testing zero before) + +------------------------------------------------------------------------ +r1013 | zimmerma | 2001-03-01 10:32:32 +0000 (Thu, 01 Mar 2001) | 2 lines +Changed paths: + M /trunk/set_d.c + +replaced (mp_limb_t) 4294967295 by CNST_LIMB(0xFFFFFFFF) + +------------------------------------------------------------------------ +r1012 | zimmerma | 2001-02-22 13:40:32 +0000 (Thu, 22 Feb 2001) | 2 lines +Changed paths: + M /trunk/set_d.c + +forgot to declare q in mpfr_get_d2 when BITS_PER_MP_LIMB=64 + +------------------------------------------------------------------------ +r1011 | zimmerma | 2001-02-21 10:40:35 +0000 (Wed, 21 Feb 2001) | 2 lines +Changed paths: + M /trunk/set_str.c + +removed fprintf() when unexpected end of string + +------------------------------------------------------------------------ +r1010 | zimmerma | 2001-02-21 10:39:04 +0000 (Wed, 21 Feb 2001) | 2 lines +Changed paths: + M /trunk/mpf2mpfr.h + +added undef's to avoid warnings at compilation + +------------------------------------------------------------------------ +r1009 | zimmerma | 2001-02-19 12:46:07 +0000 (Mon, 19 Feb 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +removed mpfr_set_machine_rnd_mode + +------------------------------------------------------------------------ +r1008 | zimmerma | 2001-02-18 12:16:14 +0000 (Sun, 18 Feb 2001) | 2 lines +Changed paths: + M /trunk/tests/reuse.c + M /trunk/tests/tabs.c + M /trunk/tests/tadd.c + M /trunk/tests/tagm.c + M /trunk/tests/tcan_round.c + M /trunk/tests/tcmp.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/tdump.c + M /trunk/tests/teq.c + M /trunk/tests/texp.c + M /trunk/tests/tget_str.c + M /trunk/tests/tlog.c + M /trunk/tests/tlog2.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tout_str.c + M /trunk/tests/tpi.c + M /trunk/tests/tpow.c + M /trunk/tests/trandom.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_f.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tswap.c + M /trunk/tests/ttrunc.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_sub.c + +changed "int main(..)" to two lines + +------------------------------------------------------------------------ +r1007 | zimmerma | 2001-02-18 12:13:55 +0000 (Sun, 18 Feb 2001) | 2 lines +Changed paths: + M /trunk/get_str.c + +now initialize str_is_null correctly + +------------------------------------------------------------------------ +r1006 | zimmerma | 2001-02-18 12:13:41 +0000 (Sun, 18 Feb 2001) | 2 lines +Changed paths: + M /trunk/tests/tround.c + +added more tests + +------------------------------------------------------------------------ +r1005 | zimmerma | 2001-02-18 12:13:16 +0000 (Sun, 18 Feb 2001) | 2 lines +Changed paths: + M /trunk/round.c + +don't change MPFR_SIZE when allocated size is enough + +------------------------------------------------------------------------ +r1004 | zimmerma | 2001-02-18 12:12:52 +0000 (Sun, 18 Feb 2001) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +updated specification of mpfr_sgn + +------------------------------------------------------------------------ +r1003 | zimmerma | 2001-02-18 12:12:35 +0000 (Sun, 18 Feb 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h + +changed definition of mpfr_sgn to get rid of MPFR_NOTZERO + +------------------------------------------------------------------------ +r1002 | zimmerma | 2001-02-18 12:12:21 +0000 (Sun, 18 Feb 2001) | 2 lines +Changed paths: + M /trunk/out_str.c + +size of freed block by __gmp_free_func was wrong + +------------------------------------------------------------------------ +r1001 | zimmerma | 2001-02-18 12:11:59 +0000 (Sun, 18 Feb 2001) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am + +added tisnan and tget_d + +------------------------------------------------------------------------ +r1000 | zimmerma | 2001-02-18 12:11:40 +0000 (Sun, 18 Feb 2001) | 2 lines +Changed paths: + M /trunk/isnan.c + +fixed bug for Inf (recognized as an ordinary number) + +------------------------------------------------------------------------ +r999 | zimmerma | 2001-02-18 12:11:25 +0000 (Sun, 18 Feb 2001) | 2 lines +Changed paths: + A /trunk/tests/tget_d.c + A /trunk/tests/tisnan.c + +new test file + +------------------------------------------------------------------------ +r998 | zimmerma | 2001-02-16 10:18:33 +0000 (Fri, 16 Feb 2001) | 2 lines +Changed paths: + M /trunk/agm.c + +check overflow in _mpfr_ceil_exp2 + +------------------------------------------------------------------------ +r997 | zimmerma | 2001-02-15 22:19:58 +0000 (Thu, 15 Feb 2001) | 2 lines +Changed paths: + M /trunk/mpfr-test.h + +added prototype for Ulp + +------------------------------------------------------------------------ +r996 | zimmerma | 2001-02-15 22:19:42 +0000 (Thu, 15 Feb 2001) | 2 lines +Changed paths: + M /trunk/isnan.c -2001-10-09 Paul Zimmermann <zimmerma@greux.loria.fr> +changed _d to _p, added mpfr_number_p - * algorithms.tex: added proof of rules +------------------------------------------------------------------------ +r995 | zimmerma | 2001-02-15 22:19:16 +0000 (Thu, 15 Feb 2001) | 2 lines +Changed paths: + M /trunk/round.c - * tests/tadd.c: fixed buggy test +changed MPN_COPY into MPN_COPY_INCR/MPN_COPY_DECR in mpfr_round_raw -2001-10-05 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r994 | zimmerma | 2001-02-15 22:18:55 +0000 (Thu, 15 Feb 2001) | 2 lines +Changed paths: + M /trunk/tests/tsin_cos.c - * add.c: - fixed bug for b + d where b=2^900+2^500+2^110, d=2^900-2^500-2^110 +added tests for one of arguments NULL -2001-10-03 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r993 | zimmerma | 2001-02-15 22:18:16 +0000 (Thu, 15 Feb 2001) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h - * set_d.c: fixed bug in mpfr_set_d on 64-bit machines +moved mpfr_sgn to mpfr.h (defined in manual) -2001-09-28 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r992 | zimmerma | 2001-02-15 22:17:58 +0000 (Thu, 15 Feb 2001) | 2 lines +Changed paths: + M /trunk/mpz_set_fr.c - * set_d.c: - fixed a few problems in mpfr_set_d for sizer < MPFR_LIMBS_PER_DOUBLE +use MPZ_REALLOC - * algorithms.bib: added paper of Brent and McMillan +------------------------------------------------------------------------ +r991 | zimmerma | 2001-02-15 22:17:41 +0000 (Thu, 15 Feb 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/set_str.c - * tests/texp.c: does not call compare_exp2_exp3 when argc=4 +added const to 2nd argument of mpfr_set_str - * TODO: added one item +------------------------------------------------------------------------ +r990 | zimmerma | 2001-02-15 22:17:10 +0000 (Thu, 15 Feb 2001) | 2 lines +Changed paths: + M /trunk/Makefile.am - * mpfr.h, mpfr.texi, set_prec.c: - now mpfr_set_prec returns 1 instead of producing an error in case prec=0 +added set_ui.c -2001-09-27 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r989 | zimmerma | 2001-02-15 22:16:44 +0000 (Thu, 15 Feb 2001) | 3 lines +Changed paths: + M /trunk/set_si.c + A /trunk/set_ui.c - * algorithms.tex: New version with new generic function + / * etc +added cast to "unsigned long" for ai = ABS(i) +moved mpfr_set_ui to separate file -2001-09-20 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r988 | zimmerma | 2001-02-15 22:16:04 +0000 (Thu, 15 Feb 2001) | 2 lines +Changed paths: + M /trunk/get_str.c + M /trunk/mpfr.texi - * BUGS, INSTALL, README: BUGS updated. +now when str==NULL return a block which is exactly strlen(str)+1 bytes long -2001-09-13 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r987 | zimmerma | 2001-02-15 22:15:38 +0000 (Thu, 15 Feb 2001) | 2 lines +Changed paths: + M /trunk/add.c + M /trunk/agm.c + M /trunk/exp2.c + M /trunk/exp3.c + M /trunk/generic.c + M /trunk/log2.c + M /trunk/pi.c + M /trunk/print_raw.c + M /trunk/set_d.c + M /trunk/sin_cos.c + M /trunk/sub.c - * tests/tabs.c, tests/tadd.c, tests/tadd_ui.c, tests/tcmp.c, tests/tcos.c, tests/tmul_ui.c, tests/trandom.c, tests/tsin.c, tests/tsub_ui.c, tests/ttan.c: - Prototype changes. +fixed problems with old K&R compilers (_PROTO missing) - * dump.c, set_str.c, set_str_raw.c: <strings.h> -> <string.h> (ISO C). +------------------------------------------------------------------------ +r986 | zimmerma | 2001-02-08 12:56:50 +0000 (Thu, 08 Feb 2001) | 2 lines +Changed paths: + M /trunk/TODO - * configure, configure.in, mpfr-impl.h: - GCC option -Wno-implicit removed and prototype added to mpfr-impl.h +added more items -2001-09-12 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r985 | zimmerma | 2001-01-23 16:11:30 +0000 (Tue, 23 Jan 2001) | 2 lines +Changed paths: + M /trunk/mpfr-test.h - * tests/Makefile.in, tests/Makefile.am: - INCLUDES in Makefile.am: -I$(top_srcdir) and @INCLUDES@ swapped. - This defines the following precedence for the tests: - 1) MPFR directories - 2) User-defined directory - 3) GMP include directory - This allows the user to override the GMP longlong.h file with the - gcc-3 one, by using: INCLUDES="-I.../include" ./configure ... +fixed ulp computation - * tests/tset_si.c: Tests added (in particular, inex value). +------------------------------------------------------------------------ +r984 | zimmerma | 2001-01-19 16:20:33 +0000 (Fri, 19 Jan 2001) | 2 lines +Changed paths: + M /trunk/tests/tlog.c - * set_si.c: Bug fixed. +changed behaviour for "tlog N": prints only differences with increasing ulps -2001-09-11 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r983 | zimmerma | 2001-01-19 09:55:11 +0000 (Fri, 19 Jan 2001) | 4 lines +Changed paths: + M /trunk/set_d.c - * mpfr-impl.h: MPFR_RET: definition changed to avoid warning. +fixed pb in mpfr_get_d2 for 64-bit machines: in q + res/MP_BASE_AS_DOUBLE, +q seems first to be cast into a double, which gives more than one ulp of +error - * set_ui.c, mpfr.h, set.c, set_si.c: - Inexact ternary value for mpfr_set4, mpfr_set_ui and mpfr_set_si. +------------------------------------------------------------------------ +r982 | zimmerma | 2001-01-18 16:08:34 +0000 (Thu, 18 Jan 2001) | 2 lines +Changed paths: + M /trunk/mpfr.h - * mpfr-impl.h: Macro SAFE_ABS. +added guard to prevent multiple inclusion - * exceptions.c, mpfr-impl.h: - Inexact ternary value and flag for mpfr_set_underflow, mpfr_set_overflow - and mpfr_check_range. +------------------------------------------------------------------------ +r981 | zimmerma | 2001-01-18 08:42:27 +0000 (Thu, 18 Jan 2001) | 2 lines +Changed paths: + M /trunk/cmp.c - * mpfr-impl.h, mpfr.h, set.c: - Macro MPFR_RET added. Ternary value for mpfr_set4. +fixed bug in mpfr_cmp2 (found on the IA64) - * exceptions.c, mpfr.h: New flags. +------------------------------------------------------------------------ +r980 | zimmerma | 2001-01-11 17:26:02 +0000 (Thu, 11 Jan 2001) | 2 lines +Changed paths: + M /trunk/tests/tset_str.c -2001-09-10 Vincent Lefevre <lefevre@greux.loria.fr> +added tests for 0 in mpfr_set_str_raw - * tests/Makefile.in, Makefile.in, div.c, mpfr-impl.h, mpfr.texi, mul.c, mul_ui.c, round.c, set.c, set_f.c, set_si.c, set_ui.c, sqrt.c: - Parameter added to mpfr_round_raw: pointer to inexact ternary value. +------------------------------------------------------------------------ +r979 | zimmerma | 2001-01-11 17:25:28 +0000 (Thu, 11 Jan 2001) | 2 lines +Changed paths: + M /trunk/set_str_raw.c -2001-09-10 Guillaume Hanrot <hanrot@greux.loria.fr> +fixed bug for +0000E0 - * set_d.c: Zqwiuyt +------------------------------------------------------------------------ +r978 | zimmerma | 2001-01-11 16:53:48 +0000 (Thu, 11 Jan 2001) | 2 lines +Changed paths: + M /trunk/sqrtrem.c - * set_d.c: Zorgs. +incorporated changes from Kevin/Torbjorn for GMP 3.2 - * set_d.c: Gleurbs. +------------------------------------------------------------------------ +r977 | zimmerma | 2001-01-11 16:46:03 +0000 (Thu, 11 Jan 2001) | 2 lines +Changed paths: + M /trunk/sin_cos.c - * set_d.c: Patch grotesque. +truncate the last uk (when the precision is not a power of 2) - * set_d.c: Patch for the case SIZE(r) < MPFR_LIMBS_PER_DOUBLE. +------------------------------------------------------------------------ +r976 | zimmerma | 2001-01-11 16:45:01 +0000 (Thu, 11 Jan 2001) | 2 lines +Changed paths: + M /trunk/set_str_raw.c -2001-09-10 Paul Zimmermann <zimmerma@greux.loria.fr> +_mp_allocate_func -> _gmp_allocate_func - * tests/ttan.c: test file for mpfr_tan +------------------------------------------------------------------------ +r975 | zimmerma | 2001-01-11 16:44:24 +0000 (Thu, 11 Jan 2001) | 2 lines +Changed paths: + M /trunk/set_prec.c - * tests/tsin.c: fixed a few typos +_mp_reallocate_func -> _gmp_reallocate_func - * tests/reuse.c: added mpfr_tan +------------------------------------------------------------------------ +r974 | zimmerma | 2001-01-11 16:44:04 +0000 (Thu, 11 Jan 2001) | 2 lines +Changed paths: + M /trunk/set_dfl_prec.c - * tests/Makefile.am: added ttan +__gmp_default_fp_bit_precision -> __mpfr_default_fp_bit_precision - * algorithms.tex: added the tangent +------------------------------------------------------------------------ +r973 | zimmerma | 2001-01-11 16:43:37 +0000 (Thu, 11 Jan 2001) | 2 lines +Changed paths: + M /trunk/print_raw.c + M /trunk/round.c - * Makefile.am: added tan.c +_mp_xxx_func -> _gmp_xxx_func - * mpfr.h: added mpfr_tan +------------------------------------------------------------------------ +r972 | zimmerma | 2001-01-11 16:43:16 +0000 (Thu, 11 Jan 2001) | 2 lines +Changed paths: + M /trunk/random.c - * tan.c: tangent function +removed mpfr_srandom -2001-09-07 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r971 | zimmerma | 2001-01-11 16:42:09 +0000 (Thu, 11 Jan 2001) | 3 lines +Changed paths: + M /trunk/out_str.c - * sin_cos.c: - removed mpfr_sin and mpfr_cos (now separate implementations) +sprintf -> fprintf +_mp_free_func -> _gmp_free_func - * mpfr.h: removed sin_cos +------------------------------------------------------------------------ +r970 | zimmerma | 2001-01-11 16:41:33 +0000 (Thu, 11 Jan 2001) | 2 lines +Changed paths: + M /trunk/mpz_set_fr.c - * algorithms.tex: added sine and cosine +_mp_reallocate_func -> __gmp_reallocate_func - * Makefile.am: removed sin_cos, added sin and cos +------------------------------------------------------------------------ +r969 | zimmerma | 2001-01-11 16:41:09 +0000 (Thu, 11 Jan 2001) | 4 lines +Changed paths: + M /trunk/mpfr.texi - * mpfr.texi: removed mpfr_sin_cos +added paragraph on NaN and infinities, docu on mpfr_nan_d and mpfr_inf_d +removed mpfr_srandom +some renamings - * tests/reuse.c: removed sin_cos, added sin and cos +------------------------------------------------------------------------ +r968 | zimmerma | 2001-01-11 16:39:50 +0000 (Thu, 11 Jan 2001) | 4 lines +Changed paths: + M /trunk/mpfr.h - * tests/Makefile.am: removed tsin_cos, added tsin and tcos +removed srandom +__gmp_default_fp_bit_precision -> __mpfr_default_fp_bit_precision +added protocols for mpfr_get_default_prec, mpfr_nan_d and mpfr_inf_d - * tests/tcos.c, tests/tsin.c: test files for mpfr_cos and mpfr_sin +------------------------------------------------------------------------ +r967 | zimmerma | 2001-01-11 16:38:40 +0000 (Thu, 11 Jan 2001) | 2 lines +Changed paths: + M /trunk/log.c - * sin.c: new implementation of mpfr_sin, using mpfr_cos +removed superfluous TMP_FREE(marker) - * cos.c: new (faster) implementation of mpfr_cos +------------------------------------------------------------------------ +r966 | zimmerma | 2001-01-11 16:37:52 +0000 (Thu, 11 Jan 2001) | 2 lines +Changed paths: + M /trunk/generic.c + M /trunk/get_str.c + M /trunk/init.c + M /trunk/inp_str.c -2001-09-06 Vincent Lefevre <lefevre@greux.loria.fr> +_mp_xxx_func -> _gmp_xxx_func - * exceptions.c: Fix: flags set in mpfr_set_{under,over}flow(). +------------------------------------------------------------------------ +r965 | zimmerma | 2001-01-11 16:22:41 +0000 (Thu, 11 Jan 2001) | 2 lines +Changed paths: + M /trunk/clear.c + M /trunk/dump.c - * sub.c: Cases where the result is 0 fixed. - Integer overflow checked in mpfr_sub. +_mp_free_func -> _gmp_free_func - * Makefile.am, Makefile.in, add.c: - In add.c: use mpfr_cmp_abs instead of mpfr_cmp3; x - x fixed for GMP_RNDD. +------------------------------------------------------------------------ +r964 | zimmerma | 2001-01-11 16:21:43 +0000 (Thu, 11 Jan 2001) | 2 lines +Changed paths: + A /trunk/isnan.c - * cmp_abs.c: Compare the absolute values of two nonzero FP numbers. +functions to check for NaN and infinities -2001-09-05 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r963 | zimmerma | 2001-01-11 16:21:14 +0000 (Thu, 11 Jan 2001) | 2 lines +Changed paths: + M /trunk/Makefile.am - * cmp.c, mpfr.h: mpfr_cmp3 changed and integer overflows checked. +added isnan.c, removed srandom.h -2001-09-05 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r962 | zimmerma | 2001-01-11 16:19:06 +0000 (Thu, 11 Jan 2001) | 2 lines +Changed paths: + M /trunk/TODO - * TODO: added efficiency item +added two items from Kevin -2001-09-03 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r961 | zimmerma | 2001-01-11 16:17:44 +0000 (Thu, 11 Jan 2001) | 2 lines +Changed paths: + M /trunk/TODO - * add.c: Cases [+-]0 + [+-]0 fixed (depending on the rounding mode). +add 2 items -2001-08-29 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r960 | zimmerma | 2001-01-11 16:17:31 +0000 (Thu, 11 Jan 2001) | 2 lines +Changed paths: + M /trunk/NEWS - * set.c: Optimization + overflow support. +0.4 -> 1.0 - * add.c, mpfr-impl.h: Case +0 + -0 fixed. +------------------------------------------------------------------------ +r959 | zimmerma | 2001-01-05 16:24:25 +0000 (Fri, 05 Jan 2001) | 2 lines +Changed paths: + M /trunk/tests/tlog.c -2001-08-29 Paul Zimmermann <zimmerma@greux.loria.fr> +added one test for large operands - * tests/tadd.c: added one test +------------------------------------------------------------------------ +r958 | zimmerma | 2001-01-05 16:23:34 +0000 (Fri, 05 Jan 2001) | 2 lines +Changed paths: + M /trunk/agm.c - * tests/tmul_ui.c: another test from Norbert +fixed bug in _mpfr_ceil_exp2 (underflow when exp < -1022) - * mul_ui.c: another fix (final copy when xsize > ysize was wrong) +------------------------------------------------------------------------ +r957 | zimmerma | 2000-12-22 16:49:12 +0000 (Fri, 22 Dec 2000) | 2 lines +Changed paths: + M /trunk/TODO -2001-08-28 Paul Zimmermann <zimmerma@greux.loria.fr> +remove what was done - * tests/tadd.c: added several tests for case (1b) +------------------------------------------------------------------------ +r956 | zimmerma | 2000-12-22 16:48:24 +0000 (Fri, 22 Dec 2000) | 2 lines +Changed paths: + M /trunk/README - * mul_ui.c: another fix (previous one was incomplete) +added mpfr-test.h - * tests/tmul_ui.c: added one more test (from Norbert) +------------------------------------------------------------------------ +r955 | zimmerma | 2000-12-22 16:44:51 +0000 (Fri, 22 Dec 2000) | 2 lines +Changed paths: + M /trunk/AUTHORS -2001-08-28 Vincent Lefevre <lefevre@greux.loria.fr> +added Vincent - * add.c: Bug fixed. +------------------------------------------------------------------------ +r954 | zimmerma | 2000-12-22 16:41:28 +0000 (Fri, 22 Dec 2000) | 2 lines +Changed paths: + M /trunk/INSTALL + M /trunk/NEWS - * add.c: Bug fixed and update to check the exponents. +1.1 -> 2001 -2001-08-27 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r953 | zimmerma | 2000-12-22 16:17:45 +0000 (Fri, 22 Dec 2000) | 2 lines +Changed paths: + M /trunk/get_str.c - * tests/tdiv_ui.c: added test for 53 <= xprec, yprec <= 128 +cast for _mpfr_floor_log2 was on the wrong side - * tests/tmul_ui.c: added multiple tests for 53 <= xprec, yprec <= 128 +------------------------------------------------------------------------ +r952 | zimmerma | 2000-12-22 16:17:09 +0000 (Fri, 22 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tpow.c - * mul_ui.c: was completely wrong for ysize > xsize +added one test - * algorithms.tex: - added faster formula in exp(-8*n) for Euler's constant +------------------------------------------------------------------------ +r951 | zimmerma | 2000-12-22 16:16:54 +0000 (Fri, 22 Dec 2000) | 2 lines +Changed paths: + M /trunk/agm.c -2001-08-25 Vincent Lefevre <lefevre@greux.loria.fr> +simplified _mpfr_floor_log2 - * mpfr-impl.h: Assertion support with debug level. +------------------------------------------------------------------------ +r950 | zimmerma | 2000-12-22 16:16:35 +0000 (Fri, 22 Dec 2000) | 2 lines +Changed paths: + M /trunk/pow.c - * add_ui.c, exceptions.c, mpfr-impl.h, mpfr.h, save_expo.c, sub_ui.c, Makefile.am, Makefile.in: - Some support for exponent change and exceptions. +code was wrong for infinity -2001-08-23 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r949 | zimmerma | 2000-12-22 15:45:22 +0000 (Fri, 22 Dec 2000) | 2 lines +Changed paths: + M /trunk/log.c - * mpfr-impl.h: added constant ALPHA (for mpfr_const_euler) +only editing - * tests/Makefile.in, Makefile.in: added euler/teuler +------------------------------------------------------------------------ +r948 | zimmerma | 2000-12-22 15:45:04 +0000 (Fri, 22 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tlog.c - * tests/Makefile.am: added teuler +added special() cases - * Makefile.am: added euler.c +------------------------------------------------------------------------ +r947 | zimmerma | 2000-12-22 15:42:49 +0000 (Fri, 22 Dec 2000) | 3 lines +Changed paths: + M /trunk/log2.c - * add.c: fixed pb with c2 = c2old << dif with dif negative +removed #if 0 (on Alpha with cc the enclosed code was still used +since the # was not in the first column) - * sub.c: fixed bug for (2^53+4) - 1 +------------------------------------------------------------------------ +r946 | zimmerma | 2000-12-22 14:55:42 +0000 (Fri, 22 Dec 2000) | 2 lines +Changed paths: + M /trunk/INSTALL - * tests/tmul_ui.c: added new test from Norbert Mueller +changes for version 1.1 - * mul_ui.c: fixed pb: sh becomes "negative" +------------------------------------------------------------------------ +r945 | zimmerma | 2000-12-22 14:52:02 +0000 (Fri, 22 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/texp.c - * algorithms.tex: included Euler's constant +added one test (exp2 vs exp3) - * algorithms.bib: bibtex file for algorithms.tex +------------------------------------------------------------------------ +r944 | zimmerma | 2000-12-22 14:51:00 +0000 (Fri, 22 Dec 2000) | 3 lines +Changed paths: + M /trunk/exp2.c - * tests/teuler.c: test file for mpfr_const_euler +changed c from mp_limb_t into unsigned long in mpfr_exp2_aux2 +(otherwise bugs on IRIX -n32) - * euler.c: computation of Euler's constant 0.577... +------------------------------------------------------------------------ +r943 | zimmerma | 2000-12-22 12:22:13 +0000 (Fri, 22 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tpow.c - * tests/tsub.c: added missing prototype +added one test - * mpfr.h: mpfr_const_euler returns an int +------------------------------------------------------------------------ +r942 | zimmerma | 2000-12-22 12:21:56 +0000 (Fri, 22 Dec 2000) | 2 lines +Changed paths: + M /trunk/pow.c - * mpfr.h, mpfr.texi: added mpfr_const_euler +fixed wrong combination of conditions for Infinity -2001-08-22 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r941 | zimmerma | 2000-12-22 12:10:49 +0000 (Fri, 22 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tcmp2.c - * tests/tadd.c: Tests added. +added mpfr-test.h for MIPS - * sub.c: Bugs fixed (particular cases). +------------------------------------------------------------------------ +r940 | hanrot | 2000-12-22 10:47:43 +0000 (Fri, 22 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/Makefile.in - * add.c: "mant(c) != 1/2" test was broken. +Modified macro calls - * tests/tadd.c: check fixed. Check added: 2^53 + 1 --> 2^53. +------------------------------------------------------------------------ +r939 | zimmerma | 2000-12-22 09:29:05 +0000 (Fri, 22 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tset_str.c - * tests/Makefile.in, Makefile.in: Update. +added cast (int) to random() to avoid warning on Solaris -2001-08-21 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r938 | zimmerma | 2000-12-22 09:07:59 +0000 (Fri, 22 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tset_str.c - * tests/tdiv_ui.c: added one test +added <string.h> - * div_ui.c: fixed stupid bug when dif < 0 +------------------------------------------------------------------------ +r937 | zimmerma | 2000-12-22 08:57:57 +0000 (Fri, 22 Dec 2000) | 2 lines +Changed paths: + M /trunk/sqrtrem.c -2001-08-14 Paul Zimmermann <zimmerma@greux.loria.fr> +tiny change at the end of main routine (suggested by Guillaume) - * mpfr.h: added mpfr_asin +------------------------------------------------------------------------ +r936 | zimmerma | 2000-12-22 08:54:56 +0000 (Fri, 22 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tcmp2.c - * tests/tget_str.c: added missing cast +added one test + +------------------------------------------------------------------------ +r935 | zimmerma | 2000-12-22 08:53:59 +0000 (Fri, 22 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + +added two more tests + +------------------------------------------------------------------------ +r934 | zimmerma | 2000-12-22 08:53:25 +0000 (Fri, 22 Dec 2000) | 2 lines +Changed paths: + M /trunk/sub.c + +fixed bug when c does not overlap with a, b is negative and GMP_RNDN + +------------------------------------------------------------------------ +r933 | zimmerma | 2000-12-22 08:52:20 +0000 (Fri, 22 Dec 2000) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + +moved prototypes for mpfr_set4 and mpfr_cmp3 to mpfr.h + +------------------------------------------------------------------------ +r932 | zimmerma | 2000-12-22 08:51:40 +0000 (Fri, 22 Dec 2000) | 2 lines +Changed paths: + M /trunk/cmp.c + +fixed bug in mpfr_cmp2 when d=0 and lots of bits match + +------------------------------------------------------------------------ +r931 | zimmerma | 2000-12-22 08:50:43 +0000 (Fri, 22 Dec 2000) | 2 lines +Changed paths: + M /trunk/INSTALL + M /trunk/NEWS + +updated for version 1.1 + +------------------------------------------------------------------------ +r930 | zimmerma | 2000-12-21 17:23:51 +0000 (Thu, 21 Dec 2000) | 2 lines +Changed paths: + A /trunk/tests/tpow.c + +test file for power functions + +------------------------------------------------------------------------ +r929 | zimmerma | 2000-12-21 17:22:42 +0000 (Thu, 21 Dec 2000) | 2 lines +Changed paths: + A /trunk/tests/reuse.c + +test file for in-place operations + +------------------------------------------------------------------------ +r928 | zimmerma | 2000-12-21 17:17:51 +0000 (Thu, 21 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/texp.c + M /trunk/tests/tget_str.c + M /trunk/tests/tlog.c + M /trunk/tests/tmul.c + M /trunk/tests/tout_str.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_sub.c + +unsigned char (or int) -> mp_rnd_t + +------------------------------------------------------------------------ +r927 | zimmerma | 2000-12-21 17:12:14 +0000 (Thu, 21 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tagm.c + +unsigned char -> mp_rnd_t + +------------------------------------------------------------------------ +r926 | zimmerma | 2000-12-21 17:11:31 +0000 (Thu, 21 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + +unsigned int -> mp_rnd_t + +------------------------------------------------------------------------ +r925 | zimmerma | 2000-12-21 17:08:38 +0000 (Thu, 21 Dec 2000) | 4 lines +Changed paths: + M /trunk/add.c + M /trunk/add_ui.c + M /trunk/agm.c + M /trunk/cmp.c + M /trunk/cmp_ui.c + M /trunk/div.c + M /trunk/div_ui.c + M /trunk/exp.c + M /trunk/exp2.c + M /trunk/exp3.c + M /trunk/get_str.c + M /trunk/inp_str.c + M /trunk/log.c + M /trunk/log2.c + M /trunk/out_str.c + M /trunk/pi.c + M /trunk/pow.c + M /trunk/print_raw.c + M /trunk/reldiff.c + M /trunk/set_d.c + M /trunk/sin_cos.c + M /trunk/sqrt.c + M /trunk/sqrt_ui.c + M /trunk/sub.c + M /trunk/sub_ui.c + M /trunk/tests/tcmp.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tdump.c + M /trunk/tests/teq.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/trandom.c + M /trunk/tests/ttrunc.c + M /trunk/trunc.c + M /trunk/ui_div.c + M /trunk/ui_sub.c + +k2r -> ansi style +removed #include <math.h> by defining auxiliary functions +fixed several tiny remaining bugs with NaN/Inf + +------------------------------------------------------------------------ +r924 | zimmerma | 2000-12-21 17:07:12 +0000 (Thu, 21 Dec 2000) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +updated description of mpfr_cmp* and mpfr_sin_cos + +------------------------------------------------------------------------ +r923 | zimmerma | 2000-12-21 17:06:15 +0000 (Thu, 21 Dec 2000) | 2 lines +Changed paths: + M /trunk/mpfr.h + +added MPFR_SIGN + +------------------------------------------------------------------------ +r922 | zimmerma | 2000-12-21 17:05:49 +0000 (Thu, 21 Dec 2000) | 5 lines +Changed paths: + M /trunk/mpfr-impl.h + +added MPFR_CLEAR_NAN +MPFR_RESET_INF -> MPFR_CLEAR_INF +moved MPFR_SIGN to mpfr.h +added prototypes for log2/isqrt/cuberoot functions + +------------------------------------------------------------------------ +r921 | zimmerma | 2000-12-21 17:04:24 +0000 (Thu, 21 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am + +added reuse, tcmp2, teq, tpow, trandom, ttrunc + +------------------------------------------------------------------------ +r920 | zimmerma | 2000-12-21 17:02:25 +0000 (Thu, 21 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tui_div.c + M /trunk/tests/tui_sub.c + +removed isnan(), ... + +------------------------------------------------------------------------ +r919 | zimmerma | 2000-12-21 17:00:59 +0000 (Thu, 21 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tsqrt_ui.c + +removed gmp-impl.h, isnan(), ... + +------------------------------------------------------------------------ +r918 | zimmerma | 2000-12-21 17:00:21 +0000 (Thu, 21 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c + +removed gmp-impl, isnan(), ... + +------------------------------------------------------------------------ +r917 | zimmerma | 2000-12-21 16:59:24 +0000 (Thu, 21 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tsin_cos.c + +removed cputime stuff + +------------------------------------------------------------------------ +r916 | zimmerma | 2000-12-21 16:58:24 +0000 (Thu, 21 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c + M /trunk/tests/tset_z.c + +k&r -> ansi style + +------------------------------------------------------------------------ +r915 | zimmerma | 2000-12-21 16:57:08 +0000 (Thu, 21 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tlog.c + M /trunk/tests/tout_str.c + +removed isnan() decl. + +------------------------------------------------------------------------ +r914 | zimmerma | 2000-12-21 16:55:30 +0000 (Thu, 21 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tmul.c + +MINNORM -> mpfr-test.h + +------------------------------------------------------------------------ +r913 | zimmerma | 2000-12-21 16:52:57 +0000 (Thu, 21 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/texp.c + +ulp -> mpfr-test.h + +------------------------------------------------------------------------ +r912 | zimmerma | 2000-12-21 16:51:36 +0000 (Thu, 21 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tdiv_ui.c + +removed isnan() declaration + +------------------------------------------------------------------------ +r911 | zimmerma | 2000-12-21 16:50:48 +0000 (Thu, 21 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c + +now use MINNORM and MAXNORM + +------------------------------------------------------------------------ +r910 | zimmerma | 2000-12-21 16:49:00 +0000 (Thu, 21 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tagm.c + +max, min -> macros + +------------------------------------------------------------------------ +r909 | zimmerma | 2000-12-21 12:10:49 +0000 (Thu, 21 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + +added new tests + +------------------------------------------------------------------------ +r908 | zimmerma | 2000-12-21 12:07:52 +0000 (Thu, 21 Dec 2000) | 2 lines +Changed paths: + M /trunk/mpfr-test.h + +added MINNORM, MAXNORM, MIN, MAX, ABS + +------------------------------------------------------------------------ +r907 | hanrot | 2000-12-20 16:36:05 +0000 (Wed, 20 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/texp.c + M /trunk/tests/tset_str.c + +A few basic patches. + +------------------------------------------------------------------------ +r906 | hanrot | 2000-12-20 16:35:55 +0000 (Wed, 20 Dec 2000) | 2 lines +Changed paths: + M /trunk/rnd_mode.c + +Added support for PPC/Linux + +------------------------------------------------------------------------ +r905 | hanrot | 2000-12-20 14:54:10 +0000 (Wed, 20 Dec 2000) | 2 lines +Changed paths: + M /trunk/mpfr-test.h + +Patch for wrong prototype. + +------------------------------------------------------------------------ +r904 | hanrot | 2000-12-20 10:49:00 +0000 (Wed, 20 Dec 2000) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/Makefile.in + M /trunk/configure + M /trunk/cputime.h + M /trunk/mpfr-test.h + M /trunk/tests/Makefile.in + M /trunk/tests/tadd.c + M /trunk/tests/tagm.c + M /trunk/tests/tcmp.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/texp.c + M /trunk/tests/tget_str.c + M /trunk/tests/tlog.c + M /trunk/tests/tmul.c + M /trunk/tests/tout_str.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_sub.c + +Added prototypes for all test files. + +------------------------------------------------------------------------ +r903 | lefevre | 2000-12-18 15:07:51 +0000 (Mon, 18 Dec 2000) | 2 lines +Changed paths: + M /trunk/add_ulp.c + M /trunk/extract.c + M /trunk/mpz_set_fr.c + M /trunk/set_d.c + M /trunk/set_q.c + M /trunk/set_z.c + +Warnings suppressed on Alpha/OSF1. + +------------------------------------------------------------------------ +r902 | zimmerma | 2000-12-18 09:44:06 +0000 (Mon, 18 Dec 2000) | 2 lines +Changed paths: + M /trunk/Makefile.am + +added mpfr-test.h + +------------------------------------------------------------------------ +r901 | zimmerma | 2000-12-18 09:40:46 +0000 (Mon, 18 Dec 2000) | 2 lines +Changed paths: + M /trunk/aclocal.m4 + +back to 1.3 + +------------------------------------------------------------------------ +r900 | zimmerma | 2000-12-18 09:06:50 +0000 (Mon, 18 Dec 2000) | 2 lines +Changed paths: + A /trunk/mpfr-test.h + +auxiliary test files + +------------------------------------------------------------------------ +r899 | zimmerma | 2000-12-18 09:06:34 +0000 (Mon, 18 Dec 2000) | 2 lines +Changed paths: + D /trunk/tests/mpfr-test.h + +moved to main directory + +------------------------------------------------------------------------ +r898 | zimmerma | 2000-12-18 09:02:54 +0000 (Mon, 18 Dec 2000) | 2 lines +Changed paths: + A /trunk/tests/mpfr-test.h + +auxiliary test functions + +------------------------------------------------------------------------ +r897 | zimmerma | 2000-12-18 09:02:00 +0000 (Mon, 18 Dec 2000) | 5 lines +Changed paths: + M /trunk/Makefile.in + M /trunk/aclocal.m4 + M /trunk/add.c + M /trunk/add_ui.c + M /trunk/add_ulp.c + M /trunk/agm.c + M /trunk/clear.c + M /trunk/cmp.c + M /trunk/cmp_ui.c + M /trunk/configure + M /trunk/div.c + M /trunk/div_2exp.c + M /trunk/div_ui.c + M /trunk/dump.c + M /trunk/eq.c + M /trunk/exp.c + M /trunk/exp2.c + M /trunk/exp3.c + M /trunk/extract.c + M /trunk/generic.c + M /trunk/get_str.c + M /trunk/init.c + M /trunk/log.c + M /trunk/log2.c + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/mpz_set_fr.c + M /trunk/mul.c + M /trunk/mul_2exp.c + M /trunk/mul_ui.c + M /trunk/neg.c + M /trunk/out_str.c + M /trunk/pi.c + M /trunk/pow.c + M /trunk/print_raw.c + M /trunk/random.c + M /trunk/random2.c + M /trunk/round.c + M /trunk/set.c + M /trunk/set_d.c + M /trunk/set_f.c + M /trunk/set_prc_raw.c + M /trunk/set_prec.c + M /trunk/set_q.c + M /trunk/set_si.c + M /trunk/set_str.c + M /trunk/set_str_raw.c + M /trunk/set_z.c + M /trunk/sin_cos.c + M /trunk/sqrt.c + M /trunk/sqrt_ui.c + M /trunk/sqrtrem.c + M /trunk/sub.c + M /trunk/sub_ui.c + M /trunk/swap.c + M /trunk/tests/Makefile.in + M /trunk/tests/tabs.c + M /trunk/tests/tadd.c + M /trunk/tests/tagm.c + M /trunk/tests/tcmp.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/tget_str.c + M /trunk/tests/tlog.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tout_str.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_sub.c + M /trunk/trunc.c + M /trunk/ui_div.c + M /trunk/ui_sub.c + M /trunk/urandomb.c + +changed name of mpfr struct fields: _mp_d -> _mpfr_d + (to detect conflicts with mpf) +fixed a few problems in non-STDC headers +moved definitions of mpfr-impl.h to mpfr-test.h and created a real mpfr-impl.h + +------------------------------------------------------------------------ +r896 | zimmerma | 2000-12-15 17:46:34 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am + +removed tzeta + +------------------------------------------------------------------------ +r895 | zimmerma | 2000-12-15 17:42:59 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +explained how to enter NaN/Inf with mpfr_set_str_raw + +------------------------------------------------------------------------ +r894 | zimmerma | 2000-12-15 17:42:21 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/Makefile.am + +removed zeta.c + +------------------------------------------------------------------------ +r893 | zimmerma | 2000-12-15 17:40:47 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/zeta.c + +added 'to do' for NaN/Inf flags + +------------------------------------------------------------------------ +r892 | zimmerma | 2000-12-15 17:39:14 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/urandomb.c + +clear NaN/Inf flags of result + +------------------------------------------------------------------------ +r891 | zimmerma | 2000-12-15 17:37:33 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/ui_sub.c + +improved indentation + +------------------------------------------------------------------------ +r890 | zimmerma | 2000-12-15 17:35:00 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/trunc.c + M /trunk/ui_div.c + +adapted to NaN/Inf + +------------------------------------------------------------------------ +r889 | zimmerma | 2000-12-15 17:29:01 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/sub_ui.c + +nothing (only better indenting) + +------------------------------------------------------------------------ +r888 | zimmerma | 2000-12-15 17:27:03 +0000 (Fri, 15 Dec 2000) | 3 lines +Changed paths: + M /trunk/sub.c + +adapted to NaN/Inf +removed warnings + +------------------------------------------------------------------------ +r887 | zimmerma | 2000-12-15 17:21:32 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/sqrt_ui.c + +adapted to NaN/Inf + +------------------------------------------------------------------------ +r886 | zimmerma | 2000-12-15 17:20:55 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/generic.c + M /trunk/sin_cos.c + +removed warnings + +------------------------------------------------------------------------ +r885 | zimmerma | 2000-12-15 17:11:49 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/sqrt.c - * mpfr.texi: added mpfr_asin +clear NaN/Inf flags in normal case - * tests/tasin.c: test file for mpfr_asin +------------------------------------------------------------------------ +r884 | zimmerma | 2000-12-15 17:06:11 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/set_str_raw.c + M /trunk/set_z.c - * asin.c: arc-sine, contributed by Mathieu Dutour +adapted to NaN/Inf - * tests/reuse.c: added mpfr_asin +------------------------------------------------------------------------ +r883 | zimmerma | 2000-12-15 16:55:19 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/mpfr.h - * tests/tatan.c: new name for file tarctan.c +added prototype for mpfr_srandom - * tests/tarctan.c: renamed to tatan.c +------------------------------------------------------------------------ +r882 | zimmerma | 2000-12-15 16:54:50 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/random.c - * tests/Makefile.am: renamed tarctan.c into tatan.c - added tasin.c +now uses directly mpn_random, to avoid all problems with include files - * Makefile.am: renamed arctan.c to atan.c - added asin.c +------------------------------------------------------------------------ +r881 | zimmerma | 2000-12-15 16:45:41 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tsin_cos.c - * atan.c: new name for file arctan.c +added 4 tests - * arctan.c: moved to atan.c +------------------------------------------------------------------------ +r880 | zimmerma | 2000-12-15 16:45:05 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/sqrt.c + M /trunk/sqrt_ui.c + M /trunk/sub_ui.c + M /trunk/ui_div.c + M /trunk/ui_sub.c - * add.c: low significant bit is in ap[0] and not in ap[an-1] !!! +_mp_d -> MPFR_MANT -2001-08-13 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r879 | zimmerma | 2000-12-15 16:41:07 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/set_prec.c + M /trunk/set_str_raw.c - * mpfr-impl.h: Cleaner MPFR_SET_SAME_SIGN. +added error message when memory allocation fails - * mpfr-impl.h: - Macros MPFR_SET_SAME_SIGN, MPFR_INIT and MPFR_INIT1 changed to expressions. +------------------------------------------------------------------------ +r878 | zimmerma | 2000-12-15 16:27:51 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/get_str.c + M /trunk/inp_str.c + M /trunk/mpz_set_fr.c + M /trunk/print_raw.c + M /trunk/round.c -2001-08-10 Vincent Lefevre <lefevre@greux.loria.fr> +added error message when memory allocation fails - * set_ui.c, set_z.c, set_si.c: Bugs fixed (wrong types). +------------------------------------------------------------------------ +r877 | zimmerma | 2000-12-15 16:26:53 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/div.c + M /trunk/eq.c + M /trunk/log.c - * mpfr.h: Macros mpfr_init_set_* changed to expressions. +_mp_d -> MPFR_MANT - * Makefile.in: Makefile.in update. +------------------------------------------------------------------------ +r876 | zimmerma | 2000-12-15 16:26:09 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/init.c -2001-07-06 Paul Zimmermann <zimmerma@greux.loria.fr> +0 -> NULL - * tests/tset_str.c: edited wrt GNU style +------------------------------------------------------------------------ +r875 | zimmerma | 2000-12-15 16:25:14 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/generic.c + +added error message if memory allocation fails + +------------------------------------------------------------------------ +r874 | zimmerma | 2000-12-15 16:24:35 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/exp2.c + +_mp_d -> PTR + +------------------------------------------------------------------------ +r873 | zimmerma | 2000-12-15 16:23:08 +0000 (Fri, 15 Dec 2000) | 3 lines +Changed paths: + M /trunk/agm.c + +_mp_prec -> MPFR_PREC +_mp_d -> MPFR_MANT + +------------------------------------------------------------------------ +r872 | zimmerma | 2000-12-15 16:18:53 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/mpf2mpfr.h + M /trunk/mpfr.h + +added mpfr_swap + +------------------------------------------------------------------------ +r871 | zimmerma | 2000-12-15 15:09:30 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/mpfr.h + +removed MPFR_SET_IS_FP (not used) + +------------------------------------------------------------------------ +r870 | hanrot | 2000-12-15 14:42:57 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/init.c + M /trunk/log.c + M /trunk/mpfr.h + M /trunk/mul.c + M /trunk/pow.c + +A few patches. + +------------------------------------------------------------------------ +r869 | lefevre | 2000-12-15 14:36:22 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/mpfr.h + +MPFR_CHANGE_SIGN modified to avoid a possible side effect. + +------------------------------------------------------------------------ +r868 | zimmerma | 2000-12-15 14:24:11 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/set_f.c + +warning: x is a MPF not a MPFR! + +------------------------------------------------------------------------ +r867 | hanrot | 2000-12-15 14:12:30 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/random.c + +Modification of the order of includes in random.c + +------------------------------------------------------------------------ +r866 | lefevre | 2000-12-15 12:56:19 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/Makefile.in + M /trunk/configure + M /trunk/configure.in + M /trunk/tests/Makefile.in + +Added some warning flags for GCC. + +------------------------------------------------------------------------ +r865 | hanrot | 2000-12-15 12:50:28 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + A /trunk/srandom.h + +Header file for srandom() + +------------------------------------------------------------------------ +r864 | hanrot | 2000-12-15 12:21:35 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/add_ulp.c + M /trunk/exp.c + M /trunk/exp2.c + M /trunk/mpfr.h + M /trunk/pow.c + M /trunk/random.c + +Patches for compiler warnings. + +------------------------------------------------------------------------ +r863 | hanrot | 2000-12-15 11:16:40 +0000 (Fri, 15 Dec 2000) | 2 lines +Changed paths: + M /trunk/add_ui.c + M /trunk/cmp.c + M /trunk/cmp_ui.c + M /trunk/div.c + M /trunk/get_str.c + M /trunk/log2.c + M /trunk/mpz_set_fr.c + M /trunk/mul_ui.c + M /trunk/pi.c + M /trunk/random.c + M /trunk/random2.c + M /trunk/set_d.c + M /trunk/set_f.c + M /trunk/set_q.c + M /trunk/set_si.c + M /trunk/set_str.c + M /trunk/set_str_raw.c + M /trunk/set_z.c + M /trunk/sub_ui.c + M /trunk/ui_div.c + M /trunk/ui_sub.c + M /trunk/urandomb.c + M /trunk/zeta.c + +Yet another patch for include files. + +------------------------------------------------------------------------ +r862 | hanrot | 2000-12-15 11:05:55 +0000 (Fri, 15 Dec 2000) | 3 lines +Changed paths: + M /trunk/add_ui.c + M /trunk/add_ulp.c + M /trunk/agm.c + M /trunk/clear.c + M /trunk/cmp.c + M /trunk/cmp_ui.c + M /trunk/div.c + M /trunk/div_2exp.c + M /trunk/div_ui.c + M /trunk/dump.c + M /trunk/eq.c + M /trunk/exp.c + M /trunk/exp2.c + M /trunk/exp3.c + M /trunk/extract.c + M /trunk/get_str.c + M /trunk/init.c + M /trunk/inp_str.c + M /trunk/log.c + M /trunk/log2.c + M /trunk/mpz_set_fr.c + M /trunk/mul.c + M /trunk/mul_2exp.c + M /trunk/mul_ui.c + M /trunk/neg.c + M /trunk/out_str.c + M /trunk/pi.c + M /trunk/print_raw.c + M /trunk/print_rnd_mode.c + M /trunk/random.c + M /trunk/random2.c + M /trunk/reldiff.c + M /trunk/round.c + M /trunk/set.c + M /trunk/set_d.c + M /trunk/set_dfl_prec.c + M /trunk/set_f.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_str.c + M /trunk/set_str_raw.c + M /trunk/set_z.c + M /trunk/sin_cos.c + M /trunk/sqrt.c + M /trunk/sub.c + M /trunk/sub_ui.c + M /trunk/swap.c + M /trunk/trunc.c + M /trunk/ui_div.c + M /trunk/ui_sub.c + M /trunk/urandomb.c + M /trunk/zeta.c + +Permutation of includes to avoid warnings due to careless multiple definition +of ULONG_MAX. + +------------------------------------------------------------------------ +r861 | lefevre | 2000-12-14 17:47:12 +0000 (Thu, 14 Dec 2000) | 2 lines +Changed paths: + M /trunk/mul_ui.c + M /trunk/set.c + M /trunk/set_f.c + +Bug fixed concerning the flags. + +------------------------------------------------------------------------ +r860 | lefevre | 2000-12-14 17:28:41 +0000 (Thu, 14 Dec 2000) | 2 lines +Changed paths: + M /trunk/set_str.c + +Bugs fixed (in case char is signed and accented characters are given). + +------------------------------------------------------------------------ +r859 | lefevre | 2000-12-14 17:02:11 +0000 (Thu, 14 Dec 2000) | 2 lines +Changed paths: + M /trunk/random.c + +Include "urandom.h". Old code removed. + +------------------------------------------------------------------------ +r858 | lefevre | 2000-12-14 15:28:28 +0000 (Thu, 14 Dec 2000) | 3 lines +Changed paths: + M /trunk/reldiff.c + M /trunk/set.c + M /trunk/set_d.c + M /trunk/set_f.c + M /trunk/set_q.c + M /trunk/set_si.c + +Take into account Inf, Nans ; clear the flags of the return variable +in most function calls. + +------------------------------------------------------------------------ +r857 | lefevre | 2000-12-14 14:36:09 +0000 (Thu, 14 Dec 2000) | 2 lines +Changed paths: + M /trunk/random.c + +Use urandom(). + +------------------------------------------------------------------------ +r856 | lefevre | 2000-12-14 14:29:04 +0000 (Thu, 14 Dec 2000) | 3 lines +Changed paths: + M /trunk/random.c + M /trunk/random2.c + M /trunk/reldiff.c + +Take into account Inf, Nans ; clear the flags of the return variable +in most function calls. + +------------------------------------------------------------------------ +r855 | hanrot | 2000-12-14 12:14:57 +0000 (Thu, 14 Dec 2000) | 2 lines +Changed paths: + M /trunk/random.c + +Yet another random patch. + +------------------------------------------------------------------------ +r854 | hanrot | 2000-12-14 12:08:44 +0000 (Thu, 14 Dec 2000) | 2 lines +Changed paths: + M /trunk/random.c + +Replaced random by rand. + +------------------------------------------------------------------------ +r853 | zimmerma | 2000-12-13 14:55:24 +0000 (Wed, 13 Dec 2000) | 2 lines +Changed paths: + M /trunk/div.c + +fixed pb with mp_ptr vs mp_srcptr + +------------------------------------------------------------------------ +r852 | hanrot | 2000-12-13 14:50:26 +0000 (Wed, 13 Dec 2000) | 3 lines +Changed paths: + M /trunk/tests/Makefile.in + M /trunk/tests/tadd_ui.c + M /trunk/tests/tdiv.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tout_str.c + M /trunk/tests/tsin_cos.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_sub.c + +Take into account Inf, Nans ; clear the flags of the return variable +in most function calls. Tests updated accordingly + +------------------------------------------------------------------------ +r851 | hanrot | 2000-12-13 14:50:13 +0000 (Wed, 13 Dec 2000) | 3 lines +Changed paths: + M /trunk/Makefile.in + M /trunk/eq.c + M /trunk/generic.c + M /trunk/inp_str.c + M /trunk/log.c + M /trunk/log2.c + M /trunk/mpfr.h + M /trunk/mul.c + M /trunk/mul_ui.c + M /trunk/pi.c + M /trunk/pow.c + M /trunk/set_d.c + M /trunk/sub_ui.c + M /trunk/ui_div.c + M /trunk/ui_sub.c + +Take into account Inf, Nans ; clear the flags of the return variable +in most function calls. + +------------------------------------------------------------------------ +r850 | zimmerma | 2000-12-13 08:42:38 +0000 (Wed, 13 Dec 2000) | 2 lines +Changed paths: + M /trunk/sin_cos.c + +check that we can round the cosine too + +------------------------------------------------------------------------ +r849 | zimmerma | 2000-12-12 16:40:05 +0000 (Tue, 12 Dec 2000) | 3 lines +Changed paths: + M /trunk/exp3.c + +removed TIMING stuff +ensures prec_x >= 0 + +------------------------------------------------------------------------ +r848 | zimmerma | 2000-12-12 16:38:47 +0000 (Tue, 12 Dec 2000) | 2 lines +Changed paths: + M /trunk/exp2.c + +we need m >= 2 in mpfr_exp2_aux2 + +------------------------------------------------------------------------ +r847 | zimmerma | 2000-12-12 13:57:34 +0000 (Tue, 12 Dec 2000) | 2 lines +Changed paths: + M /trunk/sub_ui.c + +forgot TMP_MARK(marker) + +------------------------------------------------------------------------ +r846 | zimmerma | 2000-12-12 13:50:44 +0000 (Tue, 12 Dec 2000) | 2 lines +Changed paths: + M /trunk/sqrt.c + M /trunk/sqrt_ui.c + +forgot TMP_MARK(marker) or free'd in wrong order + +------------------------------------------------------------------------ +r845 | zimmerma | 2000-12-12 13:44:07 +0000 (Tue, 12 Dec 2000) | 2 lines +Changed paths: + M /trunk/set_f.c + M /trunk/ui_div.c + M /trunk/ui_sub.c + +forgot TMP_MARK(marker) + +------------------------------------------------------------------------ +r844 | zimmerma | 2000-12-12 11:49:13 +0000 (Tue, 12 Dec 2000) | 2 lines +Changed paths: + M /trunk/mpf2mpfr.h + +fixed mpf_reldiff, mpf_urandomb and mpf_t + +------------------------------------------------------------------------ +r843 | zimmerma | 2000-12-12 11:41:28 +0000 (Tue, 12 Dec 2000) | 2 lines +Changed paths: + M /trunk/INSTALL + +added stack-alloc.h when --disable-alloca + +------------------------------------------------------------------------ +r842 | lefevre | 2000-12-11 12:47:11 +0000 (Mon, 11 Dec 2000) | 4 lines +Changed paths: + M /trunk/out_str.c + M /trunk/set_d.c + +out_str.c: <string.h> included +set_d.c: (0./0.) instead of sqrt(-1) for NaN (doesn't need <math.h>) +set_d.c: () added for macros Infp and Infm + +------------------------------------------------------------------------ +r841 | zimmerma | 2000-12-07 13:11:32 +0000 (Thu, 07 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tcmp.c + +shortened string in mpfr_set_str_raw which was greater than precision + +------------------------------------------------------------------------ +r840 | zimmerma | 2000-12-07 11:25:37 +0000 (Thu, 07 Dec 2000) | 3 lines +Changed paths: + M /trunk/set_d.c + +replaced isnan/isinf/math.h (not portable, for example isinf does not exist +on Sparc) by new macros from mpfr.h - * get_str.c: - fixed stupid bug: ceil(a/b) isn't (a+b-1)/a but simply a/b for a negative! +------------------------------------------------------------------------ +r839 | zimmerma | 2000-12-07 11:24:31 +0000 (Thu, 07 Dec 2000) | 3 lines +Changed paths: + M /trunk/mpfr.texi + M /trunk/set_str_raw.c - * sub.c: fixed array bound write (bn < an + cancel1 + 1) +added an error message when the mantissa is larger than the precision +(in mpfr_set_str_raw) - * mpfr-impl.h: - macros MPFR_NOTZERO and MPFR_ISZERO did not work properly with 64-bit words +------------------------------------------------------------------------ +r838 | zimmerma | 2000-12-07 11:23:24 +0000 (Thu, 07 Dec 2000) | 3 lines +Changed paths: + M /trunk/mpfr.h -2001-06-29 Paul Zimmermann <zimmerma@greux.loria.fr> +added macros to recognize doubles that are NaNs and infinities +(isinf is not portable and requires math.h) - * get_str.c: fixed bug for output base 2^k +------------------------------------------------------------------------ +r837 | zimmerma | 2000-12-07 11:22:04 +0000 (Thu, 07 Dec 2000) | 5 lines +Changed paths: + M /trunk/div.c - * tests/tget_str.c: added one test +in case the destination precision is less than that of the operands, +and the 1st iteration fails, increase directly the precision to the maximum +of that of the operands, otherwise divisions by 1.0 may need lots of +iterations - * algorithms.tex: added a section for the exponential +------------------------------------------------------------------------ +r836 | zimmerma | 2000-12-07 10:44:28 +0000 (Thu, 07 Dec 2000) | 2 lines +Changed paths: + M /trunk/add.c - * tests/tdiv_ui.c, div_ui.c: fixed bug when dividend is 0 +added 'return' after dealing with infinities -2001-06-28 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r835 | zimmerma | 2000-12-07 10:37:08 +0000 (Thu, 07 Dec 2000) | 2 lines +Changed paths: + M /trunk/TODO - * exp_2.c: moved TMP_FREE +added wish from JC Fauge`re - * TODO: added 2 things +------------------------------------------------------------------------ +r834 | zimmerma | 2000-12-05 13:47:05 +0000 (Tue, 05 Dec 2000) | 2 lines +Changed paths: + M /trunk/init.c + M /trunk/mpfr.texi -2001-06-27 Paul Zimmermann <zimmerma@greux.loria.fr> +mpfr_init/mpfr_init2 initialize to 0 (compatibility with mpf) - * Makefile.am: added mpfr.info to files to remove for "make distclean" +------------------------------------------------------------------------ +r833 | zimmerma | 2000-12-05 13:24:43 +0000 (Tue, 05 Dec 2000) | 2 lines +Changed paths: + M /trunk/cmp.c -2001-06-23 Vincent Lefevre <lefevre@greux.loria.fr> +fixed bug in mpfr_cmp2 when return value is k*BITS_PER_MP_LIMB-1 - * tests/Makefile.am, tests/Makefile.in, Makefile.am, Makefile.in: - Non-existent C source references removed. +------------------------------------------------------------------------ +r832 | zimmerma | 2000-12-05 13:23:58 +0000 (Tue, 05 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tcmp.c - * mpfr-impl.h: Macros MPFR_INIT and MPFR_INIT1 fixed. +added new test for mpfr_cmp2 -2001-06-18 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r831 | zimmerma | 2000-12-05 12:37:14 +0000 (Tue, 05 Dec 2000) | 2 lines +Changed paths: + M /trunk/mpfr.h - * agm.c, sqrt.c: nested double TMP_DECL's +now ABSSIZE uses only 29 bits -2001-06-14 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r830 | zimmerma | 2000-12-04 14:36:36 +0000 (Mon, 04 Dec 2000) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * tests/Makefile.in, tests/reuse.c, tests/tarctan.c, tests/tfactorial.c, tests/Makefile.am, sin_cos.c, ui_sub.c, Makefile.am, Makefile.in, arctan.c, mpfr.h, out_str.c: - A few patches. +added some explanations how to free the memory space allocated by mpfr_get_str -2001-06-07 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r829 | zimmerma | 2000-12-04 13:45:14 +0000 (Mon, 04 Dec 2000) | 2 lines +Changed paths: + M /trunk/sqrt.c - * mpfr.h, mpfr.texi, sin_cos.c: added mpfr_sin and mpfr_cos - corrected in the documentation some exact values +fixed one bug found by N. Mueller (MPFR_ABSSIZE(u) was used instead of usize) -2001-06-01 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r828 | zimmerma | 2000-12-04 13:44:24 +0000 (Mon, 04 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c - * mpfr.texi: removed 2 tabs +added one more test from N. Mueller + +------------------------------------------------------------------------ +r827 | zimmerma | 2000-12-01 17:30:41 +0000 (Fri, 01 Dec 2000) | 2 lines +Changed paths: + M /trunk/exp3.c + M /trunk/sin_cos.c + +cleaned calls to mpfr_extract + +------------------------------------------------------------------------ +r826 | zimmerma | 2000-12-01 17:29:33 +0000 (Fri, 01 Dec 2000) | 2 lines +Changed paths: + M /trunk/TODO + +added new line + +------------------------------------------------------------------------ +r825 | zimmerma | 2000-12-01 17:29:05 +0000 (Fri, 01 Dec 2000) | 2 lines +Changed paths: + M /trunk/init.c + +added error message when _mp_allocate_func returns 0 + +------------------------------------------------------------------------ +r824 | zimmerma | 2000-12-01 17:28:22 +0000 (Fri, 01 Dec 2000) | 2 lines +Changed paths: + M /trunk/mpfr.h + +added header for mpfr_extract + +------------------------------------------------------------------------ +r823 | zimmerma | 2000-12-01 17:27:54 +0000 (Fri, 01 Dec 2000) | 4 lines +Changed paths: + M /trunk/extract.c + +- documented what function does +- cleaned code +- added header about license... + +------------------------------------------------------------------------ +r822 | zimmerma | 2000-12-01 16:25:53 +0000 (Fri, 01 Dec 2000) | 2 lines +Changed paths: + M /trunk/agm.c + M /trunk/exp2.c + M /trunk/exp3.c + M /trunk/get_str.c + M /trunk/log2.c + M /trunk/mpfr.h + M /trunk/pi.c + M /trunk/pow.c + M /trunk/sin_cos.c + +replaced log(2.0) by LOG2 [first step in getting rid of math.h] + +------------------------------------------------------------------------ +r821 | zimmerma | 2000-12-01 15:57:33 +0000 (Fri, 01 Dec 2000) | 3 lines +Changed paths: + M /trunk/mpfr.h + +added extern "C" { ... } for inclusion in C++ +removed old KARATSUBA threshold for gmp 2.0.2 + +------------------------------------------------------------------------ +r820 | zimmerma | 2000-12-01 14:58:32 +0000 (Fri, 01 Dec 2000) | 2 lines +Changed paths: + M /trunk/TODO + M /trunk/cmp.c + M /trunk/tests/tcmp.c + +fixed bug in mpfr_cmp3 (when b=0, s not taken into account) + +------------------------------------------------------------------------ +r819 | zimmerma | 2000-12-01 14:30:41 +0000 (Fri, 01 Dec 2000) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/tests/Makefile.am + +added swap/tswap + +------------------------------------------------------------------------ +r818 | zimmerma | 2000-12-01 14:29:36 +0000 (Fri, 01 Dec 2000) | 2 lines +Changed paths: + A /trunk/tests/tswap.c + +test file for new function mpfr_swap + +------------------------------------------------------------------------ +r817 | zimmerma | 2000-12-01 14:29:28 +0000 (Fri, 01 Dec 2000) | 2 lines +Changed paths: + M /trunk/mpfr.texi + A /trunk/swap.c + +added new function mpfr_swap + +------------------------------------------------------------------------ +r816 | zimmerma | 2000-12-01 13:59:45 +0000 (Fri, 01 Dec 2000) | 2 lines +Changed paths: + M /trunk/add.c + M /trunk/add_ui.c + M /trunk/add_ulp.c + M /trunk/agm.c + M /trunk/clear.c + M /trunk/cmp.c + M /trunk/cmp_ui.c + M /trunk/div.c + M /trunk/div_2exp.c + M /trunk/div_ui.c + M /trunk/exp.c + M /trunk/exp2.c + M /trunk/exp3.c + M /trunk/generic.c + M /trunk/get_str.c + M /trunk/init.c + M /trunk/log.c + M /trunk/log2.c + M /trunk/mpfi.c + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/mpz_set_fr.c + M /trunk/mul.c + M /trunk/mul_2exp.c + M /trunk/mul_ui.c + M /trunk/neg.c + M /trunk/out_str.c + M /trunk/pi.c + M /trunk/pow.c + M /trunk/print_raw.c + M /trunk/print_rnd_mode.c + M /trunk/random.c + M /trunk/reldiff.c + M /trunk/rnd_mode.c + M /trunk/round.c + M /trunk/set.c + M /trunk/set_d.c + M /trunk/set_dfl_prec.c + M /trunk/set_f.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_str.c + M /trunk/set_str_raw.c + M /trunk/set_z.c + M /trunk/sqrt.c + M /trunk/sqrt_ui.c + M /trunk/sqrtrem.c + M /trunk/sub.c + M /trunk/sub_ui.c + M /trunk/tests/Makefile.in + M /trunk/tests/tabs.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tcan_round.c + M /trunk/tests/tcmp.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/tdump.c + M /trunk/tests/teq.c + M /trunk/tests/texp.c + M /trunk/tests/tget_str.c + M /trunk/tests/tlog.c + M /trunk/tests/tlog2.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tout_str.c + M /trunk/tests/tpi.c + M /trunk/tests/trandom.c + M /trunk/tests/tround.c + M /trunk/tests/tset_d.c + M /trunk/tests/tset_f.c + M /trunk/tests/tset_q.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c + M /trunk/tests/tset_z.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/ttrunc.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_sub.c + M /trunk/tests/tzeta.c + M /trunk/ui_div.c + M /trunk/ui_sub.c + M /trunk/zeta.c + +changed copyright to Free Software Foundation + +------------------------------------------------------------------------ +r815 | zimmerma | 2000-12-01 13:57:39 +0000 (Fri, 01 Dec 2000) | 2 lines +Changed paths: + M /trunk/TODO + +added possible bug in mpfr_get_str + +------------------------------------------------------------------------ +r814 | zimmerma | 2000-12-01 13:55:36 +0000 (Fri, 01 Dec 2000) | 2 lines +Changed paths: + D /trunk/init_set.h + +now all is in mpfr.h + +------------------------------------------------------------------------ +r813 | zimmerma | 2000-12-01 13:00:22 +0000 (Fri, 01 Dec 2000) | 2 lines +Changed paths: + M /trunk/sin_cos.c + +return value was wrong for input non-zero (should return 1 = inexact) + +------------------------------------------------------------------------ +r812 | zimmerma | 2000-12-01 12:59:15 +0000 (Fri, 01 Dec 2000) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +fixed/improved doc. of mpfr_sin_cos and mpfr_urandomb + +------------------------------------------------------------------------ +r811 | zimmerma | 2000-12-01 12:58:38 +0000 (Fri, 01 Dec 2000) | 2 lines +Changed paths: + M /trunk/mpfr.h + +removed macro for mpfr_init_set_str_raw + +------------------------------------------------------------------------ +r810 | zimmerma | 2000-12-01 12:21:43 +0000 (Fri, 01 Dec 2000) | 2 lines +Changed paths: + M /trunk/mpfr.h + +added prototype for mpfr_sin_cos + +------------------------------------------------------------------------ +r809 | zimmerma | 2000-12-01 11:06:39 +0000 (Fri, 01 Dec 2000) | 2 lines +Changed paths: + M /trunk/sqrt.c + +sign of result was not correctly (re)set + +------------------------------------------------------------------------ +r808 | zimmerma | 2000-12-01 11:05:29 +0000 (Fri, 01 Dec 2000) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c + +added test to check sign of square root + +------------------------------------------------------------------------ +r807 | zimmerma | 2000-11-29 16:36:15 +0000 (Wed, 29 Nov 2000) | 3 lines +Changed paths: + M /trunk/sin_cos.c + +gained a factor of 2 in most cases (replaced initial constant factor=2 +for additional bits for cos(x) by log(n)) + +------------------------------------------------------------------------ +r806 | zimmerma | 2000-11-29 16:34:14 +0000 (Wed, 29 Nov 2000) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am + +added tsin_cos + +------------------------------------------------------------------------ +r805 | zimmerma | 2000-11-29 16:29:28 +0000 (Wed, 29 Nov 2000) | 2 lines +Changed paths: + M /trunk/sub.c + +fixed potential problem in mpfr_sub1 (k=0 and kc<0) + +------------------------------------------------------------------------ +r804 | zimmerma | 2000-11-29 16:28:21 +0000 (Wed, 29 Nov 2000) | 2 lines +Changed paths: + A /trunk/tests/tsin_cos.c + +test file for sin/cos + +------------------------------------------------------------------------ +r803 | zimmerma | 2000-11-28 10:42:05 +0000 (Tue, 28 Nov 2000) | 2 lines +Changed paths: + M /trunk/sub.c + +forgot cast to int before comparison between imax (can be negative) and an + +------------------------------------------------------------------------ +r802 | zimmerma | 2000-11-28 10:41:12 +0000 (Tue, 28 Nov 2000) | 2 lines +Changed paths: + M /trunk/cmp.c + +returned value was one too small in case d=1 + +------------------------------------------------------------------------ +r801 | zimmerma | 2000-11-28 10:40:33 +0000 (Tue, 28 Nov 2000) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + +added new test from N. Mueller + +------------------------------------------------------------------------ +r800 | zimmerma | 2000-11-28 10:40:09 +0000 (Tue, 28 Nov 2000) | 2 lines +Changed paths: + M /trunk/set_d.c + +added return for case of infinities + +------------------------------------------------------------------------ +r799 | zimmerma | 2000-11-28 10:27:07 +0000 (Tue, 28 Nov 2000) | 2 lines +Changed paths: + M /trunk/mpfr.h + +added macro MPFR_RESET_INF + +------------------------------------------------------------------------ +r798 | zimmerma | 2000-11-28 10:25:04 +0000 (Tue, 28 Nov 2000) | 2 lines +Changed paths: + M /trunk/set_d.c + +don't forget to reset infinity flag if set! + +------------------------------------------------------------------------ +r797 | zimmerma | 2000-11-28 08:28:28 +0000 (Tue, 28 Nov 2000) | 3 lines +Changed paths: + M /trunk/cmp.c + +fixed bug in mpfr_cmp2: wrong limb considered after cp[cn--] when + cp[cn] was not 111...111 + +------------------------------------------------------------------------ +r796 | zimmerma | 2000-11-28 08:25:14 +0000 (Tue, 28 Nov 2000) | 2 lines +Changed paths: + M /trunk/sub.c + +fixed bug when imax>an + +------------------------------------------------------------------------ +r795 | zimmerma | 2000-11-27 17:39:00 +0000 (Mon, 27 Nov 2000) | 2 lines +Changed paths: + M /trunk/mpfr.h + +added macro MPFR_IS_ZERO + +------------------------------------------------------------------------ +r794 | hanrot | 2000-11-21 15:21:39 +0000 (Tue, 21 Nov 2000) | 2 lines +Changed paths: + M /trunk/tests/tabs.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tagm.c + M /trunk/tests/tcan_round.c + M /trunk/tests/tcmp.c + +Infinis, premiere tentative (tests) + +------------------------------------------------------------------------ +r793 | hanrot | 2000-11-21 15:21:33 +0000 (Tue, 21 Nov 2000) | 2 lines +Changed paths: + M /trunk/add.c + M /trunk/add_ulp.c + M /trunk/agm.c + M /trunk/cmp.c + M /trunk/cmp_ui.c + M /trunk/configure + M /trunk/div.c + M /trunk/div_ui.c + M /trunk/dump.c + M /trunk/eq.c + M /trunk/exp.c + M /trunk/exp2.c + M /trunk/exp3.c + M /trunk/extract.c + M /trunk/generic.c + M /trunk/get_str.c + M /trunk/log.c + M /trunk/mpfr.h + M /trunk/mpz_set_fr.c + M /trunk/mul.c + M /trunk/mul_ui.c + M /trunk/out_str.c + M /trunk/pow.c + M /trunk/print_raw.c + M /trunk/reldiff.c + M /trunk/round.c + M /trunk/set.c + M /trunk/set_d.c + M /trunk/set_str_raw.c + M /trunk/sin_cos.c + M /trunk/sqrt.c + M /trunk/sub.c + M /trunk/zeta.c + +Infinis, premiere tentative. + +------------------------------------------------------------------------ +r792 | zimmerma | 2000-11-13 17:13:51 +0000 (Mon, 13 Nov 2000) | 2 lines +Changed paths: + M /trunk/TODO + +added one remark from GH + +------------------------------------------------------------------------ +r791 | zimmerma | 2000-11-13 17:05:34 +0000 (Mon, 13 Nov 2000) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +removed mpfr_cmp2 + +------------------------------------------------------------------------ +r790 | hanrot | 2000-11-13 15:13:32 +0000 (Mon, 13 Nov 2000) | 2 lines +Changed paths: + M /trunk/Makefile.in + M /trunk/aclocal.m4 + +Added support for Inf. Modified zeta. + +------------------------------------------------------------------------ +r789 | zimmerma | 2000-10-26 12:22:07 +0000 (Thu, 26 Oct 2000) | 2 lines +Changed paths: + M /trunk/TODO + +protection of macros done + +------------------------------------------------------------------------ +r788 | zimmerma | 2000-10-26 12:11:59 +0000 (Thu, 26 Oct 2000) | 2 lines +Changed paths: + A /trunk/replace_all + +shell-script to replace xxx by yyy in all source files + +------------------------------------------------------------------------ +r787 | zimmerma | 2000-10-26 12:11:11 +0000 (Thu, 26 Oct 2000) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + M /trunk/tests/teq.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c + M /trunk/tests/ttrunc.c + +protected macros: xxx -> MPFR_xxx + +------------------------------------------------------------------------ +r786 | zimmerma | 2000-10-26 11:59:59 +0000 (Thu, 26 Oct 2000) | 2 lines +Changed paths: + M /trunk/Makefile.in + M /trunk/add.c + M /trunk/add_ui.c + M /trunk/add_ulp.c + M /trunk/agm.c + M /trunk/clear.c + M /trunk/cmp.c + M /trunk/cmp_ui.c + M /trunk/div.c + M /trunk/div_2exp.c + M /trunk/div_ui.c + M /trunk/eq.c + M /trunk/exp.c + M /trunk/exp2.c + M /trunk/exp3.c + M /trunk/extract.c + M /trunk/generic.c + M /trunk/get_str.c + M /trunk/init.c + M /trunk/log.c + M /trunk/log2.c + M /trunk/mpfi.c + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/mpz_set_fr.c + M /trunk/mul.c + M /trunk/mul_2exp.c + M /trunk/mul_ui.c + M /trunk/neg.c + M /trunk/out_str.c + M /trunk/pi.c + M /trunk/print_raw.c + M /trunk/random.c + M /trunk/random2.c + M /trunk/reldiff.c + M /trunk/round.c + M /trunk/set.c + M /trunk/set_d.c + M /trunk/set_f.c + M /trunk/set_prc_raw.c + M /trunk/set_prec.c + M /trunk/set_q.c + M /trunk/set_si.c + M /trunk/set_str.c + M /trunk/set_str_raw.c + M /trunk/set_z.c + M /trunk/sin_cos.c + M /trunk/sqrt.c + M /trunk/sqrt_ui.c + M /trunk/sub.c + M /trunk/sub_ui.c + M /trunk/trunc.c + M /trunk/ui_div.c + M /trunk/ui_sub.c + M /trunk/urandomb.c + M /trunk/zeta.c + +protected all macros: xxx -> MPFR_xxx + +------------------------------------------------------------------------ +r785 | zimmerma | 2000-10-24 11:59:35 +0000 (Tue, 24 Oct 2000) | 2 lines +Changed paths: + A /trunk/mpfi.h + +fichier d'include pour mpfi.c + +------------------------------------------------------------------------ +r784 | zimmerma | 2000-10-24 11:47:10 +0000 (Tue, 24 Oct 2000) | 2 lines +Changed paths: + A /trunk/mpfi.c + +interval arithmetic level (1st version) + +------------------------------------------------------------------------ +r783 | zimmerma | 2000-10-24 08:14:07 +0000 (Tue, 24 Oct 2000) | 2 lines +Changed paths: + M /trunk/TODO + +added two suggestions from Ben Hinkle + +------------------------------------------------------------------------ +r782 | hanrot | 2000-10-19 12:54:17 +0000 (Thu, 19 Oct 2000) | 2 lines +Changed paths: + M /trunk/tests/Makefile.in + +Bof. + +------------------------------------------------------------------------ +r781 | hanrot | 2000-10-19 12:53:54 +0000 (Thu, 19 Oct 2000) | 2 lines +Changed paths: + D /trunk/.pure + D /trunk/mmpfr + M /trunk/mpfr.h + +Suppression de vieilleries. + +------------------------------------------------------------------------ +r780 | hanrot | 2000-10-19 09:11:50 +0000 (Thu, 19 Oct 2000) | 2 lines +Changed paths: + M /trunk/mpfr.h + +1 << 31 -> ((unsigned int)1) << 31. + +------------------------------------------------------------------------ +r779 | hanrot | 2000-10-19 08:56:24 +0000 (Thu, 19 Oct 2000) | 2 lines +Changed paths: + M /trunk/dump.c + M /trunk/log.c + M /trunk/round.c + M /trunk/set_d.c + M /trunk/set_str.c + +Correction de prototypes faux dans le cas ou on n'est pas -D__STDC__. + +------------------------------------------------------------------------ +r778 | zimmerma | 2000-10-02 08:44:58 +0000 (Mon, 02 Oct 2000) | 2 lines +Changed paths: + M /trunk/exp3.c + M /trunk/extract.c + M /trunk/generic.c + M /trunk/print_raw.c + M /trunk/set_str_raw.c + +malloc -> *_mp_allocate_func or TMP_ALLOC + +------------------------------------------------------------------------ +r777 | zimmerma | 2000-10-02 08:15:41 +0000 (Mon, 02 Oct 2000) | 2 lines +Changed paths: + M /trunk/exp2.c + M /trunk/init.c + M /trunk/mpfr.h + M /trunk/round.c + M /trunk/set_d.c + M /trunk/set_prc_raw.c + M /trunk/set_prec.c + M /trunk/urandomb.c + +mpfr_t -> mpfr_ptr or mpfr_srcptr + +------------------------------------------------------------------------ +r776 | zimmerma | 2000-09-29 16:07:46 +0000 (Fri, 29 Sep 2000) | 2 lines +Changed paths: + D /trunk/tests/texp2.c + +removed -> all is in texp.c - * mpfr.texi: added change explaining the LGPL with non-free programs +------------------------------------------------------------------------ +r775 | zimmerma | 2000-09-29 16:06:55 +0000 (Fri, 29 Sep 2000) | 2 lines +Changed paths: + M /trunk/tests/texp.c -2001-05-31 Guillaume Hanrot <hanrot@greux.loria.fr> +added comparison between exp2 and exp3 - * mul_ui.c: Patch for the case b = 0 or c = 0. +------------------------------------------------------------------------ +r774 | zimmerma | 2000-09-29 16:04:47 +0000 (Fri, 29 Sep 2000) | 2 lines +Changed paths: + M /trunk/exp3.c -2001-05-23 Guillaume Hanrot <hanrot@greux.loria.fr> +take also the target precision into account for the guard bits - * tests/tsub.c: Added DDefour's bug. +------------------------------------------------------------------------ +r773 | zimmerma | 2000-09-29 16:04:19 +0000 (Fri, 29 Sep 2000) | 2 lines +Changed paths: + M /trunk/exp2.c -2001-05-22 Guillaume Hanrot <hanrot@greux.loria.fr> +new faster version with O(n^(1/3)*M(n)) algorithm - * sub.c: Patch in the case MPFR_PREC(b) > MPFR_PREC(a)+cancel. +------------------------------------------------------------------------ +r772 | zimmerma | 2000-09-29 16:03:51 +0000 (Fri, 29 Sep 2000) | 2 lines +Changed paths: + M /trunk/exp.c -2001-05-10 Vincent Lefevre <lefevre@greux.loria.fr> +adjusted exp2-exp3 threshold for new faster version of mpfr_exp2 - * tests/Makefile.in, Makefile.in, mpfr.texi: fixed bug in mpfr.texi +------------------------------------------------------------------------ +r771 | zimmerma | 2000-09-29 14:23:59 +0000 (Fri, 29 Sep 2000) | 2 lines +Changed paths: + M /trunk/Makefile.am -2001-05-10 David Daney <daney@greux.loria.fr> +added mpz_set_fr.c - * mpfr.texi: - correction du bug donne par vincent + ajout des aides des fonctions hyperbolic +------------------------------------------------------------------------ +r770 | zimmerma | 2000-09-29 13:03:23 +0000 (Fri, 29 Sep 2000) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am -2001-05-09 David Daney <daney@greux.loria.fr> +added tdump - * mpfr.texi: *** empty log message *** +------------------------------------------------------------------------ +r769 | zimmerma | 2000-09-29 13:02:47 +0000 (Fri, 29 Sep 2000) | 2 lines +Changed paths: + M /trunk/get_str.c -2001-04-20 Paul Zimmermann <zimmerma@greux.loria.fr> +fixed pb for op=0 (added \0 at the end of string) - * log.c: log(0) now returns 0 (exact infinity) +------------------------------------------------------------------------ +r768 | zimmerma | 2000-09-29 13:02:01 +0000 (Fri, 29 Sep 2000) | 2 lines +Changed paths: + M /trunk/dump.c -2001-04-18 Paul Zimmermann <zimmerma@greux.loria.fr> +use strlen to determine memory to free - * log.c: fixed pbs with NaN/Inf +------------------------------------------------------------------------ +r767 | zimmerma | 2000-09-29 13:01:17 +0000 (Fri, 29 Sep 2000) | 2 lines +Changed paths: + A /trunk/tests/tdump.c - * sub.c: - fixed new bug found by Nathalie Revol (case when add_one_ulp produces a carry) +test file for mpfr_dump - * tests/tsub.c: added new bug found by Nathalie Revol +------------------------------------------------------------------------ +r766 | zimmerma | 2000-09-29 12:30:55 +0000 (Fri, 29 Sep 2000) | 2 lines +Changed paths: + M /trunk/Makefile.am - * sub.c: fixed bug for 1.0000... - 0.000001 for rounding up or nearest +removed karasqrt.c, added sqrtrem.c -2001-04-17 Nathalie Revol <revol@greux.loria.fr> +------------------------------------------------------------------------ +r765 | zimmerma | 2000-09-29 12:30:15 +0000 (Fri, 29 Sep 2000) | 2 lines +Changed paths: + M /trunk/mpfr.h - * log.c: Case where argument < 0 included, NR 17-04-2001 +kara_sqrtrem -> mpn_sqrtrem_new -2001-04-12 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r764 | zimmerma | 2000-09-29 12:29:56 +0000 (Fri, 29 Sep 2000) | 2 lines +Changed paths: + D /trunk/karasqrt.c - * tests/tui_sub.c: added new (special) tests +now replaced by new code in sqrtrem.c - * tests/tsub.c: test file for mpfr_sub +------------------------------------------------------------------------ +r763 | zimmerma | 2000-09-29 12:29:24 +0000 (Fri, 29 Sep 2000) | 2 lines +Changed paths: + M /trunk/sqrt.c - * tests/Makefile.am: added tsub +now uses new code mpn_sqrtrem_new -2001-04-06 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r762 | zimmerma | 2000-09-29 12:29:02 +0000 (Fri, 29 Sep 2000) | 3 lines +Changed paths: + A /trunk/sqrtrem.c - * exp.c: change old exp2 (conflict with 2^x) to exp_2 +new version of fast MPN square root +(should be integrated in a future release of GNU MP) -2001-04-05 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r761 | zimmerma | 2000-09-28 14:06:55 +0000 (Thu, 28 Sep 2000) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * tests/tcmp2.c: 0 -> GMP_RNDN +added another example from N. Mueller - * cmp2.c: - check apart the case c=0 (otherwise some low significant limbs may be - non zero, which may produce a wrong result) +------------------------------------------------------------------------ +r760 | zimmerma | 2000-09-28 14:03:44 +0000 (Thu, 28 Sep 2000) | 2 lines +Changed paths: + M /trunk/sub.c - * exp.c, tests/texp.c: mpfr_exp2 -> mpfr_exp_2 +fixed another ABW bug -2001-04-05 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r759 | zimmerma | 2000-09-28 09:37:20 +0000 (Thu, 28 Sep 2000) | 2 lines +Changed paths: + M /trunk/sub.c - * mpfr.h: reactualise .h +fixed two Array Bound Writes - * tests/thyperbolic.c: change header +------------------------------------------------------------------------ +r758 | zimmerma | 2000-09-28 09:36:56 +0000 (Thu, 28 Sep 2000) | 2 lines +Changed paths: + M /trunk/add.c - * tests/reuse.c: change reuse to suppress factorial +fixed one Array Bound Read (to_nearest, bp=cp and k>=cn) - * tests/Makefile.am: suppress of timing in makefile +------------------------------------------------------------------------ +r757 | zimmerma | 2000-09-28 09:35:54 +0000 (Thu, 28 Sep 2000) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * exp_2.c: add the old exp2 function and file renamed by exp_2 +added 2 new tests from Norbert Mueller - * Makefile.am: change makefile for new functions +------------------------------------------------------------------------ +r756 | zimmerma | 2000-09-27 13:10:43 +0000 (Wed, 27 Sep 2000) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * tests/Makefile.am: - change make file test for hyperbolic function exp2 and factorial +added new test - * tests/tacosh.c, tests/tasinh.c, tests/tatanh.c, tests/ttanh.c, tests/tcosh.c, tests/tsinh.c: - add new test file for hyperbolic function +------------------------------------------------------------------------ +r755 | zimmerma | 2000-09-27 13:06:39 +0000 (Wed, 27 Sep 2000) | 2 lines +Changed paths: + M /trunk/sub.c - * tests/thyperbolic.c, tests/texp2.c, tests/tfactorial.c: - add test file for new function +fixed Array Bound Write - * exp2.c, factorial.c: add function +------------------------------------------------------------------------ +r754 | zimmerma | 2000-09-20 11:31:42 +0000 (Wed, 20 Sep 2000) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * acosh.c, asinh.c, atanh.c, sinh.c, tanh.c: new file function +added some words about the inclusion of mpfr.h - * cosh.c: new function file +------------------------------------------------------------------------ +r753 | zimmerma | 2000-09-20 11:31:11 +0000 (Wed, 20 Sep 2000) | 2 lines +Changed paths: + M /trunk/TODO -2001-04-05 Paul Zimmermann <zimmerma@greux.loria.fr> +we need to better protect macros - * Makefile.in: new version with cmp2.c +------------------------------------------------------------------------ +r752 | zimmerma | 2000-09-20 10:38:15 +0000 (Wed, 20 Sep 2000) | 2 lines +Changed paths: + M /trunk/Makefile.am - * mul.c: - fixed pb with inexact flag when 'int' and 'mp_limb_t' has different sizes +removed MPFR_OBJECTS (does not work) -2001-04-05 David Daney <daney@greux.loria.fr> +------------------------------------------------------------------------ +r751 | zimmerma | 2000-09-20 10:33:16 +0000 (Wed, 20 Sep 2000) | 2 lines +Changed paths: + M /trunk/Makefile.am - * tests/tcmp_ui.c, cmp_ui.c: fixed bug for mpfr_cmp_ui (Inf, 0) +added $(MPFR_OBJECTS) in libmpfr_a_LIBADD - * tests/tset_si.c, set_ui.c: - fixed bug for mpfr_set_ui (x, 0) [was giving -0] +------------------------------------------------------------------------ +r750 | zimmerma | 2000-09-20 10:28:29 +0000 (Wed, 20 Sep 2000) | 2 lines +Changed paths: + M /trunk/Makefile.in -2001-04-03 Paul Zimmermann <zimmerma@greux.loria.fr> +added $(MPFR_OBJECTS) in libmpfr_a_DEPENDENCIES - * algorithms.tex: added algorithm for mpfr_cmp2 +------------------------------------------------------------------------ +r749 | zimmerma | 2000-09-20 10:08:07 +0000 (Wed, 20 Sep 2000) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * Makefile.am: added cmp2.c +added contributions from Emmanuel Jeandel and Thom Mulders - * cmp2.c: fixed bug when diff_exp >= BITS_PER_MP_LIMB +------------------------------------------------------------------------ +r748 | zimmerma | 2000-09-20 10:03:32 +0000 (Wed, 20 Sep 2000) | 2 lines +Changed paths: + M /trunk/AUTHORS - * tests/tcmp2.c: - added new test for worst cases: 1 - 1/2^i and (1 + 1/2^i) - 1/2^i +added Thom Mulders - * mpfr-impl.h: changed return value of mpfr_cmp2 +------------------------------------------------------------------------ +r747 | zimmerma | 2000-09-20 10:00:31 +0000 (Wed, 20 Sep 2000) | 3 lines +Changed paths: + A /trunk/shortmul.c - * cmp2.c: new file for mpfr_cmp2 +routines for naive/fast short multiplication, +contributed by Thom Mulders (ETH Zu"rich) - * cmp.c: moved mpfr_cmp2 to separate file cmp2.c +------------------------------------------------------------------------ +r746 | zimmerma | 2000-09-19 14:06:06 +0000 (Tue, 19 Sep 2000) | 2 lines +Changed paths: + M /trunk/tests/tdiv_ui.c - * tests/tcmp2.c: - added several tests, and a routine that generates worst cases +added new test for overlapping x, y - * trunc.c: two changes suggested by Kevin Ryde +------------------------------------------------------------------------ +r745 | zimmerma | 2000-09-19 14:05:37 +0000 (Tue, 19 Sep 2000) | 2 lines +Changed paths: + M /trunk/div_ui.c -2001-04-02 Paul Zimmermann <zimmerma@greux.loria.fr> +fixed problem when x=y - * Makefile.in: new version from new Makefile.am +------------------------------------------------------------------------ +r744 | zimmerma | 2000-09-14 12:35:42 +0000 (Thu, 14 Sep 2000) | 2 lines +Changed paths: + M /trunk/tests/tadd.c -2001-03-27 Paul Zimmermann <zimmerma@greux.loria.fr> +added pb from Norbert Muller - * tests/tadd.c: added new test +------------------------------------------------------------------------ +r743 | zimmerma | 2000-09-14 12:35:16 +0000 (Thu, 14 Sep 2000) | 2 lines +Changed paths: + M /trunk/sub.c - * cmp.c: fixed new bug in mpfr_cmp2 found by Fabrice +fixed SEGV (mpn_lshift doesn't seem to like src_size=0) -2001-03-21 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r742 | zimmerma | 2000-09-14 12:32:38 +0000 (Thu, 14 Sep 2000) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am - * tests/tcmp2.c: added new test +now prints "failed" when test file doesn't return 0 - * cmp.c: fixed bug found by Nathalie Revol +------------------------------------------------------------------------ +r741 | zimmerma | 2000-08-29 18:14:19 +0000 (Tue, 29 Aug 2000) | 3 lines +Changed paths: + M /trunk/div.c -2001-03-20 Paul Zimmermann <zimmerma@greux.loria.fr> +replaced mpn_divrem by mpn_tdiv_qr for gmp 3 or later +and avoid copy of one operand when possible - * TODO: added 2 items +------------------------------------------------------------------------ +r740 | zimmerma | 2000-08-29 12:38:57 +0000 (Tue, 29 Aug 2000) | 2 lines +Changed paths: + M /trunk/INSTALL - * tests/tcmp_ui.c: added test for mpfr_cmp_ui (-0, 0) +updated (make check, make install) - * out_str.c: now prints -0 for -0 +------------------------------------------------------------------------ +r739 | zimmerma | 2000-08-29 12:07:24 +0000 (Tue, 29 Aug 2000) | 2 lines +Changed paths: + M /trunk/README -2001-03-19 Nathalie Revol <revol@greux.loria.fr> +described each file - * cmp_ui.c: Comparison between 0- and 0 now returns 0, NR 19-03-2001 +------------------------------------------------------------------------ +r738 | zimmerma | 2000-08-29 11:53:09 +0000 (Tue, 29 Aug 2000) | 2 lines +Changed paths: + M /trunk/NEWS -2001-03-16 Vincent Lefevre <lefevre@greux.loria.fr> +News for version 1.0 - * tests/reuse.c: added cast to avoid a warning +------------------------------------------------------------------------ +r737 | zimmerma | 2000-08-25 17:04:05 +0000 (Fri, 25 Aug 2000) | 2 lines +Changed paths: + M /trunk/get_str.c -2001-03-13 Paul Zimmermann <zimmerma@greux.loria.fr> +fixed bug for 0.9999999999... - * tests/tmul.c: added tests for inexact return value +------------------------------------------------------------------------ +r736 | zimmerma | 2000-08-25 16:58:23 +0000 (Fri, 25 Aug 2000) | 2 lines +Changed paths: + M /trunk/tests/tout_str.c - * mul.c: tiny bug in inexact value determination +added test for 0.99999999999999999 - * mpfr.h, mpfr.texi, mul.c: mpfr_mul now returns an int +------------------------------------------------------------------------ +r735 | zimmerma | 2000-08-24 16:46:56 +0000 (Thu, 24 Aug 2000) | 2 lines +Changed paths: + M /trunk/TODO -2001-03-09 Paul Zimmermann <zimmerma@greux.loria.fr> +added mpfr_swap - * algorithms.tex: description of algorithms +------------------------------------------------------------------------ +r734 | zimmerma | 2000-08-24 09:13:21 +0000 (Thu, 24 Aug 2000) | 2 lines +Changed paths: + M /trunk/log2.c - * TODO: reorganized +now store last computed value together with last rounding mode -2001-03-08 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r733 | zimmerma | 2000-08-23 16:29:19 +0000 (Wed, 23 Aug 2000) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * TODO: added few things +target ps -> mpfr.ps - * Makefile.am, mpfr.h: added arc-tangent +------------------------------------------------------------------------ +r732 | zimmerma | 2000-08-23 09:56:15 +0000 (Wed, 23 Aug 2000) | 2 lines +Changed paths: + M /trunk/Makefile.am - * tests/Makefile.am: added tarctan +added $(srcdir) to trunc.c for sub-directory compilation - * tests/reuse.c: added test to mpfr_arctan +------------------------------------------------------------------------ +r731 | zimmerma | 2000-08-16 15:27:56 +0000 (Wed, 16 Aug 2000) | 2 lines +Changed paths: + M /trunk/sin_cos.c - * tests/tarctan.c: added header +removed some memory leaks - * tests/tarctan.c: test file for mpfr_arctan +------------------------------------------------------------------------ +r730 | zimmerma | 2000-08-16 14:50:40 +0000 (Wed, 16 Aug 2000) | 2 lines +Changed paths: + M /trunk/generic.c - * arctan.c: removed math.h +solved memory leaks with T[i] and qtoj[i] - * arctan.c: - arctangent function (contributed by Mathieu Dutour, done slight changes) +------------------------------------------------------------------------ +r729 | zimmerma | 2000-08-16 14:47:22 +0000 (Wed, 16 Aug 2000) | 2 lines +Changed paths: + M /trunk/TODO - * mpfr.texi: added Mathieu Dutour in contributors +updated (done autoconf, faster mpfr_exp, sin/cos) - * mpfr.texi: added mpfr_arctan +------------------------------------------------------------------------ +r728 | zimmerma | 2000-08-16 14:37:43 +0000 (Wed, 16 Aug 2000) | 2 lines +Changed paths: + M /trunk/INSTALL - * tests/tcan_round.c: added one test +updated for version 1.0 - * round.c: - fixed bug in mpfr_can_round_raw, when err > bn*BITS_PER_MP_LIMB +------------------------------------------------------------------------ +r727 | zimmerma | 2000-08-16 14:21:30 +0000 (Wed, 16 Aug 2000) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * tests/tset_str.c: now tset_str <number> <prec> is possible +COPYING.LIB -> COPYING -2001-03-06 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r726 | zimmerma | 2000-08-16 14:20:59 +0000 (Wed, 16 Aug 2000) | 2 lines +Changed paths: + A /trunk/COPYING - * out_str.c: fixed bug for Infinity (was testing zero before) +renamed back (wanted for "make dist") -2001-03-01 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r725 | zimmerma | 2000-08-16 14:20:42 +0000 (Wed, 16 Aug 2000) | 2 lines +Changed paths: + D /trunk/COPYING.LIB - * set_d.c: replaced (mp_limb_t) 4294967295 by CNST_LIMB(0xFFFFFFFF) +renamed back to COPYING (wanted for "make dist") -2001-02-22 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r724 | zimmerma | 2000-08-16 14:18:57 +0000 (Wed, 16 Aug 2000) | 2 lines +Changed paths: + A /trunk/COPYING.LIB - * set_d.c: forgot to declare q in mpfr_get_d2 when BITS_PER_MP_LIMB=64 +GNU Library General Public License -2001-02-21 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r723 | zimmerma | 2000-08-16 14:18:22 +0000 (Wed, 16 Aug 2000) | 2 lines +Changed paths: + D /trunk/COPYING - * set_str.c: removed fprintf() when unexpected end of string +renamed to COPYING.LIB, according to mpfr.texi - * mpf2mpfr.h: added undef's to avoid warnings at compilation +------------------------------------------------------------------------ +r722 | zimmerma | 2000-08-16 14:12:40 +0000 (Wed, 16 Aug 2000) | 2 lines +Changed paths: + M /trunk/log2.c -2001-02-19 Paul Zimmermann <zimmerma@greux.loria.fr> +result was free'd twice when good=1 - * mpfr.texi: removed mpfr_set_machine_rnd_mode +------------------------------------------------------------------------ +r721 | zimmerma | 2000-08-16 14:10:10 +0000 (Wed, 16 Aug 2000) | 2 lines +Changed paths: + M /trunk/AUTHORS -2001-02-18 Paul Zimmermann <zimmerma@greux.loria.fr> +put information about authors - * tests/tset_d.c, tests/tset_f.c, tests/tset_q.c, tests/tset_si.c, tests/tset_str.c, tests/tset_z.c, tests/tsin_cos.c, tests/tsqrt.c, tests/tsqrt_ui.c, tests/tswap.c, tests/ttrunc.c, tests/tui_div.c, tests/tui_sub.c, tests/reuse.c, tests/tabs.c, tests/tadd.c, tests/tagm.c, tests/tcan_round.c, tests/tcmp.c, tests/tcmp2.c, tests/tcmp_ui.c, tests/tdiv.c, tests/tdiv_ui.c, tests/tdump.c, tests/teq.c, tests/texp.c, tests/tget_str.c, tests/tlog.c, tests/tlog2.c, tests/tmul.c, tests/tmul_2exp.c, tests/tmul_ui.c, tests/tout_str.c, tests/tpi.c, tests/tpow.c, tests/trandom.c: - changed "int main(..)" to two lines +------------------------------------------------------------------------ +r720 | zimmerma | 2000-08-16 13:50:37 +0000 (Wed, 16 Aug 2000) | 2 lines +Changed paths: + M /trunk/configure - * get_str.c: now initialize str_is_null correctly +PACKAGE and VERSION are not defined any more - * tests/tround.c: added more tests +------------------------------------------------------------------------ +r719 | zimmerma | 2000-08-16 13:48:39 +0000 (Wed, 16 Aug 2000) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * round.c: don't change MPFR_SIZE when allocated size is enough +gmp-mparam.h is required too - * mpfr.texi: updated specification of mpfr_sgn +------------------------------------------------------------------------ +r718 | zimmerma | 2000-08-16 13:33:49 +0000 (Wed, 16 Aug 2000) | 2 lines +Changed paths: + M /trunk/Makefile.am - * mpfr.h: changed definition of mpfr_sgn to get rid of MPFR_NOTZERO +IRIX make does not recognize $< (MISCFLAGS) - * out_str.c: size of freed block by __gmp_free_func was wrong +------------------------------------------------------------------------ +r717 | zimmerma | 2000-08-16 13:00:20 +0000 (Wed, 16 Aug 2000) | 4 lines +Changed paths: + M /trunk/configure.in - * tests/Makefile.am: added tisnan and tget_d +do not define PACKAGE and VERSION in AM_INIT_AUTOMAKE, +this avoids conflicts with GMP 3.1 config.h +[thanks to Kevin Ryde] - * isnan.c: fixed bug for Inf (recognized as an ordinary number) +------------------------------------------------------------------------ +r716 | zimmerma | 2000-08-16 12:59:04 +0000 (Wed, 16 Aug 2000) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * tests/tget_d.c, tests/tisnan.c: new test file +updated for GMP 3.1 -2001-02-16 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r715 | zimmerma | 2000-08-16 12:56:06 +0000 (Wed, 16 Aug 2000) | 2 lines +Changed paths: + M /trunk/set_d.c - * agm.c: check overflow in _mpfr_ceil_exp2 +MP_BASE_AS_DOUBLE already defined in gmp-impl.h -2001-02-15 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r714 | zimmerma | 2000-08-16 11:26:15 +0000 (Wed, 16 Aug 2000) | 2 lines +Changed paths: + M /trunk/exp3.c - * mpfr-test.h: added prototype for Ulp +nb_terms[0] was not initialized - * isnan.c: changed _d to _p, added mpfr_number_p +------------------------------------------------------------------------ +r713 | zimmerma | 2000-08-16 10:55:11 +0000 (Wed, 16 Aug 2000) | 3 lines +Changed paths: + M /trunk/log2.c - * round.c: - changed MPN_COPY into MPN_COPY_INCR/MPN_COPY_DECR in mpfr_round_raw +fixed some FNH (free not in heap) problems for binary splitting method +(prec >= 30000) - * tests/tsin_cos.c: added tests for one of arguments NULL +------------------------------------------------------------------------ +r712 | zimmerma | 2000-08-16 09:53:54 +0000 (Wed, 16 Aug 2000) | 2 lines +Changed paths: + M /trunk/Makefile.in - * mpfr-impl.h: moved mpfr_sgn to mpfr.h (defined in manual) +gmp.info -> mpfr.info - * mpz_set_fr.c: use MPZ_REALLOC +------------------------------------------------------------------------ +r711 | zimmerma | 2000-08-16 09:46:59 +0000 (Wed, 16 Aug 2000) | 2 lines +Changed paths: + M /trunk/Makefile.in - * mpfr.h, set_str.c: added const to 2nd argument of mpfr_set_str +set_dfl_rnd.* -> set_rnd.* (to avoid conflict with set_dfl_prec.* on DOS 8.3) - * Makefile.am: added set_ui.c +------------------------------------------------------------------------ +r710 | zimmerma | 2000-08-16 09:42:43 +0000 (Wed, 16 Aug 2000) | 2 lines +Changed paths: + D /trunk/tests/Makefile - * set_ui.c, set_si.c: added cast to "unsigned long" for ai = ABS(i) - moved mpfr_set_ui to separate file +now automatically generated by configure - * mpfr.texi, get_str.c: - now when str==NULL return a block which is exactly strlen(str)+1 bytes long +------------------------------------------------------------------------ +r709 | zimmerma | 2000-08-16 09:40:47 +0000 (Wed, 16 Aug 2000) | 2 lines +Changed paths: + M /trunk/div_ui.c - * add.c, agm.c, exp2.c, exp3.c, generic.c, log2.c, pi.c, print_raw.c, set_d.c, sin_cos.c, sub.c: - fixed problems with old K&R compilers (_PROTO missing) +added if (__GNU_MP_VERSION < 3) for mpn_divrem_1-bug patch -2001-02-08 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r708 | zimmerma | 2000-08-16 09:26:18 +0000 (Wed, 16 Aug 2000) | 2 lines +Changed paths: + M /trunk/Makefile.am - * TODO: added more items +set_dfl_rnd -> set_rnd -2001-01-23 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r707 | zimmerma | 2000-08-16 09:24:15 +0000 (Wed, 16 Aug 2000) | 2 lines +Changed paths: + A /trunk/set_rnd.c - * mpfr-test.h: fixed ulp computation +new name of set_dfl_rnd.c (avoids clash with set_dfl_prec.c on DOS 8.3) -2001-01-19 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r706 | zimmerma | 2000-08-16 09:23:43 +0000 (Wed, 16 Aug 2000) | 3 lines +Changed paths: + D /trunk/set_dfl_rnd.c + +renamed to set_rnd.c (otherwise truncates like set_dfl_prec.c on +a DOS 8.3 filesystem) + +------------------------------------------------------------------------ +r705 | zimmerma | 2000-08-16 09:20:29 +0000 (Wed, 16 Aug 2000) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +setfilename: gmp.info -> mpfr.info + +------------------------------------------------------------------------ +r704 | zimmerma | 2000-08-16 09:19:17 +0000 (Wed, 16 Aug 2000) | 4 lines +Changed paths: + M /trunk/tests/Makefile.am + +replaced path for libmpfr.a by $(top_builddir) +test files are now in check_PROGRAMS instead of bin_PROGRAMS (they don't need + to be installed) + +------------------------------------------------------------------------ +r703 | zimmerma | 2000-08-16 09:14:44 +0000 (Wed, 16 Aug 2000) | 3 lines +Changed paths: + M /trunk/tests/tadd.c + M /trunk/tests/tset_si.c + +replaced back BITS_PER_MP_LIMB by mp_bits_per_limb +(not important in test files) + +------------------------------------------------------------------------ +r702 | zimmerma | 2000-08-16 09:09:03 +0000 (Wed, 16 Aug 2000) | 10 lines +Changed paths: + M /trunk/mpfr.h + +replaced macros for mpfr_init_set_si by "do { ... } while (0)" so +they'll work in an if/else like + + if (foo) + mpfr_init_set_si (f, -123, GMP_RNDN); + else + bar (); + +[thanks to Kevin Ryde] + +------------------------------------------------------------------------ +r701 | zimmerma | 2000-08-16 09:05:15 +0000 (Wed, 16 Aug 2000) | 2 lines +Changed paths: + M /trunk/add.c + M /trunk/cmp.c + M /trunk/cmp_ui.c + M /trunk/div_ui.c + M /trunk/exp2.c + M /trunk/mpf2mpfr.h + M /trunk/mul.c + M /trunk/print_raw.c + M /trunk/set_si.c + M /trunk/sqrt.c + M /trunk/sub.c + M /trunk/tests/Makefile + M /trunk/tests/tadd.c + M /trunk/tests/tset_si.c + +replaced mp_bits_per_limb by BITS_PER_MP_LIMB (constant) + +------------------------------------------------------------------------ +r700 | zimmerma | 2000-08-14 14:25:50 +0000 (Mon, 14 Aug 2000) | 2 lines +Changed paths: + M /trunk/Makefile.in + +added mpf2mpfr.h + +------------------------------------------------------------------------ +r699 | zimmerma | 2000-08-14 13:11:09 +0000 (Mon, 14 Aug 2000) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + +define check2 only with -DTEST + +------------------------------------------------------------------------ +r698 | zimmerma | 2000-08-14 12:39:38 +0000 (Mon, 14 Aug 2000) | 3 lines +Changed paths: + M /trunk/mpfr.texi + +updated for new configure from Emmanuel Jeandel, to GMP 3.xxx +and removed errors with texinfo + +------------------------------------------------------------------------ +r697 | zimmerma | 2000-08-14 12:12:49 +0000 (Mon, 14 Aug 2000) | 2 lines +Changed paths: + M /trunk/rnd_mode.c + +solaris --> __sparc__ + +------------------------------------------------------------------------ +r696 | zimmerma | 2000-08-14 11:53:15 +0000 (Mon, 14 Aug 2000) | 2 lines +Changed paths: + M /trunk/rnd_mode.c + A /trunk/tests/Makefile + M /trunk/tests/tabs.c + M /trunk/tests/tadd.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tdiv.c + M /trunk/tests/tset_d.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c + M /trunk/tests/tsub_ui.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_sub.c + +ifdef IRIX64 -> ifdef __mips + +------------------------------------------------------------------------ +r695 | zimmerma | 2000-08-14 11:31:36 +0000 (Mon, 14 Aug 2000) | 2 lines +Changed paths: + M /trunk/Makefile.in + +IRIX/make does not understand $< : expanded to trunc.c + +------------------------------------------------------------------------ +r694 | zimmerma | 2000-08-14 11:20:29 +0000 (Mon, 14 Aug 2000) | 2 lines +Changed paths: + M /trunk/rnd_mode.c + +use standard macro for Alpha + +------------------------------------------------------------------------ +r693 | jeandel | 2000-07-13 12:40:25 +0000 (Thu, 13 Jul 2000) | 2 lines +Changed paths: + M /trunk/INSTALL + +autoconf options described + +------------------------------------------------------------------------ +r692 | jeandel | 2000-07-13 12:30:53 +0000 (Thu, 13 Jul 2000) | 2 lines +Changed paths: + M /trunk/tests/Makefile.in + +timestamp modified + +------------------------------------------------------------------------ +r691 | jeandel | 2000-07-13 12:28:31 +0000 (Thu, 13 Jul 2000) | 2 lines +Changed paths: + M /trunk/configure + +timestamp changed + +------------------------------------------------------------------------ +r690 | jeandel | 2000-07-13 12:27:04 +0000 (Thu, 13 Jul 2000) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/Makefile.in + M /trunk/tests/Makefile.am + +nothing to say + +------------------------------------------------------------------------ +r689 | jeandel | 2000-07-13 12:24:13 +0000 (Thu, 13 Jul 2000) | 2 lines +Changed paths: + M /trunk/acinclude.m4 + M /trunk/aclocal.m4 - * tests/tlog.c: - changed behaviour for "tlog N": prints only differences with increasing ulps +Timestamp - * set_d.c: - fixed pb in mpfr_get_d2 for 64-bit machines: in q + res/MP_BASE_AS_DOUBLE, - q seems first to be cast into a double, which gives more than one ulp of - error +------------------------------------------------------------------------ +r688 | jeandel | 2000-07-13 12:21:50 +0000 (Thu, 13 Jul 2000) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/Makefile.in + M /trunk/tests/Makefile.in + +Small bug fixed + +------------------------------------------------------------------------ +r687 | jeandel | 2000-07-13 12:15:36 +0000 (Thu, 13 Jul 2000) | 2 lines +Changed paths: + M /trunk/configure + M /trunk/configure.in + +Timestamp modified ? + +------------------------------------------------------------------------ +r686 | jeandel | 2000-07-13 12:13:18 +0000 (Thu, 13 Jul 2000) | 2 lines +Changed paths: + M /trunk/Makefile.in + M /trunk/tests/Makefile.in + +Timestamp modified + +------------------------------------------------------------------------ +r685 | jeandel | 2000-07-13 11:54:18 +0000 (Thu, 13 Jul 2000) | 2 lines +Changed paths: + M /trunk/configure + M /trunk/configure.in + +Nothing + +------------------------------------------------------------------------ +r684 | jeandel | 2000-07-13 11:43:45 +0000 (Thu, 13 Jul 2000) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am + M /trunk/tests/Makefile.in -2001-01-18 Paul Zimmermann <zimmerma@greux.loria.fr> +New release - * mpfr.h: added guard to prevent multiple inclusion +------------------------------------------------------------------------ +r683 | jeandel | 2000-07-13 09:52:17 +0000 (Thu, 13 Jul 2000) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/Makefile.in + M /trunk/tests/Makefile.am + M /trunk/tests/Makefile.in - * cmp.c: fixed bug in mpfr_cmp2 (found on the IA64) +Bugs fixed -2001-01-11 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r682 | jeandel | 2000-07-13 09:39:27 +0000 (Thu, 13 Jul 2000) | 2 lines +Changed paths: + M /trunk/tests/Makefile.in - * tests/tset_str.c: added tests for 0 in mpfr_set_str_raw +Bug fixed - * set_str_raw.c: fixed bug for +0000E0 +------------------------------------------------------------------------ +r681 | jeandel | 2000-07-13 09:21:09 +0000 (Thu, 13 Jul 2000) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * sqrtrem.c: incorporated changes from Kevin/Torbjorn for GMP 3.2 +sin_cos added - * sin_cos.c: - truncate the last uk (when the precision is not a power of 2) +------------------------------------------------------------------------ +r680 | jeandel | 2000-07-13 08:54:06 +0000 (Thu, 13 Jul 2000) | 2 lines +Changed paths: + M /trunk/log2.c + M /trunk/pi.c - * set_str_raw.c: _mp_allocate_func -> _gmp_allocate_func +New algorithm, new wrapper - * set_prec.c: _mp_reallocate_func -> _gmp_reallocate_func +------------------------------------------------------------------------ +r679 | zimmerma | 2000-07-12 12:50:50 +0000 (Wed, 12 Jul 2000) | 2 lines +Changed paths: + M /trunk/tests/tround.c + +replaced 0 by GMP_RNDN + +------------------------------------------------------------------------ +r678 | zimmerma | 2000-07-12 12:47:37 +0000 (Wed, 12 Jul 2000) | 2 lines +Changed paths: + M /trunk/div.c + +fixed (hopefully) bug for 1/1 in precision 32, 64, ... + +------------------------------------------------------------------------ +r677 | zimmerma | 2000-07-12 12:46:05 +0000 (Wed, 12 Jul 2000) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c + +added test for 1/1 in precision 32 or 64 + +------------------------------------------------------------------------ +r676 | zimmerma | 2000-07-11 13:31:50 +0000 (Tue, 11 Jul 2000) | 2 lines +Changed paths: + M /trunk/tests/tlog.c + +use mpfr_print_rnd_mode now + +------------------------------------------------------------------------ +r675 | jeandel | 2000-07-11 11:44:56 +0000 (Tue, 11 Jul 2000) | 2 lines +Changed paths: + M /trunk/INSTALL + M /trunk/Makefile.in + M /trunk/configure + M /trunk/configure.in + +Bug Fixed, and installation guide made + +------------------------------------------------------------------------ +r674 | jeandel | 2000-07-11 11:17:19 +0000 (Tue, 11 Jul 2000) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/configure + M /trunk/configure.in + +Fixed bug + +------------------------------------------------------------------------ +r673 | jeandel | 2000-07-11 11:06:59 +0000 (Tue, 11 Jul 2000) | 2 lines +Changed paths: + M /trunk/Makefile.am + M /trunk/Makefile.in + +Bug Fixed with Solaris make + +------------------------------------------------------------------------ +r672 | jeandel | 2000-07-11 10:55:36 +0000 (Tue, 11 Jul 2000) | 2 lines +Changed paths: + M /trunk/extract.c + +strings.h added + +------------------------------------------------------------------------ +r671 | jeandel | 2000-07-11 10:54:00 +0000 (Tue, 11 Jul 2000) | 2 lines +Changed paths: + M /trunk/Makefile.in + M /trunk/tests/Makefile.in - * set_dfl_prec.c: - __gmp_default_fp_bit_precision -> __mpfr_default_fp_bit_precision +Deps included - * round.c: _mp_xxx_func -> _gmp_xxx_func +------------------------------------------------------------------------ +r670 | jeandel | 2000-07-11 09:55:31 +0000 (Tue, 11 Jul 2000) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am + M /trunk/tests/Makefile.in - * random.c: removed mpfr_srandom +Bug Fixed - * print_raw.c: _mp_xxx_func -> _gmp_xxx_func +------------------------------------------------------------------------ +r669 | jeandel | 2000-07-11 09:52:32 +0000 (Tue, 11 Jul 2000) | 2 lines +Changed paths: + M /trunk/tests/Makefile.in - * out_str.c: sprintf -> fprintf - _mp_free_func -> _gmp_free_func +Bug fixed - * mpz_set_fr.c: _mp_reallocate_func -> __gmp_reallocate_func +------------------------------------------------------------------------ +r668 | jeandel | 2000-07-11 09:52:17 +0000 (Tue, 11 Jul 2000) | 2 lines +Changed paths: + M /trunk/tests/Makefile.am - * mpfr.texi: - added paragraph on NaN and infinities, docu on mpfr_nan_d and mpfr_inf_d - removed mpfr_srandom - some renamings +Bug Fixed - * mpfr.h: removed srandom - __gmp_default_fp_bit_precision -> __mpfr_default_fp_bit_precision - added protocols for mpfr_get_default_prec, mpfr_nan_d and mpfr_inf_d +------------------------------------------------------------------------ +r667 | jeandel | 2000-07-11 09:47:24 +0000 (Tue, 11 Jul 2000) | 2 lines +Changed paths: + A /trunk/Makefile.am + A /trunk/Makefile.in + A /trunk/acinclude.m4 + A /trunk/aclocal.m4 + A /trunk/configure + A /trunk/configure.in + A /trunk/install-sh + A /trunk/missing + A /trunk/mkinstalldirs + A /trunk/tests/Makefile.am + A /trunk/tests/Makefile.in + A /trunk/texinfo.tex - * log.c: removed superfluous TMP_FREE(marker) +First Release - * inp_str.c, init.c, get_str.c, generic.c: - _mp_xxx_func -> _gmp_xxx_func +------------------------------------------------------------------------ +r666 | jeandel | 2000-07-11 09:42:34 +0000 (Tue, 11 Jul 2000) | 2 lines +Changed paths: + D /trunk/COPYING.LIB + A /trunk/NEWS - * dump.c, clear.c: _mp_free_func -> _gmp_free_func +*** empty log message *** - * isnan.c: functions to check for NaN and infinities +------------------------------------------------------------------------ +r665 | jeandel | 2000-07-11 09:41:38 +0000 (Tue, 11 Jul 2000) | 2 lines +Changed paths: + A /trunk/COPYING + A /trunk/ChangeLog + A /trunk/README - * Makefile.am: added isnan.c, removed srandom.h +First Release - * TODO: added two items from Kevin +------------------------------------------------------------------------ +r664 | jeandel | 2000-07-11 09:40:32 +0000 (Tue, 11 Jul 2000) | 2 lines +Changed paths: + A /trunk/AUTHORS - * TODO: add 2 items +First release - * NEWS: 0.4 -> 1.0 +------------------------------------------------------------------------ +r663 | jeandel | 2000-07-11 09:37:43 +0000 (Tue, 11 Jul 2000) | 2 lines +Changed paths: + M /trunk/Configure -2001-01-05 Paul Zimmermann <zimmerma@greux.loria.fr> +Added sin_cos - * tests/tlog.c: added one test for large operands +------------------------------------------------------------------------ +r662 | jeandel | 2000-07-11 09:33:53 +0000 (Tue, 11 Jul 2000) | 2 lines +Changed paths: + A /trunk/generic.c + A /trunk/sin_cos.c - * agm.c: fixed bug in _mpfr_ceil_exp2 (underflow when exp < -1022) +First Release -2000-12-22 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r661 | jeandel | 2000-06-29 14:35:36 +0000 (Thu, 29 Jun 2000) | 2 lines +Changed paths: + M /trunk/extract.c - * TODO: remove what was done +Memory problems fixed - * README: added mpfr-test.h +------------------------------------------------------------------------ +r660 | jeandel | 2000-06-29 14:35:19 +0000 (Thu, 29 Jun 2000) | 2 lines +Changed paths: + M /trunk/exp3.c - * AUTHORS: added Vincent +Memory Leaks Fixed - * NEWS, INSTALL: 1.1 -> 2001 +------------------------------------------------------------------------ +r659 | zimmerma | 2000-06-29 13:22:57 +0000 (Thu, 29 Jun 2000) | 2 lines +Changed paths: + M /trunk/mpfr.h - * get_str.c: cast for _mpfr_floor_log2 was on the wrong side +added prototype for mpfr_sub_ui - * tests/tpow.c: added one test +------------------------------------------------------------------------ +r658 | zimmerma | 2000-06-29 13:22:34 +0000 (Thu, 29 Jun 2000) | 2 lines +Changed paths: + M /trunk/init.c - * agm.c: simplified _mpfr_floor_log2 +now use mpfr macros - * pow.c: code was wrong for infinity +------------------------------------------------------------------------ +r657 | zimmerma | 2000-06-29 13:18:58 +0000 (Thu, 29 Jun 2000) | 2 lines +Changed paths: + M /trunk/sub.c - * log.c: only editing +be careful not to call mpn_sub_n/mpn_sub_1 with a size 0 - * tests/tlog.c: added special() cases +------------------------------------------------------------------------ +r656 | zimmerma | 2000-06-29 13:16:45 +0000 (Thu, 29 Jun 2000) | 2 lines +Changed paths: + M /trunk/clear.c - * log2.c: - removed #if 0 (on Alpha with cc the enclosed code was still used - since the # was not in the first column) +fixed to free an entire number of limbs - * INSTALL: changes for version 1.1 +------------------------------------------------------------------------ +r655 | zimmerma | 2000-06-29 13:14:38 +0000 (Thu, 29 Jun 2000) | 2 lines +Changed paths: + A /trunk/tests/tsub_ui.c - * tests/texp.c: added one test (exp2 vs exp3) +test file for sub_ui - * exp2.c: changed c from mp_limb_t into unsigned long in mpfr_exp2_aux2 - (otherwise bugs on IRIX -n32) +------------------------------------------------------------------------ +r654 | jeandel | 2000-06-28 08:35:07 +0000 (Wed, 28 Jun 2000) | 2 lines +Changed paths: + M /trunk/Configure - * tests/tpow.c: added one test +mpfr_exp3 and mpfr_extract added to Makefile - * pow.c: fixed wrong combination of conditions for Infinity +------------------------------------------------------------------------ +r653 | jeandel | 2000-06-28 08:33:06 +0000 (Wed, 28 Jun 2000) | 2 lines +Changed paths: + M /trunk/exp.c + M /trunk/exp2.c + A /trunk/exp3.c + A /trunk/extract.c - * tests/tcmp2.c: added mpfr-test.h for MIPS +First Release -2000-12-22 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r652 | zimmerma | 2000-06-21 15:56:25 +0000 (Wed, 21 Jun 2000) | 2 lines +Changed paths: + M /trunk/tests/tsqrt_ui.c - * tests/Makefile.in: Modified macro calls +distinguish between mpfr failure and difference with sqrt() -2000-12-22 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r651 | zimmerma | 2000-06-21 15:55:35 +0000 (Wed, 21 Jun 2000) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c - * tests/tset_str.c: - added cast (int) to random() to avoid warning on Solaris +ensures random numbers given to sqrt() are positive - * tests/tset_str.c: added <string.h> +------------------------------------------------------------------------ +r650 | zimmerma | 2000-06-21 15:52:43 +0000 (Wed, 21 Jun 2000) | 2 lines +Changed paths: + M /trunk/rnd_mode.c - * sqrtrem.c: - tiny change at the end of main routine (suggested by Guillaume) +adapted for freebsd - * tests/tcmp2.c: added one test +------------------------------------------------------------------------ +r649 | zimmerma | 2000-06-21 15:52:05 +0000 (Wed, 21 Jun 2000) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h - * tests/tadd.c: added two more tests +modified drand to avoid false NaNs (makes SEGV under FreeBSD) - * sub.c: - fixed bug when c does not overlap with a, b is negative and GMP_RNDN +------------------------------------------------------------------------ +r648 | zimmerma | 2000-06-21 15:51:17 +0000 (Wed, 21 Jun 2000) | 2 lines +Changed paths: + M /trunk/Configure - * mpfr-impl.h, mpfr.h: - moved prototypes for mpfr_set4 and mpfr_cmp3 to mpfr.h +added entry for FreeBSD, removed -pedantic option - * cmp.c: fixed bug in mpfr_cmp2 when d=0 and lots of bits match +------------------------------------------------------------------------ +r647 | zimmerma | 2000-06-21 14:54:08 +0000 (Wed, 21 Jun 2000) | 2 lines +Changed paths: + M /trunk/tests/tui_sub.c - * NEWS, INSTALL: updated for version 1.1 +added one test -2000-12-21 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r646 | zimmerma | 2000-06-21 14:47:02 +0000 (Wed, 21 Jun 2000) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * tests/tpow.c: test file for power functions +added new tests - * tests/reuse.c: test file for in-place operations +------------------------------------------------------------------------ +r645 | zimmerma | 2000-06-21 14:40:38 +0000 (Wed, 21 Jun 2000) | 2 lines +Changed paths: + M /trunk/mpfr.h - * tests/tdiv.c, tests/tdiv_ui.c, tests/texp.c, tests/tget_str.c, tests/tlog.c, tests/tmul.c, tests/tout_str.c, tests/tsqrt.c, tests/tsqrt_ui.c, tests/tui_div.c, tests/tui_sub.c: - unsigned char (or int) -> mp_rnd_t +added prototype for mpfr_set_prec_raw - * tests/tagm.c: unsigned char -> mp_rnd_t +------------------------------------------------------------------------ +r644 | zimmerma | 2000-06-21 14:40:17 +0000 (Wed, 21 Jun 2000) | 2 lines +Changed paths: + M /trunk/TODO - * tests/tadd.c: unsigned int -> mp_rnd_t +removed work done - * print_raw.c, reldiff.c, set_d.c, sin_cos.c, sqrt.c, sqrt_ui.c, sub.c, sub_ui.c, tests/tcmp.c, tests/tcmp2.c, tests/tcmp_ui.c, tests/tdump.c, tests/teq.c, tests/tmul_ui.c, tests/trandom.c, tests/ttrunc.c, trunc.c, ui_div.c, ui_sub.c, add.c, add_ui.c, agm.c, cmp.c, cmp_ui.c, div.c, div_ui.c, exp.c, exp2.c, exp3.c, get_str.c, inp_str.c, log.c, log2.c, out_str.c, pi.c, pow.c: - k2r -> ansi style - removed #include <math.h> by defining auxiliary functions - fixed several tiny remaining bugs with NaN/Inf +------------------------------------------------------------------------ +r643 | zimmerma | 2000-06-21 13:54:05 +0000 (Wed, 21 Jun 2000) | 2 lines +Changed paths: + M /trunk/sub.c - * mpfr.texi: updated description of mpfr_cmp* and mpfr_sin_cos +fixed several bugs - * mpfr.h: added MPFR_SIGN +------------------------------------------------------------------------ +r642 | zimmerma | 2000-06-21 13:52:24 +0000 (Wed, 21 Jun 2000) | 2 lines +Changed paths: + M /trunk/add.c - * mpfr-impl.h: added MPFR_CLEAR_NAN - MPFR_RESET_INF -> MPFR_CLEAR_INF - moved MPFR_SIGN to mpfr.h - added prototypes for log2/isqrt/cuberoot functions +merged different roundings in case diff_exp<PREC(a), dif<=PREC(c) - * tests/Makefile.am: added reuse, tcmp2, teq, tpow, trandom, ttrunc +------------------------------------------------------------------------ +r641 | zimmerma | 2000-06-21 09:58:17 +0000 (Wed, 21 Jun 2000) | 2 lines +Changed paths: + M /trunk/tests/trandom.c - * tests/tui_sub.c, tests/tui_div.c: removed isnan(), ... +removed printf for argc=1 - * tests/tsqrt_ui.c: removed gmp-impl.h, isnan(), ... +------------------------------------------------------------------------ +r640 | zimmerma | 2000-06-21 09:54:31 +0000 (Wed, 21 Jun 2000) | 2 lines +Changed paths: + M /trunk/tests/tadd_ui.c + M /trunk/tests/tui_sub.c - * tests/tsqrt.c: removed gmp-impl, isnan(), ... +added one test - * tests/tsin_cos.c: removed cputime stuff +------------------------------------------------------------------------ +r639 | zimmerma | 2000-06-21 09:52:32 +0000 (Wed, 21 Jun 2000) | 2 lines +Changed paths: + M /trunk/Configure - * tests/tset_z.c: k&r -> ansi style +make ceil.o,floor.o,trunc.o depend on trunc.c - * tests/tout_str.c: removed isnan() decl. +------------------------------------------------------------------------ +r638 | hanrot | 2000-06-20 08:50:47 +0000 (Tue, 20 Jun 2000) | 2 lines +Changed paths: + M /trunk/tests/tdiv_ui.c + M /trunk/tests/teq.c + M /trunk/tests/tout_str.c + M /trunk/tests/trandom.c + M /trunk/tests/ttrunc.c - * tests/tmul.c: MINNORM -> mpfr-test.h +Various patches for leaks, UMR and (one) BUS. - * tests/tlog.c: removed isnan() decl. +------------------------------------------------------------------------ +r637 | hanrot | 2000-06-19 16:20:54 +0000 (Mon, 19 Jun 2000) | 2 lines +Changed paths: + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tset_str.c - * tests/tget_str.c: k&r -> ansi style +This patch suppresses a few mem leaks. - * tests/texp.c: ulp -> mpfr-test.h +------------------------------------------------------------------------ +r636 | hanrot | 2000-06-19 15:38:44 +0000 (Mon, 19 Jun 2000) | 2 lines +Changed paths: + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tsqrt.c - * tests/tdiv_ui.c: removed isnan() declaration +Suppressed memory leaks. - * tests/tdiv.c: now use MINNORM and MAXNORM +------------------------------------------------------------------------ +r635 | hanrot | 2000-06-19 10:15:32 +0000 (Mon, 19 Jun 2000) | 3 lines +Changed paths: + M /trunk/div.c + M /trunk/mul_ui.c + M /trunk/sqrt.c - * tests/tagm.c: max, min -> macros +Patch for 1 << (BITS_PER_MP_LIMB - x) when x is 0 (produces inexact results +on PPCs). - * tests/tadd.c: added new tests +------------------------------------------------------------------------ +r634 | zimmerma | 2000-06-16 15:23:35 +0000 (Fri, 16 Jun 2000) | 2 lines +Changed paths: + M /trunk/tests/trandom.c - * mpfr-test.h: added MINNORM, MAXNORM, MIN, MAX, ABS +arguments of gmp_randinit were in wrong order -2000-12-20 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r633 | hanrot | 2000-06-16 15:13:13 +0000 (Fri, 16 Jun 2000) | 2 lines +Changed paths: + M /trunk/eq.c - * tests/texp.c, tests/tset_str.c: A few basic patches. +Patch in the case when n_bits is a multiple of 32. - * rnd_mode.c: Added support for PPC/Linux +------------------------------------------------------------------------ +r632 | zimmerma | 2000-06-16 15:05:34 +0000 (Fri, 16 Jun 2000) | 2 lines +Changed paths: + M /trunk/tests/tabs.c - * mpfr-test.h: Patch for wrong prototype. +added patch to get denorms on IRIX64 - * tests/tout_str.c, tests/tset_q.c, tests/tset_str.c, tests/tset_z.c, tests/tsin_cos.c, tests/tsqrt.c, tests/tsqrt_ui.c, tests/tui_div.c, tests/tui_sub.c, tests/Makefile.in, tests/tadd.c, tests/tagm.c, tests/tcmp.c, tests/tdiv.c, tests/tdiv_ui.c, tests/texp.c, tests/tget_str.c, tests/tlog.c, tests/tmul.c, configure, cputime.h, mpfr-test.h, Makefile.am, Makefile.in: - Added prototypes for all test files. +------------------------------------------------------------------------ +r631 | zimmerma | 2000-06-16 15:02:04 +0000 (Fri, 16 Jun 2000) | 2 lines +Changed paths: + M /trunk/tests/tadd.c -2000-12-18 Vincent Lefevre <lefevre@greux.loria.fr> +put instruction to get denormalized numbers on IRIX64 out of #ifdef TEST - * set_z.c, add_ulp.c, extract.c, mpz_set_fr.c, set_d.c, set_q.c: - Warnings suppressed on Alpha/OSF1. +------------------------------------------------------------------------ +r630 | zimmerma | 2000-06-16 14:37:23 +0000 (Fri, 16 Jun 2000) | 2 lines +Changed paths: + M /trunk/div.c -2000-12-18 Paul Zimmermann <zimmerma@greux.loria.fr> +fixed bug occurring on LinuxPPC (1 << 32) - * Makefile.am: added mpfr-test.h +------------------------------------------------------------------------ +r629 | zimmerma | 2000-06-16 14:35:00 +0000 (Fri, 16 Jun 2000) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c - * aclocal.m4: back to 1.3 +added one test (bug on LinuxPPC) - * mpfr-test.h: auxiliary test files +------------------------------------------------------------------------ +r628 | zimmerma | 2000-06-16 13:47:32 +0000 (Fri, 16 Jun 2000) | 2 lines +Changed paths: + M /trunk/tests/tset_str.c - * tests/mpfr-test.h: moved to main directory +added one test - * tests/mpfr-test.h: auxiliary test functions +------------------------------------------------------------------------ +r627 | zimmerma | 2000-06-16 12:54:05 +0000 (Fri, 16 Jun 2000) | 2 lines +Changed paths: + M /trunk/trunc.c - * tests/tmul_2exp.c, tests/tmul_ui.c, tests/tout_str.c, tests/tset_d.c, tests/tset_si.c, tests/tset_str.c, tests/tsqrt.c, tests/tsqrt_ui.c, tests/tui_div.c, tests/tui_sub.c, set_prc_raw.c, set_prec.c, set_q.c, set_si.c, set_str.c, set_str_raw.c, set_z.c, sin_cos.c, sqrt.c, sqrt_ui.c, sqrtrem.c, sub.c, sub_ui.c, swap.c, tests/Makefile.in, tests/tabs.c, tests/tadd.c, tests/tagm.c, tests/tcmp.c, tests/tdiv.c, tests/tdiv_ui.c, tests/tget_str.c, tests/tlog.c, tests/tmul.c, trunc.c, ui_div.c, ui_sub.c, urandomb.c, exp3.c, extract.c, generic.c, get_str.c, init.c, log.c, log2.c, mpfr-impl.h, mpfr.h, mpfr.texi, mpz_set_fr.c, mul.c, mul_2exp.c, mul_ui.c, neg.c, out_str.c, pi.c, pow.c, print_raw.c, random.c, random2.c, round.c, set.c, set_d.c, set_f.c, Makefile.in, aclocal.m4, add.c, add_ui.c, add_ulp.c, agm.c, clear.c, cmp.c, cmp_ui.c, configure, div.c, div_2exp.c, div_ui.c, dump.c, eq.c, exp.c, exp2.c: - changed name of mpfr struct fields: _mp_d -> _mpfr_d - (to detect conflicts with mpf) - fixed a few problems in non-STDC headers - moved definitions of mpfr-impl.h to mpfr-test.h and created a real mpfr-impl.h +fixed several problems -2000-12-15 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r626 | zimmerma | 2000-06-16 12:53:22 +0000 (Fri, 16 Jun 2000) | 2 lines +Changed paths: + M /trunk/tests/ttrunc.c - * tests/Makefile.am: removed tzeta +added more tests - * mpfr.texi: explained how to enter NaN/Inf with mpfr_set_str_raw +------------------------------------------------------------------------ +r625 | hanrot | 2000-06-16 10:02:43 +0000 (Fri, 16 Jun 2000) | 2 lines +Changed paths: + M /trunk/round.c - * Makefile.am: removed zeta.c +Patches for the case where the precision is a multiple of the word size. - * zeta.c: added 'to do' for NaN/Inf flags +------------------------------------------------------------------------ +r624 | zimmerma | 2000-06-16 08:28:40 +0000 (Fri, 16 Jun 2000) | 2 lines +Changed paths: + M /trunk/sub.c - * urandomb.c: clear NaN/Inf flags of result +fixed another bug - * ui_sub.c: improved indentation +------------------------------------------------------------------------ +r623 | zimmerma | 2000-06-16 08:26:45 +0000 (Fri, 16 Jun 2000) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + M /trunk/tests/tui_sub.c - * ui_div.c, trunc.c: adapted to NaN/Inf +added one test - * sub_ui.c: nothing (only better indenting) +------------------------------------------------------------------------ +r622 | zimmerma | 2000-06-16 08:22:28 +0000 (Fri, 16 Jun 2000) | 2 lines +Changed paths: + M /trunk/mpfr.h - * sub.c: adapted to NaN/Inf - removed warnings +added prototype for mpz_set_fr - * sqrt_ui.c: adapted to NaN/Inf +------------------------------------------------------------------------ +r621 | zimmerma | 2000-06-16 08:21:53 +0000 (Fri, 16 Jun 2000) | 2 lines +Changed paths: + M /trunk/log.c - * generic.c, sin_cos.c: removed warnings +improved choice of initial precision - * sqrt.c: clear NaN/Inf flags in normal case +------------------------------------------------------------------------ +r620 | zimmerma | 2000-06-16 08:21:03 +0000 (Fri, 16 Jun 2000) | 2 lines +Changed paths: + M /trunk/Configure + A /trunk/mpz_set_fr.c - * set_z.c, set_str_raw.c: adapted to NaN/Inf +added mpz_set_fr (conversion from mpfr to mpz) - * mpfr.h: added prototype for mpfr_srandom +------------------------------------------------------------------------ +r619 | zimmerma | 2000-06-16 08:16:49 +0000 (Fri, 16 Jun 2000) | 2 lines +Changed paths: + M /trunk/tests/tround.c - * random.c: - now uses directly mpn_random, to avoid all problems with include files +added return type 'int' for main - * tests/tsin_cos.c: added 4 tests +------------------------------------------------------------------------ +r618 | hanrot | 2000-06-15 17:42:09 +0000 (Thu, 15 Jun 2000) | 2 lines +Changed paths: + M /trunk/Configure - * ui_sub.c, ui_div.c, sub_ui.c, sqrt_ui.c, sqrt.c: _mp_d -> MPFR_MANT +Added TESTFLAGS to the main Makefile. Added ttrunc. - * set_str_raw.c, set_prec.c, round.c, print_raw.c, mpz_set_fr.c: - added error message when memory allocation fails +------------------------------------------------------------------------ +r617 | hanrot | 2000-06-15 17:26:03 +0000 (Thu, 15 Jun 2000) | 2 lines +Changed paths: + M /trunk/trunc.c - * log.c: _mp_d -> MPFR_MANT +Minor patch (put to 0 the nonsignificant bits). - * inp_str.c: added error message when memory allocation fails +------------------------------------------------------------------------ +r616 | hanrot | 2000-06-15 17:16:02 +0000 (Thu, 15 Jun 2000) | 2 lines +Changed paths: + M /trunk/mpfr.h - * init.c: 0 -> NULL +Added declaration of trunc, ceil, floor. - * get_str.c: added error message when memory allocation fails +------------------------------------------------------------------------ +r615 | hanrot | 2000-06-15 17:15:40 +0000 (Thu, 15 Jun 2000) | 2 lines +Changed paths: + A /trunk/tests/ttrunc.c - * generic.c: added error message if memory allocation fails +Tests for trunc, ceil, floor. - * exp2.c: _mp_d -> PTR +------------------------------------------------------------------------ +r614 | hanrot | 2000-06-15 16:43:40 +0000 (Thu, 15 Jun 2000) | 3 lines +Changed paths: + M /trunk/Configure - * eq.c, div.c: _mp_d -> MPFR_MANT +Added TESTFLAGS variable to the compile instruction, for use as +make "TESTFLAGS=-DTEST" - * agm.c: _mp_prec -> MPFR_PREC - _mp_d -> MPFR_MANT +------------------------------------------------------------------------ +r613 | zimmerma | 2000-06-15 16:00:28 +0000 (Thu, 15 Jun 2000) | 3 lines +Changed paths: + M /trunk/tests/teq.c - * mpf2mpfr.h, mpfr.h: added mpfr_swap +1 -> (mp_limb_t) 1 [pb on 64-bit machines] +reduced number of tests to 1000 - * mpfr.h: removed MPFR_SET_IS_FP (not used) +------------------------------------------------------------------------ +r612 | hanrot | 2000-06-15 10:32:04 +0000 (Thu, 15 Jun 2000) | 3 lines +Changed paths: + M /trunk/tests/trandom.c -2000-12-15 Guillaume Hanrot <hanrot@greux.loria.fr> +Display of statistics is only toggled if a number of tests to be performed +is given. Shameful hack, but is getopt really portable ? - * mul.c, pow.c, init.c, log.c, mpfr.h: A few patches. +------------------------------------------------------------------------ +r611 | hanrot | 2000-06-15 10:25:51 +0000 (Thu, 15 Jun 2000) | 2 lines +Changed paths: + M /trunk/Configure -2000-12-15 Vincent Lefevre <lefevre@greux.loria.fr> +Added trandom, teq - * mpfr.h: MPFR_CHANGE_SIGN modified to avoid a possible side effect. +------------------------------------------------------------------------ +r610 | hanrot | 2000-06-15 10:25:20 +0000 (Thu, 15 Jun 2000) | 2 lines +Changed paths: + M /trunk/mpfr.h -2000-12-15 Paul Zimmermann <zimmerma@greux.loria.fr> +Added random2, urandomb - * set_f.c: warning: x is a MPF not a MPFR! +------------------------------------------------------------------------ +r609 | hanrot | 2000-06-15 10:15:58 +0000 (Thu, 15 Jun 2000) | 2 lines +Changed paths: + M /trunk/tests/tmul_2exp.c -2000-12-15 Guillaume Hanrot <hanrot@greux.loria.fr> +Added div_2exp to the (very rough) test. - * random.c: Modification of the order of includes in random.c +------------------------------------------------------------------------ +r608 | hanrot | 2000-06-15 10:13:37 +0000 (Thu, 15 Jun 2000) | 2 lines +Changed paths: + A /trunk/tests/trandom.c -2000-12-15 Vincent Lefevre <lefevre@greux.loria.fr> +Very basic statistical tests for random, random2, urandomb. - * tests/Makefile.in, Makefile.in, configure, configure.in: - Added some warning flags for GCC. +------------------------------------------------------------------------ +r607 | hanrot | 2000-06-15 10:13:19 +0000 (Thu, 15 Jun 2000) | 2 lines +Changed paths: + M /trunk/random.c -2000-12-15 Guillaume Hanrot <hanrot@greux.loria.fr> +Patch for random (libc's random() is on 31 bits only) - * srandom.h: Header file for srandom() +------------------------------------------------------------------------ +r606 | hanrot | 2000-06-15 08:12:10 +0000 (Thu, 15 Jun 2000) | 2 lines +Changed paths: + A /trunk/tests/teq.c - * exp.c, exp2.c, mpfr.h, pow.c, random.c, add_ulp.c: - Patches for compiler warnings. +Test for mpfr_eq. - * mul_ui.c, pi.c, random.c, random2.c, set_d.c, set_f.c, set_q.c, set_si.c, set_str.c, set_str_raw.c, set_z.c, sub_ui.c, ui_div.c, ui_sub.c, urandomb.c, zeta.c, add_ui.c, cmp.c, cmp_ui.c, div.c, get_str.c, log2.c, mpz_set_fr.c: - Yet another patch for include files. +------------------------------------------------------------------------ +r605 | hanrot | 2000-06-15 08:11:54 +0000 (Thu, 15 Jun 2000) | 2 lines +Changed paths: + M /trunk/eq.c - * set_z.c, sin_cos.c, sqrt.c, sub.c, sub_ui.c, swap.c, trunc.c, ui_div.c, ui_sub.c, urandomb.c, zeta.c, log2.c, mpz_set_fr.c, mul.c, mul_2exp.c, mul_ui.c, neg.c, out_str.c, pi.c, print_raw.c, print_rnd_mode.c, random.c, random2.c, reldiff.c, round.c, set.c, set_d.c, set_dfl_prec.c, set_f.c, set_prc_raw.c, set_prec.c, set_q.c, set_rnd.c, set_si.c, set_str.c, set_str_raw.c, add_ui.c, add_ulp.c, agm.c, clear.c, cmp.c, cmp_ui.c, div.c, div_2exp.c, div_ui.c, dump.c, eq.c, exp.c, exp2.c, exp3.c, extract.c, get_str.c, init.c, inp_str.c, log.c: - Permutation of includes to avoid warnings due to careless multiple definition - of ULONG_MAX. +Patch a few incoherences of eq.c wrt the manual + adapt to mpfr usual semantics -2000-12-14 Vincent Lefevre <lefevre@greux.loria.fr> +------------------------------------------------------------------------ +r604 | zimmerma | 2000-06-07 09:50:41 +0000 (Wed, 07 Jun 2000) | 2 lines +Changed paths: + A /trunk/cputime.h - * mul_ui.c, set.c, set_f.c: Bug fixed concerning the flags. +header file providing cputime() function - * set_str.c: - Bugs fixed (in case char is signed and accented characters are given). +------------------------------------------------------------------------ +r603 | zimmerma | 2000-06-07 09:45:23 +0000 (Wed, 07 Jun 2000) | 2 lines +Changed paths: + A /trunk/tests/texp2.c - * random.c: Include "urandom.h". Old code removed. +test file comparing mpfr_exp and mpfr_exp2 - * reldiff.c, set.c, set_d.c, set_f.c, set_q.c, set_si.c: - Take into account Inf, Nans ; clear the flags of the return variable - in most function calls. +------------------------------------------------------------------------ +r602 | zimmerma | 2000-06-07 09:44:40 +0000 (Wed, 07 Jun 2000) | 4 lines +Changed paths: + A /trunk/exp2.c - * random.c: Use urandom(). +O(n^(1/3)*log(n)) algorithm using Brent's method +and Brent-Kung's O(sqrt(t)) algorithm to evaluate +a power series of order t [exact rounding not yet finished] - * random.c, random2.c, reldiff.c: - Take into account Inf, Nans ; clear the flags of the return variable - in most function calls. +------------------------------------------------------------------------ +r601 | zimmerma | 2000-05-29 15:37:53 +0000 (Mon, 29 May 2000) | 2 lines +Changed paths: + M /trunk/round.c -2000-12-14 Guillaume Hanrot <hanrot@greux.loria.fr> +fixed bug in mpfr_round (wrong sign) - * random.c: Yet another random patch. +------------------------------------------------------------------------ +r600 | zimmerma | 2000-05-29 15:09:51 +0000 (Mon, 29 May 2000) | 2 lines +Changed paths: + M /trunk/round.c - * random.c: Replaced random by rand. +fixed bug in mpfr_round: did not check allocated space was large enough -2000-12-13 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r599 | zimmerma | 2000-05-29 14:02:08 +0000 (Mon, 29 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tcmp_ui.c - * div.c: fixed pb with mp_ptr vs mp_srcptr +main -> int main -2000-12-13 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r598 | zimmerma | 2000-05-29 13:54:39 +0000 (Mon, 29 May 2000) | 3 lines +Changed paths: + M /trunk/rnd_mode.c - * tests/tmul_2exp.c, tests/tmul_ui.c, tests/tout_str.c, tests/tsin_cos.c, tests/tsqrt.c, tests/tsub_ui.c, tests/tui_div.c, tests/tui_sub.c, tests/Makefile.in, tests/tadd_ui.c, tests/tdiv.c, tests/tmul.c: - Take into account Inf, Nans ; clear the flags of the return variable - in most function calls. Tests updated accordingly +added #ifdef TEST: if not defined (default), then function +mpfr_set_machine_rnd_mode is not defined - * pi.c, pow.c, set_d.c, sub_ui.c, ui_div.c, ui_sub.c, Makefile.in, eq.c, generic.c, inp_str.c, log.c, log2.c, mpfr.h, mul.c, mul_ui.c: - Take into account Inf, Nans ; clear the flags of the return variable - in most function calls. +------------------------------------------------------------------------ +r597 | zimmerma | 2000-05-29 13:53:43 +0000 (Mon, 29 May 2000) | 3 lines +Changed paths: + M /trunk/tests/tabs.c + M /trunk/tests/tadd_ui.c + M /trunk/tests/tcmp.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/texp.c + M /trunk/tests/tget_str.c + M /trunk/tests/tlog.c + M /trunk/tests/tmul.c + M /trunk/tests/tout_str.c + M /trunk/tests/tset_q.c + M /trunk/tests/tui_div.c + M /trunk/tests/tui_sub.c -2000-12-13 Paul Zimmermann <zimmerma@greux.loria.fr> +added #ifdef TEST to disable comparison with machine arithmetic +by default (i.e. calls to mpfr_set_machine_rnd_mode) - * sin_cos.c: check that we can round the cosine too +------------------------------------------------------------------------ +r596 | zimmerma | 2000-05-29 13:46:24 +0000 (Mon, 29 May 2000) | 2 lines +Changed paths: + M /trunk/sqrt.c -2000-12-12 Paul Zimmermann <zimmerma@greux.loria.fr> +removed longlong.h (not needed) - * exp3.c: removed TIMING stuff - ensures prec_x >= 0 +------------------------------------------------------------------------ +r595 | zimmerma | 2000-05-29 13:45:51 +0000 (Mon, 29 May 2000) | 2 lines +Changed paths: + M /trunk/set.c - * exp2.c: we need m >= 2 in mpfr_exp2_aux2 +now deals with NaN - * sub_ui.c: forgot TMP_MARK(marker) +------------------------------------------------------------------------ +r594 | zimmerma | 2000-05-29 13:45:17 +0000 (Mon, 29 May 2000) | 2 lines +Changed paths: + M /trunk/round.c - * sqrt.c, sqrt_ui.c: forgot TMP_MARK(marker) or free'd in wrong order +RND_MODE -> rnd_mode - * set_f.c, ui_div.c, ui_sub.c: forgot TMP_MARK(marker) +------------------------------------------------------------------------ +r593 | zimmerma | 2000-05-29 13:44:13 +0000 (Mon, 29 May 2000) | 2 lines +Changed paths: + M /trunk/mpfr.h - * mpf2mpfr.h: fixed mpf_reldiff, mpf_urandomb and mpf_t +mpfr_init is now a function (no more a macro) - * INSTALL: added stack-alloc.h when --disable-alloca +------------------------------------------------------------------------ +r592 | zimmerma | 2000-05-29 13:43:39 +0000 (Mon, 29 May 2000) | 3 lines +Changed paths: + M /trunk/init.c -2000-12-11 Vincent Lefevre <lefevre@greux.loria.fr> +printf -> fprintf +added mpfr_init as function - * out_str.c, set_d.c: out_str.c: <string.h> included - set_d.c: (0./0.) instead of sqrt(-1) for NaN (doesn't need <math.h>) - set_d.c: () added for macros Infp and Infm +------------------------------------------------------------------------ +r591 | zimmerma | 2000-05-29 13:42:10 +0000 (Mon, 29 May 2000) | 3 lines +Changed paths: + M /trunk/mpf2mpfr.h -2000-12-07 Paul Zimmermann <zimmerma@greux.loria.fr> +changed (x) -> x +fixed several typos - * tests/tcmp.c: - shortened string in mpfr_set_str_raw which was greater than precision +------------------------------------------------------------------------ +r590 | zimmerma | 2000-05-29 11:28:48 +0000 (Mon, 29 May 2000) | 2 lines +Changed paths: + M /trunk/div.c - * set_d.c: - replaced isnan/isinf/math.h (not portable, for example isinf does not exist - on Sparc) by new macros from mpfr.h +removed printf - * set_str_raw.c, mpfr.texi: - added an error message when the mantissa is larger than the precision - (in mpfr_set_str_raw) +------------------------------------------------------------------------ +r589 | zimmerma | 2000-05-26 16:38:44 +0000 (Fri, 26 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tagm.c - * mpfr.h: - added macros to recognize doubles that are NaNs and infinities - (isinf is not portable and requires math.h) +added ifdef TEST - * div.c: - in case the destination precision is less than that of the operands, - and the 1st iteration fails, increase directly the precision to the maximum - of that of the operands, otherwise divisions by 1.0 may need lots of - iterations +------------------------------------------------------------------------ +r588 | zimmerma | 2000-05-26 16:28:09 +0000 (Fri, 26 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c - * add.c: added 'return' after dealing with infinities +removed debug line - * TODO: added wish from JC Fauge`re +------------------------------------------------------------------------ +r587 | zimmerma | 2000-05-26 16:25:37 +0000 (Fri, 26 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tui_sub.c -2000-12-05 Paul Zimmermann <zimmerma@greux.loria.fr> +added one test - * init.c, mpfr.texi: - mpfr_init/mpfr_init2 initialize to 0 (compatibility with mpf) +------------------------------------------------------------------------ +r586 | zimmerma | 2000-05-26 16:25:13 +0000 (Fri, 26 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * cmp.c: - fixed bug in mpfr_cmp2 when return value is k*BITS_PER_MP_LIMB-1 +added 2 new tests - * tests/tcmp.c: added new test for mpfr_cmp2 +------------------------------------------------------------------------ +r585 | zimmerma | 2000-05-26 16:24:25 +0000 (Fri, 26 May 2000) | 2 lines +Changed paths: + M /trunk/add.c - * mpfr.h: now ABSSIZE uses only 29 bits +little change -2000-12-04 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r584 | zimmerma | 2000-05-26 16:20:49 +0000 (Fri, 26 May 2000) | 2 lines +Changed paths: + M /trunk/sub.c - * mpfr.texi: - added some explanations how to free the memory space allocated by mpfr_get_str +more changes - * sqrt.c: - fixed one bug found by N. Mueller (MPFR_ABSSIZE(u) was used instead of usize) +------------------------------------------------------------------------ +r583 | zimmerma | 2000-05-26 15:44:03 +0000 (Fri, 26 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c + M /trunk/tests/tsqrt.c + M /trunk/tests/tsqrt_ui.c - * tests/tsqrt.c: added one more test from N. Mueller +added ifdef TEST -2000-12-01 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r582 | zimmerma | 2000-05-26 15:43:31 +0000 (Fri, 26 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tset_f.c - * exp3.c, sin_cos.c: cleaned calls to mpfr_extract +does not use machine rounding mode any more - * TODO: added new line +------------------------------------------------------------------------ +r581 | zimmerma | 2000-05-26 15:24:40 +0000 (Fri, 26 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * init.c: added error message when _mp_allocate_func returns 0 +added 7 new tests - * mpfr.h: added header for mpfr_extract +------------------------------------------------------------------------ +r580 | zimmerma | 2000-05-26 15:24:16 +0000 (Fri, 26 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tui_sub.c - * extract.c: - documented what function does - - cleaned code - - added header about license... +fixed typo in printf format - * agm.c, exp2.c, exp3.c, get_str.c, log2.c, mpfr.h, pi.c, pow.c, sin_cos.c: - replaced log(2.0) by LOG2 [first step in getting rid of math.h] +------------------------------------------------------------------------ +r579 | zimmerma | 2000-05-26 15:22:37 +0000 (Fri, 26 May 2000) | 2 lines +Changed paths: + M /trunk/add.c + M /trunk/sub.c - * mpfr.h: added extern "C" { ... } for inclusion in C++ - removed old KARATSUBA threshold for gmp 2.0.2 +fixed several rounding problems - * tests/tcmp.c, TODO, cmp.c: - fixed bug in mpfr_cmp3 (when b=0, s not taken into account) +------------------------------------------------------------------------ +r578 | zimmerma | 2000-05-26 12:52:45 +0000 (Fri, 26 May 2000) | 2 lines +Changed paths: + M /trunk/sub.c - * tests/Makefile.am, Makefile.am: added swap/tswap +rewritten case dif<=0 and PREC(b)>PREC(a) (merged all roundings) - * tests/tswap.c: test file for new function mpfr_swap +------------------------------------------------------------------------ +r577 | zimmerma | 2000-05-26 10:11:04 +0000 (Fri, 26 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * swap.c, mpfr.texi: added new function mpfr_swap +removed DEBUG, VERBOSE ifdef's - * tests/tround.c, tests/tset_d.c, tests/tset_f.c, tests/tset_q.c, tests/tset_si.c, tests/tset_str.c, tests/tset_z.c, tests/tsqrt.c, tests/tsqrt_ui.c, tests/tsub_ui.c, tests/ttrunc.c, tests/tui_div.c, tests/tui_sub.c, tests/tzeta.c, tests/Makefile.in, tests/tabs.c, tests/tadd.c, tests/tadd_ui.c, tests/tagm.c, tests/tcan_round.c, tests/tcmp.c, tests/tcmp2.c, tests/tcmp_ui.c, tests/tdiv.c, tests/tdiv_ui.c, tests/tdump.c, tests/teq.c, tests/texp.c, tests/tget_str.c, tests/tlog.c, tests/tlog2.c, tests/tmul.c, tests/tmul_2exp.c, tests/tmul_ui.c, tests/tout_str.c, tests/tpi.c, tests/trandom.c, set_str_raw.c, set_z.c, sqrt.c, sqrt_ui.c, sqrtrem.c, sub.c, sub_ui.c, ui_div.c, ui_sub.c, zeta.c, mpz_set_fr.c, mul.c, mul_2exp.c, mul_ui.c, neg.c, out_str.c, pi.c, pow.c, print_raw.c, print_rnd_mode.c, random.c, reldiff.c, rnd_mode.c, round.c, set.c, set_d.c, set_dfl_prec.c, set_f.c, set_prc_raw.c, set_prec.c, set_q.c, set_rnd.c, set_si.c, set_str.c, add.c, add_ui.c, add_ulp.c, agm.c, clear.c, cmp.c, cmp_ui.c, div.c, div_2exp.c, div_ui.c, exp.c, exp2.c, exp3.c, generic.c, get_str.c, init.c, log.c, log2.c, mpfi.c, mpfr-impl.h, mpfr.h: - changed copyright to Free Software Foundation +------------------------------------------------------------------------ +r576 | zimmerma | 2000-05-26 10:07:43 +0000 (Fri, 26 May 2000) | 2 lines +Changed paths: + M /trunk/sub.c - * TODO: added possible bug in mpfr_get_str +fixed (hopefully) the case dif<=0, PREC(b)>PREC(a), directed rounding - * init_set.h: now all is in mpfr.h +------------------------------------------------------------------------ +r575 | zimmerma | 2000-05-26 08:59:28 +0000 (Fri, 26 May 2000) | 3 lines +Changed paths: + M /trunk/sub.c - * sin_cos.c: - return value was wrong for input non-zero (should return 1 = inexact) +replaced (mp_limb_t)1 by macro ONE +fixed bug for GMP_RNDN with overlap=1 - * mpfr.texi: fixed/improved doc. of mpfr_sin_cos and mpfr_urandomb +------------------------------------------------------------------------ +r574 | zimmerma | 2000-05-26 08:58:32 +0000 (Fri, 26 May 2000) | 2 lines +Changed paths: + M /trunk/add.c - * mpfr.h: removed macro for mpfr_init_set_str_raw +removed misplaced comment - * mpfr.h: added prototype for mpfr_sin_cos +------------------------------------------------------------------------ +r573 | zimmerma | 2000-05-26 08:20:16 +0000 (Fri, 26 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * sqrt.c: sign of result was not correctly (re)set +added one test - * tests/tsqrt.c: added test to check sign of square root +------------------------------------------------------------------------ +r572 | zimmerma | 2000-05-26 08:16:19 +0000 (Fri, 26 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tadd.c -2000-11-29 Paul Zimmermann <zimmerma@greux.loria.fr> +does not use rnd_mode.c by default - * sin_cos.c: - gained a factor of 2 in most cases (replaced initial constant factor=2 - for additional bits for cos(x) by log(n)) +------------------------------------------------------------------------ +r571 | zimmerma | 2000-05-26 07:41:46 +0000 (Fri, 26 May 2000) | 2 lines +Changed paths: + M /trunk/add.c - * tests/Makefile.am: added tsin_cos +removed unused label - * sub.c: fixed potential problem in mpfr_sub1 (k=0 and kc<0) +------------------------------------------------------------------------ +r570 | zimmerma | 2000-05-26 07:40:31 +0000 (Fri, 26 May 2000) | 2 lines +Changed paths: + M /trunk/add.c - * tests/tsin_cos.c: test file for sin/cos +fixed more tiny bugs -2000-11-28 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r569 | zimmerma | 2000-05-25 17:00:04 +0000 (Thu, 25 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tsqrt_ui.c - * sub.c: - forgot cast to int before comparison between imax (can be negative) and an +use mpfr_print_rnd_mode now - * cmp.c: returned value was one too small in case d=1 +------------------------------------------------------------------------ +r568 | zimmerma | 2000-05-25 16:59:43 +0000 (Thu, 25 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tui_sub.c - * tests/tadd.c: added new test from N. Mueller +added one test - * set_d.c: added return for case of infinities +------------------------------------------------------------------------ +r567 | zimmerma | 2000-05-25 16:59:08 +0000 (Thu, 25 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + M /trunk/tests/tadd_ui.c - * mpfr.h: added macro MPFR_RESET_INF +added more tests - * set_d.c: don't forget to reset infinity flag if set! +------------------------------------------------------------------------ +r566 | zimmerma | 2000-05-25 16:55:19 +0000 (Thu, 25 May 2000) | 2 lines +Changed paths: + M /trunk/add_ui.c - * cmp.c: - fixed bug in mpfr_cmp2: wrong limb considered after cp[cn--] when - cp[cn] was not 111...111 +removed TMP_ALLOC stuff - * sub.c: fixed bug when imax>an +------------------------------------------------------------------------ +r565 | zimmerma | 2000-05-25 16:54:29 +0000 (Thu, 25 May 2000) | 2 lines +Changed paths: + M /trunk/sub.c -2000-11-27 Paul Zimmermann <zimmerma@greux.loria.fr> +fixed new bug when a <- b - c with tiny c - * mpfr.h: added macro MPFR_IS_ZERO +------------------------------------------------------------------------ +r564 | zimmerma | 2000-05-25 16:30:10 +0000 (Thu, 25 May 2000) | 2 lines +Changed paths: + M /trunk/sub.c -2000-11-21 Guillaume Hanrot <hanrot@greux.loria.fr> +fixed bug in a <- b-c when c very small but does not overlap with a - * tests/tabs.c, tests/tadd.c, tests/tadd_ui.c, tests/tagm.c, tests/tcan_round.c, tests/tcmp.c: - Infinis, premiere tentative (tests) +------------------------------------------------------------------------ +r563 | zimmerma | 2000-05-25 15:45:33 +0000 (Thu, 25 May 2000) | 2 lines +Changed paths: + M /trunk/random2.c - * round.c, set.c, set_d.c, set_str_raw.c, sin_cos.c, sqrt.c, sub.c, zeta.c, div.c, div_ui.c, dump.c, eq.c, exp.c, exp2.c, exp3.c, extract.c, generic.c, get_str.c, log.c, mpfr.h, mpz_set_fr.c, mul.c, mul_ui.c, out_str.c, pow.c, print_raw.c, reldiff.c, add.c, add_ulp.c, agm.c, cmp.c, cmp_ui.c, configure: - Infinis, premiere tentative. +removed 'inline' (does not compile on Alpha with gcc 2.8.1) -2000-11-13 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r562 | zimmerma | 2000-05-25 15:35:48 +0000 (Thu, 25 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c + M /trunk/tests/tget_str.c + M /trunk/tests/tout_str.c - * TODO: added one remark from GH +added include file unistd.h - * mpfr.texi: removed mpfr_cmp2 +------------------------------------------------------------------------ +r561 | zimmerma | 2000-05-25 15:35:08 +0000 (Thu, 25 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tcmp_ui.c -2000-11-13 Guillaume Hanrot <hanrot@greux.loria.fr> +fixed warning with long arguments - * Makefile.in, aclocal.m4: Added support for Inf. Modified zeta. +------------------------------------------------------------------------ +r560 | zimmerma | 2000-05-25 15:28:50 +0000 (Thu, 25 May 2000) | 2 lines +Changed paths: + A /trunk/inp_str.c + A /trunk/set_str.c -2000-10-26 Paul Zimmermann <zimmerma@greux.loria.fr> +initial version - * TODO: protection of macros done +------------------------------------------------------------------------ +r559 | zimmerma | 2000-05-25 15:26:11 +0000 (Thu, 25 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tset_str.c - * replace_all: shell-script to replace xxx by yyy in all source files +added tests for mpfr_set_str - * tests/tadd.c, tests/teq.c, tests/tmul_ui.c, tests/tset_si.c, tests/tset_str.c, tests/ttrunc.c: - protected macros: xxx -> MPFR_xxx +------------------------------------------------------------------------ +r558 | zimmerma | 2000-05-25 15:25:13 +0000 (Thu, 25 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tcmp.c - * trunc.c, ui_div.c, ui_sub.c, urandomb.c, zeta.c, print_raw.c, random.c, random2.c, reldiff.c, round.c, set.c, set_d.c, set_f.c, set_prc_raw.c, set_prec.c, set_q.c, set_si.c, set_str.c, set_str_raw.c, set_z.c, sin_cos.c, sqrt.c, sqrt_ui.c, sub.c, sub_ui.c, exp.c, exp2.c, exp3.c, extract.c, generic.c, get_str.c, init.c, log.c, log2.c, mpfi.c, mpfr.h, mpfr.texi, mpz_set_fr.c, mul.c, mul_2exp.c, mul_ui.c, neg.c, out_str.c, pi.c, Makefile.in, add.c, add_ui.c, add_ulp.c, agm.c, clear.c, cmp.c, cmp_ui.c, div.c, div_2exp.c, div_ui.c, eq.c: - protected all macros: xxx -> MPFR_xxx +now returns 0 if all works -2000-10-24 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r557 | zimmerma | 2000-05-25 15:24:42 +0000 (Thu, 25 May 2000) | 2 lines +Changed paths: + M /trunk/pow.c - * mpfi.h: fichier d'include pour mpfi.c +changed to return the error in ulps - * mpfi.c: interval arithmetic level (1st version) +------------------------------------------------------------------------ +r556 | zimmerma | 2000-05-25 15:24:06 +0000 (Thu, 25 May 2000) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * TODO: added two suggestions from Ben Hinkle +added new functions mpfr_set_str and mpfr_inp_str -2000-10-19 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r555 | zimmerma | 2000-05-25 14:58:04 +0000 (Thu, 25 May 2000) | 3 lines +Changed paths: + M /trunk/mpfr.h - * tests/Makefile.in: Bof. +added prototypes for set_str, inp_str +changed return value for mpfr*pow* - * .pure, mmpfr, mpfr.h: Suppression de vieilleries. +------------------------------------------------------------------------ +r554 | zimmerma | 2000-05-25 14:56:51 +0000 (Thu, 25 May 2000) | 2 lines +Changed paths: + M /trunk/mpf2mpfr.h - * mpfr.h: 1 << 31 -> ((unsigned int)1) << 31. +separated functions with/without rounding argument - * dump.c, log.c, round.c, set_d.c, set_str.c: - Correction de prototypes faux dans le cas ou on n'est pas -D__STDC__. +------------------------------------------------------------------------ +r553 | zimmerma | 2000-05-25 14:56:19 +0000 (Thu, 25 May 2000) | 2 lines +Changed paths: + M /trunk/Configure -2000-10-02 Paul Zimmermann <zimmerma@greux.loria.fr> +added tabs - * exp3.c, extract.c, generic.c, print_raw.c, set_str_raw.c: - malloc -> *_mp_allocate_func or TMP_ALLOC +------------------------------------------------------------------------ +r552 | zimmerma | 2000-05-25 14:22:08 +0000 (Thu, 25 May 2000) | 2 lines +Changed paths: + M /trunk/Configure - * round.c, set_d.c, set_prc_raw.c, set_prec.c, urandomb.c, exp2.c, init.c, mpfr.h: - mpfr_t -> mpfr_ptr or mpfr_srcptr +added set_str.o and inp_str.o -2000-09-29 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r551 | zimmerma | 2000-05-24 17:01:52 +0000 (Wed, 24 May 2000) | 2 lines +Changed paths: + A /trunk/sub_ui.c - * tests/texp2.c: removed -> all is in texp.c +initial version - * tests/texp.c: added comparison between exp2 and exp3 +------------------------------------------------------------------------ +r550 | zimmerma | 2000-05-24 17:01:01 +0000 (Wed, 24 May 2000) | 2 lines +Changed paths: + M /trunk/Configure - * exp3.c: - take also the target precision into account for the guard bits +added rule for sub_ui.o - * exp2.c: new faster version with O(n^(1/3)*M(n)) algorithm +------------------------------------------------------------------------ +r549 | zimmerma | 2000-05-24 16:51:55 +0000 (Wed, 24 May 2000) | 2 lines +Changed paths: + M /trunk/Configure - * exp.c: - adjusted exp2-exp3 threshold for new faster version of mpfr_exp2 +use only one file (trunc.c) for ceil, floor, trunc - * Makefile.am: added mpz_set_fr.c +------------------------------------------------------------------------ +r548 | zimmerma | 2000-05-24 16:51:22 +0000 (Wed, 24 May 2000) | 2 lines +Changed paths: + D /trunk/ceil.c + D /trunk/floor.c - * tests/Makefile.am: added tdump +now use trunc.c for all 3 functions (ceil, floor, trunc) - * get_str.c: fixed pb for op=0 (added \0 at the end of string) +------------------------------------------------------------------------ +r547 | zimmerma | 2000-05-24 16:42:00 +0000 (Wed, 24 May 2000) | 2 lines +Changed paths: + M /trunk/trunc.c - * dump.c: use strlen to determine memory to free +added ifdef to avoid warning at compilation - * tests/tdump.c: test file for mpfr_dump +------------------------------------------------------------------------ +r546 | zimmerma | 2000-05-24 16:41:30 +0000 (Wed, 24 May 2000) | 2 lines +Changed paths: + M /trunk/reldiff.c - * Makefile.am: removed karasqrt.c, added sqrtrem.c +removed unused variable - * mpfr.h: kara_sqrtrem -> mpn_sqrtrem_new +------------------------------------------------------------------------ +r545 | zimmerma | 2000-05-24 16:41:09 +0000 (Wed, 24 May 2000) | 2 lines +Changed paths: + M /trunk/mpfr.h - * karasqrt.c: now replaced by new code in sqrtrem.c +fixed output type for mpfr_ui_div - * sqrt.c: now uses new code mpn_sqrtrem_new +------------------------------------------------------------------------ +r544 | zimmerma | 2000-05-24 16:37:13 +0000 (Wed, 24 May 2000) | 3 lines +Changed paths: + M /trunk/urandomb.c - * sqrtrem.c: new version of fast MPN square root - (should be integrated in a future release of GNU MP) +removed 3rd argument (use PREC(rop) instead) +added include longlong.h -2000-09-28 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r543 | zimmerma | 2000-05-24 16:35:23 +0000 (Wed, 24 May 2000) | 2 lines +Changed paths: + M /trunk/set_prc_raw.c - * tests/tadd.c: added another example from N. Mueller +stupid typo: ABSSIZE -> ABSSIZE(x) - * sub.c: fixed another ABW bug +------------------------------------------------------------------------ +r542 | zimmerma | 2000-05-24 16:32:06 +0000 (Wed, 24 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c - * sub.c: fixed two Array Bound Writes +change due to new semantics of mpfr_init_set* macros - * add.c: fixed one Array Bound Read (to_nearest, bp=cp and k>=cn) +------------------------------------------------------------------------ +r541 | zimmerma | 2000-05-24 16:31:18 +0000 (Wed, 24 May 2000) | 2 lines +Changed paths: + M /trunk/set_prc_raw.c - * tests/tadd.c: added 2 new tests from Norbert Mueller +now makes an error when precision too large wrt allocated space -2000-09-27 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r540 | zimmerma | 2000-05-24 16:28:41 +0000 (Wed, 24 May 2000) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * tests/tadd.c: added new test +added new implemented functions - * sub.c: fixed Array Bound Write +------------------------------------------------------------------------ +r539 | zimmerma | 2000-05-24 16:26:30 +0000 (Wed, 24 May 2000) | 3 lines +Changed paths: + M /trunk/mpfr.h -2000-09-20 Paul Zimmermann <zimmerma@greux.loria.fr> +- added macro for mpfr_sgn +- removed argument 'p' in mpfr_init_set* macros for compatibility with mpf - * mpfr.texi: added some words about the inclusion of mpfr.h +------------------------------------------------------------------------ +r538 | zimmerma | 2000-05-24 16:25:20 +0000 (Wed, 24 May 2000) | 2 lines +Changed paths: + M /trunk/mpf2mpfr.h - * TODO: we need to better protect macros +updated wrt new functions - * Makefile.am: removed MPFR_OBJECTS (does not work) +------------------------------------------------------------------------ +r537 | zimmerma | 2000-05-24 16:24:57 +0000 (Wed, 24 May 2000) | 2 lines +Changed paths: + M /trunk/Configure - * Makefile.am: added $(MPFR_OBJECTS) in libmpfr_a_LIBADD +added sub_ui - * Makefile.in: added $(MPFR_OBJECTS) in libmpfr_a_DEPENDENCIES +------------------------------------------------------------------------ +r536 | zimmerma | 2000-05-24 15:29:24 +0000 (Wed, 24 May 2000) | 2 lines +Changed paths: + M /trunk/Configure - * mpfr.texi: added contributions from Emmanuel Jeandel and Thom Mulders +added new test files - * AUTHORS: added Thom Mulders +------------------------------------------------------------------------ +r535 | zimmerma | 2000-05-24 15:28:52 +0000 (Wed, 24 May 2000) | 2 lines +Changed paths: + A /trunk/tests/tadd_ui.c + A /trunk/tests/tset_q.c + A /trunk/tests/tsqrt_ui.c + A /trunk/tests/tui_div.c + A /trunk/tests/tui_sub.c - * shortmul.c: routines for naive/fast short multiplication, - contributed by Thom Mulders (ETH Zu"rich) +new test files -2000-09-19 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r534 | zimmerma | 2000-05-24 15:24:28 +0000 (Wed, 24 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * tests/tdiv_ui.c: added new test for overlapping x, y +added new tests - * div_ui.c: fixed problem when x=y +------------------------------------------------------------------------ +r533 | zimmerma | 2000-05-24 15:23:54 +0000 (Wed, 24 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tabs.c -2000-09-14 Paul Zimmermann <zimmerma@greux.loria.fr> +improved tests - * tests/tadd.c: added pb from Norbert Muller +------------------------------------------------------------------------ +r532 | zimmerma | 2000-05-24 15:22:08 +0000 (Wed, 24 May 2000) | 2 lines +Changed paths: + A /trunk/add_ui.c + A /trunk/reldiff.c + A /trunk/sqrt_ui.c + A /trunk/ui_div.c + A /trunk/ui_sub.c - * sub.c: fixed SEGV (mpn_lshift doesn't seem to like src_size=0) +new functions (compatibility with mpf) - * tests/Makefile.am: - now prints "failed" when test file doesn't return 0 +------------------------------------------------------------------------ +r531 | zimmerma | 2000-05-24 15:20:16 +0000 (Wed, 24 May 2000) | 2 lines +Changed paths: + M /trunk/set.c -2000-08-29 Paul Zimmermann <zimmerma@greux.loria.fr> +added 4th arg (was missing in non-stdc def) - * div.c: replaced mpn_divrem by mpn_tdiv_qr for gmp 3 or later - and avoid copy of one operand when possible +------------------------------------------------------------------------ +r530 | zimmerma | 2000-05-24 15:19:10 +0000 (Wed, 24 May 2000) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * INSTALL: updated (make check, make install) +added new functions (compatibility with mpf) - * README: described each file +------------------------------------------------------------------------ +r529 | zimmerma | 2000-05-24 15:18:37 +0000 (Wed, 24 May 2000) | 2 lines +Changed paths: + M /trunk/mpfr.h - * NEWS: News for version 1.0 +added several prototypes -2000-08-25 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r528 | zimmerma | 2000-05-24 15:18:04 +0000 (Wed, 24 May 2000) | 2 lines +Changed paths: + M /trunk/add.c - * get_str.c: fixed bug for 0.9999999999... +fixed remaining bug (case overlap=5, dif>0) - * tests/tout_str.c: added test for 0.99999999999999999 +------------------------------------------------------------------------ +r527 | zimmerma | 2000-05-24 15:16:52 +0000 (Wed, 24 May 2000) | 2 lines +Changed paths: + M /trunk/Configure -2000-08-24 Paul Zimmermann <zimmerma@greux.loria.fr> +added add_ui, sqrt_ui, ui_div, ui_sub, reldiff - * TODO: added mpfr_swap +------------------------------------------------------------------------ +r526 | hanrot | 2000-05-21 16:47:02 +0000 (Sun, 21 May 2000) | 2 lines +Changed paths: + M /trunk/Configure + A /trunk/ceil.c + A /trunk/floor.c + A /trunk/trunc.c - * log2.c: - now store last computed value together with last rounding mode +Compatibility mpf/mpfr, second part. Ceil, floor, trunc. Yet untested. -2000-08-23 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r525 | hanrot | 2000-05-21 16:38:07 +0000 (Sun, 21 May 2000) | 2 lines +Changed paths: + A /trunk/mpf2mpfr.h - * mpfr.texi: target ps -> mpfr.ps +Include file for compatibility module mpf -> mpfr. - * Makefile.am: added $(srcdir) to trunc.c for sub-directory compilation +------------------------------------------------------------------------ +r524 | hanrot | 2000-05-21 16:35:52 +0000 (Sun, 21 May 2000) | 3 lines +Changed paths: + M /trunk/Configure + A /trunk/dump.c + A /trunk/eq.c + A /trunk/random2.c + A /trunk/set_prc_raw.c + A /trunk/urandomb.c -2000-08-16 Paul Zimmermann <zimmerma@greux.loria.fr> +Compatibility with mpf. WARNING: THESE FUNCTIONS ARE UNTESTED IN THEIR PRESENT +FORM. THEY *DO* COMPILE HOWEVER. - * sin_cos.c: removed some memory leaks +------------------------------------------------------------------------ +r523 | zimmerma | 2000-05-18 13:41:24 +0000 (Thu, 18 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tzeta.c - * generic.c: solved memory leaks with T[i] and qtoj[i] +removed unused variables - * TODO: updated (done autoconf, faster mpfr_exp, sin/cos) +------------------------------------------------------------------------ +r522 | zimmerma | 2000-05-18 13:38:53 +0000 (Thu, 18 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tmul_2exp.c - * INSTALL: updated for version 1.0 +removed ';' - * mpfr.texi: COPYING.LIB -> COPYING +------------------------------------------------------------------------ +r521 | zimmerma | 2000-05-18 13:29:55 +0000 (Thu, 18 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tround.c - * COPYING: renamed back (wanted for "make dist") +added return - * COPYING.LIB: renamed back to COPYING (wanted for "make dist") +------------------------------------------------------------------------ +r520 | zimmerma | 2000-05-18 12:57:08 +0000 (Thu, 18 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tset_f.c - * COPYING.LIB: GNU Library General Public License +added calls to mpf[r]_clear, and rewrote to avoid memory leaks - * COPYING: renamed to COPYING.LIB, according to mpfr.texi +------------------------------------------------------------------------ +r519 | zimmerma | 2000-05-18 12:56:14 +0000 (Thu, 18 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c - * log2.c: result was free'd twice when good=1 +added calls to free - * AUTHORS: put information about authors +------------------------------------------------------------------------ +r518 | zimmerma | 2000-05-18 12:55:17 +0000 (Thu, 18 May 2000) | 2 lines +Changed paths: + M /trunk/mpfr.h - * configure: PACKAGE and VERSION are not defined any more +corrected comment about field mp_size - * mpfr.texi: gmp-mparam.h is required too +------------------------------------------------------------------------ +r517 | zimmerma | 2000-05-12 08:07:56 +0000 (Fri, 12 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tout_str.c - * Makefile.am: IRIX make does not recognize $< (MISCFLAGS) +added tests for negative numbers - * configure.in: do not define PACKAGE and VERSION in AM_INIT_AUTOMAKE, - this avoids conflicts with GMP 3.1 config.h - [thanks to Kevin Ryde] +------------------------------------------------------------------------ +r516 | zimmerma | 2000-05-12 08:07:35 +0000 (Fri, 12 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c - * mpfr.texi: updated for GMP 3.1 +added one test - * set_d.c: MP_BASE_AS_DOUBLE already defined in gmp-impl.h +------------------------------------------------------------------------ +r515 | zimmerma | 2000-05-12 08:07:02 +0000 (Fri, 12 May 2000) | 2 lines +Changed paths: + M /trunk/get_str.c - * exp3.c: nb_terms[0] was not initialized +fixed pb with rounding of negative numbers - * log2.c: - fixed some FNH (free not in heap) problems for binary splitting method - (prec >= 30000) +------------------------------------------------------------------------ +r514 | zimmerma | 2000-05-11 15:39:48 +0000 (Thu, 11 May 2000) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * Makefile.in: gmp.info -> mpfr.info +added mpfr_abs - * Makefile.in: - set_dfl_rnd.* -> set_rnd.* (to avoid conflict with set_dfl_prec.* on DOS 8.3) +------------------------------------------------------------------------ +r513 | zimmerma | 2000-05-11 15:38:12 +0000 (Thu, 11 May 2000) | 2 lines +Changed paths: + A /trunk/tests/tabs.c - * tests/Makefile: now automatically generated by configure +test file for mpfr_abs - * div_ui.c: added if (__GNU_MP_VERSION < 3) for mpn_divrem_1-bug patch +------------------------------------------------------------------------ +r512 | zimmerma | 2000-05-11 15:37:48 +0000 (Thu, 11 May 2000) | 2 lines +Changed paths: + M /trunk/mpfr.h - * Makefile.am: set_dfl_rnd -> set_rnd +added mpfr_abs (macro using mpfr_set4) - * set_rnd.c: - new name of set_dfl_rnd.c (avoids clash with set_dfl_prec.c on DOS 8.3) +------------------------------------------------------------------------ +r511 | zimmerma | 2000-05-11 10:08:54 +0000 (Thu, 11 May 2000) | 2 lines +Changed paths: + M /trunk/TODO - * set_dfl_rnd.c: - renamed to set_rnd.c (otherwise truncates like set_dfl_prec.c on - a DOS 8.3 filesystem) +updated wrt done/new tasks - * mpfr.texi: setfilename: gmp.info -> mpfr.info +------------------------------------------------------------------------ +r510 | zimmerma | 2000-05-05 13:59:56 +0000 (Fri, 05 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c - * tests/Makefile.am: replaced path for libmpfr.a by $(top_builddir) - test files are now in check_PROGRAMS instead of bin_PROGRAMS (they don't need - to be installed) +added two tests - * tests/tadd.c, tests/tset_si.c: - replaced back BITS_PER_MP_LIMB by mp_bits_per_limb - (not important in test files) +------------------------------------------------------------------------ +r509 | zimmerma | 2000-05-05 13:59:25 +0000 (Fri, 05 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tset_d.c - * mpfr.h: - replaced macros for mpfr_init_set_si by "do { ... } while (0)" so - they'll work in an if/else like +split mpfr_init2 into mpfr_init and mpfr_set_prec - if (foo) - mpfr_init_set_si (f, -123, GMP_RNDN); - else - bar (); +------------------------------------------------------------------------ +r508 | zimmerma | 2000-05-05 13:57:33 +0000 (Fri, 05 May 2000) | 2 lines +Changed paths: + M /trunk/Configure - [thanks to Kevin Ryde] +removed karadiv.o - * tests/Makefile, tests/tadd.c, tests/tset_si.c, print_raw.c, set_si.c, sqrt.c, sub.c, add.c, cmp.c, cmp_ui.c, div_ui.c, exp2.c, mpf2mpfr.h, mul.c: - replaced mp_bits_per_limb by BITS_PER_MP_LIMB (constant) +------------------------------------------------------------------------ +r507 | zimmerma | 2000-05-05 13:57:08 +0000 (Fri, 05 May 2000) | 2 lines +Changed paths: + M /trunk/karasqrt.c -2000-08-14 Paul Zimmermann <zimmerma@greux.loria.fr> +replaced mpn_divrem_n by mpn_divrem (efficient in GMP 3.0) - * Makefile.in: added mpf2mpfr.h +------------------------------------------------------------------------ +r506 | zimmerma | 2000-05-05 13:55:49 +0000 (Fri, 05 May 2000) | 2 lines +Changed paths: + D /trunk/karadiv.c - * tests/tadd.c: define check2 only with -DTEST +not needed any more with GMP 3.0 - * mpfr.texi: - updated for new configure from Emmanuel Jeandel, to GMP 3.xxx - and removed errors with texinfo +------------------------------------------------------------------------ +r505 | zimmerma | 2000-05-05 13:49:02 +0000 (Fri, 05 May 2000) | 2 lines +Changed paths: + M /trunk/div.c - * rnd_mode.c: solaris --> __sparc__ +removed mpn_divrem_n stuff, now that Burnikel/Ziegler algorithm is in GMP 3.0 - * rnd_mode.c, tests/tui_div.c, tests/tui_sub.c, tests/Makefile, tests/tabs.c, tests/tadd.c, tests/tadd_ui.c, tests/tcmp2.c, tests/tdiv.c, tests/tset_d.c, tests/tsqrt.c, tests/tsqrt_ui.c, tests/tsub_ui.c: - ifdef IRIX64 -> ifdef __mips +------------------------------------------------------------------------ +r504 | zimmerma | 2000-05-05 13:29:21 +0000 (Fri, 05 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c + M /trunk/tests/tout_str.c - * Makefile.in: IRIX/make does not understand $< : expanded to trunc.c +added one test - * rnd_mode.c: use standard macro for Alpha +------------------------------------------------------------------------ +r503 | zimmerma | 2000-05-04 15:18:31 +0000 (Thu, 04 May 2000) | 2 lines +Changed paths: + M /trunk/get_str.c -2000-07-13 jeandel <jeandel@greux.loria.fr> +completely rewritten (changed semantics) - * INSTALL: autoconf options described +------------------------------------------------------------------------ +r502 | zimmerma | 2000-05-04 15:17:07 +0000 (Thu, 04 May 2000) | 2 lines +Changed paths: + M /trunk/sub.c - * tests/Makefile.in: timestamp modified +initialized variable bh to avoid warning at compilation - * configure: timestamp changed +------------------------------------------------------------------------ +r501 | zimmerma | 2000-05-04 15:16:11 +0000 (Thu, 04 May 2000) | 2 lines +Changed paths: + M /trunk/mpfr.h - * tests/Makefile.am, Makefile.am, Makefile.in: nothing to say +added prototype for mpfr_set_default_rounding_mode - * acinclude.m4, aclocal.m4: Timestamp +------------------------------------------------------------------------ +r500 | zimmerma | 2000-05-04 15:05:34 +0000 (Thu, 04 May 2000) | 2 lines +Changed paths: + M /trunk/cmp_ui.c - * tests/Makefile.in, Makefile.am, Makefile.in: Small bug fixed +fixed pb in mpfr_cmp_ui_2exp for i=0 - * configure, configure.in: Timestamp modified ? +------------------------------------------------------------------------ +r499 | zimmerma | 2000-05-04 13:40:09 +0000 (Thu, 04 May 2000) | 2 lines +Changed paths: + M /trunk/TODO - * tests/Makefile.in, Makefile.in: Timestamp modified +updated according to meeting from May 4, 2000 - * configure, configure.in: Nothing +------------------------------------------------------------------------ +r498 | zimmerma | 2000-05-04 12:24:56 +0000 (Thu, 04 May 2000) | 2 lines +Changed paths: + M /trunk/INSTALL - * tests/Makefile.am, tests/Makefile.in: New release +updated for AIX - * tests/Makefile.am, tests/Makefile.in, Makefile.am, Makefile.in: - Bugs fixed +------------------------------------------------------------------------ +r497 | zimmerma | 2000-05-04 12:23:28 +0000 (Thu, 04 May 2000) | 2 lines +Changed paths: + M /trunk/Configure + M /trunk/rnd_mode.c - * tests/Makefile.in: Bug fixed +updated for AIX (thanks to Gerardo Ballabio) - * mpfr.texi: sin_cos added +------------------------------------------------------------------------ +r496 | zimmerma | 2000-05-02 16:38:27 +0000 (Tue, 02 May 2000) | 2 lines +Changed paths: + M /trunk/tests/tcmp.c - * log2.c, pi.c: New algorithm, new wrapper +added one test -2000-07-12 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r495 | zimmerma | 2000-05-02 16:37:52 +0000 (Tue, 02 May 2000) | 2 lines +Changed paths: + M /trunk/cmp.c - * tests/tround.c: replaced 0 by GMP_RNDN +fixed bug found by G. Ballabio for b=0 and 0<c<1 - * div.c: fixed (hopefully) bug for 1/1 in precision 32, 64, ... +------------------------------------------------------------------------ +r494 | zimmerma | 2000-05-02 16:37:01 +0000 (Tue, 02 May 2000) | 2 lines +Changed paths: + M /trunk/INSTALL - * tests/tdiv.c: added test for 1/1 in precision 32 or 64 +added info for GMP2 vs GMP3 -2000-07-11 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r493 | zimmerma | 2000-04-19 19:20:27 +0000 (Wed, 19 Apr 2000) | 2 lines +Changed paths: + M /trunk/Configure - * tests/tlog.c: use mpfr_print_rnd_mode now +added -ffloat-store for Alpha/OSF -2000-07-11 jeandel <jeandel@greux.loria.fr> +------------------------------------------------------------------------ +r492 | zimmerma | 2000-04-19 18:31:13 +0000 (Wed, 19 Apr 2000) | 2 lines +Changed paths: + M /trunk/cmp.c - * INSTALL, Makefile.in, configure, configure.in: - Bug Fixed, and installation guide made +added cast to mp_limb_t (bug on Alpha in tadd with -O2) - * Makefile.am, configure, configure.in: Fixed bug +------------------------------------------------------------------------ +r491 | zimmerma | 2000-04-19 18:30:19 +0000 (Wed, 19 Apr 2000) | 2 lines +Changed paths: + M /trunk/tests/tcmp2.c - * Makefile.am, Makefile.in: Bug Fixed with Solaris make +added one test - * extract.c: strings.h added +------------------------------------------------------------------------ +r490 | zimmerma | 2000-04-19 14:46:00 +0000 (Wed, 19 Apr 2000) | 2 lines +Changed paths: + M /trunk/karasqrt.c - * tests/Makefile.in, Makefile.in: Deps included +removed #if 0 - * tests/Makefile.am, tests/Makefile.in: Bug Fixed +------------------------------------------------------------------------ +r489 | zimmerma | 2000-04-19 14:45:27 +0000 (Wed, 19 Apr 2000) | 2 lines +Changed paths: + M /trunk/div_ui.c - * tests/Makefile.in: Bug fixed +swapped gmp-impl.h and longlong.h for GMP 3.0 - * tests/Makefile.am: Bug Fixed +------------------------------------------------------------------------ +r488 | zimmerma | 2000-04-14 07:34:19 +0000 (Fri, 14 Apr 2000) | 2 lines +Changed paths: + M /trunk/tests/tset_si.c - * tests/Makefile.am, tests/Makefile.in, Makefile.am, Makefile.in, acinclude.m4, aclocal.m4, configure, configure.in, install-sh, missing, mkinstalldirs, texinfo.tex: - First Release +added more tests - * COPYING.LIB: *** empty log message *** +------------------------------------------------------------------------ +r487 | zimmerma | 2000-04-14 07:33:46 +0000 (Fri, 14 Apr 2000) | 2 lines +Changed paths: + M /trunk/set_si.c - * COPYING, ChangeLog: First Release +fixed pb when target precision is less than integer length - * AUTHORS: First release +------------------------------------------------------------------------ +r486 | zimmerma | 2000-04-14 07:32:36 +0000 (Fri, 14 Apr 2000) | 3 lines +Changed paths: + M /trunk/add.c - * README: First Release +fixed problem not solved so far, i.e. when adding round bit +produces a change of exponent - * NEWS: *** empty log message *** +------------------------------------------------------------------------ +r485 | zimmerma | 2000-04-13 17:05:48 +0000 (Thu, 13 Apr 2000) | 2 lines +Changed paths: + M /trunk/tests/texp.c - * Configure: Added sin_cos +fixed computation of ulps - * sin_cos.c, generic.c: First Release +------------------------------------------------------------------------ +r484 | zimmerma | 2000-04-13 17:03:32 +0000 (Thu, 13 Apr 2000) | 2 lines +Changed paths: + M /trunk/round.c -2000-06-29 jeandel <jeandel@greux.loria.fr> +removed variable xrw in mpfr_round_raw (not used) - * extract.c: Memory problems fixed +------------------------------------------------------------------------ +r483 | zimmerma | 2000-04-13 17:02:20 +0000 (Thu, 13 Apr 2000) | 2 lines +Changed paths: + M /trunk/mul_ui.c - * exp3.c: Memory Leaks Fixed +replaced 1st my by my+sh in mpfr_round_raw call -2000-06-29 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r482 | zimmerma | 2000-04-13 17:00:16 +0000 (Thu, 13 Apr 2000) | 2 lines +Changed paths: + M /trunk/tests/tmul_ui.c - * mpfr.h: added prototype for mpfr_sub_ui +added 2 more tests - * init.c: now use mpfr macros +------------------------------------------------------------------------ +r481 | hanrot | 2000-04-13 16:49:33 +0000 (Thu, 13 Apr 2000) | 2 lines +Changed paths: + M /trunk/mul_ui.c - * sub.c: be careful not to call mpn_sub_n/mpn_sub_1 with a size 0 +Correction d'un bug quand le carry contient tous les bits significatifs. - * clear.c: fixed to free an entire number of limbs +------------------------------------------------------------------------ +r480 | zimmerma | 2000-02-11 17:24:38 +0000 (Fri, 11 Feb 2000) | 3 lines +Changed paths: + M /trunk/tests/tzeta.c - * tests/tsub_ui.c: test file for sub_ui +improved indentation +mpfr_pi -> mpfr_const_pi -2000-06-28 jeandel <jeandel@greux.loria.fr> +------------------------------------------------------------------------ +r479 | zimmerma | 2000-02-11 17:23:36 +0000 (Fri, 11 Feb 2000) | 2 lines +Changed paths: + M /trunk/tests/tset_z.c - * Configure: mpfr_exp3 and mpfr_extract added to Makefile +added one test - * extract.c, exp.c, exp2.c, exp3.c: First Release +------------------------------------------------------------------------ +r478 | zimmerma | 2000-02-11 17:23:09 +0000 (Fri, 11 Feb 2000) | 2 lines +Changed paths: + M /trunk/tests/texp.c + M /trunk/tests/tpi.c -2000-06-21 Paul Zimmermann <zimmerma@greux.loria.fr> +mpfr_pi -> mpfr_const_pi - * tests/tsqrt_ui.c: - distinguish between mpfr failure and difference with sqrt() +------------------------------------------------------------------------ +r477 | zimmerma | 2000-02-11 17:22:34 +0000 (Fri, 11 Feb 2000) | 2 lines +Changed paths: + M /trunk/tests/tmul_ui.c - * tests/tsqrt.c: ensures random numbers given to sqrt() are positive +use mpfr_cmp_ui instead of SIGN - * rnd_mode.c: adapted for freebsd +------------------------------------------------------------------------ +r476 | zimmerma | 2000-02-11 17:22:03 +0000 (Fri, 11 Feb 2000) | 2 lines +Changed paths: + M /trunk/tests/tlog2.c - * mpfr-impl.h: - modified drand to avoid false NaNs (makes SEGV under FreeBSD) +mpfr_log2 -> mpfr_const_log2 - * Configure: added entry for FreeBSD, removed -pedantic option +------------------------------------------------------------------------ +r475 | zimmerma | 2000-02-11 17:20:57 +0000 (Fri, 11 Feb 2000) | 3 lines +Changed paths: + M /trunk/Configure - * tests/tui_sub.c: added one test +added -O2 compilation flag +added set_q - * tests/tadd.c: added new tests +------------------------------------------------------------------------ +r474 | zimmerma | 2000-02-11 17:20:19 +0000 (Fri, 11 Feb 2000) | 2 lines +Changed paths: + A /trunk/set_q.c - * mpfr.h: added prototype for mpfr_set_prec_raw +convert rational (mpz_q) to floating-point (mpfr_t) - * TODO: removed work done +------------------------------------------------------------------------ +r473 | zimmerma | 2000-02-11 17:19:15 +0000 (Fri, 11 Feb 2000) | 2 lines +Changed paths: + M /trunk/TODO - * sub.c: fixed several bugs +removed things which were done - * add.c: - merged different roundings in case diff_exp<PREC(a), dif<=PREC(c) +------------------------------------------------------------------------ +r472 | zimmerma | 2000-02-11 17:18:40 +0000 (Fri, 11 Feb 2000) | 3 lines +Changed paths: + M /trunk/add.c + M /trunk/agm.c + M /trunk/div_ui.c + M /trunk/exp.c + M /trunk/get_str.c + M /trunk/log.c + M /trunk/mul.c + M /trunk/mul_ui.c + M /trunk/neg.c - * tests/trandom.c: removed printf for argc=1 +unsigned char -> mp_rnd_t +SIGN -> MPFR_SIGN - * tests/tui_sub.c, tests/tadd_ui.c: added one test +------------------------------------------------------------------------ +r471 | zimmerma | 2000-02-11 17:17:47 +0000 (Fri, 11 Feb 2000) | 2 lines +Changed paths: + M /trunk/clear.c - * Configure: make ceil.o,floor.o,trunc.o depend on trunc.c +use PREC() macro instead of _mp_prec, and corrected size to free -2000-06-20 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r470 | zimmerma | 2000-02-11 17:16:36 +0000 (Fri, 11 Feb 2000) | 2 lines +Changed paths: + M /trunk/cmp.c + M /trunk/cmp_ui.c - * tests/ttrunc.c, tests/trandom.c, tests/tout_str.c, tests/teq.c, tests/tdiv_ui.c: - Various patches for leaks, UMR and (one) BUS. +SIGN -> MPFR_SIGN -2000-06-19 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r469 | zimmerma | 2000-02-11 17:15:35 +0000 (Fri, 11 Feb 2000) | 4 lines +Changed paths: + M /trunk/div.c + +unsigned char -> mp_rnd_t +SIGN -> MPFR_SIGN +added non standard C header + +------------------------------------------------------------------------ +r468 | zimmerma | 2000-02-11 17:13:54 +0000 (Fri, 11 Feb 2000) | 2 lines +Changed paths: + M /trunk/div_2exp.c + +unsigned char -> mp_rnd_t + +------------------------------------------------------------------------ +r467 | zimmerma | 2000-02-11 17:11:45 +0000 (Fri, 11 Feb 2000) | 2 lines +Changed paths: + M /trunk/init.c + +unsigned long int -> mp_prec_t + +------------------------------------------------------------------------ +r466 | zimmerma | 2000-02-11 17:11:01 +0000 (Fri, 11 Feb 2000) | 3 lines +Changed paths: + M /trunk/log2.c + +renamed to mpfr_const_log2 +unsigned char -> mp_rnd_t + +------------------------------------------------------------------------ +r465 | zimmerma | 2000-02-11 17:10:24 +0000 (Fri, 11 Feb 2000) | 4 lines +Changed paths: + M /trunk/mpfr.h + +unsigned char -> mp_rnd_t +SIGN -> MPFR_SIGN +unsigned long int -> mp_prec_t + +------------------------------------------------------------------------ +r464 | zimmerma | 2000-02-11 17:10:04 +0000 (Fri, 11 Feb 2000) | 3 lines +Changed paths: + M /trunk/mpfr.texi + +unsigned char -> mp_rnd_t +unsigned long int -> mp_prec_t + +------------------------------------------------------------------------ +r463 | zimmerma | 2000-02-11 17:08:37 +0000 (Fri, 11 Feb 2000) | 2 lines +Changed paths: + M /trunk/mul_2exp.c + M /trunk/out_str.c + M /trunk/print_rnd_mode.c + M /trunk/rnd_mode.c + +unsigned char -> mp_rnd_t + +------------------------------------------------------------------------ +r462 | zimmerma | 2000-02-11 17:06:41 +0000 (Fri, 11 Feb 2000) | 3 lines +Changed paths: + M /trunk/pi.c + +renamed to mpfr_const_pi +unsigned char -> mp_rnd_t + +------------------------------------------------------------------------ +r461 | zimmerma | 2000-02-11 17:06:06 +0000 (Fri, 11 Feb 2000) | 3 lines +Changed paths: + M /trunk/pow.c + +unsigned char -> mp_rnd_t +added non standard C header + +------------------------------------------------------------------------ +r460 | zimmerma | 2000-02-11 17:04:40 +0000 (Fri, 11 Feb 2000) | 2 lines +Changed paths: + M /trunk/print_raw.c - * tests/tmul_2exp.c, tests/tset_str.c: - This patch suppresses a few mem leaks. +SIGN -> MPFR_SIGN - * tests/tcmp_ui.c, tests/tsqrt.c: Suppressed memory leaks. +------------------------------------------------------------------------ +r459 | zimmerma | 2000-02-11 17:03:46 +0000 (Fri, 11 Feb 2000) | 2 lines +Changed paths: + M /trunk/random.c - * div.c, mul_ui.c, sqrt.c: - Patch for 1 << (BITS_PER_MP_LIMB - x) when x is 0 (produces inexact results - on PPCs). +added non standard C header -2000-06-16 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r458 | zimmerma | 2000-02-11 17:01:46 +0000 (Fri, 11 Feb 2000) | 4 lines +Changed paths: + M /trunk/round.c - * tests/trandom.c: arguments of gmp_randinit were in wrong order +unsigned char -> mp_rnd_t +SIGN -> MPFR_SIGN +unsigned long int -> mp_prec_t -2000-06-16 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r457 | zimmerma | 2000-02-11 17:01:15 +0000 (Fri, 11 Feb 2000) | 3 lines +Changed paths: + M /trunk/set.c + M /trunk/set_d.c + M /trunk/set_f.c + M /trunk/set_si.c + M /trunk/set_z.c + M /trunk/sqrt.c + M /trunk/sub.c - * eq.c: Patch in the case when n_bits is a multiple of 32. +unsigned char -> mp_rnd_t +SIGN -> MPFR_SIGN -2000-06-16 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r456 | zimmerma | 2000-02-11 17:00:21 +0000 (Fri, 11 Feb 2000) | 2 lines +Changed paths: + M /trunk/set_dfl_prec.c + M /trunk/set_prec.c - * tests/tabs.c: added patch to get denorms on IRIX64 +unsigned long int -> mp_prec_t - * tests/tadd.c: - put instruction to get denormalized numbers on IRIX64 out of #ifdef TEST +------------------------------------------------------------------------ +r455 | zimmerma | 2000-02-11 16:59:45 +0000 (Fri, 11 Feb 2000) | 2 lines +Changed paths: + M /trunk/set_dfl_rnd.c - * div.c: fixed bug occurring on LinuxPPC (1 << 32) +har -> mp_rnd_t - * tests/tdiv.c: added one test (bug on LinuxPPC) +------------------------------------------------------------------------ +r454 | zimmerma | 2000-02-11 16:55:07 +0000 (Fri, 11 Feb 2000) | 2 lines +Changed paths: + M /trunk/zeta.c - * tests/tset_str.c: added one test +changed rounding mode to mp_rnd_t - * trunc.c: fixed several problems +------------------------------------------------------------------------ +r453 | zimmerma | 2000-02-04 17:04:06 +0000 (Fri, 04 Feb 2000) | 2 lines +Changed paths: + M /trunk/tests/tmul.c - * tests/ttrunc.c: added more tests +now distinguish between true mpfr errors and possible errors from libm.a -2000-06-16 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r452 | zimmerma | 2000-02-04 17:03:21 +0000 (Fri, 04 Feb 2000) | 2 lines +Changed paths: + M /trunk/tests/texp.c - * round.c: - Patches for the case where the precision is a multiple of the word size. +now use print_rnd_mode -2000-06-16 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r451 | zimmerma | 2000-02-04 17:02:42 +0000 (Fri, 04 Feb 2000) | 2 lines +Changed paths: + M /trunk/TODO - * sub.c: fixed another bug +added suggestion from JP Merlet - * tests/tadd.c, tests/tui_sub.c: added one test +------------------------------------------------------------------------ +r450 | zimmerma | 2000-02-04 17:02:15 +0000 (Fri, 04 Feb 2000) | 2 lines +Changed paths: + M /trunk/Configure - * mpfr.h: added prototype for mpz_set_fr +added print_rnd_mode.c - * log.c: improved choice of initial precision +------------------------------------------------------------------------ +r449 | zimmerma | 2000-02-04 14:55:01 +0000 (Fri, 04 Feb 2000) | 2 lines +Changed paths: + M /trunk/tests/tset_f.c - * Configure, mpz_set_fr.c: - added mpz_set_fr (conversion from mpfr to mpz) +added more tests - * tests/tround.c: added return type 'int' for main +------------------------------------------------------------------------ +r448 | zimmerma | 2000-02-04 14:54:37 +0000 (Fri, 04 Feb 2000) | 2 lines +Changed paths: + M /trunk/set_f.c -2000-06-15 Guillaume Hanrot <hanrot@greux.loria.fr> +fixed bug(s) found by Jean-Pierre Merlet - * Configure: Added TESTFLAGS to the main Makefile. Added ttrunc. +------------------------------------------------------------------------ +r447 | zimmerma | 2000-02-04 14:45:43 +0000 (Fri, 04 Feb 2000) | 2 lines +Changed paths: + M /trunk/mpfr.h - * trunc.c: Minor patch (put to 0 the nonsignificant bits). +changed prototype of mpfr_set_f (takes now only 3 arguments) - * mpfr.h: Added declaration of trunc, ceil, floor. +------------------------------------------------------------------------ +r446 | zimmerma | 2000-02-03 08:59:19 +0000 (Thu, 03 Feb 2000) | 2 lines +Changed paths: + M /trunk/Configure - * tests/ttrunc.c: Tests for trunc, ceil, floor. +added karasqrt.o - * Configure: - Added TESTFLAGS variable to the compile instruction, for use as - make "TESTFLAGS=-DTEST" +------------------------------------------------------------------------ +r445 | zimmerma | 2000-02-03 08:58:49 +0000 (Thu, 03 Feb 2000) | 4 lines +Changed paths: + M /trunk/mpfr.h -2000-06-15 Paul Zimmermann <zimmerma@greux.loria.fr> +added prototype for kara_sqrtrem +added redefinition of KARATSUBA_MUL_THRESHOLD (if not defined) +removed definition of LOG_MP_BITS_PER_LIMB (was not used) - * tests/teq.c: 1 -> (mp_limb_t) 1 [pb on 64-bit machines] - reduced number of tests to 1000 +------------------------------------------------------------------------ +r444 | zimmerma | 2000-02-03 08:57:40 +0000 (Thu, 03 Feb 2000) | 2 lines +Changed paths: + M /trunk/karasqrt.c -2000-06-15 Guillaume Hanrot <hanrot@greux.loria.fr> +changed return type to mp_size_t and included mpfr.h - * tests/trandom.c: - Display of statistics is only toggled if a number of tests to be performed - is given. Shameful hack, but is getopt really portable ? +------------------------------------------------------------------------ +r443 | zimmerma | 2000-02-03 08:56:58 +0000 (Thu, 03 Feb 2000) | 2 lines +Changed paths: + M /trunk/karadiv.c - * Configure: Added trandom, teq +moved definition of KARATSUBA_MUL_THRESHOLD (if not defined) to mpfr.h - * mpfr.h: Added random2, urandomb +------------------------------------------------------------------------ +r442 | zimmerma | 2000-02-03 08:48:45 +0000 (Thu, 03 Feb 2000) | 2 lines +Changed paths: + A /trunk/karasqrt.c - * tests/tmul_2exp.c: Added div_2exp to the (very rough) test. +implements Katatsuba square root - * tests/trandom.c: - Very basic statistical tests for random, random2, urandomb. +------------------------------------------------------------------------ +r441 | zimmerma | 2000-02-03 08:45:55 +0000 (Thu, 03 Feb 2000) | 2 lines +Changed paths: + M /trunk/sqrt.c - * random.c: Patch for random (libc's random() is on 31 bits only) +now use kara_sqrtrem instead of mpn_sqrtrem - * tests/teq.c: Test for mpfr_eq. +------------------------------------------------------------------------ +r440 | zimmerma | 2000-02-03 08:41:35 +0000 (Thu, 03 Feb 2000) | 2 lines +Changed paths: + M /trunk/div_ui.c - * eq.c: - Patch a few incoherences of eq.c wrt the manual + adapt to mpfr usual semantics +fixed bug when high limb of quotient is zero -2000-06-07 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r439 | zimmerma | 2000-02-02 18:17:30 +0000 (Wed, 02 Feb 2000) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * cputime.h: header file providing cputime() function +added one test [did fail on alpha] - * tests/texp2.c: test file comparing mpfr_exp and mpfr_exp2 +------------------------------------------------------------------------ +r438 | zimmerma | 2000-02-02 18:01:29 +0000 (Wed, 02 Feb 2000) | 2 lines +Changed paths: + M /trunk/sub.c - * exp2.c: O(n^(1/3)*log(n)) algorithm using Brent's method - and Brent-Kung's O(sqrt(t)) algorithm to evaluate - a power series of order t [exact rounding not yet finished] +added cast to mp_limb_t in front of 1<<sh -2000-05-29 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r437 | zimmerma | 2000-02-02 17:57:24 +0000 (Wed, 02 Feb 2000) | 2 lines +Changed paths: + M /trunk/karadiv.c - * round.c: fixed bug in mpfr_round (wrong sign) +modified to be compatible with gmp-2.0.2 - * round.c: - fixed bug in mpfr_round: did not check allocated space was large enough +------------------------------------------------------------------------ +r436 | zimmerma | 2000-02-02 17:54:04 +0000 (Wed, 02 Feb 2000) | 2 lines +Changed paths: + M /trunk/INSTALL - * tests/tcmp_ui.c: main -> int main +added further sqrt pb on alpha - * rnd_mode.c: - added #ifdef TEST: if not defined (default), then function - mpfr_set_machine_rnd_mode is not defined +------------------------------------------------------------------------ +r435 | zimmerma | 2000-02-02 17:53:12 +0000 (Wed, 02 Feb 2000) | 2 lines +Changed paths: + M /trunk/div_ui.c - * tests/tlog.c, tests/tmul.c, tests/tout_str.c, tests/tset_q.c, tests/tui_div.c, tests/tui_sub.c, tests/tcmp.c, tests/tdiv.c, tests/tdiv_ui.c, tests/texp.c, tests/tget_str.c, tests/tabs.c, tests/tadd_ui.c: - added #ifdef TEST to disable comparison with machine arithmetic - by default (i.e. calls to mpfr_set_machine_rnd_mode) +swapped longlong.h and gmp-impl.h (pb on alpha) - * sqrt.c: removed longlong.h (not needed) +------------------------------------------------------------------------ +r434 | zimmerma | 2000-02-02 16:02:47 +0000 (Wed, 02 Feb 2000) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * set.c: now deals with NaN +added test for bug in sub.c found by JP Merlet on Solaris - * round.c: RND_MODE -> rnd_mode +------------------------------------------------------------------------ +r433 | zimmerma | 2000-02-02 15:52:54 +0000 (Wed, 02 Feb 2000) | 3 lines +Changed paths: + M /trunk/sub.c - * mpfr.h: mpfr_init is now a function (no more a macro) +fixed mpn_rshift which could have 0 as shift argument +(caused bug in exp on Solaris found by JP Merlet) - * init.c: printf -> fprintf - added mpfr_init as function +------------------------------------------------------------------------ +r432 | zimmerma | 2000-02-02 15:49:49 +0000 (Wed, 02 Feb 2000) | 2 lines +Changed paths: + M /trunk/exp.c - * mpf2mpfr.h: changed (x) -> x - fixed several typos +moved debug messages to stdout - * div.c: removed printf +------------------------------------------------------------------------ +r431 | zimmerma | 2000-02-01 16:31:42 +0000 (Tue, 01 Feb 2000) | 2 lines +Changed paths: + M /trunk/mpfr.h -2000-05-26 Paul Zimmermann <zimmerma@greux.loria.fr> +added prototype for mpn_divrem_n (Burnikel-Ziegler algorithm) - * tests/tagm.c: added ifdef TEST +------------------------------------------------------------------------ +r430 | zimmerma | 2000-02-01 16:31:05 +0000 (Tue, 01 Feb 2000) | 3 lines +Changed paths: + M /trunk/div.c - * tests/tsqrt.c: removed debug line +use mpn_divrem_n (Burnikel-Ziegler algorithm) instead of mpn_divrem +when rsize=rrsize - * tests/tui_sub.c: added one test +------------------------------------------------------------------------ +r429 | zimmerma | 2000-02-01 16:30:17 +0000 (Tue, 01 Feb 2000) | 2 lines +Changed paths: + M /trunk/Configure - * tests/tadd.c: added 2 new tests +added karadiv.c (to be removed when incorporated in GMP) - * add.c: little change +------------------------------------------------------------------------ +r428 | zimmerma | 2000-02-01 16:29:32 +0000 (Tue, 01 Feb 2000) | 2 lines +Changed paths: + A /trunk/karadiv.c - * sub.c: more changes +Burnikel-Ziegler division - * tests/tsqrt.c: added ifdef TEST +------------------------------------------------------------------------ +r427 | zimmerma | 2000-01-31 13:09:12 +0000 (Mon, 31 Jan 2000) | 2 lines +Changed paths: + M /trunk/tests/texp.c - * tests/tset_f.c: does not use machine rounding mode any more +added further examples from V. Lefe`vre - * tests/tsqrt_ui.c, tests/tget_str.c: added ifdef TEST +------------------------------------------------------------------------ +r426 | zimmerma | 1999-12-16 13:14:21 +0000 (Thu, 16 Dec 1999) | 2 lines +Changed paths: + M /trunk/Configure - * tests/tadd.c: added 7 new tests +added macri VERSION for target dist - * tests/tui_sub.c: fixed typo in printf format +------------------------------------------------------------------------ +r425 | zimmerma | 1999-12-16 11:00:44 +0000 (Thu, 16 Dec 1999) | 2 lines +Changed paths: + M /trunk/tests/tlog.c - * add.c, sub.c: fixed several rounding problems +added new tests from V. Lefe`vre - * sub.c: - rewritten case dif<=0 and PREC(b)>PREC(a) (merged all roundings) +------------------------------------------------------------------------ +r424 | zimmerma | 1999-12-16 11:00:14 +0000 (Thu, 16 Dec 1999) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c - * tests/tadd.c: removed DEBUG, VERBOSE ifdef's +improved interface: tdiv N for doing N random tests - * sub.c: - fixed (hopefully) the case dif<=0, PREC(b)>PREC(a), directed rounding +------------------------------------------------------------------------ +r423 | zimmerma | 1999-12-16 10:59:26 +0000 (Thu, 16 Dec 1999) | 2 lines +Changed paths: + M /trunk/tests/tcmp2.c - * sub.c: replaced (mp_limb_t)1 by macro ONE - fixed bug for GMP_RNDN with overlap=1 +added one test - * add.c: removed misplaced comment +------------------------------------------------------------------------ +r422 | zimmerma | 1999-12-16 10:58:50 +0000 (Thu, 16 Dec 1999) | 2 lines +Changed paths: + M /trunk/sub.c - * tests/tadd.c: added one test +DEBUG2 -> DEBUG - * tests/tadd.c: does not use rnd_mode.c by default +------------------------------------------------------------------------ +r421 | zimmerma | 1999-12-16 10:58:21 +0000 (Thu, 16 Dec 1999) | 2 lines +Changed paths: + M /trunk/log.c - * add.c: removed unused label +added debug instructions - * add.c: fixed more tiny bugs +------------------------------------------------------------------------ +r420 | zimmerma | 1999-12-16 10:57:44 +0000 (Thu, 16 Dec 1999) | 2 lines +Changed paths: + M /trunk/cmp.c -2000-05-25 Paul Zimmermann <zimmerma@greux.loria.fr> +fixed nasty bug in mpfr_cmp2 (case cc=1) - * tests/tsqrt_ui.c: use mpfr_print_rnd_mode now +------------------------------------------------------------------------ +r419 | zimmerma | 1999-12-16 10:54:57 +0000 (Thu, 16 Dec 1999) | 2 lines +Changed paths: + M /trunk/add.c - * tests/tui_sub.c: added one test +replaced printf by fprintf for error - * tests/tadd_ui.c, tests/tadd.c: added more tests +------------------------------------------------------------------------ +r418 | zimmerma | 1999-12-10 20:32:36 +0000 (Fri, 10 Dec 1999) | 2 lines +Changed paths: + M /trunk/tests/tlog.c - * add_ui.c: removed TMP_ALLOC stuff +added new tests for large input - * sub.c: fixed new bug when a <- b - c with tiny c +------------------------------------------------------------------------ +r417 | zimmerma | 1999-12-10 20:32:07 +0000 (Fri, 10 Dec 1999) | 2 lines +Changed paths: + M /trunk/log.c - * sub.c: - fixed bug in a <- b-c when c very small but does not overlap with a +fixed bug for large input - * random2.c: - removed 'inline' (does not compile on Alpha with gcc 2.8.1) +------------------------------------------------------------------------ +r416 | zimmerma | 1999-12-10 13:29:54 +0000 (Fri, 10 Dec 1999) | 4 lines +Changed paths: + M /trunk/log.c - * tests/tdiv.c, tests/tget_str.c, tests/tout_str.c: - added include file unistd.h +rewritten the error analysis: +- now analyzes the cancellation a posteriori +- takes into account errors from rounding and initial approximation - * tests/tcmp_ui.c: fixed warning with long arguments +------------------------------------------------------------------------ +r415 | zimmerma | 1999-12-10 13:27:42 +0000 (Fri, 10 Dec 1999) | 2 lines +Changed paths: + M /trunk/tests/tlog.c - * inp_str.c, set_str.c: initial version +added tests from Vincent Lefe`vre - * tests/tset_str.c: added tests for mpfr_set_str +------------------------------------------------------------------------ +r414 | zimmerma | 1999-12-10 13:04:09 +0000 (Fri, 10 Dec 1999) | 2 lines +Changed paths: + M /trunk/set_str_raw.c - * tests/tcmp.c: now returns 0 if all works +no warning any more for negative exponent (thanks to V. Lefe`vre) - * pow.c: changed to return the error in ulps +------------------------------------------------------------------------ +r413 | zimmerma | 1999-12-08 12:12:07 +0000 (Wed, 08 Dec 1999) | 3 lines +Changed paths: + M /trunk/exp.c - * mpfr.texi: added new functions mpfr_set_str and mpfr_inp_str +fixed bug found by V. Lefe`vre (when n<0, we have to compute +an upper bound of log(2) instead of a lower bound) - * mpfr.h: added prototypes for set_str, inp_str - changed return value for mpfr*pow* +------------------------------------------------------------------------ +r412 | zimmerma | 1999-12-08 12:10:29 +0000 (Wed, 08 Dec 1999) | 2 lines +Changed paths: + M /trunk/tests/texp.c - * mpf2mpfr.h: separated functions with/without rounding argument +added new test (bug found by V. Lefe`vre) - * Configure: added tabs +------------------------------------------------------------------------ +r411 | zimmerma | 1999-12-07 16:01:25 +0000 (Tue, 07 Dec 1999) | 2 lines +Changed paths: + M /trunk/TODO - * Configure: added set_str.o and inp_str.o +added suggestion from V. Lefe`vre -2000-05-24 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r410 | zimmerma | 1999-12-07 10:31:45 +0000 (Tue, 07 Dec 1999) | 2 lines +Changed paths: + M /trunk/TODO - * sub_ui.c: initial version +added several remarks from Vincent Lefe`vre - * Configure: added rule for sub_ui.o +------------------------------------------------------------------------ +r409 | zimmerma | 1999-12-07 10:27:05 +0000 (Tue, 07 Dec 1999) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * Configure: use only one file (trunc.c) for ceil, floor, trunc +corrected many typos found by Vincent Lefe`vre - * ceil.c, floor.c: - now use trunc.c for all 3 functions (ceil, floor, trunc) +------------------------------------------------------------------------ +r408 | zimmerma | 1999-11-27 08:10:56 +0000 (Sat, 27 Nov 1999) | 2 lines +Changed paths: + M /trunk/mpfr.texi + M /trunk/mul.c - * trunc.c: added ifdef to avoid warning at compilation +removed executable rights - * reldiff.c: removed unused variable +------------------------------------------------------------------------ +r407 | zimmerma | 1999-11-27 08:09:46 +0000 (Sat, 27 Nov 1999) | 3 lines +Changed paths: + M /trunk/INSTALL - * mpfr.h: fixed output type for mpfr_ui_div +improved GMP link (thanks to Vincent Lefe`vre) +added pointer to Alpha-Linux f-p problems - * urandomb.c: removed 3rd argument (use PREC(rop) instead) - added include longlong.h +------------------------------------------------------------------------ +r406 | zimmerma | 1999-11-27 08:08:35 +0000 (Sat, 27 Nov 1999) | 2 lines +Changed paths: + M /trunk/tests/tset_d.c - * set_prc_raw.c: stupid typo: ABSSIZE -> ABSSIZE(x) +removed executable right on file - * tests/tdiv.c: change due to new semantics of mpfr_init_set* macros +------------------------------------------------------------------------ +r405 | zimmerma | 1999-10-20 14:17:01 +0000 (Wed, 20 Oct 1999) | 2 lines +Changed paths: + M /trunk/tests/tcmp2.c - * set_prc_raw.c: - now makes an error when precision too large wrt allocated space +put back test for x=y - * mpfr.texi: added new implemented functions +------------------------------------------------------------------------ +r404 | zimmerma | 1999-10-20 14:11:34 +0000 (Wed, 20 Oct 1999) | 2 lines +Changed paths: + M /trunk/tests/tcmp2.c - * mpfr.h: - added macro for mpfr_sgn - - removed argument 'p' in mpfr_init_set* macros for compatibility with mpf +modified to avoid y=-0.0 - * mpf2mpfr.h: updated wrt new functions +------------------------------------------------------------------------ +r403 | zimmerma | 1999-10-20 13:31:20 +0000 (Wed, 20 Oct 1999) | 2 lines +Changed paths: + M /trunk/tests/tcmp2.c - * Configure: added sub_ui +modified test procedure to return 53 when x=y - * Configure: added new test files +------------------------------------------------------------------------ +r402 | zimmerma | 1999-10-20 13:25:13 +0000 (Wed, 20 Oct 1999) | 2 lines +Changed paths: + M /trunk/cmp.c - * tests/tui_div.c, tests/tui_sub.c, tests/tadd_ui.c, tests/tsqrt_ui.c, tests/tset_q.c: - new test files +mpfr_cmp2(b,c) now returns PREC(b) if b=c, even if c=0 - * tests/tadd.c: added new tests +------------------------------------------------------------------------ +r401 | zimmerma | 1999-10-20 13:06:11 +0000 (Wed, 20 Oct 1999) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c - * tests/tabs.c: improved tests +added one test - * reldiff.c, ui_sub.c, add_ui.c, sqrt_ui.c, ui_div.c: - new functions (compatibility with mpf) +------------------------------------------------------------------------ +r400 | zimmerma | 1999-10-20 13:05:43 +0000 (Wed, 20 Oct 1999) | 2 lines +Changed paths: + M /trunk/INSTALL - * set.c: added 4th arg (was missing in non-stdc def) +added test under Cygwin - * mpfr.texi: added new functions (compatibility with mpf) +------------------------------------------------------------------------ +r399 | zimmerma | 1999-10-20 11:16:09 +0000 (Wed, 20 Oct 1999) | 2 lines +Changed paths: + M /trunk/Configure - * mpfr.h: added several prototypes +$make -> $MAKE - * add.c: fixed remaining bug (case overlap=5, dif>0) +------------------------------------------------------------------------ +r398 | zimmerma | 1999-10-20 10:21:22 +0000 (Wed, 20 Oct 1999) | 2 lines +Changed paths: + M /trunk/tests/tcmp2.c + M /trunk/tests/texp.c + M /trunk/tests/tlog.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_z.c - * Configure: added add_ui, sqrt_ui, ui_div, ui_sub, reldiff +removed *rand48 prototypes (pb under Cygwin) -2000-05-21 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r397 | zimmerma | 1999-10-20 10:20:37 +0000 (Wed, 20 Oct 1999) | 2 lines +Changed paths: + M /trunk/tests/tagm.c - * Configure, ceil.c, floor.c, trunc.c: - Compatibility mpf/mpfr, second part. Ceil, floor, trunc. Yet untested. +removed *rand48 prototypes - * mpf2mpfr.h: Include file for compatibility module mpf -> mpfr. +------------------------------------------------------------------------ +r396 | zimmerma | 1999-10-20 10:20:12 +0000 (Wed, 20 Oct 1999) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * Configure, dump.c, eq.c, random2.c, set_prc_raw.c, urandomb.c: - Compatibility with mpf. WARNING: THESE FUNCTIONS ARE UNTESTED IN THEIR PRESENT - FORM. THEY *DO* COMPILE HOWEVER. +removed lrand48 prototype (pb under Cygwin) -2000-05-18 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r395 | zimmerma | 1999-10-20 10:19:30 +0000 (Wed, 20 Oct 1999) | 2 lines +Changed paths: + M /trunk/rnd_mode.c - * tests/tzeta.c: removed unused variables +added rounding instructions for Cygnus compiler under Windows - * tests/tmul_2exp.c: removed ';' +------------------------------------------------------------------------ +r394 | zimmerma | 1999-10-20 10:18:14 +0000 (Wed, 20 Oct 1999) | 2 lines +Changed paths: + M /trunk/mpfr.h - * tests/tround.c, tests/tcmp_ui.c: added return +added dummy *rand48 functions for CYGWIN - * tests/tset_f.c: - added calls to mpf[r]_clear, and rewrote to avoid memory leaks +------------------------------------------------------------------------ +r393 | zimmerma | 1999-10-20 10:17:38 +0000 (Wed, 20 Oct 1999) | 2 lines +Changed paths: + M /trunk/INSTALL - * tests/tget_str.c: added calls to free +added info about gmp-mparam.h - * mpfr.h: corrected comment about field mp_size +------------------------------------------------------------------------ +r392 | zimmerma | 1999-10-20 10:16:28 +0000 (Wed, 20 Oct 1999) | 2 lines +Changed paths: + M /trunk/Configure -2000-05-12 Paul Zimmermann <zimmerma@greux.loria.fr> +incorporated data for CYGWIN - * tests/tout_str.c: added tests for negative numbers +------------------------------------------------------------------------ +r391 | zimmerma | 1999-10-15 09:51:16 +0000 (Fri, 15 Oct 1999) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c - * tests/tget_str.c: added one test +added one test - * get_str.c: fixed pb with rounding of negative numbers +------------------------------------------------------------------------ +r390 | zimmerma | 1999-10-15 09:41:12 +0000 (Fri, 15 Oct 1999) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c + M /trunk/tests/tmul.c + M /trunk/tests/tsqrt.c -2000-05-11 Paul Zimmermann <zimmerma@greux.loria.fr> +added boundary cases from paper from Michael Parks - * mpfr.texi: added mpfr_abs +------------------------------------------------------------------------ +r389 | zimmerma | 1999-10-14 13:32:09 +0000 (Thu, 14 Oct 1999) | 2 lines +Changed paths: + M /trunk/mul_ui.c - * tests/tabs.c: test file for mpfr_abs +now set sign correctly - * mpfr.h: added mpfr_abs (macro using mpfr_set4) +------------------------------------------------------------------------ +r388 | zimmerma | 1999-10-14 13:31:45 +0000 (Thu, 14 Oct 1999) | 2 lines +Changed paths: + M /trunk/tests/tmul_ui.c - * TODO: updated wrt done/new tasks +added test to check sign is correctly set -2000-05-05 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r387 | zimmerma | 1999-10-14 13:31:15 +0000 (Thu, 14 Oct 1999) | 2 lines +Changed paths: + M /trunk/tests/texp.c - * tests/tsqrt.c: added two tests +added worst case for arg. reduction - * tests/tset_d.c: split mpfr_init2 into mpfr_init and mpfr_set_prec +------------------------------------------------------------------------ +r386 | zimmerma | 1999-10-14 13:26:40 +0000 (Thu, 14 Oct 1999) | 2 lines +Changed paths: + M /trunk/exp.c - * Configure: removed karadiv.o +fixed bug when initial approx. floor(x/log(2)) is too large - * karasqrt.c: - replaced mpn_divrem_n by mpn_divrem (efficient in GMP 3.0) +------------------------------------------------------------------------ +r385 | zimmerma | 1999-10-08 15:25:42 +0000 (Fri, 08 Oct 1999) | 2 lines +Changed paths: + M /trunk/rnd_mode.c - * karadiv.c: not needed any more with GMP 3.0 +now use macros for Linux case, and added ifdef for _ISOC9X_SOURCE - * div.c: - removed mpn_divrem_n stuff, now that Burnikel/Ziegler algorithm is in GMP 3.0 +------------------------------------------------------------------------ +r384 | zimmerma | 1999-10-08 10:03:45 +0000 (Fri, 08 Oct 1999) | 2 lines +Changed paths: + M /trunk/Configure - * tests/tout_str.c, tests/tget_str.c: added one test +changed target dist to create archive in a directory -2000-05-04 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r383 | zimmerma | 1999-10-07 15:12:09 +0000 (Thu, 07 Oct 1999) | 2 lines +Changed paths: + M /trunk/Configure - * get_str.c: completely rewritten (changed semantics) +added targets doc and dist - * sub.c: initialized variable bh to avoid warning at compilation +------------------------------------------------------------------------ +r382 | zimmerma | 1999-10-07 15:11:43 +0000 (Thu, 07 Oct 1999) | 2 lines +Changed paths: + M /trunk/INSTALL - * mpfr.h: added prototype for mpfr_set_default_rounding_mode +added documentation and contact for problems - * cmp_ui.c: fixed pb in mpfr_cmp_ui_2exp for i=0 +------------------------------------------------------------------------ +r381 | zimmerma | 1999-10-07 14:54:54 +0000 (Thu, 07 Oct 1999) | 2 lines +Changed paths: + A /trunk/INSTALL - * TODO: updated according to meeting from May 4, 2000 +file for installation of mpfr - * INSTALL: updated for AIX +------------------------------------------------------------------------ +r380 | zimmerma | 1999-10-07 14:09:58 +0000 (Thu, 07 Oct 1999) | 2 lines +Changed paths: + M /trunk/tests/tlog.c + M /trunk/tests/tout_str.c - * rnd_mode.c, Configure: updated for AIX (thanks to Gerardo Ballabio) +added more tests -2000-05-02 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r379 | zimmerma | 1999-10-07 14:06:17 +0000 (Thu, 07 Oct 1999) | 2 lines +Changed paths: + M /trunk/get_str.c - * tests/tcmp.c: added one test +now deal with 0 and fixed bug on 64-bit machine - * cmp.c: fixed bug found by G. Ballabio for b=0 and 0<c<1 +------------------------------------------------------------------------ +r378 | zimmerma | 1999-10-07 08:15:21 +0000 (Thu, 07 Oct 1999) | 2 lines +Changed paths: + D /trunk/sqrt3.c - * INSTALL: added info for GMP2 vs GMP3 +moved to sqrt.c -2000-04-19 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r377 | zimmerma | 1999-10-07 08:14:56 +0000 (Thu, 07 Oct 1999) | 2 lines +Changed paths: + M /trunk/sqrt.c - * Configure: added -ffloat-store for Alpha/OSF +now use directly mpn_sqrtrem (previously sqrt3.c) - * cmp.c: added cast to mp_limb_t (bug on Alpha in tadd with -O2) +------------------------------------------------------------------------ +r376 | zimmerma | 1999-10-07 08:14:13 +0000 (Thu, 07 Oct 1999) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * tests/tcmp2.c: added one test +updated prototypes of mpfr_div/mpfr_sqrt - * karasqrt.c: removed #if 0 +------------------------------------------------------------------------ +r375 | zimmerma | 1999-10-07 08:11:25 +0000 (Thu, 07 Oct 1999) | 2 lines +Changed paths: + M /trunk/Configure + M /trunk/mpfr.h - * div_ui.c: swapped gmp-impl.h and longlong.h for GMP 3.0 +removed div3 and sqrt3 + +------------------------------------------------------------------------ +r374 | zimmerma | 1999-10-07 08:10:06 +0000 (Thu, 07 Oct 1999) | 2 lines +Changed paths: + M /trunk/log.c + +div3 -> div + +------------------------------------------------------------------------ +r373 | zimmerma | 1999-10-07 08:09:41 +0000 (Thu, 07 Oct 1999) | 2 lines +Changed paths: + D /trunk/div3.c + +moved to div.c + +------------------------------------------------------------------------ +r372 | zimmerma | 1999-10-07 08:08:48 +0000 (Thu, 07 Oct 1999) | 3 lines +Changed paths: + M /trunk/div.c + +replaced implementation using Goldschmidt's algorithm +by that using directly mpn_divrem (previously div3.c) + +------------------------------------------------------------------------ +r371 | zimmerma | 1999-10-07 08:07:46 +0000 (Thu, 07 Oct 1999) | 2 lines +Changed paths: + M /trunk/agm.c + +sqrt3 -> sqrt + +------------------------------------------------------------------------ +r370 | zimmerma | 1999-10-07 08:05:54 +0000 (Thu, 07 Oct 1999) | 2 lines +Changed paths: + A /trunk/COPYING.LIB + +GNU Library Public License + +------------------------------------------------------------------------ +r369 | zimmerma | 1999-08-31 08:56:55 +0000 (Tue, 31 Aug 1999) | 2 lines +Changed paths: + M /trunk/set_z.c + +removed printf statement + +------------------------------------------------------------------------ +r368 | zimmerma | 1999-08-31 08:46:21 +0000 (Tue, 31 Aug 1999) | 2 lines +Changed paths: + M /trunk/set_z.c + +added ABS for SIZ(z) when z<0 + +------------------------------------------------------------------------ +r367 | zimmerma | 1999-08-31 08:45:45 +0000 (Tue, 31 Aug 1999) | 2 lines +Changed paths: + M /trunk/get_str.c + +removed special 'exact' stuff for n=0 + +------------------------------------------------------------------------ +r366 | zimmerma | 1999-08-31 08:18:25 +0000 (Tue, 31 Aug 1999) | 2 lines +Changed paths: + M /trunk/mpfr.h + +fixed prototype of random + +------------------------------------------------------------------------ +r365 | zimmerma | 1999-07-30 16:48:33 +0000 (Fri, 30 Jul 1999) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +replaced GNU MPFR by MPFR (not yet the GNU label) + +------------------------------------------------------------------------ +r364 | zimmerma | 1999-07-30 16:47:40 +0000 (Fri, 30 Jul 1999) | 2 lines +Changed paths: + M /trunk/add.c + M /trunk/add_ulp.c + M /trunk/agm.c + M /trunk/clear.c + M /trunk/cmp.c + M /trunk/cmp_ui.c + M /trunk/div.c + M /trunk/div3.c + M /trunk/div_2exp.c + M /trunk/div_ui.c + M /trunk/exp.c + M /trunk/get_str.c + M /trunk/init.c + M /trunk/init_set.h + M /trunk/log.c + M /trunk/log2.c + M /trunk/mpfr-impl.h + M /trunk/mpfr.h + M /trunk/mul.c + M /trunk/mul_2exp.c + M /trunk/mul_ui.c + M /trunk/neg.c + M /trunk/out_str.c + M /trunk/pi.c + M /trunk/pow.c + M /trunk/print_raw.c + M /trunk/print_rnd_mode.c + M /trunk/random.c + M /trunk/rnd_mode.c + M /trunk/round.c + M /trunk/set.c + M /trunk/set_d.c + M /trunk/set_dfl_prec.c + M /trunk/set_dfl_rnd.c + M /trunk/set_f.c + M /trunk/set_prec.c + M /trunk/set_si.c + M /trunk/set_str_raw.c + M /trunk/set_z.c + M /trunk/sqrt.c + M /trunk/sqrt3.c + M /trunk/sub.c + M /trunk/tests/tadd.c + M /trunk/tests/tagm.c + M /trunk/tests/tcan_round.c + M /trunk/tests/tcmp.c + M /trunk/tests/tcmp2.c + M /trunk/tests/tcmp_ui.c + M /trunk/tests/tdiv.c + M /trunk/tests/tdiv_ui.c + M /trunk/tests/texp.c + M /trunk/tests/tget_str.c + M /trunk/tests/tlog.c + M /trunk/tests/tlog2.c + M /trunk/tests/tmul.c + M /trunk/tests/tmul_2exp.c + M /trunk/tests/tmul_ui.c + M /trunk/tests/tout_str.c + M /trunk/tests/tpi.c + M /trunk/tests/tround.c + M /trunk/tests/tset_d.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/tsqrt.c + M /trunk/tests/tzeta.c + M /trunk/zeta.c + +added copyright notice + +------------------------------------------------------------------------ +r363 | zimmerma | 1999-07-09 18:02:58 +0000 (Fri, 09 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tset_z.c + +added one test with prec=160 + +------------------------------------------------------------------------ +r362 | zimmerma | 1999-07-09 18:02:08 +0000 (Fri, 09 Jul 1999) | 2 lines +Changed paths: + M /trunk/pi.c + +error term is N+1 and not N + +------------------------------------------------------------------------ +r361 | zimmerma | 1999-07-09 18:00:39 +0000 (Fri, 09 Jul 1999) | 2 lines +Changed paths: + M /trunk/set_z.c + +fixed bug in case sh=0 + +------------------------------------------------------------------------ +r360 | zimmerma | 1999-07-08 16:28:56 +0000 (Thu, 08 Jul 1999) | 3 lines +Changed paths: + M /trunk/round.c + +completely rewritten mpfr_can_round_raw, which costs now O(1) +--- or more probably O(log n) --- instead of O(n) + +------------------------------------------------------------------------ +r359 | zimmerma | 1999-07-07 16:47:31 +0000 (Wed, 07 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tcmp.c + +changed mpfr_init2 to mpfr_set_prec + +------------------------------------------------------------------------ +r358 | zimmerma | 1999-07-07 16:44:53 +0000 (Wed, 07 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tlog.c + +added one test + +------------------------------------------------------------------------ +r357 | zimmerma | 1999-07-07 16:08:19 +0000 (Wed, 07 Jul 1999) | 2 lines +Changed paths: + M /trunk/sub.c + +added prototype for mpfr_add1 + +------------------------------------------------------------------------ +r356 | zimmerma | 1999-07-07 16:04:13 +0000 (Wed, 07 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tcan_round.c + +added mpfr_clear + +------------------------------------------------------------------------ +r355 | hanrot | 1999-07-07 15:53:23 +0000 (Wed, 07 Jul 1999) | 2 lines +Changed paths: + M /trunk/sqrt3.c + +sqrt3 now returns an exact / inexact flag. + +------------------------------------------------------------------------ +r354 | hanrot | 1999-07-07 15:52:58 +0000 (Wed, 07 Jul 1999) | 2 lines +Changed paths: + M /trunk/mpfr.h -2000-04-14 Paul Zimmermann <zimmerma@greux.loria.fr> +sqrt3 now returns an exact/inexact flag. - * tests/tset_si.c: added more tests +------------------------------------------------------------------------ +r353 | zimmerma | 1999-07-07 15:49:50 +0000 (Wed, 07 Jul 1999) | 2 lines +Changed paths: + M /trunk/set_str_raw.c - * set_si.c: fixed pb when target precision is less than integer length +fix UMR (missing 0 terminating string) - * add.c: fixed problem not solved so far, i.e. when adding round bit - produces a change of exponent +------------------------------------------------------------------------ +r352 | zimmerma | 1999-07-07 15:26:07 +0000 (Wed, 07 Jul 1999) | 2 lines +Changed paths: + M /trunk/init.c -2000-04-13 Paul Zimmermann <zimmerma@greux.loria.fr> +put initialization of exponent back (avoids some UMRs) - * tests/texp.c: fixed computation of ulps +------------------------------------------------------------------------ +r351 | zimmerma | 1999-07-07 15:11:20 +0000 (Wed, 07 Jul 1999) | 2 lines +Changed paths: + M /trunk/get_str.c - * round.c: removed variable xrw in mpfr_round_raw (not used) +fixed array bound write bug - * mul_ui.c: replaced 1st my by my+sh in mpfr_round_raw call +------------------------------------------------------------------------ +r350 | zimmerma | 1999-07-07 13:12:18 +0000 (Wed, 07 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c - * tests/tmul_ui.c: added 2 more tests +added one test -2000-04-13 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r349 | zimmerma | 1999-07-07 13:10:57 +0000 (Wed, 07 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tout_str.c - * mul_ui.c: - Correction d'un bug quand le carry contient tous les bits significatifs. +added several tests, and does not print on stdout when no argument -2000-02-11 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r348 | zimmerma | 1999-07-07 13:09:37 +0000 (Wed, 07 Jul 1999) | 2 lines +Changed paths: + M /trunk/get_str.c - * tests/tzeta.c: improved indentation - mpfr_pi -> mpfr_const_pi +fixed several bugs - * tests/tset_z.c: added one test +------------------------------------------------------------------------ +r347 | hanrot | 1999-07-07 11:37:10 +0000 (Wed, 07 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c - * tests/tpi.c: mpfr_pi -> mpfr_const_pi +Added an example which causes an ABW in mpz_get_str. - * tests/tmul_ui.c: use mpfr_cmp_ui instead of SIGN +------------------------------------------------------------------------ +r346 | zimmerma | 1999-07-07 11:35:17 +0000 (Wed, 07 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tout_str.c - * tests/tlog2.c: mpfr_log2 -> mpfr_const_log2 +moved drand to mpfr-impl.h and added test in large precision - * tests/texp.c: mpfr_pi -> mpfr_const_pi +------------------------------------------------------------------------ +r345 | zimmerma | 1999-07-07 11:24:34 +0000 (Wed, 07 Jul 1999) | 2 lines +Changed paths: + M /trunk/Configure - * Configure: added -O2 compilation flag - added set_q +added tout_str - * set_q.c: convert rational (mpz_q) to floating-point (mpfr_t) +------------------------------------------------------------------------ +r344 | hanrot | 1999-07-07 10:12:23 +0000 (Wed, 07 Jul 1999) | 2 lines +Changed paths: + M /trunk/sqrt3.c - * TODO: removed things which were done +Problem with the exponents in the destructive case. - * add.c, agm.c: unsigned char -> mp_rnd_t - SIGN -> MPFR_SIGN +------------------------------------------------------------------------ +r343 | zimmerma | 1999-07-07 10:04:22 +0000 (Wed, 07 Jul 1999) | 2 lines +Changed paths: + M /trunk/div3.c - * clear.c: - use PREC() macro instead of _mp_prec, and corrected size to free +more changes from G. Hanrot - * cmp.c, cmp_ui.c: SIGN -> MPFR_SIGN +------------------------------------------------------------------------ +r342 | zimmerma | 1999-07-07 10:00:45 +0000 (Wed, 07 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tcmp2.c - * div.c: unsigned char -> mp_rnd_t - SIGN -> MPFR_SIGN - added non standard C header +use now drand48 instead of drand - * div_2exp.c: unsigned char -> mp_rnd_t +------------------------------------------------------------------------ +r341 | zimmerma | 1999-07-07 09:49:04 +0000 (Wed, 07 Jul 1999) | 2 lines +Changed paths: + M /trunk/random.c - * div_ui.c, exp.c, get_str.c: unsigned char -> mp_rnd_t - SIGN -> MPFR_SIGN +simply set to zero the non-significant bits, don't call mpfr_round_raw - * init.c: unsigned long int -> mp_prec_t +------------------------------------------------------------------------ +r340 | zimmerma | 1999-07-07 09:44:15 +0000 (Wed, 07 Jul 1999) | 2 lines +Changed paths: + M /trunk/div3.c - * log.c: unsigned char -> mp_rnd_t - SIGN -> MPFR_SIGN +upgrade from bug fixes from Guillaume Hanrot - * log2.c: renamed to mpfr_const_log2 - unsigned char -> mp_rnd_t +------------------------------------------------------------------------ +r339 | zimmerma | 1999-07-07 09:38:44 +0000 (Wed, 07 Jul 1999) | 2 lines +Changed paths: + M /trunk/pi.c - * mpfr.h: unsigned char -> mp_rnd_t - SIGN -> MPFR_SIGN - unsigned long int -> mp_prec_t +stores now last computed value together with its rounding mode - * mpfr.texi: unsigned char -> mp_rnd_t - unsigned long int -> mp_prec_t +------------------------------------------------------------------------ +r338 | zimmerma | 1999-07-07 09:23:24 +0000 (Wed, 07 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c - * mul.c: unsigned char -> mp_rnd_t - SIGN -> MPFR_SIGN +checks now destructive version - * mul_2exp.c: unsigned char -> mp_rnd_t +------------------------------------------------------------------------ +r337 | boldo | 1999-07-07 08:07:16 +0000 (Wed, 07 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tagm.c + M /trunk/tests/tlog.c - * mul_ui.c, neg.c: unsigned char -> mp_rnd_t - SIGN -> MPFR_SIGN +changes on random - * out_str.c: unsigned char -> mp_rnd_t +------------------------------------------------------------------------ +r336 | boldo | 1999-07-07 08:00:29 +0000 (Wed, 07 Jul 1999) | 2 lines +Changed paths: + M /trunk/log.c - * pi.c: renamed to mpfr_const_pi - unsigned char -> mp_rnd_t +using div3 - * pow.c: unsigned char -> mp_rnd_t - added non standard C header +------------------------------------------------------------------------ +r335 | boldo | 1999-07-07 08:00:09 +0000 (Wed, 07 Jul 1999) | 2 lines +Changed paths: + M /trunk/agm.c - * print_raw.c: SIGN -> MPFR_SIGN +using sqrt3 - * print_rnd_mode.c: unsigned char -> mp_rnd_t +------------------------------------------------------------------------ +r334 | hanrot | 1999-07-06 16:56:56 +0000 (Tue, 06 Jul 1999) | 2 lines +Changed paths: + M /trunk/Configure - * random.c: added non standard C header +HPUX support, 2nd try. - * rnd_mode.c: unsigned char -> mp_rnd_t +------------------------------------------------------------------------ +r333 | hanrot | 1999-07-06 15:24:27 +0000 (Tue, 06 Jul 1999) | 2 lines +Changed paths: + M /trunk/div3.c + M /trunk/sqrt3.c - * round.c: unsigned char -> mp_rnd_t - SIGN -> MPFR_SIGN - unsigned long int -> mp_prec_t +Patch for the (very seldom encountered) case of even rounding. - * set.c, set_d.c: unsigned char -> mp_rnd_t - SIGN -> MPFR_SIGN +------------------------------------------------------------------------ +r332 | zimmerma | 1999-07-06 15:09:07 +0000 (Tue, 06 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tset_f.c + M /trunk/tests/tset_si.c + M /trunk/tests/tset_str.c - * set_dfl_prec.c: unsigned long int -> mp_prec_t +added def. for random/srandom, which do not exist under HPUX - * set_dfl_rnd.c: har -> mp_rnd_t +------------------------------------------------------------------------ +r331 | zimmerma | 1999-07-06 15:06:16 +0000 (Tue, 06 Jul 1999) | 2 lines +Changed paths: + M /trunk/pi.c - * set_f.c: unsigned char -> mp_rnd_t - SIGN -> MPFR_SIGN +store now computed values - * set_prec.c: unsigned long int -> mp_prec_t +------------------------------------------------------------------------ +r330 | zimmerma | 1999-07-06 15:05:42 +0000 (Tue, 06 Jul 1999) | 2 lines +Changed paths: + M /trunk/log2.c - * set_si.c, set_z.c, sqrt.c, sub.c: unsigned char -> mp_rnd_t - SIGN -> MPFR_SIGN +_mpfr_log2_* -> __mpfr_log2_* - * zeta.c: changed rounding mode to mp_rnd_t +------------------------------------------------------------------------ +r329 | zimmerma | 1999-07-06 14:48:33 +0000 (Tue, 06 Jul 1999) | 2 lines +Changed paths: + M /trunk/rnd_mode.c -2000-02-04 Paul Zimmermann <zimmerma@greux.loria.fr> +merged machine rounding instructions for Sun and HP - * tests/tmul.c: - now distinguish between true mpfr errors and possible errors from libm.a +------------------------------------------------------------------------ +r328 | zimmerma | 1999-07-06 14:46:38 +0000 (Tue, 06 Jul 1999) | 2 lines +Changed paths: + M /trunk/random.c - * tests/texp.c: now use print_rnd_mode +patch for HPUX (no random function) - * TODO: added suggestion from JP Merlet +------------------------------------------------------------------------ +r327 | zimmerma | 1999-07-06 14:44:30 +0000 (Tue, 06 Jul 1999) | 2 lines +Changed paths: + M /trunk/Configure - * Configure: added print_rnd_mode.c +added print_rnd_mode - * tests/tset_f.c: added more tests +------------------------------------------------------------------------ +r326 | zimmerma | 1999-07-06 14:41:38 +0000 (Tue, 06 Jul 1999) | 2 lines +Changed paths: + M /trunk/mpfr.h - * set_f.c: fixed bug(s) found by Jean-Pierre Merlet +fixed prototype of mpfr_print_rnd_mode - * mpfr.h: changed prototype of mpfr_set_f (takes now only 3 arguments) +------------------------------------------------------------------------ +r325 | zimmerma | 1999-07-06 14:40:54 +0000 (Tue, 06 Jul 1999) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h -2000-02-03 Paul Zimmermann <zimmerma@greux.loria.fr> +improved ulp to deal with case a=0.0 - * Configure: added karasqrt.o +------------------------------------------------------------------------ +r324 | zimmerma | 1999-07-06 14:40:13 +0000 (Tue, 06 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tlog.c - * mpfr.h: added prototype for kara_sqrtrem - added redefinition of KARATSUBA_MUL_THRESHOLD (if not defined) - removed definition of LOG_MP_BITS_PER_LIMB (was not used) +added return 0 to main - * karasqrt.c: changed return type to mp_size_t and included mpfr.h +------------------------------------------------------------------------ +r323 | hanrot | 1999-07-06 14:00:29 +0000 (Tue, 06 Jul 1999) | 2 lines +Changed paths: + M /trunk/div3.c - * karadiv.c: - moved definition of KARATSUBA_MUL_THRESHOLD (if not defined) to mpfr.h +Forgotten casts. - * karasqrt.c: implements Katatsuba square root +------------------------------------------------------------------------ +r322 | hanrot | 1999-07-06 12:55:14 +0000 (Tue, 06 Jul 1999) | 2 lines +Changed paths: + M /trunk/Configure - * sqrt.c: now use kara_sqrtrem instead of mpn_sqrtrem +Added sqrt3 + tentative support for Alpha linux. - * div_ui.c: fixed bug when high limb of quotient is zero +------------------------------------------------------------------------ +r321 | hanrot | 1999-07-06 12:40:17 +0000 (Tue, 06 Jul 1999) | 2 lines +Changed paths: + M /trunk/sqrt3.c -2000-02-02 Paul Zimmermann <zimmerma@greux.loria.fr> +The word added when the exponent is odd was sometimes unitialized. - * tests/tadd.c: added one test [did fail on alpha] +------------------------------------------------------------------------ +r320 | hanrot | 1999-07-06 09:39:42 +0000 (Tue, 06 Jul 1999) | 2 lines +Changed paths: + A /trunk/sqrt3.c - * sub.c: added cast to mp_limb_t in front of 1<<sh +Initial version. - * karadiv.c: modified to be compatible with gmp-2.0.2 +------------------------------------------------------------------------ +r319 | hanrot | 1999-07-06 09:39:20 +0000 (Tue, 06 Jul 1999) | 2 lines +Changed paths: + M /trunk/mpfr.h - * INSTALL: added further sqrt pb on alpha +Added mpfr_sqrt3. - * div_ui.c: swapped longlong.h and gmp-impl.h (pb on alpha) +------------------------------------------------------------------------ +r318 | zimmerma | 1999-07-06 09:23:25 +0000 (Tue, 06 Jul 1999) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * tests/tadd.c: - added test for bug in sub.c found by JP Merlet on Solaris +added several functions, and updated others - * sub.c: fixed mpn_rshift which could have 0 as shift argument - (caused bug in exp on Solaris found by JP Merlet) +------------------------------------------------------------------------ +r317 | zimmerma | 1999-07-06 09:19:09 +0000 (Tue, 06 Jul 1999) | 2 lines +Changed paths: + M /trunk/mpfr.h - * exp.c: moved debug messages to stdout +changed prototype of mpfr_log -2000-02-01 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r316 | zimmerma | 1999-07-06 09:17:28 +0000 (Tue, 06 Jul 1999) | 2 lines +Changed paths: + M /trunk/log.c - * mpfr.h: added prototype for mpn_divrem_n (Burnikel-Ziegler algorithm) +returns now an int instead of void - * div.c: - use mpn_divrem_n (Burnikel-Ziegler algorithm) instead of mpn_divrem - when rsize=rrsize +------------------------------------------------------------------------ +r315 | zimmerma | 1999-07-06 09:16:41 +0000 (Tue, 06 Jul 1999) | 2 lines +Changed paths: + M /trunk/init.c - * Configure: added karadiv.c (to be removed when incorporated in GMP) +removed initialization of exponent - * karadiv.c: Burnikel-Ziegler division +------------------------------------------------------------------------ +r314 | zimmerma | 1999-07-06 09:16:03 +0000 (Tue, 06 Jul 1999) | 2 lines +Changed paths: + M /trunk/exp.c -2000-01-31 Paul Zimmermann <zimmerma@greux.loria.fr> +special case for exp(0) - * tests/texp.c: added further examples from V. Lefe`vre +------------------------------------------------------------------------ +r313 | zimmerma | 1999-07-06 09:15:40 +0000 (Tue, 06 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/texp.c -1999-12-16 Paul Zimmermann <zimmerma@greux.loria.fr> +added test for exp(0) - * Configure: added macri VERSION for target dist +------------------------------------------------------------------------ +r312 | hanrot | 1999-07-06 08:31:45 +0000 (Tue, 06 Jul 1999) | 2 lines +Changed paths: + M /trunk/Configure - * tests/tlog.c: added new tests from V. Lefe`vre +config.in -> ./config.in - * tests/tdiv.c: improved interface: tdiv N for doing N random tests +------------------------------------------------------------------------ +r311 | boldo | 1999-07-05 18:55:08 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/agm.c - * tests/tcmp2.c: added one test +new, quick & clean - * sub.c: DEBUG2 -> DEBUG +------------------------------------------------------------------------ +r310 | zimmerma | 1999-07-05 16:35:27 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tlog.c - * log.c: added debug instructions +added two tests and converted to double's - * cmp.c: fixed nasty bug in mpfr_cmp2 (case cc=1) +------------------------------------------------------------------------ +r309 | boldo | 1999-07-05 16:27:31 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tlog.c - * add.c: replaced printf by fprintf for error +more checking ways -1999-12-10 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r308 | zimmerma | 1999-07-05 15:24:16 +0000 (Mon, 05 Jul 1999) | 3 lines +Changed paths: + M /trunk/tests/tsqrt.c - * tests/tlog.c: added new tests for large input +distinguishes now between true errors and differences with libm.a +(which may fail too) - * log.c: fixed bug for large input +------------------------------------------------------------------------ +r307 | zimmerma | 1999-07-05 14:55:12 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tmul.c - * log.c: rewritten the error analysis: - - now analyzes the cancellation a posteriori - - takes into account errors from rounding and initial approximation +removed mpf stuff in check - * tests/tlog.c: added tests from Vincent Lefe`vre +------------------------------------------------------------------------ +r306 | zimmerma | 1999-07-05 14:49:59 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tset_d.c - * set_str_raw.c: - no warning any more for negative exponent (thanks to V. Lefe`vre) +added some mpfr_clear's -1999-12-08 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r305 | zimmerma | 1999-07-05 14:45:58 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tset_si.c - * exp.c: fixed bug found by V. Lefe`vre (when n<0, we have to compute - an upper bound of log(2) instead of a lower bound) +changed defs of random/srandom to work on Alpha - * tests/texp.c: added new test (bug found by V. Lefe`vre) +------------------------------------------------------------------------ +r304 | zimmerma | 1999-07-05 14:45:12 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tadd.c -1999-12-07 Paul Zimmermann <zimmerma@greux.loria.fr> +mpfr_init2 -> mpfr_set_prec in check64 - * TODO: added suggestion from V. Lefe`vre +------------------------------------------------------------------------ +r303 | zimmerma | 1999-07-05 14:30:48 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h - * TODO: added several remarks from Vincent Lefe`vre +added function dbl - * mpfr.texi: corrected many typos found by Vincent Lefe`vre +------------------------------------------------------------------------ +r302 | zimmerma | 1999-07-05 14:30:19 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/mpfr.h -1999-11-27 Paul Zimmermann <zimmerma@greux.loria.fr> +added prototypes for mpfr_cmp3 and mpfr_set4 - * mpfr.texi, mul.c: removed executable rights +------------------------------------------------------------------------ +r301 | zimmerma | 1999-07-05 14:06:18 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/neg.c - * INSTALL: improved GMP link (thanks to Vincent Lefe`vre) - added pointer to Alpha-Linux f-p problems +use mpfr_set4 now (no modification of const parameters any more) - * tests/tset_d.c: removed executable right on file +------------------------------------------------------------------------ +r300 | zimmerma | 1999-07-05 14:05:33 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/round.c -1999-10-20 Paul Zimmermann <zimmerma@greux.loria.fr> +return 0 in mpfr_can_round_raw - * tests/tcmp2.c: put back test for x=y +------------------------------------------------------------------------ +r299 | zimmerma | 1999-07-05 14:04:38 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/set.c - * tests/tcmp2.c: modified to avoid y=-0.0 +introduced auxiliary function mpfr_set4 - * tests/tcmp2.c: modified test procedure to return 53 when x=y +------------------------------------------------------------------------ +r298 | zimmerma | 1999-07-05 14:01:07 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/set_si.c - * cmp.c: mpfr_cmp2(b,c) now returns PREC(b) if b=c, even if c=0 +fixed possible bug (testing sign of unsigned long) in mpfr_mul_ui - * tests/tsqrt.c: added one test +------------------------------------------------------------------------ +r297 | zimmerma | 1999-07-05 14:00:11 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/div3.c - * INSTALL: added test under Cygwin +replaced PREC(r) by prec (which was defined but not used) - * Configure: $make -> $MAKE +------------------------------------------------------------------------ +r296 | zimmerma | 1999-07-05 13:59:08 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tdiv_ui.c - * tests/tset_z.c, tests/texp.c, tests/tlog.c, tests/tset_si.c, tests/tcmp2.c: - removed *rand48 prototypes (pb under Cygwin) +moved drand and ulp to mpfr-impl - * tests/tagm.c: removed *rand48 prototypes +------------------------------------------------------------------------ +r295 | zimmerma | 1999-07-05 13:55:23 +0000 (Mon, 05 Jul 1999) | 3 lines +Changed paths: + M /trunk/tests/tlog.c - * tests/tadd.c: removed lrand48 prototype (pb under Cygwin) +moved ulp to mpfr-impl.h +and used input routine 'dbl' in some tests - * rnd_mode.c: - added rounding instructions for Cygnus compiler under Windows +------------------------------------------------------------------------ +r294 | zimmerma | 1999-07-05 13:32:55 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/texp.c - * mpfr.h: added dummy *rand48 functions for CYGWIN +modified one test to avoid rounding from double input routines - * INSTALL: added info about gmp-mparam.h +------------------------------------------------------------------------ +r293 | zimmerma | 1999-07-05 13:18:06 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/cmp.c - * Configure: incorporated data for CYGWIN +introduced auxiliary function mpfr_cmp3(x,y,sign) to compare x and sign*y -1999-10-15 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r292 | zimmerma | 1999-07-05 13:16:55 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c - * tests/tsqrt.c: added one test +moved drand and ulp to mpfr-impl.h - * tests/tsqrt.c, tests/tdiv.c, tests/tmul.c: - added boundary cases from paper from Michael Parks +------------------------------------------------------------------------ +r291 | zimmerma | 1999-07-05 13:15:48 +0000 (Mon, 05 Jul 1999) | 3 lines +Changed paths: + M /trunk/sub.c -1999-10-14 Paul Zimmermann <zimmerma@greux.loria.fr> +mpfr_sub now calls directly mpfr_add1/mpfr_sub1 (no modification of +const parameters any more) - * mul_ui.c: now set sign correctly +------------------------------------------------------------------------ +r290 | zimmerma | 1999-07-05 13:14:13 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tcmp.c - * tests/tmul_ui.c: added test to check sign is correctly set +moved drand to mpfr-implh.h - * tests/texp.c: added worst case for arg. reduction +------------------------------------------------------------------------ +r289 | zimmerma | 1999-07-05 13:12:55 +0000 (Mon, 05 Jul 1999) | 3 lines +Changed paths: + M /trunk/add.c - * exp.c: fixed bug when initial approx. floor(x/log(2)) is too large +use mpfr_cmp3 instead of mpfr_cmp (avoids warning due to modification of +const parameters) -1999-10-08 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r288 | zimmerma | 1999-07-05 13:11:42 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c - * rnd_mode.c: - now use macros for Linux case, and added ifdef for _ISOC9X_SOURCE +moved drand to mpfr-impl.h and removed warnings - * Configure: changed target dist to create archive in a directory +------------------------------------------------------------------------ +r287 | zimmerma | 1999-07-05 12:34:27 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/zeta.c -1999-10-07 Paul Zimmermann <zimmerma@greux.loria.fr> +use the result of mpfr_can_round - * Configure: added targets doc and dist +------------------------------------------------------------------------ +r286 | zimmerma | 1999-07-05 11:05:32 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * INSTALL: added documentation and contact for problems +moved drand and ulp to mpfr-impl.h - * INSTALL: file for installation of mpfr +------------------------------------------------------------------------ +r285 | zimmerma | 1999-07-05 11:03:46 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tset_d.c - * tests/tout_str.c, tests/tlog.c: added more tests +moved drand to mpfr-impl.h - * get_str.c: now deal with 0 and fixed bug on 64-bit machine +------------------------------------------------------------------------ +r284 | zimmerma | 1999-07-05 10:56:30 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tmul.c - * sqrt3.c: moved to sqrt.c +moved drand to mpfr-impl and removed warnings - * sqrt.c: now use directly mpn_sqrtrem (previously sqrt3.c) +------------------------------------------------------------------------ +r283 | zimmerma | 1999-07-05 10:55:30 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/mpfr-impl.h - * mpfr.texi: updated prototypes of mpfr_div/mpfr_sqrt +added include of math.h - * mpfr.h: removed div3 and sqrt3 +------------------------------------------------------------------------ +r282 | zimmerma | 1999-07-05 10:52:07 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c - * log.c: div3 -> div +moved drand and ulp to mpfr-impl.h - * div3.c: moved to div.c +------------------------------------------------------------------------ +r281 | zimmerma | 1999-07-05 10:51:37 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + A /trunk/mpfr-impl.h - * div.c: replaced implementation using Goldschmidt's algorithm - by that using directly mpn_divrem (previously div3.c) +include file for mpfr developers only - * agm.c: sqrt3 -> sqrt +------------------------------------------------------------------------ +r280 | zimmerma | 1999-07-05 10:45:52 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tcmp2.c - * Configure: removed div3 and sqrt3 +long -> int in drand - * COPYING.LIB: GNU Library Public License +------------------------------------------------------------------------ +r279 | zimmerma | 1999-07-05 10:43:11 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tadd.c -1999-08-31 Paul Zimmermann <zimmerma@greux.loria.fr> +adapted drand to sizeof(long)=64 - * set_z.c: removed printf statement +------------------------------------------------------------------------ +r278 | zimmerma | 1999-07-05 10:12:44 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/Configure - * set_z.c: added ABS for SIZ(z) when z<0 +config.in -> ./config.in (otherwise don't work under IRIX) - * get_str.c: removed special 'exact' stuff for n=0 +------------------------------------------------------------------------ +r277 | zimmerma | 1999-07-05 09:42:53 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tdiv_ui.c - * mpfr.h: fixed prototype of random +removed warnings -1999-07-30 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r276 | zimmerma | 1999-07-05 09:42:20 +0000 (Mon, 05 Jul 1999) | 2 lines +Changed paths: + M /trunk/div_ui.c - * mpfr.texi: replaced GNU MPFR by MPFR (not yet the GNU label) +patch for GMP bug when UDIV_NEEDS_NORMALIZATION=1 - * add_ulp.c, add.c, zeta.c, sub.c, sqrt3.c, sqrt.c, set_z.c, set_str_raw.c, set_si.c, set_prec.c, set_f.c, set_dfl_rnd.c, set_dfl_prec.c, set_d.c, set.c, round.c, rnd_mode.c, random.c, print_rnd_mode.c, print_raw.c, pow.c, pi.c, out_str.c, neg.c, mul_ui.c, mul_2exp.c, mul.c, mpfr.h, mpfr-impl.h, log2.c, log.c, init_set.h, init.c, get_str.c, exp.c, div_2exp.c, div_ui.c, div3.c, div.c, cmp_ui.c, cmp.c, clear.c, agm.c, tests/tset_si.c, tests/tset_f.c, tests/tset_d.c, tests/tround.c, tests/tpi.c, tests/tmul_ui.c, tests/tout_str.c, tests/tmul_2exp.c, tests/tmul.c, tests/tlog2.c, tests/tlog.c, tests/tget_str.c, tests/texp.c, tests/tdiv_ui.c, tests/tdiv.c, tests/tcmp_ui.c, tests/tcmp2.c, tests/tcmp.c, tests/tcan_round.c, tests/tagm.c, tests/tadd.c, tests/tset_str.c, tests/tset_z.c, tests/tsqrt.c, tests/tzeta.c: - added copyright notice +------------------------------------------------------------------------ +r275 | hanrot | 1999-07-02 17:51:54 +0000 (Fri, 02 Jul 1999) | 2 lines +Changed paths: + M /trunk/div3.c -1999-07-09 Paul Zimmermann <zimmerma@greux.loria.fr> +Correction of a typo. - * tests/tset_z.c: added one test with prec=160 +------------------------------------------------------------------------ +r274 | zimmerma | 1999-07-02 16:13:14 +0000 (Fri, 02 Jul 1999) | 2 lines +Changed paths: + M /trunk/div_ui.c - * pi.c: error term is N+1 and not N +fixed horrible hack yp[-1] - * set_z.c: fixed bug in case sh=0 +------------------------------------------------------------------------ +r273 | hanrot | 1999-07-02 15:47:18 +0000 (Fri, 02 Jul 1999) | 2 lines +Changed paths: + M /trunk/Configure -1999-07-08 Paul Zimmermann <zimmerma@greux.loria.fr> +Support of IRIX64 (n32/64 modes) plus cosmetic modifications. - * round.c: - completely rewritten mpfr_can_round_raw, which costs now O(1) - --- or more probably O(log n) --- instead of O(n) +------------------------------------------------------------------------ +r272 | zimmerma | 1999-07-02 12:29:31 +0000 (Fri, 02 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tlog.c -1999-07-07 Paul Zimmermann <zimmerma@greux.loria.fr> +added one test, and adapted to ANSI C - * tests/tcmp.c: changed mpfr_init2 to mpfr_set_prec +------------------------------------------------------------------------ +r271 | hanrot | 1999-07-02 12:28:06 +0000 (Fri, 02 Jul 1999) | 2 lines +Changed paths: + M /trunk/Configure - * tests/tlog.c: added one test +Yet Another Backslash Forgotten... - * sub.c: added prototype for mpfr_add1 +------------------------------------------------------------------------ +r270 | hanrot | 1999-07-02 12:26:33 +0000 (Fri, 02 Jul 1999) | 2 lines +Changed paths: + M /trunk/div3.c - * tests/tcan_round.c: added mpfr_clear +Bug le plus stupide de tous les temps corrige. Ca marchait sous Solaris... -1999-07-07 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r269 | zimmerma | 1999-07-02 12:25:39 +0000 (Fri, 02 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tagm.c - * sqrt3.c: sqrt3 now returns an exact / inexact flag. +added one test and removed warnings - * mpfr.h: sqrt3 now returns an exact/inexact flag. +------------------------------------------------------------------------ +r268 | hanrot | 1999-07-02 12:22:02 +0000 (Fri, 02 Jul 1999) | 2 lines +Changed paths: + M /trunk/mpfr.h -1999-07-07 Paul Zimmermann <zimmerma@greux.loria.fr> +Added mpfr_div3. - * set_str_raw.c: fix UMR (missing 0 terminating string) +------------------------------------------------------------------------ +r267 | hanrot | 1999-07-02 12:21:42 +0000 (Fri, 02 Jul 1999) | 2 lines +Changed paths: + M /trunk/Configure - * init.c: put initialization of exponent back (avoids some UMRs) +Added div3.c - * get_str.c: fixed array bound write bug +------------------------------------------------------------------------ +r266 | zimmerma | 1999-07-02 12:19:59 +0000 (Fri, 02 Jul 1999) | 3 lines +Changed paths: + M /trunk/add.c - * tests/tsqrt.c: added one test +fixed bug when sizeof(long) <> sizeof(mp_limb_t) +and removed DEBUG2 stuff - * tests/tout_str.c: - added several tests, and does not print on stdout when no argument +------------------------------------------------------------------------ +r265 | zimmerma | 1999-07-02 12:19:03 +0000 (Fri, 02 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * get_str.c: fixed several bugs +added one test, and removed warnings -1999-07-07 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r264 | hanrot | 1999-07-02 12:18:47 +0000 (Fri, 02 Jul 1999) | 2 lines +Changed paths: + A /trunk/div3.c - * tests/tget_str.c: - Added an example which causes an ABW in mpz_get_str. +Added div3.c, initial release. -1999-07-07 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r263 | hanrot | 1999-07-02 11:45:22 +0000 (Fri, 02 Jul 1999) | 2 lines +Changed paths: + M /trunk/Configure - * tests/tout_str.c: - moved drand to mpfr-impl.h and added test in large precision +Patch of the patch :) - * Configure: added tout_str +------------------------------------------------------------------------ +r262 | hanrot | 1999-07-02 11:27:38 +0000 (Fri, 02 Jul 1999) | 2 lines +Changed paths: + M /trunk/Configure -1999-07-07 Guillaume Hanrot <hanrot@greux.loria.fr> +Pattern matching rules in tests Makefile for non-GNU make (eg Solaris) - * sqrt3.c: Problem with the exponents in the destructive case. +------------------------------------------------------------------------ +r261 | zimmerma | 1999-07-02 11:24:09 +0000 (Fri, 02 Jul 1999) | 3 lines +Changed paths: + M /trunk/tests/tdiv.c -1999-07-07 Paul Zimmermann <zimmerma@greux.loria.fr> +adapted to enable denormalized numbers on IRIX64, added one test and +removed warnings - * div3.c: more changes from G. Hanrot +------------------------------------------------------------------------ +r260 | zimmerma | 1999-07-02 11:21:42 +0000 (Fri, 02 Jul 1999) | 3 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/round.c - * tests/tcmp2.c: use now drand48 instead of drand +changed type of 3rd arg. 'neg' of mpfr_can_round_raw from char to int +(pb with signed char's on some machines, e.g. IRIX64) - * random.c: - simply set to zero the non-significant bits, don't call mpfr_round_raw +------------------------------------------------------------------------ +r259 | zimmerma | 1999-07-02 10:09:00 +0000 (Fri, 02 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c - * div3.c: upgrade from bug fixes from Guillaume Hanrot +adapted to IRIX64 (enable denorm. numbers) and removed warnings - * pi.c: stores now last computed value together with its rounding mode +------------------------------------------------------------------------ +r258 | zimmerma | 1999-07-02 10:06:05 +0000 (Fri, 02 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tcmp2.c - * tests/tsqrt.c: checks now destructive version +adapted to IRIX64 (enable denormalized numbers) and removed warnings -1999-07-07 boldo <boldo@greux.loria.fr> +------------------------------------------------------------------------ +r257 | zimmerma | 1999-07-02 10:03:28 +0000 (Fri, 02 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * tests/tagm.c, tests/tlog.c: changes on random +adapted to IRIX64 (no denormalized by default) and removed warnings - * log.c: using div3 +------------------------------------------------------------------------ +r256 | zimmerma | 1999-07-02 09:55:41 +0000 (Fri, 02 Jul 1999) | 2 lines +Changed paths: + M /trunk/set_si.c - * agm.c: using sqrt3 +unsigned long -> mp_limb_t -1999-07-06 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r255 | boldo | 1999-07-02 09:51:06 +0000 (Fri, 02 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tlog.c - * Configure: HPUX support, 2nd try. +unused variables - * div3.c, sqrt3.c: - Patch for the (very seldom encountered) case of even rounding. +------------------------------------------------------------------------ +r254 | boldo | 1999-07-02 09:50:16 +0000 (Fri, 02 Jul 1999) | 2 lines +Changed paths: + M /trunk/log.c -1999-07-06 Paul Zimmermann <zimmerma@greux.loria.fr> +unused variable - * tests/tset_f.c, tests/tset_si.c, tests/tset_str.c: - added def. for random/srandom, which do not exist under HPUX +------------------------------------------------------------------------ +r253 | zimmerma | 1999-07-02 09:43:38 +0000 (Fri, 02 Jul 1999) | 2 lines +Changed paths: + M /trunk/set_d.c - * pi.c: store now computed values +added ifdef to avoid warning "unused variable" on 64-bit machine - * log2.c: _mpfr_log2_* -> __mpfr_log2_* +------------------------------------------------------------------------ +r252 | zimmerma | 1999-07-02 09:42:58 +0000 (Fri, 02 Jul 1999) | 2 lines +Changed paths: + M /trunk/rnd_mode.c - * rnd_mode.c: merged machine rounding instructions for Sun and HP +added def. of swapRM to avoid warning on IRIX64 - * random.c: patch for HPUX (no random function) +------------------------------------------------------------------------ +r251 | zimmerma | 1999-07-02 09:36:03 +0000 (Fri, 02 Jul 1999) | 2 lines +Changed paths: + M /trunk/print_raw.c + M /trunk/round.c - * Configure: added print_rnd_mode +1UL -> ((mp_limb_t) 1) - * mpfr.h: fixed prototype of mpfr_print_rnd_mode +------------------------------------------------------------------------ +r250 | zimmerma | 1999-07-02 09:32:47 +0000 (Fri, 02 Jul 1999) | 2 lines +Changed paths: + M /trunk/round.c - * mpfr-impl.h: improved ulp to deal with case a=0.0 +changed type of mask to mp_limb_t in mpfr_round_raw2 - * tests/tlog.c: added return 0 to main +------------------------------------------------------------------------ +r249 | zimmerma | 1999-07-02 09:26:13 +0000 (Fri, 02 Jul 1999) | 3 lines +Changed paths: + M /trunk/tests/tset_d.c -1999-07-06 Guillaume Hanrot <hanrot@greux.loria.fr> +adapted for denormalized on IRIX64 +now test NaNs too - * div3.c: Forgotten casts. +------------------------------------------------------------------------ +r248 | hanrot | 1999-07-01 17:20:43 +0000 (Thu, 01 Jul 1999) | 2 lines +Changed paths: + M /trunk/cmp.c - * Configure: Added sqrt3 + tentative support for Alpha linux. +Due to the representation of 0 it might have happened that 0 != 0. - * sqrt3.c: - The word added when the exponent is odd was sometimes unitialized. +------------------------------------------------------------------------ +r247 | hanrot | 1999-07-01 17:09:00 +0000 (Thu, 01 Jul 1999) | 2 lines +Changed paths: + M /trunk/sqrt.c - * sqrt3.c: Initial version. +Patch mpfr_set -> MPN_COPY - * mpfr.h: Added mpfr_sqrt3. +------------------------------------------------------------------------ +r246 | hanrot | 1999-07-01 17:08:12 +0000 (Thu, 01 Jul 1999) | 2 lines +Changed paths: + M /trunk/div.c -1999-07-06 Paul Zimmermann <zimmerma@greux.loria.fr> +Patch when prec < 32. - * mpfr.texi: added several functions, and updated others +------------------------------------------------------------------------ +r245 | zimmerma | 1999-07-01 17:00:58 +0000 (Thu, 01 Jul 1999) | 2 lines +Changed paths: + M /trunk/set_d.c - * mpfr.h: changed prototype of mpfr_log +fixed bugs for 64-bit machines - * log.c: returns now an int instead of void +------------------------------------------------------------------------ +r244 | zimmerma | 1999-07-01 16:59:36 +0000 (Thu, 01 Jul 1999) | 2 lines +Changed paths: + M /trunk/round.c - * init.c: removed initialization of exponent +added casts to mp_limb_t - * exp.c: special case for exp(0) +------------------------------------------------------------------------ +r243 | zimmerma | 1999-07-01 16:54:40 +0000 (Thu, 01 Jul 1999) | 2 lines +Changed paths: + M /trunk/mul_ui.c - * tests/texp.c: added test for exp(0) +added cast to mp_limb_t for shifts -1999-07-06 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r242 | boldo | 1999-07-01 14:35:42 +0000 (Thu, 01 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tlog.c - * Configure: config.in -> ./config.in +prints nothing is everything is allright -1999-07-05 boldo <boldo@greux.loria.fr> +------------------------------------------------------------------------ +r241 | boldo | 1999-07-01 14:20:32 +0000 (Thu, 01 Jul 1999) | 2 lines +Changed paths: + M /trunk/agm.c - * agm.c: new, quick & clean +memory gestion -1999-07-05 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r240 | boldo | 1999-07-01 14:19:36 +0000 (Thu, 01 Jul 1999) | 2 lines +Changed paths: + M /trunk/log.c - * tests/tlog.c: added two tests and converted to double's +one single bug -1999-07-05 boldo <boldo@greux.loria.fr> +------------------------------------------------------------------------ +r239 | boldo | 1999-07-01 14:19:12 +0000 (Thu, 01 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tlog.c - * tests/tlog.c: more checking ways +more bad cases -1999-07-05 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r238 | zimmerma | 1999-07-01 14:08:04 +0000 (Thu, 01 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/texp.c - * tests/tsqrt.c: - distinguishes now between true errors and differences with libm.a - (which may fail too) +added some certified tests - * tests/tmul.c: removed mpf stuff in check +------------------------------------------------------------------------ +r237 | zimmerma | 1999-07-01 12:47:55 +0000 (Thu, 01 Jul 1999) | 2 lines +Changed paths: + M /trunk/tests/tmul_ui.c - * tests/tset_d.c: added some mpfr_clear's +added one test to check that 1*y = y - * tests/tset_si.c: changed defs of random/srandom to work on Alpha +------------------------------------------------------------------------ +r236 | hanrot | 1999-07-01 12:19:09 +0000 (Thu, 01 Jul 1999) | 3 lines +Changed paths: + M /trunk/div.c - * tests/tadd.c: mpfr_init2 -> mpfr_set_prec in check64 +Patch of an MLK due to multiple initialization of the same variables without +freeing them inbetween. - * mpfr-impl.h: added function dbl +------------------------------------------------------------------------ +r235 | hanrot | 1999-07-01 12:09:49 +0000 (Thu, 01 Jul 1999) | 2 lines +Changed paths: + M /trunk/div.c - * mpfr.h: added prototypes for mpfr_cmp3 and mpfr_set4 +Same as in sqrt (allocation problem). - * neg.c: - use mpfr_set4 now (no modification of const parameters any more) +------------------------------------------------------------------------ +r234 | zimmerma | 1999-07-01 11:58:48 +0000 (Thu, 01 Jul 1999) | 2 lines +Changed paths: + M /trunk/mul_ui.c - * round.c: return 0 in mpfr_can_round_raw +fixed bug due to shift=0 in mpn_rshift - * set.c: introduced auxiliary function mpfr_set4 +------------------------------------------------------------------------ +r233 | hanrot | 1999-07-01 10:43:19 +0000 (Thu, 01 Jul 1999) | 2 lines +Changed paths: + M /trunk/sqrt.c - * set_si.c: - fixed possible bug (testing sign of unsigned long) in mpfr_mul_ui +(Temporary) patch for memory gestion in sqrt.c - * div3.c: replaced PREC(r) by prec (which was defined but not used) +------------------------------------------------------------------------ +r232 | zimmerma | 1999-07-01 09:40:55 +0000 (Thu, 01 Jul 1999) | 2 lines +Changed paths: + M /trunk/sqrt.c - * tests/tdiv_ui.c: moved drand and ulp to mpfr-impl +mpfr_init -> mpfr_init2 - * tests/tlog.c: moved ulp to mpfr-impl.h - and used input routine 'dbl' in some tests +------------------------------------------------------------------------ +r231 | zimmerma | 1999-07-01 09:39:56 +0000 (Thu, 01 Jul 1999) | 2 lines +Changed paths: + M /trunk/sqrt.c - * tests/texp.c: - modified one test to avoid rounding from double input routines +initialize temporary variables with current precision - * cmp.c: - introduced auxiliary function mpfr_cmp3(x,y,sign) to compare x and sign*y +------------------------------------------------------------------------ +r230 | hanrot | 1999-06-30 15:47:13 +0000 (Wed, 30 Jun 1999) | 2 lines +Changed paths: + M /trunk/clear.c - * tests/tdiv.c: moved drand and ulp to mpfr-impl.h +Unbelievably stupid bug fixed. - * sub.c: - mpfr_sub now calls directly mpfr_add1/mpfr_sub1 (no modification of - const parameters any more) +------------------------------------------------------------------------ +r229 | hanrot | 1999-06-30 15:14:47 +0000 (Wed, 30 Jun 1999) | 3 lines +Changed paths: + M /trunk/round.c - * tests/tcmp.c: moved drand to mpfr-implh.h +Two patches : one for an UMR which actually had no effect, one for an FNH in +old code.. - * add.c: - use mpfr_cmp3 instead of mpfr_cmp (avoids warning due to modification of - const parameters) +------------------------------------------------------------------------ +r228 | boldo | 1999-06-30 14:55:48 +0000 (Wed, 30 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tlog.c - * tests/tget_str.c: moved drand to mpfr-impl.h and removed warnings +new bug - * zeta.c: use the result of mpfr_can_round +------------------------------------------------------------------------ +r227 | boldo | 1999-06-30 13:30:46 +0000 (Wed, 30 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tagm.c - * tests/tadd.c: moved drand and ulp to mpfr-impl.h +there were some conflicts - * tests/tset_d.c: moved drand to mpfr-impl.h +------------------------------------------------------------------------ +r226 | boldo | 1999-06-30 13:30:25 +0000 (Wed, 30 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tlog.c - * tests/tmul.c: moved drand to mpfr-impl and removed warnings +ther were some conflicts - * mpfr-impl.h: added include of math.h +------------------------------------------------------------------------ +r225 | boldo | 1999-06-30 13:29:47 +0000 (Wed, 30 Jun 1999) | 2 lines +Changed paths: + M /trunk/agm.c + M /trunk/log.c - * tests/tsqrt.c: moved drand and ulp to mpfr-impl.h +memory gestion - * mpfr-impl.h: include file for mpfr developers only +------------------------------------------------------------------------ +r224 | zimmerma | 1999-06-29 17:53:45 +0000 (Tue, 29 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tzeta.c - * tests/tcmp2.c: long -> int in drand +replaced outputs by direct comparison when no argument - * tests/tadd.c: adapted drand to sizeof(long)=64 +------------------------------------------------------------------------ +r223 | zimmerma | 1999-06-29 17:46:38 +0000 (Tue, 29 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tlog.c - * Configure: config.in -> ./config.in (otherwise don't work under IRIX) +modified to do only certified test when no argument - * tests/tdiv_ui.c: removed warnings +------------------------------------------------------------------------ +r222 | zimmerma | 1999-06-29 17:27:34 +0000 (Tue, 29 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tagm.c - * div_ui.c: patch for GMP bug when UDIV_NEEDS_NORMALIZATION=1 +modified to do only tests with precomputed values when no argument -1999-07-02 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r221 | zimmerma | 1999-06-29 16:13:33 +0000 (Tue, 29 Jun 1999) | 2 lines +Changed paths: + M /trunk/get_str.c - * div3.c: Correction of a typo. +does exact rounding only for n=0 -1999-07-02 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r220 | remy | 1999-06-29 15:59:22 +0000 (Tue, 29 Jun 1999) | 2 lines +Changed paths: + M /trunk/Configure - * div_ui.c: fixed horrible hack yp[-1] +added zeta/tzeta -1999-07-02 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r219 | remy | 1999-06-29 15:58:51 +0000 (Tue, 29 Jun 1999) | 2 lines +Changed paths: + M /trunk/mpfr.h - * Configure: - Support of IRIX64 (n32/64 modes) plus cosmetic modifications. +added prototypes for mpfr_exp and mpfr_zeta -1999-07-02 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r218 | remy | 1999-06-29 15:58:05 +0000 (Tue, 29 Jun 1999) | 3 lines +Changed paths: + A /trunk/zeta.c - * tests/tlog.c: added one test, and adapted to ANSI C +computes Riemann function Zeta(s) +first version: only works for s=2 with PREC(result)=53 and rnd_mode=nearest -1999-07-02 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r217 | remy | 1999-06-29 15:57:01 +0000 (Tue, 29 Jun 1999) | 2 lines +Changed paths: + A /trunk/tests/tzeta.c - * Configure: Yet Another Backslash Forgotten... +test file for mpfr_zeta - * div3.c: - Bug le plus stupide de tous les temps corrige. Ca marchait sous Solaris... +------------------------------------------------------------------------ +r216 | remy | 1999-06-29 15:49:15 +0000 (Tue, 29 Jun 1999) | 2 lines +Changed paths: + M /trunk/mpfr.h + +added prototype for mpfr_set_default_prec + +------------------------------------------------------------------------ +r215 | remy | 1999-06-29 15:40:28 +0000 (Tue, 29 Jun 1999) | 2 lines +Changed paths: + D /trunk/zeta2.c + +file renamed zeta.c + +------------------------------------------------------------------------ +r214 | remy | 1999-06-29 15:26:33 +0000 (Tue, 29 Jun 1999) | 3 lines +Changed paths: + A /trunk/zeta2.c + +first version: computes Zeta(2) with fixed precision 53 bits and round +to nearest + +------------------------------------------------------------------------ +r213 | hanrot | 1999-06-29 14:48:29 +0000 (Tue, 29 Jun 1999) | 2 lines +Changed paths: + M /trunk/round.c + +Patch in the case when the number of bits is a multiple of the word size. + +------------------------------------------------------------------------ +r212 | hanrot | 1999-06-29 14:47:58 +0000 (Tue, 29 Jun 1999) | 2 lines +Changed paths: + M /trunk/mul.c + +Patch in the case when the low words of the product are zero. + +------------------------------------------------------------------------ +r211 | zimmerma | 1999-06-28 13:51:15 +0000 (Mon, 28 Jun 1999) | 2 lines +Changed paths: + M /trunk/round.c + +changed arguments of mpfr_round_raw (continued) + +------------------------------------------------------------------------ +r210 | zimmerma | 1999-06-28 13:48:44 +0000 (Mon, 28 Jun 1999) | 2 lines +Changed paths: + M /trunk/mpfr.h + M /trunk/mpfr.texi + M /trunk/mul.c + M /trunk/mul_ui.c + M /trunk/random.c + M /trunk/round.c + M /trunk/set.c + +changed arguments of mpfr_round_raw (now uses precision instead of size) + +------------------------------------------------------------------------ +r209 | zimmerma | 1999-06-28 11:50:04 +0000 (Mon, 28 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tpi.c + +modified wrt warnings at compilation + +------------------------------------------------------------------------ +r208 | zimmerma | 1999-06-28 11:49:08 +0000 (Mon, 28 Jun 1999) | 2 lines +Changed paths: + M /trunk/mpfr.texi + +modified description of mpfr_get_str for n_digits=0 + +------------------------------------------------------------------------ +r207 | zimmerma | 1999-06-28 11:48:15 +0000 (Mon, 28 Jun 1999) | 2 lines +Changed paths: + M /trunk/get_str.c + +now performs an exact output when n_digits=0 + +------------------------------------------------------------------------ +r206 | hanrot | 1999-06-28 07:37:06 +0000 (Mon, 28 Jun 1999) | 2 lines +Changed paths: + M /trunk/set_si.c + +Yet another corrected prototype. + +------------------------------------------------------------------------ +r205 | hanrot | 1999-06-25 17:36:57 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/add.c + M /trunk/add_ulp.c + M /trunk/agm.c + M /trunk/cmp.c + M /trunk/cmp_ui.c + M /trunk/div.c + M /trunk/div_2exp.c + M /trunk/div_ui.c + M /trunk/exp.c + M /trunk/get_str.c + M /trunk/log.c + M /trunk/log2.c + M /trunk/mpfr.h + M /trunk/mul.c + M /trunk/mul_2exp.c + M /trunk/mul_ui.c + M /trunk/neg.c + M /trunk/out_str.c + M /trunk/pi.c + M /trunk/pow.c + M /trunk/print_raw.c + M /trunk/print_rnd_mode.c + M /trunk/random.c + M /trunk/rnd_mode.c + M /trunk/round.c + M /trunk/set.c + M /trunk/set_d.c + M /trunk/set_f.c + M /trunk/set_si.c + M /trunk/set_str_raw.c + M /trunk/set_z.c + M /trunk/sqrt.c + M /trunk/sub.c + +Prototypes et quelques causes de warnings corriges. + +------------------------------------------------------------------------ +r204 | hanrot | 1999-06-25 17:20:06 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/Configure + +Modifs cosmetiques. + +------------------------------------------------------------------------ +r203 | hanrot | 1999-06-25 17:19:55 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + D /trunk/set_str.c + +Fichier vide. + +------------------------------------------------------------------------ +r202 | zimmerma | 1999-06-25 16:30:07 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tlog2.c + +do not print anything when no argument + +------------------------------------------------------------------------ +r201 | zimmerma | 1999-06-25 16:20:11 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/get_str.c + M /trunk/out_str.c + +use GMP allocate/free functions instead of malloc/free + +------------------------------------------------------------------------ +r200 | zimmerma | 1999-06-25 16:08:32 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tcan_round.c + +do not print anything on stdout + +------------------------------------------------------------------------ +r199 | zimmerma | 1999-06-25 16:07:34 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/set_str_raw.c + +put correctly sign with macro CHANGE_SIGN + +------------------------------------------------------------------------ +r198 | hanrot | 1999-06-25 16:00:38 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/Configure + +Ajoute la dependance de libmpfr.a pour le Makefile des tests. + +------------------------------------------------------------------------ +r197 | zimmerma | 1999-06-25 15:54:04 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/set_d.c + +correctly handle case sizer=1 in mpfr_set_d + +------------------------------------------------------------------------ +r196 | zimmerma | 1999-06-25 15:53:19 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/round.c + +corrected allocated size in mpfr_round + +------------------------------------------------------------------------ +r195 | zimmerma | 1999-06-25 15:51:49 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/Configure + +make clean does not remove config.in any more -1999-07-02 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r194 | hanrot | 1999-06-25 15:16:10 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tagm.c - * tests/tagm.c: added one test and removed warnings +Correction d'un UMR en inversant le while (sans incidence tres probablement). -1999-07-02 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r193 | zimmerma | 1999-06-25 15:12:04 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * mpfr.h: Added mpfr_div3. +added four tests - * Configure: Added div3.c +------------------------------------------------------------------------ +r192 | zimmerma | 1999-06-25 15:07:31 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/set_d.c -1999-07-02 Paul Zimmermann <zimmerma@greux.loria.fr> +adapted mpfr_set_d to case where allocated limbs > significant limbs - * add.c: fixed bug when sizeof(long) <> sizeof(mp_limb_t) - and removed DEBUG2 stuff +------------------------------------------------------------------------ +r191 | zimmerma | 1999-06-25 15:05:10 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/sub.c - * tests/tadd.c: added one test, and removed warnings +fixed bug for b=2^n and c very small -1999-07-02 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r190 | hanrot | 1999-06-25 14:36:27 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/add.c - * div3.c: Added div3.c, initial release. +Some limbs of the result where not set to zero as they should. - * Configure: Patch of the patch :) +------------------------------------------------------------------------ +r189 | zimmerma | 1999-06-25 13:32:39 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tset_si.c - * Configure: - Pattern matching rules in tests Makefile for non-GNU make (eg Solaris) +added prototypes, and errors to stderr -1999-07-02 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r188 | zimmerma | 1999-06-25 13:17:23 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + D /trunk/tests/tset_i - * tests/tdiv.c: - adapted to enable denormalized numbers on IRIX64, added one test and - removed warnings +binary file -> remove it - * round.c, mpfr.h: - changed type of 3rd arg. 'neg' of mpfr_can_round_raw from char to int - (pb with signed char's on some machines, e.g. IRIX64) +------------------------------------------------------------------------ +r187 | zimmerma | 1999-06-25 13:16:04 +0000 (Fri, 25 Jun 1999) | 3 lines +Changed paths: + M /trunk/mul_ui.c - * tests/tsqrt.c: - adapted to IRIX64 (enable denorm. numbers) and removed warnings +use PREC(x) instead of ABSSIZE(x) to get number of significant limbs +adapted to different numbers of significant limbs for x and y - * tests/tcmp2.c: - adapted to IRIX64 (enable denormalized numbers) and removed warnings +------------------------------------------------------------------------ +r186 | zimmerma | 1999-06-25 13:05:45 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/round.c - * tests/tadd.c: - adapted to IRIX64 (no denormalized by default) and removed warnings +fixed pbs with ABSSIZE(x) wrt PREC(x) in mpfr_round - * set_si.c: unsigned long -> mp_limb_t +------------------------------------------------------------------------ +r185 | zimmerma | 1999-06-25 13:01:20 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c -1999-07-02 boldo <boldo@greux.loria.fr> +added pointer to exponent, removed test with sprintf - * tests/tlog.c: unused variables +------------------------------------------------------------------------ +r184 | zimmerma | 1999-06-25 13:00:05 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/get_str.c - * log.c: unused variable +removed DEBUG stuff -1999-07-02 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r183 | zimmerma | 1999-06-25 12:57:10 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/set_si.c - * set_d.c: - added ifdef to avoid warning "unused variable" on 64-bit machine +use PREC(x) instead of ABSSIZE(x) to get the number of significant limbs - * rnd_mode.c: added def. of swapRM to avoid warning on IRIX64 +------------------------------------------------------------------------ +r182 | zimmerma | 1999-06-25 12:56:22 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tset_si.c - * print_raw.c, round.c: 1UL -> ((mp_limb_t) 1) +do 10^6 tests if no argument - * round.c: changed type of mask to mp_limb_t in mpfr_round_raw2 +------------------------------------------------------------------------ +r181 | hanrot | 1999-06-25 12:30:43 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/Configure - * tests/tset_d.c: adapted for denormalized on IRIX64 - now test NaNs too +J'avais oublie -g... -1999-07-01 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r180 | hanrot | 1999-06-25 12:23:51 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/Configure - * cmp.c: - Due to the representation of 0 it might have happened that 0 != 0. +Ajoute des flags de paranoiaque schizophrene. - * sqrt.c: Patch mpfr_set -> MPN_COPY +------------------------------------------------------------------------ +r179 | zimmerma | 1999-06-25 11:43:25 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/texp.c - * div.c: Patch when prec < 32. +now prints nothing with no argument -1999-07-01 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r178 | zimmerma | 1999-06-25 11:22:28 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/Configure - * set_d.c: fixed bugs for 64-bit machines +added texp and tdiv_ui - * round.c: added casts to mp_limb_t +------------------------------------------------------------------------ +r177 | zimmerma | 1999-06-25 11:21:30 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + A /trunk/tests/tdiv_ui.c - * mul_ui.c: added cast to mp_limb_t for shifts +test file for div_ui, initial revision -1999-07-01 boldo <boldo@greux.loria.fr> +------------------------------------------------------------------------ +r176 | zimmerma | 1999-06-25 10:19:42 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/log.c - * tests/tlog.c: prints nothing is everything is allright +commented out "avant arrondi..." - * agm.c: memory gestion +------------------------------------------------------------------------ +r175 | zimmerma | 1999-06-25 10:17:40 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/agm.c - * log.c: one single bug +clear res1/res2 - * tests/tlog.c: more bad cases +------------------------------------------------------------------------ +r174 | hanrot | 1999-06-25 10:17:26 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/add.c -1999-07-01 Paul Zimmermann <zimmerma@greux.loria.fr> +Patches an ABR. - * tests/texp.c: added some certified tests +------------------------------------------------------------------------ +r173 | hanrot | 1999-06-25 10:15:54 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/sub.c - * tests/tmul_ui.c: added one test to check that 1*y = y +Patch of an ABR. -1999-07-01 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r172 | hanrot | 1999-06-25 10:15:21 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/pow.c - * div.c: - Patch of an MLK due to multiple initialization of the same variables without - freeing them inbetween. +Patch in the case n = 0. - * div.c: Same as in sqrt (allocation problem). +------------------------------------------------------------------------ +r171 | hanrot | 1999-06-25 10:14:45 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/out_str.c -1999-07-01 Paul Zimmermann <zimmerma@greux.loria.fr> +Patch for a memory leak. - * mul_ui.c: fixed bug due to shift=0 in mpn_rshift +------------------------------------------------------------------------ +r170 | zimmerma | 1999-06-25 10:13:14 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c -1999-07-01 Guillaume Hanrot <hanrot@greux.loria.fr> +added two tests for exact roots - * sqrt.c: (Temporary) patch for memory gestion in sqrt.c +------------------------------------------------------------------------ +r169 | zimmerma | 1999-06-25 10:12:11 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/sqrt.c -1999-07-01 Paul Zimmermann <zimmerma@greux.loria.fr> +removed DEBUG stuff and fixed pb with exact root and GMP_RNDZ - * sqrt.c: mpfr_init -> mpfr_init2 +------------------------------------------------------------------------ +r168 | hanrot | 1999-06-25 09:42:53 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/cmp.c - * sqrt.c: initialize temporary variables with current precision +Correction d'un ABR. -1999-06-30 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r167 | zimmerma | 1999-06-25 09:38:52 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tpi.c - * clear.c: Unbelievably stupid bug fixed. +added test for prec=53 bits, removed output for argc==1 - * round.c: - Two patches : one for an UMR which actually had no effect, one for an FNH in - old code.. +------------------------------------------------------------------------ +r166 | hanrot | 1999-06-25 09:28:43 +0000 (Fri, 25 Jun 1999) | 2 lines +Changed paths: + A /trunk/tests/tcan_round.c -1999-06-30 boldo <boldo@greux.loria.fr> +Initial revision. - * tests/tlog.c: new bug +------------------------------------------------------------------------ +r165 | hanrot | 1999-06-24 12:22:57 +0000 (Thu, 24 Jun 1999) | 2 lines +Changed paths: + M /trunk/add.c + M /trunk/sub.c - * tests/tagm.c: there were some conflicts +Patched an Array Bound Read. - * tests/tlog.c: ther were some conflicts +------------------------------------------------------------------------ +r164 | hanrot | 1999-06-24 12:10:00 +0000 (Thu, 24 Jun 1999) | 2 lines +Changed paths: + M /trunk/round.c - * log.c, agm.c: memory gestion +Corrected an Array Bound Read when all the bits are significative. -1999-06-29 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r163 | zimmerma | 1999-06-24 12:00:31 +0000 (Thu, 24 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tcmp_ui.c - * tests/tzeta.c: replaced outputs by direct comparison when no argument +i -> s in tests on mpfr_cmp_si - * tests/tlog.c: modified to do only certified test when no argument +------------------------------------------------------------------------ +r162 | zimmerma | 1999-06-24 11:59:05 +0000 (Thu, 24 Jun 1999) | 2 lines +Changed paths: + M /trunk/cmp_ui.c - * tests/tagm.c: - modified to do only tests with precomputed values when no argument +fixed pb in mpfr_cmp_si_2exp (case b=0 or i=0) - * get_str.c: does exact rounding only for n=0 +------------------------------------------------------------------------ +r161 | zimmerma | 1999-06-24 11:55:25 +0000 (Thu, 24 Jun 1999) | 2 lines +Changed paths: + M /trunk/cmp.c -1999-06-29 Jean-Luc Remy <remy@greux.loria.fr> +& -> && - * Configure: added zeta/tzeta +------------------------------------------------------------------------ +r160 | zimmerma | 1999-06-24 11:40:48 +0000 (Thu, 24 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + M /trunk/tests/tcmp.c + M /trunk/tests/tset_str.c - * mpfr.h: added prototypes for mpfr_exp and mpfr_zeta +removed 3rd arg. of mpfr_set_prec - * zeta.c: computes Riemann function Zeta(s) - first version: only works for s=2 with PREC(result)=53 and rnd_mode=nearest +------------------------------------------------------------------------ +r159 | zimmerma | 1999-06-24 11:37:54 +0000 (Thu, 24 Jun 1999) | 2 lines +Changed paths: + M /trunk/add.c - * tests/tzeta.c: test file for mpfr_zeta +treats case b=c in mpfr_sub(a,b,c) - * mpfr.h: added prototype for mpfr_set_default_prec +------------------------------------------------------------------------ +r158 | zimmerma | 1999-06-24 11:36:43 +0000 (Thu, 24 Jun 1999) | 3 lines +Changed paths: + M /trunk/set_prec.c - * zeta2.c: file renamed zeta.c +removed 3rd argument in mpfr_set_prec +reallocates only when more limbs are needed - * zeta2.c: - first version: computes Zeta(2) with fixed precision 53 bits and round - to nearest +------------------------------------------------------------------------ +r157 | zimmerma | 1999-06-24 11:34:22 +0000 (Thu, 24 Jun 1999) | 2 lines +Changed paths: + M /trunk/exp.c + M /trunk/log2.c -1999-06-29 Guillaume Hanrot <hanrot@greux.loria.fr> +removed 3rd arg. of mpfr_set_prec - * round.c: - Patch in the case when the number of bits is a multiple of the word size. +------------------------------------------------------------------------ +r156 | zimmerma | 1999-06-24 11:32:11 +0000 (Thu, 24 Jun 1999) | 2 lines +Changed paths: + M /trunk/div.c - * mul.c: Patch in the case when the low words of the product are zero. +added some mpfr_clear's that were missing -1999-06-28 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r155 | zimmerma | 1999-06-24 10:16:54 +0000 (Thu, 24 Jun 1999) | 2 lines +Changed paths: + M /trunk/div.c - * round.c: changed arguments of mpfr_round_raw (continued) +removed 3rd argument from mpfr_set_prec - * set.c, round.c, mul_ui.c, random.c, mul.c, mpfr.texi, mpfr.h: - changed arguments of mpfr_round_raw (now uses precision instead of size) +------------------------------------------------------------------------ +r154 | zimmerma | 1999-06-24 10:12:43 +0000 (Thu, 24 Jun 1999) | 2 lines +Changed paths: + M /trunk/get_str.c + M /trunk/sqrt.c - * tests/tpi.c: modified wrt warnings at compilation +removed 3rd argument of mpfr_set_prec - * mpfr.texi: modified description of mpfr_get_str for n_digits=0 +------------------------------------------------------------------------ +r153 | zimmerma | 1999-06-24 10:09:40 +0000 (Thu, 24 Jun 1999) | 2 lines +Changed paths: + M /trunk/mpfr.h - * get_str.c: now performs an exact output when n_digits=0 +changed prototype of mpfr_set_prec (no rounding mode needed any more) -1999-06-28 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r152 | zimmerma | 1999-06-24 07:57:30 +0000 (Thu, 24 Jun 1999) | 3 lines +Changed paths: + M /trunk/tests/tset_str.c - * set_si.c: Yet another corrected prototype. +added test for case of missing exponent +and if one argument, print it as a double -1999-06-25 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r151 | zimmerma | 1999-06-24 07:56:19 +0000 (Thu, 24 Jun 1999) | 3 lines +Changed paths: + M /trunk/set_str_raw.c - * mpfr.h, set_z.c, sqrt.c, sub.c, set_f.c, set_si.c, set_str_raw.c, round.c, set.c, set_d.c, random.c, rnd_mode.c, pow.c, print_raw.c, print_rnd_mode.c, neg.c, out_str.c, pi.c, mul.c, mul_2exp.c, mul_ui.c, get_str.c, log.c, log2.c, div_2exp.c, div_ui.c, exp.c, cmp_ui.c, div.c, add_ulp.c, agm.c, cmp.c, add.c: - Prototypes et quelques causes de warnings corriges. +fixed bug when exponent was missing (wrong result when part before +binary point is not zero) - * Configure: Modifs cosmetiques. +------------------------------------------------------------------------ +r150 | zimmerma | 1999-06-24 07:47:59 +0000 (Thu, 24 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tlog.c - * set_str.c: Fichier vide. +added tests from JM Muller and V Lefevre -1999-06-25 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r149 | zimmerma | 1999-06-23 16:37:03 +0000 (Wed, 23 Jun 1999) | 4 lines +Changed paths: + M /trunk/round.c - * tests/tlog2.c: do not print anything when no argument +corrected bad case in mpfr_can_round_raw where rnd1=GMP_RNDN +and err is a multiple of BITS_PER_MP_LIMB (was modifying an +extra limb perhaps not allocated) - * get_str.c, out_str.c: - use GMP allocate/free functions instead of malloc/free +------------------------------------------------------------------------ +r148 | boldo | 1999-06-23 16:02:24 +0000 (Wed, 23 Jun 1999) | 2 lines +Changed paths: + M /trunk/log.c - * tests/tcan_round.c: do not print anything on stdout +qq bugs d'arrondis - * set_str_raw.c: put correctly sign with macro CHANGE_SIGN +------------------------------------------------------------------------ +r147 | zimmerma | 1999-06-23 15:57:14 +0000 (Wed, 23 Jun 1999) | 2 lines +Changed paths: + M /trunk/Configure -1999-06-25 Guillaume Hanrot <hanrot@greux.loria.fr> +added exp and div_ui - * Configure: - Ajoute la dependance de libmpfr.a pour le Makefile des tests. +------------------------------------------------------------------------ +r146 | zimmerma | 1999-06-23 15:56:35 +0000 (Wed, 23 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/texp.c -1999-06-25 Paul Zimmermann <zimmerma@greux.loria.fr> +added test of exp(Pi*sqrt(163)/3)-640320 [texp 0.0 prec] - * set_d.c: correctly handle case sizer=1 in mpfr_set_d +------------------------------------------------------------------------ +r145 | zimmerma | 1999-06-23 15:44:33 +0000 (Wed, 23 Jun 1999) | 2 lines +Changed paths: + A /trunk/tests/texp.c - * round.c: corrected allocated size in mpfr_round +test file for mpfr_exp, initial revision - * Configure: make clean does not remove config.in any more +------------------------------------------------------------------------ +r144 | zimmerma | 1999-06-23 13:02:11 +0000 (Wed, 23 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tmul.c -1999-06-25 Guillaume Hanrot <hanrot@greux.loria.fr> +added two tests - * tests/tagm.c: - Correction d'un UMR en inversant le while (sans incidence tres probablement). +------------------------------------------------------------------------ +r143 | zimmerma | 1999-06-23 12:57:56 +0000 (Wed, 23 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tset_str.c -1999-06-25 Paul Zimmermann <zimmerma@greux.loria.fr> +removed printf's and added one test for leading '+' - * tests/tadd.c: added four tests +------------------------------------------------------------------------ +r142 | zimmerma | 1999-06-23 12:56:26 +0000 (Wed, 23 Jun 1999) | 2 lines +Changed paths: + M /trunk/set_str_raw.c - * set_d.c: - adapted mpfr_set_d to case where allocated limbs > significant limbs +now allows leading '+' - * sub.c: fixed bug for b=2^n and c very small +------------------------------------------------------------------------ +r141 | boldo | 1999-06-23 11:34:03 +0000 (Wed, 23 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tagm.c -1999-06-25 Guillaume Hanrot <hanrot@greux.loria.fr> +nettoye - * add.c: Some limbs of the result where not set to zero as they should. +------------------------------------------------------------------------ +r140 | zimmerma | 1999-06-23 10:00:37 +0000 (Wed, 23 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tset_f.c -1999-06-25 Paul Zimmermann <zimmerma@greux.loria.fr> +removed printf - * tests/tset_si.c: added prototypes, and errors to stderr +------------------------------------------------------------------------ +r139 | zimmerma | 1999-06-23 10:00:05 +0000 (Wed, 23 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tadd.c + M /trunk/tests/tmul_ui.c - * tests/tset_i: binary file -> remove it +removed printf's - * mul_ui.c: - use PREC(x) instead of ABSSIZE(x) to get number of significant limbs - adapted to different numbers of significant limbs for x and y +------------------------------------------------------------------------ +r138 | zimmerma | 1999-06-23 09:59:31 +0000 (Wed, 23 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tlog.c - * round.c: fixed pbs with ABSSIZE(x) wrt PREC(x) in mpfr_round +added tests for large precision (tlog x prec rnd) - * tests/tget_str.c: - added pointer to exponent, removed test with sprintf +------------------------------------------------------------------------ +r137 | zimmerma | 1999-06-23 09:58:29 +0000 (Wed, 23 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c - * get_str.c: removed DEBUG stuff +added test for exact division - * set_si.c: - use PREC(x) instead of ABSSIZE(x) to get the number of significant limbs +------------------------------------------------------------------------ +r136 | zimmerma | 1999-06-23 09:57:57 +0000 (Wed, 23 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tcmp2.c - * tests/tset_si.c: do 10^6 tests if no argument +mpfr_cmp -> mpfr_cmp2 -1999-06-25 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r135 | zimmerma | 1999-06-23 09:57:23 +0000 (Wed, 23 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tagm.c - * Configure: J'avais oublie -g... +removed printf, added exit on error - * Configure: Ajoute des flags de paranoiaque schizophrene. +------------------------------------------------------------------------ +r134 | zimmerma | 1999-06-23 09:55:43 +0000 (Wed, 23 Jun 1999) | 2 lines +Changed paths: + A /trunk/exp.c -1999-06-25 Paul Zimmermann <zimmerma@greux.loria.fr> +initial revision - * tests/texp.c: now prints nothing with no argument +------------------------------------------------------------------------ +r133 | zimmerma | 1999-06-23 09:50:41 +0000 (Wed, 23 Jun 1999) | 2 lines +Changed paths: + M /trunk/mul.c - * Configure: added texp and tdiv_ui +cleaned local variables - * tests/tdiv_ui.c: test file for div_ui, initial revision +------------------------------------------------------------------------ +r132 | zimmerma | 1999-06-23 09:49:07 +0000 (Wed, 23 Jun 1999) | 2 lines +Changed paths: + M /trunk/mpfr.h - * log.c: commented out "avant arrondi..." +changed prototype of mpfr_div (now returns int) - * agm.c: clear res1/res2 +------------------------------------------------------------------------ +r131 | zimmerma | 1999-06-23 09:47:12 +0000 (Wed, 23 Jun 1999) | 4 lines +Changed paths: + M /trunk/div.c -1999-06-25 Guillaume Hanrot <hanrot@greux.loria.fr> +now deals correctly with exact division +removed DEBUG stuff +returns 0/1 according to exact division - * add.c: Patches an ABR. +------------------------------------------------------------------------ +r130 | zimmerma | 1999-06-22 17:12:20 +0000 (Tue, 22 Jun 1999) | 2 lines +Changed paths: + M /trunk/mul.c - * sub.c: Patch of an ABR. +fixed bug found by F. Rouillier: x * Z(2/x) -> 0 [carry from mpfr_round_raw] - * pow.c: Patch in the case n = 0. +------------------------------------------------------------------------ +r129 | hanrot | 1999-06-22 13:33:35 +0000 (Tue, 22 Jun 1999) | 2 lines +Changed paths: + M /trunk/set_prec.c - * out_str.c: Patch for a memory leak. +Fill with 0 the part added in case of a larger reallocation. -1999-06-25 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r128 | hanrot | 1999-06-22 12:39:01 +0000 (Tue, 22 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tmul.c - * tests/tsqrt.c: added two tests for exact roots +Rajoute le bug report de Fabrice. - * sqrt.c: removed DEBUG stuff and fixed pb with exact root and GMP_RNDZ +------------------------------------------------------------------------ +r127 | zimmerma | 1999-06-22 12:18:25 +0000 (Tue, 22 Jun 1999) | 2 lines +Changed paths: + M /trunk/round.c -1999-06-25 Guillaume Hanrot <hanrot@greux.loria.fr> +fixed bug in mpfr_can_round when prec or err are multiples of BITS_PER_MP_LIMB - * cmp.c: Correction d'un ABR. +------------------------------------------------------------------------ +r126 | zimmerma | 1999-06-22 12:16:28 +0000 (Tue, 22 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tmul.c -1999-06-25 Paul Zimmermann <zimmerma@greux.loria.fr> +added test to check sign of result - * tests/tpi.c: added test for prec=53 bits, removed output for argc==1 +------------------------------------------------------------------------ +r125 | zimmerma | 1999-06-22 12:14:44 +0000 (Tue, 22 Jun 1999) | 2 lines +Changed paths: + M /trunk/mul.c -1999-06-25 Guillaume Hanrot <hanrot@greux.loria.fr> +fixed bug: wrong sign when SIGN(a)<0 at beginning - * tests/tcan_round.c: Initial revision. +------------------------------------------------------------------------ +r124 | boldo | 1999-06-22 09:51:16 +0000 (Tue, 22 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tlog.c -1999-06-24 Guillaume Hanrot <hanrot@greux.loria.fr> +avec plein de cas d'erreurs - * sub.c, add.c: Patched an Array Bound Read. +------------------------------------------------------------------------ +r123 | boldo | 1999-06-22 09:47:20 +0000 (Tue, 22 Jun 1999) | 2 lines +Changed paths: + M /trunk/log.c - * round.c: - Corrected an Array Bound Read when all the bits are significative. +marche bien -1999-06-24 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r122 | boldo | 1999-06-22 09:47:04 +0000 (Tue, 22 Jun 1999) | 2 lines +Changed paths: + M /trunk/agm.c - * tests/tcmp_ui.c: i -> s in tests on mpfr_cmp_si +Marche bien - * cmp_ui.c: fixed pb in mpfr_cmp_si_2exp (case b=0 or i=0) +------------------------------------------------------------------------ +r121 | hanrot | 1999-06-21 16:00:30 +0000 (Mon, 21 Jun 1999) | 2 lines +Changed paths: + M /trunk/mpfr.h - * cmp.c: & -> && +Corrected prototype of mpfr_can_round_raw. - * tests/tadd.c, tests/tcmp.c, tests/tset_str.c: - removed 3rd arg. of mpfr_set_prec +------------------------------------------------------------------------ +r120 | hanrot | 1999-06-21 16:00:11 +0000 (Mon, 21 Jun 1999) | 2 lines +Changed paths: + M /trunk/round.c - * add.c: treats case b=c in mpfr_sub(a,b,c) +Various patches. - * set_prec.c: removed 3rd argument in mpfr_set_prec - reallocates only when more limbs are needed +------------------------------------------------------------------------ +r119 | hanrot | 1999-06-21 15:39:24 +0000 (Mon, 21 Jun 1999) | 2 lines +Changed paths: + M /trunk/mpfr.h - * exp.c, log2.c: removed 3rd arg. of mpfr_set_prec +Added prototype for mpfr_can_round_raw - * div.c: added some mpfr_clear's that were missing +------------------------------------------------------------------------ +r118 | hanrot | 1999-06-21 15:34:57 +0000 (Mon, 21 Jun 1999) | 2 lines +Changed paths: + M /trunk/round.c - * div.c: removed 3rd argument from mpfr_set_prec +Added mpfr_can_round_raw ; mpfr_can_round just calls it. - * sqrt.c, get_str.c: removed 3rd argument of mpfr_set_prec +------------------------------------------------------------------------ +r117 | hanrot | 1999-06-21 15:26:56 +0000 (Mon, 21 Jun 1999) | 2 lines +Changed paths: + M /trunk/mpfr.h - * mpfr.h: - changed prototype of mpfr_set_prec (no rounding mode needed any more) +Declaration mpfr_print_rnd_mode.c - * tests/tset_str.c: added test for case of missing exponent - and if one argument, print it as a double +------------------------------------------------------------------------ +r116 | hanrot | 1999-06-21 15:26:39 +0000 (Mon, 21 Jun 1999) | 2 lines +Changed paths: + M /trunk/print_rnd_mode.c - * set_str_raw.c: - fixed bug when exponent was missing (wrong result when part before - binary point is not zero) +print_rnd_mode.c -> mpfr_print_rnd_mode.c - * tests/tlog.c: added tests from JM Muller and V Lefevre +------------------------------------------------------------------------ +r115 | hanrot | 1999-06-21 15:07:36 +0000 (Mon, 21 Jun 1999) | 2 lines +Changed paths: + A /trunk/print_rnd_mode.c -1999-06-23 Paul Zimmermann <zimmerma@greux.loria.fr> +Print the rounding mode. - * round.c: corrected bad case in mpfr_can_round_raw where rnd1=GMP_RNDN - and err is a multiple of BITS_PER_MP_LIMB (was modifying an - extra limb perhaps not allocated) +------------------------------------------------------------------------ +r114 | hanrot | 1999-06-21 13:45:56 +0000 (Mon, 21 Jun 1999) | 2 lines +Changed paths: + M /trunk/set_prec.c -1999-06-23 boldo <boldo@greux.loria.fr> +Changement de semantique (plus d'arrondi) et alloc + free -> realloc. - * log.c: qq bugs d'arrondis +------------------------------------------------------------------------ +r113 | zimmerma | 1999-06-21 11:28:36 +0000 (Mon, 21 Jun 1999) | 2 lines +Changed paths: + A /trunk/div_ui.c -1999-06-23 Paul Zimmermann <zimmerma@greux.loria.fr> +initial revision - * Configure: added exp and div_ui +------------------------------------------------------------------------ +r112 | zimmerma | 1999-06-21 11:27:29 +0000 (Mon, 21 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tmul_ui.c - * tests/texp.c: - added test of exp(Pi*sqrt(163)/3)-640320 [texp 0.0 prec] +added one test - * tests/texp.c: test file for mpfr_exp, initial revision +------------------------------------------------------------------------ +r111 | zimmerma | 1999-06-21 11:24:33 +0000 (Mon, 21 Jun 1999) | 2 lines +Changed paths: + M /trunk/set.c - * tests/tmul.c: added two tests +now deal with carry from mpfr_round_raw - * tests/tset_str.c: removed printf's and added one test for leading '+' +------------------------------------------------------------------------ +r110 | zimmerma | 1999-06-21 11:17:13 +0000 (Mon, 21 Jun 1999) | 2 lines +Changed paths: + M /trunk/mul_ui.c - * set_str_raw.c: now allows leading '+' +fixed problem with count_leading_zeros undefined for 0 -1999-06-23 boldo <boldo@greux.loria.fr> +------------------------------------------------------------------------ +r109 | zimmerma | 1999-06-21 11:16:02 +0000 (Mon, 21 Jun 1999) | 2 lines +Changed paths: + M /trunk/log2.c - * tests/tagm.c: nettoye +store computed value and try to reuse it for next calls -1999-06-23 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r108 | zimmerma | 1999-06-21 11:14:46 +0000 (Mon, 21 Jun 1999) | 2 lines +Changed paths: + M /trunk/cmp.c - * tests/tset_f.c: removed printf +added test cn>= in mpfr_cmp2 - * tests/tmul_ui.c: removed printf's +------------------------------------------------------------------------ +r107 | zimmerma | 1999-06-21 11:12:33 +0000 (Mon, 21 Jun 1999) | 2 lines +Changed paths: + M /trunk/add_ulp.c - * tests/tlog.c: added tests for large precision (tlog x prec rnd) +added mpfr_sub_one_ulp - * tests/tdiv.c: added test for exact division +------------------------------------------------------------------------ +r106 | boldo | 1999-06-18 11:53:03 +0000 (Fri, 18 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tagm.c - * tests/tcmp2.c: mpfr_cmp -> mpfr_cmp2 +tests par rapport aux doubles - * tests/tagm.c: removed printf, added exit on error +------------------------------------------------------------------------ +r105 | boldo | 1999-06-18 11:52:31 +0000 (Fri, 18 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tlog.c - * tests/tadd.c: removed printf's +pour decouvrir les erreurs - * exp.c: initial revision +------------------------------------------------------------------------ +r104 | boldo | 1999-06-18 11:51:52 +0000 (Fri, 18 Jun 1999) | 2 lines +Changed paths: + M /trunk/agm.c + M /trunk/log.c - * mul.c: cleaned local variables +version qui marche - * mpfr.h: changed prototype of mpfr_div (now returns int) +------------------------------------------------------------------------ +r103 | zimmerma | 1999-06-18 10:15:11 +0000 (Fri, 18 Jun 1999) | 2 lines +Changed paths: + M /trunk/mul.c - * div.c: now deals correctly with exact division - removed DEBUG stuff - returns 0/1 according to exact division +special cases NaN and 0 -1999-06-22 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r102 | zimmerma | 1999-06-18 09:56:15 +0000 (Fri, 18 Jun 1999) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * mul.c: - fixed bug found by F. Rouillier: x * Z(2/x) -> 0 [carry from mpfr_round_raw] +fixed a few errors -1999-06-22 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r101 | zimmerma | 1999-06-17 14:26:21 +0000 (Thu, 17 Jun 1999) | 2 lines +Changed paths: + M /trunk/div.c - * set_prec.c: - Fill with 0 the part added in case of a larger reallocation. +added tests for n=0 and d=0 - * tests/tmul.c: Rajoute le bug report de Fabrice. +------------------------------------------------------------------------ +r100 | zimmerma | 1999-06-17 14:25:49 +0000 (Thu, 17 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c -1999-06-22 Paul Zimmermann <zimmerma@greux.loria.fr> +added test for 0.0/1.0 - * round.c: - fixed bug in mpfr_can_round when prec or err are multiples of BITS_PER_MP_LIMB +------------------------------------------------------------------------ +r99 | zimmerma | 1999-06-17 12:48:38 +0000 (Thu, 17 Jun 1999) | 2 lines +Changed paths: + M /trunk/div.c - * tests/tmul.c: added test to check sign of result +SET_NAN(q) -> SET_NAN(Q) - * mul.c: fixed bug: wrong sign when SIGN(a)<0 at beginning +------------------------------------------------------------------------ +r98 | zimmerma | 1999-06-17 12:48:05 +0000 (Thu, 17 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c -1999-06-22 boldo <boldo@greux.loria.fr> +added one exact root with rounding towards zero - * tests/tlog.c: avec plein de cas d'erreurs +------------------------------------------------------------------------ +r97 | zimmerma | 1999-06-17 12:45:54 +0000 (Thu, 17 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tout_str.c - * log.c: marche bien +added one test - * agm.c: Marche bien +------------------------------------------------------------------------ +r96 | zimmerma | 1999-06-17 12:45:00 +0000 (Thu, 17 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c -1999-06-21 Guillaume Hanrot <hanrot@greux.loria.fr> +added two tests - * mpfr.h: Corrected prototype of mpfr_can_round_raw. +------------------------------------------------------------------------ +r95 | zimmerma | 1999-06-17 12:36:52 +0000 (Thu, 17 Jun 1999) | 2 lines +Changed paths: + M /trunk/sqrt.c - * round.c: Various patches. +patch to detect exact roots (otherwise problem with rounding to zero) - * mpfr.h: Added prototype for mpfr_can_round_raw +------------------------------------------------------------------------ +r94 | zimmerma | 1999-06-17 10:14:11 +0000 (Thu, 17 Jun 1999) | 2 lines +Changed paths: + M /trunk/mpfr.h - * round.c: Added mpfr_can_round_raw ; mpfr_can_round just calls it. +changed way zero is represented : most sign. limb is zero - * mpfr.h: Declaration mpfr_print_rnd_mode.c +------------------------------------------------------------------------ +r93 | zimmerma | 1999-06-17 09:56:49 +0000 (Thu, 17 Jun 1999) | 2 lines +Changed paths: + M /trunk/set_si.c - * print_rnd_mode.c: print_rnd_mode.c -> mpfr_print_rnd_mode.c +added special case for zero - * print_rnd_mode.c: Print the rounding mode. +------------------------------------------------------------------------ +r92 | zimmerma | 1999-06-17 09:56:06 +0000 (Thu, 17 Jun 1999) | 2 lines +Changed paths: + M /trunk/print_raw.c - * set_prec.c: - Changement de semantique (plus d'arrondi) et alloc + free -> realloc. +special case for zero -1999-06-21 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r91 | zimmerma | 1999-06-17 09:55:24 +0000 (Thu, 17 Jun 1999) | 2 lines +Changed paths: + M /trunk/out_str.c - * div_ui.c: initial revision +special cases for NaN and zero - * tests/tmul_ui.c: added one test +------------------------------------------------------------------------ +r90 | zimmerma | 1999-06-17 09:54:47 +0000 (Thu, 17 Jun 1999) | 2 lines +Changed paths: + M /trunk/add.c - * set.c: now deal with carry from mpfr_round_raw +special case when one of the arguments is zero - * mul_ui.c: fixed problem with count_leading_zeros undefined for 0 +------------------------------------------------------------------------ +r89 | zimmerma | 1999-06-17 09:25:41 +0000 (Thu, 17 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c - * log2.c: store computed value and try to reuse it for next calls +added bug found by S. Boldo and fixed (pb in mpfr_round_raw2) - * cmp.c: added test cn>= in mpfr_cmp2 +------------------------------------------------------------------------ +r88 | zimmerma | 1999-06-17 09:24:51 +0000 (Thu, 17 Jun 1999) | 2 lines +Changed paths: + M /trunk/round.c - * add_ulp.c: added mpfr_sub_one_ulp +fixed bug in mpfr_round_raw2 which was returning other values than 0 or 1 -1999-06-18 boldo <boldo@greux.loria.fr> +------------------------------------------------------------------------ +r87 | hanrot | 1999-06-17 09:07:25 +0000 (Thu, 17 Jun 1999) | 2 lines +Changed paths: + M /trunk/add.c - * tests/tagm.c: tests par rapport aux doubles +Corrected a potential problem in add(a, a, a); - * tests/tlog.c: pour decouvrir les erreurs +------------------------------------------------------------------------ +r86 | hanrot | 1999-06-17 09:06:26 +0000 (Thu, 17 Jun 1999) | 2 lines +Changed paths: + M /trunk/sub.c - * log.c, agm.c: version qui marche +Corrected a potential problem in sub(a, a, a); -1999-06-18 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r85 | zimmerma | 1999-06-17 08:56:14 +0000 (Thu, 17 Jun 1999) | 2 lines +Changed paths: + M /trunk/sqrt.c - * mul.c: special cases NaN and 0 +SET_NAN(x) -> SET_NAN(X) - * mpfr.texi: fixed a few errors +------------------------------------------------------------------------ +r84 | hanrot | 1999-06-17 08:49:43 +0000 (Thu, 17 Jun 1999) | 2 lines +Changed paths: + M /trunk/cmp.c -1999-06-17 Paul Zimmermann <zimmerma@greux.loria.fr> +Patch in cmp2 for some dirty cases (2^a + 2^b <-> 2^a + z, z << 2^a, b << a) - * div.c: added tests for n=0 and d=0 +------------------------------------------------------------------------ +r83 | zimmerma | 1999-06-17 08:23:06 +0000 (Thu, 17 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * tests/tdiv.c: added test for 0.0/1.0 +added test to check bug found by JL Remy - * div.c: SET_NAN(q) -> SET_NAN(Q) +------------------------------------------------------------------------ +r82 | zimmerma | 1999-06-17 08:22:11 +0000 (Thu, 17 Jun 1999) | 3 lines +Changed paths: + M /trunk/sub.c - * tests/tsqrt.c: added one exact root with rounding towards zero +added TMP_DECL/TMP_MARK/TMP_FREE in mpfr_sub1 to deal with case +where destination=source - * tests/tout_str.c: added one test +------------------------------------------------------------------------ +r81 | hanrot | 1999-06-16 18:07:21 +0000 (Wed, 16 Jun 1999) | 2 lines +Changed paths: + M /trunk/set_d.c - * tests/tdiv.c: added two tests +Bug dans set_d(0) ; la mantisse n'est pas initialisee a 0 correctement. - * sqrt.c: - patch to detect exact roots (otherwise problem with rounding to zero) +------------------------------------------------------------------------ +r80 | hanrot | 1999-06-16 14:05:13 +0000 (Wed, 16 Jun 1999) | 2 lines +Changed paths: + M /trunk/add.c + M /trunk/mul.c - * mpfr.h: changed way zero is represented : most sign. limb is zero +Gere differemment les problemes d'egalite entre destinations et arguments. - * set_si.c: added special case for zero +------------------------------------------------------------------------ +r79 | hanrot | 1999-06-16 11:42:18 +0000 (Wed, 16 Jun 1999) | 2 lines +Changed paths: + M /trunk/Configure - * print_raw.c: special case for zero +Rajoute log.o et tlog - * out_str.c: special cases for NaN and zero +------------------------------------------------------------------------ +r78 | hanrot | 1999-06-16 11:06:37 +0000 (Wed, 16 Jun 1999) | 2 lines +Changed paths: + D /trunk/tests/mon_fichier - * add.c: special case when one of the arguments is zero +Vire fichier inutile. - * tests/tsqrt.c: - added bug found by S. Boldo and fixed (pb in mpfr_round_raw2) +------------------------------------------------------------------------ +r77 | zimmerma | 1999-06-16 10:56:24 +0000 (Wed, 16 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * round.c: - fixed bug in mpfr_round_raw2 which was returning other values than 0 or 1 +added new tests -1999-06-17 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r76 | zimmerma | 1999-06-16 10:55:39 +0000 (Wed, 16 Jun 1999) | 2 lines +Changed paths: + M /trunk/sub.c - * add.c: Corrected a potential problem in add(a, a, a); +fixed bug for overlap=k*mp_bits_per_limb, k>=1 - * sub.c: Corrected a potential problem in sub(a, a, a); +------------------------------------------------------------------------ +r75 | hanrot | 1999-06-16 09:54:52 +0000 (Wed, 16 Jun 1999) | 2 lines +Changed paths: + D /trunk/tests/Makefile -1999-06-17 Paul Zimmermann <zimmerma@greux.loria.fr> +Vire Makefile de CVS. - * sqrt.c: SET_NAN(x) -> SET_NAN(X) +------------------------------------------------------------------------ +r74 | hanrot | 1999-06-16 09:54:15 +0000 (Wed, 16 Jun 1999) | 2 lines +Changed paths: + D /trunk/Makefile + D /trunk/Makefile.exp + D /trunk/Makefile.msb -1999-06-17 Guillaume Hanrot <hanrot@greux.loria.fr> +Vire les Makefile de CVS. - * cmp.c: - Patch in cmp2 for some dirty cases (2^a + 2^b <-> 2^a + z, z << 2^a, b << a) +------------------------------------------------------------------------ +r73 | zimmerma | 1999-06-16 09:48:59 +0000 (Wed, 16 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c -1999-06-17 Paul Zimmermann <zimmerma@greux.loria.fr> +added one test and random init. - * tests/tadd.c: added test to check bug found by JL Remy +------------------------------------------------------------------------ +r72 | zimmerma | 1999-06-16 09:48:17 +0000 (Wed, 16 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tdiv.c - * sub.c: - added TMP_DECL/TMP_MARK/TMP_FREE in mpfr_sub1 to deal with case - where destination=source +added one test -1999-06-16 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r71 | zimmerma | 1999-06-16 09:47:18 +0000 (Wed, 16 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tadd.c - * set_d.c: - Bug dans set_d(0) ; la mantisse n'est pas initialisee a 0 correctement. +added tests for cases where destination = source - * add.c, mul.c: - Gere differemment les problemes d'egalite entre destinations et arguments. +------------------------------------------------------------------------ +r70 | zimmerma | 1999-06-16 09:46:10 +0000 (Wed, 16 Jun 1999) | 2 lines +Changed paths: + M /trunk/sub.c - * Configure: Rajoute log.o et tlog +cases NaN and destination=source - * tests/mon_fichier: Vire fichier inutile. +------------------------------------------------------------------------ +r69 | zimmerma | 1999-06-16 09:45:22 +0000 (Wed, 16 Jun 1999) | 3 lines +Changed paths: + M /trunk/sqrt.c -1999-06-16 Paul Zimmermann <zimmerma@greux.loria.fr> +now iterates if one cannot round after 1st try, +and deals with case destination = source - * tests/tadd.c: added new tests +------------------------------------------------------------------------ +r68 | zimmerma | 1999-06-16 09:43:32 +0000 (Wed, 16 Jun 1999) | 2 lines +Changed paths: + M /trunk/round.c - * sub.c: fixed bug for overlap=k*mp_bits_per_limb, k>=1 +mpfr_can_round again and again -1999-06-16 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r67 | zimmerma | 1999-06-16 09:42:45 +0000 (Wed, 16 Jun 1999) | 2 lines +Changed paths: + M /trunk/print_raw.c - * tests/Makefile: Vire Makefile de CVS. +added case of NaN - * Makefile.msb, Makefile.exp, Makefile: Vire les Makefile de CVS. +------------------------------------------------------------------------ +r66 | zimmerma | 1999-06-16 09:41:54 +0000 (Wed, 16 Jun 1999) | 2 lines +Changed paths: + M /trunk/mpfr.h -1999-06-16 Paul Zimmermann <zimmerma@greux.loria.fr> +added macro SET_ZERO - * tests/tsqrt.c: added one test and random init. +------------------------------------------------------------------------ +r65 | zimmerma | 1999-06-16 09:40:52 +0000 (Wed, 16 Jun 1999) | 2 lines +Changed paths: + M /trunk/add.c + M /trunk/div.c - * tests/tdiv.c: added one test +now allows destination = source - * tests/tadd.c: added tests for cases where destination = source +------------------------------------------------------------------------ +r64 | hanrot | 1999-06-16 08:05:44 +0000 (Wed, 16 Jun 1999) | 2 lines +Changed paths: + D /trunk/tests/tget_str + D /trunk/tests/tmul + D /trunk/tests/tmul_2exp + D /trunk/tests/tmul_ui + D /trunk/tests/tround + D /trunk/tests/tset_d + D /trunk/tests/tset_f + D /trunk/tests/tset_str + D /trunk/tests/tsqrt - * sub.c: cases NaN and destination=source +Vire les tests de cvs. - * sqrt.c: now iterates if one cannot round after 1st try, - and deals with case destination = source +------------------------------------------------------------------------ +r63 | zimmerma | 1999-06-15 16:44:19 +0000 (Tue, 15 Jun 1999) | 2 lines +Changed paths: + M /trunk/add.c + M /trunk/div.c - * round.c: mpfr_can_round again and again +printf -> fprintf - * print_raw.c: added case of NaN +------------------------------------------------------------------------ +r62 | zimmerma | 1999-06-15 16:32:41 +0000 (Tue, 15 Jun 1999) | 2 lines +Changed paths: + M /trunk/add.c + M /trunk/div.c - * mpfr.h: added macro SET_ZERO +error message when destination equals source (case not yet treated) - * div.c, add.c: now allows destination = source +------------------------------------------------------------------------ +r61 | zimmerma | 1999-06-15 16:27:26 +0000 (Tue, 15 Jun 1999) | 2 lines +Changed paths: + M /trunk/get_str.c -1999-06-16 Guillaume Hanrot <hanrot@greux.loria.fr> +now uses the given rounding mode internally instead of always GMP_RNDZ - * tests/tsqrt, tests/tset_str, tests/tset_f, tests/tround, tests/tset_d, tests/tmul_ui, tests/tmul, tests/tmul_2exp, tests/tget_str: - Vire les tests de cvs. +------------------------------------------------------------------------ +r60 | zimmerma | 1999-06-15 16:26:06 +0000 (Tue, 15 Jun 1999) | 2 lines +Changed paths: + M /trunk/pi.c -1999-06-15 Paul Zimmermann <zimmerma@greux.loria.fr> +now rounding to nearest should be correct - * div.c, add.c: printf -> fprintf +------------------------------------------------------------------------ +r59 | hanrot | 1999-06-15 16:19:56 +0000 (Tue, 15 Jun 1999) | 2 lines +Changed paths: + M /trunk/round.c - * add.c, div.c: - error message when destination equals source (case not yet treated) +Encore et toujours mpfr_can_round... - * get_str.c: - now uses the given rounding mode internally instead of always GMP_RNDZ +------------------------------------------------------------------------ +r58 | hanrot | 1999-06-15 15:38:51 +0000 (Tue, 15 Jun 1999) | 2 lines +Changed paths: + D /trunk/o.solaris + D /trunk/tests/tadd + D /trunk/tests/tagm + D /trunk/tests/tcmp + D /trunk/tests/tcmp2 + D /trunk/tests/tcmp_ui + D /trunk/tests/tdiv - * pi.c: now rounding to nearest should be correct +Nettoyage. -1999-06-15 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r57 | hanrot | 1999-06-15 14:43:14 +0000 (Tue, 15 Jun 1999) | 2 lines +Changed paths: + M /trunk/round.c - * round.c: Encore et toujours mpfr_can_round... +Patch pour mpfr_can_round. - * tests/tdiv, tests/tcmp_ui, tests/tcmp2, tests/tcmp, tests/tagm, tests/tadd, o.solaris/.pure: - Nettoyage. +------------------------------------------------------------------------ +r56 | boldo | 1999-06-15 14:40:51 +0000 (Tue, 15 Jun 1999) | 2 lines +Changed paths: + M /trunk/agm.c - * round.c: Patch pour mpfr_can_round. +sans instructions de debuggage -1999-06-15 boldo <boldo@greux.loria.fr> +------------------------------------------------------------------------ +r55 | boldo | 1999-06-15 13:53:11 +0000 (Tue, 15 Jun 1999) | 2 lines +Changed paths: + M /trunk/Makefile - * agm.c: sans instructions de debuggage +rajout de log.o et tlog - * Makefile: rajout de log.o et tlog +------------------------------------------------------------------------ +r54 | boldo | 1999-06-15 13:52:43 +0000 (Tue, 15 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/Makefile - * tests/Makefile: rajout de tlog +rajout de tlog - * mpfr.h: ajout du log +------------------------------------------------------------------------ +r53 | boldo | 1999-06-15 13:41:24 +0000 (Tue, 15 Jun 1999) | 2 lines +Changed paths: + M /trunk/mpfr.h - * tests/tlog.c: *** empty log message *** +ajout du log - * log.c: premiere version du log +------------------------------------------------------------------------ +r52 | boldo | 1999-06-15 13:24:51 +0000 (Tue, 15 Jun 1999) | 2 lines +Changed paths: + A /trunk/tests/tlog.c -1999-06-15 Paul Zimmermann <zimmerma@greux.loria.fr> +*** empty log message *** - * div.c: now recognizes division by exact power of 2 +------------------------------------------------------------------------ +r51 | boldo | 1999-06-15 13:22:09 +0000 (Tue, 15 Jun 1999) | 2 lines +Changed paths: + A /trunk/log.c - * cmp_ui.c: added mpfr_cmp_[us]i_2exp +premiere version du log - * mpfr.h: added mpfr_[us]i_2exp +------------------------------------------------------------------------ +r50 | zimmerma | 1999-06-15 13:11:10 +0000 (Tue, 15 Jun 1999) | 2 lines +Changed paths: + M /trunk/div.c - * mpfr.texi: added mpfr_cmp_[us]i_2exp +now recognizes division by exact power of 2 -1999-06-15 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r49 | zimmerma | 1999-06-15 13:10:21 +0000 (Tue, 15 Jun 1999) | 2 lines +Changed paths: + M /trunk/cmp_ui.c - * random.c: Correction de bug (pas msb normalise). +added mpfr_cmp_[us]i_2exp -1999-06-15 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r48 | zimmerma | 1999-06-15 12:53:07 +0000 (Tue, 15 Jun 1999) | 2 lines +Changed paths: + M /trunk/mpfr.h - * pi.c: fixed mistake in error analysis (does not change code) +added mpfr_[us]i_2exp -1999-06-15 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r47 | zimmerma | 1999-06-15 12:52:33 +0000 (Tue, 15 Jun 1999) | 2 lines +Changed paths: + M /trunk/mpfr.texi - * Configure: Ajout de random.o dans les objets. +added mpfr_cmp_[us]i_2exp - * random.c: random.c : engendre un mpfr_t dans [0, 1[. GH, 15/06 - TODO : un random qui engendre un mpfr_t avec exposant gaussien centre. +------------------------------------------------------------------------ +r46 | hanrot | 1999-06-15 12:06:32 +0000 (Tue, 15 Jun 1999) | 2 lines +Changed paths: + M /trunk/random.c -1999-06-15 Jean-Luc Remy <remy@greux.loria.fr> +Correction de bug (pas msb normalise). - * log2.c, pi.c: changed return value to void +------------------------------------------------------------------------ +r45 | zimmerma | 1999-06-15 10:04:12 +0000 (Tue, 15 Jun 1999) | 2 lines +Changed paths: + M /trunk/pi.c -1999-06-14 Guillaume Hanrot <hanrot@greux.loria.fr> +fixed mistake in error analysis (does not change code) - * round.c: Ajoute les modes d'arrondi RNDN et RNDD. +------------------------------------------------------------------------ +r44 | hanrot | 1999-06-15 09:26:56 +0000 (Tue, 15 Jun 1999) | 2 lines +Changed paths: + M /trunk/Configure - * mul_ui.c, mpfr.h: Correction du prototype de mpfr_mul_ui +Ajout de random.o dans les objets. -1999-06-14 boldo <boldo@greux.loria.fr> +------------------------------------------------------------------------ +r43 | hanrot | 1999-06-15 09:26:26 +0000 (Tue, 15 Jun 1999) | 3 lines +Changed paths: + A /trunk/random.c - * mpfr.h: *** empty log message *** +random.c : engendre un mpfr_t dans [0, 1[. GH, 15/06 +TODO : un random qui engendre un mpfr_t avec exposant gaussien centre. -1999-06-14 Paul Zimmermann <zimmerma@greux.loria.fr> +------------------------------------------------------------------------ +r42 | remy | 1999-06-15 09:17:44 +0000 (Tue, 15 Jun 1999) | 2 lines +Changed paths: + M /trunk/log2.c + M /trunk/pi.c - * Configure: added several files +changed return value to void - * mpfr.h: added several prototypes +------------------------------------------------------------------------ +r41 | hanrot | 1999-06-14 16:35:25 +0000 (Mon, 14 Jun 1999) | 2 lines +Changed paths: + M /trunk/round.c - * mpfr.texi: added set_z, add_one_ulp +Ajoute les modes d'arrondi RNDN et RNDD. - * set_d.c: added mpfr_get_d2 which only considers the mantissa +------------------------------------------------------------------------ +r40 | hanrot | 1999-06-14 13:14:43 +0000 (Mon, 14 Jun 1999) | 2 lines +Changed paths: + M /trunk/mul_ui.c - * get_str.c: now uses mpfr_get_d2 (no side effect on arguments) +Correction du prototype de mpfr_mul_ui - * tests/tlog2.c: test file for mpfr_log2 +------------------------------------------------------------------------ +r39 | hanrot | 1999-06-14 11:11:55 +0000 (Mon, 14 Jun 1999) | 2 lines +Changed paths: + M /trunk/mpfr.h - * tests/tset_z.c: test file for mpfr_set_z +Correction du prototype de mpfr_mul_ui - * tests/tpi.c: test file for mpfr_pi +------------------------------------------------------------------------ +r38 | boldo | 1999-06-14 10:18:01 +0000 (Mon, 14 Jun 1999) | 2 lines +Changed paths: + M /trunk/mpfr.h - * log2.c: computes log(2) +*** empty log message *** - * add_ulp.c: add one ulp +------------------------------------------------------------------------ +r37 | zimmerma | 1999-06-14 07:51:59 +0000 (Mon, 14 Jun 1999) | 2 lines +Changed paths: + M /trunk/Configure - * set_z.c: set a mpfr from an integer +added several files - * pi.c: computes Pi to n bits +------------------------------------------------------------------------ +r36 | zimmerma | 1999-06-14 07:51:28 +0000 (Mon, 14 Jun 1999) | 2 lines +Changed paths: + M /trunk/mpfr.h -1999-06-14 boldo <boldo@greux.loria.fr> +added several prototypes - * agm.c: *** empty log message *** +------------------------------------------------------------------------ +r35 | zimmerma | 1999-06-14 07:50:36 +0000 (Mon, 14 Jun 1999) | 2 lines +Changed paths: + M /trunk/mpfr.texi -1999-06-11 Paul Zimmermann <zimmerma@greux.loria.fr> +added set_z, add_one_ulp - * mpfr.texi: Initial revision of mpfr documentation +------------------------------------------------------------------------ +r34 | zimmerma | 1999-06-14 07:49:06 +0000 (Mon, 14 Jun 1999) | 2 lines +Changed paths: + M /trunk/set_d.c -1999-06-10 Guillaume Hanrot <hanrot@greux.loria.fr> +added mpfr_get_d2 which only considers the mantissa - * tests/tsqrt.c: Patch d'un mpfr_set_d dans tsqrt.c ; GH, 100699 +------------------------------------------------------------------------ +r33 | zimmerma | 1999-06-14 07:48:10 +0000 (Mon, 14 Jun 1999) | 2 lines +Changed paths: + M /trunk/get_str.c - * tests/tget_str.c: Patch d'un mpfr_set_d dans get_str.c ; GH, 100699 +now uses mpfr_get_d2 (no side effect on arguments) - * Configure: - Tentative de configuration automatique, v. initiale. GH, 100699 +------------------------------------------------------------------------ +r32 | zimmerma | 1999-06-14 07:46:10 +0000 (Mon, 14 Jun 1999) | 2 lines +Changed paths: + A /trunk/tests/tlog2.c -1999-06-10 boldo <boldo@greux.loria.fr> +test file for mpfr_log2 - * tests/tagm.c, agm.c: *** empty log message *** +------------------------------------------------------------------------ +r31 | zimmerma | 1999-06-14 07:45:27 +0000 (Mon, 14 Jun 1999) | 2 lines +Changed paths: + A /trunk/tests/tset_z.c -1999-06-10 Paul Zimmermann <zimmerma@greux.loria.fr> +test file for mpfr_set_z - * Makefile: added tout_str +------------------------------------------------------------------------ +r30 | zimmerma | 1999-06-14 07:44:42 +0000 (Mon, 14 Jun 1999) | 2 lines +Changed paths: + A /trunk/tests/tpi.c - * tests/tout_str.c: Initial revision. +test file for mpfr_pi - * Makefile: added out_str.c and pow.c +------------------------------------------------------------------------ +r29 | zimmerma | 1999-06-14 07:43:57 +0000 (Mon, 14 Jun 1999) | 2 lines +Changed paths: + A /trunk/log2.c - * mpfr.h: added proto for mpfr_pow_ui and mpfr_ui_pow_ui +computes log(2) - * pow.c: Initial revision. +------------------------------------------------------------------------ +r28 | zimmerma | 1999-06-14 07:43:22 +0000 (Mon, 14 Jun 1999) | 2 lines +Changed paths: + A /trunk/add_ulp.c - * clear.c, mul.c, round.c, neg.c, set_f.c, set_si.c, mul_ui.c, mul_2exp.c, div_2exp.c, set.c: - added include <stdio.h> (needed for FILE in mpfr.h) +add one ulp - * mpfr.h: added proto for mpfr_out_str +------------------------------------------------------------------------ +r27 | zimmerma | 1999-06-14 07:42:12 +0000 (Mon, 14 Jun 1999) | 2 lines +Changed paths: + A /trunk/set_z.c - * out_str.c: function to print a mpfr to a stream. Initial revision. +set a mpfr from an integer - * mpfr.h: - changed proto of mpfr_get_str: 2nd arg is mp_exp_t*, not char* +------------------------------------------------------------------------ +r26 | zimmerma | 1999-06-14 07:41:33 +0000 (Mon, 14 Jun 1999) | 2 lines +Changed paths: + A /trunk/pi.c - * get_str.c: now conforms to the specification +computes Pi to n bits -1999-06-09 Guillaume Hanrot <hanrot@greux.loria.fr> +------------------------------------------------------------------------ +r25 | boldo | 1999-06-14 07:41:29 +0000 (Mon, 14 Jun 1999) | 2 lines +Changed paths: + M /trunk/agm.c - * tests/Makefile: tset_i -> tset_si dans le Makefile de tests. +*** empty log message *** - * mmpfr: Version corrigee de mmpfr. +------------------------------------------------------------------------ +r24 | zimmerma | 1999-06-11 08:08:35 +0000 (Fri, 11 Jun 1999) | 2 lines +Changed paths: + A /trunk/mpfr.texi - * Makefile: Makefile qui devrait fonctionner pour tous. +Initial revision of mpfr documentation - * tests/tmul_2exp.c: Correction de warnings dans tmul_2exp.c +------------------------------------------------------------------------ +r23 | hanrot | 1999-06-10 18:47:44 +0000 (Thu, 10 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tsqrt.c - * o.solaris/.pure, tests/tmul, tests/tset_si.c: New file. +Patch d'un mpfr_set_d dans tsqrt.c ; GH, 100699 - * o.solaris/.pure, tests/tmul, tests/tset_si.c: - Sources importees au 080699 +------------------------------------------------------------------------ +r22 | hanrot | 1999-06-10 18:47:09 +0000 (Thu, 10 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tget_str.c - * tests/mon_fichier, tests/tget_str, tests/tget_str.c: New file. +Patch d'un mpfr_set_d dans get_str.c ; GH, 100699 - * tests/mon_fichier, tests/tget_str, tests/tget_str.c: - Sources importees au 080699 +------------------------------------------------------------------------ +r21 | hanrot | 1999-06-10 18:46:03 +0000 (Thu, 10 Jun 1999) | 2 lines +Changed paths: + A /trunk/Configure - * tests/tagm, tests/tagm.c, tests/tsqrt, tests/tsqrt.c: New file. +Tentative de configuration automatique, v. initiale. GH, 100699 - * tests/tagm, tests/tagm.c, tests/tsqrt, tests/tsqrt.c: - Sources importees au 080699 +------------------------------------------------------------------------ +r20 | boldo | 1999-06-10 16:36:13 +0000 (Thu, 10 Jun 1999) | 2 lines +Changed paths: + M /trunk/agm.c + M /trunk/tests/tagm.c - * tests/tadd, tests/tcmp.c, tests/tcmp2.c, tests/tdiv.c, tests/tmul_2exp, tests/tmul_2exp.c, tests/tmul_ui, tests/tmul_ui.c, tests/tset_d, tests/tset_i, tests/tset_str, tests/tset_str.c: - New file. +*** empty log message *** - * tests/tadd, tests/tcmp.c, tests/tcmp2.c, tests/tdiv.c, tests/tmul_2exp, tests/tmul_2exp.c, tests/tmul_ui, tests/tmul_ui.c, tests/tset_d, tests/tset_i, tests/tset_str, tests/tset_str.c: - Sources importees au 080699 +------------------------------------------------------------------------ +r19 | zimmerma | 1999-06-10 09:20:04 +0000 (Thu, 10 Jun 1999) | 2 lines +Changed paths: + M /trunk/Makefile - * tests/tcmp2, tests/tcmp_ui, tests/tcmp_ui.c, tests/tdiv, tests/tset_d.c: - New file. +added tout_str - * tests/tcmp2, tests/tcmp_ui, tests/tcmp_ui.c, tests/tdiv, tests/tset_d.c: - Sources importees au 080699 +------------------------------------------------------------------------ +r18 | zimmerma | 1999-06-10 09:19:38 +0000 (Thu, 10 Jun 1999) | 2 lines +Changed paths: + A /trunk/tests/tout_str.c - * cmp_ui.c, div_2exp.c, init_set.h, mul_2exp.c, mul_ui.c, set.c, set_dfl_rnd.c, set_si.c, sub.c, tests/Makefile, tests/tadd.c, tests/tcmp, tests/tmul.c, tests/tround, tests/tround.c, tests/tset_f, tests/tset_f.c: - New file. +Initial revision. - * cmp_ui.c, div_2exp.c, init_set.h, mul_2exp.c, mul_ui.c, set.c, set_dfl_rnd.c, set_si.c, sub.c, tests/Makefile, tests/tadd.c, tests/tcmp, tests/tmul.c, tests/tround, tests/tround.c, tests/tset_f, tests/tset_f.c: - Sources importees au 080699 +------------------------------------------------------------------------ +r17 | zimmerma | 1999-06-10 09:13:55 +0000 (Thu, 10 Jun 1999) | 2 lines +Changed paths: + M /trunk/Makefile - * .pure, BUGS, Makefile.exp, Makefile.msb, TODO, add.c, agm.c, clear.c, cmp.c, div.c, from_Torbjorn, get_str.c, init.c, mmpfr, mpfr.h, mul.c, neg.c, print_raw.c, rnd_mode.c, round.c, set_d.c, set_dfl_prec.c, set_f.c, set_prec.c, set_str.c, set_str_raw.c, sqrt.c: - New file. +added out_str.c and pow.c - * .pure, BUGS, Makefile.exp, Makefile.msb, TODO, add.c, agm.c, clear.c, cmp.c, div.c, from_Torbjorn, get_str.c, init.c, mmpfr, mpfr.h, mul.c, neg.c, print_raw.c, rnd_mode.c, round.c, set_d.c, set_dfl_prec.c, set_f.c, set_prec.c, set_str.c, set_str_raw.c, sqrt.c: - Sources importees au 080699 +------------------------------------------------------------------------ +r16 | zimmerma | 1999-06-10 09:13:26 +0000 (Thu, 10 Jun 1999) | 2 lines +Changed paths: + M /trunk/mpfr.h +added proto for mpfr_pow_ui and mpfr_ui_pow_ui + +------------------------------------------------------------------------ +r15 | zimmerma | 1999-06-10 09:09:09 +0000 (Thu, 10 Jun 1999) | 2 lines +Changed paths: + A /trunk/pow.c + +Initial revision. + +------------------------------------------------------------------------ +r14 | zimmerma | 1999-06-10 09:05:05 +0000 (Thu, 10 Jun 1999) | 2 lines +Changed paths: + M /trunk/clear.c + M /trunk/div_2exp.c + M /trunk/mul.c + M /trunk/mul_2exp.c + M /trunk/mul_ui.c + M /trunk/neg.c + M /trunk/round.c + M /trunk/set.c + M /trunk/set_f.c + M /trunk/set_si.c + +added include <stdio.h> (needed for FILE in mpfr.h) + +------------------------------------------------------------------------ +r13 | zimmerma | 1999-06-10 08:59:38 +0000 (Thu, 10 Jun 1999) | 2 lines +Changed paths: + M /trunk/mpfr.h + +added proto for mpfr_out_str + +------------------------------------------------------------------------ +r12 | zimmerma | 1999-06-10 08:58:23 +0000 (Thu, 10 Jun 1999) | 2 lines +Changed paths: + A /trunk/out_str.c + +function to print a mpfr to a stream. Initial revision. + +------------------------------------------------------------------------ +r11 | zimmerma | 1999-06-10 08:56:27 +0000 (Thu, 10 Jun 1999) | 2 lines +Changed paths: + M /trunk/mpfr.h + +changed proto of mpfr_get_str: 2nd arg is mp_exp_t*, not char* + +------------------------------------------------------------------------ +r10 | zimmerma | 1999-06-10 08:53:22 +0000 (Thu, 10 Jun 1999) | 2 lines +Changed paths: + M /trunk/get_str.c + +now conforms to the specification + +------------------------------------------------------------------------ +r9 | hanrot | 1999-06-09 18:37:25 +0000 (Wed, 09 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/Makefile + +tset_i -> tset_si dans le Makefile de tests. + +------------------------------------------------------------------------ +r8 | hanrot | 1999-06-09 18:36:50 +0000 (Wed, 09 Jun 1999) | 2 lines +Changed paths: + M /trunk/mmpfr + +Version corrigee de mmpfr. + +------------------------------------------------------------------------ +r7 | hanrot | 1999-06-09 18:36:28 +0000 (Wed, 09 Jun 1999) | 2 lines +Changed paths: + A /trunk/Makefile + +Makefile qui devrait fonctionner pour tous. + +------------------------------------------------------------------------ +r6 | hanrot | 1999-06-09 18:33:34 +0000 (Wed, 09 Jun 1999) | 2 lines +Changed paths: + M /trunk/tests/tmul_2exp.c + +Correction de warnings dans tmul_2exp.c + +------------------------------------------------------------------------ +r2 | hanrot | 1999-06-09 18:03:33 +0000 (Wed, 09 Jun 1999) | 2 lines +Changed paths: + A /trunk/.pure + A /trunk/BUGS + A /trunk/Makefile.exp + A /trunk/Makefile.msb + A /trunk/TODO + A /trunk/add.c + A /trunk/agm.c + A /trunk/clear.c + A /trunk/cmp.c + A /trunk/cmp_ui.c + A /trunk/div.c + A /trunk/div_2exp.c + A /trunk/from_Torbjorn + A /trunk/get_str.c + A /trunk/init.c + A /trunk/init_set.h + A /trunk/mmpfr + A /trunk/mpfr.h + A /trunk/mul.c + A /trunk/mul_2exp.c + A /trunk/mul_ui.c + A /trunk/neg.c + A /trunk/o.solaris + A /trunk/o.solaris/.pure + A /trunk/print_raw.c + A /trunk/rnd_mode.c + A /trunk/round.c + A /trunk/set.c + A /trunk/set_d.c + A /trunk/set_dfl_prec.c + A /trunk/set_dfl_rnd.c + A /trunk/set_f.c + A /trunk/set_prec.c + A /trunk/set_si.c + A /trunk/set_str.c + A /trunk/set_str_raw.c + A /trunk/sqrt.c + A /trunk/sub.c + A /trunk/tests + A /trunk/tests/Makefile + A /trunk/tests/mon_fichier + A /trunk/tests/tadd + A /trunk/tests/tadd.c + A /trunk/tests/tagm + A /trunk/tests/tagm.c + A /trunk/tests/tcmp + A /trunk/tests/tcmp.c + A /trunk/tests/tcmp2 + A /trunk/tests/tcmp2.c + A /trunk/tests/tcmp_ui + A /trunk/tests/tcmp_ui.c + A /trunk/tests/tdiv + A /trunk/tests/tdiv.c + A /trunk/tests/tget_str + A /trunk/tests/tget_str.c + A /trunk/tests/tmul + A /trunk/tests/tmul.c + A /trunk/tests/tmul_2exp + A /trunk/tests/tmul_2exp.c + A /trunk/tests/tmul_ui + A /trunk/tests/tmul_ui.c + A /trunk/tests/tround + A /trunk/tests/tround.c + A /trunk/tests/tset_d + A /trunk/tests/tset_d.c + A /trunk/tests/tset_f + A /trunk/tests/tset_f.c + A /trunk/tests/tset_i + A /trunk/tests/tset_si.c + A /trunk/tests/tset_str + A /trunk/tests/tset_str.c + A /trunk/tests/tsqrt + A /trunk/tests/tsqrt.c + +Initial revision + +------------------------------------------------------------------------ +r1 | (no author) | 1999-06-09 18:03:33 +0000 (Wed, 09 Jun 1999) | 1 line +Changed paths: + A /branches + A /tags + A /trunk + +New repository initialized by cvs2svn. +------------------------------------------------------------------------ |